/* ============================================================
   Editor-Workspace Portfolio — original chrome, original colors.
   Theme/accent driven by data-* attrs on <html>.
   ============================================================ */

:root[data-theme="dark"] {
  --bg: #0d0f13;
  --bg-elev: #111418;
  --bg-elev-2: #161a1f;
  --bg-side: #090b0e;
  --bg-tab: #111418;
  --bg-tab-active: #0d0f13;
  --bg-input: #161a1f;
  --border: #1b1e24;
  --border-strong: #262b33;
  --fg: #d8dde4;
  --fg-strong: #f8fafc;
  --fg-dim: #8b919b;
  --fg-faint: #5b6068;
  --gutter: #4a4f57;
  --selection: rgba(255,255,255,0.07);
  --shadow: 0 12px 40px rgba(0,0,0,0.65);

  /* syntax */
  --tok-keyword: #c084fc;
  --tok-string: #a3e635;
  --tok-number: #fbbf24;
  --tok-comment: #5b6068;
  --tok-fn: #60a5fa;
  --tok-type: #2dd4bf;
  --tok-key: #f472b6;
  --tok-bool: #fb923c;
  --tok-punct: #8b919b;
  --tok-ident: #d8dde4;

  /* file icons */
  --icon-md: #60a5fa;
  --icon-json: #fbbf24;
  --icon-ts: #38bdf8;
}

:root[data-theme="light"] {
  --bg: #fafaf7;
  --bg-elev: #f3f3ee;
  --bg-elev-2: #ebebe4;
  --bg-side: #f0f0e9;
  --bg-tab: #ebebe4;
  --bg-tab-active: #fafaf7;
  --bg-input: #ffffff;
  --border: #d8d8d0;
  --border-strong: #b8b8af;
  --fg: #2a2c30;
  --fg-strong: #0e0f12;
  --fg-dim: #6b6e75;
  --fg-faint: #8b8e95;
  --gutter: #b8b8af;
  --selection: rgba(0,0,0,0.05);
  --shadow: 0 12px 40px rgba(0,0,0,0.12);

  --tok-keyword: #8b3fbf;
  --tok-string: #4d7c0f;
  --tok-number: #b45309;
  --tok-comment: #8b8e95;
  --tok-fn: #1d4ed8;
  --tok-type: #0d9488;
  --tok-key: #be185d;
  --tok-bool: #c2410c;
  --tok-punct: #6b6e75;
  --tok-ident: #2a2c30;

  --icon-md: #1d4ed8;
  --icon-json: #b45309;
  --icon-ts: #0369a1;
}

/* Accents — dark mode (bright, high-saturation) */
:root[data-accent="lime"]   { --accent: oklch(0.82 0.20 130); --accent-soft: oklch(0.82 0.20 130 / 0.18); }
:root[data-accent="blue"]   { --accent: oklch(0.72 0.16 240); --accent-soft: oklch(0.72 0.16 240 / 0.18); }
:root[data-accent="amber"]  { --accent: oklch(0.78 0.16 65);  --accent-soft: oklch(0.78 0.16 65  / 0.18); }
:root[data-accent="violet"] { --accent: oklch(0.72 0.20 300); --accent-soft: oklch(0.72 0.20 300 / 0.18); }

/* Accents — light mode overrides (darker values for contrast on light bg) */
:root[data-theme="light"][data-accent="lime"]   { --accent: oklch(0.48 0.18 130); --accent-soft: oklch(0.48 0.18 130 / 0.12); }
:root[data-theme="light"][data-accent="blue"]   { --accent: oklch(0.45 0.18 240); --accent-soft: oklch(0.45 0.18 240 / 0.12); }
:root[data-theme="light"][data-accent="amber"]  { --accent: oklch(0.52 0.18 65);  --accent-soft: oklch(0.52 0.18 65  / 0.12); }
:root[data-theme="light"][data-accent="violet"] { --accent: oklch(0.48 0.20 300); --accent-soft: oklch(0.48 0.20 300 / 0.12); }

/* Light mode: flip accent-soft+accent-text elements to solid bg + white text */
:root[data-theme="light"] .commit-tag,
:root[data-theme="light"] .status-pill,
:root[data-theme="light"] .palette-item-first {
  background: var(--accent);
  color: #ffffff;
  border-color: transparent;
}

:root[data-density="compact"] { --row-h: 22px; --pad: 12px; --font: 13px; }
:root[data-density="comfy"]   { --row-h: 26px; --pad: 16px; --font: 13.5px; }

