:root {
  color-scheme: dark;
  --bg: #050712;
  --bg-2: #0a1020;
  --panel: rgba(14, 20, 39, .72);
  --panel-strong: #11182b;
  --panel-soft: rgba(255,255,255,.045);
  --line: rgba(148, 163, 184, .15);
  --line-strong: rgba(124, 92, 255, .35);
  --text: #f6f8ff;
  --muted: #8f9ab3;
  --accent: #7c5cff;
  --accent-2: #35e6c8;
  --accent-3: #4fb6ff;
  --danger: #ff637d;
  --warning: #ffcc66;
  --ok: #35e6c8;
  --shadow: 0 24px 70px rgba(0, 0, 0, .35);
  --radius: 24px;
}

:root.light {
  color-scheme: light;
  --bg: #edf2ff;
  --bg-2: #f8faff;
  --panel: rgba(255,255,255,.72);
  --panel-strong: #ffffff;
  --panel-soft: rgba(50,60,90,.045);
  --line: rgba(65, 79, 112, .14);
  --line-strong: rgba(124, 92, 255, .35);
  --text: #172039;
  --muted: #69748f;
  --shadow: 0 24px 60px rgba(70, 85, 130, .15);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, rgba(124,92,255,.15), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(53,230,200,.09), transparent 25%),
    linear-gradient(160deg, var(--bg), var(--bg-2));
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
button, input, select { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; transition: transform .16s ease, opacity .16s ease, background .16s ease, border-color .16s ease; }
button:hover { transform: translateY(-1px); }
button:disabled { opacity: .45; cursor: default; transform: none; }
.hidden { display: none !important; }
.muted { color: var(--muted); }

