/* Every colour is a variable, so the dark theme is one block of new values further down. */
:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --panel: #ffffff;
  --field: #ffffff;
  --subtle: #f1f3f7;
  --line: #e1e4ea;
  --field-line: #cdd3dd;
  --text: #1c2330;
  --muted: #667085;
  --gray-text: #475467;
  --gray-line: #98a2b3;
  --accent: #2456d6;
  --accent-dark: #1b44ad;
  --accent-solid: #2456d6;
  --accent-solid-hover: #1b44ad;
  --ok: #12805c;
  --warn: #b25e09;
  --bad: #c0352b;
  --violet: #5a3fc0;
  --tint-gray: #eceff4;
  --tint-blue: #e4ecff;
  --tint-blue-text: #1b44ad;
  --tint-amber: #fff1d6;
  --tint-green: #dcf5ea;
  --tint-violet: #e9e4ff;
  --tint-red: #fde4e1;
  --notice-bg: #fff6e0; --notice-line: #f1d58a; --notice-text: #6b4a00;
  --error-bg: #fdecea; --error-line: #f3b8b2; --error-text: #8a1f17;
  --info-bg: #eaf1ff; --info-line: #b9cdf7; --info-text: #1b3a86;
  --sidebar-bg: #151b28;
  --sidebar-line: transparent;
  --shadow: rgba(0, 0, 0, 0.3);
  /* Slop highlight colours, also used for the legend swatches. */
  --hl-ai: #d9c2ff; --hl-phrase: #ffc9c2; --hl-boilerplate: #ffd9a8; --hl-vocab: #ffe9a3;
  --hl-structure: #cfe0ff; --hl-filler: #f6c6dc; --hl-repeat: #d6d6d6; --hl-detail: #c5efd2;
  --radius: 8px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e131d;
  --panel: #171d2b;
  --field: #101623;
  --subtle: #212939;
  --line: #2a3346;
  --field-line: #3a455c;
  --text: #e6eaf2;
  --muted: #98a3b8;
  --gray-text: #b6bfcf;
  --gray-line: #6b7790;
  --accent: #7ba4ff;
  --accent-dark: #9dbbff;
  --accent-solid: #3563e0;
  --accent-solid-hover: #4674ee;
  --ok: #45cf9d;
  --warn: #f0a94a;
  --bad: #ff8078;
  --violet: #b7a6ff;
  --tint-gray: #283144;
  --tint-blue: #1c2d57;
  --tint-blue-text: #a9c2ff;
  --tint-amber: #3d2f10;
  --tint-green: #12392c;
  --tint-violet: #2c2556;
  --tint-red: #46211e;
  --notice-bg: #372b0d; --notice-line: #6a5217; --notice-text: #f1d48b;
  --error-bg: #42201d; --error-line: #7a3632; --error-text: #ffb5ae;
  --info-bg: #1a294d; --info-line: #35497d; --info-text: #b6c9ff;
  --sidebar-bg: #0a0e17;
  --sidebar-line: #232b3c;
  --shadow: rgba(0, 0, 0, 0.6);
  --hl-ai: #4a3780; --hl-phrase: #6e2f2a; --hl-boilerplate: #6b4416; --hl-vocab: #5c4a12;
  --hl-structure: #263f73; --hl-filler: #6a2d4d; --hl-repeat: #454c5a; --hl-detail: #1c5236;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  display: flex;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- layout ---------- */

.sidebar {
  width: 190px;
  flex: none;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-line);
  color: #c9d1e0;
  padding: 18px 12px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand { font-size: 17px; font-weight: 700; color: #fff; padding: 2px 10px 18px; }
.sidebar nav a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  margin-bottom: 2px;
}
.sidebar nav a:hover { background: #222b3d; color: #fff; }
.sidebar nav a.active { background: var(--accent-solid); color: #fff; }

main { flex: 1; min-width: 0; padding: 24px 28px 60px; }

h1 { font-size: 21px; margin: 0; }
h2 { font-size: 15px; margin: 0 0 10px; }
.page-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head .spacer { flex: 1; }
code { font: 12px ui-monospace, Consolas, monospace; background: var(--subtle); padding: 1px 4px; border-radius: 4px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}
.narrow { max-width: 820px; }

.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.stack > * + * { margin-top: 12px; }

/* ---------- forms ---------- */

label { display: block; font-weight: 600; font-size: 12.5px; margin-bottom: 4px; }
label .hint { font-weight: 400; color: var(--muted); }

input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="datetime-local"], input[type="date"], input[type="time"], select, textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--field-line);
  border-radius: 6px;
  background: var(--field);
  color: inherit;
  font: inherit;
}
textarea { resize: vertical; min-height: 90px; }
textarea.code { font: 12.5px/1.5 ui-monospace, Consolas, monospace; }
input:focus, select:focus, textarea:focus, .editor:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-color: var(--accent);
}

