/* Setterline, the app. Four looks share one set of rules through the tokens below (2026-11-01):
   - Directory (the brand and the default): black floor, directory yellow with black text, Big Shoulders numbers. Dark by default,
     with a light newsprint mode.
   - Switchboard (light, ruled, engineered), Daylight (light, calm, rounded) and Studio (André's 2026-10-30 pick, kept as it was).
   Each person picks a look under Appearance; theme.js sets <html data-look data-mode> before the page paints. Designs:
   athanor-docs/brand/setterline-looks-2026-11-01/. */
:root {
  --bg: #111111; --bg-fx: none; --panel: #232321; --panel-2: #111111; --field: #1a1a19; --line: #333330; --line-soft: #2e2e2b; --bw: 2px;
  --text: #fafaf5; --text-2: #c9c9c2; --muted: #a3a39c;
  --acc: #ffcc00; --on-acc: #111111; --acc-soft: rgba(255, 204, 0, .14); --acc-ink: #ffcc00; --primary: var(--acc);
  --good: #34d17c; --on-good: #111111; --good-ink: #34d17c; --warn: #ff9f1c; --bad: #ff5b4f; --on-bad: #111111;
  --r: 10px; --r-sm: 6px; --blur: none; --shadow: none;
  --f-body: 'Instrument Sans', -apple-system, 'Segoe UI', sans-serif; --f-head: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --f-num: 'Big Shoulders Display', 'Arial Narrow', sans-serif; --head-case: uppercase; --head-weight: 900; --head-track: 0; --head-lh: .92;
  --num-weight: 800; --num-scale: 1.25;
  --mark: url(/icon-directory.svg); --pop: #1a1a19; --toast: #ffcc00; --on-toast: #111111;
  --chart-grid: rgba(250, 250, 245, .1); --chart-axis: #a3a39c; --heat: 255, 204, 0; --heat-empty: rgba(250, 250, 245, .05);
  --c1: #ffcc00; --c2: #34d17c; --c3: #fafaf5; --c4: #ff9f1c; --c5: #7aa7ff; --c6: #ff5b4f; --c7: #a3a39c; --c8: #c79cff;
  color-scheme: dark;
}
/* Directory, light: newsprint and black rules, yellow only as a fill (like the client report card on setterline.com). */
/* André (2026-11-04): the light mode was "a bit too bright to be usable". Toned down from paper white to a warm grey newsprint:
   the page, cards and fields sit two to four steps darker, and nothing on screen is pure white any more. */
[data-look="directory"][data-mode="light"] {
  --bg: #e4e2da; --panel: #efede6; --panel-2: #dddbd2; --field: #f4f2ec; --line: #1b1b1a; --line-soft: #cdcbc2;
  --text: #141413; --text-2: #34342f; --muted: #55554f;
  --acc-soft: rgba(255, 204, 0, .32); --acc-ink: #111111;
  --good-ink: #137a43; --warn: #b45309; --bad: #c62828; --on-bad: #ffffff;
  --pop: #efede6; --toast: #111111; --on-toast: #ffcc00;
  --chart-grid: rgba(17, 17, 17, .1); --chart-axis: #5a5a55; --heat: 17, 17, 17; --heat-empty: rgba(17, 17, 17, .04);
  --c1: #111111; --c2: #ffcc00; --c3: #1f9d57; --c4: #e0701a; --c5: #2f62d8; --c6: #c62828; --c7: #8a8a83; --c8: #7a4bd0;
  color-scheme: light;
}
/* Switchboard: a telecom instrument panel. Paper, graphite, 1 px rules, one signal orange. */
[data-look="switchboard"] {
  --bg: #f3f1ec; --panel: #ffffff; --panel-2: #f3f1ec; --field: #ffffff; --line: #16181b; --line-soft: #dcd8cf; --bw: 1px;
  --text: #16181b; --text-2: #3a3e44; --muted: #5c6168;
  --acc: #d2400f; --on-acc: #ffffff; --acc-soft: rgba(210, 64, 15, .1); --acc-ink: #b8380d; --primary: #d2400f;
  --good: #1e7f4a; --on-good: #ffffff; --good-ink: #1e7f4a; --warn: #9a6200; --bad: #b3261e; --on-bad: #ffffff;
  --r: 3px; --r-sm: 3px; --shadow: 3px 3px 0 #dcd8cf;
  --f-body: 'Archivo', -apple-system, 'Segoe UI', sans-serif; --f-head: 'Archivo', sans-serif; --f-num: 'IBM Plex Mono', ui-monospace, monospace;
  --head-case: none; --head-weight: 750; --head-track: -.03em; --head-lh: 1.05; --num-weight: 500; --num-scale: 1;
  --mark: url(/icon-switchboard.svg); --pop: #ffffff; --toast: #16181b; --on-toast: #f3f1ec;
  --chart-grid: rgba(22, 24, 27, .1); --chart-axis: #5c6168; --heat: 210, 64, 15; --heat-empty: rgba(22, 24, 27, .04);
  --c1: #d2400f; --c2: #16181b; --c3: #1e7f4a; --c4: #5c6168; --c5: #2f62d8; --c6: #b3261e; --c7: #b5b0a5; --c8: #8a5a00;
  color-scheme: light;
}
/* Daylight: calm and trustworthy. Stone, forest, white rounded cards, a green that means connected. */
[data-look="daylight"] {
  --bg: #eef0eb; --panel: #ffffff; --panel-2: #f6f7f4; --field: #f6f7f4; --line: #cdd5cc; --line-soft: #e6eae4; --bw: 1px;
  --text: #14332a; --text-2: #2c4a40; --muted: #56675f;
  --acc: #1f7a55; --on-acc: #ffffff; --acc-soft: #d6ebdf; --acc-ink: #1f7a55; --primary: #1f7a55;
  --good: #1f7a55; --on-good: #ffffff; --good-ink: #1f7a55; --warn: #b4532f; --bad: #b4532f; --on-bad: #ffffff;
  --r: 20px; --r-sm: 12px; --shadow: 0 1px 2px rgba(20, 51, 42, .06), 0 12px 32px -16px rgba(20, 51, 42, .18);
  --f-body: 'Schibsted Grotesk', -apple-system, 'Segoe UI', sans-serif; --f-head: 'Schibsted Grotesk', sans-serif; --f-num: 'DM Mono', ui-monospace, monospace;
  --head-case: none; --head-weight: 700; --head-track: -.035em; --head-lh: 1.08; --num-weight: 500; --num-scale: 1;
  --mark: url(/icon-daylight.svg); --pop: #ffffff; --toast: #14332a; --on-toast: #eef0eb;
  --chart-grid: rgba(20, 51, 42, .08); --chart-axis: #56675f; --heat: 31, 122, 85; --heat-empty: rgba(20, 51, 42, .04);
  --c1: #1f7a55; --c2: #e8775a; --c3: #14332a; --c4: #7fb89a; --c5: #3d7ea6; --c6: #b4532f; --c7: #9aa59f; --c8: #c9a227;
  color-scheme: light;
}
/* Studio: the 2026-10-30 look. Deep violet, warm orange-to-rose, glass panels. Brightened 2026-11-11 (owner: "slightly more clear"):
   a lighter floor, more opaque cards, brighter secondary text and firmer lines, so tables and numbers read at a glance. */
