:root {
  --bg: #f8fafd;
  --surface: #ffffff;
  --surface-2: #f0f4f9;
  --search: #e9eef6;
  --text: #1f1f1f;
  --text-2: #444746;
  --muted: #5f6368;
  --border: #e1e3e1;
  --hover: rgba(68, 71, 70, 0.08);
  --pressed: rgba(68, 71, 70, 0.14);
  --selected: #c2e7ff;
  --selected-text: #001d35;
  --primary: #0b57d0;
  --on-primary: #ffffff;
  --primary-soft: #d3e3fd;
  --danger: #b3261e;
  --scrim: rgba(0, 0, 0, 0.4);
  --shadow: 0 1px 3px rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
  --type-folder: #444746;
  --type-image: #d93025;
  --type-video: #d93025;
  --type-audio: #a142f4;
  --type-pdf: #ea4335;
  --type-doc: #4285f4;
  --type-sheet: #0f9d58;
  --type-slides: #f4b400;
  --type-archive: #5f6368;
  --type-file: #5f6368;
  --radius: 16px;
  --font: 'Google Sans Text', 'Google Sans', Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1b1b;
    --surface: #131314;
    --surface-2: #1e1f20;
    --search: #282a2c;
    --text: #e3e3e3;
    --text-2: #c4c7c5;
    --muted: #9aa0a6;
    --border: #444746;
    --hover: rgba(227, 227, 227, 0.08);
    --pressed: rgba(227, 227, 227, 0.14);
    --selected: #004a77;
    --selected-text: #c2e7ff;
    --primary: #a8c7fa;
    --on-primary: #062e6f;
    --primary-soft: #0842a0;
    --danger: #f2b8b5;
    --type-folder: #c4c7c5;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 4px 8px 3px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.43 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.muted { color: var(--muted); }
.spacer { flex: 1; }
.hidden-input { display: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Icons */
.icon { width: 24px; height: 24px; flex: none; fill: currentColor; }
.type-folder { fill: var(--type-folder); }
.type-image { fill: var(--type-image); }
.type-video { fill: var(--type-video); }
.type-audio { fill: var(--type-audio); }
.type-pdf { fill: var(--type-pdf); }
.type-doc { fill: var(--type-doc); }
.type-sheet { fill: var(--type-sheet); }
.type-slides { fill: var(--type-slides); }
.type-archive, .type-file { fill: var(--type-file); }

/* Buttons */
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--text-2); flex: none; }
.icon-btn:hover { background: var(--hover); }
.icon-btn:active { background: var(--pressed); }
.icon-btn.sm { width: 32px; height: 32px; }
.icon-btn.sm .icon { width: 20px; height: 20px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 24px; border-radius: 20px; border: 0; font-weight: 500; letter-spacing: 0.01em; background: transparent; }
.btn .icon { width: 18px; height: 18px; }
.btn.sm { height: 32px; padding: 0 12px; }
.btn:disabled { opacity: 0.38; cursor: default; }
.btn-filled { background: var(--primary); color: var(--on-primary); }
.btn-filled:hover:not(:disabled) { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); filter: brightness(1.08); }
.btn-tonal { background: var(--primary-soft); }
.btn-text { color: var(--primary); padding: 0 12px; }
.btn-text:hover, .btn-outline:hover { background: color-mix(in srgb, var(--primary) 8%, transparent); }
.btn-outline { border: 1px solid var(--border); color: var(--primary); }
.btn-danger { background: var(--danger); color: var(--surface); }

/* Inputs */
.text-input, .select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--muted); border-radius: 4px; background: transparent; }
.text-input:focus, .select:focus { outline: none; border: 2px solid var(--primary); padding: 0 13px; }
.select { width: auto; height: 32px; padding: 0 8px; border: 0; font-weight: 500; border-radius: 4px; }
.select:hover { background: var(--hover); }
.select:focus { border: 0; padding: 0 8px; outline: 2px solid var(--primary); }

