:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --border: #dde1e7;
  --text: #1b1f24;
  --muted: #667085;
  --accent: #2563eb;
  --accent-contrast: #ffffff;
  --accent-soft: #e0e9ff;
  --danger: #dc2626;
  --warn: #b45309;
  --ok: #15803d;
  --mark: #fde68a;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 12px rgba(16, 24, 40, .06);
  --radius: 10px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1216;
    --surface: #171b21;
    --surface-2: #1f242c;
    --border: #2c333d;
    --text: #e6e8eb;
    --muted: #8d96a3;
    --accent: #5b8cff;
    --accent-contrast: #0b0f17;
    --accent-soft: #1e2a47;
    --danger: #f87171;
    --warn: #fbbf24;
    --ok: #4ade80;
    --mark: #6b5513;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 16px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.offscreen { position: fixed; top: 0; left: -9999px; opacity: 0; }
mark { background: var(--mark); color: inherit; border-radius: 2px; padding: 0 1px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons & Inputs */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font: inherit; font-weight: 500;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn.danger.ghost { background: transparent; color: var(--danger); border-color: transparent; }
.btn.danger.ghost:hover { background: color-mix(in srgb, var(--danger) 12%, transparent); }
.btn.block { width: 100%; padding: 11px; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.busy::after {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 6px; border-radius: 8px; border: 1px solid transparent;
  background: transparent; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn.sm { min-width: 26px; height: 26px; font-size: 13px; opacity: .55; }
.row:hover .icon-btn.sm, .icon-btn.sm:focus-visible { opacity: 1; }

input, textarea, select {
  font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px; padding: 9px 11px; width: 100%;
}
textarea { resize: vertical; min-height: 80px; }
input:focus, textarea:focus, select:focus, .btn:focus-visible, .icon-btn:focus-visible, .row:focus-visible, .card:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
input[type=checkbox], input[type=radio], input[type=range] { width: auto; accent-color: var(--accent); }
input[type=range] { flex: 1; padding: 0; }

.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.input-group { display: flex; gap: 4px; align-items: center; }
.input-group input { flex: 1; min-width: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.error { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); padding: 8px 10px; border-radius: 8px; margin: 0 0 12px; font-size: 14px; }
.hint { font-size: 13px; color: var(--muted); margin: -4px 0 12px; }

/* ---------- Auth */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.auth-card {
  width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 28px; box-shadow: var(--shadow);
}
.auth-card h1 { margin: 12px 0 4px; font-size: 22px; }
.auth-card p { margin: 0 0 20px; }
.auth-logo { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.auth-logo svg { width: 28px; height: 28px; }

/* ---------- Topbar */
.topbar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 16px;
  padding: 10px 20px; background: var(--surface); border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; color: var(--accent); }
.brand span { color: var(--text); }
.tabs { display: flex; gap: 4px; background: var(--surface-2); padding: 3px; border-radius: 10px; }
.tab {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600;
  padding: 6px 14px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 6px;
}
.tab[aria-selected=true] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.count { font-size: 11px; background: var(--border); color: var(--muted); padding: 1px 7px; border-radius: 99px; }
.tab[aria-selected=true] .count { background: var(--accent-soft); color: var(--accent); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.autolock { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 6px; }
.autolock.soon { color: var(--warn); font-weight: 600; }

/* ---------- Toolbar */
.toolbar { display: flex; gap: 10px; padding: 16px 20px 8px; max-width: 1280px; margin: 0 auto; }
.search { position: relative; flex: 1; }
.search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.search input { padding-left: 36px; font-size: 16px; }
.toolbar select { width: auto; }

.tag-bar { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 20px 8px; max-width: 1280px; margin: 0 auto; }
.tag {
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  font: inherit; font-size: 13px; padding: 3px 10px; border-radius: 99px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center;
}
.tag:hover { color: var(--text); border-color: var(--accent); }
.tag.active { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.tag.sm { font-size: 12px; padding: 1px 8px; background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.tag-n { font-size: 11px; opacity: .7; }

/* ---------- Liste */
.list { max-width: 1280px; margin: 0 auto; padding: 8px 20px 40px; }
.list-password { display: flex; flex-direction: column; gap: 6px; }
.row {
  display: grid; grid-template-columns: minmax(200px, 1.4fr) 1fr 1.2fr minmax(170px, .9fr) 110px;
  gap: 12px; align-items: center; padding: 10px 14px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer;
}
.row:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); }
.cell { min-width: 0; display: flex; flex-direction: column; }
.cell-label { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.cell-value { display: flex; align-items: center; gap: 2px; min-width: 0; }
.cell.title { flex-direction: row; align-items: center; gap: 10px; }
.title-text { display: flex; flex-direction: column; min-width: 0; }
.title-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar {
  flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 700;
}
.pw-cell { display: flex; align-items: center; gap: 2px; min-width: 0; }
.pw-cell .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pw-mask { letter-spacing: 1px; color: var(--muted); }

.list-note { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; min-height: 120px;
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); box-shadow: var(--shadow); }
.card h3 { margin: 0; font-size: 16px; }
.excerpt { margin: 0; color: var(--muted); font-size: 14px; white-space: pre-line; overflow-wrap: anywhere; flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }

/* ---------- Dialoge */
.dlg {
  border: 1px solid var(--border); border-radius: 14px; padding: 0; width: min(640px, calc(100vw - 24px));
  background: var(--surface); color: var(--text); box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.dlg.wide { width: min(820px, calc(100vw - 24px)); }
.dlg.small { width: min(420px, calc(100vw - 24px)); }
.dlg::backdrop { background: rgba(10, 14, 20, .55); backdrop-filter: blur(2px); }
.dlg-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.dlg-head h2 { margin: 0; font-size: 18px; }
.dlg-body { padding: 18px 20px 6px; max-height: calc(100vh - 180px); overflow: auto; }
.dlg-body h2 { margin: 0 0 8px; font-size: 18px; }
.dlg-foot { display: flex; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--border); }
.spacer { flex: 1; }
.meta { font-size: 12px; margin: 0 0 10px; }

.strength { height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; margin-top: 4px; }
.strength-bar { height: 100%; width: 0; transition: width .2s; background: var(--danger); }
.strength-bar[data-level=weak] { background: #f97316; }
.strength-bar[data-level=ok] { background: #eab308; }
.strength-bar[data-level=good] { background: #22c55e; }
.strength-bar[data-level=great] { background: #059669; }

.generator { background: var(--surface-2); border-radius: 10px; padding: 12px; margin: -6px 0 14px; display: flex; flex-direction: column; gap: 10px; }
.gen-preview { display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; }
.gen-preview code { flex: 1; font-size: 15px; overflow-wrap: anywhere; }
.gen-row { display: flex; align-items: center; gap: 12px; }
.gen-row label { min-width: 90px; font-size: 14px; }
.gen-opts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.gen-opts label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.generator .btn { align-self: flex-start; }

.settings section { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.settings section:last-child { border-bottom: 0; margin-bottom: 0; }
.settings h3 { margin: 0 0 4px; font-size: 15px; }
.settings p { margin: 0 0 12px; font-size: 14px; }
.radio-group { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.radio-group label { display: flex; gap: 8px; align-items: baseline; cursor: pointer; }

/* ---------- Toasts */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 100; align-items: center; pointer-events: none; }
.toast { background: var(--text); color: var(--bg); padding: 9px 16px; border-radius: 9px; font-size: 14px; box-shadow: var(--shadow); transition: opacity .3s, transform .3s; }
.toast.err { background: var(--danger); color: #fff; }
.toast.warn { background: var(--warn); color: #fff; }
.toast.out { opacity: 0; transform: translateY(6px); }

/* ---------- Responsive */
@media (max-width: 900px) {
  .row { grid-template-columns: 1fr 1fr; }
  .cell.title { grid-column: 1 / -1; }
  .cell.date { display: none; }
}
@media (max-width: 640px) {
  .topbar { flex-wrap: wrap; padding: 10px 16px; gap: 10px; }
  .tabs { order: 3; width: 100%; }
  .tab { flex: 1; justify-content: center; }
  .toolbar { flex-wrap: wrap; padding: 12px 16px 6px; }
  .search { flex-basis: 100%; }
  .toolbar select { flex: 1; }
  .list, .tag-bar { padding-left: 16px; padding-right: 16px; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .grid2 { grid-template-columns: 1fr; }
  .autolock { display: none; }
}

/* ======================================================= TOTP */
.totp-cell { gap: 6px; }
.totp-code { font-size: 15px; font-weight: 600; letter-spacing: .5px; color: var(--text); }
.totp-code.expiring { color: var(--warn); }
.totp-ring {
  --p: 1;
  flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: 10px; font-variant-numeric: tabular-nums; color: var(--muted);
  background: conic-gradient(var(--accent) calc(var(--p) * 360deg), var(--surface-2) 0);
  position: relative;
}
.totp-ring::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--surface); }
.totp-ring { isolation: isolate; }
.totp-ring::before { z-index: -1; }
.totp-ring.expiring { background: conic-gradient(var(--warn) calc(var(--p) * 360deg), var(--surface-2) 0); color: var(--warn); }
.totp-preview { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 6px 10px; background: var(--surface-2); border-radius: 8px; flex-wrap: wrap; }
.totp-preview .totp-code { font-size: 20px; }
.error-inline { color: var(--danger); font-size: 13px; }
.title-text .tags { margin-top: 3px; }
.row .tag.sm { padding: 0 7px; font-size: 11px; }

/* Passwortliste: zusätzliche TOTP-Spalte */
.row { grid-template-columns: minmax(200px, 1.4fr) 1fr 1.2fr minmax(150px, .8fr) minmax(130px, .7fr) 100px; }
@media (max-width: 1100px) {
  .row { grid-template-columns: minmax(180px, 1.3fr) 1fr 1.1fr minmax(140px, .8fr) minmax(130px, .7fr); }
  .row .cell.date { display: none; }
}
@media (max-width: 900px) { .row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }

/* ======================================================= Notiz-Editor */
.dlg.wide { width: min(1100px, calc(100vw - 24px)); }
.note-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--surface-2); padding: 3px; border-radius: 9px; gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 7px; cursor: pointer; }
.seg button[aria-selected=true] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.format-select { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.format-select select { width: auto; padding: 5px 8px; font-size: 13px; }
.md-toolbar { display: flex; flex-wrap: wrap; gap: 2px; padding: 4px; border: 1px solid var(--border); border-bottom: 0; border-radius: 8px 8px 0 0; background: var(--surface-2); }
.md-toolbar button { min-width: 30px; height: 28px; border: 0; background: transparent; color: var(--text); border-radius: 6px; cursor: pointer; font: inherit; font-size: 13px; }
.md-toolbar button:hover { background: var(--surface); }
.md-toolbar .sep { width: 1px; background: var(--border); margin: 4px 4px; }
.md-toolbar + .syntax-help + .note-panes .note-editor,
.md-toolbar:not([hidden]) ~ .note-panes .note-editor { border-top-left-radius: 0; border-top-right-radius: 0; }
.syntax-help { border: 1px solid var(--border); border-bottom: 0; padding: 10px 12px; font-size: 13px; background: var(--surface); }
.syntax-help table { border-collapse: collapse; width: 100%; }
.syntax-help td { padding: 3px 8px 3px 0; vertical-align: top; }
.syntax-help p { margin: 8px 0 0; font-size: 12px; }
.note-panes { display: grid; gap: 12px; margin-bottom: 14px; }
.note-panes[data-mode=edit] { grid-template-columns: 1fr; }
.note-panes[data-mode=edit] .note-preview { display: none; }
.note-panes[data-mode=view] .note-editor { display: none; }
.note-panes[data-mode=split] { grid-template-columns: 1fr 1fr; }
.note-editor { font-family: var(--mono); font-size: 14px; line-height: 1.5; min-height: 340px; tab-size: 4; }
.note-preview { border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; min-height: 340px; max-height: 60vh; overflow: auto; background: var(--surface); }
.note-panes[data-mode=view] .note-preview { border-color: transparent; padding: 4px 2px; max-height: none; }
@media (max-width: 900px) { .split-btn { display: none; } }

/* ======================================================= Gerenderte Inhalte */
.rendered { overflow-wrap: anywhere; line-height: 1.6; }
.rendered.plain { white-space: pre-wrap; font-family: inherit; }
.rendered > :first-child { margin-top: 0; }
.rendered > :last-child { margin-bottom: 0; }
.rendered h1, .rendered h2, .rendered h3, .rendered h4 { line-height: 1.25; margin: 1.1em 0 .5em; }
.rendered h1 { font-size: 1.6em; border-bottom: 1px solid var(--border); padding-bottom: .2em; }
.rendered h2 { font-size: 1.3em; border-bottom: 1px solid var(--border); padding-bottom: .2em; }
.rendered h3 { font-size: 1.12em; }
.rendered p, .rendered ul, .rendered ol, .rendered blockquote, .rendered pre, .rendered .table-wrap, .rendered details { margin: 0 0 .9em; }
.rendered ul, .rendered ol { padding-left: 1.6em; }
.rendered li + li { margin-top: .2em; }
.rendered li:has(> input[type=checkbox]) { list-style: none; margin-left: -1.3em; }
.rendered input[type=checkbox] { margin-right: .4em; vertical-align: middle; }
.rendered a { color: var(--accent); }
.rendered a.ext-img { font-size: .92em; }
.rendered blockquote { margin-left: 0; padding: .3em 1em; border-left: 4px solid var(--accent); background: var(--surface-2); border-radius: 0 6px 6px 0; color: var(--muted); }
.rendered blockquote cite { display: block; font-style: normal; font-weight: 600; font-size: .9em; margin-bottom: .2em; }
.rendered hr { border: 0; border-top: 1px solid var(--border); margin: 1.4em 0; }
.rendered img { max-width: 100%; }
.rendered :not(pre) > code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); padding: .12em .4em; border-radius: 5px; }
.rendered .table-wrap { overflow-x: auto; }
.rendered table { border-collapse: collapse; min-width: 50%; }
.rendered th, .rendered td { border: 1px solid var(--border); padding: 6px 10px; text-align: left; }
.rendered th { background: var(--surface-2); }
.rendered details { border: 1px solid var(--border); border-radius: 8px; padding: .5em .9em; }
.rendered summary { cursor: pointer; font-weight: 600; }
.rendered .bb-align-center { text-align: center; }
.rendered .bb-align-right { text-align: right; }
.rendered .bb-align-justify { text-align: justify; }
.rendered pre.code-block { position: relative; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.rendered pre.code-block code { display: block; padding: 12px 14px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.5; background: transparent; }
.rendered .code-bar { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 4px 14px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 1px solid var(--border); font-family: system-ui, sans-serif; }
.rendered .code-copy { border: 0; background: transparent; color: var(--muted); font: inherit; cursor: pointer; padding: 2px 6px; border-radius: 5px; text-transform: none; letter-spacing: 0; font-size: 12px; }
.rendered .code-copy:hover { background: var(--surface); color: var(--text); }
.rendered .hljs { background: transparent; }

/* ======================================================= Anhänge */
.dropzone {
  border: 1.5px dashed var(--border); border-radius: 10px; padding: 14px; text-align: center; cursor: pointer;
  display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: 14px; transition: background .15s, border-color .15s;
}
.dropzone:hover, .dropzone:focus-visible { border-color: var(--accent); color: var(--text); outline: none; }
.dropzone.over { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.dropzone small { font-size: 12px; }
.att-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.att-list:empty { display: none; }
.att-item { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.att-item.pending, .att-item.uploading { border-style: dashed; }
.att-item .icon-btn.sm { opacity: .7; }
.att-item:hover .icon-btn.sm { opacity: 1; }
.att-icon { font-size: 18px; flex: none; }
.att-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.att-name { border: 0; background: none; padding: 0; font: inherit; color: var(--text); text-align: left; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.att-name:hover { color: var(--accent); text-decoration: underline; }
.att-main small { font-size: 12px; }
.danger-hover:hover { color: var(--danger) !important; }
.att-badge { margin-left: 8px; font-size: 11px; font-weight: 500; color: var(--muted); background: var(--surface-2); padding: 1px 6px; border-radius: 99px; vertical-align: 2px; }

/* ======================================================= QR / TOTP-Auswahl */
.totp-choices { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; padding: 8px 10px; background: var(--accent-soft); border-radius: 8px; }
.totp-choices small { flex-basis: 100%; }
.btn.sm-btn { padding: 4px 10px; font-size: 13px; }
.totp-hint { font-size: 12px; margin-top: 2px; }
input.drop-over { border-color: var(--accent); background: var(--accent-soft); }