.ambient { position: fixed; z-index: 0; width: 360px; height: 360px; border-radius: 50%; filter: blur(90px); opacity: .22; pointer-events: none; }
.ambient-one { left: -130px; top: 5%; background: var(--accent); }
.ambient-two { right: -160px; bottom: 5%; background: var(--accent-2); }
.shell { position: relative; z-index: 1; min-height: 100vh; padding: 18px; }
.glass { background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.glass-inset { background: var(--panel-soft); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }

/* Login */
.login-view { min-height: calc(100vh - 36px); display: grid; place-items: center; }
.login-card { width: min(460px, 100%); padding: 44px; border-radius: 30px; }
.brand-mark { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 21px; background: linear-gradient(135deg, var(--accent), #aa78ff); box-shadow: 0 16px 40px rgba(124,92,255,.34); }
.brand-mark svg { width: 40px; fill: none; stroke: white; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow, .hero-kicker, .viewer-eyebrow, .side-label, .dash-label { color: var(--accent-2); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.login-card .eyebrow { margin: 28px 0 8px; }
h1 { margin: 0; font-size: clamp(28px, 5vw, 39px); letter-spacing: -.04em; line-height: 1.05; }
.login-card > .muted { margin: 12px 0 28px; line-height: 1.55; }
form { display: grid; gap: 17px; }
label { color: var(--muted); font-size: 13px; font-weight: 700; }
input { width: 100%; margin-top: 8px; padding: 14px 15px; color: var(--text); background: rgba(127,140,170,.07); border: 1px solid var(--line); border-radius: 13px; outline: none; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(124,92,255,.13); }
.primary, .secondary, .ghost { min-height: 43px; padding: 0 17px; border-radius: 12px; font-weight: 780; }
.primary { color: white; background: linear-gradient(135deg, var(--accent), #9467ff); box-shadow: 0 11px 28px rgba(124,92,255,.22); }
.secondary { background: rgba(124,92,255,.12); color: #b7a8ff; border: 1px solid rgba(124,92,255,.24); }
.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.wide { width: 100%; margin-top: 5px; }
.form-error { min-height: 18px; margin: 0; color: var(--danger); font-size: 13px; text-align: center; }
.trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; color: var(--muted); font-size: 12px; }
.trust span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 14px var(--accent-2); }

/* App shell */
.drive-view { max-width: 1680px; margin: 0 auto; }
.topbar { min-height: 68px; border-radius: 20px; padding: 12px 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-dot { width: 13px; height: 13px; border-radius: 5px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 20px rgba(124,92,255,.7); }
.brand strong { font-size: 18px; }
.brand span { padding: 5px 8px; border-radius: 7px; background: rgba(53,230,200,.1); color: var(--accent-2); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.top-center { max-width: 600px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.top-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.icon-button { width: 43px; height: 43px; border-radius: 12px; background: transparent; border: 1px solid var(--line); font-size: 18px; }
.icon-button.active { border-color: var(--line-strong); background: rgba(124,92,255,.13); color: #c7bbff; }
.workspace { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.sidebar, .content { border-radius: 24px; }
.sidebar { min-height: calc(100vh - 118px); padding: 16px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 18px; align-self: start; }
.storage-card { display: flex; align-items: center; gap: 12px; padding: 15px; border-radius: 16px; background: linear-gradient(135deg, rgba(124,92,255,.14), rgba(53,230,200,.05)); border: 1px solid rgba(124,92,255,.20); }
.storage-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--accent); font-size: 20px; }
.storage-card > div:last-child { display: grid; gap: 3px; }
.storage-card span, .security-note small, .side-subtle { color: var(--muted); font-size: 11px; }
.side-widget { padding: 14px; border-radius: 16px; }
.side-label { margin-bottom: 10px; }
.digital-clock { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: .06em; color: #dfe6ff; text-shadow: 0 0 18px rgba(79,182,255,.30), 0 0 30px rgba(124,92,255,.18); }
:root.light .digital-clock { color: #283552; }
.side-clock .side-subtle { margin-top: 4px; text-transform: capitalize; }
.weather-mini { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.weather-icon { font-size: 36px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.2)); }
.weather-mini strong { display: block; font-size: 24px; line-height: 1; margin-bottom: 5px; }
nav { display: grid; gap: 5px; }
.mobile-drive { display: none; width: 100%; margin: 0 0 14px; padding: 12px; color: var(--text); background: var(--panel-strong); border: 1px solid var(--line); border-radius: 12px; }
.nav-item { width: 100%; padding: 11px 12px; border-radius: 11px; text-align: left; background: transparent; color: var(--muted); }
.nav-item.active { background: rgba(124,92,255,.13); color: var(--text); border: 1px solid rgba(124,92,255,.18); }
.nav-item span { margin-right: 9px; color: var(--accent-2); }
.security-note { display: flex; gap: 10px; align-items: flex-start; margin-top: auto; padding: 13px; color: var(--muted); }
.security-note > span { color: var(--accent-2); font-size: 10px; }
.security-note div { display: grid; gap: 3px; }
.security-note strong { color: var(--text); font-size: 12px; }

/* Dashboard */
.content { min-width: 0; min-height: calc(100vh - 118px); padding: 22px; overflow: hidden; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(240px, .75fr)); gap: 12px; margin-bottom: 22px; }
.dashboard-grid > * { min-width: 0; }
.hero-card { grid-row: span 2; min-height: 244px; padding: 26px; border-radius: 20px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; background: radial-gradient(circle at 85% 15%, rgba(53,230,200,.11), transparent 26%), radial-gradient(circle at 20% 100%, rgba(124,92,255,.17), transparent 35%), var(--panel-soft); }
.hero-card::after { content: ''; position: absolute; width: 210px; height: 210px; right: -70px; bottom: -100px; border-radius: 50%; border: 1px solid rgba(124,92,255,.18); box-shadow: 0 0 0 28px rgba(124,92,255,.025), 0 0 0 56px rgba(53,230,200,.018); pointer-events: none; }
.hero-kicker { margin: 0 0 8px; }
.hero-card h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.05em; line-height: 1; }
.hero-card .muted { max-width: 660px; margin: 12px 0 0; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; z-index: 1; }
.dash-card { padding: 18px; border-radius: 18px; }
.dash-label { margin-bottom: 12px; }
.status-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.pill { padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.pill.ok { color: var(--ok); border-color: rgba(53,230,200,.25); background: rgba(53,230,200,.07); }
.metric-list { display: grid; gap: 9px; }
.metric-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.metric-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.metric-list span { color: var(--muted); font-size: 11px; }
.metric-list strong { min-width: 0; max-width: 62%; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.storage-overview-card { grid-column: span 2; }
.storage-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.storage-line { min-width: 0; }
.storage-line-head, .storage-line-foot { display: flex; justify-content: space-between; gap: 12px; }
.storage-line-head strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.storage-line-head span, .storage-line-foot small { color: var(--muted); font-size: 10px; }
.storage-bar { height: 7px; margin: 9px 0 7px; overflow: hidden; border-radius: 999px; background: rgba(127,140,170,.10); }
.storage-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 14px rgba(124,92,255,.28); }
.empty-copy { color: var(--muted); font-size: 12px; }

.dash-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.live-dot, .activity-shield { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.live-dot i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px rgba(53,230,200,.7); animation: livePulse 1.6s ease-in-out infinite; }
.live-dot.paused i { background: var(--muted); box-shadow: none; animation: none; }
@keyframes livePulse { 50% { opacity: .35; transform: scale(.82); } }
.telemetry-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 4px 0 14px; }
.telemetry-ring { --value: 0deg; width: 96px; max-width: 100%; aspect-ratio: 1; margin: 0 auto; position: relative; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--accent-2) var(--value), rgba(127,140,170,.09) 0); box-shadow: inset 0 0 24px rgba(0,0,0,.15), 0 0 28px rgba(53,230,200,.05); }
.telemetry-ring::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--panel-strong); border: 1px solid var(--line); }
.telemetry-ring span, .telemetry-ring small { position: relative; z-index: 1; }
.telemetry-ring span { font-family: "SFMono-Regular", Consolas, monospace; font-weight: 850; font-size: 18px; }
.telemetry-ring small { position: absolute; z-index: 1; bottom: 25px; color: var(--muted); font-size: 8px; letter-spacing: .1em; }
.telemetry-meta { margin-top: 6px; }
.micro-button { min-height: 28px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 9px; font-weight: 800; }
.micro-button.active { color: var(--ok); border-color: rgba(53,230,200,.24); background: rgba(53,230,200,.06); }
.automation-list { display: grid; gap: 8px; }
.automation-item { width: 100%; display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; align-items: center; padding: 10px; border-radius: 12px; text-align: left; background: rgba(127,140,170,.045); border: 1px solid var(--line); }
.automation-item > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--accent-2); background: rgba(53,230,200,.07); font-size: 17px; }
.automation-item div { min-width: 0; display: grid; gap: 2px; }
.automation-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.automation-item small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.automation-item:hover { border-color: rgba(124,92,255,.28); background: rgba(124,92,255,.07); }
.activity-list { display: grid; gap: 8px; max-height: 180px; overflow: auto; padding-right: 3px; }
.activity-row { display: grid; grid-template-columns: 9px minmax(0,1fr); gap: 8px; align-items: start; }
.activity-row > i { width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px rgba(53,230,200,.35); }
.activity-row.warning > i { background: var(--warning); box-shadow: 0 0 10px rgba(255,204,102,.25); }
.activity-row div { min-width: 0; display: grid; gap: 2px; }
.activity-row strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.activity-row small { color: var(--muted); font-size: 9px; }

/* Files */
.content-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-top: 4px; }
.content h3 { margin: 7px 0 5px; font-size: 27px; letter-spacing: -.03em; }
.content-head p { margin: 0; font-size: 13px; }
.actions { display: flex; gap: 9px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; min-height: 20px; }
.crumb { padding: 0; background: transparent; color: var(--muted); font-size: 12px; }
.crumb:not(:last-child)::after { content: ' /'; color: var(--muted); margin-left: 6px; }
.crumb:last-child { color: var(--text); }
.toolbar { margin: 20px 0 12px; display: flex; gap: 10px; }
.toolbar-actions { display: flex; gap: 7px; }
.search { flex: 1; position: relative; }
.search span { position: absolute; left: 15px; top: 14px; color: var(--muted); font-size: 18px; }
.search input { margin: 0; padding-left: 43px; }
.folder-insights { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 9px; scrollbar-width: thin; }
.insight-chip { min-width: max-content; padding: 8px 10px; border-radius: 10px; background: rgba(127,140,170,.055); border: 1px solid var(--line); }
.insight-chip strong { margin-right: 6px; font-size: 11px; }
.insight-chip span { color: var(--muted); font-size: 10px; }
.file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 11px; }
.file-card { position: relative; min-width: 0; padding: 14px; border-radius: 16px; background: rgba(127,140,170,.05); border: 1px solid var(--line); transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.file-card:hover { transform: translateY(-2px); border-color: rgba(124,92,255,.35); background: rgba(124,92,255,.07); }
.file-main { width: 100%; padding: 0; background: transparent; text-align: left; }
.file-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 12px; background: rgba(124,92,255,.12); font-size: 23px; }
.folder .file-icon { color: #ffcc66; background: rgba(255,204,102,.11); }
.file-info { min-width: 0; }
.file-name { display: block; overflow: hidden; color: var(--text); font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.file-meta { display: block; margin-top: 6px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.more-button { position: absolute; top: 9px; right: 9px; width: 33px; height: 33px; border-radius: 10px; background: rgba(5,7,18,.12); color: var(--muted); font-size: 17px; backdrop-filter: blur(5px); }
.more-button:hover { background: rgba(255,255,255,.07); }
.file-preview { height: 168px; margin: -5px -5px 12px; overflow: hidden; border-radius: 12px; background: #090d17; }
.file-preview img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .22s ease; }
.file-card:hover .file-preview img { transform: scale(1.03); }
.image-card { padding: 11px; }
.image-card .file-main { display: block; }
.image-card .file-info { padding-right: 30px; }
.menu { position: absolute; z-index: 6; top: 45px; right: 9px; width: 150px; padding: 7px; border-radius: 12px; background: var(--panel-strong); border: 1px solid var(--line); box-shadow: var(--shadow); }
.menu button { width: 100%; padding: 9px; border-radius: 8px; background: transparent; text-align: left; font-size: 12px; }
.menu button:hover { background: rgba(127,140,170,.10); }
.menu .danger { color: var(--danger); }
.empty { min-height: 300px; display: grid; place-content: center; justify-items: center; text-align: center; }
.empty div { color: var(--accent); font-size: 54px; }
.empty h3 { margin: 12px 0 5px; }
.empty p { margin: 0; color: var(--muted); }
.loading { min-height: 220px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.loading span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1s infinite alternate; }
.loading span:nth-child(2) { animation-delay: .2s; }
.loading span:nth-child(3) { animation-delay: .4s; }
@keyframes pulse { to { opacity: .25; transform: translateY(-7px); } }
.drop-zone { display: none; position: fixed; z-index: 50; inset: 18px; place-items: center; border: 2px dashed var(--accent); border-radius: 24px; background: rgba(7,11,21,.92); color: white; font-size: 22px; font-weight: 850; }
.drop-zone.visible { display: grid; }

/* Dialog + viewer */
.dialog-backdrop, .viewer-backdrop { position: fixed; z-index: 70; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.62); backdrop-filter: blur(10px); }
.dialog { width: min(420px, 100%); padding: 25px; border-radius: 20px; }
.dialog h3 { margin: 0; font-size: 22px; }
.dialog p { line-height: 1.5; }
.dialog input { margin: 4px 0 18px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; }
.viewer { width: min(1180px, 100%); max-height: calc(100vh - 40px); border-radius: 22px; overflow: hidden; }
.viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.viewer-head h3 { margin: 4px 0 0; font-size: 19px; }
.viewer-head-actions { display: flex; gap: 8px; }
.viewer-stage-wrap { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: stretch; min-height: min(68vh, 720px); background: rgba(0,0,0,.28); }
.viewer-stage { display: grid; place-items: center; overflow: hidden; padding: 15px; }
.viewer-stage img { max-width: 100%; max-height: 68vh; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.viewer-nav { background: transparent; color: rgba(255,255,255,.74); font-size: 42px; }
.viewer-nav:hover { background: rgba(255,255,255,.035); }
.viewer-nav:disabled { opacity: .15; }
.viewer-foot { padding: 11px 18px; color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translate(-50%, 120px); max-width: calc(100% - 32px); padding: 12px 17px; border-radius: 12px; background: var(--panel-strong); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; transition: .25s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.error { color: #ffd3da; border-color: rgba(255,99,125,.35); }

@media (max-width: 1280px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .hero-card, .storage-overview-card { grid-column: auto; grid-row: auto; }
  .hero-card { min-height: 220px; }
}

@media (max-width: 860px) {
  .shell { padding: 10px; }
  .topbar { grid-template-columns: 1fr auto; border-radius: 17px; }
  .top-center { display: none; }
  .workspace { display: block; margin-top: 10px; }
  .sidebar { display: none; }
  .mobile-drive { display: block; }
  .content { min-height: calc(100vh - 80px); padding: 15px; border-radius: 19px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .hero-card, .storage-overview-card { grid-column: auto; }
  .hero-card { min-height: 210px; padding: 21px; }
  .content-head { display: block; }
  .content h3 { font-size: 25px; }
  .actions { margin-top: 15px; }
  .actions button { flex: 1; }
  .toolbar { margin-top: 16px; }
  .folder-insights { margin-right: -15px; padding-right: 15px; }
  .file-grid { grid-template-columns: 1fr; gap: 8px; }
  .file-card { min-height: 74px; padding: 12px; }
  .file-main { display: grid; grid-template-columns: 45px minmax(0,1fr); align-items: center; gap: 11px; }
  .file-icon { margin: 0; }
  .file-info { padding-right: 32px; }
  .image-card .file-main { display: block; }
  .image-card .file-info { padding-right: 30px; }
  .file-preview { height: 168px; }
  .more-button { top: 20px; }
  .image-card .more-button { top: 8px; }
  .viewer-stage-wrap { grid-template-columns: 38px minmax(0,1fr) 38px; min-height: 55vh; }
  .viewer-stage img { max-height: 55vh; }
}

@media (max-width: 520px) {
  .login-card { padding: 28px 22px; border-radius: 24px; }
  .brand span { display: none; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .ghost { grid-column: span 2; }
  .dashboard-grid { gap: 9px; }
  .file-preview { height: 125px; }
  .viewer-head { align-items: flex-start; }
  .viewer-head-actions { display: grid; }
  .viewer-nav { font-size: 32px; }
}
