:root{--ink:#152129;--muted:#748087;--line:#e3e8e5;--paper:#f5f7f5;--card:#fff;--navy:#0b1821;--navy2:#102632;--teal:#2c7a70;--mint:#b9e6d5;--lime:#c9ee7d;--danger:#c64d4d;--shadow:0 18px 55px rgba(23,43,51,.09)}
*{box-sizing:border-box}html{font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--paper)}body{margin:0;min-height:100vh}button,input{font:inherit}button{cursor:pointer}svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.kicker{margin:0 0 8px;font-size:10px;font-weight:800;letter-spacing:.17em;color:#819087}.brand-glyph{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:var(--lime);color:var(--navy);font-family:Georgia,serif;font-size:21px;font-weight:800;box-shadow:0 8px 26px rgba(190,230,120,.18)}
/* Compact interface */
.login-page .login-shell{display:grid;grid-template-columns:1fr;place-items:center;min-height:100dvh;padding:24px;background:#f5f7f5;color:var(--ink)}
.login-page .login-panel{width:100%;padding:0;background:transparent}
.login-page .login-card{margin:0;width:min(360px,100%);padding:32px;border-radius:20px;box-shadow:0 12px 40px rgba(10,28,35,.06)}
.login-page .login-card h2{font-family:inherit;font-size:22px;font-weight:650;margin-bottom:28px}
.login-page .lock-mark{width:42px;height:42px;border-radius:12px;margin-bottom:20px}
.vault-page .kicker,.vault-page #sectionSubtitle,.vault-page .side-brand small{display:none}
.vault-page .page-heading{margin-bottom:20px}
.vault-page .page-heading h1,.vault-page .side-brand strong,.vault-page .mobile-brand strong{font-family:inherit;letter-spacing:0}
/* Login */
.login-page{background:var(--navy);color:#fff}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.15fr) minmax(420px,.85fr)}.login-visual{padding:43px 6.5vw 42px;display:flex;flex-direction:column;position:relative;overflow:hidden;background:radial-gradient(circle at 90% 20%,rgba(62,140,123,.3),transparent 25rem),linear-gradient(145deg,#0c1a23,#102d36)}.login-visual:before,.login-visual:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.055);border-radius:50%}.login-visual:before{width:560px;height:560px;right:-290px;top:-240px;box-shadow:0 0 0 85px rgba(255,255,255,.018),0 0 0 170px rgba(255,255,255,.012)}.login-visual:after{width:320px;height:320px;left:-210px;bottom:-190px;box-shadow:0 0 0 60px rgba(255,255,255,.015)}.login-brand{display:flex;align-items:center;gap:14px;font-size:11px;font-weight:800;letter-spacing:.16em;position:relative;z-index:1}.visual-copy{margin:auto 0;position:relative;z-index:1;max-width:620px}.visual-copy .kicker{color:#8fb7a9}.visual-copy h1{font-family:Georgia,"Noto Serif SC",serif;font-size:clamp(38px,4.3vw,68px);font-weight:500;line-height:1.18;letter-spacing:-.02em;margin:20px 0 28px}.visual-copy>p:last-child{font-size:14px;line-height:1.9;color:#a9bbc1;max-width:500px}.visual-foot{display:flex;gap:28px;font-size:10px;letter-spacing:.08em;color:#7f969e;position:relative;z-index:1}.visual-foot span{display:flex;align-items:center;gap:8px}.visual-foot span:before{content:"";width:5px;height:5px;background:#6ed1ac;border-radius:50%}.login-panel{background:#f4f6f3;color:var(--ink);display:grid;place-items:center;padding:35px}.login-card{width:min(420px,100%);background:white;border:1px solid #e8ece8;padding:46px;border-radius:28px;box-shadow:0 28px 70px rgba(10,28,35,.12)}.lock-mark{width:54px;height:54px;border-radius:17px;background:#e9f3ee;color:#216c5e;display:grid;place-items:center;margin-bottom:30px}.lock-mark svg{width:24px}.login-card h2{font-family:Georgia,"Noto Serif SC",serif;font-size:27px;font-weight:500;margin:0}.login-hint{font-size:12px;color:var(--muted);margin:10px 0 31px}.login-card label,.dialog-head~label{display:block;font-size:11px;font-weight:750;color:#536169;margin-bottom:8px}.password-wrap{position:relative}.password-wrap input,.login-card>input{width:100%;border:1px solid #dbe2de;background:#f7f9f7;border-radius:13px;padding:14px 62px 14px 14px;outline:none}.password-wrap input:focus,.login-card>input:focus{border-color:#5b9689;box-shadow:0 0 0 3px rgba(60,130,113,.12)}.password-wrap button{position:absolute;right:7px;top:7px;bottom:7px;border:0;background:transparent;color:#3f7469;font-size:11px;font-weight:750}.form-error{color:#bc4747;font-size:11px;min-height:17px;margin:9px 0}.login-submit{width:100%;border:0;border-radius:13px;background:var(--navy);color:#fff;padding:14px 17px;display:flex;justify-content:space-between;align-items:center;font-weight:750;box-shadow:0 12px 24px rgba(11,24,33,.18)}.login-submit:hover{background:#12303d}.login-submit:disabled{opacity:.65}.login-submit svg{width:18px}.secure-note{text-align:center;color:#89938f;font-size:10px;margin:22px 0 0}.secure-note i{display:inline-block;width:6px;height:6px;background:#5abe91;border-radius:50%;margin-right:7px}
/* App */
.vault-page{background:radial-gradient(circle at 80% 0,#e8f0eb 0,transparent 30rem),var(--paper)}.app-shell{min-height:100vh;display:grid;grid-template-columns:245px minmax(0,1fr)}.sidebar{position:fixed;inset:0 auto 0 0;width:245px;background:linear-gradient(180deg,#0b1821,#0d2029);color:#fff;padding:28px 20px 20px;display:flex;flex-direction:column;z-index:30}.side-brand{display:flex;align-items:center;gap:13px;padding:0 8px}.side-brand strong{display:block;font-family:Georgia,serif;font-size:16px;letter-spacing:.16em}.side-brand small{display:block;font-size:8px;color:#748c96;letter-spacing:.15em;margin-top:5px}.side-nav{display:grid;gap:7px;margin-top:62px}.side-nav button,.side-bottom button{border:0;background:transparent;color:#8da0a7;border-radius:13px;padding:12px 14px;display:flex;align-items:center;gap:13px;text-align:left;font-size:12px;font-weight:650}.side-nav svg,.side-bottom svg{width:19px}.side-nav button:hover,.side-nav button.active{color:white;background:#172f3a}.side-nav button.active{box-shadow:inset 3px 0 var(--lime)}.storage-card{margin-top:auto;background:#142a34;border:1px solid #1e3944;border-radius:16px;padding:17px}.storage-head{display:flex;justify-content:space-between;font-size:10px;color:#94a7ad}.storage-head strong{color:#d9e6e0}.storage-track{height:5px;background:#263f49;border-radius:99px;margin:13px 0 9px;overflow:hidden}.storage-track i{display:block;width:0;height:100%;background:linear-gradient(90deg,#75c9aa,var(--lime));border-radius:inherit;transition:width .3s}.storage-card p{margin:0;font-size:9px;color:#71868e}.side-bottom{display:flex;gap:3px;margin-top:13px}.side-bottom button{font-size:10px;padding:10px;flex:1;justify-content:center;gap:7px}.side-bottom svg{width:15px}
.main-panel{grid-column:2;min-width:0}.topbar{height:86px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:rgba(248,250,248,.78);backdrop-filter:blur(18px);position:sticky;top:0;z-index:20}.mobile-brand{display:none}.breadcrumbs{display:flex;align-items:center;min-width:0;gap:5px}.crumb{border:0;background:transparent;color:#859089;padding:6px;font-size:11px;white-space:nowrap;max-width:150px;overflow:hidden;text-overflow:ellipsis}.crumb:last-child{color:var(--ink);font-weight:750}.crumb-sep{color:#b3bbb6;font-size:11px}.top-actions{display:flex;align-items:center;gap:9px}.search-box{height:39px;width:240px;border:1px solid #dfe5e1;border-radius:12px;background:white;display:flex;align-items:center;padding:0 11px;gap:8px}.search-box svg{width:17px;color:#87938d}.search-box input{border:0;outline:none;width:100%;font-size:11px;background:transparent;color:var(--ink)}.icon-button,.view-tools button{width:39px;height:39px;border:1px solid #dfe5e1;background:white;color:#526159;border-radius:12px;display:grid;place-items:center}.icon-button svg,.view-tools svg{width:18px}.upload-button{height:40px;border:0;background:var(--navy);color:white;border-radius:12px;padding:0 16px;display:flex;align-items:center;gap:9px;font-size:11px;font-weight:750;box-shadow:0 8px 18px rgba(11,24,33,.14)}.upload-button svg{width:17px}.content{padding:38px 42px 70px;max-width:1500px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:27px}.page-heading h1{font-family:Georgia,"Noto Serif SC",serif;font-weight:500;font-size:29px;margin:0}.page-heading>div>p:last-child{color:var(--muted);font-size:11px;margin:8px 0 0}.view-tools{display:flex;align-items:center;gap:12px;color:#84908a;font-size:10px}.view-tools button{width:34px;height:34px}.drop-zone{display:none;border:2px dashed #69a998;background:#edf7f2;border-radius:20px;min-height:150px;place-items:center;text-align:center;color:#286f61;margin-bottom:22px}.drop-zone.active{display:grid}.drop-icon{width:45px;height:45px;border-radius:15px;background:white;display:grid;place-items:center;color:#297565;margin:auto auto 10px}.drop-icon svg{width:22px}.drop-zone strong{display:block;font-size:14px}.drop-zone span{display:block;color:#769089;font-size:10px;margin-top:6px}.file-table-wrap{background:rgba(255,255,255,.8);border:1px solid #e5e9e6;border-radius:21px;overflow:hidden;box-shadow:0 14px 40px rgba(40,60,51,.045)}.table-header,.file-row{display:grid;grid-template-columns:minmax(260px,1fr) 115px 160px 62px;align-items:center}.table-header{height:47px;padding:0 18px;border-bottom:1px solid #edf0ee;color:#8d9791;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.file-row{min-height:68px;padding:8px 18px;border-bottom:1px solid #edf0ee;transition:.18s}.file-row:last-child{border-bottom:0}.file-row:hover{background:#f7faf8}.file-main{min-width:0;display:flex;align-items:center;gap:13px}.file-icon{width:42px;height:42px;border-radius:13px;background:#edf3f0;color:#397c6d;display:grid;place-items:center;flex:0 0 auto;font-weight:800;font-size:9px;letter-spacing:.04em}.file-icon.folder{background:#eaf2ff;color:#5475b5}.file-icon.gds,.file-icon.oas,.file-icon.cif{background:#eeeafd;color:#7056b7}.file-icon.pdf{background:#fff0ee;color:#bf5549}.file-icon.image{background:#e9f6ef;color:#3f916d}.file-name{min-width:0}.file-name strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:700}.file-name small{display:block;color:#93a09a;font-size:9px;margin-top:5px;text-transform:uppercase;letter-spacing:.05em}.file-size,.file-date{color:#6f7b75;font-size:10px}.file-actions{display:flex;justify-content:flex-end}.more-button{width:34px;height:34px;border:0;background:transparent;border-radius:10px;color:#87928c;font-size:18px;letter-spacing:2px}.more-button:hover{background:#eaf0ec;color:#263c32}.loading-state,.empty-state{padding:75px 20px;text-align:center;color:#8a9690;font-size:11px}.loading-state i{display:block;width:24px;height:24px;border:2px solid #d7dfda;border-top-color:#347b6c;border-radius:50%;margin:0 auto 12px;animation:spin .8s linear infinite}.empty-state .empty-icon{width:60px;height:60px;border-radius:19px;background:#eef3f0;color:#799088;display:grid;place-items:center;margin:0 auto 14px}.empty-state svg{width:25px}.empty-state strong{display:block;color:#54625b;font-size:13px}.empty-state span{display:block;margin-top:7px}.empty-state button{border:0;background:transparent;color:#247466;font-weight:750;font-size:11px;margin-top:14px}
.upload-drawer{position:fixed;right:24px;bottom:24px;width:min(390px,calc(100vw - 32px));max-height:430px;background:#fff;border:1px solid #e0e6e2;border-radius:18px;box-shadow:0 24px 70px rgba(15,35,42,.22);z-index:60;overflow:hidden;display:none}.upload-drawer.open{display:block;animation:rise .25s ease}.drawer-head{display:flex;align-items:center;justify-content:space-between;background:#10232d;color:white;padding:15px 17px}.drawer-head strong{display:block;font-size:12px}.drawer-head span{display:block;color:#8fa3ab;font-size:9px;margin-top:3px}.drawer-head button{border:0;background:transparent;color:#9eafb6;font-size:22px}.upload-item{padding:13px 17px;border-bottom:1px solid #edf0ee}.upload-item:last-child{border:0}.upload-item-head{display:flex;justify-content:space-between;gap:12px;font-size:10px}.upload-item-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-item-head span{color:#819089;flex:0 0 auto}.upload-progress{height:4px;background:#e8eeea;border-radius:99px;margin-top:10px;overflow:hidden}.upload-progress i{display:block;height:100%;width:0;background:#4aa589;transition:width .15s}.upload-item.error .upload-progress i{background:#cf5d5d}.upload-item.done .upload-progress i{background:#74b58a}
dialog{border:0;border-radius:22px;padding:0;width:min(480px,calc(100% - 28px));color:var(--ink);box-shadow:0 28px 80px rgba(12,32,38,.3)}dialog::backdrop{background:rgba(8,23,29,.48);backdrop-filter:blur(3px)}dialog form{padding:26px}.dialog-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:24px}.dialog-head h2{font-family:Georgia,"Noto Serif SC",serif;font-weight:500;margin:0;font-size:22px}.dialog-close{width:34px;height:34px;border:0;background:#eff3f0;border-radius:10px;color:#6f7c75;font-size:21px}.dialog-copy{font-size:11px;color:var(--muted);line-height:1.7;margin:-10px 0 22px}.dialog-head~input{width:100%;border:1px solid #dce3df;background:#f7f9f7;border-radius:12px;padding:13px;margin-bottom:16px;outline:none}.dialog-head~input:focus{border-color:#5a9788;box-shadow:0 0 0 3px rgba(61,132,115,.11)}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:23px}.primary,.secondary{border:0;border-radius:11px;padding:11px 17px;font-size:11px;font-weight:750}.primary{background:var(--navy);color:white}.secondary{background:#edf1ee;color:#536159}.context-menu{position:fixed;z-index:80;min-width:150px;background:white;border:1px solid #e0e6e2;border-radius:13px;padding:6px;box-shadow:0 16px 45px rgba(18,38,45,.16);display:none}.context-menu.open{display:block}.context-menu button{display:flex;align-items:center;width:100%;border:0;background:transparent;border-radius:8px;padding:9px 10px;font-size:10px;color:#405049;text-align:left}.context-menu button:hover{background:#eef3f0}.context-menu button.danger{color:#b84b4b}.toast{position:fixed;left:50%;bottom:28px;z-index:100;transform:translate(-50%,16px);opacity:0;pointer-events:none;background:#10232d;color:#fff;border-radius:11px;padding:11px 16px;font-size:11px;box-shadow:0 12px 35px rgba(12,31,38,.25);transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes rise{from{opacity:0;transform:translateY(10px)}}
@media(max-width:900px){.app-shell{grid-template-columns:78px minmax(0,1fr)}.sidebar{width:78px;padding:24px 13px}.side-brand{padding:0;justify-content:center}.side-brand div,.side-nav span,.storage-card,.side-bottom button:not(#logoutButton){display:none}.side-nav{margin-top:52px}.side-nav button{justify-content:center;padding:13px}.side-bottom{margin-top:auto}.side-bottom button{display:grid!important;place-items:center}.side-bottom button svg{width:19px}.topbar{padding:0 24px}.content{padding:32px 24px 60px}}
@media(max-width:650px){.login-shell{display:block}.login-visual{min-height:36vh;padding:26px 24px}.visual-copy{margin:48px 0 35px}.visual-copy h1{font-size:34px;margin:13px 0}.visual-copy>p:last-child{display:none}.visual-foot{display:none}.login-panel{padding:0 16px 28px;background:var(--navy)}.login-card{margin-top:-20px;position:relative;z-index:3;border-radius:23px;padding:28px}.lock-mark{margin-bottom:20px}.app-shell{display:block}.sidebar{display:none}.main-panel{display:block}.topbar{height:auto;min-height:125px;padding:15px 16px;display:grid;grid-template-columns:1fr auto;gap:12px}.mobile-brand{display:flex;align-items:center;gap:9px}.mobile-brand .brand-glyph{width:34px;height:34px;border-radius:11px;font-size:17px}.mobile-brand strong{font-family:Georgia;letter-spacing:.13em}.breadcrumbs{grid-column:1/3;grid-row:2;overflow-x:auto}.top-actions{grid-column:2;grid-row:1}.search-box{position:absolute;top:76px;left:16px;right:16px;width:auto}.icon-button{display:none}.upload-button{width:39px;padding:0;justify-content:center}.upload-button span{display:none}.content{padding:26px 12px 85px}.page-heading{padding:0 5px}.page-heading h1{font-size:24px}.view-tools{display:none}.file-table-wrap{border-radius:17px}.table-header{display:none}.file-row{grid-template-columns:minmax(0,1fr) 35px;min-height:72px;padding:9px 12px}.file-size,.file-date{display:none}.file-icon{width:43px;height:43px}.upload-drawer{right:10px;bottom:10px;width:calc(100vw - 20px)}.toast{bottom:18px;max-width:calc(100% - 28px);white-space:nowrap}.context-menu{min-width:165px}}
