/* ============================================================ Farben */
:root {
  --bg: #f3f5f8;
  --bg-elev: #ffffff;
  --bg-sunken: #eaeef3;
  --bg-hover: #eef1f5;
  --sidebar: #ffffff;
  --border: #dde2e9;
  --text: #17202b;
  --muted: #677384;
  --accent: #17945c;
  --accent-ink: #ffffff;
  --accent-soft: rgba(23, 148, 92, 0.12);
  --danger: #d23f3f;
  --danger-soft: rgba(210, 63, 63, 0.1);
  --warn: #bf7f00;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 2px 8px rgba(16, 24, 40, .06);
  --shadow-lg: 0 20px 50px rgba(16, 24, 40, .18);
  --radius: 14px;
  --radius-sm: 9px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0d1015;
  --bg-elev: #151920;
  --bg-sunken: #1b2029;
  --bg-hover: #1f2530;
  --sidebar: #11141a;
  --border: #252c37;
  --text: #e6eaf0;
  --muted: #8b95a4;
  --accent: #3ccf8e;
  --accent-ink: #04140c;
  --accent-soft: rgba(60, 207, 142, 0.13);
  --danger: #ff6b6b;
  --danger-soft: rgba(255, 107, 107, 0.12);
  --warn: #f0b429;
  --shadow: none;
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

/* ============================================================ Basis */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.icon { display: inline-flex; width: 18px; height: 18px; flex: none; }
.icon svg { width: 100%; height: 100%; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.hidden { display: none !important; }
.mobile-only { display: none !important; }
@media (max-width: 860px) { .mobile-only { display: inline-flex !important; } }
.spacer { flex: 1; }
.row { display: flex; align-items: center; gap: 8px; }
.stack { display: flex; flex-direction: column; gap: 10px; }

/* ============================================================ Bedienelemente */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 36px; padding: 0 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-elev); cursor: pointer;
  font-weight: 550; white-space: nowrap; transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--bg-hover); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.danger { color: var(--danger); }
.btn.danger.solid { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--bg-hover); }
.btn.icon-only { width: 36px; padding: 0; }
.btn.sm { height: 30px; padding: 0 10px; font-size: 13px; }
.btn.sm.icon-only { width: 30px; padding: 0; }
.btn.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.btn:disabled { opacity: .5; cursor: default; }

.input, select.input, textarea.input {
  width: 100%; height: 38px; padding: 0 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-sunken); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
textarea.input { height: auto; padding: 10px 12px; resize: vertical; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
label.field { display: flex; flex-direction: column; gap: 6px; font-weight: 550; font-size: 13px; }
label.field > span.hint { font-weight: 400; color: var(--muted); font-size: 12px; }
input[type="checkbox"] { accent-color: var(--accent); width: 17px; height: 17px; cursor: pointer; }

.card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.empty .big { font-size: 34px; margin-bottom: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; background: var(--bg-sunken); font-size: 12px; color: var(--muted); }
.chip b { color: var(--text); font-weight: 650; }
.kbd { font-family: var(--mono); font-size: 12px; background: var(--bg-sunken); padding: 1px 6px; border-radius: 5px; }

/* ============================================================ Layout */
.layout { display: flex; height: 100vh; height: 100dvh; }
.sidebar {
  width: 248px; flex: none; display: flex; flex-direction: column;
  background: var(--sidebar); border-right: 1px solid var(--border); padding: 16px 12px;
  overflow-y: auto; z-index: 40;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; font-weight: 750; font-size: 16px; letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; }
.brand small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: 0; }
.nav-section { display: flex; align-items: center; justify-content: space-between; padding: 16px 10px 6px; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.nav-section .btn { height: 22px; width: 22px; }
.nav-link {
  display: flex; align-items: center; gap: 11px; padding: 8px 10px; margin: 1px 0;
  border-radius: var(--radius-sm); color: var(--text); font-weight: 520; cursor: pointer;
}
.nav-link:hover { background: var(--bg-hover); }
.nav-link.active { background: var(--accent-soft); color: var(--accent); }
.nav-link .icon { color: var(--muted); }
.nav-link.active .icon { color: var(--accent); }
.nav-link .emoji { width: 18px; text-align: center; font-size: 15px; line-height: 1; }
.nav-link .badge { margin-left: auto; font-size: 11px; padding: 0 7px; border-radius: 99px; background: var(--bg-sunken); color: var(--muted); }
.sidebar-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); display: flex; gap: 6px; align-items: center; }
.sidebar-foot .user { flex: 1; min-width: 0; padding: 0 6px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 60px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 22px;
  border-bottom: 1px solid var(--border); background: var(--bg);
}
.topbar h1 { font-size: 18px; margin: 0; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
#menu-btn { display: none; }
#view { flex: 1; min-height: 0; overflow: auto; padding: 22px; }
#view.full { padding: 0; overflow: hidden; }
.page { max-width: 1200px; margin: 0 auto; }
.scrim { display: none; }

@media (max-width: 860px) {
  .sidebar { position: fixed; inset: 0 auto 0 0; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow-lg); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 30; }
  #menu-btn { display: inline-flex; }
  .topbar { padding: 0 12px; }
  #view { padding: 14px; }
  .topbar .actions .label { display: none; }
}