[data-look="studio"] {
  --bg: #1b1531; --bg-fx: radial-gradient(1200px 600px at 10% -10%, #6a3ae6 0, transparent 60%), radial-gradient(900px 500px at 110% 110%, rgba(255, 120, 80, .5) 0, transparent 55%);
  --panel: rgba(255, 255, 255, .105); --panel-2: rgba(255, 255, 255, .075); --field: rgba(0, 0, 0, .18); --line: rgba(255, 255, 255, .22); --line-soft: rgba(255, 255, 255, .10); --bw: 1px;
  --text: #fbf8ff; --text-2: rgba(251, 248, 255, .94); --muted: rgba(251, 248, 255, .74);
  --acc: #ff6a3d; --on-acc: #ffffff; --acc-soft: rgba(255, 106, 61, .16); --acc-ink: #ff8a5c; --primary: linear-gradient(135deg, #ff6a3d, #ff3d7f);
  --good: #2fb36a; --on-good: #ffffff; --good-ink: #2fb36a; --warn: #e0a526; --bad: #ff5b4f; --on-bad: #ffffff;
  --r: 18px; --r-sm: 10px; --blur: blur(14px);
  --f-body: 'Inter', -apple-system, 'Segoe UI', sans-serif; --f-head: 'Space Grotesk', 'Inter', sans-serif; --f-num: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --head-case: none; --head-weight: 700; --head-track: -.01em; --head-lh: 1.08; --num-weight: 600; --num-scale: 1;
  --mark: url(/icon-studio.svg); --pop: rgba(30, 22, 52, .96); --toast: linear-gradient(135deg, #ff6a3d, #ff3d7f); --on-toast: #ffffff;
  --chart-grid: rgba(255, 255, 255, .12); --chart-axis: rgba(251, 248, 255, .72); --heat: 255, 106, 61; --heat-empty: rgba(255, 255, 255, .06);
  --c1: #ff6a3d; --c2: #8b6cff; --c3: #2fb36a; --c4: #3db8ff; --c5: #ff3d7f; --c6: #e0a526; --c7: #9aa4b2; --c8: #5be0c8;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; color: var(--text); font: 14px/1.5 var(--f-body); background: var(--bg-fx), var(--bg); background-color: var(--bg); background-attachment: fixed; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: var(--head-weight); letter-spacing: var(--head-track); line-height: var(--head-lh); text-transform: var(--head-case); margin: 0 0 .4em; }
h1 { font-size: 30px; } h2 { font-size: 20px; } h3 { font-size: 15px; }
[data-look="directory"] h1 { font-size: 40px; } [data-look="directory"] h2 { font-size: 26px; } [data-look="directory"] h3 { font-size: 19px; }
.mono { font-family: var(--f-num); font-variant-numeric: tabular-nums; }
[data-look="directory"] .mono { font-weight: 700; letter-spacing: .01em; }
.muted { color: var(--muted); }
.lbl { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
[data-mode="light"] :focus-visible, [data-look="switchboard"] :focus-visible { outline-color: var(--text); }

.panel { background: var(--panel); border: var(--bw) solid var(--line); border-radius: var(--r); backdrop-filter: var(--blur); box-shadow: var(--shadow); padding: 20px 22px; }
[data-look="directory"]:not([data-mode="light"]) .panel { border-color: var(--panel); }
[data-look="daylight"] .panel { border-color: transparent; }
.stack > * + * { margin-top: 14px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }

.btn { border: var(--bw) solid var(--line); background: transparent; border-radius: var(--r-sm); padding: 9px 16px; min-height: 40px; cursor: pointer; font-weight: 700; color: var(--text); transition: transform .06s, border-color .12s, background .12s; }
.btn:hover { border-color: var(--acc); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--primary); border-color: transparent; color: var(--on-acc); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.danger { color: var(--bad); }
.btn.danger:hover { border-color: var(--bad); }
.btn:disabled { opacity: .5; cursor: default; }
[data-look="directory"]:not([data-mode="light"]) .btn:not(.primary) { border-color: var(--line); }
[data-look="directory"][data-mode="light"] .btn.primary { border-color: var(--text); }
[data-look="switchboard"] .btn:not(.primary) { background: #ffffff; }
[data-look="daylight"] .btn:not(.primary) { background: var(--panel-2); border-color: transparent; }
[data-look="daylight"] .btn:not(.primary):hover { border-color: var(--line); }
[data-look="studio"] .btn:not(.primary) { background: var(--panel-2); }
[data-look="studio"] .btn:hover { border-color: rgba(255, 255, 255, .32); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field input, .field select, .field textarea, input.in, select.in, textarea.in {
  background: var(--field); border: var(--bw) solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; outline: none; width: 100%; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus, .in:focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
[data-mode="light"] .field input:focus, [data-mode="light"] .in:focus, [data-look="switchboard"] .in:focus, [data-look="switchboard"] .field input:focus { border-color: var(--text); }
select option { background: var(--panel); color: var(--text); }
.err { color: var(--bad); min-height: 1.4em; margin: 0; }
.ok { color: var(--good-ink); }

/* sign-in pages */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth .panel { width: 100%; max-width: 420px; padding: 30px; }
.auth form > * + * { margin-top: 14px; }
.auth .btn { width: 100%; padding: 12px; min-height: 48px; }
.mark { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--mark) center / cover no-repeat; display: inline-block; vertical-align: middle; }
.wordmark { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: var(--head-weight) 21px/1 var(--f-head); letter-spacing: -.03em; }
[data-look="directory"] .wordmark { font-size: 30px; letter-spacing: 0; }
.wordmark .mark { width: 30px; height: 30px; }
.auth-foot { margin: 22px 0 0; padding-top: 16px; border-top: var(--bw) solid var(--line-soft); font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.auth-foot .mark { width: 18px; height: 18px; }
.auth-foot a { color: var(--text); }
.partner-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.partner-mark { width: 52px; height: 52px; border-radius: var(--r-sm); display: grid; place-items: center; flex: none; background: var(--text); color: var(--bg); font: 900 17px/1 var(--f-head); letter-spacing: -.02em; }
[data-look="directory"] .partner-mark { background: var(--acc); color: #111111; font-size: 20px; letter-spacing: 0; }
[data-look="switchboard"] .partner-mark { background: transparent; color: var(--text); border: 1px solid var(--text); }
[data-look="daylight"] .partner-mark { background: var(--bg); color: var(--text); }
.dialnum { flex: 1 1 220px; max-width: 320px; }

/* app shell: the workspace's own name and logo on top, Setterline small in the corner */
.shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; gap: 16px; padding: 16px; }
.nav { display: flex; flex-direction: column; gap: 4px; padding: 16px 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; padding: 4px 8px 18px; font-family: var(--f-head); font-size: 17px; text-transform: none; }
[data-look="directory"] .brand { font-size: 22px; font-weight: 800; }
.brand img { max-height: 30px; max-width: 120px; }
.nav a { text-decoration: none; padding: 9px 12px; min-height: 40px; display: flex; align-items: center; border-radius: var(--r-sm); color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--text); background: var(--panel-2); }
.nav a.on { color: var(--on-acc); background: var(--acc); font-weight: 700; }
[data-look="switchboard"] .nav a.on { background: var(--text); color: var(--bg); }
[data-look="daylight"] .nav a.on { background: var(--acc-soft); color: var(--text); }
[data-look="studio"] .nav a.on { color: var(--text); background: var(--acc-soft); box-shadow: inset 3px 0 0 var(--acc); font-weight: 600; }
.nav .foot { margin-top: auto; padding: 12px 8px 0; border-top: var(--bw) solid var(--line-soft); font-size: 13px; display: flex; flex-direction: column; gap: 8px; }
.nav .foot a { padding: 0; min-height: 0; display: inline; }
.nav .foot a.on { background: none; color: var(--text); box-shadow: none; text-decoration: underline; text-underline-offset: 3px; }
.nav .foot .links { display: flex; gap: 14px; flex-wrap: wrap; }
.powered { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.powered .mark { width: 16px; height: 16px; }
.modebtn { display: inline-flex; align-items: center; gap: 6px; background: none; border: var(--bw) solid var(--line); border-radius: var(--r-sm); padding: 4px 9px; cursor: pointer; color: var(--muted); font-size: 12px; font-weight: 600; }
.modebtn:hover { color: var(--text); border-color: var(--acc); }
.modebtn svg { width: 14px; height: 14px; }
/* Directory and Switchboard: the nav is a column on the floor with a rule, not a card (as drawn). */
[data-look="directory"] .nav.panel, [data-look="switchboard"] .nav.panel { background: transparent; border: 0; border-right: var(--bw) solid var(--line-soft); border-radius: 0; box-shadow: none; padding-left: 0; }
[data-look="directory"][data-mode="light"] .nav.panel { border-right-color: var(--line); }
[data-look="switchboard"] .nav.panel { border-right-color: var(--line); }
.main { min-width: 0; }
.main > .panel + .panel, .viewbox > .panel + .panel { margin-top: 16px; }

table.list { width: 100%; border-collapse: collapse; }
table.list th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: var(--bw) solid var(--line); }
table.list td { padding: 10px; border-bottom: 1px solid var(--line-soft); }
.pill { display: inline-block; padding: 1px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--panel-2); border: 1px solid var(--line); }
.pill.good { color: var(--good-ink); border-color: currentColor; }
.pill.warn { color: var(--warn); border-color: currentColor; }
[data-look="directory"] .pill { border-radius: 4px; }
[data-look="directory"]:not([data-mode="light"]) .pill.good { background: var(--good); color: var(--on-good); border-color: var(--good); }
[data-look="switchboard"] .pill { border-radius: 2px; font-family: var(--f-num); font-size: 11px; }

.dot { width: 9px; height: 9px; border-radius: 50%; background: #9a9a9a; display: inline-block; }
.dot.ring { background: var(--warn); animation: pulse 1s infinite; }
.dot.on { background: var(--good); }
.dot.off { background: var(--bad); }
@keyframes pulse { 50% { opacity: .3; } }
.timer { font: var(--num-weight) calc(34px * var(--num-scale))/1 var(--f-num); font-variant-numeric: tabular-nums; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--toast); color: var(--on-toast); padding: 10px 18px; border-radius: var(--r-sm); transition: .2s; pointer-events: none; z-index: 50; font-weight: 700; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--bad); color: var(--on-bad); }

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; padding: 10px; min-height: 0; align-content: start; }
  .dialnum { flex-basis: 100%; max-width: none; }
  .nav { flex-direction: row; flex-wrap: wrap; padding: 10px; }
  .brand { padding: 4px 8px; width: 100%; }
  .nav .foot { display: none; }
  [data-look="directory"] .nav.panel, [data-look="switchboard"] .nav.panel { border-right: 0; border-bottom: var(--bw) solid var(--line-soft); padding: 4px 0 12px; }
}

/* ---- call screen ---- */
.callbar { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; padding: 12px 18px; margin-bottom: 16px; }
.seg { display: inline-flex; border: var(--bw) solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.seg button { background: none; border: 0; padding: 7px 12px; cursor: pointer; color: var(--muted); font-weight: 700; }
.seg button.on { background: var(--acc); color: var(--on-acc); }
[data-look="switchboard"] .seg button.on { background: var(--text); color: var(--bg); }
[data-look="daylight"] .seg button.on { background: var(--acc-soft); color: var(--text); }
[data-look="studio"] .seg button.on { background: var(--acc-soft); color: var(--text); box-shadow: inset 0 -2px 0 var(--acc); }
.pace input[type=range] { accent-color: var(--acc); }
.callstate { margin-left: auto; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.callstate .timer { font-size: calc(22px * var(--num-scale)); min-width: 70px; text-align: right; }
/* connected: the talk timer turns live green (Directory: a huge scoreboard number) */
.callstate.on .timer { color: var(--good-ink); }
[data-look="directory"] .callstate .timer { font-size: 44px; line-height: .85; }
.cgrid { display: grid; gap: 16px; align-items: start; }
.cgrid.full { grid-template-columns: minmax(0, 1fr) var(--side-w, 320px); }
.cgrid.full.withq { grid-template-columns: 240px minmax(0, 1fr) var(--side-w, 320px); }
.cgrid.minimal { grid-template-columns: minmax(0, 860px); justify-content: center; }
.cgrid.minimal.withq { grid-template-columns: 240px minmax(0, 860px); }
.cmain { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cside { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cside .panel, .q { padding: 16px; }
.lead .lead-top { display: flex; justify-content: space-between; gap: 12px; }
.lead .co { margin: 0; font-size: 13px; color: var(--muted); }
.lead .co a { color: var(--text); text-decoration: none; font-weight: 700; }
.lead h1 { font-size: 36px; margin: 4px 0 2px; }
[data-look="directory"] .lead h1 { font-size: 64px; line-height: .9; margin: 8px 0 4px; }
.lead .title { margin: 0; color: var(--text-2); }
.lead .attempt { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.lead .attempt b { font: var(--num-weight) calc(20px * var(--num-scale))/1.1 var(--f-num); }
/* The numbers in dial order: a phone-book listing in Directory (label, dotted leader, number). */
.nums { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 16px 0; }
.num { border: var(--bw) solid var(--line); background: var(--panel-2); border-radius: var(--r-sm); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; text-align: left; cursor: pointer; color: var(--text); }
.num span { font-size: 12px; color: var(--muted); }
.num.on { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc); }
[data-mode="light"] .num.on, [data-look="switchboard"] .num.on { border-color: var(--text); box-shadow: 0 0 0 1px var(--text), inset 4px 0 0 var(--acc); }
[data-look="directory"] .nums { display: flex; flex-direction: column; gap: 4px; }
[data-look="directory"] .num { flex-direction: row; align-items: baseline; gap: 8px; background: none; border: 0; border-radius: var(--r-sm); padding: 6px 8px; color: var(--muted); font-size: 15px; }
[data-look="directory"] .num::after { content: ''; order: 1; flex: 1; border-bottom: 2px dotted var(--line); min-width: 24px; }
[data-look="directory"] .num span { order: 0; font-size: 15px; color: inherit; }
[data-look="directory"] .num b { order: 2; font: 700 22px/1 var(--f-num); color: inherit; letter-spacing: .01em; }
[data-look="directory"] .num:hover { background: var(--panel-2); }
[data-look="directory"] .num.on { color: var(--text); box-shadow: inset 4px 0 0 var(--acc); font-weight: 700; }
[data-look="directory"] .num.on::after { border-bottom-color: var(--muted); }
.controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.countdown { font: 600 15px var(--f-num); color: var(--warn); }
[data-look="directory"] .countdown { font-size: 22px; }
/* Outcome keys: the number big, like a scoreboard key, in Directory. */
.ob { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.o { border: var(--bw) solid var(--line); background: var(--panel-2); border-radius: var(--r-sm); padding: 13px 12px; min-height: 52px; cursor: pointer; font-weight: 700; display: flex; align-items: center; gap: 10px; text-align: left; color: var(--text); transition: transform .06s, border-color .12s; }
.o:hover { border-color: var(--acc); }
.o:active { transform: scale(.98); }
.o.good { background: var(--primary); border-color: transparent; color: var(--on-acc); }
.o.bad { color: var(--bad); }
[data-look="directory"] .o { border-color: transparent; min-height: 58px; }
[data-look="directory"]:not([data-mode="light"]) .o:not(.good) { background: var(--panel-2); }
[data-look="directory"][data-mode="light"] .o { border-color: var(--line); }
[data-look="directory"] .o:hover { border-color: var(--acc); }
[data-look="directory"] .o kbd { font: 900 30px/1 var(--f-num); border: 0; padding: 0; opacity: 1; min-width: 20px; color: var(--acc-ink); }
[data-look="directory"] .o.good kbd { color: var(--on-acc); }
[data-look="directory"] .o.bad kbd { color: var(--bad); }
kbd { font: 600 11px var(--f-num); border: 1px solid currentColor; border-radius: 4px; padding: 0 5px; opacity: .7; min-width: 18px; text-align: center; }
[data-look="switchboard"] .o kbd, [data-look="daylight"] .o kbd { border: 0; opacity: 1; background: var(--line-soft); color: var(--text); padding: 1px 7px; font-size: 12px; }
[data-look="switchboard"] .o.good kbd, [data-look="daylight"] .o.good kbd { background: rgba(255, 255, 255, .22); color: #ffffff; }
.inline { margin-top: 12px; background: var(--panel-2); }
.notes { resize: vertical; min-height: 80px; }
.person { padding: 6px 0; border-top: 1px solid var(--line-soft); }
.script { font-size: 13.5px; line-height: 1.6; margin: 0 0 6px; color: var(--text-2); white-space: pre-wrap; }
[data-look="directory"] .script { font-size: 16px; color: var(--text); }
.cside .lbl, .q .lbl, .callbar .lbl { color: var(--acc-ink); }
[data-look="studio"] .cside .lbl, [data-look="studio"] .q .lbl, [data-look="studio"] .callbar .lbl { color: var(--muted); }
details summary { cursor: pointer; padding: 4px 0; font-weight: 600; }
.hist { padding: 6px 0; border-top: 1px solid var(--line-soft); font-size: 13px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpi { border: var(--bw) solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; background: var(--panel); }
.kpi b { display: block; font: var(--num-weight) calc(24px * var(--num-scale))/1.15 var(--f-num); font-variant-numeric: tabular-nums; }
[data-look="directory"] .kpi b { font-size: 40px; line-height: .95; margin-bottom: 2px; }
.kpi span { font-size: 12px; color: var(--muted); }
.kpi.hi { background: var(--primary); border-color: transparent; color: var(--on-acc); }
.kpi.hi span { color: inherit; opacity: .85; }
[data-look="directory"]:not([data-mode="light"]) .kpi:not(.hi) { border-color: var(--line); background: transparent; }
.board { margin: 0; padding-left: 18px; font-size: 13px; }
.board li { padding: 3px 0; }
.board li span { display: inline-block; min-width: 50%; }
.cb, .qi { display: flex; flex-direction: column; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--line-soft); padding: 8px 4px; cursor: pointer; color: var(--text); }
.cb { display: block; font-size: 13px; }
.qi span { font-size: 12px; color: var(--muted); }
.qi.cur { background: var(--acc-soft); box-shadow: inset 3px 0 0 var(--acc); border-radius: var(--r-sm); }
.qi:hover, .cb:hover { background: var(--panel-2); border-radius: var(--r-sm); }
@media (max-width: 1100px) {
  .cgrid.full, .cgrid.full.withq, .cgrid.minimal.withq { grid-template-columns: minmax(0, 1fr); }
  .q { order: 3; }
  .callstate { margin-left: 0; }
}
.cside[hidden], .q[hidden] { display: none; }
@media (max-width: 600px) {
  .ob { grid-template-columns: 1fr 1fr; }
  .o { padding: 11px 9px; font-size: 13px; }
  .lead h1 { font-size: 28px; }
  [data-look="directory"] .lead h1 { font-size: 44px; }
  [data-look="directory"] .num b { font-size: 18px; }
  /* Wide tables scroll inside their panel instead of pushing the whole page sideways (phase 6 phone pass). */
  table.list { display: block; overflow-x: auto; max-width: 100%; }
}
select.in, input.in { max-width: 100%; }
.ringpop { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: min(380px, calc(100vw - 32px)); background: var(--pop); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); border-color: var(--acc); animation: ringin .25s ease-out; }
@keyframes ringin { from { transform: translateY(20px); opacity: 0; } }
#cbcount { margin-left: 6px; background: var(--acc); border: 0; color: var(--on-acc); font-weight: 800; }
[data-look="studio"] #cbcount { background: var(--primary); color: #ffffff; }
.nav a.on #cbcount { background: var(--on-acc); color: var(--acc); }

/* ---- reports, meetings, charts ---- */
.kpis.wide { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.insight { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.insight.urgent { color: var(--warn); }
[data-look="studio"] .insight.urgent { color: #ffd2c2; }
.chartbox { width: 100%; }
.chart { width: 100%; height: auto; display: block; }
.donutbox { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.donutbox .chart { width: 240px; max-width: 100%; flex: none; }
.donutbox .legend { flex-direction: column; flex: 1; min-width: 180px; }
.chart .grid { stroke: var(--chart-grid); }
.chart .axis { fill: var(--chart-axis); font: 11px var(--f-body); }
.chart .lbl2 { fill: var(--text-2); font-size: 12px; }
.chart .big { fill: var(--text); font: var(--num-weight) calc(26px * var(--num-scale)) var(--f-num); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); margin-top: 6px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.tablewrap { overflow-x: auto; }
.meter { width: 80px; height: 8px; border-radius: 99px; background: var(--line-soft); overflow: hidden; flex: none; }
.meter i { display: block; height: 100%; background: var(--primary); }
.report { max-width: 1000px; margin: 0 auto; padding: 24px 16px 40px; display: flex; flex-direction: column; gap: 16px; }
@media print {
  body { background: #fff !important; color: #111; }
  .nav, .callbar button, .callbar select, .toast, .ringpop { display: none !important; }
  .shell { display: block; padding: 0; }
  .panel { background: #fff !important; border-color: #ddd !important; backdrop-filter: none; break-inside: avoid; color: #111; box-shadow: none; }
  .muted, .lbl, .chart .axis, .chart .lbl2 { color: #555 !important; fill: #555 !important; }
  .chart .big { fill: #111 !important; }
  .kpi.hi { background: #fff7d6 !important; color: #111 !important; }
}

/* ---- scripts, sources, live ---- */
.scriptgrid { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 16px; align-items: start; }
@media (max-width: 860px) { .scriptgrid { grid-template-columns: 1fr; } }
.lead .source { font-size: 12px; margin: 8px 0 0; max-width: 70ch; }
.warn-text { color: var(--warn); }
.pill.off { opacity: .6; }
.mark.logo { background-size: contain; background-position: center; background-repeat: no-repeat; background-color: transparent; border-radius: 6px; }
.tabs { gap: 6px; }
.flags { display: grid; grid-template-columns: repeat(3, auto); gap: 3px 12px; font-size: 12px; min-width: 330px; }
.btn.mini { padding: 6px 10px; min-height: 32px; }
.flags label { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
table.outcomes td { vertical-align: middle; }
/* ---- deals ---- */
.kanbanwrap { overflow-x: auto; padding-bottom: 6px; }
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(148px, 1fr); gap: 10px; min-width: min-content; }
.bcol { background: var(--panel); border: var(--bw) solid var(--line); border-top: 3px solid var(--line); border-radius: var(--r); padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 160px; }
.bcol.won { border-top-color: var(--good); } .bcol.lost { border-top-color: var(--bad); }
.bcol.over { border-color: var(--acc); background: var(--acc-soft); }
.bhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 8px; font-size: 13px; padding: 2px 2px 4px; }
.bhead b { overflow-wrap: anywhere; }
.dcard b { overflow-wrap: anywhere; }
a.btn { text-decoration: none; display: inline-flex; align-items: center; }
.dcard { display: flex; flex-direction: column; gap: 4px; background: var(--panel-2); border: var(--bw) solid var(--line); border-radius: var(--r-sm); padding: 10px; color: var(--text); text-decoration: none; cursor: grab; font-size: 14px; }
.dcard:hover { border-color: var(--acc); }
.dcard.drag { opacity: .5; }
.stagebar { gap: 6px; }
th.sortable { cursor: pointer; user-select: none; }
.lostask { max-width: 420px; }

/* ---- appearance: one card per look, drawn in that look's own colours ---- */
.looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.look { display: flex; flex-direction: column; gap: 10px; text-align: left; padding: 12px; cursor: pointer; background: var(--panel-2); border: var(--bw) solid var(--line); border-radius: var(--r); color: var(--text); }
.look:hover { border-color: var(--acc); }
.look[aria-pressed="true"] { border-color: var(--acc); box-shadow: 0 0 0 2px var(--acc); }
[data-mode="light"] .look[aria-pressed="true"], [data-look="switchboard"] .look[aria-pressed="true"] { border-color: var(--text); box-shadow: 0 0 0 2px var(--text); }
.look .sw { height: 86px; border-radius: 6px; display: flex; flex-direction: column; justify-content: space-between; padding: 10px 12px; overflow: hidden; }
.look .sw b { font-size: 26px; line-height: 1; }
.look .sw span { display: flex; gap: 6px; }
.look .sw i { width: 18px; height: 18px; border-radius: 50%; display: inline-block; }
.look .nm { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 700; font-size: 15px; }
.look p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---- security: the setup QR and the recovery codes ---- */
.qrwrap { background: #ffffff; border-radius: var(--r-sm); padding: 8px; display: inline-block; align-self: flex-start; }
.qrwrap img { display: block; image-rendering: pixelated; }
.recovery { font-family: ui-monospace, Consolas, monospace !important; font-weight: 600 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px 14px; padding: 12px 14px; background: var(--panel-2); border: var(--bw) solid var(--line); border-radius: var(--r-sm); font-size: 15px; }
.auth .code[hidden] { display: none; }

/* the hidden attribute always wins over component display rules (it lost to .pill, .cside and .q before) */
[hidden] { display: none !important; }

/* Playbooks (2026-11-02) */
.pb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.pb-list { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.pb-main { min-height: 52px; padding: 12px 26px; font-size: 17px; }
.pb-log:empty { display: none; }
.pb-step { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.pb-step .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--acc); flex: none; animation: pbpulse 1s infinite alternate; }
.pb-step.ok .dot { background: var(--good); animation: none; }
.pb-step.bad .dot { background: var(--bad); animation: none; }
.pb-step.bad { color: var(--bad); }
@keyframes pbpulse { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pb-step .dot { animation: none; } }
.kvrow { display: grid; grid-template-columns: 150px 1fr; gap: 10px; font-size: 14px; }
@media (max-width: 640px) { .kvrow { grid-template-columns: 1fr; gap: 2px; } .pb-grid { grid-template-columns: 1fr; } }
.qi.variant { margin-left: 16px; }
.row.wrap > .grow { min-width: 220px; }

/* André's notes (2026-11-04): links on the lead, editing mid-call, a colleague, the number we call from, the dial pad. */
.btn.sm { padding: 5px 10px; font-size: 12.5px; min-height: 0; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--acc-ink); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.leadtools { margin: 10px 0 2px; gap: 8px; flex-wrap: wrap; }
.extlink { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; padding: 3px 9px; border: 1px solid var(--line-soft); border-radius: 99px; text-decoration: none; color: var(--text-2); max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.extlink:hover { border-color: var(--acc); color: var(--text); }
.editbox .grid2 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.editrow { flex-wrap: nowrap; gap: 8px; }
.editrow .in { min-width: 0; }
.callstate .from { font: 600 13px var(--f-body); letter-spacing: 0; color: var(--text-2); }
@media (max-width: 720px) { .callstate .from { display: none; } }
input.masked { -webkit-text-security: disc; text-security: disc; font-family: var(--f-num); letter-spacing: .08em; }
.dialpad { position: fixed; right: 18px; bottom: 92px; width: 300px; max-width: calc(100vw - 32px); z-index: 40; display: flex; flex-direction: column; gap: 10px; background: var(--pop); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55); }
.dialpad[hidden] { display: none; }
.dp-num { font-size: 20px !important; letter-spacing: .04em; }
.dp-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dp-key { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 54px; background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: var(--r-sm); cursor: pointer; color: var(--text); }
.dp-key b { font: var(--num-weight) 22px/1 var(--f-num); }
.dp-key small { font-size: 9.5px; letter-spacing: .14em; color: var(--muted); min-height: 11px; }
.dp-key:hover { border-color: var(--acc); }
.dp-key:active { background: var(--acc-soft); }
@media (max-width: 520px) { .dialpad { right: 16px; left: 16px; width: auto; bottom: 12px; } }

/* The crew (2026-11-04): faces, the dock on the call screen, the Crew page, Practice. --agent is each agent's colour. */
.avatar { flex: none; display: block; }
.crewdock { position: fixed; left: 18px; bottom: 18px; z-index: 45; display: flex; flex-direction: column; gap: 10px; width: 360px; max-width: calc(100vw - 32px); pointer-events: none; }
.cbubble { pointer-events: auto; position: relative; display: flex; gap: 10px; align-items: flex-start; background: var(--pop); border: var(--bw) solid var(--line); border-left: 5px solid var(--agent); border-radius: var(--r); padding: 12px 34px 12px 12px; box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .6); animation: cb-in .28s cubic-bezier(.2, .9, .3, 1.2); }
.cbubble .avatar { animation: cb-bob 2.4s ease-in-out infinite; }
.cb-body { min-width: 0; flex: 1; }
.cb-body p { margin: 2px 0 0; }
.cb-who { display: flex; gap: 8px; align-items: baseline; }
.cb-who span { font-size: 12px; }
.cb-btns { margin-top: 8px; gap: 6px; }
.cb-body textarea { margin-top: 4px; }
.cb-x { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; line-height: 1; }
@keyframes cb-in { from { transform: translateY(14px) scale(.96); opacity: 0; } }
@keyframes cb-bob { 50% { transform: translateY(-3px) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .cbubble, .cbubble .avatar, .crewfaces .avatar { animation: none !important; } }
@media (max-width: 520px) { .crewdock { left: 12px; right: 12px; width: auto; bottom: 12px; } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: conf 2s cubic-bezier(.25, .6, .4, 1) forwards; }
@keyframes conf { to { top: 105vh; transform: translateX(40px) rotate(720deg); opacity: .9; } }
.crewpanel { border-top: 4px solid var(--agent); }
.crewpanel + .crewpanel { margin-top: 12px; }
.cside .crewpanel { margin-bottom: 16px; }
.brief p { margin: 4px 0; }
.brief ul { margin: 4px 0 6px; padding-left: 18px; }
.brief-open { background: var(--acc-soft); padding: 8px 10px; border-radius: var(--r-sm); }
.crewhero { text-align: left; overflow: hidden; }
.crewfaces { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.crewfaces .avatar { animation: cb-bob 3s ease-in-out infinite; animation-delay: calc(var(--i) * .18s); }
.crewgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; margin: 16px 0; }
.crewcard { display: flex; flex-direction: column; gap: 10px; border-top: 5px solid var(--agent); }
.crewcard.off { opacity: .62; }
.crewcard h3 { font-size: 22px; margin: 0; }
.crewline { font-style: italic; color: var(--text-2); margin: 0; }
.crewdoes { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 13px; }
.crewtools { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; margin-bottom: 16px; align-items: start; }
.crewtools .crewpanel + .crewpanel { margin-top: 0; }
.finding { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.finding:first-child { border-top: 0; }
.finding .pill { flex: none; text-transform: uppercase; font-size: 10.5px; }
.pill.bad { color: var(--bad); border-color: currentColor; }
.hourbars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; height: 110px; align-items: end; }
.hb { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 3px; }
.hb i { display: block; width: 100%; background: var(--agent, var(--acc)); border-radius: 3px 3px 0 0; min-height: 2px; }
.hb span { font-size: 10px; color: var(--muted); }
.feedrow { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.practicelog { min-height: 260px; max-height: 52vh; overflow: auto; display: flex; flex-direction: column; gap: 8px; padding: 4px; }
.pline { display: flex; gap: 8px; align-items: flex-end; max-width: 80%; }
.pline p { margin: 0; padding: 9px 12px; border-radius: 14px; background: var(--panel-2); }
.pline.me { align-self: flex-end; }
.pline.me p { background: var(--acc); color: var(--on-acc); }
.pline.sys { align-self: center; max-width: 100%; }
.pline.sys p { background: none; color: var(--muted); font-size: 12.5px; }
.bigscore { font: var(--num-weight) calc(44px * var(--num-scale))/1 var(--f-num); }
.practiceform { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }

/* Remy and the phone screen (2026-11-04) */
.remyfab { position: fixed; right: 18px; bottom: 18px; z-index: 44; width: 62px; height: 62px; border-radius: 50%; border: var(--bw) solid var(--line); background: var(--pop); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .6); }
.remyfab:hover { border-color: var(--acc); }
.remyfab .avatar { animation: cb-bob 3s ease-in-out infinite; }
.remypanel { position: fixed; right: 18px; bottom: 92px; z-index: 46; width: 400px; max-width: calc(100vw - 32px); max-height: min(640px, calc(100vh - 120px)); display: flex; flex-direction: column; gap: 10px; background: var(--pop); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .65); }
.remychat { display: flex; flex-direction: column; gap: 8px; min-height: 0; flex: 1; }
.remylog { flex: 1; min-height: 160px; max-height: 420px; overflow: auto; display: flex; flex-direction: column; gap: 8px; }
.rmsg { display: flex; gap: 8px; align-items: flex-end; max-width: 92%; }
.rmsg p { margin: 0; padding: 9px 12px; border-radius: 14px; background: var(--panel-2); white-space: pre-line; }
.rmsg.me { align-self: flex-end; }
.rmsg.me p { background: var(--acc); color: var(--on-acc); }
.rmsg.wait p { color: var(--muted); font-style: italic; }
.remychips { gap: 6px; }
.remychips .btn { font-size: 12px; }
@media (max-width: 520px) { .remypanel { right: 8px; left: 8px; width: auto; bottom: 84px; } .remyfab { right: 12px; bottom: 12px; } }
body.pocketmode .crewdock { bottom: 12px; }
.pocket { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.pockethead { display: flex; gap: 12px; align-items: center; padding: 4px 2px; }
.pockethead h1 { margin: 2px 0 0; }
.pstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pstat { background: var(--panel); border: var(--bw) solid var(--line-soft); border-radius: var(--r); padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.pstat b { font: var(--num-weight) calc(24px * var(--num-scale))/1 var(--f-num); }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pbtn { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: var(--r); background: var(--panel); border: var(--bw) solid var(--line-soft); text-decoration: none; color: var(--text); }
.pbtn span { color: var(--muted); font-size: 12.5px; }
.pbtn.primary { background: var(--acc); color: var(--on-acc); border-color: var(--acc); }
.pbtn.primary span { color: var(--on-acc); opacity: .75; }
.trow { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.tdot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.tdot.available { background: var(--good); } .tdot.on_call { background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); } .tdot.away { background: var(--warn); }
@media (max-width: 400px) { .pstats { grid-template-columns: 1fr 1fr; } }
/* on a phone, the pocket screen is the app: the full menu folds behind a button */
@media (max-width: 700px) { body.pocketmode:not(.navopen) #nav { display: none; } }
.pmenu { margin-left: auto; }
@media (min-width: 701px) { .pmenu { display: none; } }

/* the studio: library, automations (2026-11-04) */
.flowcard { margin-bottom: 12px; }
.flowcard.off { opacity: .7; }
.flowcard h3 { margin: 0; font-size: 18px; }
.flowsteps { margin: 10px 0 0; padding-left: 22px; color: var(--text-2); }
.flowsteps li { margin: 3px 0; }
.flowstep { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line-soft); border-radius: var(--r-sm); background: var(--panel-2); }
.stepno { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--acc); color: var(--on-acc); display: flex; align-items: center; justify-content: center; font: 800 13px var(--f-num); }
.flowedit { border-top: 4px solid var(--acc); margin-bottom: 16px; }
.switch { position: relative; width: 44px; height: 24px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: var(--line); transition: .15s; }
.switch i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text); transition: .15s; }
.switch input:checked + i { background: var(--good); }
.switch input:checked + i::after { left: 23px; background: #fff; }

/* live assist (2026-11-04) */
.liveassist { border-left: 4px solid var(--good); }
.livedot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); animation: blink 1.2s ease-in-out infinite; vertical-align: 1px; }
@keyframes blink { 50% { opacity: .3; } }
.livelines { display: flex; flex-direction: column; gap: 4px; max-height: 180px; overflow: auto; }
.ll { margin: 0; font-size: 14px; } .ll.me { color: var(--muted); } .ll.them { font-weight: 600; }
.livecards { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.livecard { background: var(--acc-soft); border: 1px solid var(--acc); border-radius: var(--r-sm); padding: 10px 12px; animation: cb-in .25s ease-out; }

/* multi-line (2026-11-04) */
.plines .plist { display: flex; flex-direction: column; gap: 6px; }
.plines .pline { display: grid; grid-template-columns: 12px minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: center; max-width: none; padding: 8px 10px; border: 1px solid var(--line-soft); border-radius: var(--r-sm); }
.plines .pline.answered { border-color: var(--good); }

/* integrations (2026-11-04) */
.intcard { margin-top: 16px; }
.intcard.on { border-left: 4px solid var(--good); }
.intlogo { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--acc); color: var(--on-acc); display: flex; align-items: center; justify-content: center; font: 900 16px var(--f-head); }

/* live coaching (coach.js) */
.coachbanner { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 55; display: flex; align-items: center; gap: 10px; width: min(560px, calc(100vw - 32px)); padding: 8px 10px 8px 14px; background: var(--pop); border: var(--bw) solid var(--line); border-radius: var(--r); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .55); font-weight: 600; }
.coachbanner:not(.live) { width: auto; }
.coachbanner.live { border-color: var(--acc); }
.coachbanner .cb-text:empty { display: none; }
.coachbar { position: fixed; top: 12px; right: 18px; z-index: 55; width: 380px; max-width: calc(100vw - 32px); display: flex; flex-direction: column; gap: 8px; background: var(--pop); border-color: var(--acc); box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .6); }
.coachrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.coachrow:first-child { border-top: 0; padding-top: 0; }
.coachrow.help b { color: var(--warn); }

/* ---- the person card (person.js) ---------------------------------------------------------------------------------------------- */
.btn.ghost { background: transparent; border-color: var(--line-soft); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 600; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.chip:hover { border-color: var(--acc); color: var(--acc-ink); }
.pface { flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; font-family: var(--f-head); font-weight: 800; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 62% 48%), hsl(calc(var(--h) + 40) 62% 34%)); letter-spacing: .02em; }
.phead h1 { overflow-wrap: anywhere; }
.pcols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.pcard h2 { font-size: 1.05rem; }
.ptiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.ptile { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: var(--r-sm); background: var(--panel-2); min-width: 0; }
.ptile b { font-family: var(--f-num); font-weight: var(--num-weight); font-size: calc(1.35rem * var(--num-scale)); line-height: 1.1; }
.ptile .spark { width: 100%; height: 26px; margin-top: 4px; }
.fact { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 6px 0; border-top: 1px solid var(--line-soft); }
.fact:first-of-type { border-top: 0; }
.fact .grow { flex: 1 1 240px; }
.fact.hook .grow { font-weight: 600; }
.fact .src { font-size: 12px; color: var(--acc-ink); text-decoration: none; }
.fact .by { font-size: 11.5px; }
.fact .x { text-decoration: none; font-size: 16px; line-height: 1; color: var(--muted); }
.addfact { align-items: stretch; flex-wrap: wrap; padding-top: 10px; border-top: 1px dashed var(--line-soft); }
.addfact .grow { flex: 1 1 260px; }
.pgrid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 12px; }
.plink { display: block; text-decoration: none; color: inherit; padding: 6px 0; border-top: 1px solid var(--line-soft); }
.plink:first-of-type { border-top: 0; }
.plink:hover b { color: var(--acc-ink); }
.angle { border-left: 4px solid var(--agent); }
.aread { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.gauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px 18px; }
.gauge { display: grid; grid-template-columns: 96px 1fr 44px; align-items: center; gap: 8px; }
.gauge .lbl { margin: 0; }
.gbar { height: 8px; border-radius: 99px; background: var(--panel-2); border: 1px solid var(--line-soft); overflow: hidden; }
.gbar i { display: block; height: 100%; background: var(--acc); border-radius: 99px; }
.gauge b { font-family: var(--f-num); font-weight: var(--num-weight); text-align: right; }
.hookline { margin: 0 0 4px; font-weight: 600; }
.coachline { margin: 0; padding: 8px 12px; border-radius: var(--r-sm); background: var(--acc-soft); color: var(--text); }
.radarbox svg { width: 100%; }
.pdrawer { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .45); display: flex; justify-content: flex-end; }
.pdrawer-in { width: min(720px, 100vw); height: 100%; overflow-y: auto; background: var(--bg); background-image: var(--bg-fx); border-left: var(--bw) solid var(--line); padding: 16px; box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .6); }
@media (max-width: 860px) {
  .pcols { grid-template-columns: minmax(0, 1fr); }
  .gauge { grid-template-columns: 76px 1fr 36px; }
}
.melink { display: block; color: inherit; text-decoration: none; } .melink:hover b { color: var(--acc-ink); }

/* ---- your own tools (connect.js) ---------------------------------------------------------------------------------------------- */
.codebox { margin: 6px 0 0; padding: 12px 14px; background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: var(--r-sm); font: 12.5px/1.55 ui-monospace, 'SF Mono', Consolas, monospace; white-space: pre; overflow-x: auto; max-width: 100%; }
.keyrow { gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.keyrow:first-child { border-top: 0; }
.keyrow.off { opacity: .55; }
.onceshown { border-color: var(--acc); }
.appframe { height: calc(100vh - 36px); }
.appiframe { width: 100%; height: 100%; border: var(--bw) solid var(--line); border-radius: var(--r); background: #fff; }
.cardiframe { width: 100%; height: 420px; border: 1px solid var(--line-soft); border-radius: var(--r-sm); background: #fff; margin-top: 8px; }

/* ---- the workspace (workspace.js): density, and the editor -------------------------------------------------------------------- */
[data-density="compact"] .panel { padding: 12px 14px; }
[data-density="compact"] .stack { gap: 8px; }
[data-density="compact"] .main { gap: 10px; }
[data-density="compact"] .nav a[data-v] { padding-top: 5px; padding-bottom: 5px; }
[data-density="spacious"] .panel { padding: 28px 30px; }
[data-density="spacious"] .stack { gap: 20px; }
[data-density="spacious"] .nav a[data-v] { padding-top: 11px; padding-bottom: 11px; }
.wsgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.wslist { display: flex; flex-direction: column; gap: 4px; }
.wsrow { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.wsrow .in { padding-top: 5px; padding-bottom: 5px; }
.wscolor { width: 44px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: none; cursor: pointer; }
@media (max-width: 860px) { .wsgrid { grid-template-columns: minmax(0, 1fr); } }
[data-density="compact"] .nav a[data-v] { min-height: 32px; }

/* ---- interactive charts (charts.js) */
.ctip { position: fixed; z-index: 80; pointer-events: none; padding: 6px 10px; border-radius: var(--r-sm); background: var(--pop); color: var(--text); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; box-shadow: 0 10px 28px -12px rgba(0, 0, 0, .5); max-width: 280px; }
svg.chart .hot { cursor: pointer; }
svg.chart .hot:hover { opacity: .8; }
.legtoggle { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.legtoggle[aria-pressed="false"] { opacity: .4; text-decoration: line-through; }
svg.chart.ring { width: 120px; height: 120px; }

/* ---- insights and the report studio (insights.js, reportstudio.js) */
.insgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; margin-top: 16px; }
.insgrid .span-2 { grid-column: span 2; } .insgrid .span-all { grid-column: 1 / -1; }
.itiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.itile { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: var(--r-sm); background: var(--panel-2); min-width: 0; }
.itile b { font-family: var(--f-num); font-weight: var(--num-weight); font-size: calc(1.6rem * var(--num-scale)); line-height: 1.05; }
.itile .delta { font-size: 12px; font-weight: 700; color: var(--muted); min-height: 16px; } .itile .delta.up { color: var(--good-ink); } .itile .delta.down { color: var(--bad); }
.itile .spark { width: 100%; height: 28px; margin-top: 4px; }
.rings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; justify-items: center; } .ringbox { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.chips { gap: 6px; } .chips:empty { display: none; } button.chip { cursor: pointer; }
.readcols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .goodlist li::marker { color: var(--good-ink); } .badlist li::marker { color: var(--bad); }
.listbar .gbar { margin-top: 4px; }
canvas.brain { width: 100%; display: block; border-radius: var(--r-sm); background: var(--panel-2); border: 1px solid var(--line-soft); touch-action: none; }
.rstudio { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 16px; align-items: start; }
.rside { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.rpreview { background: #e9e7e1; border-radius: var(--r); padding: 24px 16px; min-height: 60vh; } .rframe { width: 100%; min-height: 80vh; border: 0; background: #fff; border-radius: 6px; }
.blk { font-size: 12px; font-weight: 700; min-width: 92px; color: var(--muted); }
@media (max-width: 1100px) { .insgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .insgrid, .rstudio, .readcols { grid-template-columns: minmax(0, 1fr); } .insgrid .span-2 { grid-column: auto; } .rside { position: static; max-height: none; } }

/* ---- 2026-11-06: André's core calling list ---- */
/* the menu folds away */
.brand { position: relative; }
.navtoggle { margin-left: auto; background: none; border: var(--bw) solid var(--line-soft); color: var(--muted); border-radius: var(--r-sm); width: 28px; height: 28px; line-height: 1; font-size: 18px; cursor: pointer; flex: none; }
.navtoggle:hover { color: var(--text); border-color: var(--line); }
.shell.navmin { grid-template-columns: 44px 1fr; }
.shell.navmin .nav { padding: 12px 6px; overflow: hidden; }
.shell.navmin .nav > :not(.brand), .shell.navmin .brand > :not(.navtoggle) { display: none; }
.shell.navmin .brand { padding: 0; justify-content: center; }
.shell.navmin .navtoggle { margin: 0; }
@media (max-width: 860px) { .shell.navmin { grid-template-columns: 1fr; } .shell.navmin .nav { padding: 6px; } }
/* the view an admin is in */
.viewbar { position: sticky; top: 0; z-index: 40; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 8px 16px; background: var(--acc-soft); border-bottom: var(--bw) solid var(--acc); color: var(--text); font-size: 13px; }
.viewswitch { display: flex; flex-direction: column; gap: 4px; }
.viewsel { font-size: 13px; padding: 6px 8px; }
/* the call screen: notes and previous calls at the top */
.notesrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin: 14px 0 6px; }
.notesrow .notes { min-height: 96px; resize: vertical; font-size: 15px; }
.prevlist { display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow: auto; padding-right: 4px; }
.prev { border-left: 3px solid var(--line); padding: 2px 0 2px 10px; font-size: 13px; }
.prev.pin { border-left-color: var(--acc); }
.prevbody { white-space: pre-wrap; color: var(--text-2); }
.leadnav { display: flex; align-items: center; gap: 6px; justify-content: flex-end; margin-bottom: 6px; }
@media (max-width: 860px) { .notesrow { grid-template-columns: 1fr; } }
/* everyone at the company */
.peoplepanel table.people td { vertical-align: top; padding: 6px 8px; }
.peoplepanel tr.cur td { background: var(--acc-soft); }
.peoplepanel tr.cur .linkbtn { color: var(--text); font-weight: 700; cursor: default; }
.rolesel { font-size: 12px; padding: 4px 6px; width: auto; }
/* recording */
.recpill { color: var(--bad); border-color: var(--bad); }
.warnbox { border: var(--bw) solid var(--warn); background: color-mix(in srgb, var(--warn) 10%, transparent); padding: 10px 12px; border-radius: var(--r-sm); }
/* the side column: resizable and every panel folds */
.cside { position: relative; }
.sidegrip { position: absolute; left: -12px; top: 0; bottom: 0; width: 8px; cursor: col-resize; border-radius: 4px; }
.sidegrip:hover, .sidegrip:focus-visible { background: var(--acc-soft); outline: none; }
.panel.hasfold { position: relative; }
.pfold { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1; border-radius: var(--r-sm); z-index: 1; }
.pfold:hover { color: var(--text); background: var(--panel-2); }
.panel.folded > :not(.pfold):not(:nth-child(2)) { display: none; }
.panel.folded { padding-bottom: 10px; }
@media (max-width: 1100px) { .sidegrip { display: none; } }
/* campaigns: client, project, lists */
.tree .cl { margin-top: 18px; }
.tree .cl:first-child { margin-top: 0; }
.tree .pr { margin: 10px 0 0 14px; padding-left: 12px; border-left: var(--bw) solid var(--line-soft); }
.tree table.list td, .tree table.list th { padding: 6px 8px; }
.tree .nc { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.inlineedit { border: 1px dashed transparent; padding: 2px 4px; border-radius: 4px; cursor: text; }
.inlineedit:hover { border-color: var(--line); }
/* export */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: var(--bw) solid var(--line-soft); border-radius: 999px; padding: 4px 10px; font-size: 13px; cursor: pointer; user-select: none; }
.chip input { margin: 0; }
.chip:has(input:checked) { border-color: var(--acc); background: var(--acc-soft); }
.ruleline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 8px 10px; border: var(--bw) solid var(--line-soft); border-radius: var(--r-sm); }
.tablewrap { overflow: auto; max-height: 420px; border: var(--bw) solid var(--line-soft); border-radius: var(--r-sm); }
.tablewrap table { font-size: 12px; white-space: nowrap; }
/* the AI helpers switched off for the workspace */
html.noai .remyfab, html.noai .cbubble, html.noai .crewdock { display: none !important; }
@media (max-width: 600px) {
  .peoplepanel table.people tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .peoplepanel table.people td:nth-child(3) { grid-column: 1 / -1; padding-top: 0; }
  .rolesel { min-width: 140px; }
}
/* scripts: cues are never read aloud, stress stands out, their name lights up; key points first */
.script .sline { white-space: pre-wrap; margin: 0 0 4px; }
.script .shead { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; color: var(--muted); margin: 10px 0 4px; }
.script .cue { display: inline-block; font-style: italic; font-size: .82em; color: var(--acc-ink, var(--acc)); background: var(--acc-soft); border-radius: 4px; padding: 0 6px; margin: 0 4px 0 0; user-select: none; }
.script .cue::before { content: '('; } .script .cue::after { content: ')'; }
.script .stress { font-weight: 800; text-decoration: underline; text-decoration-color: var(--acc); text-underline-offset: 3px; }
.script mark.hl { background: color-mix(in srgb, var(--acc) 22%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
.keypoints { border-left: 3px solid var(--acc); padding: 2px 0 2px 10px; margin: 0 0 8px; }
.keypoints ul { margin: 0; padding-left: 16px; font-size: 13px; }
.chipbtn { border: var(--bw) solid var(--line-soft); background: none; color: var(--muted); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
.chipbtn.on { color: var(--text); border-color: var(--acc); background: var(--acc-soft); }
.verrow { padding: 6px 0; border-bottom: var(--bw) solid var(--line-soft); flex-wrap: wrap; }
/* roles: templates as cards, the feature grid */
.tplgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tplcard { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; text-align: left; background: var(--panel-2); border: var(--bw) solid var(--line-soft); border-radius: var(--r-sm); padding: 12px 14px; color: var(--text); cursor: pointer; font: inherit; }
.tplcard:hover { border-color: var(--acc); }
.tplcard .muted { font-size: 13px; }
/* Setterline research: visibly apart from the card (dashed, its own tint) until a find is pushed out */
.findspanel { border-style: dashed; background: color-mix(in srgb, var(--panel) 88%, var(--acc) 4%); }
.findrow { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; border-bottom: var(--bw) solid var(--line-soft); font-size: 13px; }
.findrow:last-of-type { border-bottom: 0; }
.findrow.done { opacity: .6; }
.findrow b { font-weight: 600; word-break: break-word; }
.tallybox { background: var(--panel-2); }
/* the design studio */
.designgrid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.designside { position: sticky; top: 16px; }
.tokengrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 14px; }
.tokenrow { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.tokenrow input[type=color] { width: 40px; height: 32px; padding: 2px; border: var(--bw) solid var(--line); border-radius: var(--r-sm); background: var(--field, var(--panel-2)); cursor: pointer; }
@media (max-width: 960px) { .designgrid { grid-template-columns: 1fr; } .designside { position: static; } }
.tokenrow input.unset { opacity: .4; border-style: dashed; }
/* campaigns: the simple view's progress bar, the details and report-view editors */
.tree .bar { height: 6px; border-radius: 3px; background: var(--panel-2); overflow: hidden; margin-bottom: 3px; }
.tree .bar span { display: block; height: 100%; background: var(--acc); }
.detailsbox { background: var(--panel-2); margin: 8px 0; }
.tree td.listacts { min-width: 230px; }
.tree td.listacts .btn { margin: 2px 2px 2px 0; }

/* Monitor (floor.js): tiles with a comparison line, the team table, list states (0032) */
.kpi.tile { display: flex; flex-direction: column; gap: 2px; }
.kpi.tile .lbl { font-size: 10.5px; }
.kpi.tile b { order: 2; }
.delta { order: 3; font-size: 12px; color: var(--muted); }
.delta.up { color: var(--good-ink); }
.delta.down { color: var(--bad); }
.kpi.hi .delta, .kpi.hi .lbl { color: inherit; opacity: .85; }
.chip.on { border-color: var(--acc, var(--text)); background: var(--acc-soft, var(--panel-2)); }
.chip.oncall { border-color: var(--good-ink); color: var(--good-ink); }
td.nc, th.nc { text-align: right; font-variant-numeric: tabular-nums; }
td.neg { color: var(--bad); } td.pos { color: var(--good-ink); }
tr.total td { border-top: var(--bw) solid var(--line); font-weight: 700; }
tr.depth0 td { background: color-mix(in srgb, var(--panel-2) 55%, transparent); }
.statebar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--panel-2); border: 1px solid var(--line-soft); }
.statebar span, .legend i { display: block; height: 100%; }
.legend { gap: 14px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.s-free { background: #5aa9e6; } .s-grace { background: #b5a36a; } .s-callback { background: #9b7be0; } .s-quarantine { background: #e0868a; } .s-finished { background: #8a9099; }
.pricing .in { width: auto; min-width: 120px; }

/* Calling settings tree (floor.js callsettings) */
.settree { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1000px) { .settree { grid-template-columns: 1fr; } }
.tcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.tcol { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.titems { display: flex; flex-direction: column; gap: 2px; max-height: 460px; overflow: auto; }
.titem { display: flex; justify-content: space-between; align-items: center; gap: 6px; text-align: left; padding: 8px 10px; border-radius: var(--r-sm); border: 1px solid transparent; background: transparent; color: var(--text); cursor: pointer; font: inherit; }
.titem:hover { background: var(--panel-2); }
.titem.on { background: var(--acc-soft, var(--panel-2)); border-color: var(--acc, var(--line)); font-weight: 700; }
.titem.off { opacity: .55; }
.titem.ws { width: 100%; }
.setdot { width: 9px; height: 9px; border-radius: 50%; background: var(--warn); flex: none; }
.setrow { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px; border: 1px solid var(--line-soft); border-radius: var(--r-sm); flex-wrap: wrap; }
.setrow.focus { border-color: var(--warn); }
.setname { cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }

/* report drafts (floor.js) */
pre.draft { white-space: pre-wrap; font: 13px/1.5 var(--f-body); background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: var(--r-sm); padding: 12px 14px; margin: 0; max-height: 320px; overflow: auto; }
.panel.done { opacity: .7; }

/* clearer tables and labels in every look (owner 2026-11-11): roomier rows, a hover line, steadier header colour */
table.list td { padding: 11px 12px; }
table.list tbody tr:hover td { background: color-mix(in srgb, var(--acc-soft, var(--panel-2)) 60%, transparent); }
table.list th { color: var(--text-2); }
.lbl { color: var(--text-2); }
[data-look="studio"] .panel { box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 10px 30px rgba(10, 6, 24, .25); }

/* the vault box on the call screen (floor.js) */
.vault { border: 1px dashed var(--line); border-radius: var(--r-sm); padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
