.document-library .library-home{align-items:center;gap:8px;font-size:14px;text-decoration:none;display:flex}.document-library .library-home:hover{text-underline-offset:4px;text-decoration:underline}.library-home svg{width:16px;height:16px}.library-main{padding-block:58px 28px}.library-intro{justify-content:space-between;align-items:center;gap:24px;padding-bottom:32px;display:flex}.library-intro h1{letter-spacing:-.055em;font-size:clamp(36px,4vw,54px);font-weight:550;line-height:1.1}.library-description{max-width:580px;color:var(--muted-foreground);margin-top:16px;font-size:16px;line-height:1.65}.library-intro>button{flex-shrink:0;min-height:44px}.library-collection-heading{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding-block:20px;display:flex}.library-local{color:var(--muted-foreground);align-items:center;gap:9px;font-size:13px;display:flex}.library-local svg{width:15px;height:15px;color:var(--primary);flex-shrink:0}.library-count{color:var(--muted-foreground);flex-shrink:0;font-size:13px}.library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;display:grid}.library-card{border:1px solid var(--border);border-radius:var(--radius-xl);background:var(--card);min-width:0;overflow:hidden}.library-preview{background:var(--muted);cursor:pointer;border-bottom:1px solid var(--border);justify-content:center;align-items:center;width:100%;height:325px;padding:22px;display:flex;position:relative;overflow:hidden}.library-preview:focus-visible,.library-new:focus-visible{outline:3px solid var(--ring);outline-offset:-4px}.library-preview:disabled,.library-new:disabled{cursor:wait;opacity:.6}.library-preview-open{inset-inline-end:16px;border:1px solid var(--border);background:var(--card);width:32px;height:32px;color:var(--foreground);border-radius:50%;place-items:center;display:grid;position:absolute;bottom:16px}.library-preview-open svg{width:16px;height:16px}.library-preview:hover .library-preview-open{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}.library-card-body{padding:20px}.library-card-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.library-card-title h2{text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.025em;min-width:0;font-size:19px;font-weight:600;line-height:1.4;overflow:hidden}.library-document-status{border-radius:var(--radius-sm);background:var(--accent);color:var(--accent-foreground);flex-shrink:0;padding:3px 8px;font-size:11px;font-weight:500}.library-template{color:var(--muted-foreground);margin-top:5px;font-size:13px}.library-card-meta{color:var(--muted-foreground);margin-top:18px;font-size:12px}.library-card-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:14px;display:flex}.library-card-actions>button:first-child{min-width:106px}.library-new{border:1px dashed var(--border);border-radius:var(--radius-xl);text-align:center;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:450px;padding:32px;font-size:17px;font-weight:500;display:flex}.library-new:hover{background:var(--accent);border-color:var(--primary)}.library-new-icon{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--card);width:52px;height:64px;color:var(--primary);place-items:center;display:grid}.library-new-description{max-width:210px;color:var(--muted-foreground);font-size:13px;font-weight:400;line-height:1.6}.library-footer{border-top:1px solid var(--border);color:var(--muted-foreground);justify-content:space-between;align-items:center;gap:20px;margin-top:48px;padding-top:22px;font-size:12px;line-height:1.6;display:flex}.library-footer a{text-underline-offset:4px;flex-shrink:0;align-items:center;gap:4px;display:flex}.library-footer a:hover{text-decoration:underline}.library-footer svg{width:13px;height:13px}.library-loading{min-height:360px;color:var(--muted-foreground);justify-content:center;align-items:center;gap:10px;display:flex}.library-error{background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg);justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:20px;font-size:14px;display:flex}.library-empty{background:var(--muted);border-radius:var(--radius-xl);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:24px;min-height:420px;padding:44px 24px;display:flex}.library-empty h2{letter-spacing:-.035em;margin-bottom:10px;font-size:24px;font-weight:550}.library-empty p{color:var(--muted-foreground);font-size:14px;line-height:1.8}.library-empty-paper{border:1px solid var(--border);background:var(--card);width:86px;height:112px;box-shadow:8px 8px 0 var(--accent);border-radius:6px;flex-direction:column;align-items:flex-start;gap:9px;padding:16px;display:flex}.library-empty-paper svg{color:var(--primary);width:24px;height:24px;margin-bottom:8px}.library-empty-paper span{background:var(--border);width:100%;height:3px}.library-empty-paper span:last-child{width:65%}@media (max-width:1100px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}@media (max-width:639px){.library-main{padding-top:32px}.library-intro{flex-direction:column;align-items:flex-start;gap:24px;padding-bottom:28px}.library-intro>button{width:100%}.library-description{margin-top:12px;font-size:15px}.library-grid{grid-template-columns:minmax(0,1fr);gap:24px}.library-new{min-height:200px}.library-card-actions [data-slot=button],.library-error [data-slot=button]{min-width:44px;min-height:44px}.library-footer{flex-direction:column;align-items:flex-start;gap:10px;margin-top:32px}.library-local{max-width:230px;font-size:12px}.library-error{flex-direction:column;align-items:flex-start}.library-create-actions{width:100%}.library-create-actions>[data-slot=button]{flex:1;min-height:44px}}