button, .button {
  font: inherit;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 6px;
  border: 1px solid var(--field-line);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button:hover, .button:hover { background: var(--subtle); }
button.primary, .button.primary { background: var(--accent-solid); border-color: var(--accent-solid); color: #fff; }
button.primary:hover, .button.primary:hover { background: var(--accent-solid-hover); }
button.danger { color: var(--bad); }
button.ghost { border-color: transparent; background: transparent; }
button:disabled { opacity: 0.55; cursor: default; }

.segmented { display: inline-flex; border: 1px solid var(--field-line); border-radius: 6px; overflow: hidden; }
.segmented label { margin: 0; font-weight: 500; font-size: 13px; padding: 6px 12px; cursor: pointer; background: var(--panel); }
.segmented label + label { border-left: 1px solid var(--field-line); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label:has(input:checked) { background: var(--accent-solid); color: #fff; }

.counter { font-weight: 400; color: var(--muted); float: right; }
.counter.over { color: var(--bad); font-weight: 600; }

/* ---------- tables ---------- */

table.list { width: 100%; border-collapse: collapse; }
table.list th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
table.list td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list tr:last-child td { border-bottom: 0; }
table.list tbody tr.clickable { cursor: pointer; }
table.list tbody tr.clickable:hover { background: var(--subtle); }
td.title-cell { max-width: 460px; }
td.title-cell strong { display: block; overflow-wrap: anywhere; }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--tint-gray);
  color: var(--gray-text);
  white-space: nowrap;
}
.badge.working { background: var(--tint-blue); color: var(--tint-blue-text); }
.badge.ready { background: var(--tint-amber); color: var(--warn); }
.badge.live { background: var(--tint-green); color: var(--ok); }
.badge.scheduled { background: var(--tint-violet); color: var(--violet); }
.badge.error { background: var(--tint-red); color: var(--bad); }

.notice { padding: 10px 12px; border-radius: 6px; background: var(--notice-bg); border: 1px solid var(--notice-line); color: var(--notice-text); }
.notice.error { background: var(--error-bg); border-color: var(--error-line); color: var(--error-text); }
.notice.info { background: var(--info-bg); border-color: var(--info-line); color: var(--info-text); }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }

/* ---------- article editor ---------- */

.editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
@media (max-width: 1050px) { .editor-layout { grid-template-columns: 1fr; } }

.toolbar { display: flex; gap: 4px; flex-wrap: wrap; padding: 6px; border: 1px solid var(--field-line); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--subtle); }
.toolbar button { padding: 4px 9px; font-weight: 500; font-size: 13px; }
.toolbar .spacer { flex: 1; }
.toolbar button.on { background: var(--accent-solid); border-color: var(--accent-solid); color: #fff; }

.editor, textarea#html-source {
  border: 1px solid var(--field-line);
  border-radius: 0 0 6px 6px;
  min-height: 520px;
  background: var(--panel);
}
.editor { padding: 22px 28px; overflow-wrap: anywhere; }
textarea#html-source { display: block; padding: 14px; }