/* ============================================================ Widgets */
.grid-stack { min-height: 300px; }
.grid-stack-item-content.widget {
  display: flex; flex-direction: column; overflow: hidden !important;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.widget-head {
  display: flex; align-items: center; gap: 8px; height: 42px; flex: none; padding: 0 8px 0 14px;
  font-weight: 650; font-size: 13px; color: var(--muted); user-select: none;
}
.widget-head .icon { width: 16px; height: 16px; }
.widget-head .title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.widget-head .btn { height: 26px; width: 26px; color: var(--muted); }
.widget-body { flex: 1; min-height: 0; overflow: auto; padding: 0 14px 14px; container-type: size; }
.editing .widget-head { cursor: move; background: var(--bg-sunken); }
.editing .grid-stack-item-content.widget { border-style: dashed; border-color: var(--accent); }
.widget .edit-only { display: none; }
.editing .widget .edit-only { display: inline-flex; }
.grid-stack > .grid-stack-item > .ui-resizable-se { opacity: 0; }
.editing .grid-stack > .grid-stack-item > .ui-resizable-se { opacity: .7; }
.grid-stack-placeholder > .placeholder-content { background: var(--accent-soft) !important; border: 2px dashed var(--accent); border-radius: var(--radius); }

/* General */
.g-wrap { display: flex; flex-direction: column; height: 100%; justify-content: center; gap: 4px; }
.g-greet { font-size: 15px; color: var(--muted); }
.g-time { font-size: clamp(34px, 18cqh, 72px); font-weight: 750; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.g-time .sec { font-size: .45em; color: var(--muted); font-weight: 600; margin-left: 4px; }
.g-date { font-size: 15px; font-weight: 550; }
.g-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.g-stats .chip { cursor: pointer; }

/* Weather */
.wx { display: flex; flex-direction: column; height: 100%; gap: 10px; }
.wx-now { display: flex; align-items: center; gap: 12px; }
.wx-icon { font-size: 44px; line-height: 1; }
.wx-temp { font-size: 38px; font-weight: 750; letter-spacing: -.03em; line-height: 1; }
.wx-place { font-weight: 650; }
.wx-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: 12px; }
.wx-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: auto; }
.wx-day { text-align: center; padding: 7px 2px; border-radius: var(--radius-sm); background: var(--bg-sunken); font-size: 12px; }
.wx-day .e { font-size: 20px; display: block; margin: 2px 0; }
.wx-day .lo { color: var(--muted); }
@container (max-height: 220px) { .wx-days { display: none; } }