/* ============================================================ */
* { box-sizing: border-box; }
html, body, #root { height: 100%; margin: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
}
::selection { background: var(--selection); }
button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.muted { color: var(--fg-dim); }
.kbd {
  font-size: 10.5px;
  padding: 1px 6px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  color: var(--fg-dim);
  background: var(--bg-elev);
}

/* ===== Layout ===== */
.workspace {
  display: grid;
  grid-template-rows: 38px 1fr 24px;
  height: 100vh;
  background: var(--bg);
}
.workspace-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 0;
  border-top: 1px solid var(--border);
}

/* ===== Title bar ===== */
.title-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: var(--bg-elev);
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
  user-select: none;
  -webkit-app-region: drag;
}
.title-bar-left, .title-bar-right { display: flex; align-items: center; gap: 14px; }
.title-bar-right { justify-content: flex-end; }
.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.window-dots .dot-r { background: #e06c5b; }
.window-dots .dot-y { background: #e8b94a; }
.window-dots .dot-g { background: #74b563; }
.logo-mark { display: flex; align-items: center; gap: 8px; color: var(--fg-dim); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.logo-glyph {
  width: 14px; height: 14px;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.omnibar {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  min-width: 380px;
  color: var(--fg-dim);
  font-size: 12px;
  -webkit-app-region: no-drag;
}
.omnibar:hover { border-color: var(--border-strong); color: var(--fg); }
.omnibar > span:nth-child(2) { flex: 1; text-align: left; color: var(--fg); }
.theme-toggle {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 6px;
  color: var(--fg-dim);
  font-size: 16px;
  -webkit-app-region: no-drag;
}
.theme-toggle:hover { background: var(--bg-elev-2); color: var(--fg); }

/* ===== Sidebar ===== */
.sidebar {
  background: var(--bg-side);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: width 0.18s ease;
}
.sidebar-collapsed { width: 0; border-right: 0; }
.workspace-body:has(.sidebar-collapsed) { grid-template-columns: 0 1fr; }
.sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 8px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--fg-dim);
}
.sidebar-title { font-weight: 600; }
.icon-btn {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 4px;
  color: var(--fg-dim);
}
.icon-btn:hover { background: var(--bg-elev-2); color: var(--fg); }
.sidebar-tree { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 4px 0; }
.folder-row {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 14px;
  width: 100%; text-align: left;
  font-size: 12.5px;
  color: var(--fg);
}
.folder-row:hover { background: var(--bg-elev); }
.folder-name { font-weight: 500; }
.chev { color: var(--fg-dim); transition: transform 0.15s ease; transform: rotate(0deg); }
.chev.open { transform: rotate(90deg); }

.file-list { list-style: none; margin: 0; padding: 0 0 8px 0; }
.file-row {
  display: flex; align-items: center; gap: 8px;
  width: 100%;
  padding: 4px 14px 4px 28px;
  text-align: left;
  font-size: 12.5px;
  color: var(--fg);
  position: relative;
  transition: background 0.08s ease;
}
.file-row:hover { background: var(--bg-elev); }
.file-row-active { background: var(--bg-elev-2); }
.file-row-active::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--accent);
}
.file-icon {
  display: inline-grid; place-items: center;
  width: 16px; height: 16px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.file-name { font-size: 12.5px; }

.sidebar-spacer { flex: 1; }
.sidebar-footer {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--fg-dim);
  display: flex; flex-direction: column; gap: 3px;
}
.sidebar-footer-row { display: flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fg-faint); }
.dot-live { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ===== Editor ===== */
.editor {
  display: grid;
  grid-template-rows: 36px 30px 1fr auto;
  min-width: 0;
  background: var(--bg);
}
.tab-bar {
  display: flex;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab {
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px;
  height: 36px;
  border-right: 1px solid var(--border);
  background: var(--bg-tab);
  color: var(--fg-dim);
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}
.tab:hover { color: var(--fg); }
.tab-active { background: var(--bg-tab-active); color: var(--fg-strong); }
.tab-active::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--accent);
}
.tab-name { font-size: 12px; }
.tab-close {
  display: grid; place-items: center;
  width: 16px; height: 16px;
  border-radius: 3px;
  color: var(--fg-dim);
  opacity: 0.55;
}
.tab-close:hover { background: var(--bg-elev-2); opacity: 1; }
.tab-bar-fill { flex: 1; }

.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 18px;
  font-size: 11.5px;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.crumb-sep { color: var(--fg-faint); }
.crumb-file { color: var(--fg); }