/* The article is shown roughly the way a blog theme would render it. */
.prose { font: 16px/1.7 Georgia, "Times New Roman", serif; color: var(--text); max-width: 760px; }
.prose h2 { font: 700 24px/1.3 system-ui, sans-serif; margin: 28px 0 10px; }
.prose h3 { font: 700 19px/1.35 system-ui, sans-serif; margin: 22px 0 8px; }
.prose h4 { font: 700 16px/1.4 system-ui, sans-serif; margin: 18px 0 6px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 26px; }
.prose li { margin-bottom: 5px; }
.prose a { color: var(--accent); }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 18px; font: 14.5px/1.5 system-ui, sans-serif; }
.prose th, .prose td { border: 1px solid var(--field-line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--subtle); }
.prose blockquote { margin: 0 0 14px; padding-left: 14px; border-left: 3px solid var(--field-line); color: var(--gray-text); }
.prose > :first-child { margin-top: 0; }

.side h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); }
.side button { width: 100%; }
.side .panel { padding: 14px; }
.source-text { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 160px; overflow: auto; }

/* ---------- toast + dialog ---------- */

#toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: #151b28;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  max-width: min(640px, 90vw);
  z-index: 10;
}
#toast.show { opacity: 1; transform: translateX(-50%); }
#toast.error { background: var(--bad); }

dialog { border: 1px solid var(--line); border-radius: 10px; padding: 20px; width: min(440px, 92vw); box-shadow: 0 20px 60px var(--shadow); background: var(--panel); color: var(--text); }
dialog::backdrop { background: rgba(15, 20, 30, 0.45); }
dialog p { margin: 0 0 14px; }
dialog input { margin-bottom: 14px; }

@media (max-width: 760px) {
  body { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; padding: 10px; }
  .brand { padding-bottom: 8px; }
  .sidebar nav { display: flex; gap: 4px; flex-wrap: wrap; }
  main { padding: 16px; }
  .grid2 { grid-template-columns: 1fr; }
}

/* ---------- sign in, account ---------- */

