:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#15202b;background:#eef3f8}*{box-sizing:border-box}body{margin:0;min-height:100vh}.shell{min-height:100vh;display:flex;flex-direction:column}.topbar{height:72px;background:#fff;border-bottom:1px solid #dce5ee;display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:5}.brand{font-weight:800;font-size:20px}.subtitle{font-size:12px;color:#637487}.top-actions{display:flex;gap:10px;align-items:center}main{width:min(1400px,calc(100% - 32px));margin:24px auto;flex:1}.card{background:#fff;border:1px solid #dce5ee;border-radius:16px;box-shadow:0 8px 24px #1a36520f}.login-card{max-width:940px;margin:50px auto;padding:30px}.login-card h1{margin-top:0}.muted{color:#697b8d}.small{font-size:12px}.tiny{font-size:10px}.notice{background:#edf7ff;border:1px solid #bedff8;padding:12px 14px;border-radius:10px;margin:18px 0}.grid3{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:12px;margin:18px 0}label{font-size:12px;font-weight:700;color:#485a6c}input,select{width:100%;margin-top:6px;border:1px solid #cad5df;border-radius:9px;padding:11px 12px;background:#fff;color:#14202b}button,.upload-label{border:0;border-radius:9px;padding:10px 14px;cursor:pointer;font-weight:700;font-size:13px;display:inline-flex;align-items:center;justify-content:center}.primary{background:#1685d1;color:#fff}.ghost{background:#f1f5f8;color:#33475a}.danger{background:#fff0f0;color:#ae3131}.iconbtn{width:34px;height:34px;padding:0;background:#edf3f7;color:#33475a}.badge{font-size:12px;background:#eef1f4;padding:7px 10px;border-radius:20px}.badge.ok{background:#e6f7ed;color:#167644}.hidden{display:none!important}.drive{display:grid;grid-template-columns:280px 1fr;gap:18px}.sidebar{padding:16px;min-height:690px;display:flex;flex-direction:column}.account{display:flex;gap:10px;align-items:center;padding:4px 2px 16px;border-bottom:1px solid #edf1f4}.avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#dcefff;color:#0f70b5;font-weight:800}.side-head{display:flex;align-items:center;justify-content:space-between;margin:18px 0 8px}.folders{display:flex;flex-direction:column;gap:5px}.folder{background:transparent;text-align:left;justify-content:flex-start;gap:8px;color:#33475a}.folder.active{background:#e8f4fd;color:#086dad}.cachebox{margin-top:auto;border-top:1px solid #edf1f4;padding-top:14px}.cachebox select{margin:8px 0}.full{width:100%}.content{padding:20px;min-width:0}.content-head{display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid #edf1f4;padding-bottom:16px}.content-head h2{margin:0}.actions{display:flex;gap:8px}.progress-wrap{padding:12px 0}.progress{height:7px;background:#e9eef2;border-radius:10px;overflow:hidden}.progress>div{height:100%;width:0;background:#1685d1;transition:width .1s}.empty{height:380px;display:grid;place-items:center;color:#7a8a99}.fileTableWrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:13px 10px;text-align:left;border-bottom:1px solid #edf1f4;font-size:13px}th{font-size:11px;color:#6b7c8d;text-transform:uppercase}.fname{display:flex;align-items:center;gap:10px}.row-actions{white-space:nowrap;text-align:right}.smallbtn{padding:7px 9px;margin-left:4px}.modal{position:fixed;inset:0;background:#05121e9e;z-index:20;display:grid;place-items:center;padding:24px}.modal-box{background:#fff;border-radius:15px;width:min(1100px,96vw);height:min(820px,92vh);display:flex;flex-direction:column;overflow:hidden}.modal-head{height:54px;padding:0 16px;border-bottom:1px solid #e3e9ee;display:flex;align-items:center;justify-content:space-between}.preview-body{flex:1;display:grid;place-items:center;overflow:auto;background:#f4f6f8}.preview-body img{max-width:100%;max-height:100%;object-fit:contain}.preview-body iframe,.preview-body video{width:100%;height:100%;border:0}.generic-preview{text-align:center}.bigicon{font-size:72px}.loader{color:#617487}.toast{position:fixed;right:22px;bottom:22px;z-index:50;background:#1e2b36;color:#fff;padding:12px 16px;border-radius:9px;box-shadow:0 8px 24px #0003;max-width:430px}.toast.error{background:#a93535}.toast.success{background:#167644}.error-text{color:#a93535}footer{text-align:center;color:#748494;font-size:11px;padding:18px}@media(max-width:850px){.grid3,.drive{grid-template-columns:1fr}.sidebar{min-height:0}.cachebox{margin-top:20px}.content-head{align-items:flex-start;flex-direction:column}.row-actions{white-space:normal}.topbar{padding:0 14px}}