.editor-pane { overflow: auto; min-height: 0; position: relative; }
.editor-pane::-webkit-scrollbar { width: 12px; height: 12px; }
.editor-pane::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; border: 3px solid var(--bg); }

/* ===== Empty state ===== */
.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; gap: 10px; color: var(--fg-dim);
}
.empty-glyph {
  width: 80px; height: 80px;
  border: 1px dashed var(--border-strong);
  background:
    repeating-linear-gradient(45deg, transparent 0 8px, var(--border) 8px 9px);
  border-radius: 12px;
  margin-bottom: 8px;
}
.empty-state h2 { font-size: 14px; font-weight: 500; color: var(--fg); margin: 0; }

/* ===== Code view (TS / JSON) ===== */
.code-view {
  display: grid;
  grid-template-columns: auto 1fr;
  font-size: var(--font);
  line-height: 1.65;
  padding: 16px 0;
}
:root[data-gutter="off"] .line-gutter { display: none; }
.line-gutter {
  padding: 0 16px 0 18px;
  text-align: right;
  color: var(--gutter);
  user-select: none;
  font-variant-numeric: tabular-nums;
}
.line-num { font-size: 11.5px; }
.code-pre {
  margin: 0;
  padding-right: 24px;
  font-family: inherit;
  font-size: var(--font);
  line-height: 1.65;
  white-space: pre;
}
.code-line { min-height: 1.65em; }
.tok-keyword { color: var(--tok-keyword); }
.tok-string  { color: var(--tok-string); }
.tok-number  { color: var(--tok-number); }
.tok-comment { color: var(--tok-comment); font-style: italic; }
.tok-fn      { color: var(--tok-fn); }
.tok-type    { color: var(--tok-type); }
.tok-key     { color: var(--tok-key); }
.tok-bool    { color: var(--tok-bool); }
.tok-punct   { color: var(--tok-punct); }
.tok-ident   { color: var(--tok-ident); }
.tok-plain   { color: var(--fg); }

/* skill bar inline w/ json */
.skill-line { display: inline-flex; align-items: center; gap: 12px; }
.skill-bar {
  display: inline-block;
  width: 140px; height: 6px;
  background: var(--bg-elev-2);
  border-radius: 3px;
  overflow: hidden;
  margin-left: 4px;
  vertical-align: middle;
}
.skill-bar-fill {
  display: block; height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* ===== Markdown view ===== */
.md-view {
  display: grid;
  grid-template-columns: auto 1fr;
  padding: 24px 0 60px;
  line-height: 1.7;
}
.md-body {
  max-width: 760px;
  padding: 0 32px 0 8px;
  font-family: "Söhne", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, sans-serif;
  font-size: 14.5px;
  color: var(--fg);
}
:root[data-gutter="off"] .md-body { padding-left: 32px; }
.md-h { color: var(--fg-strong); margin: 1.4em 0 0.5em; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.md-h:first-child { margin-top: 0; }
.md-h1 { font-size: 26px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.md-h2 { font-size: 18px; }
.md-h3 { font-size: 15px; color: var(--accent); font-family: "JetBrains Mono", monospace; font-weight: 500; }
.md-p { margin: 0 0 1em; }
.md-ul, .md-ol { margin: 0 0 1em; padding-left: 22px; }
.md-ul li, .md-ol li { margin: 0.25em 0; }
.md-quote {
  margin: 1em 0;
  padding: 8px 16px;
  border-left: 2px solid var(--accent);
  background: var(--bg-elev);
  color: var(--fg-dim);
  font-style: italic;
  border-radius: 0 4px 4px 0;
}
.md-hr { border: 0; border-top: 1px solid var(--border); margin: 1.6em 0; }
.md-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--accent);
}
.md-pre {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
  overflow: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  margin: 1em 0;
  color: var(--fg);
}
.md-pre.ed-green { color: var(--tok-fn) !important; }
.ed-cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  background: var(--tok-fn);
  vertical-align: -0.15em;
  animation: ed-blink 0.7s step-end infinite;
}
@keyframes ed-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.md-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  margin: 1em 0;
}
.md-table th, .md-table td {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}
.md-table th {
  color: var(--fg-dim);
  font-weight: 500;
  border-bottom: 1px solid var(--border-strong);
}
.md-table tbody tr:hover { background: var(--bg-elev); }
.md-body a { color: var(--accent); text-decoration: none; border-bottom: 1px dashed var(--accent); }