/* Shell layout */
.shell { display: grid; grid-template-columns: 256px 1fr; grid-template-rows: 64px 1fr; height: 100vh; }
.topbar { grid-column: 1 / -1; display: flex; min-width: 0; align-items: center; gap: 8px; padding: 8px 16px; }
.menu-toggle { display: none; }
.brand { display: flex; align-items: center; gap: 8px; width: 232px; padding-left: 8px; font-size: 22px; color: var(--text-2); }
.brand-logo { width: 40px; height: 40px; fill: var(--primary); }
.search { flex: 1; min-width: 0; max-width: 720px; display: flex; align-items: center; gap: 4px; height: 48px; padding: 0 8px 0 4px; border-radius: 24px; background: var(--search); }
.search:focus-within { background: var(--surface); box-shadow: var(--shadow); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: 16px; outline: none; }
.avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #7b5ea7; color: #fff; font-weight: 500; flex: none; }
.avatar.xs { width: 24px; height: 24px; font-size: 12px; }
.avatar-btn { margin-left: auto; border: 0; }
.avatar-btn:hover { box-shadow: 0 0 0 4px var(--hover); }

.sidebar { display: flex; flex-direction: column; padding: 8px 16px 16px 0; overflow-y: auto; }
.new-btn { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; height: 56px; margin: 0 0 16px 8px; padding: 0 20px 0 16px; border: 0; border-radius: 16px; background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15); font-weight: 500; }
.new-btn:hover { box-shadow: var(--shadow); background: var(--surface-2); }
.nav { display: flex; flex-direction: column; }
.nav-link { display: flex; align-items: center; gap: 12px; height: 32px; padding: 0 12px 0 24px; border-radius: 0 16px 16px 0; color: var(--text-2); }
.nav-link .icon { width: 20px; height: 20px; }
.nav-link:hover { background: var(--hover); }
.nav-link.active { background: var(--selected); color: var(--selected-text); font-weight: 600; }
.storage { margin-top: 16px; padding: 0 0 0 24px; }
.storage-bar { height: 4px; border-radius: 2px; background: var(--border); overflow: hidden; }
.storage-fill { display: block; height: 100%; width: 0; background: var(--primary); }
.storage-text { margin: 8px 0 0; font-size: 13px; color: var(--muted); }