body.signed-out .sidebar { display: none; }
.sidebar { display: flex; flex-direction: column; }
.sidebar nav { flex: 1; }
.account { border-top: 1px solid #2a3348; padding: 10px 10px 0; font-size: 13px; }
.account a { color: #fff; text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account button { color: #9aa6bd; padding: 4px 0; font-weight: 500; }
.account button:hover { background: transparent; color: #fff; }

/* ---------- dashboard ---------- */

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 16px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.tile span { display: block; color: var(--muted); font-size: 12.5px; }
.tile strong { font-size: 24px; line-height: 1.3; }
.tile.attention strong { color: var(--warn); }
.tile.bad strong { color: var(--bad); }
.bar { flex: 1; height: 8px; background: var(--subtle); border-radius: 99px; overflow: hidden; min-width: 60px; }
.bar span { display: block; height: 100%; background: var(--accent); }
.bar span.full { background: var(--ok); }
ul.activity { list-style: none; margin: 6px 0 0; padding: 0; }
ul.activity li { padding: 5px 0; border-bottom: 1px solid var(--line); }
ul.activity li:last-child { border-bottom: 0; }

/* ---------- calendar ---------- */

.calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--line); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.calendar .dow { background: var(--subtle); padding: 6px 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.calendar .day { background: var(--panel); min-height: 104px; padding: 4px 5px 6px; }
.calendar .day.other { background: var(--bg); }
.calendar .day.other .num { color: var(--gray-line); }
.calendar .day.today .num { background: var(--accent-solid); color: #fff; border-radius: 99px; padding: 0 7px; display: inline-block; }
.calendar .num { font-size: 12px; font-weight: 600; margin-bottom: 3px; }
.chip { display: block; font-size: 11.5px; line-height: 1.3; padding: 2px 5px; margin-bottom: 3px; border-radius: 4px; text-decoration: none; color: var(--text); background: var(--tint-gray); border-left: 3px solid var(--gray-line); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip:hover { filter: brightness(0.95); }
.chip.working { background: var(--tint-blue); border-color: var(--accent); }
.chip.ready { background: var(--tint-amber); border-color: var(--warn); }
.chip.live { background: var(--tint-green); border-color: var(--ok); }
.chip.scheduled { background: var(--tint-violet); border-color: var(--violet); }
.chip.error { background: var(--tint-red); border-color: var(--bad); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: var(--gray-line); margin-right: 3px; }
.dot.working { background: var(--accent); } .dot.ready { background: var(--warn); } .dot.live { background: var(--ok); }
.dot.scheduled { background: var(--violet); } .dot.error { background: var(--bad); }
.segmented input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }

/* ---------- article extras ---------- */

.checks { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.checks li { padding: 4px 0 4px 20px; position: relative; }
.checks li::before { position: absolute; left: 0; top: 4px; font-weight: 700; }
.checks li.ok::before { content: "✓"; color: var(--ok); }
.checks li.warn::before { content: "!"; color: var(--warn); left: 4px; }
.checks li.fail::before { content: "✕"; color: var(--bad); }
.checks .detail { display: block; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.featured { width: 100%; border-radius: 6px; border: 1px solid var(--line); display: block; aspect-ratio: 16 / 9; object-fit: cover; background: var(--subtle); }
.versions { list-style: none; margin: 0; padding: 0; font-size: 12.5px; max-height: 260px; overflow: auto; }
.versions li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.versions li:last-child { border-bottom: 0; }
.versions button { width: auto; padding: 1px 8px; font-size: 12px; float: right; }
.side .row button { width: auto; flex: 1; }
table.prices input { padding: 4px 6px; }
table.prices td { padding: 3px 6px 3px 0; }

@media (max-width: 760px) {
  .sidebar { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .account { border: 0; padding: 0 0 0 10px; display: flex; gap: 10px; align-items: center; }
  .calendar .day { min-height: 70px; }
}

/* ---------- SEO page ---------- */

.tabs { display: flex; gap: 4px; align-items: center; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tabs button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; padding: 8px 12px; color: var(--muted); }
.tabs button:hover { color: var(--text); background: transparent; }
.tabs button.on { color: var(--accent); border-bottom-color: var(--accent); }
.pill { padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 500; margin: 3px 2px 0 0; }
table.list.compact td, table.list.compact th { padding: 6px 10px; }
h3.seed { font-size: 14px; margin: 16px 0 6px; }
pre.code { background: var(--subtle); padding: 10px 12px; border-radius: 6px; font: 12.5px/1.5 ui-monospace, Consolas, monospace; }

/* ---------- AI slop ---------- */

::highlight(slop-phrase) { background-color: #ffc9c2; }
::highlight(slop-boilerplate) { background-color: #ffd9a8; }
::highlight(slop-vocab) { background-color: #ffe9a3; }
::highlight(slop-structure) { background-color: #cfe0ff; }
::highlight(slop-filler) { background-color: #f6c6dc; }
::highlight(slop-repeat) { background-color: #d6d6d6; }
::highlight(slop-detail) { background-color: #c5efd2; }
::highlight(slop-ai) { text-decoration: underline wavy #7a3fd0; background-color: #efe6ff; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: baseline; }
.legend label { display: block; font-weight: 400; font-size: 12.5px; margin: 0 0 2px; cursor: pointer; }
.legend input { margin: 0 5px 0 0; vertical-align: -2px; }
ul.flags { list-style: none; margin: 6px 0 0; padding: 0; font-size: 12.5px; max-height: 300px; overflow: auto; }
ul.flags li { padding: 5px 0; border-bottom: 1px solid var(--line); cursor: pointer; overflow-wrap: anywhere; }
ul.flags li:hover { background: var(--subtle); }
ul.flags .detail { display: block; color: var(--muted); font-size: 12px; }
details summary { cursor: pointer; }

/* ---------- client workspace ---------- */

.nav-gap { height: 14px; }
.tabs a { padding: 8px 12px; color: var(--muted); text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; }
.tabs a:hover { color: var(--text); }
.tabs a.on { color: var(--accent); border-bottom-color: var(--accent); }
/* Inside a workspace the client is already chosen and named, so pages drop their own title and client picker. */
#workspace:not(:empty) + #view .page-head > h1,
#workspace:not(:empty) + #view .page-head > a.button.ghost,
#workspace:not(:empty) + #view .page-head > .muted,
#workspace:not(:empty) + #view :is(#filter-client, #calendar-client, #seo-client) { display: none; }
#workspace:not(:empty) + #view .page-head:not(:has(select, button, .row, a.primary)) { display: none; }

/* ---------- icons and brand ---------- */

.icon { flex: none; vertical-align: -3px; margin-right: 6px; }
h2 > .icon { color: var(--muted); }
.sidebar nav a .icon { margin-right: 9px; opacity: 0.85; }
.tabs a .icon { margin-right: 5px; }
.tile span .icon { margin-right: 5px; vertical-align: -2px; }
.toolbar button .icon, .versions button .icon { display: none; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark { display: inline-flex; flex: none; }
.account a .icon { margin-right: 6px; }

/* ---------- sign-in screen ---------- */

body.signed-out main { display: block; padding: 0; }
.auth-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; position: relative; }
.auth-card { width: min(380px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 32px 30px; box-shadow: 0 12px 40px -18px var(--shadow); }
.auth-brand { display: flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 26px; }
.auth-brand svg { flex: none; }
.auth-card h2 { font-size: 22px; letter-spacing: -0.02em; margin: 0 0 18px; }
.auth-card h2 .icon { display: none; }
.auth-sub { color: var(--muted); margin: -8px 0 20px; }
.auth-field { margin-bottom: 16px; }
.auth-field label { font-size: 13px; margin-bottom: 6px; }
.auth-card input { padding: 11px 12px; font-size: 15px; border-radius: 8px; }
.auth-password { position: relative; }
.auth-password input { padding-right: 62px; }
.auth-password button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); padding: 5px 9px; font-size: 13px; color: var(--muted); }
.auth-submit { width: 100%; padding: 12px; font-size: 15px; border-radius: 8px; margin-top: 6px; }
.auth-submit .icon { display: none; }
.auth-error { background: var(--error-bg); border: 1px solid var(--error-line); color: var(--error-text); border-radius: 8px; padding: 9px 12px; font-size: 14px; margin-bottom: 14px; }
html[data-theme="dark"] ::highlight(slop-phrase) { background-color: #6e2f2a; color: #f2f4f8; }
html[data-theme="dark"] ::highlight(slop-boilerplate) { background-color: #6b4416; color: #f2f4f8; }
html[data-theme="dark"] ::highlight(slop-vocab) { background-color: #5c4a12; color: #f2f4f8; }
html[data-theme="dark"] ::highlight(slop-structure) { background-color: #263f73; color: #f2f4f8; }
html[data-theme="dark"] ::highlight(slop-filler) { background-color: #6a2d4d; color: #f2f4f8; }
html[data-theme="dark"] ::highlight(slop-repeat) { background-color: #454c5a; color: #f2f4f8; }
html[data-theme="dark"] ::highlight(slop-detail) { background-color: #1c5236; color: #f2f4f8; }
html[data-theme="dark"] ::highlight(slop-ai) { text-decoration: underline wavy #b7a6ff; background-color: #3a2c66; color: #f2f4f8; }

/* ---------- theme switch ---------- */

.account .theme-toggle { display: block; padding: 4px 0; }
.auth-theme { position: absolute; top: 16px; right: 16px; color: var(--muted); padding: 7px 9px; }
.auth-theme .icon { margin: 0; }
html[data-theme="dark"] .prose a { color: var(--accent); }
html[data-theme="dark"] #toast { border: 1px solid var(--line); }
/* ---------- website pages ---------- */

/* A call to action in page copy, shown the way it will be used: as a button. */
.prose p.cta { display: inline-block; margin: 2px 0 18px; padding: 8px 16px; border-radius: 6px; background: var(--accent-solid); color: #fff; font: 600 13px/1.3 system-ui, sans-serif; letter-spacing: 0.03em; }
.tabs { flex-wrap: wrap; }

/* ---------- corrections: the toolbar that follows a selection ---------- */

.selection-bar { position: fixed; z-index: 20; display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 8px; background: var(--panel); border: 1px solid var(--field-line); box-shadow: 0 8px 24px -6px var(--shadow); }
.selection-bar button { padding: 5px 10px; font-size: 13px; border-color: transparent; background: transparent; white-space: nowrap; }
.selection-bar button:hover { background: var(--subtle); }
.selection-bar button .icon { margin-right: 5px; }
.selection-bar input { width: 220px; padding: 5px 8px; font-size: 13px; }
.selection-note { padding: 0 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
