.svg-icon{width:20px;height:20px;flex:0 0 auto;fill:currentColor}.quick-actions{display:flex;flex-wrap:wrap;gap:8px}.quick-chip{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border:1px solid #e0e3eb;border-radius:20px;background:#fff;color:#1f1f1f;font-size:13px;cursor:pointer}.quick-chip:hover{background:#edf2fc}.context-menu-overlay{position:fixed;inset:0;z-index:900;background:transparent;display:none}.context-menu-overlay.open{display:block}.context-menu{position:fixed;z-index:910;background:#fff;border:1px solid #e0e3eb;border-radius:10px;box-shadow:0 8px 24px #00000029;padding:6px 0;min-width:210px;display:none}.context-menu-item{display:flex;align-items:center;gap:10px;padding:9px 16px;font-size:14px;color:#1f1f1f;cursor:pointer;border:0;background:none;width:100%;text-align:left}.context-menu-item:hover{background:#edf2fc}.context-menu-item .kv{color:#444746;font-size:12px;margin-left:auto}.context-menu-item.danger{color:#c5221f}.context-menu-item.danger:hover{background:#fce8e6}.context-menu-item.with-sub:after{content:"▸";margin-left:auto;font-size:12px;color:#444746}.context-submenu{position:absolute;left:100%;top:0;background:#fff;border:1px solid #e0e3eb;border-radius:10px;box-shadow:0 8px 24px #00000029;padding:6px 0;min-width:190px;margin-left:6px;display:none;z-index:911}.context-submenu:before{content:"";position:absolute;left:-10px;top:0;width:12px;height:100%}.context-menu-item.with-sub:hover>.context-submenu,.context-menu-item.with-sub.submenu-open>.context-submenu{display:block}.context-menu.submenu-left .context-submenu{left:auto;right:100%;margin-left:0;margin-right:6px}.context-menu.submenu-left .context-submenu:before{left:auto;right:-10px}.toast-transfer-list{display:grid;gap:12px;max-height:min(55vh,420px);overflow-y:auto}.toast-transfer-item{min-width:0;padding:11px 12px;border:1px solid #e0e3eb;border-radius:12px;background:#ffffffb8;display:grid;gap:7px}.toast-transfer-name{overflow:hidden;color:#1f1f1f;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.toast-transfer-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#5f6368;font-size:12px}.toast-transfer-track{height:6px;overflow:hidden;border-radius:6px;background:#e0e3eb}.toast-transfer-fill{height:100%;border-radius:inherit;background:#0b57d0;transition:width .2s ease}:root[data-theme=dark] .toast-transfer-item{background:var(--bg-hover);border-color:var(--border)}:root[data-theme=dark] .toast-transfer-name{color:var(--text-primary)}:root[data-theme=dark] .toast-transfer-meta{color:var(--text-secondary)}.context-color-palette{display:flex;flex-wrap:wrap;gap:7px;padding:8px 12px}.context-color{width:22px;height:22px;border-radius:50%;border:2px solid #fff;cursor:pointer;box-shadow:0 1px 3px #0003}.context-color.selected{border-color:#1f1f1f;box-shadow:0 0 0 2px #e0e3eb}.context-modal{position:fixed;inset:0;z-index:950;display:none;align-items:center;justify-content:center;padding:20px;background:#00000059}.context-modal.open{display:flex}.context-card{width:min(460px,92%);max-height:85vh;overflow:auto;padding:22px;border-radius:14px;background:#fff;display:flex;flex-direction:column;gap:12px}.context-card input{width:100%;padding:10px 14px;border:1px solid #e0e3eb;border-radius:8px;outline:none;font-size:14px}.folder-name-modal{position:fixed;inset:0;z-index:1200;display:none;align-items:center;justify-content:center;padding:20px;background:#0006}.folder-name-modal.open{display:flex}.folder-name-card{width:min(440px,100%);padding:28px 24px 20px;border-radius:24px;background:#fff;color:#1f1f1f;box-shadow:0 24px 48px #0000003d;display:flex;flex-direction:column;gap:22px}.folder-name-card h2{margin:0;font-size:20px;line-height:28px;font-weight:400;text-align:left}.folder-name-card input{width:100%;min-height:52px;padding:12px 14px;border:2px solid #0b57d0;border-radius:6px;outline:none;background:#fff;color:#1f1f1f;font:inherit;font-size:16px}.folder-name-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.folder-name-actions button{min-width:76px;padding:10px 14px;border:0;border-radius:999px;background:transparent;color:#0b57d0;font-size:14px;font-weight:600;cursor:pointer}.folder-name-actions button:hover{background:#e8f0fe}:root[data-theme=dark] .folder-name-card{background:var(--bg-surface);color:var(--text-primary)}:root[data-theme=dark] .folder-name-card input{background:var(--bg-app);color:var(--text-primary);border-color:#8ab4f8}:root[data-theme=dark] .folder-name-actions button{color:#8ab4f8}:root[data-theme=dark] .folder-name-actions button:hover{background:#263b52}.context-header{display:flex;align-items:center;justify-content:space-between;font-weight:600}.context-header button{padding:6px 9px;border:1px solid #e0e3eb;border-radius:6px;background:#fff;cursor:pointer}.context-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}.info-grid{display:grid;grid-template-columns:90px 1fr;gap:8px 14px;font-size:13px;overflow-wrap:anywhere}.info-label{color:#444746;font-weight:600}.share-modal{position:fixed;inset:0;z-index:960;display:none;align-items:center;justify-content:center;padding:20px;background:#1118276b}.share-modal.open{display:flex}.share-card{width:min(520px,94vw);max-height:90vh;overflow:auto;padding:24px;border-radius:20px;background:#fff;color:#1f1f1f;box-shadow:0 18px 50px #0000003d;display:flex;flex-direction:column;gap:12px}.share-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:4px}.share-header h2{margin:0 0 5px;font-size:20px}.share-item-name,.share-hint{color:#5f6368;font-size:13px;overflow-wrap:anywhere}.share-card label{font-size:13px;font-weight:600}.share-card input,.share-card select{min-width:0;padding:11px 12px;border:1px solid #c4c7c5;border-radius:10px;background:#fff;color:#1f1f1f;font:inherit}.share-expiry-row,.share-copy-row{display:flex;gap:8px}.share-expiry-row select{flex:0 0 145px}.share-expiry-row input,.share-copy-row input{flex:1;width:100%}.share-copy-row button,.share-close,.share-footer button{padding:9px 13px;border:1px solid #d7dce2;border-radius:999px;background:#e9eef6;color:#1f1f1f;cursor:pointer}.share-close{width:36px;height:36px;padding:0;font-size:22px}.share-links{display:flex;flex-direction:column;gap:8px;padding-top:6px}.share-links[hidden]{display:none}.share-footer{display:flex;justify-content:flex-end;gap:8px;padding-top:6px}.share-footer-spacer{flex:1}.shared-links-card{width:min(760px,94vw)}.shared-links-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 0}.shared-links-list{display:flex;flex-direction:column;gap:10px;overflow:auto}.shared-link-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:12px;border:1px solid #e0e3eb;border-radius:12px}.shared-link-name{min-width:0;color:#1f1f1f;font-weight:600;overflow-wrap:anywhere}.shared-link-type{margin-left:6px;color:#5f6368;font-size:12px;font-weight:400}.shared-link-expiry{color:#5f6368;font-size:13px;white-space:nowrap}.shared-link-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.shared-link-actions button,.shared-links-toolbar button{padding:8px 11px;border:1px solid #d7dce2;border-radius:999px;background:#e9eef6;color:#1f1f1f;cursor:pointer;white-space:nowrap}.shared-link-actions .danger{color:#b3261e;border-color:#f3c7c3}@media(max-width:680px){.shared-link-row{grid-template-columns:minmax(0,1fr)}.shared-link-actions{justify-content:flex-start}.shared-links-toolbar{align-items:flex-start;flex-direction:column}}.gdrive-location-bar{display:flex;flex:0 0 auto;align-items:center;gap:8px;min-width:0;min-height:40px;margin-bottom:8px}.gdrive-breadcrumb{display:flex;flex:1 1 auto;align-items:center;gap:7px;min-width:0;margin-bottom:0;overflow-x:auto;white-space:nowrap}.modal-back-button{flex:0 0 auto;padding:7px 13px;border:0;border-radius:18px;background:#e9eef6;color:#1f1f1f;font-size:13px;font-weight:500;cursor:pointer}.modal-back-button:hover:not(:disabled){background:#dfe5ed}.modal-back-button:disabled{color:#747775;cursor:default;opacity:.7}.trash-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:8px 12px;border-bottom:1px solid #e0e3eb}.trash-row-actions{display:flex;gap:8px}.trash-row-actions button{padding:6px 9px;border:1px solid #e0e3eb;border-radius:6px;background:#fff;cursor:pointer;white-space:nowrap}.trash-row-actions .danger{color:#c5221f}.gdrive-content{flex:1 1 auto;min-height:0;overflow-y:auto}.gdrive-item-name{color:#1f1f1f;font-weight:500}.gdrive-item-name:disabled{color:#1f1f1f;opacity:1}.batch-toolbar{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#e8f0fe;border-radius:10px}.batch-toolbar button,.audit-controls button{border:1px solid #d0d7e2;background:#fff;border-radius:18px;padding:7px 12px;cursor:pointer}.batch-toolbar .danger{color:#b3261e}.file-card{position:relative}.file-card-top input[type=checkbox],.file-table input[type=checkbox]{width:16px;height:16px;accent-color:#0b57d0}.file-card-top{gap:8px}.file-preview{position:relative;overflow:hidden}.file-thumbnail{display:none;width:100%;height:100%;object-fit:cover}.file-thumbnail.loaded{display:block}.file-thumbnail.loaded+span{display:none}.audit-controls{display:grid;gap:8px;margin-top:18px}#auditResults{display:grid;gap:6px}.gdrive-card{overflow:hidden}.gdrive-header,.gdrive-tabs,.gdrive-location-bar,.gdrive-error,.gdrive-footer{flex-shrink:0}.gdrive-row{color:#1f1f1f}.modal-select-bar{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;margin-bottom:6px;border:1px solid var(--border);border-radius:8px;background:var(--bg-hover);color:var(--text-primary);font-size:13px}.modal-select-bar label{display:flex;align-items:center;gap:8px;cursor:pointer}.modal-select-bar input{accent-color:var(--accent)}.view-controls select{max-width:150px;min-height:34px;padding:5px 9px;border:1px solid var(--border);border-radius:18px;background:var(--bg-surface);color:var(--text-primary)}.preview-modal{position:fixed;inset:0;z-index:1200;display:none;align-items:center;justify-content:center;padding:24px;background:#080c12c7}.preview-modal.open{display:flex}.preview-card{width:min(1100px,96vw);height:min(820px,92vh);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:16px;background:var(--bg-surface);color:var(--text-primary);box-shadow:0 24px 80px #0006}.preview-header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--border)}.preview-header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-header button{min-width:38px;min-height:34px;margin-left:6px;border:1px solid var(--border);border-radius:18px;background:var(--bg-surface);color:var(--text-primary);cursor:pointer}.preview-stage{display:flex;flex:1;min-height:0;align-items:center;justify-content:center;overflow:auto;padding:12px}.preview-stage img,.preview-stage video,.preview-stage iframe{width:100%;height:100%;border:0;object-fit:contain;background:#080a0d}.preview-stage img{width:auto;max-width:100%;height:auto;max-height:100%}.search-result-list{display:grid;gap:7px;padding:12px}.search-result{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:var(--bg-surface);color:var(--text-primary);text-align:left;cursor:pointer}.search-result:hover{background:var(--bg-hover)}.search-result small{margin-left:auto;color:var(--text-secondary)}.search-empty{padding:28px;color:var(--text-secondary);text-align:center}.trash-retention-notice{margin:0 0 14px;padding:10px 14px;border:1px solid var(--border);border-radius:12px;background:var(--bg-hover);color:var(--text-secondary);font-size:13px}.buy-storage-button{width:100%;margin-top:12px;padding:9px 12px;border:0;border-radius:999px;background:#0b57d0;color:#fff;font-weight:600;cursor:pointer}.buy-storage-button:hover{background:#0846aa}[data-admin-only][hidden]{display:none!important}.buy-storage-modal{position:fixed;inset:0;z-index:700;display:none;align-items:center;justify-content:center;padding:20px;background:#0000007a}.buy-storage-modal.open{display:flex}.buy-storage-card{width:min(680px,100%);max-height:90vh;overflow-y:auto;padding:24px;border:1px solid var(--border);border-radius:24px;background:var(--bg-surface);color:var(--text-primary);box-shadow:0 24px 70px #00000047}.buy-storage-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.buy-storage-header h2{margin:0 0 5px;font-size:22px;font-weight:600}.buy-storage-header p{margin:0;color:var(--text-secondary);font-size:14px}.buy-storage-header button{min-width:38px;min-height:38px;border:1px solid var(--border);border-radius:50%;background:var(--bg-surface);color:var(--text-primary);cursor:pointer}.storage-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.storage-plan{display:flex;min-height:130px;flex-direction:column;align-items:flex-start;gap:8px;padding:16px;border:1px solid var(--border);border-radius:16px;background:var(--bg-surface);color:var(--text-primary);text-align:left;cursor:pointer}.storage-plan:hover,.storage-plan.selected{border-color:#0b57d0;background:var(--bg-active);box-shadow:0 0 0 2px #0b57d01f}.storage-plan-name{font-size:17px;font-weight:600}.storage-plan strong{font-size:20px}.storage-plan small{color:var(--text-secondary)}.storage-plan-summary{min-height:42px;margin:16px 0 10px;color:var(--text-primary);font-size:14px}.storage-plan-rule{padding:13px 14px;border-radius:12px;background:var(--bg-hover);color:var(--text-secondary);font-size:13px;line-height:1.5}.storage-plan-rule strong{color:var(--text-primary)}.storage-contact-note{margin:13px 0;color:var(--text-secondary);font-size:12px;line-height:1.5}.storage-plan-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.storage-plan-actions button{min-height:40px;padding:8px 16px;border:1px solid var(--border);border-radius:999px;background:var(--bg-surface);color:var(--text-primary);cursor:pointer}.storage-plan-actions .primary-btn{border-color:#0b57d0;background:#0b57d0;color:#fff}.file-card[draggable=true]{cursor:grab}.folder-card.drag-target{outline:2px dashed var(--accent);outline-offset:2px;background:var(--bg-active)}.breadcrumb.drag-target{outline:2px dashed var(--accent);outline-offset:2px;border-radius:8px}:root[data-theme=dark]{--bg-app:#11151b;--bg-surface:#1b222b;--bg-hover:#26303b;--bg-active:#203a55;--text-primary:#e7edf5;--text-secondary:#aab6c5;--border:#354252;--accent:#8ab4f8}:root[data-theme=dark] body{background:var(--bg-app);color:var(--text-primary)}:root[data-theme=dark] .sidebar,:root[data-theme=dark] .main,:root[data-theme=dark] .topbar,:root[data-theme=dark] .drive-sheet,:root[data-theme=dark] .file-card,:root[data-theme=dark] .folder-card,:root[data-theme=dark] .admin-card,:root[data-theme=dark] .gdrive-card,:root[data-theme=dark] .destination-card,:root[data-theme=dark] .context-card,:root[data-theme=dark] .login-card,:root[data-theme=dark] .new-menu,:root[data-theme=dark] .context-menu{background:var(--bg-surface)!important;color:var(--text-primary);border-color:var(--border)}:root[data-theme=dark] button,:root[data-theme=dark] select,:root[data-theme=dark] input,:root[data-theme=dark] textarea,:root[data-theme=dark] .gdrive-row button{background-color:var(--bg-surface);color:var(--text-primary);border-color:var(--border)}:root[data-theme=dark] .file-card:hover,:root[data-theme=dark] .folder-card:hover,:root[data-theme=dark] .quick-chip:hover,:root[data-theme=dark] .context-menu-item:hover{background:var(--bg-hover)!important}:root[data-theme=dark] .storage-box,:root[data-theme=dark] .admin-form,:root[data-theme=dark] .batch-toolbar,:root[data-theme=dark] .modal-select-bar{background:var(--bg-hover);color:var(--text-primary);border-color:var(--border)}:root[data-theme=dark] .file-table td,:root[data-theme=dark] .file-table th,:root[data-theme=dark] .admin-table td,:root[data-theme=dark] .admin-table th{color:var(--text-primary)!important;border-color:var(--border)}:root[data-theme=dark] .gdrive-item-name,:root[data-theme=dark] .gdrive-item-name:disabled,:root[data-theme=dark] .gdrive-row{color:var(--text-primary)!important}:root[data-theme=dark] .login-screen{background:var(--bg-app)}:root[data-theme=dark] .storage-plan-actions .primary-btn{border-color:#0b57d0;background:#0b57d0;color:#fff}@media(max-width:720px){.trash-row{align-items:flex-start;flex-direction:column}.trash-row-actions{width:100%}.storage-plan-grid{grid-template-columns:1fr}.storage-plan{min-height:0}.buy-storage-card{padding:18px}}.upload-toast.minimized{width:min(330px,calc(100vw - 32px))}.upload-toast.minimized .toast-body{display:none}.upload-toast .toast-header{display:flex;align-items:center;gap:10px}.upload-toast #toastTitle{flex:1}.toast-failed-files{display:grid;gap:5px;margin-top:10px;max-height:150px;overflow:auto}.toast-failed-item{display:flex;justify-content:space-between;gap:12px;color:#ef4444;font-size:12px}.toast-failed-item span{min-width:0;overflow-wrap:anywhere;white-space:normal}.toast-failed-item strong{flex:0 0 auto}.public-link-indicator{margin-left:6px;color:#1a73e8;font-size:12px;vertical-align:middle}.sidebar{background:#f8fafc;border-right:1px solid #E2E8F0;padding:18px 14px 14px;gap:18px}.logo{gap:11px;padding:4px 7px;color:#0f172a;font-size:19px;letter-spacing:-.35px}.logo .icon{display:grid!important;width:42px;height:42px;place-items:center;border-radius:14px;background:#eff6ff}.logo .svg-icon{width:27px;height:27px;fill:url(#sidebar-cloud-gradient)}.logo .brand-name{color:#0f172a;font-size:18px;font-weight:500}.logo .brand-name strong{font-weight:750}.logo .brand-name em{color:#2563eb;font-style:normal;font-weight:650}.nav-list{gap:5px}.nav-item{min-height:42px;padding:9px 13px;border-radius:12px;color:#475569;font-weight:500}.nav-item:hover{background:#eff6ff;color:#1d4ed8}.nav-item.active{background:#eff6ff;color:#1d4ed8;font-weight:650}.btn-new{width:100%;justify-content:center;gap:9px;border:0;border-radius:14px;background:linear-gradient(100deg,#2563eb,#1d4ed8);color:#fff;box-shadow:0 5px 12px #2563eb33}.btn-new:hover{background:linear-gradient(100deg,#1d4ed8,#1e40af);box-shadow:0 7px 15px #2563eb40}.btn-new .plus{color:#fff}.storage-box{padding:14px;border-color:#e2e8f0;border-radius:16px;background:#fff;box-shadow:0 2px 8px #0f172a09}.storage-box>div:first-child{color:#0f172a}.storage-fill{background:linear-gradient(90deg,#2563eb,#0ea5e9)}.storage-fill{transition:width .25s ease,background-color .2s ease}.storage-fill.warning{background:#f59e0b}.storage-fill.critical{background:#dc2626}.storage-fill.unlimited{background:linear-gradient(90deg,#2563eb,#10b981)}.storage-plan-badge{display:inline-flex;align-items:center;min-height:24px;margin-top:9px;padding:4px 9px;border:1px solid #DBEAFE;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:650}.buy-storage-button{margin-top:10px;background:linear-gradient(100deg,#2563eb,#1d4ed8)}.buy-storage-button:hover{background:linear-gradient(100deg,#1d4ed8,#1e40af)}.main{padding-top:12px}.topbar{position:sticky;top:0;z-index:40;min-height:60px;margin:-12px -16px 12px 0;padding:10px 16px;border-bottom:1px solid rgba(226,232,240,.85);background:#ffffffe6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.search-box{border:1px solid #E2E8F0;border-radius:14px;background:#f8fafc}.search-box:focus-within{border-color:#93c5fd;background:#fff;box-shadow:0 0 0 3px #2563eb1a}.search-box>.svg-icon{color:#64748b}.view-controls{gap:7px}.view-controls .icon-toggle,.view-controls .icon-button,.account-actions>button{min-height:36px;padding:7px 12px;border:1px solid #E2E8F0;border-radius:11px;background:#fff;color:#334155;font-size:13px;font-weight:550;transition:background .15s ease,border-color .15s ease,color .15s ease}.view-controls .icon-toggle:hover,.view-controls .icon-button:hover,.account-actions>button:hover{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.account-actions{gap:7px}.account-actions #logoutButton{border-color:#dbeafe;color:#1d4ed8}.account-actions #themeToggleButton{min-width:38px;padding-inline:8px}.trash-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}.trash-card{min-width:0;display:flex;flex-direction:column;gap:12px;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--bg-surface)}.trash-card-title{display:flex;align-items:flex-start;gap:9px;min-width:0}.trash-card-title .folder-name{white-space:normal;overflow-wrap:anywhere}.trash-expiry{display:inline-flex;align-items:center;align-self:flex-start;width:fit-content;padding:4px 9px;border:1px solid #FDE68A;border-radius:999px;background:#fffbeb;color:#92400e;font-size:11px;font-weight:650;white-space:nowrap}.trash-expiry.warning{border-color:#fcd34d;background:#fef3c7;color:#92400e}.trash-expiry.critical{border-color:#fca5a5;background:#fef2f2;color:#b91c1c}.trash-card .trash-row-actions{flex-wrap:wrap}.trash-row .trash-expiry{margin-left:8px}.trash-row .folder-left{min-width:0;flex-wrap:wrap}@media(max-width:720px){.sidebar{width:210px;padding-inline:10px}.topbar{margin-right:-16px;flex-wrap:wrap}.account-actions{flex-wrap:wrap;justify-content:flex-end}}:root[data-theme=dark] .sidebar{background:#151c25!important;border-color:var(--border)}:root[data-theme=dark] .logo .icon{background:#2563eb2b}:root[data-theme=dark] .logo .brand-name,:root[data-theme=dark] .storage-box>div:first-child{color:var(--text-primary)}:root[data-theme=dark] .nav-item.active,:root[data-theme=dark] .nav-item:hover{background:#203a55!important;color:#93c5fd}:root[data-theme=dark] .storage-plan-badge{border-color:#334155;background:#1e3a5f;color:#bfdbfe}:root[data-theme=dark] .topbar{border-color:var(--border);background:#1b222be6!important}:root[data-theme=dark] .search-box{border-color:var(--border);background:var(--bg-hover)}:root[data-theme=dark] .search-box:focus-within{background:var(--bg-surface)}:root[data-theme=dark] .view-controls .icon-toggle,:root[data-theme=dark] .view-controls .icon-button,:root[data-theme=dark] .account-actions>button{border-color:var(--border);background:var(--bg-surface);color:var(--text-primary)}:root[data-theme=dark] .trash-expiry{border-color:#854d0e;background:#422006;color:#fde68a}:root[data-theme=dark] .trash-expiry.critical{border-color:#7f1d1d;background:#450a0a;color:#fca5a5}.login-screen{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;overflow-y:auto;padding:36px 18px;background:radial-gradient(ellipse at 14% 18%,rgba(56,189,248,.13),transparent 34%),radial-gradient(ellipse at 88% 82%,rgba(37,99,235,.12),transparent 36%),linear-gradient(135deg,#f8fafc,#eff6ff,#f1f5f9)}.auth-layout{width:100%;display:flex;flex-direction:column;align-items:center;gap:18px;margin:auto}.login-card{width:min(420px,calc(100vw - 32px));max-width:420px;padding:32px;border:1px solid rgba(226,232,240,.9);border-radius:16px;background:#fffffff5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 20px 40px -15px #0f172a1a}.auth-brand{display:flex;flex-direction:column;align-items:center;text-align:center}.auth-cloud-badge{display:grid;width:64px;height:64px;place-items:center;margin:0 0 17px;border-radius:20px;background:#eff6ff}.auth-cloud-badge svg{width:39px;height:39px}.auth-brand h1{margin:0 0 7px;color:#0f172a;font-size:26px;font-weight:400;letter-spacing:-.7px}.auth-brand h1 strong{font-weight:750}.auth-brand h1 span{color:#2563eb;font-weight:650}.auth-brand p{min-height:20px;margin:0 0 25px;color:#64748b;font-size:13px;line-height:1.5}.auth-fields label{display:block;margin:13px 0 6px;color:#334155;font-size:13px;font-weight:600}.auth-input-wrap{position:relative;display:flex;align-items:center}.auth-input-icon{position:absolute;left:13px;width:18px;height:18px;fill:none;stroke:#94a3b8;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.login-card .auth-input-wrap input,.login-card #registerNameField input{width:100%;height:44px;padding:0 13px 0 42px;border:1px solid #CBD5E1;border-radius:9px;outline:none;background:#fff;color:#0f172a;font-size:14px;transition:border-color .16s ease,box-shadow .16s ease}.login-card #registerNameField input{padding-left:13px}.login-card .auth-input-wrap input:focus,.login-card #registerNameField input:focus{border-color:#2563eb;box-shadow:0 0 0 4px #3b82f626}.login-card .auth-input-wrap input[type=password],.login-card .auth-input-wrap input[type=text]{padding-right:44px}.auth-password-toggle{position:absolute;right:6px;display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:8px;background:transparent;color:#64748b;cursor:pointer}.auth-password-toggle:hover{background:#f1f5f9;color:#334155}.auth-eye-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.login-card #authSubmit.primary-btn{display:block;width:100%;height:44px;margin:22px 0 0;padding:0 18px;border-radius:9px;background:linear-gradient(100deg,#2563eb,#1d4ed8);color:#fff;font-size:14px;font-weight:700;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}.login-card #authSubmit.primary-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 16px #2563eb38}.login-card #authSubmit.primary-btn:disabled{cursor:wait;opacity:.82}.login-card #authSubmit.is-loading:before{display:inline-block;width:13px;height:13px;margin-right:9px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;content:"";vertical-align:-2px;animation:auth-spin .7s linear infinite}@keyframes auth-spin{to{transform:rotate(360deg)}}.login-card .login-error{min-height:0;margin-top:9px}.login-card .login-error:empty{display:none}.auth-switch{margin-top:17px;padding-top:16px;border-top:1px solid #F1F5F9;text-align:center}.login-card .text-btn{margin:0;padding:5px 8px;color:#2563eb;font-size:13px;font-weight:600}.login-card .text-btn:hover{text-decoration:underline}.auth-footer{color:#94a3b8;font-size:11px;text-align:center}.auth-footer span{padding:0 4px}.star-toggle{width:30px;height:30px;padding:0;border:0;border-radius:9px;background:transparent;color:#94a3b8;font-size:18px;cursor:pointer}.star-toggle:hover{background:#eff6ff;color:#2563eb}.star-toggle.selected{color:#e6a700}.file-table td:nth-child(3),.file-table th:nth-child(3){white-space:nowrap}.file-table th:last-child,.file-table td:last-child{width:76px;min-width:76px;white-space:nowrap}.file-table tbody td{padding:8px 12px}.file-table tbody td:last-child{padding:8px 6px}.file-row-actions{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.file-table thead th{position:sticky;top:0;z-index:20;background-color:var(--bg-surface, #ffffff)}:root[data-theme=dark] .file-table thead th{background-color:var(--bg-surface, #ffffff)}.batch-toolbar{flex-wrap:wrap;margin:0 16px;border:1px solid #DBEAFE;color:#1e3a8a}:root[data-theme=dark] .public-link-indicator{color:#8ab4f8}:root[data-theme=dark] .batch-toolbar{color:var(--text-primary)}:root[data-theme=dark] .star-toggle:hover{background:#2563eb29}:root[data-theme=dark] .login-screen{background:radial-gradient(ellipse at 14% 18%,rgba(14,165,233,.12),transparent 34%),radial-gradient(ellipse at 88% 82%,rgba(37,99,235,.15),transparent 36%),linear-gradient(135deg,#0f172a,#172554,#111827)}:root[data-theme=dark] .login-card{border-color:#475569bf;background:#0f172af5}:root[data-theme=dark] .auth-brand h1,:root[data-theme=dark] .auth-fields label{color:#e2e8f0}:root[data-theme=dark] .auth-brand p,:root[data-theme=dark] .auth-footer{color:#94a3b8}:root[data-theme=dark] .auth-cloud-badge{background:#2563eb29}:root[data-theme=dark] .login-card .auth-input-wrap input,:root[data-theme=dark] .login-card #registerNameField input{border-color:#475569;background:#111c31;color:#f8fafc}:root[data-theme=dark] .auth-switch{border-color:#334155}@media(max-width:480px){.login-card{padding:27px 22px}}
