:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang HK","Noto Sans TC",sans-serif;color:#23362f;background:#f8faf9;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #7fcab1;outline-offset:2px}[hidden]{display:none!important}.app-shell{display:flex;min-height:100vh}.sidebar{width:254px;flex:0 0 254px;background:#fff;border-right:1px solid #e9efec;padding:27px 17px 15px;display:flex;flex-direction:column;min-height:100vh}.brand{display:flex;align-items:center;gap:11px;padding:3px 10px 51px}.brand-icon{background:#1d7056;border-radius:13px;color:#fff;width:39px;height:39px;display:grid;place-items:center;font-size:27px}.brand strong{display:block;font-size:20px;letter-spacing:-.8px}.brand span{display:block;color:#a4b0aa;font-size:8px;letter-spacing:2px;margin-top:2px;font-weight:750}.sidebar-overline{font-size:10px;letter-spacing:2px;color:#acb5b1;font-weight:800;padding:0 14px;margin-bottom:14px}.sidebar nav{display:grid;gap:4px}.nav-btn{border:0;background:transparent;border-radius:10px;text-align:left;color:#65776d;padding:12px 13px;font-size:13px;font-weight:650;display:flex;align-items:center;gap:12px}.nav-btn.selected{background:#e8f3ee;color:#1e6c54}.nav-icon{font-size:18px;width:21px;text-align:center}.nav-count{margin-left:auto;background:#d9e9e1;border-radius:6px;padding:2px 7px;font-size:10px;color:#4b826a}.section-title{display:flex;justify-content:space-between;align-items:center;padding:30px 13px 10px;color:#9daaa4;font-size:10px;font-weight:800;letter-spacing:1.1px}.icon-btn{border:0;background:none;color:#71917f;font-size:22px;width:28px;height:28px;border-radius:8px}.icon-btn:hover{background:#f1f7f4}.accounts{display:grid;gap:4px}.account-loading{font-size:12px;color:#a4aaa5;padding:13px}.account-btn{display:flex;gap:11px;align-items:center;text-align:left;background:transparent;border:0;border-radius:9px;padding:10px;width:100%;color:#60796b}.account-btn.active,.account-btn:hover{background:#f3f7f4}.account-mark{font-weight:800;font-size:13px;background:#eef6ed;color:#2f7d58;border:1px solid #d6eadc;width:31px;height:31px;border-radius:9px;display:grid;place-items:center}.account-btn .account-name{min-width:0;flex:1}.account-name b{display:block;color:#34483e;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-name small{display:block;color:#9aa7a1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:10px}.sidebar-bottom{margin-top:auto}.safety-note{display:flex;gap:10px;background:#f0f7f3;border:1px solid #deeee4;border-radius:10px;padding:14px 11px;color:#51826b}.safety-note>span{font-size:21px}.safety-note strong{display:block;font-size:11px;color:#3e6953}.safety-note small{font-size:10px;line-height:1.65;display:block;margin-top:6px}.sidebar-foot{margin:16px 8px 0;font-size:9px;letter-spacing:1.2px;color:#b8c1bb}.workspace{min-width:0;flex:1}.topbar{height:74px;background:white;border-bottom:1px solid #e9efec;display:flex;justify-content:space-between;align-items:center;padding:0 47px}.top-title{font-weight:750;font-size:12px}.top-divider{color:#cad6ce;margin:0 9px}.top-title span:last-child{color:#7c8f82}.top-actions{display:flex;align-items:center;gap:8px;color:#82958b;font-size:11px;font-weight:650}.status-dot{background:#dfa958;width:6px;height:6px;border-radius:50%}.status-dot.ok{background:#46ae7e}.avatar{margin-left:20px;border:1px solid #c9e5d6;background:#e9f5ee;color:#34845f;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-weight:800;font-size:10px}.content{max-width:1550px;padding:41px 48px 65px;margin:auto}.notice{background:#fff9e7;border:1px solid #eadcaf;padding:13px 16px;border-radius:11px;display:flex;align-items:center;gap:10px;color:#796437;font-size:12px;margin-bottom:20px}.notice button{margin-left:auto;border:0;background:none;color:#7f6a39;font-weight:800}.welcome{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:30px}.eyebrow{letter-spacing:2.5px;font-weight:800;font-size:10px;color:#68a38a;display:flex;align-items:center;gap:12px}.eyebrow-line{width:45px;height:1px;background:#9dceaf}.welcome h1{font-size:clamp(26px,3vw,35px);letter-spacing:-1.7px;margin:12px 0 10px;font-weight:790}.green-period{color:#1b8d63}.welcome p{color:#89998e;font-size:12px;margin:0}.welcome-actions{display:flex;gap:9px;flex-shrink:0}.btn{border-radius:9px;padding:11px 17px;font-size:12px;font-weight:750;white-space:nowrap;border:1px solid transparent}.btn.primary{background:#237254;color:white;box-shadow:0 3px 9px #1a785226}.btn.primary:hover{background:#12583e}.btn.ghost{border-color:#dfe9e2;background:#fff;color:#577362}.btn.ghost:hover{background:#f3f9f5}.quick-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:31px}.stat-card{display:flex;gap:17px;align-items:center;background:white;border:1px solid #edf0ed;border-radius:13px;padding:20px 21px;box-shadow:0 5px 24px #28443406;min-height:99px}.stat-icon{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;font-size:26px}.stat-icon.green{background:#e8f4eb;color:#3b9b6f}.stat-icon.lavender{background:#f1effb;color:#8075b9}.stat-icon.amber{background:#fff5e5;color:#e5a951}.stat-card span{display:block;font-size:11px;color:#9bad9e;margin-bottom:7px}.stat-card strong{font-size:24px;color:#2c4738;font-weight:800}.stat-card strong small{font-weight:500;font-size:11px;color:#98ab9d}.file-panel{background:white;border:1px solid #ecf0ed;border-radius:14px;box-shadow:0 8px 30px #335e4708;overflow:hidden}.file-panel-head{display:flex;align-items:center;justify-content:space-between;padding:20px 23px 15px;gap:15px;flex-wrap:wrap}.head-title{display:flex;align-items:center;gap:11px}.head-title h2{font-size:16px;margin:0}.pill{font-size:10px;background:#eef3ef;color:#72897a;padding:4px 9px;border-radius:6px}.head-tools{display:flex;gap:10px;align-items:center}.search-box{display:flex;align-items:center;gap:6px;border:1px solid #e4ebe5;border-radius:8px;height:37px;width:240px;padding:0 11px;color:#9aa99d}.search-box span{font-size:23px}.search-box input{width:100%;border:0;outline:none;background:transparent;font-size:11px;color:#334b3d}.search-box input::placeholder{color:#afbbb2}select{appearance:none;padding:0 34px 0 12px;border:1px solid #e4ebe5;border-radius:8px;height:37px;background:#fff url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23769080" stroke-width="2"%3E%3Cpath d="m6 9 6 6 6-6"/%3E%3C/svg%3E') no-repeat right 11px center;color:#496553;font-size:11px;max-width:205px}.square-btn{height:37px;width:38px;background:#fff;border:1px solid #e4ebe5;border-radius:8px;color:#779684;font-size:20px}.breadcrumb{display:flex;align-items:center;gap:7px;min-height:31px;margin:0 23px 13px;flex-wrap:wrap}.breadcrumb button{border:0;background:none;color:#49876b;font-size:11px;padding:4px}.breadcrumb button:last-child{color:#7e9688;font-weight:750}.breadcrumb span{color:#b9c9bf}.table-wrap{width:100%;overflow-x:auto}.files-table{border-collapse:collapse;width:100%;white-space:nowrap;table-layout:fixed}.files-table th{text-align:left;background:#f8faf8;border-top:1px solid #edf2ed;border-bottom:1px solid #edf2ed;color:#a1afa3;font-size:10px;font-weight:750;padding:12px 15px}.files-table th:nth-child(2){width:38%}.files-table td{padding:15px;border-bottom:1px solid #f0f3f0;font-size:11px;color:#849388}.files-table tbody tr:hover{background:#fcfefd}.files-table td:nth-child(2){overflow:hidden;text-overflow:ellipsis}.files-table td:first-child,.files-table th:first-child{padding-left:21px}.files-table input[type=checkbox]{accent-color:#237254;width:14px;height:14px}.file-title{display:flex;align-items:center;gap:12px}.file-symbol{width:31px;height:35px;border-radius:6px;display:grid;place-items:center;background:#eef2fb;color:#6481b6;font-weight:800;font-size:10px;flex-shrink:0}.file-symbol.folder{background:#eef7ed;color:#5ba56e;font-size:19px}.file-symbol.pdf{background:#fff0f0;color:#d07a7a}.file-symbol.sheet{background:#edf8f2;color:#55a781}.file-symbol.doc{background:#edf3ff;color:#6f95cf}.file-name{background:transparent;border:0;text-align:left;color:#3f5346;font-weight:750;font-size:12px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}.file-name:hover{color:#1c8a60}.file-owner{display:inline-flex;align-items:center;gap:7px}.tiny-dot{width:6px;height:6px;background:#78b791;border-radius:50%}.more{border:0;background:transparent;color:#9aab9e;font-size:19px}.empty{text-align:center;padding:57px 20px!important;color:#a2ada3}.empty strong{display:block;color:#627b69;font-size:13px;margin-top:12px}.empty p{font-size:11px}.empty-symbol{font-size:42px;color:#8cbd9d}.panel-footer{padding:16px 23px;display:flex;justify-content:space-between;color:#a5b2a7;font-size:10px}.tip{display:flex;gap:14px;align-items:start;background:#f0f7f3;border:1px solid #e4f0e8;margin-top:23px;padding:18px 20px;border-radius:11px;color:#4b8d69}.tip>span{font-size:21px}.tip strong{font-size:11px}.tip p{font-size:11px;color:#729b82;line-height:1.65;margin:6px 0 0}.operation-bar{background:#eff7f1;padding:11px 19px;display:flex;align-items:center;gap:11px;flex-wrap:wrap;border-top:1px solid #e2eee4}.operation-bar span{margin-right:auto;font-weight:750;color:#456d50;font-size:11px}.operation-bar button{border:1px solid #d4e8d9;border-radius:6px;padding:6px 9px;background:#fff;font-size:11px;color:#567b5f}.operation-bar .danger{color:#b36c6c}dialog{border:1px solid #e0eae3;border-radius:15px;padding:25px;width:min(420px,calc(100% - 26px));box-shadow:0 22px 80px #1f47343d;color:#23402f}dialog::backdrop{background:#183c2c70}.modal-title{font-size:18px;font-weight:800}.modal-text{font-size:12px;color:#829489;line-height:1.6;margin:12px 0 18px}.modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:20px}#dlgFields{display:grid;gap:10px}#dlgFields label{display:block;font-size:11px;font-weight:750;margin-bottom:5px}#dlgFields input,#dlgFields select{width:100%;height:41px;border:1px solid #dae7de;border-radius:8px;padding:9px;font-size:12px}#toast{position:fixed;bottom:25px;right:25px;display:none;background:#254f3b;color:white;padding:13px 18px;border-radius:10px;box-shadow:0 12px 36px #0002;font-size:12px;max-width:370px;z-index:11;line-height:1.6}#toast.show{display:block}#toast.error{background:#984745}.mobile-menu{display:none}@media(max-width:1100px){.content{padding:30px 24px}.topbar{padding:0 24px}.search-box{width:180px}.stat-card{padding:16px;gap:11px}}@media(max-width:820px){.sidebar{position:fixed;left:-260px;top:0;bottom:0;z-index:20;transition:left .2s;box-shadow:8px 0 25px #0001}.sidebar.open{left:0}.mobile-menu{display:block}.welcome{align-items:start;flex-direction:column}.topbar{height:63px}.quick-cards{grid-template-columns:1fr 1fr}.stat-card:last-child{grid-column:span 2}.file-panel-head{align-items:stretch}.head-tools{width:100%}.search-box{flex:1}.content{padding:25px 17px}.top-actions #statusText{display:none}}@media(max-width:520px){.welcome h1{font-size:25px;letter-spacing:-.7px}.quick-cards{grid-template-columns:1fr}.stat-card:last-child{grid-column:auto}.head-tools{flex-wrap:wrap}.search-box{width:100%;flex-basis:100%}.files-table{min-width:650px}.top-title{font-size:11px}.welcome-actions{width:100%}.welcome-actions button{flex:1}.stat-card{min-height:78px;padding:12px}.stat-card strong{font-size:20px}.brand{padding-bottom:32px}}