/* ===== Commits view ===== */
.commits-view { padding: 22px 32px 60px; max-width: 820px; }
.commits-header { color: var(--fg-dim); font-size: 12.5px; margin-bottom: 22px; }
.commits-list { display: flex; flex-direction: column; }
.commit { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding-bottom: 22px; }
.commit-graph { position: relative; display: flex; justify-content: center; padding-top: 4px; }
.commit-dot {
  width: 11px; height: 11px;
  border: 2px solid var(--fg-dim);
  border-radius: 50%;
  background: var(--bg);
  z-index: 1;
}
.commit-dot-head {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.commit-line {
  position: absolute;
  top: 18px; bottom: -22px;
  width: 1px;
  background: var(--border-strong);
}
.commit-body { padding-bottom: 4px; }
.commit-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 11.5px; color: var(--fg-dim); margin-bottom: 4px; }
.commit-hash { color: var(--accent); font-weight: 500; }
.commit-date {}
.commit-author { color: var(--fg-dim); }
.commit-tag {
  font-size: 10.5px;
  padding: 1px 7px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-soft);
  letter-spacing: 0.04em;
}
.commit-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-strong);
  margin: 2px 0 6px;
  font-family: "JetBrains Mono", monospace;
}
.commit-msg {
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: var(--fg-dim);
  line-height: 1.65;
  white-space: pre-wrap;
}

/* ===== Status bar ===== */
.status-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  padding: 0 12px;
  font-size: 11px;
  color: var(--fg-dim);
}
.status-left, .status-right { display: flex; align-items: center; gap: 14px; }
.status-item { display: inline-flex; align-items: center; gap: 5px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--accent-soft);
  color: var(--accent);
}
.status-btn:hover { color: var(--fg); }

/* ===== Terminal ===== */
.terminal {
  border-top: 1px solid var(--border);
  background: var(--bg);
  display: flex; flex-direction: column;
  max-height: 240px;
  min-height: 200px;
}
.terminal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 14px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  font-size: 10.5px;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
}
.terminal-title { font-weight: 600; }
.terminal-tag { letter-spacing: 0; text-transform: none; font-size: 11px; }
.terminal-body {
  padding: 10px 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  line-height: 1.6;
  overflow: auto;
  flex: 1;
  color: var(--fg);
}
.term-line { display: flex; gap: 8px; white-space: pre-wrap; }
.term-cmd { color: var(--fg); }
.term-out { color: var(--fg-dim); padding-left: 0; }
.term-prompt { font-weight: 500; flex: none; }
.term-text { flex: 1; }
.term-input-line { align-items: center; }
.term-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--fg);
  font-family: inherit;
  font-size: inherit;
  padding: 0;
}
.term-caret {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--accent);
  margin-left: -7px;
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ===== Command palette ===== */
.palette-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex; justify-content: center; padding-top: 80px;
  z-index: 80;
  backdrop-filter: blur(4px);
}
.palette {
  width: 540px; max-width: 92vw;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.palette-input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 13px;
  color: var(--fg);
  outline: 0;
}
.palette-input::placeholder { color: var(--fg-dim); }
.palette-list { list-style: none; margin: 0; padding: 6px; max-height: 320px; overflow: auto; }
.palette-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12.5px;
  color: var(--fg);
  cursor: pointer;
}
.palette-item:hover, .palette-item-first { background: var(--bg-elev-2); }
.palette-item-first { background: var(--accent-soft); color: var(--accent); }
.palette-hint { font-size: 11px; color: var(--fg-dim); }
.palette-empty { padding: 20px; color: var(--fg-dim); text-align: center; font-size: 12.5px; }

/* ===== Certifications ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 14px;
}
.cert-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}
.cert-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 18%, transparent);
}
.cert-badge-wrap {
  width: 80px;
  height: 80px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-badge-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.cert-badge-fallback {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, var(--bg-elev-2));
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.2;
  padding: 8px;
}
.cert-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-strong);
  margin-bottom: 4px;
  line-height: 1.3;
}
.cert-issuer {
  font-size: 11px;
  color: var(--tok-fn);
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.03em;
}
.cert-verify {
  font-size: 11px;
  color: var(--tok-comment);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  transition: color 0.15s;
  margin-top: auto;
}
.cert-verify:hover { color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 800px) {
  .workspace-body { grid-template-columns: 0 1fr; }
  .sidebar { position: absolute; left: 0; top: 38px; bottom: 24px; width: 260px; z-index: 30; box-shadow: var(--shadow); }
  .omnibar { min-width: 200px; }
  .omnibar > span:nth-child(2) { font-size: 11px; }
}