.content { position: relative; display: flex; flex-direction: column; margin: 0 16px 16px 0; padding: 0 16px 16px; border-radius: var(--radius); background: var(--surface); overflow: auto; outline: none; }
.content-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; min-height: 64px; padding-top: 8px; background: var(--surface); }
.page-title { margin: 0; font-size: 22px; font-weight: 400; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; flex: 1; font-size: 22px; min-width: 0; }
.crumb { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border: 0; border-radius: 20px; background: transparent; color: var(--text-2); font-size: inherit; white-space: nowrap; }
.crumb:hover { background: var(--hover); }
.crumb-current { color: var(--text); }
.crumb-sep { width: 20px; height: 20px; color: var(--muted); }
.page-title .crumb { padding-left: 8px; margin-left: -8px; }
.view-toggle { display: flex; margin-left: auto; border: 1px solid var(--muted); border-radius: 16px; overflow: hidden; }
.toggle { display: grid; place-items: center; width: 48px; height: 32px; border: 0; background: transparent; color: var(--text-2); }
.toggle .icon { width: 18px; height: 18px; }
.toggle + .toggle { border-left: 1px solid var(--muted); }
.toggle.active { background: var(--selected); color: var(--selected-text); }
.toolbar-slot { display: flex; align-items: center; min-height: 48px; position: sticky; top: 64px; z-index: 2; background: var(--surface); }
.item-count { color: var(--muted); padding-left: 4px; }
.selection-bar { display: flex; align-items: center; gap: 4px; flex: 1; height: 40px; padding-right: 8px; border-radius: 20px; background: var(--surface-2); }
.selection-count { margin-right: 12px; }
.banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; padding: 4px 4px 4px 16px; border-radius: 8px; background: var(--surface-2); color: var(--text-2); }
.loading-bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.loading-bar::after { content: ''; position: absolute; inset: 0; width: 40%; background: var(--primary); animation: slide 1s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* List layout */
.list { display: grid; grid-template-columns: minmax(200px, 1fr) 160px 140px 100px 170px; }
.list-head, .row { display: contents; }
.list-head span { padding: 0 8px; height: 48px; display: flex; align-items: center; font-weight: 500; color: var(--text-2); border-bottom: 1px solid var(--border); position: sticky; top: 112px; background: var(--surface); z-index: 1; }
.cell { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 8px; border-bottom: 1px solid var(--border); color: var(--text-2); min-width: 0; white-space: nowrap; user-select: none; }
.cell-name { color: var(--text); font-weight: 500; }
.name-text { overflow: hidden; text-overflow: ellipsis; }
.star-badge { width: 16px; height: 16px; color: var(--muted); }
.cell-owner { gap: 8px; }
.cell-actions { justify-content: flex-end; gap: 0; }
.cell-actions > * { visibility: hidden; }
.row:hover .cell { background: var(--hover); }
.row:hover .cell-actions > *, .row[aria-selected='true'] .cell-actions > *, .row:focus-within .cell-actions > * { visibility: visible; }
.row[aria-selected='true'] .cell { background: var(--selected); color: var(--selected-text); }
.row .cell:first-child { border-radius: 0; }
.row:focus { outline: none; }
.row:focus-visible .cell { box-shadow: inset 0 2px 0 var(--primary), inset 0 -2px 0 var(--primary); }

/* Grid layout */
.section-title { margin: 8px 0 12px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.folder-grid, .file-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: 16px; }
.folder-card { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 4px 0 16px; border-radius: 12px; background: var(--surface-2); font-weight: 500; user-select: none; }
.folder-card .name-text { flex: 1; white-space: nowrap; }
.file-card { display: flex; flex-direction: column; border-radius: 12px; background: var(--surface-2); padding: 4px 4px 12px; user-select: none; min-width: 0; }
.file-card-head { display: flex; align-items: center; gap: 12px; height: 44px; padding-left: 12px; font-weight: 500; }
.file-card-head .name-text { flex: 1; white-space: nowrap; }
.file-card-head .icon:first-child { width: 20px; height: 20px; }
.thumb { display: grid; place-items: center; height: 160px; margin: 0 8px; border-radius: 8px; background: var(--surface); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-icon { width: 64px; height: 64px; }
.file-card-meta { display: flex; align-items: center; gap: 8px; padding: 12px 12px 0; color: var(--text-2); font-size: 13px; }
.folder-card:hover, .file-card:hover { background: color-mix(in srgb, var(--surface-2) 100%, var(--text) 6%); }
.folder-card[aria-selected='true'], .file-card[aria-selected='true'] { background: var(--selected); color: var(--selected-text); }
.folder-card:focus, .file-card:focus { outline: none; }
.folder-card:focus-visible, .file-card:focus-visible { outline: 2px solid var(--primary); }
.drop-target, .row.drop-target .cell { background: var(--primary-soft) !important; outline: 2px solid var(--primary); }

/* Empty, drop hint */
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; color: var(--text-2); }
.empty h2 { margin: 16px 0 4px; font-size: 22px; font-weight: 400; color: var(--text); }
.empty p { margin: 0 0 16px; }
.empty-icon { width: 120px; height: 120px; fill: var(--primary-soft); }
.drop-hint { display: none; }
.content.dragging-files { box-shadow: inset 0 0 0 2px var(--primary); background: color-mix(in srgb, var(--primary) 6%, var(--surface)); }
.content.dragging-files .drop-hint { position: sticky; bottom: 16px; display: flex; align-items: center; gap: 12px; align-self: center; margin-top: auto; padding: 12px 24px; border-radius: 24px; background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow); pointer-events: none; }