.account-entry{display:flex;align-items:center;gap:2px}.account-entry .account-btn{width:calc(100% - 29px)}.account-manage{background:transparent;border:0;color:#9aaa9e;border-radius:6px;height:29px;width:27px}.account-manage:hover{background:#e5f1e9;color:#387b5b}

/* Drive Hub v0.3 — secure, accessible login gate */
[hidden]{display:none!important}
.login-screen{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 85% 18%,#dcece0 0,transparent 34%),linear-gradient(140deg,#f6faf7,#eaf4ee);padding:28px 12px;font-family:inherit}
.login-card{width:min(440px,100%);background:#fff;padding:37px 38px 27px;border:1px solid #e1ebe4;border-radius:19px;box-shadow:0 17px 65px #274f3320}
.login-brand{display:flex;align-items:center;gap:13px;margin-bottom:32px}.login-brand strong{display:block;color:#234432;font-size:22px;letter-spacing:-.65px}.login-brand small{font-size:9px;display:block;letter-spacing:1.4px;color:#8ba795;margin-top:3px}.login-logo{display:grid;place-items:center;background:#257d56;color:#fff;font-size:26px;width:44px;height:44px;border-radius:13px}
.login-kicker{font-size:10px;font-weight:800;letter-spacing:2px;color:#41946a}.login-card h1{margin:10px 0 11px;font-size:25px;letter-spacing:-1px;color:#263d2f}.login-intro{font-size:12px;line-height:1.8;color:#799182;margin:0 0 25px}
.login-form{display:grid;gap:8px}.login-form label{font-size:11px;font-weight:750;color:#516f5a}.login-form input{width:100%;height:46px;padding:10px 14px;border:1px solid #dce6df;border-radius:10px;font-size:14px;color:#264f39;background:#fbfdfb;margin-bottom:9px;outline-color:#318960}.login-form input:focus{border-color:#409b71}.login-submit{width:100%;height:46px;margin-top:4px;font-size:13px}.login-error{color:#a33b36;background:#fff4f2;padding:10px;border-radius:9px;font-size:12px}
.login-info{display:flex;gap:10px;align-items:start;background:#f1f8f3;border-radius:10px;padding:12px 13px;margin-top:26px;color:#397253}.login-info span{font-size:17px}.login-info p{font-size:11px;line-height:1.8;margin:0}.login-upload-note{color:#738679;font-size:10px;line-height:1.7;padding:13px 2px 0;margin:4px 0 0}.login-footer{text-align:center;color:#98a99b;font-size:10px;margin-top:19px}.demo-visit{margin-top:10px;padding:5px;border:0;background:transparent;color:#408761;text-decoration:underline;font-size:11px;width:100%}.setup-description{background:#f5f8f6;padding:10px;border-radius:8px;color:#557565;font-size:11px;line-height:1.6}.top-link{border:0;color:#52806b;background:transparent;font-size:11px;font-weight:700;padding:8px}.top-link:hover{text-decoration:underline}.session-countdown{font-size:10px;color:#738e7b}
@media(max-width:520px){.login-card{padding:25px 21px}.session-countdown{display:none}}