@font-face{font-family:system;src:local("PingFang SC")}*{box-sizing:border-box}body{margin:0;color:#29362f;background:#f7f8f5;font-family:system,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.6}button,input,textarea{font:inherit}button{border:1px solid #dce2db;background:#fff;padding:10px 17px;border-radius:8px;color:inherit;cursor:pointer;transition:.15s}button:hover{border-color:#82998a;background:#f0f4ed}button:disabled{opacity:.5;cursor:wait}button.primary{background:#294c3a;border-color:#294c3a;color:white}button.primary:hover{background:#1b3929}button.accent{border-color:#bdcfb9;background:#eaf1e6}input,textarea{width:100%;border:1px solid #d8ded7;border-radius:7px;background:#fff;padding:12px;color:#28392e;outline:none}input:focus,textarea:focus{border-color:#557d60;box-shadow:0 0 0 3px #557d6015}label{display:block;margin:20px 0 0}label input,label textarea{margin-top:7px}h1,h2,p{margin-top:0}h1{font-weight:600;letter-spacing:-1px}h2{font-weight:600;font-size:23px}.muted{color:#788279}.fine{font-size:12px;color:#879187}.eyebrow{font-size:11px;font-weight:650;letter-spacing:2.5px;color:#788d79;margin-bottom:12px}.wordmark{font-size:19px;font-weight:650;display:flex;align-items:center;gap:11px;letter-spacing:2px}.mark{display:inline-grid;place-items:center;width:35px;height:35px;border:1px solid currentColor;border-radius:9px;font-size:22px;font-family:serif}.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-story{background:#243f30;color:#edf1e5;padding:45px 60px;display:flex;flex-direction:column;overflow:hidden}.story-content{margin:auto 0;padding:70px 0 20px;max-width:540px}.story-content .eyebrow{color:#a6bba0}.story-content h1{font-family:"Songti SC",Georgia,serif;font-size:clamp(40px,4vw,66px);font-weight:400;line-height:1.4;letter-spacing:2px}.story-content>p:not(.eyebrow){color:#becbbb;line-height:2}.login-story footer{font-size:11px;color:#afbfac;letter-spacing:2px}.archive-art{height:180px;position:relative;margin:42px 0 20px}.archive-art div{position:absolute;width:150px;height:145px;border:1px solid #becdae60;background:#3d5946;border-radius:3px;transform:rotate(-12deg);left:30px;top:10px}.archive-art div:nth-child(2){background:#82967c;left:105px;top:12px;transform:rotate(-1deg)}.archive-art div:nth-child(3){background:#d2d6bd;left:178px;top:20px;transform:rotate(10deg);box-shadow:0 15px 35px #0d241a44}.archive-art div:after{content:'';position:absolute;left:20px;right:20px;bottom:22px;height:1px;background:#263c3244;box-shadow:0 -9px #263c3222}.archive-art span{position:absolute;left:370px;top:90px;writing-mode:vertical-rl;letter-spacing:4px;color:#adc1a2;font-size:11px}.login-form-wrap{display:grid;place-items:center;padding:45px}.login-form{width:min(370px,100%)}.login-form h2{font-size:28px}.login-form .primary{margin-top:30px;width:100%;text-align:left;display:flex;justify-content:space-between}.login-form .fine{margin-top:35px}.error{color:#b44737;min-height:1.5em;margin-top:15px}.workspace{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.workspace[hidden],section[hidden],div[hidden]{display:none}.sidebar{background:#eef1ea;border-right:1px solid #e0e5dc;padding:30px 22px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:238px}.sidebar .wordmark{margin:1px 0 48px 8px}.sidebar-label{font-size:10px;letter-spacing:3px;color:#98a192;padding-left:15px}.nav{display:flex;align-items:center;gap:13px;width:100%;text-align:left;background:none;border:none;padding:13px 16px;margin:5px 0;color:#6c786c}.nav span{font-size:18px}.nav.active{background:#dfe8d9;color:#345039;font-weight:600}.nav b{margin-left:auto;font-size:11px}.sidebar-bottom{margin-top:auto;padding:30px 12px 0}.meter{height:4px;background:#dce1d7;border-radius:5px;overflow:hidden}.meter i{display:block;background:#718467;height:100%;width:0}.user-card{display:flex;gap:10px;border-top:1px solid #dce2d6;margin-top:27px;padding-top:22px}.avatar{display:grid;place-items:center;background:#dce6d3;color:#4f6646;border-radius:50%;width:35px;height:35px}.user-card strong{font-size:13px}.user-card small{display:block;font-size:11px;color:#8c9687}.text-button{border:0;background:none;padding:12px 12px 0 0;font-size:11px;color:#829078}.main{grid-column:2;min-width:0;padding:0 46px}.topbar{height:76px;border-bottom:1px solid #e5e8e0;display:flex;justify-content:space-between;align-items:center;color:#879280;font-size:12px}.topbar-note{font-size:11px;letter-spacing:2px}.page-head{display:flex;justify-content:space-between;align-items:center;padding:40px 0 26px;gap:20px}.page-head h1{font-size:30px;margin:0 0 7px}.page-head .muted{font-size:13px;margin-bottom:0}.head-actions{display:flex;gap:9px;flex-shrink:0}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #e2e6dd;padding-bottom:18px}.breadcrumbs{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.breadcrumbs button{border:0;background:none;padding:5px 0;font-size:12px}.breadcrumbs span{color:#c0c8bb}.tools{display:flex;gap:8px;align-items:center}.tools input{width:190px;font-size:12px;padding:9px 12px}.tools button{padding:8px 12px}.content{min-height:410px;padding-top:8px}.files-table{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}.files-table th{font-weight:400;color:#929c8c;font-size:11px;text-align:left;padding:16px 12px;border-bottom:1px solid #e7eae3}.files-table td{padding:17px 12px;border-bottom:1px solid #eaede5;vertical-align:middle}.files-table th:first-child{width:42%}.files-table th:last-child{width:23%}.files-table tr:hover td{background:#f0f3ec}.file-name{border:none;background:none;display:flex;align-items:center;gap:13px;padding:0;text-align:left;width:100%;min-width:0}.file-name .filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-icon{width:34px;height:38px;display:inline-grid;place-items:center;flex-shrink:0;color:#6f8164;background:#e8eede;border-radius:5px;font-size:11px;font-weight:650}.file-icon.folder{width:37px;height:28px;background:#d8dfb8;border-radius:3px;position:relative}.file-icon.folder:before{content:'';position:absolute;top:-4px;left:0;width:18px;height:5px;background:#d8dfb8;border-radius:3px 3px 0 0}.row-actions{display:flex;gap:5px;justify-content:flex-end;flex-wrap:wrap}.row-actions button{font-size:11px;padding:5px 8px;background:transparent;border-color:transparent}.row-actions button:hover{background:#e5ebdf}.file-meta{color:#909986;font-size:11px}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:360px;text-align:center}.empty-symbol{border:1px solid #dfe6d5;background:#eef2e7;border-radius:20px;width:80px;height:80px;display:grid;place-items:center;font-size:35px;color:#a6b799;margin-bottom:22px}.empty h3{font-size:17px;font-weight:500;margin:0 0 7px}.empty p{color:#929d88;font-size:12px;max-width:320px}.page-footer{border-top:1px solid #e5e8e0;padding:18px 0;color:#9aa38f;font-size:11px;display:flex;justify-content:space-between}.transfer-panel{background:white;box-shadow:0 8px 35px #263c3220;border:1px solid #dfe7d7;border-radius:12px;padding:18px 22px;display:flex;align-items:center;gap:15px;margin:20px 0;position:sticky;bottom:16px;font-size:12px}.transfer-panel progress{flex:1;accent-color:#486741}.transfer-panel span{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transfer-panel button{padding:6px 12px}.archive-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:18px;padding:18px 0}.archive-card{border:1px solid #e0e6d8;background:#fff;border-radius:12px;padding:24px}.archive-card .eyebrow{font-size:10px}.archive-card h3{font-size:18px;word-break:break-all}.archive-card p{font-size:12px;color:#7c8972}.archive-card button{font-size:12px}.badge{font-size:10px;color:#4b6b48;background:#eaf1e5;border-radius:4px;padding:4px 7px}dialog{border:1px solid #dce3d5;border-radius:15px;padding:28px;max-width:850px;width:min(850px,90vw);max-height:88vh;box-shadow:0 25px 100px #142e2540}dialog::backdrop{background:#19342866;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-head h2{margin:0;font-size:21px}.modal-head button{border:none;background:none;font-size:22px;padding:0 8px}.modal-form{max-width:530px;margin:auto}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.preview{width:100%;max-height:55vh;object-fit:contain;background:#f1f3ed;border-radius:7px}.preview-frame{height:55vh;border:0}.details{font-size:12px;word-break:break-all;white-space:pre-wrap;color:#718168;background:#f2f5ed;border-radius:8px;padding:15px}.audit-list{max-height:58vh;overflow:auto}.audit-row{padding:13px 0;border-bottom:1px solid #e3e8dd;font-size:12px}.audit-row details{margin-top:5px}.audit-row pre{white-space:pre-wrap;word-break:break-all;font-size:11px}.manager{max-width:1200px;margin:auto;padding:30px}.manager .wordmark{margin-bottom:30px}.manager-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.manager table{width:100%;border-collapse:collapse}.manager td,.manager th{padding:12px;text-align:left;border-bottom:1px solid #e2e6dc}.manager .summary{display:flex;gap:30px;padding:22px;background:#edf2e6;border-radius:12px}.manager .summary strong{font-size:25px}.manager .summary small{display:block;color:#7e8a72}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 25px;border-radius:9px;background:#294434;color:#fff;z-index:100;font-size:13px;max-width:80vw}.drop-active{outline:2px dashed #64845b;outline-offset:-10px}.danger{color:#a54a3e}a{color:#476a42}#load-more{margin:20px auto;display:block}#load-more[hidden]{display:none}@media(max-width:1000px){.main{padding:0 24px}.page-head{align-items:flex-start}.head-actions{flex-direction:column}.files-table th:nth-child(3),.files-table td:nth-child(3){display:none}.files-table th:first-child{width:50%}.files-table th:last-child{width:32%}.login-story{padding:35px}.archive-art span{display:none}}@media(max-width:700px){.login-layout{grid-template-columns:1fr}.login-story{min-height:210px;padding:25px}.story-content{padding:25px 0 0}.story-content h1{font-size:29px;line-height:1.4}.story-content>p:not(.eyebrow),.archive-art,.login-story footer{display:none}.login-form-wrap{padding:35px 25px}.workspace{display:block}.sidebar{position:static;width:auto;padding:16px;border-right:0}.sidebar .wordmark{margin:0 0 12px}.sidebar-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow:auto;gap:4px}.nav{font-size:12px;padding:8px;white-space:nowrap;justify-content:center;margin:0}.nav span{display:none}.main{padding:0 17px}.topbar{height:46px}.page-head{padding-top:24px}.page-head h1{font-size:25px}.page-head .eyebrow{font-size:8px}.head-actions button{font-size:11px;padding:8px 10px}.tools input{width:110px}.toolbar{flex-wrap:wrap}.files-table td{padding:14px 5px}.files-table th{padding:12px 5px}.files-table th:nth-child(2),.files-table td:nth-child(2){display:none}.files-table th:first-child{width:58%}.files-table th:last-child{width:42%}.file-icon{display:none}.transfer-panel{flex-wrap:wrap}.manager{padding:18px}.manager .summary{gap:15px}.manager td,.manager th{padding:8px;font-size:11px}dialog{padding:18px}}
@media(max-width:700px){.sidebar-bottom{display:flex;align-items:center;gap:14px;margin-top:0;padding:4px 8px 0}.sidebar-bottom>.fine,.sidebar-bottom>.meter,.sidebar-bottom>.user-card{display:none}.sidebar-bottom .text-button{padding:6px 0}.sidebar-bottom .text-button:last-child{margin-left:auto}}

.text-preview{white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;max-height:55vh;background:#fff;border:1px solid #dce3d5;border-radius:8px;padding:20px;line-height:1.8;font:14px/1.8 ui-monospace,monospace}.preview-controls{display:flex;gap:12px;align-items:center;margin:0 0 14px}.preview-controls select{padding:8px;border:1px solid #dce3d5;border-radius:6px}.preview-frame{height:62vh;max-height:62vh}
.pdf-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; }
.pdf-page { display:block; width:100%; height:auto; background:#fff; border:1px solid var(--line,#ddd); }
.pdf-viewer { max-height:62vh; overflow:auto; margin-bottom:12px; }