/* Menus and modals */
.menu { position: fixed; z-index: 50; min-width: 220px; max-width: 320px; padding: 8px 0; border-radius: 4px; background: var(--surface-2); box-shadow: var(--shadow); }
.menu-item { display: flex; align-items: center; gap: 16px; width: 100%; height: 36px; padding: 0 24px 0 16px; border: 0; background: transparent; text-align: left; color: var(--text); }
.menu-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-item .icon { width: 20px; height: 20px; color: var(--text-2); }
.menu-item:hover, .menu-item:focus { background: var(--hover); outline: none; }
.menu-divider { height: 1px; margin: 8px 0; background: var(--border); }
.modal-backdrop { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 16px; background: var(--scrim); }
.modal { width: min(512px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 24px; border-radius: 28px; background: var(--surface-2); box-shadow: var(--shadow); }
.modal-title { margin: 0 0 16px; font-size: 24px; font-weight: 400; overflow-wrap: anywhere; }
.modal-subtitle { margin: 20px 0 8px; font-size: 16px; font-weight: 500; }
.modal-text { margin: 0 0 8px; color: var(--text-2); }
.modal-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 24px; }
.stack { display: flex; flex-direction: column; }
.share-modal { width: min(560px, 100%); }
.share-add { display: flex; gap: 8px; }
.share-add .text-input { flex: 1; }
.people { list-style: none; margin: 0; padding: 0; }
.person { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.person-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.person-text span { overflow: hidden; text-overflow: ellipsis; }
.access-row { display: flex; align-items: flex-start; gap: 12px; }
.access-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--border); }
.access-icon.on { background: #c4eed0; color: #0d652d; }
.access-icon .icon { width: 20px; height: 20px; }
.access-text p { margin: 0 0 0 8px; font-size: 13px; }
.link-input { margin-top: 12px; height: 40px; font-size: 13px; }
.move-location { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.move-list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 320px; overflow: auto; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.move-folder { display: flex; align-items: center; gap: 12px; width: 100%; height: 44px; padding: 0 8px; border: 0; background: transparent; text-align: left; }
.move-folder span { flex: 1; }
.move-folder:hover { background: var(--hover); }
.move-empty { padding: 12px 8px; }

/* Toast and uploads */
.toast { position: fixed; z-index: 60; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 8px; max-width: min(560px, calc(100vw - 48px)); min-height: 48px; padding: 4px 4px 4px 16px; border-radius: 4px; background: #313033; color: #f4eff4; box-shadow: var(--shadow); }
.toast-error { background: #8c1d18; }
.toast-action { border: 0; background: transparent; color: #a8c7fa; font-weight: 500; padding: 8px 12px; border-radius: 4px; }
.toast .icon-btn { color: inherit; width: 36px; height: 36px; }
.upload-panel { position: fixed; z-index: 55; right: 24px; bottom: 0; width: min(360px, calc(100vw - 32px)); border-radius: 16px 16px 0 0; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.upload-head { display: flex; align-items: center; gap: 4px; height: 52px; padding: 0 8px 0 20px; background: var(--surface-2); }
.upload-title { flex: 1; font-weight: 500; }
.upload-panel.collapsed .upload-list { display: none; }
.upload-panel.collapsed [data-collapse] .icon { transform: rotate(180deg); }
.upload-list { list-style: none; margin: 0; padding: 0; max-height: 240px; overflow: auto; }
.upload-row { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 20px; }
.upload-row > .icon { width: 20px; height: 20px; }
.upload-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-error { display: block; font-size: 12px; color: var(--danger); }
.upload-status { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; --progress: 0deg; background: conic-gradient(var(--primary) var(--progress), var(--border) 0); mask: radial-gradient(circle, transparent 7px, #000 8px); }
.upload-status.done, .upload-status.failed { background: none; mask: none; }
.upload-status.done { color: #188038; }
.upload-status.failed { color: var(--danger); }

/* Preview */
.preview { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; background: rgba(0, 0, 0, 0.88); color: #fff; }
.preview-bar { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 16px; background: linear-gradient(rgba(0, 0, 0, 0.6), transparent); }
.preview-bar .icon-btn { color: #fff; }
.preview-bar .icon-btn:hover { background: rgba(255, 255, 255, 0.12); }
.preview-name { flex: 1; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-stage { flex: 1; display: grid; place-items: center; padding: 0 72px 24px; min-height: 0; }
.preview-media { max-width: 100%; max-height: calc(100vh - 100px); border-radius: 4px; }
.preview-frame { width: min(1000px, 100%); height: calc(100vh - 100px); border: 0; border-radius: 4px; background: #fff; }
.preview-text { width: min(960px, 100%); max-height: calc(100vh - 100px); margin: 0; padding: 24px; overflow: auto; border-radius: 4px; background: #fff; color: #1f1f1f; font: 13px/1.5 ui-monospace, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.preview-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 56px; border-radius: 16px; background: #313033; }
.preview-card p { margin: 0; }
.preview-card .muted { color: #c4c7c5; }
.preview-big-icon { width: 96px; height: 96px; }
.preview-nav { position: absolute; top: 50%; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.6); color: #fff; display: grid; place-items: center; }
.preview-nav:hover { background: rgba(60, 60, 60, 0.9); }
.preview-nav.prev { left: 16px; }
.preview-nav.next { right: 16px; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 24px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Auth */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.auth-card { width: min(448px, 100%); display: flex; flex-direction: column; gap: 4px; padding: 40px; border-radius: 28px; background: var(--surface); }
.auth-card h1 { margin: 16px 0 0; font-size: 32px; font-weight: 400; }
.auth-logo { width: 48px; height: 48px; }
.field { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; color: var(--text-2); font-size: 13px; }
.hint { margin: 4px 0 0; font-size: 12px; }
.form-error { min-height: 20px; margin: 8px 0 0; color: var(--danger); }
.auth-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 16px; }

/* Public share page */
.public-page { display: flex; flex-direction: column; height: 100vh; }
.public-topbar { justify-content: space-between; }
.public-content { flex: 1; margin: 0 16px 16px; }
.shared-file { display: flex; flex-direction: column; align-items: center; padding: 64px 16px; text-align: center; }
.shared-file h2 { margin: 16px 0 4px; font-weight: 400; overflow-wrap: anywhere; }
.public-missing { min-height: 100vh; }
.public-content .row { cursor: pointer; }
.public-content .cell-actions > * { visibility: visible; }

/* Narrow screens */
@media (max-width: 900px) {
  .list { grid-template-columns: minmax(0, 1fr) 110px; }
  .cell-owner, .cell-size, .list-head span:nth-child(2), .list-head span:nth-child(4) { display: none; }
  .cell-actions, .list-head span:last-child { display: none; }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-grid; }
  .brand { width: auto; padding: 0; }
  .brand span { display: none; }
  .sidebar { position: fixed; z-index: 30; top: 64px; bottom: 0; left: 0; width: 280px; background: var(--bg); box-shadow: var(--shadow); transform: translateX(-105%); transition: transform 0.2s ease; }
  .shell.nav-open .sidebar { transform: none; }
  .content { margin: 0 8px 8px; padding: 0 8px 8px; }
  .breadcrumb, .page-title { font-size: 18px; }
  .folder-grid, .file-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
  .preview-stage { padding: 0 8px 16px; }
  .preview-nav { display: none; }
  .auth-card { padding: 24px; }
}

/* Encryption UI */
.key-warning { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--surface-2); color: var(--text-2); font-size: 12px; line-height: 1.5; }
.key-warning .icon { width: 18px; height: 18px; flex: none; color: var(--primary); }
.fingerprint { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; font: 11px/1.4 ui-monospace, Menlo, monospace; color: var(--muted); }
.fingerprint .icon { width: 12px; height: 12px; }
.inline-icon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.thumb-failed img { display: none; }
.public-error { margin: 8px 0; }
.thumb img:not([src]) { visibility: hidden; }
.share-confirm { padding: 12px 16px; border-radius: 12px; background: var(--surface); }
.share-confirm p { margin: 0 0 8px; }
.fingerprint.big { font-size: 15px; letter-spacing: 0.04em; color: var(--text); }
.fingerprint.big .icon { width: 16px; height: 16px; }
.key-alert { display: flex; gap: 8px; padding: 10px 12px; border-radius: 8px; background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--text); font-size: 13px; }
.key-alert .icon { width: 20px; height: 20px; flex: none; color: var(--danger); }