/* Clocks */
.clock-list { display: flex; flex-direction: column; }
.clock-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.clock-row:last-child { border-bottom: 0; }
.clock-row .city { font-weight: 600; }
.clock-row .meta { font-size: 12px; color: var(--muted); }
.clock-row .t { margin-left: auto; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.clock-row .night { opacity: .65; }

/* Tasks */
.task-add { display: flex; gap: 6px; margin-bottom: 8px; }
.task-list { list-style: none; margin: 0; padding: 0; }
.task { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--border); }
.task:last-child { border-bottom: 0; }
.task .t-title { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.task.done .t-title { text-decoration: line-through; color: var(--muted); }
.task .due { font-size: 12px; color: var(--muted); white-space: nowrap; }
.task .due.over { color: var(--danger); font-weight: 600; }
.task .due.today { color: var(--warn); font-weight: 600; }
.task .prio { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.prio-high { background: var(--danger); }
.prio-normal { display: none; }
.prio-low { background: var(--muted); opacity: .5; }
.task .btn { opacity: 0; }
.task:hover .btn, .task:focus-within .btn { opacity: 1; }
@media (hover: none) { .task .btn { opacity: 1; } }

/* Notes widget */
.nw { display: flex; flex-direction: column; height: 100%; gap: 8px; }
.nw select { height: 32px; }
.nw textarea { flex: 1; resize: none; border: 0; background: var(--bg-sunken); border-radius: var(--radius-sm); padding: 10px 12px; outline: none; line-height: 1.55; }

/* ============================================================ Notizen-Seite */
.notes-page { display: grid; grid-template-columns: 300px 1fr; gap: 16px; height: 100%; max-width: 1300px; margin: 0 auto; }
.notes-list { display: flex; flex-direction: column; overflow: hidden; }
.notes-list .head { padding: 12px; display: flex; gap: 8px; border-bottom: 1px solid var(--border); }
.notes-list .items { overflow: auto; flex: 1; padding: 6px; }
.note-item { padding: 10px 12px; border-radius: var(--radius-sm); cursor: pointer; }
.note-item:hover { background: var(--bg-hover); }
.note-item.active { background: var(--accent-soft); }
.note-item .nt { font-weight: 620; display: flex; gap: 6px; align-items: center; }
.note-item .np { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note-editor { display: flex; flex-direction: column; overflow: hidden; }
.note-editor .head { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.note-editor .title-input { flex: 1; border: 0; background: transparent; font-size: 18px; font-weight: 700; outline: none; min-width: 0; }
.note-editor textarea { flex: 1; border: 0; outline: none; resize: none; background: transparent; padding: 16px 18px; line-height: 1.65; font-size: 15px; }
.note-editor .foot { padding: 6px 14px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); }
#view.notes-view { overflow: hidden; }
@media (max-width: 860px) {
  .notes-page { grid-template-columns: 1fr; height: auto; }
  .notes-page.has-active .notes-list { display: none; }
  .note-editor { min-height: 70vh; }
  #view.notes-view { overflow: auto; }
}

/* ============================================================ Aufgaben-Seite */
.tasks-page { max-width: 820px; margin: 0 auto; }
.tasks-page .add { display: grid; grid-template-columns: 1fr 150px 130px auto; gap: 8px; padding: 14px; }
.tasks-page .group { margin-top: 18px; }
.tasks-page .group h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 8px 4px; }
.tasks-page .task-list { padding: 4px 14px; }
@media (max-width: 640px) { .tasks-page .add { grid-template-columns: 1fr 1fr; } .tasks-page .add .input:first-child { grid-column: 1 / -1; } }

/* ============================================================ Wetter-/Uhren-Seite */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.wx-card { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.wx-card .top { display: flex; align-items: flex-start; gap: 10px; }
.wx-hours { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.wx-hour { flex: none; width: 50px; text-align: center; font-size: 12px; padding: 6px 0; border-radius: var(--radius-sm); background: var(--bg-sunken); }
.wx-hour .e { font-size: 18px; display: block; }
.wx-week { display: flex; flex-direction: column; }
.wx-week .d { display: grid; grid-template-columns: 44px 30px 1fr 70px; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.wx-week .d:last-child { border-bottom: 0; }
.wx-bar { height: 6px; border-radius: 3px; background: var(--bg-sunken); position: relative; }
.wx-bar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: linear-gradient(90deg, #4da3ff, #f5a623); }

.clock-card { padding: 20px; display: flex; align-items: center; gap: 18px; }
.clock-card > svg { width: 110px; height: 110px; flex: none; }
.clock-card .digital { font-size: 34px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1.1; }
.clock-card .lbl { font-weight: 650; font-size: 16px; }
.clock-face { fill: var(--bg-sunken); stroke: var(--border); stroke-width: 2; }
.clock-tick { stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.clock-hand { stroke: var(--text); stroke-linecap: round; }
.clock-sec { stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; }

/* ============================================================ Apps */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.app-card { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.app-card .ai { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-sunken); display: grid; place-items: center; font-size: 26px; }
.app-card .an { font-weight: 700; font-size: 15px; }
.app-card .actions { display: flex; gap: 6px; margin-top: auto; }
.app-frame { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.info-box { padding: 16px 18px; margin-top: 22px; }
.info-box pre { background: var(--bg-sunken); padding: 12px; border-radius: var(--radius-sm); overflow: auto; font: 12.5px/1.5 var(--mono); }

/* ============================================================ Dateien */
.fm { max-width: 1200px; margin: 0 auto; }
.fm-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-weight: 600; min-width: 0; }
.crumbs a { color: var(--text); padding: 4px 8px; border-radius: 7px; }
.crumbs a:hover { background: var(--bg-hover); }
.crumbs .sep { color: var(--muted); }
.fm-table { width: 100%; border-collapse: collapse; }
.fm-table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.fm-table td { padding: 8px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.fm-table tr:last-child td { border-bottom: 0; }
.fm-table tbody tr:hover { background: var(--bg-hover); }
.fm-table tr.sel { background: var(--accent-soft); }
.fm-name { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 520; min-width: 0; }
.fm-name span.n { overflow-wrap: anywhere; }
.ftype { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; flex: none; font-size: 10px; font-weight: 750; letter-spacing: .02em; background: var(--bg-sunken); color: var(--muted); }
.ftype.dir { background: rgba(245, 166, 35, .16); color: #e09600; }
.ftype.cad { background: var(--accent-soft); color: var(--accent); }
.ftype.img { background: rgba(77, 163, 255, .15); color: #3b8ef0; }
.ftype.pdf { background: var(--danger-soft); color: var(--danger); }
.fm-table .col-size, .fm-table .col-date { white-space: nowrap; color: var(--muted); font-size: 13px; }
.fm-table .col-act { text-align: right; white-space: nowrap; }
.fm-table .col-act .btn { opacity: .55; }
.fm-table tr:hover .col-act .btn { opacity: 1; }
.drop-hint { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(23, 148, 92, .14); border: 3px dashed var(--accent); pointer-events: none; font-size: 22px; font-weight: 700; color: var(--accent); }
.upload-list { position: fixed; right: 18px; bottom: 18px; width: 320px; z-index: 80; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.progress { height: 6px; background: var(--bg-sunken); border-radius: 3px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--accent); width: 0; transition: width .2s; }
@media (max-width: 700px) { .fm-table .col-date { display: none; } .fm-table .col-act .btn.opt { display: none; } }

/* ============================================================ Viewer */
.viewer { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: var(--bg); }
.viewer .vbar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--bg-elev); flex-wrap: wrap; }
.viewer .vbar .vt { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.viewer .vstage { flex: 1; position: relative; min-height: 0; }
.viewer canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.viewer .vinfo { position: absolute; left: 14px; bottom: 14px; padding: 10px 12px; font-size: 12px; font-family: var(--mono); background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-sm); line-height: 1.6; }
.viewer .vload { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 600; }
.spinner { width: 28px; height: 28px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================ Dialoge & Meldungen */
.modal-back { position: fixed; inset: 0; z-index: 200; background: rgba(8, 12, 18, .5); display: grid; place-items: center; padding: 16px; animation: fade .12s; }
.modal { width: 100%; max-width: 480px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); }
.modal.wide { max-width: 720px; }
.modal .mh { display: flex; align-items: center; padding: 16px 18px 6px; font-size: 16px; font-weight: 700; }
.modal .mb { padding: 10px 18px; overflow: auto; }
.modal .mf { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px 16px; }
@keyframes fade { from { opacity: 0; } }
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 550; box-shadow: var(--shadow-lg); animation: fade .15s; }
.toast.error { background: var(--danger); color: #fff; }

.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.catalog button { text-align: left; padding: 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-sunken); cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.catalog button:hover { border-color: var(--accent); }
.catalog .icon { color: var(--accent); width: 22px; height: 22px; }
.catalog b { font-size: 14px; }
.catalog small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.result-list { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.result-list button { text-align: left; padding: 9px 12px; border: 1px solid var(--border); background: var(--bg-sunken); border-radius: var(--radius-sm); cursor: pointer; }
.result-list button:hover { border-color: var(--accent); }

/* ============================================================ Login */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login-card { width: 100%; max-width: 380px; padding: 30px 28px; }
.login-card h1 { margin: 14px 0 4px; font-size: 22px; }
.login-card .err { color: var(--danger); font-size: 13px; min-height: 20px; }
.theme-fab { position: fixed; top: 16px; right: 16px; }
