:root {
  --bg: #f4f7f6;
  --ink: #14241d;
  --muted: #5a6570;
  --accent: #0b6e4f;
  --soft: #e7f6ee;
  --card: #ffffff;
  --line: #dde3ea;
  --warn: #8a5a00;
  --yellow: #e6b800;
  --grey: #8a9399;
  --ring: #0b6e4f;
  --amy-mint: #2EE6C5;
}
body.is-live {
  --bg: #f3f2f1;
  --ink: #201f1e;
  --muted: #605e5c;
  --accent: #0078d4;
  --soft: #deecf9;
  --line: #e1dfdd;
  --ring: #0078d4;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #d7efe4 0%, transparent 55%),
    var(--bg);
}
body.is-live {
  background: var(--bg);
}
a { color: var(--accent); }
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
}
.top nav { display: flex; gap: 0.85rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--line);
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0 14px 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.brand:hover { text-decoration: none; }
button.brand.askamy-brand-btn { width: 100%; }
.askamy-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}
.askamy-mark .askamy-wave-static {
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  color: var(--amy-mint);
}
.askamy-mark .askamy-wave-static .bar { fill: currentColor; }
.askamy-word {
  font-size: 1.05rem;
  line-height: 1;
  white-space: nowrap;
}
.askamy-word .ask {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--ink);
}
html[data-theme="dark"] .rail .askamy-word .ask,
html[data-theme="dark"] .rail-more .askamy-word .ask,
html[data-theme="dark"] .brand-bar .askamy-word .ask { color: #fff; }
.askamy-word .amy {
  font-family: system-ui, sans-serif;
  font-weight: 700;
  color: var(--amy-mint);
}
.brand-mark {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.62rem;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(20, 36, 29, 0.12);
}
.brand-mark-demo { display: none; }
body.is-live .brand-mark-demo { display: none; }
body.is-live .brand-mark-live { display: none; }
.brand-copy { display: grid; gap: 0.08rem; min-width: 0; }
.brand-name {
  font-weight: 650;
  font-size: 0.92rem;
  line-height: 1.15;
  color: var(--ink);
  white-space: nowrap;
}
.brand-uk {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand-url {
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  color: var(--muted);
  padding-left: 0.05rem;
}
header.top .brand {
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  width: auto;
}
header.top .brand .brand-url { display: none; }
header.top .askamy-mark .askamy-wave-static {
  width: 1.35rem;
  height: 1.35rem;
}
header.top .askamy-word { font-size: 0.95rem; }
.brand-bar { display: none; }
.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent);
  font-weight: 650;
  text-decoration: none;
}
.dot { width: 0.7rem; height: 0.7rem; border-radius: 999px; background: var(--accent); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 10px 30px rgba(11, 110, 79, 0.06);
}
h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 0.6rem; }
h2 { font-size: 1.15rem; margin: 0 0 0.5rem; }
p { color: var(--muted); line-height: 1.55; }
.muted { color: var(--muted); font-size: 0.95rem; }
.home, .narrow { max-width: 40rem; margin: 0 auto; padding: 0 1.25rem 2rem; display: grid; gap: 1rem; }
.stack { display: grid; gap: 0.75rem; }
.two { grid-template-columns: 1fr 1fr; }
.wide { grid-column: 1 / -1; }
label { display: grid; gap: 0.3rem; font-size: 0.95rem; }
input, select, textarea, button {
  font: inherit;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
button, .btn {
  background: var(--accent);
  color: #fff;
  border: 0;
  text-decoration: none;
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  width: fit-content;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
#home-demo-save.is-busy:disabled {
  opacity: 1;
  cursor: wait;
}
button.ghost, .btn.small { background: transparent; color: var(--accent); border: 1px solid var(--line); }
.picks { display: grid; gap: 0.6rem; }
.pick {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
  cursor: pointer;
}
.pick span { display: block; color: var(--muted); font-size: 0.9rem; }
.number { font-size: 1.8rem; font-weight: 650; }
.number a { text-decoration: none; color: var(--ink); }
.layout { display: grid; grid-template-columns: 13rem 1fr; gap: 1rem; padding: 0 1.25rem 2rem; }
aside { display: grid; align-content: start; gap: 0.45rem; }
aside a { text-decoration: none; }
.trading { font-weight: 650; color: var(--ink); margin: 0 0 0.4rem; }
.hub { min-width: 0; overflow-x: auto; }
body.hub-amy-open > .top,
body.board-open > .top,
body.hub-amy-open > footer,
body.board-open > footer { display: none; }
body.hub-amy-open > .flash,
body.board-open > .flash { display: none; }
.hub-shell {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  min-height: 100vh;
  background: var(--wash, var(--bg));
  position: relative;
}
.rail {
  background: var(--card);
  border-right: 1px solid var(--line);
  padding: 12px 0 24px;
  align-content: start;
}
.rail > .brand { margin-bottom: 2px; }
.rail-name {
  font-weight: 650;
  color: var(--ink);
  margin: 0;
  padding: 0 16px 2px;
  font-size: 13px;
}
.rail-number {
  margin: 0;
  padding: 0 16px 6px;
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.rail-mode {
  margin: 0 0 12px;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.rail-hubs .rail-link { font-size: 12px; }
.rail-group { margin-top: 14px; }
.rail-group > span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0 16px 6px;
}
.rail a.rail-link,
.rail button.rail-link {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0;
  padding: 8px 14px 8px 13px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.rail a.rail-link.is-on,
.rail button.rail-link.is-on {
  background: var(--soft);
  color: var(--ink);
  border-left-color: var(--accent);
  font-weight: 650;
}
.rail-out { margin-top: 18px; }
.rail-more { display: none; }

/* Appearance Dark = navigation only; hub content stays light */
html[data-theme="dark"] .rail,
html[data-theme="dark"] .rail-drop {
  background: #0B0E14;
  border-color: #2a303a;
  color: #e8eaef;
}
html[data-theme="dark"] .rail .brand-url,
html[data-theme="dark"] .rail-group > span,
html[data-theme="dark"] .rail a.rail-link,
html[data-theme="dark"] .rail button.rail-link {
  color: #9aa3ad;
}
html[data-theme="dark"] .rail-name,
html[data-theme="dark"] .rail-number,
html[data-theme="dark"] .rail-more summary {
  color: #e8eaef;
}
html[data-theme="dark"] .rail-mode {
  color: var(--amy-mint);
}
html[data-theme="dark"] body.is-live .rail-mode {
  color: #4da3ff;
}
html[data-theme="dark"] .rail a.rail-link.is-on,
html[data-theme="dark"] .rail button.rail-link.is-on {
  background: #161a22;
  color: #e8eaef;
  border-left-color: var(--amy-mint);
}
html[data-theme="dark"] body.is-live .rail a.rail-link.is-on,
html[data-theme="dark"] body.is-live .rail button.rail-link.is-on {
  border-left-color: #4da3ff;
  background: #152030;
}
html[data-theme="dark"] .brand-bar {
  background: #0B0E14;
  border-radius: 8px;
  padding: 0.25rem 0.45rem;
}
html[data-theme="dark"] .rail-more summary {
  background: #0B0E14;
  color: #e8eaef;
}
html[data-theme="dark"] .rail-more .rail-link {
  color: #9aa3ad;
}
html[data-theme="dark"] .rail-more .rail-link.is-on {
  background: #161a22;
  color: #e8eaef;
}
html[data-theme="dark"] .rail-more .rail-name,
html[data-theme="dark"] .rail-more .rail-number {
  color: #e8eaef;
}
html[data-theme="dark"] .rail-more .rail-mode {
  color: var(--amy-mint);
}
html[data-theme="dark"] body.is-live .rail-more .rail-mode {
  color: #4da3ff;
}
html[data-theme="dark"] .rail-more .rail-group > span {
  color: #9aa3ad;
}
.rail-more summary {
  list-style: none;
  cursor: pointer;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  color: var(--ink);
  border-radius: 8px;
}
.rail-more summary::-webkit-details-marker { display: none; }
.rail-burger {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}
.rail-drop {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 15rem;
  max-height: calc(100vh - 4.5rem);
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(32, 31, 30, 0.14);
  padding: 10px 0 12px;
}
.rail-more .brand { display: none; }
.rail-more .rail-demo-tools {
  display: grid;
  gap: 0.55rem;
  padding: 4px 16px 12px;
  margin: 0 0 6px;
  border-bottom: 1px solid var(--line);
}
.rail-more .rail-demo-tools .demo-persona {
  display: grid;
  gap: 0.25rem;
  width: 100%;
  box-shadow: none;
  padding: 0.45rem 0.55rem;
}
.rail-more .rail-demo-tools .demo-persona select {
  max-width: none;
  width: 100%;
}
.rail-more .rail-demo-tools .demo-reset {
  width: 100%;
  box-shadow: none;
}
.rail-more .rail-name { padding: 0 16px 2px; }
.rail-more .rail-number { padding: 0 16px 4px; }
.rail-more .rail-mode { padding: 0 16px 8px; margin: 0; }
.rail-more .rail-group { margin-top: 8px; }
.rail-more .rail-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 16px;
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: 0;
  border-radius: 0;
  font-size: 13px;
}
.rail-more .rail-link.is-on {
  background: var(--soft);
  color: var(--ink);
  font-weight: 650;
}
.hub-shell > .hub { padding: 0.9rem 1.15rem 7.5rem; }
.hub-shell > .hub.board-page { max-width: none; margin: 0; }
.hub-shell .cb-shell { margin-top: 0.6rem; }
.page-panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.page-panel .cb-bar { margin: 0; }
.page-panel .page-body { padding: 1.15rem 1.4rem 1.6rem; }
.demo-register {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0;
  min-height: 22rem;
}
.demo-register-hero {
  padding: 2rem 1.85rem 2.1rem;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--soft) 88%, #fff) 0%, #fff 55%, #fff 100%);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}
.demo-register-brand {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.demo-register-title {
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.demo-register-lead {
  margin: 0;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--muted);
}
.demo-register-lead em {
  font-style: normal;
  color: var(--ink);
  font-weight: 650;
}
.demo-register-cta { margin: 0.35rem 0 0; }
.demo-register-cta .btn {
  display: inline-block;
  width: auto;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 650;
}
.demo-register-price {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.demo-register-price strong { color: var(--ink); }
.demo-register-note {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--muted);
  max-width: 26rem;
}
.demo-register-points {
  list-style: none;
  margin: 0;
  padding: 1.6rem 1.5rem 1.75rem;
  display: grid;
  align-content: center;
  gap: 1.15rem;
  background: #fff;
}
.demo-register-points li {
  display: grid;
  gap: 0.25rem;
  padding: 0 0 0 0.85rem;
  border-left: 3px solid color-mix(in srgb, var(--accent) 55%, var(--line));
}
.demo-register-points strong {
  font-size: 0.95rem;
  color: var(--ink);
}
.demo-register-points span {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted);
}
@media (max-width: 820px) {
  .demo-register {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .demo-register-hero {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 1.5rem 1.25rem 1.4rem;
  }
  .demo-register-points { padding: 1.25rem 1.2rem 1.5rem; }
}
@media (max-width: 1000px) {
  .hub-shell { display: block; }
  .rail { display: none; }
  .rail-more {
    display: block;
    position: absolute;
    top: 0.4rem;
    right: 0.5rem;
    z-index: 30;
    margin: 0;
  }
  .brand-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    position: absolute;
    top: 0.55rem;
    left: 0.7rem;
    z-index: 30;
    padding: 0;
    max-width: calc(100vw - 4.2rem);
    width: auto;
  }
  .brand-bar .askamy-mark .askamy-wave-static {
    width: 1.25rem;
    height: 1.25rem;
  }
  .brand-bar .askamy-word { font-size: 0.85rem; }
  .brand-bar .brand-url { display: none; }
  .hub-shell > .hub { padding-top: 3.1rem; }
  header.top .brand-url { display: none; }
  header.top { padding: 0.65rem 0.9rem; }
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.8rem; margin: 1rem 0; }
table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--line); font-size: 0.92rem; vertical-align: top; }
.flash { margin: 0 1.25rem 1rem; padding: 0.7rem 1rem; background: var(--soft); border-radius: 8px; }
.error, .warn { color: var(--warn); }
.pill { display: inline-block; background: var(--soft); padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.85rem; }
details.bark-terms.is-signed { padding: 0.7rem 1rem; }
details.bark-terms.is-signed summary {
  list-style: none;
  cursor: pointer;
  font-weight: 650;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
details.bark-terms.is-signed summary::-webkit-details-marker { display: none; }
details.bark-terms.is-signed summary::before {
  content: "+";
  width: 1.2rem;
  height: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  flex: 0 0 auto;
}
details.bark-terms.is-signed[open] summary::before { content: "−"; }
details.bark-terms.is-signed[open] summary { margin-bottom: 0.7rem; }
.bark-terms-body {
  max-height: 22rem;
  overflow: auto;
  white-space: pre-wrap;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink);
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin: 0.7rem 0 1rem;
}
.bark-agree { display: flex; gap: 0.55rem; align-items: flex-start; }
.bark-agree input { width: auto; margin-top: 0.2rem; }
tr.is-sign td { background: #eef7f2; }
.bark-listener-actions { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.bark-cat-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.bark-cat-field input { width: 100%; }
.bark-cat-warn {
  display: block;
  font-size: 0.86rem;
  line-height: 1.35;
  margin: 0.2rem 0 0;
}
.bark-cat-warn[hidden] { display: none !important; }
.bark-listeners {
  --bark-cols: minmax(0, 1.15fr) minmax(0, 1.35fr) minmax(0, 1fr) 4.75rem 5.75rem 2.6rem 8.75rem;
  display: grid;
  gap: 0;
  margin: 0.75rem 0 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: auto;
  background: var(--card);
}
.bark-listener-line {
  display: grid;
  grid-template-columns: var(--bark-cols);
  column-gap: 0.55rem;
  row-gap: 0.45rem;
  align-items: center;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--line);
  box-sizing: border-box;
  width: 100%;
  min-width: 44rem;
}
.bark-listener-line:last-of-type { border-bottom: 0; }
.bark-listener-line.is-head {
  background: color-mix(in srgb, var(--ink) 4%, var(--card));
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: uppercase;
}
.bark-listener-line.is-head > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bark-listener-line.is-head > span:nth-child(4),
.bark-listener-line.is-head > span:nth-child(5),
.bark-listener-line.is-head > span:nth-child(6) {
  text-align: center;
}
.bark-listener-line input[type="text"],
.bark-listener-line input:not([type]),
.bark-listener-line input[inputmode] {
  width: 100%;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.bark-listener-line input[name="max_age_minutes"],
.bark-listener-line input[name="max_credits"] {
  text-align: center;
}
.bark-listener-on {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  width: 100%;
}
.bark-listener-on input { width: auto; margin: 0; }
.bark-listener-line .bark-listener-actions {
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.35rem;
  min-width: 0;
}
.bark-listener-line .bark-listener-actions button {
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .bark-listener-line.is-head { display: none; }
  .bark-listener-line {
    grid-template-columns: 1fr 1fr;
    min-width: 0;
    padding: 0.85rem 0.75rem;
  }
  .bark-listener-line .bark-listener-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
footer { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 1.5rem; }
.watch { display: grid; justify-items: center; padding: 1rem; gap: 1rem; }
.face { width: min(22rem, 90vw); cursor: pointer; user-select: none; }
.face .fill { fill: var(--grey); }
.face.green .fill { fill: var(--accent); }
.face.yellow .fill { fill: var(--yellow); }
.face.grey .fill { fill: var(--grey); }
.face text { font-family: inherit; fill: #fff; }
.face .count { font-size: 2.2rem; font-weight: 700; }
.face .label { font-size: 0.85rem; }
@media (max-width: 800px) {
  .layout, .two { grid-template-columns: 1fr; }
}
body.hub-amy-open .hub { padding-bottom: 7.5rem; }
body.hub-amy-open > footer { display: none; }
body.hub-amy-open .hub > .amy-line,
body.hub-amy-open .hub > .amy-text { margin: 0 0 0.8rem; }
.amy-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.amy-text {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.8rem;
  min-width: 0;
}
.amy-text-bar {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.amy-text-bar .amy-line {
  flex: 1;
  margin: 0;
  min-height: 1.4rem;
  min-width: 0;
}
.amy-approach {
  flex: 0 0 auto;
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.amy-text-toggle {
  flex: 0 0 auto;
  background: transparent !important;
  color: var(--muted) !important;
  border: 0 !important;
  width: auto !important;
  padding: 0.15rem 0.1rem !important;
  font-size: 0.82rem;
  font-weight: 600;
}
.amy-text-toggle:hover { color: var(--ink) !important; }
.amy-text-panel {
  display: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.amy-text.is-open .amy-text-panel,
.amy-text.is-launch .amy-text-panel { display: block; }
.amy-text.is-open .amy-text-bar .amy-line,
.amy-text.is-launch .amy-text-bar { display: none; }
.amy-text-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--line);
}
.amy-thread {
  overflow: auto;
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem 0.9rem;
}
.amy-turn { margin: 0; font-size: 0.95rem; line-height: 1.4; }
.amy-turn.is-user { color: var(--muted); }
.amy-turn.is-amy { color: var(--ink); }
.amy-composer input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: var(--card);
  color: var(--ink);
}
.amy-composer input:focus {
  outline: 2px solid var(--ring);
  outline-offset: 1px;
}
.amy-composer input:disabled { opacity: 0.55; }
.amy-text.is-launch {
  position: fixed;
  inset: 0 0 0 0;
  z-index: 70;
  margin: 0;
  padding: 0.85rem 1rem calc(6.4rem + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.amy-text.is-launch .amy-text-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.amy-text.is-launch .amy-thread { flex: 0 1 auto; }
.amy-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 36, 29, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.amy-overlay[hidden] { display: none; }
.amy-overlay-card {
  width: min(26rem, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.05rem 1.1rem 1.15rem;
  display: grid;
  gap: 0.7rem;
}
.amy-overlay-card p { margin: 0; font-weight: 650; }
.amy-overlay-value { font-weight: 500 !important; white-space: pre-wrap; }
.amy-overlay-field { display: grid; gap: 0.35rem; font-size: 0.92rem; }
.amy-overlay-field[hidden] { display: none; }
.amy-overlay-field textarea {
  width: 100%;
  min-height: 4.5rem;
  resize: vertical;
  font: inherit;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
}
.amy-overlay-opts { display: grid; gap: 0.4rem; }
.amy-overlay-opts button,
.cb-call-types button {
  width: 100%;
  text-align: left;
  background: var(--soft) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
}
.cb-call-wrap { position: relative; display: block; width: 100%; }
.cb-call-types {
  position: absolute;
  left: 0;
  top: calc(100% + 0.3rem);
  z-index: 8;
  min-width: min(20rem, 80vw);
  max-height: min(70vh, 28rem);
  overflow: auto;
  display: grid;
  gap: 0.3rem;
  padding: 0.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(20, 36, 29, 0.12);
}
.cb-call-types button.is-parked {
  opacity: 0.72;
}
.cb-call-types[hidden] { display: none; }
.cb-call-types button {
  display: grid;
  gap: 0.2rem;
  padding: 0.55rem 0.7rem !important;
  white-space: normal;
}
.cb-call-types button strong { font-size: 0.95rem; }
.cb-call-types button span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}
body.board-open { background: var(--bg); }
body.board-open > footer { display: none; }
.board-page { max-width: 70rem; margin: 0 auto; padding: 0 1.25rem 9rem; display: grid; gap: 1rem; }
.amy-talk { position: sticky; top: 0; z-index: 5; }
.amy-talk .amy-line { color: var(--ink); font-size: 1.15rem; min-height: 3.2rem; }
.board-canvas { min-height: 16rem; }
.beat { display: none; }
.beat.is-on { display: block; }
.beat-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.beat-nav button {
  background: #fff !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  width: auto;
}
.beat-nav button.is-on { background: #1f2327 !important; color: #fff !important; border-color: #1f2327 !important; }
.amy-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  padding: 1rem 1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgba(18, 20, 22, 0.55), transparent);
  pointer-events: none;
  z-index: 80;
}
button.amy-lozenge {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: min(22rem, calc(100vw - 2rem));
  height: 3.6rem;
  padding: 0 1.4rem;
  border: 0;
  border-radius: 999px;
  background: #3a3f44;
  color: #f3f5f6;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
button.amy-lozenge.is-idle {
  background: #3a3f44;
}
button.amy-lozenge.is-wait {
  background: #4a5056;
}
button.amy-lozenge.is-live {
  background: linear-gradient(105deg, #6ea8ff, #b57bff, #ff7eb6, #7be3c4, #6ea8ff);
  background-size: 280% 100%;
  color: #111;
  animation: amy-bar 2.2s linear infinite;
}
.amy-orb {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: #c5c9cc;
  flex: 0 0 auto;
}
button.amy-lozenge.is-idle .amy-orb,
button.amy-lozenge.is-wait .amy-orb {
  animation: amy-grey 1.6s ease-in-out infinite;
}
button.amy-lozenge.is-live .amy-orb {
  background: #fff;
  animation: amy-colour 0.9s ease-in-out infinite;
}
@media (max-width: 720px) {
  button.amy-lozenge {
    width: 3.6rem;
    padding: 0;
    gap: 0;
  }
  button.amy-lozenge .amy-loz-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
}
@keyframes amy-grey {
  0%, 100% { opacity: 0.35; transform: scale(0.88); }
  50% { opacity: 1; transform: scale(1.12); }
}
@keyframes amy-colour {
  0%, 100% { opacity: 0.7; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.18); }
}
@keyframes amy-bar {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.cb-shell {
  display: grid;
  grid-template-columns: minmax(16rem, 34%) 1fr;
  min-height: 32rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.cb-list { border-right: 1px solid var(--line); min-width: 0; }
.cb-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.9rem 1.05rem;
  border-bottom: 1px solid var(--line);
}
.cb-toolbar { padding: 0.7rem 1.05rem 0.45rem; }
.cb-search {
  width: 100%;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: var(--soft);
}
.cb-filters { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.7rem; }
.cb-sorts {
  display: flex;
  gap: 1rem;
  margin-top: 0.45rem;
}
.cb-sort {
  background: none !important;
  color: var(--muted) !important;
  border: 0 !important;
  padding: 0 0 0.3rem !important;
  border-radius: 0 !important;
  width: auto !important;
  font-size: 0.82rem;
}
.cb-sort.is-on {
  color: var(--ink) !important;
  border-bottom: 2px solid var(--accent) !important;
  font-weight: 650;
}
.cb-filter {
  background: none !important;
  color: var(--muted) !important;
  border: 0 !important;
  padding: 0 0 0.35rem !important;
  border-radius: 0 !important;
  width: auto !important;
}
.cb-filter.is-on {
  color: var(--ink) !important;
  border-bottom: 2px solid var(--accent) !important;
  font-weight: 650;
}
.cb-item.is-out { display: none !important; }
.cb-sheet[hidden],
.cb-empty[hidden] { display: none !important; }
.cb-item {
  display: block;
  width: 100% !important;
  box-sizing: border-box;
  text-align: left;
  background: transparent;
  color: inherit;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0;
  padding: 0.85rem 1.05rem 0.85rem 0.9rem;
  min-height: 3.2rem;
  cursor: pointer;
  touch-action: manipulation;
  position: relative;
  z-index: 1;
}
.cb-item:hover { background: var(--soft); }
.cb-item.is-on { background: var(--soft); border-left-color: var(--accent); }
.cb-item-top { display: flex; justify-content: space-between; gap: 0.7rem; align-items: baseline; }
.cb-item-name { font-weight: 650; }
.cb-item-kind { font-size: 0.7rem; letter-spacing: 0.04em; color: var(--accent); text-transform: uppercase; }
.cb-item-when, .cb-item-line { font-size: 0.82rem; color: var(--muted); }
.cb-item-line { display: block; margin-top: 0.2rem; line-height: 1.4; }
.cb-item-landed, .cb-landed {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.cb-landed { margin: -0.55rem 0 0.85rem; }
.cb-none { padding: 1rem 1.05rem; }
.cb-stage { min-width: 0; background: #fff; }
.cb-empty { padding: 2rem 1.4rem; }
.out-shell .cb-empty { max-width: 34rem; }
.out-shell .cb-empty p {
  margin: 0 0 0.85rem;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
}
.out-shell .cb-empty ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}
.out-shell .cb-empty li { margin: 0 0 0.45rem; }
.out-shell .cb-empty .cb-ghost {
  width: auto !important;
  max-width: 14rem;
  margin-top: 0.2rem;
}
.cb-sheet { padding: 1.15rem 1.4rem 1.6rem; }
.cb-back {
  display: none;
  background: none !important;
  color: var(--ink) !important;
  border: 0 !important;
  padding: 0.35rem 0.1rem 0.85rem !important;
  width: auto !important;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
  min-height: 2.75rem;
}
.cb-back span {
  display: inline-block;
  margin-right: 0.2rem;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 500;
}
.cb-kicker { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); }
.cb-name { font-size: 1.7rem; letter-spacing: -0.02em; margin: 0.25rem 0 0.2rem; }
.cb-when { margin: 0 0 1rem; }
.cb-actions { display: grid; gap: 0.45rem; margin: 0 0 0.7rem; }
.cb-sealed-intro { max-width: 36rem; line-height: 1.45; }
.cb-item.is-sealed .cb-item-line { color: #6b7280; }
.cb-call {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 650;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
}
.cb-call:disabled { opacity: 0.65; cursor: default; }
.cb-ghost, .cb-add-note button, .cb-dial {
  display: block;
  width: 100% !important;
  text-align: center;
  background: #fff !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  font-weight: 600;
  text-decoration: none;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  box-sizing: border-box;
}
.cb-recovery { margin: 0 0 0.35rem; }
.cb-claim-window { margin: 0 0 0.45rem; color: var(--ink-muted, #5a5a5a); }
.cb-insight { max-width: 36rem; line-height: 1.45; color: var(--ink); }
.cb-price-tag { font-weight: 650; color: var(--accent); }
.cb-pack { margin: 0.4rem 0 0.8rem; max-width: 40rem; }
.cb-pack summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.cb-pack-body {
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.4;
  background: var(--soft, #f3f4f6);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  margin: 0.45rem 0 0;
  overflow-x: auto;
}
.cb-contact {
  margin: 0.35rem 0 0.9rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 6%, #fff);
  max-width: 36rem;
}
.cb-contact .cb-meta { margin: 0.15rem 0; }
.cb-blank { color: var(--muted, #64748b); }
.cb-schema-form {
  margin: 0.45rem 0 0.9rem;
  padding: 0.65rem 0.75rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  max-width: 36rem;
  display: grid;
  gap: 0.45rem;
}
.cb-schema-form label { display: grid; gap: 0.2rem; font-size: 0.9rem; }
.cb-schema-form .cb-check { display: flex; align-items: center; gap: 0.4rem; }
.cb-schema-form textarea,
.cb-schema-form input,
.cb-schema-form select { width: 100%; }
.cb-outstanding {
  margin: 0.3rem 0 0;
  padding-left: 1.2rem;
}
.cb-outstanding li.is-done { text-decoration: line-through; color: var(--muted, #64748b); }
.cb-urgent {
  margin: 0 0 0.7rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-weight: 650;
  max-width: 36rem;
}
.cb-bark-reason { max-width: 36rem; line-height: 1.4; }
.cb-item-kind.is-urgent { color: #b91c1c; }
.demo-top {
  position: fixed;
  top: 0.75rem;
  right: 0.85rem;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: flex-end;
  max-width: min(28rem, calc(100vw - 4.5rem));
}
.demo-top .rail-demo-tools { display: contents; }
.rail > .rail-demo-tools { display: none; }
/* Keep Amy’s chat text out of the fixed Demo as / Reset controls. */
.hub-shell:has(.demo-top) > .hub.board-page > .amy-line,
.hub-shell:has(.demo-top) > .hub.board-page > .amy-text {
  margin: 0 0 0.8rem;
  padding-right: min(24.5rem, 46%);
  box-sizing: border-box;
  max-width: 100%;
  line-height: 1.35;
}
.hub-shell:has(.demo-top) > .hub.board-page > .amy-text.is-launch {
  padding-right: 1rem;
}
.demo-persona {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.28rem 0.45rem 0.28rem 0.55rem;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 0.35rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.demo-persona-label {
  font: 650 0.68rem/1.2 "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.demo-persona select {
  border: 0;
  background: transparent;
  color: #0f172a;
  font: 600 0.78rem/1.2 "Segoe UI", system-ui, sans-serif;
  max-width: 14rem;
  padding: 0.15rem 0.1rem;
  cursor: pointer;
}
.demo-persona select:disabled { opacity: 0.5; cursor: not-allowed; }
.demo-reset {
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #fff;
  color: #0f172a;
  font: 600 0.78rem/1.2 "Segoe UI", system-ui, sans-serif;
  padding: 0.45rem 0.7rem;
  border-radius: 0.35rem;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.demo-reset:hover { border-color: rgba(15, 23, 42, 0.35); }
.demo-reset:disabled { opacity: 0.5; cursor: not-allowed; }
@media (max-width: 1000px) {
  .demo-top { display: none; }
  .hub-shell:has(.demo-top) > .hub.board-page > .amy-line,
  .hub-shell:has(.demo-top) > .hub.board-page > .amy-text {
    padding-right: 0;
  }
}
.cb-status { display: flex; gap: 0.3rem; margin: 0 0 0.55rem; }
.cb-status button {
  flex: 1;
  background: #f4f7f6 !important;
  color: var(--muted) !important;
  border: 0 !important;
  font-size: 0.82rem;
  padding: 0.5rem 0.3rem;
}
.cb-status button.is-on {
  background: var(--accent) !important;
  color: #fff !important;
}
.cb-closed-pick {
  margin: 0 0 1.1rem;
  padding: 0.7rem 0.75rem;
  background: #f4f7f6;
  border-radius: 8px;
}
.cb-closed-ask {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.cb-closed-ops { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.cb-closed-ops button {
  flex: 1 1 40%;
  background: #fff !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.35rem;
}
.cb-closed-ops button.is-on {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}
.cb-clip-hide { margin: 0 0 0.55rem; }
.cb-issue { color: var(--ink); font-size: 1.02rem; line-height: 1.5; margin: 0 0 0.45rem; white-space: pre-wrap; }
.cb-inbound-price { color: var(--muted); }
.cb-meta { font-size: 0.85rem; margin: 0 0 1.2rem; }
.cb-hist-label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.cb-history { display: grid; gap: 1rem; }
.cb-hist-when { font-size: 0.78rem; color: var(--muted); }
.cb-hist-title { font-weight: 650; margin: 0.15rem 0 0.25rem; }
.cb-hist p { margin: 0; color: var(--ink); }
.cb-hist.has-more { cursor: pointer; }
.cb-hist-detail { display: none; white-space: pre-wrap; margin-top: 0.4rem; color: var(--ink); }
.cb-hist.is-open .cb-hist-detail { display: block; }
.cb-add-note { display: grid; gap: 0.45rem; margin-top: 1.2rem; }
.cb-add-note textarea {
  width: 100%;
  min-height: 3.2rem;
  font: inherit;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.out-shell .cb-list { overflow: auto; }
.out-shell .cb-rows { padding: 0.7rem 0.65rem 1rem; display: grid; gap: 0.95rem; }
a.cb-item { text-decoration: none; color: inherit; }
.out-group {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.out-group-head {
  padding: 0.7rem 0.85rem 0.6rem;
  border-bottom: 1px solid var(--line);
}
.out-label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--muted);
}
.out-ask {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}
.out-group.is-activated {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
}
.out-group.is-activated .out-group-head {
  background: color-mix(in srgb, var(--accent) 14%, #fff);
}
.out-group.is-activated .out-label { color: var(--accent); }
.out-group.is-ready {
  border-color: color-mix(in srgb, var(--accent) 26%, var(--line));
}
.out-group.is-ready .out-group-head {
  background: color-mix(in srgb, var(--accent) 8%, #fff);
}
.out-group.is-ready .out-label {
  color: color-mix(in srgb, var(--accent) 78%, var(--ink));
}
.out-group.is-roadmap {
  border-color: color-mix(in srgb, var(--accent) 14%, var(--line));
}
.out-group.is-roadmap .out-group-head {
  background: color-mix(in srgb, var(--accent) 4%, #fff);
}
.out-group.is-roadmap .out-label {
  color: color-mix(in srgb, var(--accent) 50%, var(--muted));
}
.out-group .cb-item { padding-left: 0.85rem; }
.out-vote {
  flex: 0 0 auto;
  width: auto !important;
  padding: 0.18rem 0.55rem !important;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--muted) !important;
  font-size: 0.72rem !important;
  font-weight: 650 !important;
  letter-spacing: 0.02em;
  line-height: 1.3;
  cursor: pointer;
}
.out-vote:hover { color: var(--ink) !important; border-color: var(--ink) !important; }
.out-vote.is-on {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}
.cb-sheet .out-vote { margin-top: 0; padding: 0.45rem 0.85rem !important; font-size: 0.85rem !important; }
.out-sheet-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.85rem;
}
.out-sheet-nav .out-nav:first-child { justify-self: start; }
.out-sheet-nav .out-vote { justify-self: center; min-width: 6.5rem; }
.out-sheet-nav .out-nav:last-child { justify-self: end; }
.out-sheet-nav .out-nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.out-when { display: grid; gap: 0.35rem; margin: 0.8rem 0 0.7rem; font-size: 0.85rem; color: var(--muted); }
.beat[data-beat="callbacks"] { padding: 0; overflow: hidden; }
.beat[data-beat="callbacks"] > h2,
.beat[data-beat="callbacks"] > .muted { display: none; }

/* Profile / Build your Amy */
.profile-status {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--soft) 80%, #c45c26);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
}
.profile-status.is-live {
  background: color-mix(in srgb, var(--soft) 70%, #2f7d4a);
}
.profile-form { display: grid; gap: 1rem; margin-top: 0.25rem; }
.profile-form .page-panel,
.hub > .page-panel { margin-bottom: 1rem; }
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.profile-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.profile-grid label.wide { grid-column: 1 / -1; }
.service-row {
  display: grid;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.65rem;
  background: #fff;
}
.service-row input,
.service-row textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
}
.service-row-tools {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.service-row-tools label {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.service-row-tools .service-hourly {
  width: 5.5rem;
}
.service-hourly-fields {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  flex-wrap: wrap;
}
.service-hourly-fields label {
  min-width: 7rem;
}
.service-hourly-fields .service-hourly,
.service-hourly-fields .service-hourly-min {
  width: 6rem;
}
.service-hourly-fields .muted {
  flex: 1 1 12rem;
  margin: 0;
}
.service-packages {
  margin-top: 0.55rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}
.service-package-row {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) 7rem auto;
  gap: 0.55rem;
  align-items: end;
  margin-bottom: 0.45rem;
}
.service-copy-wrap {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.service-copy-wrap select { width: auto; min-width: 10rem; }
.service-callout {
  margin-top: 0.55rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}
.service-callout-grid { margin-top: 0.35rem; }
.monitor-page { max-width: 52rem; }
.monitor-now {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--soft) 55%, #fff);
}
.monitor-now p { margin: 0; }
.monitor-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.85rem 0 1.25rem;
  font-size: 0.95rem;
}
.monitor-table th,
.monitor-table td {
  text-align: left;
  padding: 0.4rem 0.55rem;
  border-bottom: 1px solid var(--line);
}
.monitor-table th { color: var(--muted); font-weight: 650; }
.monitor-table tr.is-hot td { background: color-mix(in srgb, #c9a227 18%, #fff); }
.monitor-table tr.is-crisis td { background: color-mix(in srgb, #c0392b 16%, #fff); }
.profile-grid input,
.profile-grid select,
.profile-grid textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
}
.profile-packs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}
.profile-pack {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--soft) 55%, #fff);
}
.profile-pack button { margin-top: 0.25rem; }
.profile-amy-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.profile-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-size: 0.92rem;
}
.profile-check input { width: auto; }
.profile-fixed-answer {
  display: block;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--soft) 70%, #fff);
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.35;
}
.profile-save { margin: 0.25rem 0 1rem; }
.profile-prefs-body { display: grid; gap: 1.25rem; }
.profile-inline-form { margin-top: 0.75rem; }
.number-choice { margin-top: 1rem; display: grid; gap: 0.85rem; }
.number-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.75rem;
}
.number-choice-card {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--soft) 55%, #fff);
  cursor: pointer;
}
.number-choice-card:has(input:checked) {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.number-choice-card input { width: auto; margin: 0; }
.number-choice-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
  color: var(--muted, #5c6570);
  font-size: 0.92rem;
  line-height: 1.4;
}
.number-choice button { justify-self: start; }
.profile-tips-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
.profile-tips-link:hover { color: var(--ink); }
.profile-tutorial {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: color-mix(in srgb, #1a1a1a 45%, transparent);
}
.profile-tutorial.is-hidden,
.profile-tutorial[hidden] { display: none !important; }
.profile-tutorial-card {
  width: min(28rem, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.35rem 1.45rem 1.5rem;
  box-shadow: 0 18px 40px color-mix(in srgb, #000 18%, transparent);
}
.profile-tutorial-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.profile-tutorial-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
}
.profile-tutorial-card ol {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.45;
}
.profile-tutorial-card li { margin: 0.35rem 0; }
.profile-tutorial-card li strong { color: var(--ink); }
@media (max-width: 720px) {
  .profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .cb-shell { display: block; min-height: 0; }
  .cb-shell.is-job .cb-list,
  .cb-shell:has(.cb-sheet:not([hidden])) .cb-list { display: none; }
  .cb-shell:not(.is-job):not(:has(.cb-sheet:not([hidden]))) .cb-stage { display: none; }
  .cb-back {
    display: inline-flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--card, #fff) !important;
    border: 1px solid var(--line) !important;
    border-radius: 8px;
    padding: 0.55rem 0.9rem !important;
    width: auto !important;
    margin: 0 0 0.85rem;
    box-sizing: border-box;
  }
  .cb-name { font-size: 1.55rem; }
}
.view-pick {
  display: grid;
  gap: 0.7rem;
  margin: 0.85rem 0 0;
}
.view-pick label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.75rem;
  align-items: start;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  background: var(--card);
}
.view-pick label.is-on {
  border-color: var(--accent);
  background: var(--soft);
}
.view-pick input {
  margin-top: 0.2rem;
}
.view-pick strong {
  display: block;
}
.view-pick span {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.92rem;
}
body.home-fab > .top {
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
}
.home-wide {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  display: grid;
  gap: 1.6rem;
}
body.home-fab {
  background:
    radial-gradient(900px 420px at 88% -8%, #c8ead9 0%, transparent 58%),
    radial-gradient(1200px 500px at 10% -10%, #d7efe4 0%, transparent 55%),
    var(--bg);
}
.home-hero-grid {
  display: grid;
  gap: 1.4rem;
  align-items: center;
  padding-top: 1.4rem;
}
@media (min-width: 860px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.95fr);
    gap: 2rem;
  }
}
.home-hero {
  padding: 0.6rem 0 0.2rem;
  max-width: 44rem;
}
.home-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 7.4rem 7.4rem;
  gap: 0.55rem;
}
.home-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 14px 34px rgba(11, 110, 79, 0.12);
}
.home-mosaic img:first-child {
  grid-row: auto;
  height: 100%;
}
.home-only {
  font-size: 1.14rem;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid #cfe8da;
  border-radius: 14px;
  padding: 0.85rem 1rem;
}
.home-only strong { color: var(--accent); }
.home-path {
  list-style: none;
  margin: 0;
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.55rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(11, 110, 79, 0.05);
}
@media (min-width: 720px) {
  .home-path {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }
}
.home-path li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-weight: 650;
  color: var(--ink);
}
.home-path span {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  flex: none;
}
.home-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.home-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.15rem);
  line-height: 1.08;
  margin: 0 0 0.85rem;
}
.home-lead {
  font-size: 1.12rem;
  color: var(--ink);
  max-width: 40rem;
}
.home-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin: 1.1rem 0 0.4rem;
}
.home-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 0.85rem;
}
.home-points article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 0 10px 30px rgba(11, 110, 79, 0.05);
}
.home-points h2 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: var(--ink);
}
.home-points p { margin: 0; }
.home-leads-strip {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 110, 79, 0.05);
}
.home-leads-line {
  margin: 0;
  padding: 1.15rem 1.25rem 0.95rem;
  text-align: center;
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  font-weight: 650;
  color: var(--ink);
  line-height: 1.35;
}
.home-leads-marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: 0.7rem 0;
  background: var(--soft);
}
.home-leads-track {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  width: max-content;
  animation: home-marquee 32s linear infinite;
  padding: 0 1.4rem;
}
.home-leads-track img {
  height: 1.85rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
  display: block;
}
.home-leads-wom {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
@keyframes home-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .home-leads-track { animation: none; }
}
.home-path-demo { margin: 1rem 0 1.15rem; }
.home-demo-step {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.15rem 0 0.35rem;
  font-weight: 650;
  color: var(--ink);
  font-size: 1.08rem;
}
.home-demo-step span {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.88rem;
  flex: none;
}
.home-demo { padding: 1.5rem 1.4rem 1.6rem; }
.home-demo > h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
.picks-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.85rem;
}
.pick-photo {
  display: grid;
  gap: 0.35rem;
  padding: 0;
  overflow: hidden;
  position: relative;
  background: var(--card);
  cursor: pointer;
}
.pick-photo input {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.pick-cue {
  position: static;
  z-index: 1;
  pointer-events: none;
  display: block;
  text-align: center;
  background: #e8eeeb;
  color: #14241d;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.5rem 0.5rem;
  border-radius: 0;
}
.pick-cue::after { content: "Select"; }
.pick-photo:has(input:checked) .pick-cue {
  background: var(--accent);
  color: #fff;
}
.pick-photo:has(input:checked) .pick-cue::after { content: "Selected"; }
.pick-photo img {
  width: 100%;
  height: 12.5rem;
  object-fit: cover;
  display: block;
}
.pick-photo strong,
.pick-photo span,
.pick-photo .pick-firm {
  padding: 0 0.85rem;
}
.pick-photo > strong {
  padding-top: 0.55rem;
  padding-bottom: 0.35rem;
  color: var(--ink);
  text-align: center;
  display: block;
}
.pick-photo span,
.pick-photo .pick-firm { padding-bottom: 0.85rem; display: block; color: var(--muted); font-size: 0.9rem; }
.pick-photo:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}
.pick-photo:hover { border-color: var(--accent); }

.pick-more {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  align-content: start;
  min-height: 0;
}
.pick-more.is-picked,
.pick-more:has(.pick-more-row input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}
.pick-more.is-picked > .pick-cue,
.pick-more:has(.pick-more-row input:checked) > .pick-cue {
  background: var(--accent);
  color: #fff;
}
.pick-more.is-picked > .pick-cue::after,
.pick-more:has(.pick-more-row input:checked) > .pick-cue::after {
  content: "Selected";
}
.pick-more > strong,
.pick-more > .pick-firm {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.pick-more-scroll {
  margin: 0 0.55rem 0.7rem;
  max-height: 12.5rem;
  overflow-y: auto;
  border: 1px solid #d5ddd8;
  border-radius: 8px;
  background: #f7faf8;
  -webkit-overflow-scrolling: touch;
}
.pick-more-group {
  margin: 0;
  padding: 0.45rem 0.65rem 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  position: sticky;
  top: 0;
  background: #eef3f0;
  z-index: 1;
}
.pick-more-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  border-top: 1px solid rgba(20, 36, 29, 0.06);
  position: relative;
}
.pick-more-row:hover { background: rgba(20, 100, 70, 0.06); }
.pick-more-row:has(input:checked) {
  background: rgba(20, 100, 70, 0.12);
  font-weight: 600;
}
.pick-more-row input[type="radio"] {
  position: static !important;
  inset: auto !important;
  width: 1rem !important;
  height: 1rem !important;
  opacity: 1 !important;
  margin: 0 !important;
  flex: 0 0 auto;
  cursor: pointer;
  z-index: 1;
}
.pick-more-row span {
  position: static;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.25;
  padding: 0 !important;
}
.home-demo-row {
  display: grid;
  gap: 0.85rem;
  align-items: stretch;
}
@media (min-width: 720px) {
  .home-demo-row { grid-template-columns: 1fr 1fr; }
}
.home-picked {
  margin: 0;
  display: block;
  background: var(--soft);
  border: 1px solid #cfe8da;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 500;
}
.home-picked strong { color: var(--ink); font-weight: 650; }
.home-picked.is-empty {
  background: #f7f8f8;
  border-style: dashed;
  color: var(--muted);
}
.home-picked.is-empty strong { color: var(--ink); font-weight: 650; }
.home-picked.is-ready {
  background: var(--soft);
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(11, 110, 79, 0.12);
}
.home-call-row { align-items: start; }
.home-call {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.home-call .number {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin: 0.25rem 0 0;
}
.home-call .number a {
  display: inline-block;
  background: var(--soft);
  border: 1px solid #cfe8da;
  border-radius: 999px;
  padding: 0.35rem 1rem 0.4rem;
}
.home-free-demo {
  margin: 0.15rem 0 0;
  text-align: center;
  font-size: clamp(2.6rem, 9vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: var(--accent);
}
.price-pack {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: var(--card);
}
.price-pack h3 { margin: 0 0 0.25rem; font-size: 1rem; }
.price-pack-sum {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 650;
  color: var(--ink);
}
.desk-page { max-width: 46rem; }
.desk-lead { max-width: 42rem; margin: 0 0 1.15rem; }
.help-page { max-width: 42rem; }
.help-section { margin: 1.5rem 0 2rem; }
.help-section h2 { margin: 0 0 0.65rem; font-size: 1.15rem; }
.help-section h3 { margin: 1.15rem 0 0.5rem; font-size: 1.02rem; }
.help-section ol { margin: 0.5rem 0 0.85rem; padding-left: 1.25rem; display: grid; gap: 0.45rem; }
.help-section code {
  font-size: 0.92em;
  background: color-mix(in srgb, var(--soft) 70%, #fff);
  padding: 0.05rem 0.3rem;
  border-radius: 4px;
}
.desk-section {
  margin: 1.6rem 0 0.75rem;
  color: var(--ink);
  font-size: 1.15rem;
}
.desk-count { margin: 0 0 0.85rem; }
.desk-tools { margin: 0 0 1rem; }
.desk-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.65rem 0.75rem;
  margin: 0 0 1rem;
  align-items: end;
}
.desk-filters button { justify-self: start; }
.activity-filters { margin: 0 0 1rem; }
.activity-filters label { display: grid; gap: 0.35rem; }
.activity-filters select { width: 100%; max-width: 28rem; }
.activity-detail {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.activity-detail-body { display: grid; gap: 0.2rem; }
.activity-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1.05rem 1.05rem;
  margin: 0 0 0.8rem;
  background: var(--card);
}
.activity-row header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  align-items: baseline;
  margin-bottom: 0.4rem;
}
.activity-row header time { margin-left: auto; }
.activity-tone {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.activity-row .activity-meta,
.activity-row .activity-body {
  color: var(--ink);
  margin: 0.15rem 0;
}
.activity-row .activity-meta { font-size: 0.95rem; }
.activity-row .muted { margin: 0.2rem 0 0; }
.activity-row.is-demo {
  border-left: 4px solid #0b6e4f;
  background: #e7f6ee;
}
.activity-row.is-demo .activity-tone { color: #0b6e4f; }
.activity-row.is-live {
  border-left: 4px solid #0078d4;
  background: #deecf9;
}
.activity-row.is-live .activity-tone { color: #0078d4; }
.activity-row.is-ok {
  border-left: 4px solid #8a9399;
  background: #fff;
}
.activity-row.is-ok .activity-tone { color: #5a6570; }
.activity-flag {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-end;
  margin-top: 0.75rem;
}
.activity-flag-field { flex: 1 1 16rem; min-width: 12rem; }
.activity-flag button { flex: 0 0 auto; }
.activity-flag-inline { margin: 0; }
.activity-flag-stack button { align-self: start; }
.activity-flag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.75rem;
  width: 100%;
  align-items: end;
}
.activity-flag-grid .wide { grid-column: 1 / -1; }
.activity-flag-grid button { justify-self: start; }
.activity-flag input,
.activity-flag select,
.activity-flag textarea { width: 100%; }
@media (max-width: 720px) {
  .activity-flag-grid { grid-template-columns: 1fr; }
  .wise-dl div { grid-template-columns: 1fr; }
  .activity-row header time { margin-left: 0; }
}
.feed-notes { display: grid; gap: 0.4rem; margin: 0.55rem 0 0.15rem; }
.feed-note { margin: 0; color: var(--ink); font-size: 0.92rem; }
.wise-dl {
  display: grid;
  gap: 0.35rem 1rem;
  margin: 0.65rem 0 0;
}
.wise-dl div { display: grid; grid-template-columns: 9rem 1fr; gap: 0.35rem; }
.wise-dl dt { color: var(--muted); margin: 0; }
.wise-dl dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.invoice-sheet { max-width: 40rem; }
.hub .flash { margin: 0 0 1rem; }
.hub-bark-banner {
  margin: 0 0 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  background: #5b21b6;
  color: #f5f3ff;
  font-size: 0.95rem;
  line-height: 1.45;
}
.hub-bark-banner a {
  color: #fde68a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hub-bark-banner strong { color: #fff; }
.settings-switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.85rem 0 0.4rem;
  cursor: pointer;
  font-weight: 650;
}
.settings-switch input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.settings-switch-ui {
  width: 2.6rem;
  height: 1.45rem;
  border-radius: 999px;
  background: var(--line);
  flex: 0 0 auto;
  position: relative;
}
.settings-switch-ui::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, var(--line));
}
.settings-switch input:checked + .settings-switch-ui {
  background: var(--accent);
}
.settings-switch input:checked + .settings-switch-ui::after {
  left: 1.3rem;
}
.settings-switch input:focus-visible + .settings-switch-ui {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.settings-switch input:disabled + .settings-switch-ui {
  opacity: 0.45;
}
.settings-switch:has(input:disabled) {
  cursor: not-allowed;
  color: var(--muted);
}
@media print {
  .rail, .amy-dock, .rail-more, .amy-line, .amy-text, .amy-overlay, .brand-bar { display: none !important; }
  .hub-shell { display: block; }
}
