.documents-tabs{display:flex;gap:7px;align-items:center;padding:13px 30px;border-bottom:1px solid var(--line);background:var(--theme-surface,#fff);min-height:62px}.documents-tabs>a{display:flex;align-items:center;gap:8px;padding:8px 15px;border-radius:7px;font-weight:700;font-size:12px;color:var(--theme-muted,#607680)}.documents-tabs>a[aria-current]{color:#a9432d;background:var(--coral-soft)}.documents-tabs>a:hover{background:var(--theme-surface-muted,#f5f1ed)}.documents-tabs>span{margin-left:auto;font-size:11px;color:var(--muted)}.documents-library{padding:32px 36px 55px}.documents-library .page-heading{margin-bottom:24px}.library-explainer{display:flex;align-items:flex-start;gap:12px;border-radius:9px;background:var(--theme-surface-muted,#eef4f1);color:var(--theme-muted,#496958);padding:17px 20px;margin-bottom:25px;font-size:12px}.library-explainer>.icon{margin-top:3px;color:var(--theme-muted,#587a63)}.library-explainer strong{display:block;color:var(--theme-ink,#365843);margin-bottom:4px}.library-explainer a{color:#a24330;text-decoration:underline;text-underline-offset:3px}.file-filterbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.file-filterbar>.search-field{margin:0;min-width:190px}.file-filterbar>select{width:auto;max-width:175px;font-size:11px}.file-filterbar>input[type=hidden]{display:none}.pages-table .person-link strong{white-space:normal;min-width:180px}.documents-tabs~.split-workspace{min-height:calc(100dvh - 139px)}.file-location{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 24px}.folder-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:11px;color:var(--theme-muted,#607680)}.folder-breadcrumbs>a{display:inline-flex;align-items:center;gap:7px}.folder-breadcrumbs>a:hover{color:var(--coral)}.folder-breadcrumbs>.icon{width:12px;height:12px}.folder-breadcrumbs a>.icon{width:16px;height:16px}.file-location>.text-link{white-space:nowrap}.file-workspace{display:flex;align-items:flex-start;gap:22px}.file-list-panel{position:relative;flex:1;min-width:0;overflow:hidden}.file-row-actions{display:flex;align-items:center;gap:2px}.file-selected{background:var(--theme-surface-muted,#fff7f1)}.folder-tile{width:33px;height:36px;color:#996e24;background:#fcf5df;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;flex-shrink:0}.folder-tile .icon{width:20px;height:20px}.file-table td{padding-block:15px}.file-table .person-link strong{white-space:normal;overflow-wrap:anywhere;min-width:130px;max-width:360px}.file-table .person-link>span:not(.file-tile){min-width:0}.file-upload-label{position:relative;overflow:hidden;margin:0;cursor:pointer}.file-upload-label input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.file-upload-label:focus-within{outline:3px solid #d78367;outline-offset:3px}.file-drop-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:270px;border:1px dashed var(--theme-line,#bfcdca);border-radius:10px;background:var(--theme-surface-muted,#fafcfb);cursor:pointer;margin:15px 0 0;text-align:center;padding:25px}.file-drop-empty .icon{width:36px;height:36px;color:var(--theme-muted,#9d6248);margin-bottom:8px}.file-drop-empty>strong{font-size:18px;color:var(--ink)}.file-drop-empty>span{font-size:12px;color:var(--muted);font-weight:500}.file-drop-empty>small{font-size:10px;color:var(--theme-muted,#61766c);font-weight:500;margin-top:12px}.file-drop-hint{display:flex;align-items:center;gap:8px;margin-top:22px;padding-top:14px;border-top:1px solid var(--line);font-size:10px;color:var(--theme-muted,#74847c)}.file-drop-hint>.icon{width:14px;height:14px}.file-drop-overlay{display:none;position:absolute;inset:8px;z-index:8;border:2px dashed #af5940;border-radius:10px;background:#fff7efef;color:#a34b32;align-items:center;justify-content:center;flex-direction:column;gap:16px;pointer-events:none}.file-drop-overlay>.icon{width:45px;height:45px}.drag-active .file-drop-overlay{display:flex}.file-details{width:290px;flex-shrink:0;align-self:stretch;overflow-wrap:anywhere}.file-details h2{font-size:14px}.file-details>.section-heading{margin-bottom:10px}.file-detail-symbol{background:var(--theme-surface-muted,#f7f8f6);min-height:120px;border-radius:8px;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;margin-bottom:18px}.file-detail-symbol>.icon{width:45px;height:45px;color:var(--theme-muted,#b46c4a)}.file-details>h3{font-size:15px}.file-details .button{font-size:11px;min-height:36px}.file-details dl{font-size:11px;margin:25px 0}.file-details dt{color:var(--muted);margin:12px 0 2px}.file-details dd{margin:0}.file-pages-title{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.file-details>.muted{font-size:11px;margin-top:10px}.file-image-preview{display:block;max-width:100%;max-height:60dvh;object-fit:contain;margin:auto}.file-text-preview{white-space:pre-wrap;overflow-wrap:anywhere;max-height:55dvh;overflow:auto;background:var(--theme-surface-muted,#f7f9f8);border-radius:8px;padding:18px;font-size:12px;font-family:var(--font)}.upload-errors{font-size:12px;line-height:1.9;color:var(--theme-danger,#9b382b);padding-left:20px}.document-attachment-row{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line)}.document-attachment-row>.linked-row{flex:1;border-bottom:0}.document-attachment-row>.icon-button{color:var(--muted)}.document-related>.button{margin-right:10px;font-size:11px}.document-related .upload-button{margin-top:10px}
@media(max-width:1200px){.documents-library{padding:28px 25px 45px}.file-workspace{flex-wrap:wrap}.file-details{width:100%;display:block}.file-list-panel{flex-basis:100%}.file-details .file-detail-symbol{min-height:90px}.file-details>.button{display:inline-flex;width:auto;margin-right:8px}.file-details dl{display:grid;grid-template-columns:110px 1fr;gap:10px}.file-details dt,.file-details dd{margin:0}}
@media(max-width:760px){.documents-tabs{padding:9px 14px;min-height:54px;gap:5px}.documents-tabs>a{font-size:12px;padding:8px 12px}.documents-tabs>span{display:none}.documents-library{padding:24px 18px 40px}.library-explainer{padding:15px;font-size:11px;line-height:1.8}.file-location{gap:10px;align-items:flex-start;margin-bottom:18px}.folder-breadcrumbs{font-size:10px;gap:7px}.file-filterbar{gap:8px}.file-filterbar>.search-field{flex-basis:100%;min-width:0}.file-filterbar>select{flex:1;min-width:0;max-width:none;padding-inline:6px;font-size:10px}.file-table{min-width:670px}.pages-table{min-width:570px}.file-details{padding:20px}.file-drop-empty{min-height:230px;padding:20px 12px}.file-drop-empty>strong{font-size:17px}.file-drop-empty>small{max-width:30ch}.file-drop-hint{font-size:9px;line-height:1.8}.documents-library .heading-actions{width:100%}.file-upload-label{min-height:40px}.file-library .heading-actions>.button{font-size:11px}.document-related>.button{margin-right:0}.documents-tabs~.split-workspace{min-height:calc(100dvh - 118px)}}
