:root{color-scheme:light;--bg: #f5f6f8;--surface: #ffffff;--surface-muted: #f9fafb;--border: #e5e7eb;--border-strong: #d1d5db;--text: #111827;--text-muted: #6b7280;--text-faint: #9ca3af;--brand: #ed7f11;--brand-strong: #d76f08;--brand-tint: #fef1e2;--danger: #dc2626;--danger-tint: #fef2f2;--success: #16a34a;--file-violet: #7c3aed;--file-violet-tint: #f3ecfe;--file-red: #dc2626;--file-red-tint: #fdecec;--file-blue: #2563eb;--file-blue-tint: #eaf1fe;--file-green: #16a34a;--file-green-tint: #eafbf1;--file-orange: #ea580c;--file-orange-tint: #fef1e7;--file-amber: #d97706;--file-amber-tint: #fef6e7;--file-pink: #db2777;--file-pink-tint: #fdecf5;--file-fuchsia: #c026d3;--file-fuchsia-tint: #fbebfc;--file-indigo: #4f46e5;--file-indigo-tint: #edecfc;--file-slate: #64748b;--file-slate-tint: #f1f4f7;--radius-lg: 16px;--radius-md: 10px;--radius-sm: 7px;--shadow-sm: 0 1px 2px rgba(16, 24, 40, .04);--shadow-md: 0 2px 8px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}button,input{font-family:inherit}.shell{min-height:100vh;display:flex}.shell--centered{align-items:center;justify-content:center;padding:24px}.sidebar{width:240px;flex-shrink:0;background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:20px 14px;gap:4px}.sidebar__brand{display:flex;align-items:center;gap:10px;padding:6px 10px 22px}.sidebar__mark{width:30px;height:30px;border-radius:9px;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;flex-shrink:0}.sidebar__brand span{font-weight:700;font-size:14.5px;letter-spacing:-.01em}.sidebar__nav{display:flex;flex-direction:column;gap:2px}.sidebar__link{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:var(--radius-sm);border:none;background:transparent;color:var(--text-muted);font-size:13.5px;font-weight:600;text-align:left;cursor:pointer}.sidebar__link:hover{background:var(--surface-muted);color:var(--text)}.sidebar__link--active{background:var(--brand-tint);color:var(--brand-strong)}.sidebar__spacer{flex:1}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 28px;background:var(--surface);border-bottom:1px solid var(--border)}.topbar__title{font-size:17px;font-weight:700;letter-spacing:-.01em}.topbar__subtitle{margin:2px 0 0;font-size:12.5px;color:var(--text-muted)}.content{padding:28px;max-width:980px;width:100%;margin:0 auto}.signin-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:40px 36px;max-width:380px;text-align:center;box-shadow:var(--shadow-md)}.signin-card__mark{width:52px;height:52px;border-radius:14px;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;margin:0 auto 18px}.signin-card h1{font-size:19px;margin:0 0 8px}.signin-card p{color:var(--text-muted);font-size:13.5px;line-height:1.5;margin:0}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 16px;border-radius:var(--radius-sm);font-size:13.5px;font-weight:700;border:1px solid transparent;cursor:pointer;text-decoration:none;white-space:nowrap}.primary-button{background:var(--brand);color:#fff;margin-top:20px}.primary-button:hover{background:var(--brand-strong)}.primary-button:disabled{opacity:.6;cursor:not-allowed}.secondary-button{background:var(--surface);color:var(--text);border-color:var(--border-strong)}.secondary-button:hover{background:var(--surface-muted)}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:var(--radius-sm);border:1px solid transparent;background:transparent;color:var(--text-muted);cursor:pointer}.icon-button:hover{background:var(--surface-muted);color:var(--text)}.icon-button--danger:hover{background:var(--danger-tint);color:var(--danger)}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-bottom:24px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px 18px;box-shadow:var(--shadow-sm)}.stat-card__icon{width:34px;height:34px;border-radius:10px;background:var(--brand-tint);color:var(--brand-strong);display:flex;align-items:center;justify-content:center;margin-bottom:10px}.stat-card__value{font-size:22px;font-weight:800;letter-spacing:-.02em}.stat-card__label{font-size:12.5px;color:var(--text-muted);margin-top:2px}.section-title{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);margin:0 0 12px}.device-list{display:flex;flex-direction:column;gap:14px}.device-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:18px 20px;box-shadow:var(--shadow-sm)}.device-card__header{display:flex;align-items:center;gap:12px;margin-bottom:14px}.device-card__icon{width:36px;height:36px;border-radius:10px;background:var(--surface-muted);color:var(--text-muted);display:flex;align-items:center;justify-content:center;flex-shrink:0}.device-card__header h2{margin:0;font-size:14.5px}.device-card__header .muted{display:block;margin-top:1px}.folder-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.folder-row{display:flex;flex-direction:column;gap:2px;padding:11px 13px;background:var(--surface-muted);border-radius:var(--radius-md)}.folder-row__meta{font-size:12px;color:var(--text-faint);text-transform:capitalize}.device-card--clickable,.folder-row--clickable{width:100%;text-align:left;cursor:pointer;border:1px solid transparent}.device-card--clickable{border-color:var(--border)}.device-card--clickable:hover,.folder-row--clickable:hover{border-color:var(--brand)}.device-card__chevron,.folder-row__chevron{margin-left:auto;color:var(--text-faint);flex-shrink:0}.folder-row--clickable{flex-direction:row;align-items:center;gap:12px}.folder-icon{width:36px;height:36px;border-radius:10px;background:var(--brand-tint);color:var(--brand-strong);display:flex;align-items:center;justify-content:center;flex-shrink:0}.folder-body{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.breadcrumb{display:flex;align-items:center;gap:6px;margin-bottom:16px;color:var(--text-muted)}.breadcrumb button{border:none;background:transparent;padding:4px 6px;border-radius:6px;font-size:13px;font-weight:600;color:var(--text-muted);cursor:pointer}.breadcrumb button:hover{background:var(--surface-muted);color:var(--text)}.breadcrumb__current{font-size:13px;font-weight:700;color:var(--text);padding:4px 6px}.dropzone{border:1.5px dashed var(--border-strong);border-radius:var(--radius-lg);padding:36px 20px;text-align:center;background:var(--surface);margin-bottom:20px;transition:border-color .15s,background .15s}.dropzone--active{border-color:var(--brand);background:var(--brand-tint)}.dropzone__icon{width:44px;height:44px;border-radius:12px;background:var(--brand-tint);color:var(--brand-strong);display:flex;align-items:center;justify-content:center;margin:0 auto 12px}.dropzone h3{margin:0 0 4px;font-size:14.5px}.dropzone p{margin:0 0 14px;font-size:12.5px;color:var(--text-muted)}.upload-list{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.upload-row{display:flex;align-items:center;gap:12px;padding:10px 14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md)}.upload-row__name{flex:1;min-width:0;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upload-row__bar{width:100px;height:5px;border-radius:999px;background:var(--border);overflow:hidden;flex-shrink:0}.upload-row__bar-fill{height:100%;background:var(--brand);transition:width .2s ease}.upload-row__status{font-size:11.5px;color:var(--text-muted);width:70px;text-align:right;flex-shrink:0}.upload-row__status--error{color:var(--danger)}.explorer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.explorer-toolbar__sort{display:flex;align-items:center;gap:6px}.explorer-toolbar__sort select{padding:7px 10px;border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);color:var(--text);font-size:12.5px;font-weight:600;cursor:pointer}.view-toggle{display:flex;gap:2px;padding:3px;background:var(--surface-muted);border-radius:var(--radius-sm);border:1px solid var(--border)}.view-toggle__button{display:flex;align-items:center;justify-content:center;width:30px;height:26px;border:none;border-radius:6px;background:transparent;color:var(--text-muted);cursor:pointer}.view-toggle__button--active{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}.file-row__icon--violet,.file-card__thumb--violet{background:var(--file-violet-tint);color:var(--file-violet)}.file-row__icon--red,.file-card__thumb--red{background:var(--file-red-tint);color:var(--file-red)}.file-row__icon--blue,.file-card__thumb--blue{background:var(--file-blue-tint);color:var(--file-blue)}.file-row__icon--green,.file-card__thumb--green{background:var(--file-green-tint);color:var(--file-green)}.file-row__icon--orange,.file-card__thumb--orange{background:var(--file-orange-tint);color:var(--file-orange)}.file-row__icon--amber,.file-card__thumb--amber{background:var(--file-amber-tint);color:var(--file-amber)}.file-row__icon--pink,.file-card__thumb--pink{background:var(--file-pink-tint);color:var(--file-pink)}.file-row__icon--fuchsia,.file-card__thumb--fuchsia{background:var(--file-fuchsia-tint);color:var(--file-fuchsia)}.file-row__icon--indigo,.file-card__thumb--indigo{background:var(--file-indigo-tint);color:var(--file-indigo)}.file-row__icon--slate,.file-card__thumb--slate{background:var(--file-slate-tint);color:var(--file-slate)}.file-row__icon--folder,.file-card__thumb--folder{background:var(--brand-tint);color:var(--brand-strong)}.file-card--folder,.file-row--folder{width:100%;text-align:left;cursor:pointer;font:inherit}.file-card--folder{border:1px solid var(--border)}.file-card--folder:hover,.file-row--folder:hover{border-color:var(--brand)}.file-row--folder{background:none;border:1px solid transparent}.file-table{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm)}.file-row{display:flex;align-items:center;gap:12px;padding:13px 18px;border-bottom:1px solid var(--border)}.file-row:last-child{border-bottom:none}.file-row__icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}.file-row__icon img{width:100%;height:100%;object-fit:cover}.file-row__name{flex:1;min-width:0;font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-row__meta{font-size:12px;color:var(--text-muted);flex-shrink:0}.file-row__actions{display:flex;gap:4px;flex-shrink:0}.file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:14px}.file-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:12px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:8px;position:relative}.file-card__thumb{height:92px;border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;overflow:hidden}.file-card__thumb img{width:100%;height:100%;object-fit:cover}.file-card__name{font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-card__meta{font-size:11.5px;color:var(--text-muted)}.file-card__actions{display:flex;gap:4px;position:absolute;top:8px;right:8px;opacity:0;transition:opacity .12s ease}.file-card:hover .file-card__actions{opacity:1}.file-card__actions .icon-button{width:26px;height:26px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm)}.empty-state{text-align:center;padding:48px 20px;color:var(--text-muted)}.empty-state__icon{width:48px;height:48px;border-radius:14px;background:var(--surface-muted);color:var(--text-faint);display:flex;align-items:center;justify-content:center;margin:0 auto 14px}.empty-state p{font-size:13.5px;max-width:340px;margin:0 auto;line-height:1.5}.muted{color:var(--text-muted);font-size:13px}.error{color:var(--danger);font-size:13px}.loading-state{padding:40px 0;text-align:center;color:var(--text-muted);font-size:13.5px}
