/* AI With Tom OS — one visual system for every module.

   The palette is AI With Tom's, lifted from ~/Desktop/ai-with-tom-site/style.css
   so the OS and the website read as one thing: blue #2F6BFF on white, amber for
   attention, the site's own greys and hairlines, Inter + Space Mono.

   Light by default, exactly like the site, because most of this is numbers and
   they are easier to read on white. It follows the system setting unless Tom has
   picked one with the toggle, and that choice wins on every device he uses.

   Tokens on :root; every module uses these and nothing else. */

:root {
  /* --- surfaces, straight from the site --- */
  --bg: #f5f6f8;            /* site --surface, used as the page */
  --bg-2: #ffffff;          /* site --bg, used for cards */
  --bg-3: #eceef2;          /* hover + subtle fills */
  --line: #e3e5ea;          /* site --border */
  --line-2: #d3d7de;
  --rule: rgba(18,18,18,.11);

  /* --- text --- */
  --fg: #16181d;            /* site --text */
  --fg-2: #5d6470;          /* site --muted */
  --fg-3: #a0a5ae;          /* site --faint */

  /* --- brand --- */
  --accent: #2F6BFF;        /* site --accent */
  --accent-lt: #4D9CFF;
  --accent-tint: #EAF1FF;
  --accent-fg: #ffffff;

  /* --- meaning. Money is the whole point of this app, so these three carry
         real weight: good = received, warn = owed, bad = overdue or lost. --- */
  --ok: #1f6f43;            /* site --good */
  --ok-tint: #e9f3ed;
  --warn: #E8952B;          /* site --amber */
  --warn-tint: #FFF4E0;
  --bad: #9b2c2c;           /* site --bad */
  --bad-tint: #fbeaea;
  --info: #2F6BFF;

  --shadow: 0 8px 26px rgba(14,21,36,.10);
  --shadow-sm: 0 1px 2px rgba(14,21,36,.05);
  --radius: 14px;
  --radius-s: 9px;
  --sidebar: 232px;

  /* Motion. One easing for entrances (decelerate), one for exits (accelerate),
     one spring-ish for anything that should feel physical. Durations are short
     on purpose: a working tool should feel instant, not animated. */
  --e-out: cubic-bezier(.16, .84, .44, 1);
  --e-in: cubic-bezier(.4, 0, 1, 1);
  --e-spring: cubic-bezier(.22, 1.2, .36, 1);
  --t-fast: .13s;
  --t: .22s;
  --t-slow: .34s;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

/* Dark: the site's own dark-mode values. Follows the system unless Tom has
   explicitly chosen light, and the explicit dark choice below always wins. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0e12; --bg-2: #171920; --bg-3: #1e212a; --line: #282b34; --line-2: #363a45;
    --rule: rgba(233,235,240,.10);
    --fg: #e9ebf0; --fg-2: #99a0ac; --fg-3: #767d89;
    --accent: #7ea6ff; --accent-lt: #9dbcff; --accent-tint: #141c31; --accent-fg: #0d0e12;
    --ok: #5fc98c; --ok-tint: #152f1e;
    --warn: #e0a469; --warn-tint: #2a2013;
    --bad: #f08b8b; --bad-tint: #2b1717;
    --info: #7ea6ff;
    --shadow: 0 10px 30px rgba(0,0,0,.45); --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0e12; --bg-2: #171920; --bg-3: #1e212a; --line: #282b34; --line-2: #363a45;
  --rule: rgba(233,235,240,.10);
  --fg: #e9ebf0; --fg-2: #99a0ac; --fg-3: #767d89;
  --accent: #7ea6ff; --accent-lt: #9dbcff; --accent-tint: #141c31; --accent-fg: #0d0e12;
  --ok: #5fc98c; --ok-tint: #152f1e;
  --warn: #e0a469; --warn-tint: #2a2013;
  --bad: #f08b8b; --bad-tint: #2b1717;
  --info: #7ea6ff;
  --shadow: 0 10px 30px rgba(0,0,0,.45); --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 14px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; min-height: 100vh;
}
a { color: var(--info); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--accent-tint); color: var(--fg); }

/* ---------- layout ---------- */
.shell { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; border-right: 1px solid var(--rule);
  background: var(--bg-2); padding: 18px 14px; display: flex; flex-direction: column; gap: 6px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 16px; }
.brand .logo { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; flex: none; }
.brand .logo svg { display: block; }
.brand h1 { font-size: 15px; margin: 0; letter-spacing: -.015em; white-space: nowrap; }
.brand small { display: block; color: var(--fg-3); font-size: 11px; }
.nav a {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius-s);
  color: var(--fg-2); font-weight: 500; transition: background .12s, color .12s;
}
.nav a:hover { background: var(--bg-3); color: var(--fg); text-decoration: none; }
.nav a { position: relative; }
/* The rail grows from the centre rather than snapping on — cheap, and it makes
   moving between views feel connected rather than like a page load. */
.nav a::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 2.5px; height: 0; border-radius: 2px;
  background: var(--accent); transform: translateY(-50%); transition: height var(--t) var(--e-spring);
}
.nav a.active::before { height: 60%; }
.nav a.active { background: var(--bg-3); color: var(--fg); }
.nav a:active { transform: translateX(1px); }
.nav a .ico { width: 18px; text-align: center; opacity: .8; font-size: 15px; }
.nav a .ico:has(.biz-ico) { opacity: 1; display: inline-flex; }
.biz-ico { width: 18px; height: 18px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; object-fit: cover; font-style: normal; flex: none; overflow: hidden; }
img.biz-ico { box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.nav .group { margin: 14px 10px 4px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); font-weight: 700; }
.nav .chip { margin-left: auto; font-size: 10.5px; padding: 1px 7px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); color: var(--fg-3); }
.side .foot { margin-top: auto; padding: 10px 8px 0; display: flex; align-items: center; gap: 8px; color: var(--fg-3); font-size: 12px; }
.hidden-folder { margin-top: auto; }
.hidden-folder + .foot { margin-top: 0; }
.hidden-folder summary { cursor: pointer; list-style: none; user-select: none; }
.hidden-folder summary::-webkit-details-marker { display: none; }
.hidden-folder summary::after { content: '▸'; margin-left: 6px; }
.hidden-folder[open] summary::after { content: '▾'; }
.side .foot .who { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.main { min-width: 0; padding: 26px 32px 60px; }
.topbar {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap;
  position: sticky; top: 0; z-index: 20; padding: 12px 32px; margin: -26px -32px 14px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color var(--t) ease, background var(--t) ease;
}
.topbar.stuck { border-bottom-color: var(--line); }
.topbar h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; font-weight: 700; }
.topbar .sub { color: var(--fg-3); font-size: 13px; }
.topbar .spacer { flex: 1; }

/* ---------- primitives ---------- */
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t) ease, transform var(--t) var(--e-out), box-shadow var(--t) ease;
}
.card:hover { border-color: var(--line-2); }
.card h3 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--fg-2); letter-spacing: .01em; display: flex; align-items: center; gap: 8px; }
.card h3 .r { margin-left: auto; font-weight: 500; color: var(--fg-3); font-size: 12px; }
.grid { display: grid; gap: 14px; align-items: start; }
.span2 { grid-column: 1 / -1; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.tile {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
  min-height: 92px; display: flex; flex-direction: column; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t) ease, transform var(--t) var(--e-out), box-shadow var(--t) ease;
}
/* A one-pixel accent wash along the top edge, revealed on hover. Enough to make
   the tiles feel alive without decorating a page about money. */
.tile::after {
  content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: currentColor;
  opacity: 0; transform: scaleX(.3); transform-origin: left; transition: opacity var(--t) ease, transform var(--t-slow) var(--e-out);
}
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--shadow); } }
@media (hover: hover) and (pointer: fine) { .tile:hover::after { opacity: .5; transform: scaleX(1); } }
/* The class colours `currentColor` for the hover wash above; the children below
   set their own colours, so the tile text never inherits the accent. */
.tile.ok { color: var(--ok); } .tile.warn { color: var(--warn); } .tile.bad { color: var(--bad); } .tile.info { color: var(--info); }
.tile .k { font-family: var(--mono); font-size: 10px; color: var(--fg-2); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tile .v { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.tile .d { color: var(--fg-3); font-size: 12px; margin-top: auto; padding-top: 6px; }
.tile .k { color: var(--fg-3); } .tile .d { color: var(--fg-3); } .tile .v { color: var(--fg); }
.tile.ok .v { color: var(--ok); } .tile.warn .v { color: var(--warn); } .tile.bad .v { color: var(--bad); } .tile.info .v { color: var(--info); }

.btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--radius-s);
  border: 1px solid var(--line-2); background: var(--bg-3); color: var(--fg); cursor: pointer; font-weight: 500; font-size: 13px;
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) var(--e-out), box-shadow var(--t-fast) ease;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) { .btn:hover { border-color: var(--fg-3); } }
.btn:active:not(:disabled) { transform: scale(.97); transition-duration: .05s; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--accent-fg); }
@media (hover: hover) and (pointer: fine) { .btn.primary:hover { filter: brightness(1.08); } }
.btn.danger { color: var(--bad); }
.btn.sm { padding: 4px 9px; font-size: 12px; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--fg-2); }
@media (hover: hover) and (pointer: fine) { .btn.ghost:hover { background: var(--bg-3); } }
.btn:disabled { opacity: .5; cursor: default; }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 600; border: 1px solid var(--line-2); color: var(--fg-2); background: var(--bg-3); white-space: nowrap; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--ok); } .pill.warn { color: var(--warn); } .pill.bad { color: var(--bad); } .pill.info { color: var(--info); } .pill.accent { color: var(--accent); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--fg-2); }
.tag i { width: 8px; height: 8px; border-radius: 3px; display: inline-block; }

input[type=text], input[type=number], input[type=date], input[type=datetime-local], input[type=password], input[type=url], select, textarea {
  width: 100%; padding: 8px 10px; border-radius: var(--radius-s); border: 1px solid var(--line-2); background: var(--bg); color: var(--fg); outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
textarea { min-height: 80px; resize: vertical; }
label.f { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--fg-3); font-weight: 500; }
label.f.full { grid-column: 1 / -1; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-2); cursor: pointer; }
.check input { width: auto; }

table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: left; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--fg-2); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.t td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
table.t tr.click { cursor: pointer; }
table.t td { transition: background var(--t-fast) ease; }
table.t tr.click:hover td { background: var(--bg-3); }
table.t tr.click:active td { background: var(--line); }
table.t td.num, table.t th.num { text-align: right; font-variant-numeric: tabular-nums; }
.muted { color: var(--fg-3); }
.small { font-size: 12px; }
.mono { font-family: var(--mono); font-size: 12px; }
.money { font-variant-numeric: tabular-nums; }
.empty { color: var(--fg-3); padding: 18px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius-s); }
.note { border-left: 3px solid var(--warn); background: var(--warn-tint); padding: 10px 12px; border-radius: 6px; font-size: 12.5px; color: var(--fg-2); }
.note.info { border-color: var(--accent); background: var(--accent-tint); }
.note.bad { border-color: var(--bad); background: var(--bad-tint); }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }

/* list items */
.li {
  display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line);
  transition: background var(--t-fast) ease, padding-left var(--t-fast) var(--e-out);
  border-radius: 6px;
}
.li:hover { background: var(--bg-3); padding-left: 6px; }
.li .h, .li .s { transition: color var(--t-fast) ease, text-decoration-color var(--t) ease; }
.li:last-child { border-bottom: 0; }
.li .t { flex: 1; min-width: 0; }
.li .t .h { font-weight: 500; }
.li .t .s { color: var(--fg-3); font-size: 12px; margin-top: 2px; }
.li .when { color: var(--fg-3); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.li.done .h { text-decoration: line-through; color: var(--fg-3); }
.cb {
  width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line-2); background: transparent;
  cursor: pointer; flex: none; margin-top: 1px; display: grid; place-items: center; color: transparent; font-size: 12px;
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t) var(--e-spring);
}
.cb:hover { border-color: var(--ok); transform: scale(1.12); }
.cb.on { background: var(--ok); border-color: var(--ok); color: #fff; animation: pop .34s var(--e-spring); }

/* progress bar */
.bar { height: 8px; border-radius: 99px; background: var(--bg-3); overflow: hidden; border: 1px solid var(--line); }
.bar > i { display: block; height: 100%; border-radius: 99px; background: var(--accent); transition: width var(--t-slow) var(--e-out); }

/* ---------- overlay modal (no <dialog>: Safari <15.4 fails silently) ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); display: grid; place-items: center; z-index: 50; padding: 20px;
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: fade var(--t) ease both;
}
.overlay.out { animation: fade var(--t-fast) var(--e-in) reverse both; }
.modal {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 16px; width: min(720px, 100%);
  max-height: calc(100vh - 40px); overflow: auto; box-shadow: var(--shadow);
  animation: modalIn var(--t-slow) var(--e-spring) both;
}
.overlay.out .modal { animation: modalIn var(--t-fast) var(--e-in) reverse both; }
.modal .mh { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg-2); z-index: 1; }
.modal .mh h3 { margin: 0; font-size: 16px; }
.modal .mb { padding: 18px 20px; }
.modal .mf { display: flex; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); justify-content: flex-end; position: sticky; bottom: 0; background: var(--bg-2); }
.modal .mf .left { margin-right: auto; }

/* drawer */
.drawer-back { z-index: 39; backdrop-filter: none; -webkit-backdrop-filter: none; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--bg-2);
  border-left: 1px solid var(--line-2); box-shadow: var(--shadow); z-index: 40; overflow: auto;
  animation: slideIn var(--t-slow) var(--e-out) both;
}
.drawer.out { animation: slideIn var(--t) var(--e-in) reverse both; }
/* The drawer's own contents come in just behind the panel, so it reads as one
   movement instead of a panel that arrives already full. */
.drawer .db > .stack > * { animation: fadeUp var(--t-slow) var(--e-out) both; }
.drawer .db > .stack > *:nth-child(1) { animation-delay: .06s; }
.drawer .db > .stack > *:nth-child(2) { animation-delay: .1s; }
.drawer .db > .stack > *:nth-child(3) { animation-delay: .14s; }
.drawer .db > .stack > *:nth-child(n+4) { animation-delay: .18s; }
.drawer .dh { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg-2); }
.drawer .db { padding: 16px 20px 40px; }

/* stage ladder */
.ladder { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.ladder .st {
  padding: 4px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 600; border: 1px solid var(--line-2);
  color: var(--fg-3); cursor: pointer; background: var(--bg);
  transition: background var(--t) ease, color var(--t) ease, border-color var(--t) ease, transform var(--t) var(--e-spring);
}
@media (hover: hover) and (pointer: fine) { .ladder .st:hover { transform: translateY(-1px); color: var(--fg); border-color: var(--fg-3); } }
.ladder .st.done { color: var(--fg-2); border-color: var(--line-2); background: var(--bg-3); }
.ladder .st.now { color: #fff; background: var(--accent); border-color: transparent; }
.ladder .st.money.now { background: var(--ok); }
.ladder .st.lost.now { background: var(--bad); }

/* calendar month grid */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal .dh { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--fg-3); font-weight: 600; padding: 0 6px 4px; }
.cal .day { min-height: 96px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.cal .day.out { opacity: .45; }
.cal .day.today { border-color: var(--accent); }
.cal .day .n { font-size: 12px; color: var(--fg-3); font-weight: 600; }
.cal .day { transition: border-color var(--t) ease, transform var(--t) var(--e-out); }
.cal .day:hover { border-color: var(--line-2); }
.cal .ev {
  font-size: 11.5px; padding: 3px 6px; border-radius: 6px; background: var(--bg-3); border-left: 3px solid var(--accent);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer;
  transition: transform var(--t-fast) var(--e-out), background var(--t-fast) ease;
}
@media (hover: hover) and (pointer: fine) { .cal .ev:hover { transform: translateX(2px); background: var(--line); } }
.cal .ev.dim { opacity: .55; border-style: dashed; }

/* agenda */
.agenda .dayh { font-size: 12px; font-weight: 700; color: var(--fg-2); margin: 14px 0 4px; display: flex; gap: 8px; align-items: baseline; }
.agenda .dayh small { color: var(--fg-3); font-weight: 500; }
.agenda .ev { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.agenda .ev .tm { width: 92px; flex: none; color: var(--fg-3); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.agenda .ev .ti { flex: 1; }
.agenda .ev .ti .loc { color: var(--fg-3); font-size: 12px; }

/* week hours grid */
.hours .r { display: grid; grid-template-columns: 170px 1fr 120px; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours .r:last-child { border-bottom: 0; }

/* iframe apps */
.frame { width: 100%; height: calc(100vh - 110px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

/* sign-in */
.signin { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.signin .card { width: min(380px, 100%); padding: 28px; }
.signin h1 { margin: 0 0 4px; font-size: 22px; }
.signin p { color: var(--fg-3); margin: 0 0 18px; }
.err { color: var(--bad); font-size: 13px; margin-top: 8px; }

/* toast */
.toast {
  position: fixed; bottom: 18px; left: 50%; background: var(--bg-3); border: 1px solid var(--line-2);
  padding: 9px 14px; border-radius: 10px; box-shadow: var(--shadow); z-index: 60; font-size: 13px;
  animation: toastIn var(--t-slow) var(--e-spring) both;
}
.toast.out { animation: toastIn var(--t) var(--e-in) reverse both; }

/* toggles */
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; }
.seg button { padding: 6px 11px; border: 0; background: transparent; color: var(--fg-2); cursor: pointer; font-size: 12.5px; font-weight: 500; transition: background var(--t-fast) ease, color var(--t-fast) ease; }
.seg button:hover { background: var(--bg-3); color: var(--fg); }
.seg button.on { background: var(--bg-3); color: var(--fg); }

/* ---------- phone ---------- */
.menu-btn { display: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 260px; z-index: 45; transform: translateX(-100%); transition: transform .18s; }
  .side.open { transform: none; box-shadow: var(--shadow); }
  .main { padding: 16px 16px 60px; }
  .topbar { margin: -16px -16px 14px; padding: 12px 16px; }
  .menu-btn { display: inline-flex; }
  .g2, .g3, .g4 { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .cal .day { min-height: 60px; }
  .hours .r { grid-template-columns: 1fr; gap: 6px; }
  .frame { height: calc(100vh - 90px); }
}
@media (max-width: 560px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .topbar h2 { font-size: 19px; } }

/* ==========================================================================
   MOTION
   Entrances only, all short. The rule of thumb: nothing may delay a click, and
   nothing animates twice for the same piece of information.
   ========================================================================== */

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes pop { 0% { transform: scale(.7); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes shimmer { from { background-position: -420px 0; } to { background-position: 420px 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* View enter. `.enter` is added when the route changes and removed shortly
   after, so re-rendering a list (ticking a task, filtering a table) does NOT
   replay the stagger — which is what makes staggered UIs tiring to use. */
#view { animation: fade var(--t) ease both; }
#view.enter > .stack > *,
#view.enter > .grid > *,
#view.enter > .card { animation: fadeUp var(--t-slow) var(--e-out) both; }
#view.enter > .stack > *:nth-child(1), #view.enter > .grid > *:nth-child(1) { animation-delay: .02s; }
#view.enter > .stack > *:nth-child(2), #view.enter > .grid > *:nth-child(2) { animation-delay: .06s; }
#view.enter > .stack > *:nth-child(3), #view.enter > .grid > *:nth-child(3) { animation-delay: .1s; }
#view.enter > .stack > *:nth-child(4), #view.enter > .grid > *:nth-child(4) { animation-delay: .14s; }
#view.enter > .stack > *:nth-child(n+5), #view.enter > .grid > *:nth-child(n+5) { animation-delay: .17s; }
/* Tiles inside the first row get their own quick cascade. */
#view.enter .grid.g4 > .tile:nth-child(1) { animation-delay: .03s; }
#view.enter .grid.g4 > .tile:nth-child(2) { animation-delay: .07s; }
#view.enter .grid.g4 > .tile:nth-child(3) { animation-delay: .11s; }
#view.enter .grid.g4 > .tile:nth-child(4) { animation-delay: .15s; }

.side .nav a { animation: fadeUp .3s var(--e-out) both; }
.signin .card { animation: modalIn .4s var(--e-spring) both; }

/* ---------- skeletons: shape of the answer, not the word "Loading" ---------- */
.skel { display: grid; gap: 14px; }
.sk {
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); position: relative; overflow: hidden;
}
.sk::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--fg) 7%, transparent), transparent);
  background-size: 420px 100%; animation: shimmer 1.2s linear infinite;
}
.sk.tile { min-height: 92px; }
.sk.card { min-height: 190px; }
.sk.row { height: 44px; border-radius: var(--radius-s); }

.spinner {
  width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--accent);
  animation: spin .7s linear infinite; display: inline-block; vertical-align: -2px;
}

/* ---------- command palette (⌘K) ---------- */
.pal { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 12vh 20px 20px; animation: fade var(--t-fast) ease both; }
.pal.out { animation: fade var(--t-fast) var(--e-in) reverse both; }
.pal-box {
  max-width: 560px; margin: 0 auto; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden; animation: modalIn var(--t) var(--e-spring) both;
}
.pal.out .pal-box { animation: modalIn var(--t-fast) var(--e-in) reverse both; }
.pal-box input {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent;
  padding: 15px 18px; font-size: 15px;
}
.pal-box input:focus { box-shadow: none; border-color: var(--line); }
.pal-list { max-height: 46vh; overflow: auto; padding: 6px; }
.pal-list .it {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--radius-s); cursor: pointer;
  color: var(--fg-2); transition: background var(--t-fast) ease, color var(--t-fast) ease;
}
.pal-list .it .ico { width: 18px; text-align: center; opacity: .8; }
.pal-list .it .sub { margin-left: auto; font-size: 11.5px; color: var(--fg-3); }
.pal-list .it.on { background: var(--bg-3); color: var(--fg); box-shadow: inset 2.5px 0 0 var(--accent); }
.pal-foot { display: flex; gap: 12px; padding: 9px 16px; border-top: 1px solid var(--line); color: var(--fg-3); font-size: 11.5px; }
kbd {
  font-family: var(--mono); font-size: 10.5px; padding: 1.5px 5px; border-radius: 5px;
  border: 1px solid var(--line-2); background: var(--bg); color: var(--fg-2);
}

/* ---------- accessibility ----------
   Anyone who has asked their system to stop moving things gets a static UI.
   Opacity fades stay: they carry no motion and keep state changes legible. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .btn:hover, .btn:active, .tile:hover, .li:hover { transform: none !important; }
}

/* A card with nothing in it should say so in one quiet line, not draw a big
   dashed box around the absence. `.empty` stays for genuinely empty screens. */
.quiet { color: var(--fg-3); font-size: 13px; padding: 6px 0 2px; }

/* ==========================================================================
   THE DOORS
   A pair of plain white wooden shoji doors that slide apart once you sign in.
   Purely decorative and deliberately brief — it covers the moment the app is
   rendering behind them, so it costs nothing in time.

   Built from gradients rather than an image: it stays crisp at any size, adds
   no request, and the lattice can be re-spaced with one variable.
   ========================================================================== */
.doors {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden;
  --paper: #FCFAF5;        /* washi — warm, not clinical */
  --wood:  #F1EDE4;        /* the plain white timber frame */
  --wood-edge: #DFD7C7;
  --lattice: #E7E0D1;      /* kumiko */
  --cell-h: 88px;
  --cell-w: 104px;
}
/* A touch less glare when the app behind is dark. */
:root[data-theme="dark"] .doors { filter: brightness(.92); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .doors { filter: brightness(.92); } }

.doors .door {
  position: absolute; top: -2%; bottom: -2%; width: 50.6%;
  background: var(--wood);
  border: 1px solid var(--wood-edge);
  padding: 16px;
  /* Slow to start, decisive through the middle — how a heavy sliding door
     actually behaves. A plain ease looks like a slideshow transition. */
  transition: transform 1.05s cubic-bezier(.62, .02, .34, 1);
  will-change: transform;
}
.doors .door.l { left: 0;  box-shadow: 14px 0 34px rgba(24, 20, 12, .22); }
.doors .door.r { right: 0; box-shadow: -14px 0 34px rgba(24, 20, 12, .22); }
.doors.open .door.l { transform: translateX(-101.5%); }
.doors.open .door.r { transform: translateX(101.5%); }

/* The paper, with its lattice drawn straight onto it. */
.doors .panel {
  height: 100%; width: 100%;
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(to bottom, transparent 0 calc(var(--cell-h) - 3px), var(--lattice) calc(var(--cell-h) - 3px) var(--cell-h)),
    repeating-linear-gradient(to right,  transparent 0 calc(var(--cell-w) - 3px), var(--lattice) calc(var(--cell-w) - 3px) var(--cell-w));
  box-shadow: inset 0 0 60px rgba(120, 104, 74, .07);
}
/* The stile down the meeting edge, so the two doors read as a closed pair. */
.doors .door.l .panel { border-right: 5px solid var(--wood); }
.doors .door.r .panel { border-left: 5px solid var(--wood); }

/* The finger pull — a small recess, the one detail that makes it a door. */
.doors .pull {
  position: absolute; top: 50%; width: 11px; height: 46px; border-radius: 6px;
  background: linear-gradient(to right, rgba(140,124,94,.16), rgba(140,124,94,.05));
  border: 1px solid var(--wood-edge); transform: translateY(-50%);
}
.doors .door.l .pull { right: 26px; }
.doors .door.r .pull { left: 26px; }

/* Anyone who has asked for less motion gets the app, not the theatre. */
@media (prefers-reduced-motion: reduce) { .doors { display: none; } }
/* ---------- Home's petal field ----------
   Static, scattered, drawn once. The falling version was dropped on 2026-09-23
   (Tom: "we've got to quit those") — motion in the background competes with the
   numbers in front of it, which is the opposite of what a money screen needs.

   ⚠️ Colours go in RAW and are URL-encoded exactly once. Pre-encoding the '#'
   and then quoting gives %2523…, an invalid colour, and SVG silently falls back
   to no paint at all. That cost a round trip; don't repeat it. */
:root {
  --art-petals: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%271600%27%20height%3D%271000%27%20viewBox%3D%270%200%201600%201000%27%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28982%2C939%29%20rotate%2860%29%20scale%2810.7%29%27%20fill%3D%27%23E9A6BF%27%20opacity%3D%270.78%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28175%2C398%29%20rotate%28198%29%20scale%289.1%29%27%20fill%3D%27%23E9A6BF%27%20opacity%3D%270.87%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%281225%2C802%29%20rotate%28230%29%20scale%2813.9%29%27%20fill%3D%27%23EBAFC6%27%20opacity%3D%270.84%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28833%2C636%29%20rotate%28246%29%20scale%2816.7%29%27%20fill%3D%27%23F0B8CC%27%20opacity%3D%270.65%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28172%2C372%29%20rotate%28308%29%20scale%2810.5%29%27%20fill%3D%27%23E9A6BF%27%20opacity%3D%270.66%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28950%2C834%29%20rotate%28198%29%20scale%2812.4%29%27%20fill%3D%27%23F7CEDC%27%20opacity%3D%270.77%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28493%2C691%29%20rotate%2877%29%20scale%2811.6%29%27%20fill%3D%27%23F7CEDC%27%20opacity%3D%270.59%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28944%2C417%29%20rotate%28151%29%20scale%2816.8%29%27%20fill%3D%27%23E9A6BF%27%20opacity%3D%270.77%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%281351%2C801%29%20rotate%28175%29%20scale%2812.6%29%27%20fill%3D%27%23EBAFC6%27%20opacity%3D%270.63%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%2834%2C876%29%20rotate%2841%29%20scale%2816.3%29%27%20fill%3D%27%23F7CEDC%27%20opacity%3D%270.56%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28330%2C765%29%20rotate%2873%29%20scale%288.6%29%27%20fill%3D%27%23F0B8CC%27%20opacity%3D%270.59%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%281520%2C389%29%20rotate%2857%29%20scale%2812.2%29%27%20fill%3D%27%23E9A6BF%27%20opacity%3D%270.62%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28873%2C8%29%20rotate%2890%29%20scale%2815.6%29%27%20fill%3D%27%23F7CEDC%27%20opacity%3D%270.88%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28297%2C176%29%20rotate%2877%29%20scale%289.2%29%27%20fill%3D%27%23F0B8CC%27%20opacity%3D%270.66%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%2887%2C643%29%20rotate%28239%29%20scale%2812.6%29%27%20fill%3D%27%23F7CEDC%27%20opacity%3D%270.74%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28652%2C961%29%20rotate%28153%29%20scale%289.1%29%27%20fill%3D%27%23F0B8CC%27%20opacity%3D%270.66%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%281349%2C938%29%20rotate%28340%29%20scale%2814.5%29%27%20fill%3D%27%23F7CEDC%27%20opacity%3D%270.79%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%281200%2C475%29%20rotate%28300%29%20scale%2816.6%29%27%20fill%3D%27%23E9A6BF%27%20opacity%3D%270.70%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28976%2C573%29%20rotate%28312%29%20scale%2812.0%29%27%20fill%3D%27%23F0B8CC%27%20opacity%3D%270.89%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%281398%2C389%29%20rotate%28192%29%20scale%288.9%29%27%20fill%3D%27%23EBAFC6%27%20opacity%3D%270.75%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%281403%2C850%29%20rotate%2853%29%20scale%288.1%29%27%20fill%3D%27%23E9A6BF%27%20opacity%3D%270.79%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28101%2C589%29%20rotate%28259%29%20scale%288.8%29%27%20fill%3D%27%23F0B8CC%27%20opacity%3D%270.78%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28124%2C513%29%20rotate%28323%29%20scale%2816.0%29%27%20fill%3D%27%23F0B8CC%27%20opacity%3D%270.81%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28593%2C203%29%20rotate%2899%29%20scale%2812.7%29%27%20fill%3D%27%23F0B8CC%27%20opacity%3D%270.66%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28433%2C329%29%20rotate%2896%29%20scale%2810.6%29%27%20fill%3D%27%23F7CEDC%27%20opacity%3D%270.76%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28562%2C277%29%20rotate%2819%29%20scale%2811.8%29%27%20fill%3D%27%23E9A6BF%27%20opacity%3D%270.68%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%281235%2C90%29%20rotate%2858%29%20scale%2816.9%29%27%20fill%3D%27%23F7CEDC%27%20opacity%3D%270.72%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28653%2C512%29%20rotate%28188%29%20scale%289.3%29%27%20fill%3D%27%23F7CEDC%27%20opacity%3D%270.70%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28762%2C189%29%20rotate%28172%29%20scale%2816.6%29%27%20fill%3D%27%23F7CEDC%27%20opacity%3D%270.96%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28456%2C974%29%20rotate%28339%29%20scale%2811.6%29%27%20fill%3D%27%23EBAFC6%27%20opacity%3D%270.64%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28243%2C431%29%20rotate%28264%29%20scale%288.0%29%27%20fill%3D%27%23EBAFC6%27%20opacity%3D%270.65%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%281182%2C170%29%20rotate%28241%29%20scale%2816.1%29%27%20fill%3D%27%23E9A6BF%27%20opacity%3D%270.76%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28796%2C233%29%20rotate%28183%29%20scale%289.7%29%27%20fill%3D%27%23EBAFC6%27%20opacity%3D%270.73%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%281470%2C408%29%20rotate%28300%29%20scale%2813.0%29%27%20fill%3D%27%23EBAFC6%27%20opacity%3D%270.85%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28367%2C868%29%20rotate%28217%29%20scale%2813.3%29%27%20fill%3D%27%23EBAFC6%27%20opacity%3D%270.92%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28779%2C838%29%20rotate%28348%29%20scale%2815.2%29%27%20fill%3D%27%23E9A6BF%27%20opacity%3D%270.80%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%281584%2C907%29%20rotate%28116%29%20scale%2815.1%29%27%20fill%3D%27%23F7CEDC%27%20opacity%3D%270.65%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%2815%2C88%29%20rotate%28281%29%20scale%2812.0%29%27%20fill%3D%27%23F0B8CC%27%20opacity%3D%270.76%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28570%2C525%29%20rotate%28282%29%20scale%2812.6%29%27%20fill%3D%27%23F0B8CC%27%20opacity%3D%270.88%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%281043%2C900%29%20rotate%28266%29%20scale%2812.2%29%27%20fill%3D%27%23E9A6BF%27%20opacity%3D%270.71%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%281167%2C813%29%20rotate%28241%29%20scale%2816.1%29%27%20fill%3D%27%23F7CEDC%27%20opacity%3D%270.73%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%281131%2C665%29%20rotate%28208%29%20scale%2811.5%29%27%20fill%3D%27%23EBAFC6%27%20opacity%3D%270.76%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28613%2C769%29%20rotate%28112%29%20scale%289.6%29%27%20fill%3D%27%23F0B8CC%27%20opacity%3D%270.63%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%281581%2C272%29%20rotate%28162%29%20scale%289.1%29%27%20fill%3D%27%23F0B8CC%27%20opacity%3D%270.69%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28740%2C105%29%20rotate%28186%29%20scale%2813.8%29%27%20fill%3D%27%23E9A6BF%27%20opacity%3D%270.60%27%2F%3E%3Cpath%20d%3D%27M0%2C-1%20C0.95%2C-0.55%200.72%2C0.72%200%2C1%20C-0.72%2C0.72%20-0.95%2C-0.55%200%2C-1%20Z%27%20transform%3D%27translate%28992%2C173%29%20rotate%28286%29%20scale%2810.8%29%27%20fill%3D%27%23E9A6BF%27%20opacity%3D%270.88%27%2F%3E%3C%2Fsvg%3E");
  --art-petals-opacity: .62;
  --art-car-stroke: #163a5f;
  --art-car-opacity: .30;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --art-petals-opacity: .34;
  --art-car-stroke: #7ea6ff;
  --art-car-opacity: .34;
} }
:root[data-theme="dark"] {
  --art-petals-opacity: .34;
  --art-car-stroke: #7ea6ff;
  --art-car-opacity: .34;
}

/* The art layer sits behind everything and never intercepts a click. `data-art`
   is set per view by the router — Home and the money tab only. The deal
   pipelines are deliberately plain: clients and callers sign in to those. */
.main { position: relative; }
.main::before { content: ''; position: fixed; pointer-events: none; z-index: 0; }
#view, .topbar { position: relative; z-index: 1; }

[data-art="home"] .main::before {
  left: var(--sidebar); right: 0; top: 0; bottom: 0;
  background: var(--art-petals) no-repeat center / cover;
  opacity: var(--art-petals-opacity);
}
@media (max-width: 900px) { [data-art] .main::before { left: 0; } }

/* ---------- the car ----------
   Original line art, drawn here rather than sourced: a low rear-engined coupé
   silhouette. Deliberately NO crest and no wordmark — that is someone else's
   trademark and it is not going in a product. It is the shape, as a goal.

   Admin views only, so a client never sees it. On the money tab it draws
   itself in like a configurator reveal; elsewhere it is a still watermark. */
.car-wrap {
  /* In the flow, after the last card, not fixed behind opaque ones. Fixed at
     13% opacity it was invisible in practice (Tom, 2026-09-23: "I still can't
     see the Porsche"), because every card on this page is solid white. Here it
     has the page's own empty space to itself. */
  display: block; margin: 26px 0 8px auto; width: min(560px, 62vw);
  pointer-events: none; opacity: var(--art-car-opacity);
}
.car-wrap .car { display: block; width: 100%; height: auto; overflow: visible; }
.car-wrap .car path, .car-wrap .car circle {
  fill: none; stroke: var(--art-car-stroke); stroke-width: 3.4;
  stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
/* The reveal: every line has its own dash length set in JS, then the offset is
   walked to zero. Staggered so the body leads and the details follow. */
.car-wrap.draw .car path, .car-wrap.draw .car circle {
  animation: drawIn 1.5s cubic-bezier(.3, .5, .25, 1) both;
}
.car-wrap.draw .car > *:nth-child(1) { animation-delay: .05s; }
.car-wrap.draw .car > *:nth-child(2) { animation-delay: .38s; }
.car-wrap.draw .car > *:nth-child(3) { animation-delay: .52s; }
.car-wrap.draw .car > *:nth-child(4) { animation-delay: .60s; }
.car-wrap.draw .car > *:nth-child(5) { animation-delay: .66s; }
.car-wrap.draw .car > *:nth-child(6) { animation-delay: .70s; }
.car-wrap.draw .car > *:nth-child(n+7) { animation-delay: .46s; }
@keyframes drawIn { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }

@media (max-width: 900px) { .car-wrap { display: none; } }
@media (prefers-reduced-motion: reduce) { .car-wrap.draw .car path, .car-wrap.draw .car circle { animation: none; } }

/* ---------- the money source chart ---------- */
.mchart { display: flex; gap: 6px; align-items: stretch; height: 140px; }
.mchart .mcol { flex: 1; display: flex; align-items: flex-end; }
.mchart .stackcol {
  width: 100%; height: 100%; display: flex; flex-direction: column-reverse; justify-content: flex-start;
  gap: 1px; border-radius: 5px; overflow: hidden;
}
.mchart .mcol.now .stackcol { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.mlabels { display: flex; gap: 6px; margin-top: 8px; }
.mlabels .mlabel {
  flex: 1; text-align: center; font-size: 9.5px; color: var(--fg-3);
  display: flex; flex-direction: column; gap: 2px; line-height: 1.25;
}
.mlabels .mlabel span { font-family: var(--mono); font-size: 9px; color: var(--fg-3); }
.mlabels .mlabel.now { color: var(--fg); font-weight: 700; }
.mlabels .mlabel.now span { color: var(--fg-2); }

/* A tile you can open says so. */
.tile.drill { cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .tile.drill:hover { border-color: var(--accent); } }
.tile.drill::before {
  content: '›'; position: absolute; right: 12px; top: 10px; color: var(--fg-3);
  font-size: 15px; opacity: 0; transition: opacity var(--t) ease, transform var(--t) var(--e-out);
}
@media (hover: hover) and (pointer: fine) { .tile.drill:hover::before { opacity: .8; transform: translateX(2px); } }

/* ---------- the drop box ---------- */
.drop {
  border: 1.5px dashed var(--line-2); border-radius: var(--radius); padding: 18px; text-align: center;
  cursor: pointer; margin-bottom: 10px; background: var(--bg-3);
  transition: border-color var(--t) ease, background var(--t) ease, transform var(--t) var(--e-out);
}
.drop:hover { border-color: var(--accent); }
.drop.over { border-color: var(--accent); background: var(--accent-tint); transform: scale(1.01); }
.drop.busy { border-style: solid; border-color: var(--accent); cursor: progress; }
.drop .dzi b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.drop .dzp { margin-top: 10px; color: var(--fg-2); }
/* Upload progress (2026-10-23): the bar, how much is up, speed and time left */
.upb { text-align: left; display: flex; flex-direction: column; gap: 7px; cursor: default; }
.upb-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: 13.5px; }
.upb-top b { white-space: nowrap; color: var(--fg); }
.upb-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg-3); }
.upb-pct { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--fg); font-size: 15px; }
.upb-bar { height: 10px; border-radius: 99px; background: var(--bg-3); overflow: hidden; }
.upb-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--accent); transition: width .3s linear; }
.upb-meta { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--fg-2); }
.upb-hint { font-size: 12px; color: var(--fg-3); }
body.jr-brand .upb-bar i { background: linear-gradient(90deg, #1C74FF, #5EE7C8); }
body.jr-brand .upb-bar, body.ur-brand .upb-bar { background: rgba(255,255,255,.1); }
@media (prefers-reduced-motion: reduce) { .upb-bar i { transition: none; } }
.card.click:hover { border-color: var(--accent); }

/* Content page. Two levels, and they must not look alike: the BUSINESS is a
   pair of big tabs carrying the venture colour; RAW / EDITED sits under it as
   a plain full-width segment. */
.cbiz { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.cbiz button {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius);
  border: 1.5px solid var(--line-2); background: var(--bg-2, var(--bg)); color: var(--fg-2);
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-align: left;
  transition: border-color var(--t-fast) ease, color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.cbiz button i { width: 12px; height: 12px; border-radius: 4px; background: var(--biz); flex: none; }
.cbiz button span:not(.pill) { flex: 1; }
.cbiz button:hover { color: var(--fg); border-color: var(--biz); }
.cbiz button.on { color: var(--fg); border-color: var(--biz); box-shadow: inset 0 -3px 0 var(--biz); }
.seg.kindseg { border: 0; border-radius: 0; overflow: visible; gap: 14px; }
.seg.kindseg .btn.on { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.seg.ctabs { display: flex; width: 100%; }
.seg.ctabs button { flex: 1; padding: 9px 12px; font-size: 13.5px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.seg button .pill { margin-left: 4px; font-size: 10.5px; padding: 1px 6px; }
@media (max-width: 640px) {
  .content-page .li { flex-wrap: wrap; }
  .content-page .li > .t { flex: 1 1 100%; }
  .content-page .li > .row { width: 100%; justify-content: flex-start !important; margin-top: 6px; }
  .seg.ctabs button { flex-wrap: wrap; row-gap: 3px; padding: 8px 6px; }
}
.content-page select.attn { border-color: var(--warn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 25%, transparent); }
.content-page .folder h3 .r { display: inline-flex; align-items: center; gap: 8px; }

/* Leads. Anything a client added carries their colour — orange — so Tom can
   tell his own list from what came in from Scott at a glance. */
:root { --by-client: #EA7A1A; }
.t tr.by-client td:first-child { box-shadow: inset 3px 0 0 var(--by-client); }
.t tr.by-client td:first-child b { color: var(--by-client); }
.by-client-tag { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 600;
  color: var(--by-client); background: color-mix(in srgb, var(--by-client) 12%, transparent); border: 1px solid color-mix(in srgb, var(--by-client) 35%, transparent); }
.lead-legend { display: inline-flex; gap: 14px; font-size: 12px; font-weight: 500; color: var(--fg-3); }
.lead-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.lead-legend .dot-tom { background: var(--fg-3); } .lead-legend .dot-client { background: var(--by-client); }
.lead-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; }
.lead-filters button { border: 1px solid var(--line-2); background: transparent; color: var(--fg-2); border-radius: 99px; padding: 6px 12px;
  font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.lead-filters button span { color: var(--fg-3); margin-left: 3px; }
.lead-filters button.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.lead-filters button.on span { color: inherit; opacity: .7; }
.lead-status { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.lead-status .ls { padding: 10px 6px; border-radius: 10px; border: 1.5px solid var(--line-2); background: transparent; color: var(--fg-2);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.lead-status .ls:disabled { cursor: default; opacity: .55; }
.lead-status .ls:disabled.on { opacity: 1; }
.lead-status .ls.on { color: #fff; border-color: transparent; }
.lead-status .ls-prospect.on { background: var(--fg-2); }
.lead-status .ls-contacted.on { background: var(--info); }
.lead-status .ls-qualified.on { background: var(--ok); }
.lead-status .ls-abandoned.on { background: var(--bad); }
.form .f.full > span { display: block; margin-bottom: 6px; }
@media (max-width: 640px) {
  .t.leads th:nth-child(4), .t.leads td:nth-child(4) { display: none; }
  .lead-status { grid-template-columns: repeat(2, 1fr); }
  .lead-legend { display: none; }
}
.close-sale { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: var(--radius); border: 1.5px solid var(--ok); background: color-mix(in srgb, var(--ok) 8%, transparent); }
.won-card h3 .r { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }

/* AI With Tom CRM, simplified 2026-09-24. */
.crm-strip { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--fg-2); padding: 2px 2px; }
.crm-strip b { color: var(--fg); margin-left: 4px; }
.crm-strip .warn-t b { color: var(--warn); }
.crm-tools { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.crm-search { width: 100%; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.crm-stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.crm-stages .ls { padding: 9px 6px; border-radius: 10px; border: 1.5px solid var(--line-2); background: transparent; color: var(--fg-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.crm-stages .ls.on { color: #fff; border-color: transparent; background: var(--accent); }
.crm-stages .ls-won.on { background: var(--ok); } .crm-stages .ls-lost.on { background: var(--bad); }
.crm-next { padding: 12px; border-radius: var(--radius); background: var(--bg-3); }
.crm-notes { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; max-height: 320px; overflow: auto; }
.crm-notes > div { padding: 8px 10px; border-left: 3px solid var(--line-2); background: var(--bg-3); border-radius: 0 8px 8px 0; white-space: pre-wrap; }
.crm-money summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--fg-2); padding: 4px 0; }
@media (max-width: 640px) { .crm-t th:nth-child(3), .crm-t td:nth-child(3) { display: none; } }

/* Stage pages (2026-09-25): each lead stage is its own page, as a row of big tabs. */
.crm-pages { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crm-pages button { border: 1.5px solid var(--line-2); background: transparent; color: var(--fg-2); border-radius: 10px; padding: 9px 14px;
  font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.crm-pages button span { color: var(--fg-3); margin-left: 4px; font-weight: 500; }
.crm-pages button.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.crm-pages button.on span { color: inherit; opacity: .7; }
.crm-pages .crm-sep { width: 1px; height: 24px; background: var(--line-2); margin: 0 4px; }
.crm-t td.cbk, .t.leads td.cbk { white-space: nowrap; }
.crm-t tr.cb-due td:first-child { box-shadow: inset 3px 0 0 var(--bad); }
.crm-stages .ls-abandoned.on { background: var(--bad); } .crm-stages .ls-qualified.on { background: var(--ok); }
@media (max-width: 640px) { .crm-t th:nth-child(4), .crm-t td:nth-child(4) { display: none; } .crm-pages .crm-sep { display: none; } }
.crm-form textarea { width: 100%; }
.crm-form select { width: 100%; }
.crm-save { position: sticky; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 12px 0; background: var(--bg-2); border-top: 1px solid var(--line); z-index: 2; }
.crm-save .btn.primary { min-width: 120px; justify-content: center; }
.crm-save [data-dirty] { color: var(--warn); }

/* Tom's free time as tappable 15-minute slots (2026-09-25). */
.slot-modal { max-width: 640px; }
.slot-days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; }
.slot-days button { flex: none; display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 70px; padding: 8px 6px; border-radius: 10px;
  border: 1.5px solid var(--line-2); background: transparent; color: var(--fg-2); font: inherit; cursor: pointer; }
.slot-days button b { font-size: 13px; } .slot-days button span { font-size: 11.5px; } .slot-days button i { font-style: normal; font-size: 11px; color: var(--ok); font-weight: 600; }
.slot-days button.none i { color: var(--fg-3); }
.slot-days button.on { border-color: var(--accent); background: var(--accent-tint); color: var(--fg); }
.slot-grid { display: flex; flex-direction: column; gap: 6px; max-height: 52vh; overflow-y: auto; }
.slot-row { display: grid; grid-template-columns: 48px repeat(4, 1fr); gap: 6px; align-items: center; }
.slot-h { font-size: 12px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.slot { padding: 9px 4px; border-radius: 8px; font-size: 13px; text-align: center; font-variant-numeric: tabular-nums; }
.slot.free { border: 1.5px solid var(--ok); background: color-mix(in srgb, var(--ok) 10%, transparent); color: var(--fg); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.slot.free:hover { background: var(--ok); color: #fff; }
.slot.busy { background: var(--bg-3); color: var(--fg-3); text-decoration: line-through; opacity: .6; }

/* Who's on the system — Tom's sidebar only (2026-09-25). */
.presence { display: flex; flex-direction: column; gap: 2px; padding: 0 10px 8px; }
.pres { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-2); padding: 3px 4px; }
.pres span { flex: 1; } .pres small { color: var(--fg-3); font-size: 11px; }
.pres i, .pres-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); flex: none; display: inline-block; }
.pres-dot { margin-right: 7px; vertical-align: 1px; }
.pres i.on, .pres-dot.on { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); animation: presPulse 2s ease-in-out infinite; }
.pres i.on + span { color: var(--fg); font-weight: 600; }
@keyframes presPulse { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--ok) 10%, transparent); } }
@media (prefers-reduced-motion: reduce) { .pres i.on, .pres-dot.on { animation: none; } }

/* Ad gallery (Solar Compared, 2026-10-02): frames visible without pressing play,
   the sizes of one hook side by side. */
.ghook + .ghook { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line, rgba(127,127,127,.18)); }
.ghead { margin-bottom: 10px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.gtile { border: 1px solid var(--line, rgba(127,127,127,.18)); border-radius: 12px; overflow: hidden; background: var(--card, transparent); display: flex; flex-direction: column; }
.gmedia { position: relative; height: 300px; background: #0b0d12; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gmedia video, .gmedia img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gfmt { position: absolute; top: 8px; left: 8px; font: 600 11px/1 'Space Mono', monospace; color: #fff; background: rgba(0,0,0,.55); padding: 4px 6px; border-radius: 6px; }
.gbody { padding: 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.gacts { gap: 4px; flex-wrap: wrap; margin-top: auto; }
@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gmedia { height: 220px; }
}

/* Delivered edits on a venture page: the file on the left, a notes panel beside it
   for the client's feedback (2026-10-13). Stacks on a phone. */
.li.delivered { flex-wrap: wrap; align-items: flex-start; gap: 12px; padding: 14px 4px; }
.li.delivered:hover { padding-left: 4px; }
.li.delivered .vnotes { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.li.delivered .vnotes textarea { width: 100%; min-height: 84px; resize: vertical; font: inherit; }
@media (min-width: 900px) { .li.delivered .t { flex: 1 1 280px; } .li.delivered .vnotes { flex: 0 1 380px; } }

/* ======== Solar Compared side: the ad studio's own branding (2026-10-14) ======== */
body.sc-brand {
  --bg: #000; --bg-2: #0b0b0b; --bg-3: #161616; --line: rgba(255,255,255,.1); --line-2: rgba(255,255,255,.16); --rule: rgba(255,255,255,.08);
  --fg: #fff; --fg-2: #a6a6a6; --fg-3: #6e6e6e; --accent: #FFD600; --accent-lt: #FFE45C; --accent-tint: rgba(255,214,0,.1); --accent-fg: #000; --info: #FFD600;
  --warn: #FFD600; --warn-tint: rgba(255,214,0,.12); --shadow: 0 16px 40px rgba(0,0,0,.6); color-scheme: dark;
  background: #000; color: #fff;
}
body.sc-brand .shell { grid-template-columns: 1fr; }
body.sc-brand .side, body.sc-brand .topbar { display: none !important; }
body.sc-brand .main { padding: 0; }
body.sc-brand #view { padding: 0; }
body.sc-brand .content-page { max-width: 1240px; margin: 0 auto; padding: 28px 32px 80px; }
body.sc-brand .card { background: #0b0b0b; border-color: rgba(255,255,255,.1); }
body.sc-brand .btn.primary, body.sc-brand .btn.sm.primary { background: #FFD600; color: #000; border-color: #FFD600; }
.sc-h { font-size: 40px; letter-spacing: -.035em; margin: 6px 0 4px; font-weight: 700; }
.sc-p { color: var(--fg-2); margin: 0 0 18px; }
.scnav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, #000 84%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.1); }
.scnav .in { max-width: 1240px; margin: 0 auto; padding: 12px 32px; display: flex; align-items: center; gap: 18px; }
.scnav .brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.scnav .brand b { display: block; font-size: 15px; letter-spacing: -.02em; }
.scnav .brand small { display: block; color: #6e6e6e; font-size: 11.5px; }
.scnav nav { display: inline-flex; border: 1px solid rgba(255,255,255,.16); border-radius: 99px; padding: 3px; }
.scnav nav a { padding: 6px 14px; border-radius: 99px; color: #a6a6a6; font-size: 13px; font-weight: 500; text-decoration: none; }
.scnav nav a:hover { color: #fff; text-decoration: none; }
.scnav nav a.on { background: #fff; color: #000; }
.scnav .grow { flex: 1; }
.scnav .ghost { background: transparent; border: 1px solid rgba(255,255,255,.16); color: #a6a6a6; border-radius: 8px; padding: 6px 12px; font-size: 12.5px; cursor: pointer; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .scnav .ghost:hover { color: #fff; border-color: #6e6e6e; text-decoration: none; } }
.studio-frame { width: 100%; height: calc(100vh - var(--navh, 61px)); border: 0; display: block; background: #000; }
@media (max-width: 760px) { .scnav .in { padding: 10px 16px; gap: 10px; flex-wrap: wrap; } .scnav .brand small { display: none; } body.sc-brand .content-page { padding: 18px 16px 60px; } .sc-h { font-size: 30px; }  }
/* Tom's "Content OS →" link reads "OS →" on a phone, so Sign out stays on the logo row (2026-11-16) */
@media (max-width: 760px) { .scnav a.ghost[href="#/home"] { font-size: 0; } .scnav a.ghost[href="#/home"]::after { content: 'OS →'; font-size: 12.5px; } }

/* showcase cards: delivered ads on a venture page (2026-10-14) */
.sct-list { display: grid; gap: 14px; }
.sct { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.sct-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.sct-tile { display: grid; gap: 6px; justify-items: start; }
.sct-media { position: relative; width: 132px; border-radius: 10px; overflow: hidden; background: #111; cursor: pointer; border: 1px solid var(--line); }
.sct-media.f9x16 { aspect-ratio: 9 / 16; } .sct-media.f4x5 { aspect-ratio: 4 / 5; width: 150px; } .sct-media.f1x1 { aspect-ratio: 1; width: 150px; } .sct-media.f16x9 { aspect-ratio: 16 / 9; width: 230px; } .sct-media.fx { aspect-ratio: 9 / 16; }
.sct-media video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.sct-play { position: absolute; inset: auto auto 8px 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.62); color: #fff; display: grid; place-items: center; font-size: 12px; transition: transform .15s ease, background .15s ease; }
.sct-media:hover .sct-play { transform: scale(1.1); background: var(--accent); color: var(--accent-fg); }
.sct-fmt { font-size: 12px; display: flex; gap: 6px; align-items: baseline; } .sct-fmt span { color: var(--fg-3); }
.sct-info h3 { margin: 2px 0 8px; font-size: 22px; letter-spacing: -.02em; color: var(--fg); }
.sct-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.sct-info p { margin: 0 0 8px; color: var(--fg-2); line-height: 1.5; max-width: 62ch; }
.sct-check { margin: 4px 0 10px; padding: 8px 12px; border-radius: 9px; background: var(--warn-tint); color: var(--fg); font-size: 13px; border-left: 3px solid var(--warn); max-width: 62ch; }
.sct .vnotes { margin-top: 10px; max-width: 520px; }
@media (max-width: 900px) { .sct { grid-template-columns: 1fr; } }

/* four tabs on the Solar Compared bar: scroll sideways rather than wrap on narrow screens */
.scnav nav { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.scnav nav::-webkit-scrollbar { display: none; }
.scnav nav a { white-space: nowrap; flex: none; }

/* ======== Golf Store UK side: the ad studio in Golf Store UK's navy (2026-10-16) ======== */
body.gs-brand { --bg: #0a0f2a; --bg-2: #111839; --bg-3: #161e44; --line: rgba(255,255,255,.1); --fg: #fff; --fg-2: #aab3d6; --fg-3: #737ca3; --accent: #334FB4; color-scheme: dark; background: #0a0f2a; color: #fff; }
body.gs-brand .shell { grid-template-columns: 1fr; }
body.gs-brand .side, body.gs-brand .topbar { display: none !important; }
body.gs-brand .main { padding: 0; }
body.gs-brand #view { padding: 0; }
.gsnav { background: color-mix(in srgb, #0a0f2a 86%, transparent); }
.gsnav nav a.on { background: #fff; color: #0a0f2a; }
body.gs-brand .studio-frame { background: #0a0f2a; }

/* ======== Unreal Sports side: Reels | Uploads in Unreal's own navy and orange (2026-10-16) ======== */
/* Colours from unrealevents.co.uk: navy hsl(241,98%,25%) = #03017E, orange hsl(29,100%,53%) = #FF830F,
   light blue hsl(215,91%,77%) = #8FBBFA. Headings in Unbounded, as their site. */
body.ur-brand {
  --bg: #020159; --bg-2: #05037a; --bg-3: #0a0890; --line: rgba(143,187,250,.16); --line-2: rgba(143,187,250,.26); --rule: rgba(143,187,250,.12);
  --fg: #fff; --fg-2: #c3d4fb; --fg-3: #8592c9; --accent: #FF830F; --accent-lt: #FFA14A; --accent-tint: rgba(255,131,15,.14); --accent-fg: #03017E;
  --info: #8FBBFA; --warn: #FF9A3C; --warn-tint: rgba(255,131,15,.14); --shadow: 0 18px 44px rgba(0,0,20,.55); color-scheme: dark;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(143,187,250,.16), transparent 60%), #020159; background-attachment: fixed; color: #fff;
  font-family: 'Space Grotesk', Inter, system-ui, sans-serif;
}
body.ur-brand .shell { grid-template-columns: 1fr; }
body.ur-brand .side, body.ur-brand .topbar { display: none !important; }
body.ur-brand .main { padding: 0; background: transparent; }
body.ur-brand #view { padding: 0; }
body.ur-brand .content-page { max-width: 1240px; margin: 0 auto; padding: 30px 32px 90px; }
body.ur-brand .card { background: rgba(5,3,122,.72); border-color: var(--line); border-radius: 16px; }
body.ur-brand .card.folder h3 { font-family: 'Unbounded', Inter, sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
body.ur-brand .btn { border-radius: 10px; }
body.ur-brand .btn.primary, body.ur-brand .btn.sm.primary { background: #FF830F; color: #03017E; border-color: #FF830F; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { body.ur-brand .btn.primary:hover { background: #FFA14A; } }
body.ur-brand .drop { border-color: rgba(143,187,250,.4); background: rgba(143,187,250,.06); }
body.ur-brand .note.info { background: rgba(143,187,250,.1); border-color: rgba(143,187,250,.3); color: #e4ecff; }
.ur-h { font-family: 'Unbounded', Inter, sans-serif; font-weight: 800; font-size: 44px; letter-spacing: -.03em; margin: 4px 0 6px; }
.ur-p { color: var(--fg-2); margin: 0 0 20px; max-width: 720px; font-size: 15.5px; line-height: 1.5; }
.urnav { background: color-mix(in srgb, #03017E 88%, transparent); border-bottom-color: rgba(143,187,250,.18); }
.urnav .brand small { color: #FF830F; font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 10.5px; }
.urnav nav { border-color: rgba(143,187,250,.28); }
.urnav nav a { color: #c3d4fb; }
.urnav nav a.on { background: #FF830F; color: #03017E; font-weight: 700; }
.urnav .ghost { color: #c3d4fb; border-color: rgba(143,187,250,.28); }
.urn { font-style: normal; display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 99px; background: #fff; color: #03017E; font-size: 11px; font-weight: 800; }
.urnav nav a.on .urn { background: #03017E; color: #fff; }
.urgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 6px; }
.urcard { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #03017E; border: 1px solid rgba(143,187,250,.2); transition: transform .2s cubic-bezier(.2,.8,.2,1), border-color .2s, box-shadow .2s; }
@media (hover: hover) { .urcard:hover { transform: translateY(-3px); border-color: rgba(255,131,15,.6); box-shadow: 0 18px 40px rgba(0,0,30,.5); } }
.urmedia { position: relative; aspect-ratio: 9 / 16; background: #01003d; cursor: pointer; overflow: hidden; }
.urmedia video, .urmedia img { width: 100%; height: 100%; object-fit: cover; display: block; }
.urplay { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,131,15,.94); color: #03017E; font-size: 18px; padding-left: 3px; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: opacity .2s, transform .2s; pointer-events: none; }
@media (hover: hover) { .urmedia:hover .urplay { opacity: 0; transform: scale(.85); } }
.urst { position: absolute; left: 10px; bottom: 10px; background: rgba(2,1,89,.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.urbody { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.urbody h3 { font-family: 'Unbounded', Inter, sans-serif; font-weight: 600; font-size: 14.5px; line-height: 1.3; margin: 0; letter-spacing: -.01em; }
.urbody p { margin: 0; color: var(--fg-2); font-size: 13px; line-height: 1.45; }
.urcheck { font-size: 12.5px; line-height: 1.4; color: #FFC48F; background: rgba(255,131,15,.1); border: 1px solid rgba(255,131,15,.3); border-radius: 10px; padding: 7px 9px; }
.uracts { gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
@media (max-width: 760px) {
  body.ur-brand .content-page { padding: 18px 16px 60px; }
  .ur-h { font-size: 32px; }
  .urgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .urbody { padding: 10px; } .urbody h3 { font-size: 13px; }
  .urnav .brand small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .urcard, .urplay { transition: none; } }

/* Unreal Sports content library (2026-10-16): the Solar Compared library model, organic not ads */
.ul-page .ur-p { margin-bottom: 18px; }
.ul-tabs { align-self: flex-start; width: max-content; max-width: 100%; display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; border: 1px solid rgba(143,187,250,.28); background: rgba(2,1,89,.6); margin: 0 0 22px; }
.ul-tabs a { padding: 8px 18px; border-radius: 99px; color: #c3d4fb; font-weight: 600; font-size: 14px; text-decoration: none; }
.ul-tabs a:hover { color: #fff; text-decoration: none; }
.ul-tabs a.on { background: #FF830F; color: #03017E; }
.ul-tabs i { font-style: normal; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 99px; background: rgba(255,255,255,.14); font-size: 12px; font-weight: 800; }
.ul-tabs a.on i { background: #03017E; color: #fff; }
.ulg { margin: 0 0 30px; }
.ulg > h2 { font-family: 'Unbounded', Inter, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #FF830F; margin: 0 0 12px; }
.ulc { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 28px; padding: 20px; margin: 0 0 16px; border-radius: 20px; background: rgba(5,3,122,.78); border: 1px solid rgba(143,187,250,.2); box-shadow: 0 14px 40px rgba(0,0,30,.35); }
.ulc.is-ok { border-color: rgba(64,200,120,.45); }
.ulc-vid { border-radius: 14px; overflow: hidden; background: #01003d; aspect-ratio: 9 / 16; align-self: start; box-shadow: 0 10px 28px rgba(0,0,0,.4); }
.ulc-vid video { width: 100%; height: 100%; object-fit: cover; display: block; background: #01003d; }
.ulc-info { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
/* Editing bar (2026-11-10): the notes watcher is re-cutting this video. Indeterminate, calm, no flash. */
.ulc-editing { padding: 12px 14px; border-radius: 12px; background: rgba(143,187,250,.1); border: 1px solid rgba(143,187,250,.28); }
.ulc-editing p { margin: 6px 0 0; font-size: 13.5px; color: #dfe6ff; }
.ulc-editing .eb-note { font-style: italic; color: #b8c4ee; }
.ulc-editing .eb-sub { font-size: 12px; color: #8592c9; }
.eb-track { position: relative; height: 6px; border-radius: 99px; overflow: hidden; background: rgba(143,187,250,.18); }
.eb-track i { position: absolute; top: 0; bottom: 0; left: 0; width: 38%; border-radius: 99px; background: #FF830F; animation: eb-slide 1.8s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes eb-slide { from { transform: translateX(-100%); } to { transform: translateX(265%); } }
@media (prefers-reduced-motion: reduce) { .eb-track i { animation: none; width: 100%; opacity: .55; } }
body.jr-brand .eb-track i { background: #F6D678; }
.ulc-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ulc-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8FBBFA; }
.ulc-info h3 { font-family: 'Unbounded', Inter, sans-serif; font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; margin: 0; color: #fff; }
.ulc-meta { font-size: 12.5px; color: #8592c9; font-weight: 600; }
.ulc-info p { margin: 0; color: #c3d4fb; font-size: 15px; line-height: 1.55; max-width: 64ch; }
.ulc-checks { padding: 12px 14px; border-radius: 12px; background: rgba(255,131,15,.1); border: 1px solid rgba(255,131,15,.32); max-width: 64ch; }
.ulc-checks b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #FF9A3C; margin-bottom: 6px; }
.ulc-checks ul { margin: 0; padding-left: 18px; color: #ffe2c6; font-size: 14px; line-height: 1.5; }
.ulc-checks li + li { margin-top: 4px; }
.ulc-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.ulc-acts .btn { font-size: 14px; padding: 9px 16px; }
.ulc-done { color: #6ee7a0; font-weight: 700; font-size: 14px; }
.ulc-notes { display: flex; flex-direction: column; gap: 6px; max-width: 64ch; margin-top: 4px; }
.ulc-notes label { font-size: 13px; color: #fff; } .ulc-notes label span { color: #8592c9; }
.ulc-notes textarea { width: 100%; min-height: 78px; resize: vertical; font: inherit; font-size: 14px; color: #fff; background: rgba(2,1,89,.75); border: 1px solid rgba(143,187,250,.3); border-radius: 12px; padding: 10px 12px; }
.ulc-notes textarea:focus { outline: none; border-color: #FF830F; box-shadow: 0 0 0 3px rgba(255,131,15,.2); }
.ulc-save { display: flex; gap: 10px; align-items: center; } .ulc-save .small { color: #8592c9; }
.ulc-empty { padding: 48px 20px; text-align: center; color: #c3d4fb; border: 1px dashed rgba(143,187,250,.3); border-radius: 20px; font-size: 15px; }
@media (max-width: 760px) {
  .ulc { grid-template-columns: 1fr; gap: 16px; padding: 14px; }
  .ulc-vid { max-width: 340px; width: 100%; justify-self: center; }
  .ulc-info h3 { font-size: 21px; }
  .ul-tabs { display: flex; width: 100%; } .ul-tabs a { flex: 1; text-align: center; padding: 8px 10px; }
}

/* ======== Jake Reddick side (2026-10-23): his reels' own look, over the shared ur-brand layout ======== */
/* Measured off his reels (Skills/Jake Reel/references/style.md): title gold #F6D678 -> #CD961E with a
   maroon #480000 edge, captions' word box #1C74FF -> #5EE7C8. Fraunces = the free match for his title
   serif, Montserrat for his caption sans. Dark, like a reel. */
body.jr-brand {
  --bg: #0f0d0b; --bg-2: #1a1714; --bg-3: #24201b; --line: rgba(246,214,120,.14); --line-2: rgba(246,214,120,.24); --rule: rgba(246,214,120,.1);
  --fg: #fbf7ee; --fg-2: #d8cfbd; --fg-3: #9b917f; --accent: #1C74FF; --accent-lt: #5EE7C8; --accent-tint: rgba(28,116,255,.16); --accent-fg: #fff;
  --info: #5EE7C8; --warn: #F6D678; --warn-tint: rgba(246,214,120,.14);
  background: radial-gradient(1100px 560px at 88% -12%, rgba(205,150,30,.16), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(28,116,255,.12), transparent 60%), #0f0d0b;
  background-attachment: fixed; font-family: Montserrat, Inter, system-ui, sans-serif;
}
body.jr-brand .card { background: rgba(26,23,20,.86); }
body.jr-brand .card.folder h3, body.jr-brand .urbody h3 { font-family: Fraunces, Georgia, serif; font-weight: 900; letter-spacing: -.005em; }
body.jr-brand .btn.primary, body.jr-brand .btn.sm.primary { background: linear-gradient(90deg, #1C74FF, #5EE7C8); color: #fff; border-color: transparent; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
@media (hover: hover) and (pointer: fine) { body.jr-brand .btn.primary:hover { background: linear-gradient(90deg, #3a88ff, #7af0d6); } }
body.jr-brand .drop { border-color: rgba(246,214,120,.38); background: rgba(246,214,120,.05); }
body.jr-brand .note.info { background: rgba(94,231,200,.08); border-color: rgba(94,231,200,.3); color: #e9fbf6; }
.jr-mark, body.jr-brand .ur-h, body.jr-brand .ulc-info h3 {
  font-family: Fraunces, Georgia, serif; font-weight: 900; letter-spacing: -.01em;
  background: linear-gradient(180deg, #F6D678, #CD961E); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #480000) drop-shadow(0 0 14px rgba(255,40,20,.18));
}
.jr-mark { font-size: 22px; line-height: 1; }
body.jr-brand .ur-h { font-size: 48px; }
.jrnav { background: color-mix(in srgb, #0f0d0b 86%, transparent); border-bottom-color: rgba(246,214,120,.16); }
.jrnav .brand small { color: #5EE7C8; font-family: Montserrat, sans-serif; }
.jrnav nav { border-color: rgba(246,214,120,.26); }
.jrnav nav a { color: #d8cfbd; }
.jrnav nav a.on { background: linear-gradient(90deg, #1C74FF, #5EE7C8); color: #fff; }
.jrnav .ghost { color: #d8cfbd; border-color: rgba(246,214,120,.26); }
body.jr-brand .urn { color: #0f0d0b; } .jrnav nav a.on .urn { background: #fff; color: #1C74FF; }
body.jr-brand .ul-tabs { border-color: rgba(246,214,120,.26); background: rgba(26,23,20,.7); }
body.jr-brand .ul-tabs a { color: #d8cfbd; }
body.jr-brand .ul-tabs a.on { background: linear-gradient(90deg, #1C74FF, #5EE7C8); color: #fff; }
body.jr-brand .ul-tabs a.on i { background: rgba(0,0,0,.28); }
body.jr-brand .ulg > h2 { font-family: Montserrat, sans-serif; font-weight: 800; color: #F6D678; letter-spacing: .1em; }
body.jr-brand .ulc { background: rgba(26,23,20,.88); border-color: rgba(246,214,120,.16); box-shadow: 0 14px 40px rgba(0,0,0,.45); }
body.jr-brand .ulc.is-ok { border-color: rgba(94,231,200,.5); }
body.jr-brand .ulc-vid, body.jr-brand .ulc-vid video, body.jr-brand .urmedia { background: #000; }
body.jr-brand .ulc-meta { color: #9b917f; }
body.jr-brand .ulc-info p { color: #d8cfbd; }
body.jr-brand .ulc-checks { background: rgba(246,214,120,.08); border-color: rgba(246,214,120,.3); }
body.jr-brand .ulc-checks b { color: #F6D678; } body.jr-brand .ulc-checks ul { color: #f3e8cf; }
body.jr-brand .ulc-done { color: #5EE7C8; }
body.jr-brand .ulc-notes label span, body.jr-brand .ulc-save .small { color: #9b917f; }
body.jr-brand .ulc-notes textarea { background: rgba(15,13,11,.8); border-color: rgba(246,214,120,.26); }
body.jr-brand .ulc-notes textarea:focus { border-color: #5EE7C8; box-shadow: 0 0 0 3px rgba(94,231,200,.18); }
body.jr-brand .ulc-empty { color: #d8cfbd; border-color: rgba(246,214,120,.28); }
body.jr-brand .urcard { background: #1a1714; border-color: rgba(246,214,120,.16); }
body.jr-brand .urplay { background: linear-gradient(90deg, #1C74FF, #5EE7C8); color: #fff; }
/* Notes thread on Jake's reels (2026-10-23) */
.jrn-list { display: flex; flex-direction: column; gap: 6px; margin: 2px 0 4px; }
.jrn-empty { font-size: 13px; color: var(--fg-3); padding: 4px 0; }
.jrn-item { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(246,214,120,.14); }
.jrn-item input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: #5EE7C8; cursor: pointer; }
.jrn-body { flex: 1; min-width: 0; font-size: 14px; line-height: 1.45; color: var(--fg); overflow-wrap: anywhere; }
.jrn-meta { font-size: 12px; color: var(--fg-3); margin-top: 3px; }
.jrn-item.done .jrn-body { color: var(--fg-3); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.3); }
.jrn-item.done .jrn-meta { text-decoration: none; }
.jrn-at { font: inherit; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; padding: 2px 8px; margin-right: 4px; border-radius: 99px; border: 0; cursor: pointer; color: #fff; background: linear-gradient(90deg, #1C74FF, #5EE7C8); }
.jrn-x { flex: none; border: 0; background: none; color: var(--fg-3); cursor: pointer; font-size: 13px; padding: 2px 4px; }
.jrn-x:hover { color: var(--fg); }
.jrn-pin { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--fg-2); margin-right: auto; cursor: pointer; font-variant-numeric: tabular-nums; }
.jrn-pin input { accent-color: #5EE7C8; }
.jrn .ulc-save { justify-content: flex-end; }
@media (max-width: 760px) { body.jr-brand .ur-h { font-size: 34px; } .jr-mark { font-size: 18px; } }

/* ======== Today: the 09:00 to-do list (2026-10-21) ======== */
.td-page { max-width: 860px; }
.td-head { padding: 18px 20px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.td-head.stale { border-color: var(--warn); }
.td-headline { font-size: 19px; font-weight: 650; letter-spacing: -.01em; line-height: 1.4; margin-bottom: 6px; }
.td-bar { height: 6px; border-radius: 99px; background: var(--bg-3); margin-top: 10px; overflow: hidden; }
.td-bar i { display: block; height: 100%; background: var(--ok); border-radius: 99px; transition: width .3s cubic-bezier(.2,.8,.2,1); }
.td-list { display: flex; flex-direction: column; }
.td-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 4px; border-top: 1px solid var(--rule, var(--line)); cursor: pointer; }
.td-item:first-child { border-top: 0; }
.td-item input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ok); flex: none; cursor: pointer; }
.td-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.td-title { font-size: 15px; font-weight: 600; line-height: 1.4; }
.td-why { font-size: 13.5px; color: var(--fg-2); line-height: 1.45; }
.td-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 12.5px; }
.td-flag { color: var(--bad); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-right: 2px; }
.td-item.done .td-title { text-decoration: line-through; color: var(--fg-3); }
.td-item.done .td-why, .td-item.done .td-meta { opacity: .5; }
.td-wait { padding: 8px 0; border-top: 1px solid var(--rule, var(--line)); } .td-wait:first-of-type { border-top: 0; }
.td-wait ul, .td-notes { margin: 6px 0 0; padding-left: 18px; color: var(--fg-2); font-size: 14px; line-height: 1.5; }

/* ======== Learn with Tom (2026-10-28): the channel's thumbnails' look, over the shared ur-brand layout ======== */
/* Dark lamp-lit room, mellow parchment Anton #E3CFAF, muted amber #D9A066, Jost for body. Mellow, never bright
   (Tom: bright text "is putting me off"). */
body.lwt-brand {
  --bg: #120c08; --bg-2: #1c1510; --bg-3: #261d16; --line: rgba(227,207,175,.13); --line-2: rgba(227,207,175,.22); --rule: rgba(227,207,175,.09);
  --fg: #f1e6d4; --fg-2: #d5c4a8; --fg-3: #9c8c74; --accent: #D9A066; --accent-lt: #E3CFAF; --accent-tint: rgba(217,160,102,.16); --accent-fg: #1a120b;
  --info: #E3CFAF; --warn: #D9A066; --warn-tint: rgba(217,160,102,.14);
  background: radial-gradient(1000px 560px at 85% -10%, rgba(217,160,102,.16), transparent 60%), radial-gradient(900px 520px at -10% 110%, rgba(120,170,255,.06), transparent 60%), #120c08;
  background-attachment: fixed; font-family: Jost, Inter, system-ui, sans-serif;
}
body.lwt-brand .card { background: rgba(28,21,16,.86); }
.lwt-mark, body.lwt-brand .ur-h, body.lwt-brand .ulc-info h3, body.lwt-brand .lwt-long h3 {
  font-family: Anton, Impact, sans-serif; font-weight: 400; letter-spacing: .02em; color: #E3CFAF;
  text-shadow: 0 0 14px rgba(235,175,110,.22), 0 2px 12px rgba(0,0,0,.5);
}
.lwt-mark { font-size: 22px; line-height: 1; }
body.lwt-brand .ur-h { font-size: 46px; }
body.lwt-brand .btn.primary, body.lwt-brand .btn.sm.primary { background: #D9A066; color: #1a120b; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.lwt-brand .btn.primary:hover { background: #e3b07c; } }
body.lwt-brand .drop { border-color: rgba(227,207,175,.32); background: rgba(227,207,175,.04); }
body.lwt-brand .upb-bar i { background: #D9A066; }
.lwtnav { background: color-mix(in srgb, #120c08 88%, transparent); border-bottom-color: rgba(227,207,175,.14); }
.lwtnav .brand small { color: #D9A066; font-family: Jost, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.lwtnav nav { border-color: rgba(227,207,175,.24); }
.lwtnav nav a { color: #d5c4a8; }
.lwtnav nav a.on { background: #D9A066; color: #1a120b; }
.lwtnav .ghost { color: #d5c4a8; border-color: rgba(227,207,175,.24); }
body.lwt-brand .urn { color: #1a120b; } .lwtnav nav a.on .urn { background: #1a120b; color: #E3CFAF; }
body.lwt-brand .ul-tabs { border-color: rgba(227,207,175,.24); background: rgba(28,21,16,.7); }
body.lwt-brand .ul-tabs a { color: #d5c4a8; }
body.lwt-brand .ul-tabs a.on { background: #D9A066; color: #1a120b; }
body.lwt-brand .ulg > h2 { font-family: Jost, sans-serif; font-weight: 500; color: #D9A066; letter-spacing: .28em; text-transform: uppercase; font-size: 13px; }
body.lwt-brand .ulc { background: rgba(28,21,16,.88); border-color: rgba(227,207,175,.14); box-shadow: 0 14px 40px rgba(0,0,0,.45); }
body.lwt-brand .ulc.is-ok { border-color: rgba(227,207,175,.4); }
body.lwt-brand .ulc-vid, body.lwt-brand .ulc-vid video { background: #000; }
body.lwt-brand .ulc-meta { color: #9c8c74; } body.lwt-brand .ulc-info p { color: #d5c4a8; }
body.lwt-brand .ulc-done { color: #E3CFAF; }
body.lwt-brand .ulc-empty { color: #d5c4a8; border-color: rgba(227,207,175,.24); }
.lwt-next { border-color: rgba(217,160,102,.55) !important; box-shadow: 0 0 0 1px rgba(217,160,102,.25), 0 18px 50px rgba(0,0,0,.5) !important; }
.lwt-short .ulc-vid { max-width: 280px; }
.lwt-long { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 18px; padding: 16px; margin-bottom: 14px; border-radius: var(--radius); border: 1px solid rgba(227,207,175,.14); background: rgba(28,21,16,.88); }
.lwt-long img, .lwt-nothumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #000; }
.lwt-nothumb { display: grid; place-items: center; color: var(--fg-3); font-size: 13px; }
.lwt-long h3 { margin: 0 0 6px; font-size: 24px; line-height: 1.15; }
.lwt-long details { margin: 10px 0; } .lwt-long summary { cursor: pointer; color: var(--fg-2); font-size: 14px; }
.lwt-desc { white-space: pre-wrap; font-family: inherit; font-size: 13.5px; line-height: 1.5; color: var(--fg-2); background: rgba(0,0,0,.25); border-radius: 8px; padding: 10px 12px; margin: 8px 0 0; max-height: 280px; overflow: auto; }
.lwt-bars { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.lwt-bar { display: grid; grid-template-columns: minmax(0, 1.2fr) 2fr auto; gap: 12px; align-items: center; font-size: 13.5px; }
.lwt-bar-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg-2); }
.lwt-bar-t { position: relative; height: 12px; border-radius: 99px; background: var(--bg-3); overflow: hidden; }
.lwt-bar-t em { position: absolute; top: 0; bottom: 0; background: rgba(227,207,175,.1); }
.lwt-bar-t i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: #D9A066; z-index: 1; }
.lwt-bar-t i.bad { background: #b0634a; } .lwt-bar-t i.ok { background: #9fbf8a; }
.lwt-stat .tile.bad .v { color: #d98a6e; } .lwt-stat .tile.ok .v { color: #b5d39e; }
@media (max-width: 760px) {
  body.lwt-brand .ur-h { font-size: 32px; } .lwt-mark { font-size: 18px; }
  .lwt-long { grid-template-columns: 1fr; } .lwt-short .ulc-vid { max-width: none; }
  .lwt-bar { grid-template-columns: 1fr auto; } .lwt-bar-l { grid-column: 1 / -1; }
}
/* Learn with Tom library v2 (2026-10-28): one numbered section per video, its Shorts in a grid underneath */
.lwt-nextbar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--radius); border: 1px solid rgba(217,160,102,.45); background: rgba(217,160,102,.08); color: var(--fg); text-decoration: none; }
.lwt-nextbar b { color: #D9A066; font-weight: 500; letter-spacing: .04em; white-space: nowrap; } .lwt-nextbar span { color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lwt-nextbar i { margin-left: auto; font-style: normal; color: #D9A066; }
.lwt-nextbar.done { border-color: rgba(227,207,175,.25); background: rgba(227,207,175,.05); }
.lwt-vsec { padding-top: 8px; }
.lwt-vnum { font-family: Anton, Impact, sans-serif; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: #D9A066; margin: 0 0 8px; }
.lwt-shead { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 10px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-2); }
.lwt-shead span { letter-spacing: .04em; text-transform: none; color: var(--fg-3); }
.lwt-sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 26px; }
.lwt-sc { display: flex; flex-direction: column; border-radius: var(--radius); border: 1px solid rgba(227,207,175,.14); background: rgba(28,21,16,.88); overflow: hidden; }
.lwt-sc.is-ok { opacity: .72; } .lwt-sc.lwt-next { border-color: rgba(217,160,102,.6); box-shadow: 0 0 0 1px rgba(217,160,102,.25); }
.lwt-sc video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; display: block; }
.lwt-sc-info { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.lwt-sc-info h4 { margin: 2px 0 0; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 18px; letter-spacing: .02em; line-height: 1.15; color: #E3CFAF; }
.lwt-sc-info p { margin: 0; font-size: 13px; color: var(--fg-2); }
.lwt-sc .ulc-acts { gap: 6px; flex-wrap: wrap; } .lwt-sc .pill { align-self: flex-start; }
@media (max-width: 760px) { .lwt-sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .lwt-nextbar span { display: none; } }
.ulc-beta .pill { background: rgba(143,187,250,.18); color: #8FBBFA; }

/* ======== TGM side (2026-10-30): the content OS sold as TGM, in Golf Store UK's colours ======== */
/* Deep navy #141a3c, royal blue #334FB4, pale blue #8FBBFA (the accent from Carl's content-OS video), red #E84344 sparingly. */
body.tgm-brand {
  --bg: #0d1230; --bg-2: #141a3c; --bg-3: #1d2660; --line: rgba(143,187,250,.16); --line-2: rgba(143,187,250,.28); --rule: rgba(143,187,250,.12);
  --fg: #fff; --fg-2: #c9d5f5; --fg-3: #8a96c4; --accent: #334FB4; --accent-lt: #8FBBFA; --accent-tint: rgba(51,79,180,.22); --accent-fg: #fff;
  --info: #8FBBFA; --warn: #8FBBFA; --warn-tint: rgba(143,187,250,.14);
  background: radial-gradient(1100px 560px at 86% -12%, rgba(51,79,180,.34), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(143,187,250,.10), transparent 60%), #0d1230;
  background-attachment: fixed; font-family: Inter, system-ui, sans-serif;
}
body.tgm-brand .card { background: rgba(20,26,60,.88); }
body.tgm-brand .btn.primary, body.tgm-brand .btn.sm.primary { background: #334FB4; color: #fff; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.tgm-brand .btn.primary:hover { background: #4462cc; } }
body.tgm-brand .drop { border-color: rgba(143,187,250,.38); background: rgba(143,187,250,.05); }
body.tgm-brand .upb-bar { background: rgba(255,255,255,.1); } body.tgm-brand .upb-bar i { background: linear-gradient(90deg, #334FB4, #8FBBFA); }
.tgm-mark, body.tgm-brand .ur-h { font-family: Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.tgm-mark { font-size: 24px; line-height: 1; padding: 4px 10px; border-radius: 9px; background: #334FB4; }
body.tgm-brand .ur-h { font-size: 46px; }
.tgmnav { background: color-mix(in srgb, #0d1230 88%, transparent); border-bottom-color: rgba(143,187,250,.16); }
.tgmnav .brand small { color: #8FBBFA; }
.tgmnav nav { border-color: rgba(143,187,250,.26); }
.tgmnav nav a { color: #c9d5f5; }
.tgmnav nav a.on { background: #334FB4; color: #fff; }
.tgmnav .ghost { color: #c9d5f5; border-color: rgba(143,187,250,.26); }
body.tgm-brand .urn { color: #0d1230; } .tgmnav nav a.on .urn { background: #fff; color: #334FB4; }
body.tgm-brand .ul-tabs { border-color: rgba(143,187,250,.26); background: rgba(20,26,60,.7); }
body.tgm-brand .ul-tabs a { color: #c9d5f5; }
body.tgm-brand .ul-tabs a.on { background: #334FB4; color: #fff; }
body.tgm-brand .ul-tabs a.on i { background: rgba(0,0,0,.25); }
body.tgm-brand .ulg > h2 { color: #8FBBFA; letter-spacing: .1em; }
body.tgm-brand .ulc { background: rgba(20,26,60,.9); border-color: rgba(143,187,250,.16); box-shadow: 0 14px 40px rgba(0,0,20,.45); }
body.tgm-brand .ulc.is-ok { border-color: rgba(143,187,250,.55); }
body.tgm-brand .ulc-vid, body.tgm-brand .ulc-vid video, body.tgm-brand .urmedia { background: #000; }
body.tgm-brand .ulc-meta, body.tgm-brand .ulc-notes label span, body.tgm-brand .ulc-save .small { color: #8a96c4; }
body.tgm-brand .ulc-info p { color: #c9d5f5; }
body.tgm-brand .ulc-done { color: #8FBBFA; }
body.tgm-brand .ulc-notes textarea { background: rgba(13,18,48,.85); border-color: rgba(143,187,250,.26); }
body.tgm-brand .ulc-notes textarea:focus { border-color: #8FBBFA; box-shadow: 0 0 0 3px rgba(143,187,250,.18); }
body.tgm-brand .ulc-empty { color: #c9d5f5; border-color: rgba(143,187,250,.28); }
body.tgm-brand .urcard { background: #141a3c; border-color: rgba(143,187,250,.16); }
@media (max-width: 760px) { body.tgm-brand .ur-h { font-size: 34px; } .tgm-mark { font-size: 20px; } }

/* ======== Business social calendars (2026-10-30): one per business, Google Calendar style ======== */
.soc-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.soc-bar .grow { flex: 1; }
.soc-bar .seg .btn { border: 0; border-radius: 0; padding: 6px 12px; background: transparent; color: var(--fg-2); font-size: 13px; font-weight: 500; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .soc-bar .seg .btn:hover { background: var(--bg-3); color: var(--fg); } }
.soc-bar .seg .btn.on { background: var(--accent); color: var(--accent-fg); }
.soc-title { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.soc-legend { display: inline-flex; gap: 12px; font-size: 12px; color: var(--fg-3); }
.sp-key::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; background: var(--sp-c); }
.soc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 16px; align-items: start; }
.soc-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 70px; }
.soc-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.soc-card h4 { margin: 0 0 4px; font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.soc-card h4 i { font-style: normal; font-size: 11px; background: var(--accent-tint); color: var(--accent); border-radius: 99px; padding: 1px 7px; }
.soc-empty { font-size: 12.5px; color: var(--fg-3); padding: 10px 0 2px; }
.soc-tray { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; max-height: 46vh; overflow-y: auto; }
.st { cursor: grab; border-radius: 10px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); transition: transform var(--t) var(--e-out), border-color var(--t) ease; }
@media (hover: hover) and (pointer: fine) { .st:hover { transform: translateY(-2px); border-color: var(--accent); } }
.st:active { cursor: grabbing; }
.st video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; pointer-events: none; }
.st span { display: block; font-size: 11.5px; line-height: 1.3; padding: 6px 7px; color: var(--fg-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.st.dragging, .sp.dragging { opacity: .4; }
.soc-acc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.soc-acc b { display: block; font-weight: 600; }
.soc-acc small { display: block; font-size: 11.5px; color: var(--fg-3); }
.soc-form input[type="date"], .soc-form input[type="time"] { min-height: 40px; }
.soc-acc:first-of-type { border-top: 0; }
.pf { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font-style: normal; font-size: 9px; font-weight: 800; color: #fff; letter-spacing: .02em; flex: none; }
.pf-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); }
.pf-facebook { background: #1877f2; }
.pf-tiktok { background: #111; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }

/* status colours */
.sp-scheduled { --sp-c: var(--accent); }
.sp-published { --sp-c: var(--ok); }
.sp-error { --sp-c: var(--bad); }
.sp-idea, .sp-draft, .sp-approved { --sp-c: var(--fg-3); }

/* week */
.sw { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sw-head, .sw-grid { display: grid; grid-template-columns: 52px repeat(7, minmax(0, 1fr)); }
.sw-head { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: var(--bg-2); }
.sw-dh { text-align: center; padding: 8px 0 7px; border-left: 1px solid var(--line); }
.sw-dh span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-3); font-weight: 600; }
.sw-dh b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 17px; font-weight: 600; margin-top: 2px; }
.sw-dh.today span { color: var(--accent); }
.sw-dh.today b { background: var(--accent); color: var(--accent-fg); }
.sw-body { max-height: min(calc(68vh + 64px), 824px); overflow-y: auto; }
.sw-grid { position: relative; }
.sw-times div { height: var(--hpx); position: relative; }
.sw-times span { position: absolute; top: -7px; right: 8px; font-size: 10.5px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.sw-times div:first-child span { display: none; }
.sw-col { position: relative; border-left: 1px solid var(--line); background-image: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px var(--hpx)); transition: background-color var(--t) ease; }
.sw-col.past { background-color: color-mix(in srgb, var(--bg-3) 45%, transparent); }
.sw-col.today { background-color: var(--accent-tint); }
.sw-col.over { background-color: color-mix(in srgb, var(--accent) 12%, transparent); }
.sw-now { position: absolute; left: 0; right: 0; height: 2px; background: var(--bad); z-index: 3; pointer-events: none; }
.sw-now::before { content: ''; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--bad); }
.sw-ghost { position: absolute; left: 3px; right: 3px; height: 40px; border: 2px dashed var(--accent); border-radius: 8px; z-index: 4; pointer-events: none; font-size: 11px; font-weight: 700; color: var(--accent); padding: 3px 6px; background: color-mix(in srgb, var(--accent) 10%, transparent); }

/* a post: a block in week view, a chip in month view */
.sp { cursor: pointer; border-radius: 8px; padding: 4px 7px; font-size: 11.5px; line-height: 1.25; color: var(--fg); background: color-mix(in srgb, var(--sp-c) 18%, var(--bg-2)); border-left: 3px solid var(--sp-c); display: grid; grid-template-columns: auto 1fr; column-gap: 6px; overflow: hidden; transition: transform var(--t) var(--e-out), box-shadow var(--t) ease; }
@media (hover: hover) and (pointer: fine) { .sp:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.18); } }
.sp[draggable="true"] { cursor: grab; }
.sp-t { font-weight: 700; font-variant-numeric: tabular-nums; }
.sp-h { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-pf { grid-column: 1 / -1; display: flex; gap: 3px; margin-top: 3px; }
.sp-pf .pf { width: 16px; height: 16px; font-size: 7.5px; border-radius: 4px; }
.sw-col .sp { position: absolute; left: 3px; right: 3px; height: 46px; z-index: 2; }

/* month */
.sm-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sm-dh { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-3); font-weight: 600; padding: 8px; text-align: center; border-bottom: 1px solid var(--line); }
.sm-day { min-height: 112px; padding: 6px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; transition: background-color var(--t) ease; }
.sm-day:nth-child(7n + 8) { border-left: 0; }
.sm-day.out { opacity: .45; }
.sm-day.past { background: color-mix(in srgb, var(--bg-3) 45%, transparent); }
.sm-day.over { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.sm-day .n { font-size: 12px; font-weight: 600; color: var(--fg-3); text-decoration: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; }
.sm-day .n:hover { background: var(--bg-3); color: var(--fg); }
.sm-day.today .n { background: var(--accent); color: var(--accent-fg); }

/* the schedule form */
.soc-form { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: start; }
.sf-vid { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; background: #000; }
.drawer .sf-vid { width: 180px; }
/* reel cover (2026-11-24): the 9:16 cover, with the 3:4 the profile grid keeps marked on it */
.sf-left { display: grid; gap: 12px; }
.sf-cover { display: grid; gap: 6px; }
.sfc-h { font-size: 12px; font-weight: 600; color: var(--fg-3); }
.sfc-prev { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: var(--bg-3); display: grid; place-items: center; }
.drawer .sfc-prev { width: 120px; }
.sfc-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sfc-prev i { position: absolute; left: 0; right: 0; top: 50%; aspect-ratio: 3 / 4; transform: translateY(-50%); border: 1.5px dashed rgba(255,255,255,.85); box-shadow: 0 0 0 999px rgba(0,0,0,.35); pointer-events: none; }
.sfc-prev em { font-size: 11.5px; color: var(--fg-3); text-align: center; padding: 10px; font-style: normal; }
.sf-cover .btn { width: 100%; justify-content: center; }
.sfc-up { cursor: pointer; }
.sf-cover small { font-size: 11px; line-height: 1.35; }
.pf-dd { position: relative; margin-top: 4px; }
.pf-dd summary { list-style: none; cursor: pointer; border: 1px solid var(--line-2); border-radius: 9px; padding: 8px 32px 8px 10px; background: var(--bg); font-size: 13.5px; position: relative; }
.pf-dd summary::-webkit-details-marker { display: none; }
.pf-dd summary::after { content: '▾'; position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: var(--fg-3); transition: transform var(--t) var(--e-out); }
.pf-dd[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.pf-dd[open] summary { border-color: var(--accent); }
.pf-menu { position: absolute; z-index: 10; left: 0; right: 0; top: calc(100% + 4px); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow, 0 12px 30px rgba(0,0,0,.2)); padding: 4px; }
.pf-menu label { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 7px; cursor: pointer; font-size: 13.5px; }
.pf-menu label:hover { background: var(--bg-3); }
.pf-menu small { margin-left: auto; color: var(--fg-3); font-size: 11px; }

/* branded pages */
body.sc-brand .soc-page, body.gs-brand .soc-page { max-width: 1240px; margin: 0 auto; padding: 30px 32px 90px; }

@media (max-width: 900px) {
  .soc-layout { grid-template-columns: minmax(0, 1fr); }
  .soc-side { position: static; }
  .soc-tray { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); max-height: none; }
  .sm-grid { overflow-x: auto; }
  .sw-body { overflow-x: auto; }
  .sw-head, .sw-grid { min-width: 640px; }
  .sm-grid { grid-template-columns: repeat(7, minmax(84px, 1fr)); }
  .soc-form { grid-template-columns: 1fr; }
  .sf-vid { max-width: 160px; }
  .sf-left { grid-template-columns: 160px 130px; align-items: start; }
}
@media (max-width: 760px) {
  body.sc-brand .soc-page, body.gs-brand .soc-page { padding: 20px 16px 70px; }
  .soc-legend { display: none; }
}
@media (prefers-reduced-motion: reduce) { .st, .sp, .sw-col, .sm-day { transition: none; } .st:hover, .sp:hover { transform: none; } }

/* ======== Carousels & posts (2026-11-01): one set = one post, slides swiped sideways ======== */
.ulc.pc { grid-template-columns: 1fr; }
.pc-slides { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.pc-s { position: relative; flex: none; width: 260px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; scroll-snap-align: start; box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.pc-s img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--t) var(--e-out); }
.pc-s:hover img { transform: scale(1.03); }
.pc-s > a { display: block; width: 100%; height: 100%; }
/* hold and drag to reorder (2026-11-17): no iOS callout or text selection on a hold; the lifted photo rides the finger */
.pc-slides { position: relative; }
.pc-slides[data-order] .pc-s { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.pc-slides[data-order] .pc-s img { -webkit-user-drag: none; }
.pc-dragging { scroll-snap-type: none; cursor: grabbing; }
.pc-lift { position: relative; z-index: 3; }
.pc-lift .pc-s { transform: scale(1.04); box-shadow: 0 22px 48px rgba(0,0,0,.5); transition: transform 160ms cubic-bezier(.2,.8,.2,1), box-shadow 160ms; }
.pc-lift .pc-s:hover img { transform: none; }
@media (prefers-reduced-motion: reduce) { .pc-lift .pc-s { transform: none; } }
.pc-w { flex: none; width: 260px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; }
.pc-w .pc-s { width: 100%; }
.pc-cb { width: 100%; box-sizing: border-box; resize: vertical; font: inherit; font-size: 13.5px; line-height: 1.4; padding: 9px 11px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: inherit; }
.pc-cb:focus { outline: none; border-color: var(--fg-3); }
.pc-mode { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.pc-mode button { font: inherit; font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--fg-2); cursor: pointer; transition: background var(--t) var(--e-out), color var(--t) var(--e-out); }
.pc-mode button.on { background: var(--fg); color: var(--bg); border-color: transparent; }
.pc-mode button:disabled { cursor: default; opacity: .6; }
.pc-mode small { flex-basis: 100%; font-size: 12px; color: var(--fg-3); }
.pc-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 99px; background: rgba(0,0,0,.6); color: #fff; font-size: 14px; line-height: 30px; text-align: center; cursor: pointer; padding: 0; transition: background var(--t) var(--e-out), transform var(--t) var(--e-out); }
.pc-x:hover { background: rgba(200,40,40,.9); }
.pc-x:active { transform: scale(.92); }
.pc-out { margin-top: 10px; }
.pc-out > b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); margin-bottom: 6px; }
.pc-out > div { display: flex; gap: 8px; overflow-x: auto; }
.pc-o { flex: none; width: 84px; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: transparent; color: var(--fg-2); cursor: pointer; }
.pc-o img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; opacity: .5; }
.pc-o span { display: block; font-size: 11px; padding: 4px 0; }
.pc-o:hover img { opacity: .9; }
.pc-o:disabled { cursor: default; opacity: .6; }
.pc-s i { position: absolute; right: 10px; bottom: 10px; font-style: normal; font-size: 12px; font-weight: 700; background: rgba(0,0,0,.55); color: #fff; border-radius: 99px; padding: 2px 9px; }
.pc-cap { margin: 10px 0 4px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.pc-cap b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); margin-bottom: 4px; }
.pc-cap p { margin: 0; white-space: pre-wrap; font-size: 14px; color: var(--fg-2); }
.st img { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; pointer-events: none; }
.st-deck { position: relative; }
.st-deck img { aspect-ratio: 4 / 5; }
.st-n { position: absolute; top: 6px; left: 6px; font-size: 10.5px; background: rgba(0,0,0,.6); color: #fff; border-radius: 99px; padding: 2px 7px; }
.gs-btns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
/* a text-only post in the tray (2026-11-18): its opening words stand in for the picture */
.st-text { position: relative; }
.st-text p { margin: 0; aspect-ratio: 4 / 5; padding: 26px 9px 8px; font-size: 11px; line-height: 1.35; color: var(--fg); background: var(--bg-2); overflow: hidden; white-space: pre-wrap; pointer-events: none; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.sf-deck { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; }
.sf-deck img { flex: none; width: 150px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; scroll-snap-align: start; }
.soc-form .sf-deck { flex-direction: column; max-height: 420px; overflow-y: auto; overflow-x: hidden; }
.soc-form .sf-deck img { width: 100%; }
@media (max-width: 760px) { .pc-s, .pc-w { width: 210px; } .pc-w .pc-s { width: 100%; } }

.urnav nav { overflow-x: auto; scrollbar-width: none; max-width: 100%; } .urnav nav::-webkit-scrollbar { display: none; } .urnav nav a { flex: none; }
@media (max-width: 900px) { .soc-form .sf-deck { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; } .soc-form .sf-deck img { width: 120px; } }

/* ======== Page transitions (2026-11-01): a quick cross-fade instead of a blank-and-fade-up ======== */
/* The sidebar and each business's branded bar keep their place; only the page content changes. */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
.side { view-transition-name: os-side; }
.scnav { view-transition-name: os-brandbar; }
::view-transition-group(os-side), ::view-transition-group(os-brandbar) { animation-duration: 0s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
.pf-linkedin { background: #0A66C2; text-transform: none; font-size: 10px; }
.pf-youtube { background: #FF0000; }
.soc-acc small.ok { color: var(--ok); } .soc-acc small.bad { color: var(--bad); }
.pf-menu small { white-space: nowrap; }

.sp-publishing { --sp-c: var(--warn); }
.soc-form + * {}
.modal .note.full { margin-bottom: 14px; }

/* ======== Airdrop Golf (2026-11-01): TGM's page, recoloured to airdropgolf.com - charcoal, orange, cream, Lexend Deca ======== */
body.ad-brand {
  --bg: #1b1a19; --bg-2: #242322; --bg-3: #33302e; --line: rgba(255,178,122,.16); --line-2: rgba(255,178,122,.28); --rule: rgba(255,178,122,.12);
  --fg: #fff; --fg-2: #f3e7dc; --fg-3: #a89c92; --accent: #F86904; --accent-lt: #FFB27A; --accent-tint: rgba(248,105,4,.22); --accent-fg: #fff;
  --info: #FFB27A; --warn: #FFB27A; --warn-tint: rgba(255,178,122,.14);
  background: radial-gradient(1100px 560px at 86% -12%, rgba(248,105,4,.34), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(255,178,122,.10), transparent 60%), #1b1a19;
  background-attachment: fixed; font-family: "Lexend Deca", Inter, system-ui, sans-serif;
}
body.ad-brand .card { background: rgba(36,35,34,.88); }
body.ad-brand .btn.primary, body.ad-brand .btn.sm.primary { background: #F86904; color: #fff; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.ad-brand .btn.primary:hover { background: #ff8a3d; } }
body.ad-brand .drop { border-color: rgba(255,178,122,.38); background: rgba(255,178,122,.05); }
body.ad-brand .upb-bar { background: rgba(255,255,255,.1); } body.ad-brand .upb-bar i { background: linear-gradient(90deg, #F86904, #FFB27A); }
.ad-mark, body.ad-brand .ur-h { font-family: "Lexend Deca", Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.ad-mark { font-size: 24px; line-height: 1; padding: 4px 10px; border-radius: 9px; background: #F86904; }
body.ad-brand .ur-h { font-size: 46px; }
.adnav { background: color-mix(in srgb, #1b1a19 88%, transparent); border-bottom-color: rgba(255,178,122,.16); }
.adnav .brand small { color: #FFB27A; }
.adnav nav { border-color: rgba(255,178,122,.26); }
.adnav nav a { color: #f3e7dc; }
.adnav nav a.on { background: #F86904; color: #fff; }
.adnav .ghost { color: #f3e7dc; border-color: rgba(255,178,122,.26); }
body.ad-brand .urn { color: #1b1a19; } .adnav nav a.on .urn { background: #fff; color: #F86904; }
body.ad-brand .ul-tabs { border-color: rgba(255,178,122,.26); background: rgba(36,35,34,.7); }
body.ad-brand .ul-tabs a { color: #f3e7dc; }
body.ad-brand .ul-tabs a.on { background: #F86904; color: #fff; }
body.ad-brand .ul-tabs a.on i { background: rgba(0,0,0,.25); }
body.ad-brand .ulg > h2 { color: #FFB27A; letter-spacing: .1em; }
body.ad-brand .ulc { background: rgba(36,35,34,.9); border-color: rgba(255,178,122,.16); box-shadow: 0 14px 40px rgba(0,0,20,.45); }
body.ad-brand .ulc.is-ok { border-color: rgba(255,178,122,.55); }
body.ad-brand .ulc-vid, body.ad-brand .ulc-vid video, body.ad-brand .urmedia { background: #000; }
body.ad-brand .ulc-meta, body.ad-brand .ulc-notes label span, body.ad-brand .ulc-save .small { color: #a89c92; }
body.ad-brand .ulc-info p { color: #f3e7dc; }
body.ad-brand .ulc-done { color: #FFB27A; }
body.ad-brand .ulc-notes textarea { background: rgba(27,26,25,.85); border-color: rgba(255,178,122,.26); }
body.ad-brand .ulc-notes textarea:focus { border-color: #FFB27A; box-shadow: 0 0 0 3px rgba(255,178,122,.18); }
body.ad-brand .ulc-empty { color: #f3e7dc; border-color: rgba(255,178,122,.28); }
body.ad-brand .urcard { background: #242322; border-color: rgba(255,178,122,.16); }
@media (max-width: 760px) { body.ad-brand .ur-h { font-size: 34px; } .ad-mark { font-size: 20px; } }
.ad-logo { height: 46px; width: 46px; filter: invert(1); }
body.ad-brand .btn.primary, body.ad-brand .btn.sm.primary { color: #1b1a19; }

/* ======== Ryan Wheeler Golf (2026-11-06): TGM's page in ink black and champagne gold, Inter ======== */
body.rw-brand {
  --bg: #0B0D10; --bg-2: #13161B; --bg-3: #1D2127; --line: rgba(201,169,110,.16); --line-2: rgba(201,169,110,.28); --rule: rgba(201,169,110,.12);
  --fg: #F6F3EC; --fg-2: #ECE8DF; --fg-3: #8E8A80; --accent: #C9A96E; --accent-lt: #E6D3AE; --accent-tint: rgba(201,169,110,.22); --accent-fg: #0B0D10;
  --info: #E6D3AE; --warn: #E6D3AE; --warn-tint: rgba(201,169,110,.14);
  background: radial-gradient(1100px 560px at 86% -12%, rgba(201,169,110,.10), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(201,169,110,.10), transparent 60%), #0B0D10;
  background-attachment: fixed; font-family: Inter, system-ui, sans-serif;
}
body.rw-brand .card { background: rgba(19,22,27,.88); }
body.rw-brand .btn.primary, body.rw-brand .btn.sm.primary { background: #C9A96E; color: #fff; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.rw-brand .btn.primary:hover { background: #DBC08A; } }
body.rw-brand .drop { border-color: rgba(201,169,110,.38); background: rgba(201,169,110,.05); }
body.rw-brand .upb-bar { background: rgba(255,255,255,.1); } body.rw-brand .upb-bar i { background: linear-gradient(90deg, #C9A96E, #E6D3AE); }
body.rw-brand .ur-h { font-family: Inter, system-ui, sans-serif; font-weight: 300; letter-spacing: -.02em; color: #F6F3EC; }
.rw-mark { color: #F6F3EC; font: 500 15px/1 Inter, system-ui, sans-serif; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.rw-mark em { font-style: normal; color: #C9A96E; }
body.rw-brand .ur-h { font-size: 46px; }
.rwnav { background: color-mix(in srgb, #0B0D10 88%, transparent); border-bottom-color: rgba(201,169,110,.16); }
.rwnav .brand small { color: #E6D3AE; }
.rwnav nav { border-color: rgba(201,169,110,.26); }
.rwnav nav a { color: #ECE8DF; }
.rwnav nav a.on { background: #C9A96E; color: #0B0D10; }
.rwnav .ghost { color: #ECE8DF; border-color: rgba(201,169,110,.26); }
body.rw-brand .urn { color: #0B0D10; } .rwnav nav a.on .urn { background: #0B0D10; color: #C9A96E; }
body.rw-brand .ul-tabs { border-color: rgba(201,169,110,.26); background: rgba(19,22,27,.7); }
body.rw-brand .ul-tabs a { color: #ECE8DF; }
body.rw-brand .ul-tabs a.on { background: #C9A96E; color: #0B0D10; }
body.rw-brand .ul-tabs a.on i { background: rgba(0,0,0,.25); }
body.rw-brand .ulg > h2 { color: #E6D3AE; letter-spacing: .1em; }
body.rw-brand .ulc { background: rgba(19,22,27,.9); border-color: rgba(201,169,110,.16); box-shadow: 0 14px 40px rgba(0,0,20,.45); }
body.rw-brand .ulc.is-ok { border-color: rgba(201,169,110,.55); }
body.rw-brand .ulc-vid, body.rw-brand .ulc-vid video, body.rw-brand .urmedia { background: #000; }
body.rw-brand .ulc-meta, body.rw-brand .ulc-notes label span, body.rw-brand .ulc-save .small { color: #8E8A80; }
body.rw-brand .ulc-info p { color: #ECE8DF; }
body.rw-brand .ulc-done { color: #E6D3AE; }
body.rw-brand .ulc-notes textarea { background: rgba(11,13,16,.85); border-color: rgba(201,169,110,.26); }
body.rw-brand .ulc-notes textarea:focus { border-color: #E6D3AE; box-shadow: 0 0 0 3px rgba(201,169,110,.18); }
body.rw-brand .ulc-empty { color: #ECE8DF; border-color: rgba(201,169,110,.28); }
body.rw-brand .urcard { background: #13161B; border-color: rgba(201,169,110,.16); }
@media (max-width: 760px) { body.rw-brand .ur-h { font-size: 34px; } .rw-mark { font-size: 12px; letter-spacing: .18em; } }
body.rw-brand .btn.primary, body.rw-brand .btn.sm.primary { color: #0B0D10; }
body.ad-brand .ur-h { letter-spacing: -.02em; }

/* ======== Haptix Golf (2026-11-09): Ryan's dark premium page in Haptix's black, with their logo's purple-to-orange gradient ======== */
body.hx-brand {
  --bg: #08090B; --bg-2: #111216; --bg-3: #1B1C21; --line: rgba(242,118,46,.16); --line-2: rgba(242,118,46,.28); --rule: rgba(242,118,46,.12);
  --fg: #F4F6F8; --fg-2: #E6EAEE; --fg-3: #8A9199; --accent: #F2762E; --accent-lt: #F7A673; --accent-tint: rgba(242,118,46,.22); --accent-fg: #08090B;
  --info: #F7A673; --warn: #F7A673; --warn-tint: rgba(242,118,46,.14);
  background: radial-gradient(1100px 560px at 86% -12%, rgba(242,118,46,.10), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(242,118,46,.10), transparent 60%), #08090B;
  background-attachment: fixed; font-family: Inter, system-ui, sans-serif;
}
body.hx-brand .card { background: rgba(19,22,27,.88); }
body.hx-brand .btn.primary, body.hx-brand .btn.sm.primary { background: #F2762E; color: #fff; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.hx-brand .btn.primary:hover { background: #F58C4E; } }
body.hx-brand .drop { border-color: rgba(242,118,46,.38); background: rgba(242,118,46,.05); }
body.hx-brand .upb-bar { background: rgba(255,255,255,.1); } body.hx-brand .upb-bar i { background: linear-gradient(90deg, #A23C9A, #F2762E); }
body.hx-brand .ur-h { font-family: Inter, system-ui, sans-serif; font-weight: 300; letter-spacing: -.02em; color: #F4F6F8; }
.hx-mark { color: #F4F6F8; font: 500 15px/1 Inter, system-ui, sans-serif; letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; }
.hx-mark em { font-style: normal; color: #F2762E; }
body.hx-brand .ur-h { font-size: 46px; }
.hxnav { background: color-mix(in srgb, #08090B 88%, transparent); border-bottom-color: rgba(242,118,46,.16); }
.hxnav .brand small { color: #F7A673; }
.hxnav nav { border-color: rgba(242,118,46,.26); }
.hxnav nav a { color: #E6EAEE; }
.hxnav nav a.on { background: #F2762E; color: #08090B; }
.hxnav .ghost { color: #E6EAEE; border-color: rgba(242,118,46,.26); }
body.hx-brand .urn { color: #08090B; } .hxnav nav a.on .urn { background: #08090B; color: #F2762E; }
body.hx-brand .ul-tabs { border-color: rgba(242,118,46,.26); background: rgba(19,22,27,.7); }
body.hx-brand .ul-tabs a { color: #E6EAEE; }
body.hx-brand .ul-tabs a.on { background: #F2762E; color: #08090B; }
body.hx-brand .ul-tabs a.on i { background: rgba(0,0,0,.25); }
body.hx-brand .ulg > h2 { color: #F7A673; letter-spacing: .1em; }
body.hx-brand .ulc { background: rgba(19,22,27,.9); border-color: rgba(242,118,46,.16); box-shadow: 0 14px 40px rgba(0,0,20,.45); }
body.hx-brand .ulc.is-ok { border-color: rgba(242,118,46,.55); }
body.hx-brand .ulc-vid, body.hx-brand .ulc-vid video, body.hx-brand .urmedia { background: #000; }
body.hx-brand .ulc-meta, body.hx-brand .ulc-notes label span, body.hx-brand .ulc-save .small { color: #8A9199; }
body.hx-brand .ulc-info p { color: #E6EAEE; }
body.hx-brand .ulc-done { color: #F7A673; }
body.hx-brand .ulc-notes textarea { background: rgba(11,13,16,.85); border-color: rgba(242,118,46,.26); }
body.hx-brand .ulc-notes textarea:focus { border-color: #F7A673; box-shadow: 0 0 0 3px rgba(242,118,46,.18); }
body.hx-brand .ulc-empty { color: #E6EAEE; border-color: rgba(242,118,46,.28); }
body.hx-brand .urcard { background: #111216; border-color: rgba(242,118,46,.16); }
@media (max-width: 760px) { body.hx-brand .ur-h { font-size: 34px; } .hx-mark { font-size: 12px; letter-spacing: .18em; } }
body.hx-brand .btn.primary, body.hx-brand .btn.sm.primary { color: #08090B; }
body.ad-brand .ur-h { letter-spacing: -.02em; }

.hx-mark em { background: linear-gradient(90deg, #A23C9A, #F2762E); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* ======== Bogey Bil (2026-11-09): Ryan's creator page in links green-black and Old Course cream; serif mark like his reel titles ======== */
body.bb-brand {
  --bg: #0A1210; --bg-2: #101B17; --bg-3: #1A2722; --line: rgba(228,216,188,.16); --line-2: rgba(228,216,188,.28); --rule: rgba(228,216,188,.12);
  --fg: #F6F3EC; --fg-2: #ECE8DF; --fg-3: #8C978F; --accent: #E4D8BC; --accent-lt: #F2EBDA; --accent-tint: rgba(228,216,188,.22); --accent-fg: #0A1210;
  --info: #F2EBDA; --warn: #F2EBDA; --warn-tint: rgba(228,216,188,.14);
  background: radial-gradient(1100px 560px at 86% -12%, rgba(228,216,188,.10), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(228,216,188,.10), transparent 60%), #0A1210;
  background-attachment: fixed; font-family: Inter, system-ui, sans-serif;
}
body.bb-brand .card { background: rgba(19,22,27,.88); }
body.bb-brand .btn.primary, body.bb-brand .btn.sm.primary { background: #E4D8BC; color: #fff; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.bb-brand .btn.primary:hover { background: #F2EBDA; } }
body.bb-brand .drop { border-color: rgba(228,216,188,.38); background: rgba(228,216,188,.05); }
body.bb-brand .upb-bar { background: rgba(255,255,255,.1); } body.bb-brand .upb-bar i { background: linear-gradient(90deg, #E4D8BC, #F2EBDA); }
body.bb-brand .ur-h { font-family: Fraunces, Georgia, serif; font-weight: 700; letter-spacing: -.02em; color: #F6F3EC; }
.bb-mark { color: #F6F3EC; font: 700 22px/1 Fraunces, Georgia, serif; letter-spacing: .01em; white-space: nowrap; }
.bb-mark em { font-style: normal; color: #E4D8BC; }
body.bb-brand .ur-h { font-size: 46px; }
.bbnav { background: color-mix(in srgb, #0A1210 88%, transparent); border-bottom-color: rgba(228,216,188,.16); }
.bbnav .brand small { color: #F2EBDA; }
.bbnav nav { border-color: rgba(228,216,188,.26); }
.bbnav nav a { color: #ECE8DF; }
.bbnav nav a.on { background: #E4D8BC; color: #0A1210; }
.bbnav .ghost { color: #ECE8DF; border-color: rgba(228,216,188,.26); }
body.bb-brand .urn { color: #0A1210; } .bbnav nav a.on .urn { background: #0A1210; color: #E4D8BC; }
body.bb-brand .ul-tabs { border-color: rgba(228,216,188,.26); background: rgba(19,22,27,.7); }
body.bb-brand .ul-tabs a { color: #ECE8DF; }
body.bb-brand .ul-tabs a.on { background: #E4D8BC; color: #0A1210; }
body.bb-brand .ul-tabs a.on i { background: rgba(0,0,0,.25); }
body.bb-brand .ulg > h2 { color: #F2EBDA; letter-spacing: .1em; }
body.bb-brand .ulc { background: rgba(19,22,27,.9); border-color: rgba(228,216,188,.16); box-shadow: 0 14px 40px rgba(0,10,6,.5); }
body.bb-brand .ulc.is-ok { border-color: rgba(228,216,188,.55); }
body.bb-brand .ulc-vid, body.bb-brand .ulc-vid video, body.bb-brand .urmedia { background: #000; }
body.bb-brand .ulc-meta, body.bb-brand .ulc-notes label span, body.bb-brand .ulc-save .small { color: #8C978F; }
body.bb-brand .ulc-info p { color: #ECE8DF; }
body.bb-brand .ulc-done { color: #F2EBDA; }
body.bb-brand .ulc-notes textarea { background: rgba(11,13,16,.85); border-color: rgba(228,216,188,.26); }
body.bb-brand .ulc-notes textarea:focus { border-color: #F2EBDA; box-shadow: 0 0 0 3px rgba(228,216,188,.18); }
body.bb-brand .ulc-empty { color: #ECE8DF; border-color: rgba(228,216,188,.28); }
body.bb-brand .urcard { background: #101B17; border-color: rgba(228,216,188,.16); }
@media (max-width: 760px) { body.bb-brand .ur-h { font-size: 34px; } .bb-mark { color: #F6F3EC; font: 700 22px/1 Fraunces, Georgia, serif; letter-spacing: .01em; white-space: nowrap; } }
body.bb-brand .btn.primary, body.bb-brand .btn.sm.primary { color: #0A1210; }

/* ======== Joshua Kerr (2026-11-09): Ryan's creator page in the black and bone white of his "10/10 purchases" edit, cap-red detail, serif name ======== */
body.jk-brand {
  --bg: #0E0E0E; --bg-2: #161616; --bg-3: #222222; --line: rgba(236,231,223,.16); --line-2: rgba(236,231,223,.28); --rule: rgba(236,231,223,.12);
  --fg: #FAFAF8; --fg-2: #E6E4E0; --fg-3: #9A9A9A; --accent: #ECE7DF; --accent-lt: #FFFFFF; --accent-tint: rgba(236,231,223,.22); --accent-fg: #0E0E0E;
  --info: #FFFFFF; --warn: #FFFFFF; --warn-tint: rgba(236,231,223,.14);
  background: radial-gradient(1100px 560px at 86% -12%, rgba(236,231,223,.10), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(236,231,223,.10), transparent 60%), #0E0E0E;
  background-attachment: fixed; font-family: Inter, system-ui, sans-serif;
}
body.jk-brand .card { background: rgba(22,22,22,.88); }
body.jk-brand .btn.primary, body.jk-brand .btn.sm.primary { background: #ECE7DF; color: #fff; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.jk-brand .btn.primary:hover { background: #FFFFFF; } }
body.jk-brand .drop { border-color: rgba(236,231,223,.38); background: rgba(236,231,223,.05); }
body.jk-brand .upb-bar { background: rgba(255,255,255,.1); } body.jk-brand .upb-bar i { background: linear-gradient(90deg, #ECE7DF, #FFFFFF); }
body.jk-brand .ur-h { font-family: Fraunces, Georgia, serif; font-weight: 700; letter-spacing: -.02em; color: #FAFAF8; }
.jk-mark { color: #FAFAF8; font: 700 22px/1 Fraunces, Georgia, serif; letter-spacing: .01em; white-space: nowrap; }
.jk-mark em { font-style: normal; color: #D23B2F; }
body.jk-brand .ur-h { font-size: 46px; }
.jknav { background: color-mix(in srgb, #0E0E0E 88%, transparent); border-bottom-color: rgba(236,231,223,.16); }
.jknav .brand small { color: #FFFFFF; }
.jknav nav { border-color: rgba(236,231,223,.26); }
.jknav nav a { color: #E6E4E0; }
.jknav nav a.on { background: #ECE7DF; color: #0E0E0E; }
.jknav .ghost { color: #E6E4E0; border-color: rgba(236,231,223,.26); }
body.jk-brand .urn { color: #0E0E0E; } .jknav nav a.on .urn { background: #0E0E0E; color: #ECE7DF; }
body.jk-brand .ul-tabs { border-color: rgba(236,231,223,.26); background: rgba(22,22,22,.7); }
body.jk-brand .ul-tabs a { color: #E6E4E0; }
body.jk-brand .ul-tabs a.on { background: #ECE7DF; color: #0E0E0E; }
body.jk-brand .ul-tabs a.on i { background: rgba(0,0,0,.25); }
body.jk-brand .ulg > h2 { color: #FFFFFF; letter-spacing: .1em; }
body.jk-brand .ulc { background: rgba(22,22,22,.9); border-color: rgba(236,231,223,.16); box-shadow: 0 14px 40px rgba(0,0,0,.55); }
body.jk-brand .ulc.is-ok { border-color: rgba(236,231,223,.55); }
body.jk-brand .ulc-vid, body.jk-brand .ulc-vid video, body.jk-brand .urmedia { background: #000; }
body.jk-brand .ulc-meta, body.jk-brand .ulc-notes label span, body.jk-brand .ulc-save .small { color: #9A9A9A; }
body.jk-brand .ulc-info p { color: #E6E4E0; }
body.jk-brand .ulc-done { color: #FFFFFF; }
body.jk-brand .ulc-notes textarea { background: rgba(11,13,16,.85); border-color: rgba(236,231,223,.26); }
body.jk-brand .ulc-notes textarea:focus { border-color: #FFFFFF; box-shadow: 0 0 0 3px rgba(236,231,223,.18); }
body.jk-brand .ulc-empty { color: #E6E4E0; border-color: rgba(236,231,223,.28); }
body.jk-brand .urcard { background: #161616; border-color: rgba(236,231,223,.16); }
@media (max-width: 760px) { body.jk-brand .ur-h { font-size: 34px; } .jk-mark { color: #FAFAF8; font: 700 22px/1 Fraunces, Georgia, serif; letter-spacing: .01em; white-space: nowrap; } }
body.jk-brand .btn.primary, body.jk-brand .btn.sm.primary { color: #0E0E0E; }
body.ad-brand .ur-h { letter-spacing: -.02em; }

/* ======== Golf Kids (2026-11-06): Airdrop's page in golf-activity.com's own tokens. Light like their site: the logo is dark green type ======== */
body.gk-brand {
  --bg: #FFF9ED; --bg-2: #fff; --bg-3: #F6EFDE; --line: #E8DFC9; --line-2: #CFC5AE; --rule: #E8DFC9;
  --fg: #18352B; --fg-2: #2F4F43; --fg-3: #5C6F66; --accent: #0B4D2A; --accent-lt: #0B4D2A; --accent-tint: rgba(94,168,36,.16); --accent-fg: #fff;
  --info: #0B4D2A; --warn: #A8470A; --warn-tint: rgba(255,116,23,.12); --shadow: 0 12px 32px -12px rgba(24,53,43,.35); color-scheme: light;
  background: radial-gradient(1000px 520px at 88% -14%, rgba(255,196,0,.26), transparent 60%), radial-gradient(900px 480px at -10% 110%, rgba(94,168,36,.14), transparent 60%), #FFF9ED;
  background-attachment: fixed; color: #18352B; font-family: "Noto Sans", Inter, system-ui, sans-serif;
}
body.gk-brand .card { background: #fff; border-color: #E8DFC9; }
body.gk-brand .btn { border-radius: 99px; }
body.gk-brand .btn.primary, body.gk-brand .btn.sm.primary { background: #0B4D2A; color: #fff; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.gk-brand .btn.primary:hover { background: #18352B; } }
body.gk-brand .drop { border-color: #5EA824; background: rgba(94,168,36,.07); }
body.gk-brand .note.info { background: rgba(32,180,229,.1); border-color: rgba(32,180,229,.4); color: #18352B; }
body.gk-brand .upb-bar { background: #E8DFC9; } body.gk-brand .upb-bar i { background: linear-gradient(90deg, #0B4D2A, #5EA824); }
body.gk-brand .ur-h { font-family: "Noto Sans", Inter, system-ui, sans-serif; font-size: 46px; font-weight: 800; letter-spacing: -.02em; color: #0B4D2A; }
body.gk-brand .ur-p { color: #2F4F43; }
.gknav { background: color-mix(in srgb, #fff 90%, transparent); border-bottom-color: #E8DFC9; }
.gknav .brand small { color: #0B4D2A; font-family: "Noto Sans Mono", monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.gknav nav { border-color: #CFC5AE; }
.gknav nav a { color: #2F4F43; }
@media (hover: hover) and (pointer: fine) { .gknav nav a:hover { color: #0B4D2A; } .gknav .ghost:hover { color: #0B4D2A; border-color: #0B4D2A; } }
.gknav nav a.on { background: #0B4D2A; color: #fff; }
.gknav .ghost { color: #2F4F43; border-color: #CFC5AE; }
body.gk-brand .urn { background: #FFC400; color: #18352B; } .gknav nav a.on .urn { background: #FFC400; color: #18352B; }
body.gk-brand .ul-tabs { border-color: #CFC5AE; background: #fff; }
body.gk-brand .ul-tabs a { color: #2F4F43; }
body.gk-brand .ul-tabs a.on { background: #0B4D2A; color: #fff; }
body.gk-brand .ul-tabs a.on i { background: #FFC400; color: #18352B; }
body.gk-brand .ulg > h2 { color: #0B4D2A; letter-spacing: .1em; }
body.gk-brand .ulc { background: #fff; border-color: #E8DFC9; box-shadow: 0 12px 32px -12px rgba(24,53,43,.35); }
body.gk-brand .ulc.is-ok { border-color: #5EA824; }
body.gk-brand .ulc-vid, body.gk-brand .ulc-vid video, body.gk-brand .urmedia { background: #000; }
body.gk-brand .ulc-meta, body.gk-brand .ulc-notes label span, body.gk-brand .ulc-save .small { color: #5C6F66; }
body.gk-brand .ulc-info p { color: #2F4F43; }
body.gk-brand .ulc-done { color: #0B4D2A; }
body.gk-brand .ulc-notes textarea { background: #FFF9ED; border-color: #CFC5AE; color: #18352B; }
body.gk-brand .ulc-notes textarea:focus { border-color: #0B4D2A; box-shadow: 0 0 0 3px rgba(94,168,36,.25); }
body.gk-brand .ulc-empty { color: #2F4F43; border-color: #CFC5AE; }
body.gk-brand .urcard { background: #fff; border-color: #E8DFC9; }
.gk-logo { height: 58px; width: auto; display: block; }
.gknav .navsel { background-color: #fff; color: #18352B; border-color: #CFC5AE; }
.gknav .navsel:focus { border-color: #0B4D2A; }
body.gk-brand .seg .on, body.gk-brand .seg .active, body.gk-brand .seg [aria-pressed="true"] { background: #0B4D2A; color: #fff; }
@media (max-width: 760px) { body.gk-brand .ur-h { font-size: 34px; } .gk-logo { height: 46px; } }

/* Content OS sign-in (2026-11-02): the LinkedIn banner's lighter TGM blue, grid and "Content OS" lock-up. */
.cos-signin {
  background:
    radial-gradient(700px 360px at 85% -10%, rgba(255,255,255,.22), transparent 70%),
    radial-gradient(600px 340px at 5% 110%, rgba(20,26,60,.28), transparent 70%),
    linear-gradient(110deg, #5274E0 0%, #6385EA 55%, #7A99F0 100%);
  position: relative; align-content: center; gap: 22px;
}
.cos-signin::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px; }
.cos-signin .card { position: relative; }
.cos-head { text-align: center; color: #fff; margin-bottom: 20px; }
.cos-head img { width: 54px; height: 54px; border-radius: 50%; display: block; margin: 0 auto 14px; box-shadow: 0 6px 22px rgba(20,32,94,.35); }
.cos-head .k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .32em; color: #334FB4; margin-bottom: 4px; }
.cos-head h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--fg); }
.cos-head h1 b { color: #334FB4; }
.cos-head p { margin: 6px 0 0; color: var(--fg-3); font-size: 13px; }
.brand .logo.cos-logo { background: none; overflow: hidden; border-radius: 50%; }
.brand .logo.cos-logo img { width: 100%; height: 100%; display: block; }
.cos-signin .btn.primary { background: #334FB4; border-color: #334FB4; color: #fff; }
@media (hover: hover) and (pointer: fine) { .cos-signin .btn.primary:hover { background: #2a43a0; } }

/* Per-platform panels in the schedule form (2026-11-02) */
.pp-wrap { display: grid; gap: 8px; }
.pp { border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); overflow: hidden; }
.pp summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 9px; padding: 9px 11px; font-size: 13.5px; font-weight: 600; }
.pp summary::-webkit-details-marker { display: none; }
.pp summary small { margin-left: auto; font-weight: 400; color: var(--fg-3); font-size: 12px; }
.pp summary::after { content: '▾'; color: var(--fg-3); transition: transform var(--t) var(--e-out); }
.pp[open] summary::after { transform: rotate(180deg); }
.pp[open] { border-color: var(--accent); }
.pp-body { display: grid; gap: 10px; padding: 2px 11px 12px; }
.pp-note { margin: 0; font-size: 12px; line-height: 1.45; }

/* ======== Branded bars (2026-11-02): tabs on their own row, scrolling sideways; a dropdown on phones ======== */
.scnav .in { flex-wrap: wrap; row-gap: 10px; }
.scnav .in::after { content: ''; order: 2; flex-basis: 100%; height: 0; }
.scnav nav { order: 3; flex: 0 1 auto; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.navsel { display: none; }
@media (max-width: 760px) {
  .scnav nav { display: none; }
  .navsel { display: block; order: 3; width: 100%; font: inherit; font-size: 15px; font-weight: 600; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: 10px 36px 10px 12px; -webkit-appearance: none; appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
  .navsel option { color: #000; }
}

/* The style brief pop-up (2026-11-05). Built from the client's own --accent, so it wears their brand. */
.sb-modal { width: min(680px, 100%); display: flex; flex-direction: column; }
.sb-modal .mb { flex: 1; overflow: auto; }
.sb-prog { height: 3px; background: var(--line); flex: none; }
.sb-prog i { display: block; height: 100%; background: var(--accent); transition: width var(--t-slow) var(--e-out); }
.sb-step { display: grid; gap: 18px; animation: sbIn var(--t) var(--e-out) both; }
@keyframes sbIn { from { opacity: 0; transform: translateY(6px); } }
.sb-head h4 { margin: 0 0 4px; font-size: 21px; line-height: 1.2; color: var(--fg); }
.sb-head p { margin: 0; color: var(--fg-2); font-size: 14px; line-height: 1.45; }
.sb-q { display: grid; gap: 8px; }
.sb-q > b { font-size: 13px; color: var(--fg); font-weight: 600; }
.sb-q > b small { color: var(--fg-3); font-weight: 400; font-size: 12px; }
.sb-q input, .sb-q textarea { font-size: 16px; }
.sb-q textarea { min-height: 72px; }
.sb-q textarea[data-f="audience"] { min-height: 120px; }   /* the question that matters most on step 1 (Tom, 2026-11-16) */
.sb-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sb-opts.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sb-opts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sb-opt { display: grid; gap: 6px; align-content: start; text-align: left; padding: 10px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--fg); font: inherit; font-size: 13px; line-height: 1.3; cursor: pointer; transition: border-color var(--t-fast) ease, background var(--t-fast) ease, transform var(--t-fast) var(--e-out); }
.sb-opt:active { transform: scale(.97); }
.sb-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sb-opt small { color: var(--fg-3); font-size: 11.5px; }
.sb-opt[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-tint); box-shadow: inset 0 0 0 1px var(--accent); }
.sb-cap { aspect-ratio: 9 / 13; border-radius: 6px; background: linear-gradient(170deg, #39424f, #171b22); display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 6px; color: #fff; text-align: center; font-weight: 800; font-size: 11px; line-height: 1.15; overflow: hidden; }
.sb-cap.low { justify-content: flex-end; font-weight: 500; font-size: 9.5px; padding-bottom: 12px; }
.sb-cap.large { font-size: 15px; line-height: 1.02; text-transform: uppercase; }
.sb-cap mark { background: var(--accent); color: var(--accent-fg); padding: 0 3px; border-radius: 3px; }
.sb-cuts { display: flex; gap: 2px; height: 14px; }
.sb-cuts i { flex: 1; background: var(--accent); opacity: .75; border-radius: 2px; }
.sb-ref { display: grid; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sb-ref:last-of-type { border-bottom: 0; padding-bottom: 0; }
.sb-err { color: color-mix(in srgb, var(--bad) 55%, var(--fg)); font-size: 13.5px; font-weight: 600; margin: 0; }
.sb-done { text-align: center; padding: 24px 8px; }
.sb-done .tick { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-fg); font-size: 24px; font-weight: 800; }
@media (max-width: 640px) {
  .overlay:has(.sb-modal) { padding: 0; place-items: stretch; }
  .sb-modal { border-radius: 0; border: 0; max-height: none; height: 100dvh; }
  .sb-modal .mf { padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .sb-opts.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb-opts.three { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .sb-cap { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .sb-step { animation: none; } .sb-opt:active { transform: none; } }

/* Voiceover recorder (2026-11-05). A phone-height reel with the controls always on screen. */
.modal.vo { max-width: 420px; }
.vo-stage { position: relative; margin: 0 auto; width: fit-content; }
.vo-stage video { display: block; height: min(56vh, 520px); max-width: 100%; border-radius: 12px; background: #000; }
.vo-count { position: absolute; inset: 0; display: grid; place-items: center; font-size: 72px; font-weight: 800; color: #fff; background: rgba(0, 0, 0, .45); border-radius: 12px; }
.vo-count[hidden] { display: none; }
.vo-say { margin: 14px 0 12px; text-align: center; font-size: 15px; line-height: 1.4; }
.vo-say.live { font-weight: 700; font-variant-numeric: tabular-nums; }
.vo-say.live::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: #ff4d4d; }
.vo-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.fi-steps { margin: 4px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.5; }
.fi-steps li + li { margin-top: 6px; }
.vo .dzp { margin-top: 12px; }

/* Ball tracer colour picker (2026-11-10). One row per colour, the swatch drawn as a short tracer stroke. */
.modal.trc { max-width: 380px; }
.trc-opts { display: grid; gap: 8px; }
.trc-opt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line, rgba(127, 127, 127, .3)); border-radius: 10px; cursor: pointer; }
.trc-opt:has(input:checked) { border-color: var(--accent, currentColor); box-shadow: 0 0 0 1px var(--accent, currentColor); }
.trc-opt input { margin: 0; }
.trc-opt i { font-style: normal; font-size: 12px; opacity: .6; margin-left: 4px; }
.trc-sw { width: 44px; height: 14px; border-radius: 7px; background: #3d6b35; position: relative; flex: none; overflow: hidden; }
.trc-sw::after { content: ''; position: absolute; left: 4px; right: 4px; top: 5px; height: 4px; border-radius: 2px; background: var(--trc); box-shadow: 0 0 4px rgba(255, 255, 255, .7); }

/* Press and tap (2026-11-05). Every button answers the moment it's pressed, and nothing stays stuck
   in a hover state on a phone. Touch screens get 36px targets; a mouse keeps the compact sizes. */
.btn { touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; text-decoration: none; justify-content: center; }
.jrn-at, .scnav .ghost, .ul-tabs a, .seg a, .seg button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
@media (pointer: coarse) {
  .btn { min-height: 36px; min-width: 36px; }
  .btn.sm { padding: 6px 11px; font-size: 13px; }
  .jrn-at { min-height: 32px; padding: 6px 10px; }
  input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px; }   /* under 16px, iPhones zoom the page on focus */
}
/* Wide tables scroll inside their card, so the page itself never drifts sideways. */
@media (max-width: 760px) { .card:has(table.t) { overflow-x: auto; -webkit-overflow-scrolling: touch; } }

/* ======== NEW sticker (2026-11-06): sits on a card to check until it's clicked ======== */
.ulc { position: relative; }
.new-tag { position: absolute; top: -9px; left: -9px; z-index: 3; padding: 5px 13px; border-radius: 99px; background: #FF4D2E; color: #fff; font: 800 12.5px/1.2 Inter, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(0,0,0,.35); pointer-events: none; }
.lwt-sc { position: relative; } .lwt-sc .new-tag { top: 10px; left: 10px; }
.li .new-tag { position: static; display: inline-block; margin-right: 8px; padding: 2px 9px; font-size: 11px; box-shadow: none; }
.ul-new { font-style: normal; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: #FF4D2E; color: #fff; font-size: 12px; font-weight: 800; }
.gtile { position: relative; }
.ul-making { margin: 0 0 14px; }

/* ---- Backend (2026-11-12): every button's flow, live. One colour per place a step runs. ---- */
.bk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.bk-stat { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-sm); }
.bk-stat b { font-size: 14px; } .bk-stat div div { font-size: 13px; margin-top: 2px; } .bk-stat small { color: var(--fg-2); font-size: 12px; }
.bk-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; flex: none; background: var(--fg-3); }
.bk-stat.on .bk-dot { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-tint); }
.bk-stat.busy .bk-dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); animation: bk-pulse 1.6s var(--e-out) infinite; }
.bk-stat.warn .bk-dot { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-tint); }
.bk-stat.off .bk-dot { background: var(--bad); box-shadow: 0 0 0 4px var(--bad-tint); }
@keyframes bk-pulse { 50% { box-shadow: 0 0 0 7px var(--accent-tint); } }
@media (prefers-reduced-motion: reduce) { .bk-stat.busy .bk-dot { animation: none; } }
.bad-t { color: var(--bad); }

/* where a step runs */
.k-os { --k: var(--accent); --kt: var(--accent-tint); }
.k-mac { --k: var(--warn); --kt: var(--warn-tint); }
.k-claude { --k: #7c5cff; --kt: #f0ecff; }
.k-cloud { --k: var(--ok); --kt: var(--ok-tint); }
.k-manual { --k: var(--bad); --kt: var(--bad-tint); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .k-claude { --k: #a993ff; --kt: #221b3d; } }
:root[data-theme="dark"] .k-claude { --k: #a993ff; --kt: #221b3d; }
.bk-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 12px; color: var(--fg-2); margin: 4px 2px 14px; }
.bk-legend span { display: inline-flex; align-items: center; gap: 6px; } .bk-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--k); }

.bk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: start; margin-bottom: 14px; }
.bk-flows { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.bk-flow.paused { opacity: .62; }
.bk-fh { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.bk-fh > div { flex: 1 1 220px; } .bk-fh h3 { margin: 0; } .bk-fh small { color: var(--fg-2); font-size: 12px; }
.bk-pill { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--bg-3); color: var(--fg-2); white-space: nowrap; }
.bk-pill.ok { background: var(--ok-tint); color: var(--ok); } .bk-pill.bad { background: var(--bad-tint); color: var(--bad); } .bk-pill.busy { background: var(--accent-tint); color: var(--accent); }

.bk-steps { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; row-gap: 14px; }
.bk-step { position: relative; flex: 0 1 158px; min-width: 128px; display: flex; flex-direction: column; gap: 3px; padding: 10px 12px 10px 14px; margin-right: 18px;
  background: var(--kt); border: 1px solid transparent; border-left: 3px solid var(--k); border-radius: var(--radius-s); cursor: pointer;
  transition: transform var(--t-fast) var(--e-out), border-color var(--t-fast) ease, box-shadow var(--t-fast) ease; }
.bk-step:not(:last-child)::after { content: ''; position: absolute; right: -15px; top: 50%; width: 12px; height: 2px; background: var(--line-2); }
.bk-step:not(:last-child)::before { content: ''; position: absolute; right: -16px; top: calc(50% - 3px); border: 4px solid transparent; border-left-color: var(--line-2); border-right: 0; }
.bk-step:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.bk-step:active { transform: scale(.98); }
.bk-step:focus-visible { outline: 2px solid var(--k); outline-offset: 2px; }
.bk-step.open { border-color: var(--k); box-shadow: var(--shadow-sm); }
.bk-step.is-bad { box-shadow: 0 0 0 2px var(--bad-tint); }
.bk-where { font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--k); font-weight: 700; }
.bk-step b { font-size: 13.5px; line-height: 1.25; color: var(--fg); }
.bk-time { font-size: 12px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.bk-n { align-self: flex-start; margin-top: 3px; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: var(--k); color: #fff; }
.bk-slow { position: absolute; top: -8px; right: 6px; font-size: 9.5px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; background: var(--bg-2); color: var(--bad); border: 1px solid var(--bad-tint); padding: 1px 6px; border-radius: 99px; }
.bk-detail { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius-s); background: var(--bg); border-left: 3px solid var(--k); font-size: 13px; animation: bk-in var(--t) var(--e-out); }
.bk-detail p { margin: 0 0 6px; } .bk-detail p:last-child { margin: 0; }
.bk-speed { color: var(--fg); } .bk-speed b { color: var(--k); }
@keyframes bk-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .bk-detail { animation: none; } .bk-step:hover { transform: none; } }

.bk-ctl { position: sticky; top: 14px; }
.bk-ctl h3 { margin-top: 0; }
.bk-group { padding: 12px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; }
.bk-gh { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--fg-2); font-weight: 700; }
.bk-sw { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.bk-sw input { position: absolute; opacity: 0; pointer-events: none; }
.bk-sw i { flex: none; width: 36px; height: 21px; border-radius: 99px; background: var(--line-2); position: relative; transition: background var(--t-fast) ease; margin-top: 1px; }
.bk-sw i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--t) var(--e-out); }
.bk-sw input:checked + i { background: var(--ok); } .bk-sw input:checked + i::after { transform: translateX(15px); }
.bk-sw input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.bk-sw span { display: flex; flex-direction: column; font-size: 13px; } .bk-sw small { color: var(--fg-2); font-size: 11.5px; }
.bk-num { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.bk-num select { width: auto; flex: none; min-width: 84px; }
.bk-seg { display: flex; background: var(--bg-3); border-radius: var(--radius-s); padding: 3px; gap: 3px; }
.bk-seg button { flex: 1; border: 0; background: transparent; padding: 7px 6px; border-radius: 7px; font: inherit; font-size: 12px; color: var(--fg-2); cursor: pointer; }
.bk-seg button.on { background: var(--bg-2); color: var(--fg); font-weight: 600; box-shadow: var(--shadow-sm); }
.bk-scroll { overflow-x: auto; }
.bk-note code { font-family: var(--mono); font-size: 11.5px; word-break: break-all; }
.bk-note { margin-bottom: 14px; }

@media (max-width: 1100px) {
  .bk-grid { grid-template-columns: 1fr; } .bk-ctl { position: static; order: -1; }
  .bk-ctl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; } .bk-ctl h3 { grid-column: 1 / -1; }
}
@media (max-width: 860px) { .bk-ctl { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .bk-stats { grid-template-columns: 1fr; }
  .bk-steps { flex-direction: column; overflow: visible; }
  .bk-step { max-width: none; margin: 0 0 14px; flex: none; }
  .bk-step:not(:last-child)::after { right: auto; left: 22px; top: auto; bottom: -12px; width: 2px; height: 10px; }
  .bk-step:not(:last-child)::before { right: auto; left: 19px; top: auto; bottom: -16px; border: 4px solid transparent; border-top-color: var(--line-2); border-bottom: 0; }
}

/* What each OS has learned (Backend, 2026-11-12) */
.bk-pill.warn { background: var(--warn-tint); color: var(--warn); }
.bk-learn { margin-top: 14px; }
.bk-learn .bk-fh small { color: var(--fg-2); font-size: 12.5px; }
.bk-lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-top: 12px; align-items: start; }
.bk-lc { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: var(--bg-2); min-width: 0; }
.bk-lc.stuck { border-color: color-mix(in srgb, var(--warn) 55%, var(--line)); }
.bk-lc > summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; list-style: none; margin: -12px -14px; padding: 12px 14px; border-radius: var(--radius); }
.bk-lc > summary::-webkit-details-marker { display: none; }
.bk-lc > summary > div { flex: 1; min-width: 0; }
.bk-lc > summary:hover { background: var(--bg-3); }
.bk-lc > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bk-chev { color: var(--fg-3); font-size: 18px; line-height: 1; transition: transform .2s cubic-bezier(.2,.8,.2,1); flex: none; }
.bk-lc[open] .bk-chev { transform: rotate(90deg); }
.bk-lc[open] { grid-column: 1 / -1; }
.bk-lc[open] > summary { margin-bottom: 0; }
.bk-lb { margin-top: 22px; }
.bk-lc h4 { margin: 0; font-size: 14.5px; } .bk-lc > summary small { color: var(--fg-2); font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .bk-chev { transition: none; } }
.bk-evs { list-style: none; margin: 0 0 8px; padding: 8px 10px; border-radius: 8px; background: var(--bg-3); font-size: 12.5px; display: grid; gap: 4px; }
.bk-ev b { font-weight: 600; margin-right: 4px; } .bk-ev small { color: var(--fg-3); margin-left: 4px; }
.bk-ev.added b { color: var(--ok); } .bk-ev.rewritten b { color: var(--accent); } .bk-ev.deleted b { color: var(--bad); }
.bk-ev.deleted { color: var(--fg-2); }
.bk-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bk-rules summary { display: flex; gap: 8px; align-items: baseline; cursor: pointer; padding: 5px 6px; border-radius: 6px; font-size: 13px; list-style: none; }
.bk-rules summary::-webkit-details-marker { display: none; }
.bk-rules summary:hover { background: var(--bg-3); }
.bk-rules summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.bk-rn { color: var(--fg-3); font-variant-numeric: tabular-nums; min-width: 2.2em; flex: none; font-size: 12px; }
.bk-rt { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.bk-rules summary small { color: var(--fg-3); font-size: 11px; flex: none; }
.bk-rx { font-size: 12.5px; line-height: 1.5; color: var(--fg-2); padding: 4px 8px 10px 38px; overflow-wrap: anywhere; }
.bk-rx code, .bk-file { font-size: 11.5px; }
.bk-file { display: block; color: var(--fg-3); margin-top: 8px; overflow-wrap: anywhere; }
@media (max-width: 600px) { .bk-lgrid { grid-template-columns: 1fr; } .bk-rx { padding-left: 8px; } }

/* Getting started + this month (2026-11-14). They borrow .ulc so every brand's card colours apply; only layout here. */
.ulc.gs-card, .ulc.gs-month { display: block; }
.gs-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.gs-head > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.gs-head b { font-size: 18px; }
.gs-head span { font-size: 13px; opacity: .75; }
.gs-prog { flex: 1; min-width: 140px; height: 6px; border-radius: 99px; background: rgba(127,127,127,.25); overflow: hidden; }
.gs-prog i { display: block; height: 100%; border-radius: inherit; background: var(--accent, #8fbbfa); transition: width .4s cubic-bezier(.2,.8,.2,1); }
.gs-vid { width: 100%; max-width: 360px; border-radius: 12px; margin: 0 0 14px; display: block; }
.gs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gs-steps li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 12px; }
.gs-steps li.next { background: rgba(127,127,127,.12); }
.gs-steps li > i { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; opacity: .5; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; margin-top: 1px; }
.gs-steps li.done > i { opacity: 1; background: var(--accent, #8fbbfa); border-color: transparent; color: #fff; }
.gs-steps li.done b { opacity: .6; text-decoration: line-through; text-decoration-thickness: 1px; }
.gs-steps li > div { flex: 1; min-width: 0; }
.gs-steps li p { margin: 2px 0 0; font-size: 14px; opacity: .8; line-height: 1.45; }
.gs-steps li .btn { flex: none; align-self: center; }
@media (max-width: 560px) { .gs-steps li { flex-wrap: wrap; } .gs-steps li .btn { margin-left: 34px; } }
.gs-month { display: flex !important; align-items: baseline; gap: 22px; flex-wrap: wrap; padding: 14px 20px !important; }
.gs-month small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.gs-month div { display: flex; align-items: baseline; gap: 6px; }
.gs-month b { font-size: 22px; font-weight: 800; }
.gs-month span { font-size: 14px; opacity: .8; }
@media (prefers-reduced-motion: reduce) { .gs-prog i { transition: none; } }
.soc-warn { font-size: 14px; margin: 0 0 16px; }
.soc-stuck { display: block; margin-top: 4px; opacity: .8; line-height: 1.4; }

/* Please wait (2026-11-14): blue while clips are in and waiting, orange once editing starts */
.ulc-editing.eb-wait .eb-track i { background: #5B8DEF; animation-duration: 2.6s; }
body.jr-brand .ulc-editing.eb-wait .eb-track i { background: #8FB3F5; }
.card.folder.just-up { box-shadow: 0 0 0 2px #5B8DEF, 0 10px 30px rgba(91,141,239,.25); transition: box-shadow .4s ease; }

/* Scripts tab as storyboards (Tom, 2026-11-15: "the scripts page is pretty wide ... each script be a storyboard").
   One narrow column; each script = four panels (Hook, Body, Re-hook, Finish) with the line, why, and motion. */
.sb-wrap { max-width: 720px; margin: 0 auto; }
.sb { padding: 18px 18px 14px; margin: 0 0 18px; }
.sb.done { opacity: .55; }
.sb-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.sb-h h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.sb-code { font-size: 12px; font-weight: 700; color: var(--accent-lt); letter-spacing: .04em; }
.sb-len { font-size: 12px; color: var(--fg-3); }
.sb-h .pill { margin-left: auto; }
.sb-steps { display: grid; gap: 10px; counter-reset: sb; }
/* scoped to the beat sheet: the style pop-up also uses .sb-step, and this squeezed it into an 84px column (2026-11-16) */
.sb-steps > .sb-step { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.sb-tag { display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); padding-right: 10px; }
.sb-tag b { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-lt); }
.sb-tag span { font-size: 11.5px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.sb-steps > .sb-step[data-part="Hook"] .sb-tag b, .sb-steps > .sb-step[data-part="Re-hook"] .sb-tag b { color: #fff; }
.sb-steps > .sb-step[data-part="Hook"], .sb-steps > .sb-step[data-part="Re-hook"] { border-color: var(--line-2); background: var(--accent-tint); }
.sb-say { font-size: 15.5px; line-height: 1.5; color: var(--fg); margin: 0 0 10px; }
.sb-say i { font-style: normal; font-weight: 700; }
.sb-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sb-notes div { font-size: 13px; line-height: 1.5; color: var(--fg-2); }
.sb-notes em { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 3px; }
.sb-check { margin-top: 10px; font-size: 13px; line-height: 1.5; padding: 9px 12px; border-radius: 10px; background: var(--warn-tint); color: var(--fg-2); }
.sb-act { display: flex; gap: 8px; margin-top: 12px; }
/* About you + Your scripts on a client's Scripts tab (2026-11-18) */
.ab-form, .ab-sum { margin: 14px 0; }
.ab-form .f { margin-top: 12px; }
.ab-form textarea { width: 100%; }
.ab-voice { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 6px; font-weight: 400; }
.ab-voice label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.ab-row { margin-top: 8px; font-size: 13.5px; line-height: 1.5; }
.ab-row em { display: block; font-style: normal; font-size: 12px; color: var(--fg-2); }
.ab-ask { margin: 14px 0 22px; }
.ab-ask .btn { width: 100%; justify-content: center; }
@media (max-width: 620px) {
  .sb { padding: 14px 12px 12px; }
  .sb-steps > .sb-step { grid-template-columns: 1fr; gap: 8px; }
  .sb-tag { flex-direction: row; gap: 8px; align-items: baseline; border-right: 0; padding-right: 0; }
  .sb-notes { grid-template-columns: 1fr; gap: 8px; }
}

/* Handley Golf (2026-11-16): Matt Handley, @handley_golf. His logo's deep red #8D2820 (the page a shade darker so cards
   sit on it), silver #D0D7DD of the HG letters for buttons and active tabs, flag red #ED1B24 for small touches only.
   Serif headings after the serif titles on his reels, upright (no italic). */
body.mh-brand {
  --bg: #5A1914; --bg-2: #6E201A; --bg-3: #8D2820; --line: rgba(208,215,221,.16); --line-2: rgba(208,215,221,.28); --rule: rgba(208,215,221,.12);
  --fg: #F4F5F6; --fg-2: #E2E6EA; --fg-3: #C3A6A2; --accent: #D0D7DD; --accent-lt: #E6EAEE; --accent-tint: rgba(208,215,221,.2); --accent-fg: #5A1914;
  --info: #E6EAEE; --warn: #FF8A80; --warn-tint: rgba(237,27,36,.16);
  background: radial-gradient(1100px 560px at 86% -12%, rgba(237,27,36,.16), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(208,215,221,.07), transparent 60%), #5A1914;
  background-attachment: fixed;
}
.mh-head { display: flex; align-items: center; gap: 10px; }
.mh-logo { height: 40px; width: 40px; border-radius: 50%; display: block; box-shadow: 0 0 0 1px rgba(208,215,221,.3); }
.mh-mark { color: #F4F5F6; font: 700 22px/1 Fraunces, Georgia, serif; letter-spacing: .01em; white-space: nowrap; }
.mh-mark em { font-style: normal; color: #D0D7DD; }
body.mh-brand .card { background: rgba(110,32,26,.9); }
body.mh-brand .btn.primary, body.mh-brand .btn.sm.primary { background: #D0D7DD; color: #5A1914; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.mh-brand .btn.primary:hover { background: #E6EAEE; } }
body.mh-brand .drop { border-color: rgba(208,215,221,.4); background: rgba(208,215,221,.05); }
body.mh-brand .upb-bar { background: rgba(255,255,255,.12); } body.mh-brand .upb-bar i { background: #D0D7DD; }
body.mh-brand .ur-h { font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 46px; letter-spacing: -.02em; color: #F4F5F6; }
.mhnav { background: color-mix(in srgb, #5A1914 90%, transparent); border-bottom-color: rgba(208,215,221,.16); }
.mhnav .brand small { color: #ED1B24; }
.mhnav nav { border-color: rgba(208,215,221,.24); }
.mhnav nav a { color: #E2E6EA; }
.mhnav nav a.on { background: #D0D7DD; color: #5A1914; }
.mhnav .ghost { color: #E2E6EA; border-color: rgba(208,215,221,.24); }
body.mh-brand .urn { color: #5A1914; } .mhnav nav a.on .urn { background: #5A1914; color: #D0D7DD; }
body.mh-brand .ul-tabs { border-color: rgba(208,215,221,.24); background: rgba(110,32,26,.7); }
body.mh-brand .ul-tabs a { color: #E2E6EA; }
body.mh-brand .ul-tabs a.on { background: #D0D7DD; color: #5A1914; }
body.mh-brand .ul-tabs a.on i { background: rgba(90,25,20,.2); }
body.mh-brand .ulg > h2 { color: #E6EAEE; letter-spacing: .1em; }
body.mh-brand .ulc { background: rgba(110,32,26,.92); border-color: rgba(208,215,221,.14); box-shadow: 0 14px 40px rgba(30,6,4,.5); }
body.mh-brand .ulc.is-ok { border-color: rgba(208,215,221,.6); }
body.mh-brand .ulc-vid, body.mh-brand .ulc-vid video, body.mh-brand .urmedia { background: #2A0B09; }
body.mh-brand .ulc-meta, body.mh-brand .ulc-notes label span, body.mh-brand .ulc-save .small { color: #C3A6A2; }
body.mh-brand .ulc-info p { color: #E2E6EA; }
body.mh-brand .ulc-done { color: #E6EAEE; }
body.mh-brand .ulc-notes textarea { background: rgba(42,11,9,.85); border-color: rgba(208,215,221,.24); }
body.mh-brand .ulc-notes textarea:focus { border-color: #E6EAEE; box-shadow: 0 0 0 3px rgba(208,215,221,.18); }
body.mh-brand .ulc-empty { color: #E2E6EA; border-color: rgba(208,215,221,.26); }
body.mh-brand .urcard { background: #6E201A; border-color: rgba(208,215,221,.14); }
@media (max-width: 760px) { body.mh-brand .ur-h { font-size: 34px; } .mh-mark { font-size: 19px; } .mh-logo { height: 34px; width: 34px; } }
/* Laura Gorczyca (2026-11-18): Floe Marketing's charcoal #262523 and warm white #F5F4EF, her LinkedIn banner's sky blue
   #88CAFA for buttons and active tabs, and the banner's Playfair serif for her name. */
body.lg-brand {
  --bg: #1F1E1C; --bg-2: #2A2926; --bg-3: #36342F; --line: rgba(245,244,239,.12); --line-2: rgba(245,244,239,.22); --rule: rgba(245,244,239,.09);
  --fg: #F5F4EF; --fg-2: #E4E2DA; --fg-3: #A9A69C; --accent: #88CAFA; --accent-lt: #A9D7F9; --accent-tint: rgba(136,202,250,.18); --accent-fg: #1F1E1C;
  --info: #A9D7F9; --warn: #F2A28C; --warn-tint: rgba(242,162,140,.14);
  background: radial-gradient(1100px 560px at 86% -12%, rgba(136,202,250,.16), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(245,244,239,.05), transparent 60%), #1F1E1C;
  background-attachment: fixed;
}
.lg-head { display: flex; align-items: center; gap: 10px; }
.lg-logo { height: 40px; width: 40px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 2px rgba(136,202,250,.55); }
.lg-mark { color: #F5F4EF; font: 600 22px/1 'Playfair Display', Georgia, serif; letter-spacing: .005em; white-space: nowrap; }
.lg-mark em { font-style: normal; color: #88CAFA; }
body.lg-brand .card { background: rgba(42,41,38,.92); }
body.lg-brand .btn.primary, body.lg-brand .btn.sm.primary { background: #88CAFA; color: #1F1E1C; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.lg-brand .btn.primary:hover { background: #A9D7F9; } }
body.lg-brand .drop { border-color: rgba(136,202,250,.4); background: rgba(136,202,250,.05); }
body.lg-brand .upb-bar { background: rgba(255,255,255,.12); } body.lg-brand .upb-bar i { background: #88CAFA; }
body.lg-brand .ur-h { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 46px; letter-spacing: -.01em; color: #F5F4EF; }
.lgnav { background: color-mix(in srgb, #1F1E1C 90%, transparent); border-bottom-color: rgba(245,244,239,.12); }
.lgnav .brand small { color: #88CAFA; }
.lgnav nav { border-color: rgba(245,244,239,.2); }
.lgnav nav a { color: #E4E2DA; }
.lgnav nav a.on { background: #88CAFA; color: #1F1E1C; }
.lgnav .ghost { color: #E4E2DA; border-color: rgba(245,244,239,.2); }
body.lg-brand .urn { color: #1F1E1C; } .lgnav nav a.on .urn { background: #1F1E1C; color: #88CAFA; }
body.lg-brand .ul-tabs { border-color: rgba(245,244,239,.2); background: rgba(42,41,38,.75); }
body.lg-brand .ul-tabs a { color: #E4E2DA; }
body.lg-brand .ul-tabs a.on { background: #88CAFA; color: #1F1E1C; }
body.lg-brand .ul-tabs a.on i { background: rgba(31,30,28,.2); }
body.lg-brand .ulg > h2 { color: #A9D7F9; letter-spacing: .1em; }
body.lg-brand .ulc { background: rgba(42,41,38,.94); border-color: rgba(245,244,239,.1); box-shadow: 0 14px 40px rgba(0,0,0,.45); }
body.lg-brand .ulc.is-ok { border-color: rgba(136,202,250,.6); }
body.lg-brand .ulc-vid, body.lg-brand .ulc-vid video, body.lg-brand .urmedia { background: #141312; }
body.lg-brand .ulc-meta, body.lg-brand .ulc-notes label span, body.lg-brand .ulc-save .small { color: #A9A69C; }
body.lg-brand .ulc-info p { color: #E4E2DA; }
body.lg-brand .ulc-done { color: #A9D7F9; }
body.lg-brand .ulc-notes textarea { background: rgba(20,19,18,.85); border-color: rgba(245,244,239,.2); }
body.lg-brand .ulc-notes textarea:focus { border-color: #88CAFA; box-shadow: 0 0 0 3px rgba(136,202,250,.18); }
body.lg-brand .ulc-empty { color: #E4E2DA; border-color: rgba(245,244,239,.22); }
body.lg-brand .urcard { background: #2A2926; border-color: rgba(245,244,239,.1); }
@media (max-width: 760px) { body.lg-brand .ur-h { font-size: 34px; } .lg-mark { font-size: 19px; } .lg-logo { height: 34px; width: 34px; } }

/* Ashley Leeds (2026-11-19): Laura's LinkedIn page in his banner's teal-blue, deepened to #0F3A4D, with its sunshine yellow #F3B322 */
body.al-brand {
  --bg: #0F3A4D; --bg-2: #164B62; --bg-3: #1E5A74; --line: rgba(245,244,239,.12); --line-2: rgba(245,244,239,.22); --rule: rgba(245,244,239,.09);
  --fg: #F5F4EF; --fg-2: #E6EEF1; --fg-3: #A8C3CF; --accent: #F3B322; --accent-lt: #F7C95A; --accent-tint: rgba(243,179,34,.18); --accent-fg: #0F3A4D;
  --info: #F7C95A; --warn: #F7A8C8; --warn-tint: rgba(247,168,200,.14);
  background: radial-gradient(1100px 560px at 86% -12%, rgba(243,179,34,.16), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(245,244,239,.05), transparent 60%), #0F3A4D;
  background-attachment: fixed;
}
.al-head { display: flex; align-items: center; gap: 10px; }
.al-logo { height: 40px; width: 40px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 2px rgba(243,179,34,.55); }
.al-mark { color: #F5F4EF; font: 700 17px/1 'Unbounded', 'Inter', sans-serif; letter-spacing: .005em; white-space: nowrap; }
.al-mark em { font-style: normal; color: #F3B322; }
body.al-brand .card { background: rgba(22,75,98,.92); }
body.al-brand .btn.primary, body.al-brand .btn.sm.primary { background: #F3B322; color: #0F3A4D; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.al-brand .btn.primary:hover { background: #F7C95A; } }
body.al-brand .drop { border-color: rgba(243,179,34,.4); background: rgba(243,179,34,.05); }
body.al-brand .upb-bar { background: rgba(255,255,255,.12); } body.al-brand .upb-bar i { background: #F3B322; }
body.al-brand .ur-h { font-family: 'Unbounded', 'Inter', sans-serif; font-weight: 800; font-size: 38px; letter-spacing: -.01em; color: #F5F4EF; }
.alnav { background: color-mix(in srgb, #0F3A4D 90%, transparent); border-bottom-color: rgba(245,244,239,.12); }
.alnav .brand small { color: #F3B322; }
.alnav nav { border-color: rgba(245,244,239,.2); }
.alnav nav a { color: #E6EEF1; }
.alnav nav a.on { background: #F3B322; color: #0F3A4D; }
.alnav .ghost { color: #E6EEF1; border-color: rgba(245,244,239,.2); }
body.al-brand .urn { color: #0F3A4D; } .alnav nav a.on .urn { background: #0F3A4D; color: #F3B322; }
body.al-brand .ul-tabs { border-color: rgba(245,244,239,.2); background: rgba(22,75,98,.75); }
body.al-brand .ul-tabs a { color: #E6EEF1; }
body.al-brand .ul-tabs a.on { background: #F3B322; color: #0F3A4D; }
body.al-brand .ul-tabs a.on i { background: rgba(31,30,28,.2); }
body.al-brand .ulg > h2 { color: #F7C95A; letter-spacing: .1em; }
body.al-brand .ulc { background: rgba(22,75,98,.94); border-color: rgba(245,244,239,.1); box-shadow: 0 14px 40px rgba(0,0,0,.45); }
body.al-brand .ulc.is-ok { border-color: rgba(243,179,34,.6); }
body.al-brand .ulc-vid, body.al-brand .ulc-vid video, body.al-brand .urmedia { background: #0A2A38; }
body.al-brand .ulc-meta, body.al-brand .ulc-notes label span, body.al-brand .ulc-save .small { color: #A8C3CF; }
body.al-brand .ulc-info p { color: #E6EEF1; }
body.al-brand .ulc-done { color: #F7C95A; }
body.al-brand .ulc-notes textarea { background: rgba(10,42,56,.85); border-color: rgba(245,244,239,.2); }
body.al-brand .ulc-notes textarea:focus { border-color: #F3B322; box-shadow: 0 0 0 3px rgba(243,179,34,.18); }
body.al-brand .ulc-empty { color: #E6EEF1; border-color: rgba(245,244,239,.22); }
body.al-brand .urcard { background: #164B62; border-color: rgba(245,244,239,.1); }
@media (max-width: 760px) { body.al-brand .ur-h { font-size: 28px; } .al-mark { font-size: 15px; } .al-logo { height: 34px; width: 34px; } }

/* ======== AI With Tom (2026-11-16): Tom's personal brand, in ai-with-tom.com's colours ======== */
/* Near-black #0d0e12, electric blue #2F6BFF, light blue #4D9CFF, amber #E8952B sparingly. */
body.awt-brand {
  --bg: #0d0e12; --bg-2: #15171d; --bg-3: #1e2129; --line: rgba(77,156,255,.14); --line-2: rgba(77,156,255,.26); --rule: rgba(77,156,255,.10);
  --fg: #fff; --fg-2: #c8ccd6; --fg-3: #858b99; --accent: #2F6BFF; --accent-lt: #4D9CFF; --accent-tint: rgba(47,107,255,.2); --accent-fg: #fff;
  --info: #4D9CFF; --warn: #E8952B; --warn-tint: rgba(232,149,43,.14);
  background: radial-gradient(1100px 560px at 86% -12%, rgba(47,107,255,.26), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(232,149,43,.06), transparent 60%), #0d0e12;
  background-attachment: fixed; font-family: Inter, system-ui, sans-serif;
}
.awt-head { display: inline-flex; align-items: center; gap: 10px; }
.awt-logo { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #2F6BFF; }
.awt-mark { font: 800 22px/1 Inter, system-ui, sans-serif; letter-spacing: -.03em; color: #fff; white-space: nowrap; }
.awt-mark em { font-style: normal; color: #4D9CFF; }
body.awt-brand .card { background: rgba(21,23,29,.9); }
body.awt-brand .btn.primary, body.awt-brand .btn.sm.primary { background: #2F6BFF; color: #fff; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.awt-brand .btn.primary:hover { background: #4D7DFF; } }
body.awt-brand .drop { border-color: rgba(77,156,255,.36); background: rgba(77,156,255,.05); }
body.awt-brand .upb-bar { background: rgba(255,255,255,.1); } body.awt-brand .upb-bar i { background: linear-gradient(90deg, #2F6BFF, #4D9CFF); }
body.awt-brand .ur-h { font-family: Inter, system-ui, sans-serif; font-weight: 800; font-size: 46px; letter-spacing: -.03em; color: #fff; }
.awtnav { background: color-mix(in srgb, #0d0e12 88%, transparent); border-bottom-color: rgba(77,156,255,.14); }
.awtnav .brand small { color: #4D9CFF; }
.awtnav nav { border-color: rgba(77,156,255,.24); }
.awtnav nav a { color: #c8ccd6; }
.awtnav nav a.on { background: #2F6BFF; color: #fff; }
.awtnav .ghost { color: #c8ccd6; border-color: rgba(77,156,255,.24); }
body.awt-brand .urn { color: #0d0e12; } .awtnav nav a.on .urn { background: #fff; color: #2F6BFF; }
body.awt-brand .ul-tabs { border-color: rgba(77,156,255,.24); background: rgba(21,23,29,.75); }
body.awt-brand .ul-tabs a { color: #c8ccd6; }
body.awt-brand .ul-tabs a.on { background: #2F6BFF; color: #fff; }
body.awt-brand .ul-tabs a.on i { background: rgba(0,0,0,.25); }
body.awt-brand .ulg > h2 { color: #4D9CFF; letter-spacing: .1em; }
body.awt-brand .ulc { background: rgba(21,23,29,.92); border-color: rgba(77,156,255,.14); box-shadow: 0 14px 40px rgba(0,0,0,.5); }
body.awt-brand .ulc.is-ok { border-color: rgba(77,156,255,.55); }
body.awt-brand .ulc-vid, body.awt-brand .ulc-vid video, body.awt-brand .urmedia { background: #000; }
body.awt-brand .ulc-meta, body.awt-brand .ulc-notes label span, body.awt-brand .ulc-save .small { color: #858b99; }
body.awt-brand .ulc-info p { color: #c8ccd6; }
body.awt-brand .ulc-done { color: #4D9CFF; }
body.awt-brand .ulc-notes textarea { background: rgba(13,14,18,.85); border-color: rgba(77,156,255,.24); }
body.awt-brand .ulc-notes textarea:focus { border-color: #4D9CFF; box-shadow: 0 0 0 3px rgba(77,156,255,.18); }
body.awt-brand .ulc-empty { color: #c8ccd6; border-color: rgba(77,156,255,.26); }
body.awt-brand .urcard { background: #15171d; border-color: rgba(77,156,255,.14); }
@media (max-width: 760px) { body.awt-brand .ur-h { font-size: 34px; } .awt-mark { font-size: 19px; } .awt-logo { width: 30px; height: 30px; } }

/* ======== Solar Compared Content OS (2026-11-16): sc-brand's black, white and #FFD600 on the shared library ======== */
.scc-head { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.scc-head b { font-size: 17px; letter-spacing: -.02em; }
/* ur-brand's tokens load after sc-brand's, so Unreal's navy and orange won on the calendar (Tom, 2026-11-16). Restated here, last. */
body.scc-brand {
  --bg: #000; --bg-2: #0b0b0b; --bg-3: #161616; --line: rgba(255,255,255,.1); --line-2: rgba(255,255,255,.16); --rule: rgba(255,255,255,.08);
  --fg: #fff; --fg-2: #a6a6a6; --fg-3: #6e6e6e; --accent: #FFD600; --accent-lt: #FFE45C; --accent-tint: rgba(255,214,0,.1); --accent-fg: #000; --info: #FFD600;
  --warn: #FFD600; --warn-tint: rgba(255,214,0,.12); --shadow: 0 16px 40px rgba(0,0,0,.6);
  background: radial-gradient(1100px 560px at 86% -12%, rgba(255,214,0,.08), transparent 60%), #000; background-attachment: fixed; font-family: Inter, system-ui, sans-serif;
}
body.scc-brand .card { background: #0b0b0b; border-color: rgba(255,255,255,.1); }
body.scc-brand .card.folder h3, body.scc-brand .urbody h3 { font-family: Inter, system-ui, sans-serif; }
body.scc-brand .btn.primary, body.scc-brand .btn.sm.primary { background: #FFD600; color: #000; border-color: #FFD600; }
@media (hover: hover) and (pointer: fine) { body.scc-brand .btn.primary:hover { background: #FFE45C; } }
body.scc-brand .note.info { background: rgba(255,214,0,.08); border-color: rgba(255,214,0,.28); color: #fff3b0; }
body.scc-brand .urnav .brand small { font-family: Inter, system-ui, sans-serif; }
body.scc-brand .urplay { background: rgba(255,214,0,.94); color: #000; }
body.scc-brand .urst { background: rgba(0,0,0,.82); }
body.scc-brand .urcheck { color: #FFE45C; background: rgba(255,214,0,.08); border-color: rgba(255,214,0,.28); }
@media (hover: hover) { body.scc-brand .urcard:hover { border-color: rgba(255,214,0,.55); box-shadow: 0 18px 40px rgba(0,0,0,.6); } }
body.scc-brand .ur-h { font-family: Inter, system-ui, sans-serif; font-weight: 700; font-size: 46px; letter-spacing: -.035em; color: #fff; }
body.scc-brand .ur-p { color: #a6a6a6; }
.sccnav { background: color-mix(in srgb, #000 84%, transparent); border-bottom-color: rgba(255,255,255,.1); }
.sccnav .brand small { color: #FFD600; }
.sccnav nav { border-color: rgba(255,255,255,.16); }
.sccnav nav a { color: #a6a6a6; }
.sccnav nav a.on { background: #fff; color: #000; }
.sccnav .ghost { color: #a6a6a6; border-color: rgba(255,255,255,.16); }
body.scc-brand .urn { color: #000; } .sccnav nav a.on .urn { background: #FFD600; color: #000; }
body.scc-brand .drop { border-color: rgba(255,214,0,.36); background: rgba(255,214,0,.04); }
body.scc-brand .upb-bar { background: rgba(255,255,255,.1); } body.scc-brand .upb-bar i { background: #FFD600; }
body.scc-brand .ul-tabs { border-color: rgba(255,255,255,.16); background: rgba(11,11,11,.8); }
body.scc-brand .ul-tabs a { color: #a6a6a6; }
body.scc-brand .ul-tabs a.on { background: #FFD600; color: #000; }
body.scc-brand .ul-tabs a.on i { background: rgba(0,0,0,.18); }
body.scc-brand .ulg > h2 { color: #FFD600; letter-spacing: .1em; }
body.scc-brand .ulc { background: #0b0b0b; border-color: rgba(255,255,255,.1); box-shadow: 0 14px 40px rgba(0,0,0,.6); }
body.scc-brand .ulc.is-ok { border-color: rgba(255,214,0,.55); }
body.scc-brand .ulc-vid, body.scc-brand .ulc-vid video, body.scc-brand .urmedia { background: #000; }
body.scc-brand .ulc-meta, body.scc-brand .ulc-notes label span, body.scc-brand .ulc-save .small { color: #6e6e6e; }
body.scc-brand .ulc-info p { color: #a6a6a6; }
body.scc-brand .ulc-done { color: #FFD600; }
body.scc-brand .ulc-notes textarea { background: #000; border-color: rgba(255,255,255,.16); }
body.scc-brand .ulc-notes textarea:focus { border-color: #FFD600; box-shadow: 0 0 0 3px rgba(255,214,0,.16); }
body.scc-brand .ulc-empty { color: #a6a6a6; border-color: rgba(255,255,255,.16); }
body.scc-brand .urcard { background: #0b0b0b; border-color: rgba(255,255,255,.1); }
@media (max-width: 760px) { body.scc-brand .ur-h { font-size: 34px; } }

/* ---- Developer notes (2026-11-18): the glowing button on a pilot client's Upload footage page, its first-time
   intro card, and Tom's #/devnotes queue. The glow takes each client's brand --accent. ---- */
.dn-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px 11px 13px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  background: var(--accent); color: var(--accent-fg); font-family: inherit; font-weight: 700; font-size: 13.5px; line-height: 1; cursor: pointer; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 6px 20px rgba(0,0,0,.25), 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent);
  animation: dnGlow 2.6s ease-in-out infinite; transition: transform var(--t-fast) var(--e-out); }
.dn-fab:active { transform: scale(.97); }
.dn-fab:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.dn-fab.first { animation-duration: 1.6s; }
.dn-ico { font-size: 15px; line-height: 1; }
.dn-badge { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--ok, #1fa463); color: #fff; font-size: 11px; display: grid; place-items: center; }
@keyframes dnGlow { 0%, 100% { box-shadow: 0 6px 20px rgba(0,0,0,.25), 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); }
  50% { box-shadow: 0 6px 20px rgba(0,0,0,.25), 0 0 22px 6px color-mix(in srgb, var(--accent) 45%, transparent); } }
.dn-intro { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 58px); z-index: 61;
  width: min(320px, calc(100vw - 32px)); padding: 16px 16px 14px; border-radius: 14px; background: var(--bg-2); color: var(--fg);
  border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0,0,0,.3); animation: dnIn var(--t) var(--e-out) both; }
.dn-intro::after { content: ''; position: absolute; right: 34px; bottom: -7px; width: 12px; height: 12px; background: var(--bg-2);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.dn-intro b:first-child { display: block; font-size: 14.5px; margin-bottom: 6px; }
.dn-intro p { margin: 0 0 8px; font-size: 13px; line-height: 1.45; color: var(--fg-2); }
.dn-intro p b { color: var(--fg); }
.dn-intro-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.dn-intro.out { animation: dnIn var(--t) var(--e-in) reverse both; }
@keyframes dnIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dn-fab, .dn-intro { animation: none; } }

.dn-modal textarea { width: 100%; font-size: 16px; }   /* 16px: iOS doesn't zoom the page on focus */
.dn-past { margin-top: 14px; }
.dn-past ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow: auto; }
.dn-past li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.dn-past p { margin: 6px 0 0; font-size: 13px; white-space: pre-wrap; }
.dn-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dn-h small { color: var(--fg-3); }
.dn-reply { color: var(--fg-2); }

.dn-admin .dn-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dn-admin .dn-row h3 { margin: 0; }
.dn-admin .grow, .dn-acts .grow { flex: 1; }
.dn-prop { margin-top: 14px; }
.dn-prop blockquote { margin: 12px 0; padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--bg-3); border-radius: 0 8px 8px 0; white-space: pre-wrap; }
.dn-prop h4 { margin: 14px 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-2); }
.dn-prop p { margin: 0; }
.dn-admin .pre { white-space: pre-wrap; }
.dn-files { margin: 0; padding-left: 18px; font-size: 12.5px; }
.dn-acts { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.dn-cmd { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 10px 0 6px; background: var(--bg-3); border-radius: 8px; }
.dn-cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: 12px; }
.dn-li { align-items: flex-start; gap: 8px; }

/* Backend Status board (2026-11-18): what works, what half works, what isn't built, live problems on top */
.bk-status { margin-bottom: 16px; }
.bk-probs { margin: 4px 0 14px; padding: 10px 12px 10px 28px; border-radius: 10px; background: var(--bad-tint); border: 1px solid color-mix(in srgb, var(--bad) 30%, transparent); }
.bk-probs li { font-size: 13.5px; line-height: 1.45; margin: 3px 0; }
.bk-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bk-cc { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; border-top-width: 3px; }
.bk-cc.bk-ok { border-top-color: #2E9E5B; } .bk-cc.bk-part { border-top-color: #D9A21B; } .bk-cc.bk-no { border-top-color: #C8473B; }
.bk-cc h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.bk-cc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.bk-cc li b { font-size: 14px; } .bk-cc li small { display: block; color: var(--fg-3); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
@media (max-width: 900px) { .bk-cols { grid-template-columns: 1fr; } }

/* Live show tab (2026-11-19, Ashley Leeds): title + drop, then each show's shortlist of moments to tick */
.lv-up { display: grid; gap: 12px; margin-bottom: 18px; }
.lv-up .f input { width: 100%; max-width: 420px; }
.lv-card { margin-bottom: 16px; }
.lv-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.lv-h h3 { margin: 0; }
.lv-help { margin: 4px 0 8px; }
.lv-quick { gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.lv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lv-m label { display: grid; grid-template-columns: 22px 26px 1fr auto auto; gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.lv-m label:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.lv-m input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.lv-m.lv-done label { cursor: default; opacity: .78; }
.lv-tick { color: var(--accent); font-style: normal; font-weight: 700; }
.lv-n { color: var(--fg-3); font-weight: 700; font-variant-numeric: tabular-nums; }
.lv-b { display: grid; gap: 3px; min-width: 0; }
.lv-b em { color: var(--fg-2); font-style: normal; }
.lv-b small, .lv-t small { color: var(--fg-3); }
.lv-t { display: grid; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--fg-2); }
.lv-play { margin-top: 6px; justify-self: end; }
.lv-vid { margin: 8px 0 4px; }
.lv-vid video { display: block; width: 100%; max-height: 60vh; border-radius: 10px; background: #000; }
.lv-go { gap: 12px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
@media (max-width: 600px) {
  .lv-m label { grid-template-columns: 22px 1fr; }
  .lv-n { display: none; }
  .lv-t { grid-column: 2; text-align: left; display: flex; gap: 8px; }
  .lv-m .pill { grid-column: 2; justify-self: start; }
}


/* Approved banner (Scott, 2026-11-20): over the top of an approved reel / first carousel slide */
.ulc-vid, .pc-s { position: relative; }
.ok-banner { position: absolute; top: 0; left: 0; right: 0; z-index: 2; padding: 7px 10px; background: rgba(31,158,90,.94); color: #fff; font: 800 12px/1.2 Inter, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; text-align: center; pointer-events: none; }
/* Keep me signed in + upload comments (2026-11-20) */
.keep { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.keep input { width: 18px; height: 18px; margin: 0; }
.unote { margin-bottom: 10px; }
.unote textarea { width: 100%; font-size: 16px; resize: vertical; }
/* Posted, but one platform failed (2026-11-20): amber, so it stands out as needing "Post again" */
.sp-partial { --sp-c: var(--warn, #c98a1a); }

/* ======== Norvela (2026-11-24): Square + Fair's business page in the site's deep forest and paper cream, terracotta for actions ======== */
body.nv-brand {
  --bg: #103434; --bg-2: #174242; --bg-3: #1E4E4E; --line: rgba(234,231,226,.16); --line-2: rgba(234,231,226,.28); --rule: rgba(234,231,226,.12);
  --fg: #F4F1EC; --fg-2: #EAE7E2; --fg-3: #9EAFA8; --accent: #C16639; --accent-lt: #E09A72; --accent-tint: rgba(193,102,57,.22); --accent-fg: #FFFFFF;
  --info: #E09A72; --warn: #E09A72; --warn-tint: rgba(193,102,57,.16);
  background: radial-gradient(1100px 560px at 86% -12%, rgba(193,102,57,.12), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(158,175,168,.08), transparent 60%), #103434;
  background-attachment: fixed; font-family: "Inter Tight", Inter, system-ui, sans-serif;
}
.nv-logo { display: block; font-family: "Paytone One", Inter, sans-serif; font-size: 30px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: #fff; }
.nv-logo::after { content: "."; color: #C16639; }
body.nv-brand .card { background: rgba(23,66,66,.9); }
body.nv-brand .btn.primary, body.nv-brand .btn.sm.primary { background: #C16639; color: #fff; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.nv-brand .btn.primary:hover { background: #D07A4C; } }
body.nv-brand .drop { border-color: rgba(193,102,57,.45); background: rgba(193,102,57,.06); }
body.nv-brand .upb-bar { background: rgba(255,255,255,.12); } body.nv-brand .upb-bar i { background: #C16639; }
body.nv-brand .ur-h { font-family: "Paytone One", Inter, sans-serif; font-weight: 400; font-size: 44px; letter-spacing: .01em; text-transform: uppercase; color: #F4F1EC; }
.nvnav { background: color-mix(in srgb, #103434 90%, transparent); border-bottom-color: rgba(234,231,226,.16); }
.nvnav .brand small { color: #E09A72; }
.nvnav nav { border-color: rgba(234,231,226,.24); }
.nvnav nav a { color: #EAE7E2; }
.nvnav nav a.on { background: #C16639; color: #fff; }
.nvnav .ghost { color: #EAE7E2; border-color: rgba(234,231,226,.24); }
body.nv-brand .urn { color: #103434; } .nvnav nav a.on .urn { background: #fff; color: #C16639; }
body.nv-brand .ul-tabs { border-color: rgba(234,231,226,.24); background: rgba(23,66,66,.7); }
body.nv-brand .ul-tabs a { color: #EAE7E2; }
body.nv-brand .ul-tabs a.on { background: #C16639; color: #fff; }
body.nv-brand .ul-tabs a.on i { background: rgba(255,255,255,.22); }
body.nv-brand .ulg > h2 { color: #E09A72; letter-spacing: .1em; }
body.nv-brand .ulc { background: rgba(23,66,66,.92); border-color: rgba(234,231,226,.14); box-shadow: 0 14px 40px rgba(4,18,18,.45); }
body.nv-brand .ulc.is-ok { border-color: rgba(193,102,57,.6); }
body.nv-brand .ulc-vid, body.nv-brand .ulc-vid video, body.nv-brand .urmedia { background: #0A2626; }
body.nv-brand .ulc-meta, body.nv-brand .ulc-notes label span, body.nv-brand .ulc-save .small { color: #9EAFA8; }
body.nv-brand .ulc-info p { color: #EAE7E2; }
body.nv-brand .ulc-done { color: #E09A72; }
body.nv-brand .ulc-notes textarea { background: rgba(10,38,38,.85); border-color: rgba(234,231,226,.24); }
body.nv-brand .ulc-notes textarea:focus { border-color: #E09A72; box-shadow: 0 0 0 3px rgba(193,102,57,.2); }
body.nv-brand .ulc-empty { color: #EAE7E2; border-color: rgba(234,231,226,.26); }
body.nv-brand .urcard { background: #174242; border-color: rgba(234,231,226,.14); }
@media (max-width: 760px) { body.nv-brand .ur-h { font-size: 30px; } .nv-logo { font-size: 24px; } }

/* ======== Fairways & Dreams (2026-11-24): the site's cream, fairway green and Libre Baskerville. Light: the logo is dark green type ======== */
body.fd-brand {
  --bg: #F2F1E6; --bg-2: #fff; --bg-3: #E9E7D8; --line: #DDDAC6; --line-2: #C6C3AC; --rule: #DDDAC6;
  --fg: #1A1A1A; --fg-2: #33433A; --fg-3: #5D6A61; --accent: #14532D; --accent-lt: #14532D; --accent-tint: rgba(20,83,45,.1); --accent-fg: #fff;
  --info: #14532D; --warn: #8A5A00; --warn-tint: rgba(254,245,144,.5); --shadow: 0 12px 32px -14px rgba(20,60,36,.35); color-scheme: light;
  background: #F2F1E6; color: #1A1A1A; font-family: Inter, system-ui, sans-serif;
}
body.fd-brand .card { background: #fff; border-color: #DDDAC6; }
body.fd-brand .btn { border-radius: 10px; }
body.fd-brand .btn.primary, body.fd-brand .btn.sm.primary { background: #14532D; color: #fff; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.fd-brand .btn.primary:hover { background: #0E3F21; } }
body.fd-brand .drop { border-color: rgba(20,83,45,.5); background: rgba(20,83,45,.04); }
body.fd-brand .note.info { background: rgba(20,83,45,.07); border-color: rgba(20,83,45,.3); color: #1A1A1A; }
body.fd-brand .upb-bar { background: #DDDAC6; } body.fd-brand .upb-bar i { background: #14532D; }
body.fd-brand .ur-h { font-family: "Libre Baskerville", Georgia, serif; font-size: 44px; font-weight: 700; letter-spacing: -.01em; color: #14532D; }
body.fd-brand .ur-p { color: #33433A; }
.fdnav { background: color-mix(in srgb, #F2F1E6 94%, transparent); border-bottom: 8px solid #14532D; }
.fdnav .brand small { color: #14532D; }
.fdnav nav { border-color: #C6C3AC; }
.fdnav nav a { color: #33433A; }
@media (hover: hover) and (pointer: fine) { .fdnav nav a:hover { color: #14532D; } .fdnav .ghost:hover { color: #14532D; border-color: #14532D; } }
.fdnav nav a.on { background: #14532D; color: #fff; }
.fdnav .ghost { color: #33433A; border-color: #C6C3AC; }
body.fd-brand .urn { background: #FEF590; color: #14532D; } .fdnav nav a.on .urn { background: #FEF590; color: #14532D; }
body.fd-brand .ul-tabs { border-color: #C6C3AC; background: #fff; }
body.fd-brand .ul-tabs a { color: #33433A; }
body.fd-brand .ul-tabs a.on { background: #14532D; color: #fff; }
body.fd-brand .ul-tabs a.on i { background: #FEF590; color: #14532D; }
body.fd-brand .ulg > h2 { color: #14532D; letter-spacing: .1em; }
body.fd-brand .ulc { background: #fff; border-color: #DDDAC6; box-shadow: 0 12px 32px -14px rgba(20,60,36,.35); }
body.fd-brand .ulc.is-ok { border-color: #14532D; }
body.fd-brand .ulc-vid, body.fd-brand .ulc-vid video, body.fd-brand .urmedia { background: #1A1A1A; }
body.fd-brand .ulc-meta, body.fd-brand .ulc-notes label span, body.fd-brand .ulc-save .small { color: #5D6A61; }
body.fd-brand .ulc-info p { color: #33433A; }
body.fd-brand .ulc-done { color: #14532D; }
body.fd-brand .ulc-notes textarea { background: #F8F7F0; border-color: #C6C3AC; color: #1A1A1A; }
body.fd-brand .ulc-notes textarea:focus { border-color: #14532D; box-shadow: 0 0 0 3px rgba(20,83,45,.18); }
body.fd-brand .ulc-empty { color: #33433A; border-color: #C6C3AC; }
body.fd-brand .urcard { background: #fff; border-color: #DDDAC6; }
.fd-logo { height: 46px; width: auto; display: block; }
.fdnav .navsel { background-color: #fff; color: #1A1A1A; border-color: #C6C3AC; }
.fdnav .navsel:focus { border-color: #14532D; }
body.fd-brand .seg .on, body.fd-brand .seg .active, body.fd-brand .seg [aria-pressed="true"] { background: #14532D; color: #fff; }
@media (max-width: 760px) { body.fd-brand .ur-h { font-size: 30px; } .fd-logo { height: 38px; } }

/* ======== Wolf Pack Golf League (2026-11-25): the site's navy and lime, Nunito capitals. Lime always carries navy type ======== */
body.wp-brand {
  --bg: #0B1440; --bg-2: #131E52; --bg-3: #1B2863; --line: rgba(255,255,255,.14); --line-2: rgba(255,255,255,.26); --rule: rgba(255,255,255,.1);
  --fg: #FFFFFF; --fg-2: #D9DEF2; --fg-3: #A3ACD0; --accent: #C6FF3D; --accent-lt: #C6FF3D; --accent-tint: rgba(198,255,61,.14); --accent-fg: #0B1440;
  --info: #C6FF3D; --warn: #FFD236; --warn-tint: rgba(255,210,54,.14);
  background: radial-gradient(1000px 520px at 88% -12%, rgba(198,255,61,.09), transparent 60%), radial-gradient(rgba(198,255,61,.07) 1px, transparent 1.5px) 0 0 / 27px 27px, #0B1440;
  background-attachment: fixed; font-family: Inter, system-ui, sans-serif;
}
.wp-head { display: flex; align-items: center; gap: 10px; }
.wp-logo { height: 38px; width: auto; display: block; }
.wp-mark { font-family: Nunito, Inter, sans-serif; font-weight: 800; font-size: 20px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.wp-mark em { font-style: normal; color: #C6FF3D; }
body.wp-brand .card { background: rgba(19,30,82,.92); }
body.wp-brand .btn.primary, body.wp-brand .btn.sm.primary { background: #C6FF3D; color: #0B1440; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.wp-brand .btn.primary:hover { background: #D6FF75; } }
body.wp-brand .drop { border-color: rgba(198,255,61,.45); background: rgba(198,255,61,.05); }
body.wp-brand .upb-bar { background: rgba(255,255,255,.14); } body.wp-brand .upb-bar i { background: #C6FF3D; }
body.wp-brand .ur-h { font-family: Nunito, Inter, sans-serif; font-weight: 800; font-size: 44px; letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.wpnav { background: color-mix(in srgb, #0B1440 92%, transparent); border-bottom-color: rgba(198,255,61,.3); }
.wpnav .brand small { color: #C6FF3D; }
.wpnav nav { border-color: rgba(255,255,255,.22); }
.wpnav nav a { color: #D9DEF2; }
.wpnav nav a.on { background: #C6FF3D; color: #0B1440; }
.wpnav .ghost { color: #D9DEF2; border-color: rgba(255,255,255,.22); }
body.wp-brand .urn { color: #0B1440; } .wpnav nav a.on .urn { background: #0B1440; color: #C6FF3D; }
body.wp-brand .ul-tabs { border-color: rgba(255,255,255,.22); background: rgba(19,30,82,.8); }
body.wp-brand .ul-tabs a { color: #D9DEF2; }
body.wp-brand .ul-tabs a.on { background: #C6FF3D; color: #0B1440; }
body.wp-brand .ul-tabs a.on i { background: #0B1440; color: #C6FF3D; }
body.wp-brand .ulg > h2 { color: #C6FF3D; letter-spacing: .1em; }
body.wp-brand .ulc { background: rgba(19,30,82,.94); border-color: rgba(255,255,255,.13); box-shadow: 0 14px 40px rgba(3,7,30,.5); }
body.wp-brand .ulc.is-ok { border-color: rgba(198,255,61,.6); }
body.wp-brand .ulc-vid, body.wp-brand .ulc-vid video, body.wp-brand .urmedia { background: #060B28; }
body.wp-brand .ulc-meta, body.wp-brand .ulc-notes label span, body.wp-brand .ulc-save .small { color: #A3ACD0; }
body.wp-brand .ulc-info p { color: #D9DEF2; }
body.wp-brand .ulc-done { color: #C6FF3D; }
body.wp-brand .ulc-notes textarea { background: rgba(6,11,40,.85); border-color: rgba(255,255,255,.24); }
body.wp-brand .ulc-notes textarea:focus { border-color: #C6FF3D; box-shadow: 0 0 0 3px rgba(198,255,61,.2); }
body.wp-brand .ulc-empty { color: #D9DEF2; border-color: rgba(255,255,255,.26); }
body.wp-brand .urcard { background: #131E52; border-color: rgba(255,255,255,.13); }
body.wp-brand .seg .on, body.wp-brand .seg .active, body.wp-brand .seg [aria-pressed="true"] { background: #C6FF3D; color: #0B1440; }
@media (max-width: 760px) { body.wp-brand .ur-h { font-size: 30px; } .wp-logo { height: 32px; } .wp-mark { font-size: 16px; } }

/* Devon Drams (2026-11-26): the logo's black and whisky gold, headings in Cinzel capitals like its DEVON DRAMS. Warmer and
   browner than Ryan's champagne, so the two black-and-gold pages don't read as one. */
body.dd-brand {
  --bg: #0D0A07; --bg-2: #17120C; --bg-3: #221A11; --line: rgba(200,150,74,.16); --line-2: rgba(200,150,74,.3); --rule: rgba(200,150,74,.12);
  --fg: #F7F1E6; --fg-2: #E9DFCD; --fg-3: #A08E72; --accent: #C8964A; --accent-lt: #E1B66E; --accent-tint: rgba(200,150,74,.2); --accent-fg: #0D0A07;
  --info: #E1B66E; --warn: #E1B66E; --warn-tint: rgba(200,150,74,.14);
  background: radial-gradient(1000px 540px at 86% -14%, rgba(200,150,74,.13), transparent 60%), radial-gradient(800px 480px at -8% 112%, rgba(138,104,56,.14), transparent 60%), #0D0A07;
  background-attachment: fixed; font-family: Inter, system-ui, sans-serif;
}
.dd-head { display: flex; align-items: center; gap: 10px; }
.dd-logo { height: 40px; width: 40px; display: block; }
.dd-mark { font-family: Cinzel, Georgia, serif; font-weight: 600; font-size: 20px; line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: #F7F1E6; white-space: nowrap; }
.dd-mark em { font-style: normal; color: #C8964A; }
body.dd-brand .card { background: rgba(23,18,12,.92); }
body.dd-brand .btn.primary, body.dd-brand .btn.sm.primary { background: linear-gradient(180deg, #D9A95C, #B98840); color: #0D0A07; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.dd-brand .btn.primary:hover { background: #E1B66E; } }
body.dd-brand .drop { border-color: rgba(200,150,74,.42); background: rgba(200,150,74,.05); }
body.dd-brand .upb-bar { background: rgba(255,255,255,.12); } body.dd-brand .upb-bar i { background: #C8964A; }
body.dd-brand .ur-h { font-family: Cinzel, Georgia, serif; font-weight: 600; font-size: 42px; letter-spacing: .06em; text-transform: uppercase; color: #F7F1E6; }
.ddnav { background: color-mix(in srgb, #0D0A07 92%, transparent); border-bottom-color: rgba(200,150,74,.3); }
.ddnav .brand small { color: #C8964A; }
.ddnav nav { border-color: rgba(200,150,74,.26); }
.ddnav nav a { color: #E9DFCD; }
.ddnav nav a.on { background: #C8964A; color: #0D0A07; }
.ddnav .ghost { color: #E9DFCD; border-color: rgba(200,150,74,.26); }
body.dd-brand .urn { color: #0D0A07; } .ddnav nav a.on .urn { background: #0D0A07; color: #C8964A; }
body.dd-brand .ul-tabs { border-color: rgba(200,150,74,.24); background: rgba(23,18,12,.8); }
body.dd-brand .ul-tabs a { color: #E9DFCD; }
body.dd-brand .ul-tabs a.on { background: #C8964A; color: #0D0A07; }
body.dd-brand .ul-tabs a.on i { background: #0D0A07; color: #C8964A; }
body.dd-brand .ulg > h2 { color: #C8964A; letter-spacing: .1em; }
body.dd-brand .ulc { background: rgba(23,18,12,.94); border-color: rgba(200,150,74,.16); box-shadow: 0 14px 40px rgba(0,0,0,.5); }
body.dd-brand .ulc.is-ok { border-color: rgba(200,150,74,.6); }
body.dd-brand .ulc-vid, body.dd-brand .ulc-vid video, body.dd-brand .urmedia { background: #070504; }
body.dd-brand .ulc-meta, body.dd-brand .ulc-notes label span, body.dd-brand .ulc-save .small { color: #A08E72; }
body.dd-brand .ulc-info p { color: #E9DFCD; }
body.dd-brand .ulc-done { color: #E1B66E; }
body.dd-brand .ulc-notes textarea { background: rgba(7,5,4,.85); border-color: rgba(200,150,74,.24); }
body.dd-brand .ulc-notes textarea:focus { border-color: #C8964A; box-shadow: 0 0 0 3px rgba(200,150,74,.2); }
body.dd-brand .ulc-empty { color: #E9DFCD; border-color: rgba(200,150,74,.26); }
body.dd-brand .urcard { background: #17120C; border-color: rgba(200,150,74,.16); }
body.dd-brand .seg .on, body.dd-brand .seg .active, body.dd-brand .seg [aria-pressed="true"] { background: #C8964A; color: #0D0A07; }
@media (max-width: 760px) { body.dd-brand .ur-h { font-size: 28px; } .dd-logo { height: 32px; width: 32px; } .dd-mark { font-size: 16px; } }

/* Your style: style folders (viewStyles, Devon Drams first, 2026-11-26) */
.st-card { padding: 18px 20px; margin: 0 0 16px; }
.st-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.st-h h2 { margin: 0 0 2px; font-size: 20px; }
body.dd-brand .st-h h2 { font-family: Cinzel, Georgia, serif; font-weight: 600; letter-spacing: .05em; color: #E1B66E; }
.st-desc { margin: 10px 0; color: var(--fg-2); max-width: 70ch; line-height: 1.5; }
.st-links { margin: 0 0 12px; padding-left: 18px; font-size: 14px; }
.st-links a { color: var(--accent-lt); word-break: break-all; }
.st-ex { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 4px 0 14px; }
.st-vid { position: relative; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 9 / 16; }
.st-vid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-vid > .btn { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,.6); }
.st-file { display: grid; place-items: center; padding: 10px; font-size: 13px; text-align: center; word-break: break-all; }
.st-pick { margin-bottom: 10px; } .st-pick select { min-width: 220px; }
.au-vibe { margin-bottom: 10px; } .au-vibe input { width: 100%; max-width: 420px; }
.st-none { margin-bottom: 10px; }
@media (max-width: 760px) { .st-card { padding: 14px; } .st-ex { grid-template-columns: repeat(2, 1fr); } }

/* Alex Haines (2026-11-26): it'seeze's orange #FF6600 on its charcoal #2A2D34, sage #759876 for info, Poppins like their site */
body.ah-brand {
  --bg: #22252B; --bg-2: #2A2D34; --bg-3: #343840; --line: rgba(244,244,244,.11); --line-2: rgba(244,244,244,.2); --rule: rgba(244,244,244,.08);
  --fg: #F4F4F4; --fg-2: #DDE0E3; --fg-3: #A3A9B0; --accent: #FF6600; --accent-lt: #FF8533; --accent-tint: rgba(255,102,0,.16); --accent-fg: #1B1D22;
  --info: #B0E2C9; --warn: #FFB27A; --warn-tint: rgba(255,178,122,.14);
  background: radial-gradient(1100px 560px at 86% -12%, rgba(255,102,0,.13), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(117,152,118,.1), transparent 60%), #22252B;
  background-attachment: fixed;
}
.ah-mark { color: #F4F4F4; font: 700 19px/1 'Poppins', 'Inter', sans-serif; letter-spacing: -.01em; white-space: nowrap; }
.ah-mark em { font-style: normal; color: #FF6600; }
body.ah-brand .card { background: rgba(42,45,52,.94); }
body.ah-brand .btn.primary, body.ah-brand .btn.sm.primary { background: #FF6600; color: #1B1D22; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.ah-brand .btn.primary:hover { background: #FF8533; } }
body.ah-brand .drop { border-color: rgba(255,102,0,.42); background: rgba(255,102,0,.05); }
body.ah-brand .upb-bar { background: rgba(255,255,255,.12); } body.ah-brand .upb-bar i { background: #FF6600; }
body.ah-brand .ur-h { font-family: 'Poppins', 'Inter', sans-serif; font-weight: 700; font-size: 40px; letter-spacing: -.015em; color: #F4F4F4; }
.ahnav { background: color-mix(in srgb, #2A2D34 92%, transparent); border-bottom-color: rgba(255,102,0,.28); }
.ahnav .brand small { color: #FF6600; }
.ahnav nav { border-color: rgba(244,244,244,.2); }
.ahnav nav a { color: #DDE0E3; }
.ahnav nav a.on { background: #FF6600; color: #1B1D22; }
.ahnav .ghost { color: #DDE0E3; border-color: rgba(244,244,244,.2); }
body.ah-brand .urn { color: #1B1D22; } .ahnav nav a.on .urn { background: #1B1D22; color: #FF6600; }
body.ah-brand .ul-tabs { border-color: rgba(244,244,244,.2); background: rgba(42,45,52,.8); }
body.ah-brand .ul-tabs a { color: #DDE0E3; }
body.ah-brand .ul-tabs a.on { background: #FF6600; color: #1B1D22; }
body.ah-brand .ul-tabs a.on i { background: #1B1D22; color: #FF6600; }
body.ah-brand .ulg > h2 { color: #FF8533; letter-spacing: .1em; }
body.ah-brand .ulc { background: rgba(42,45,52,.95); border-color: rgba(244,244,244,.1); box-shadow: 0 14px 40px rgba(0,0,0,.45); }
body.ah-brand .ulc.is-ok { border-color: rgba(117,152,118,.75); }
body.ah-brand .ulc-vid, body.ah-brand .ulc-vid video, body.ah-brand .urmedia { background: #17191D; }
body.ah-brand .ulc-meta, body.ah-brand .ulc-notes label span, body.ah-brand .ulc-save .small { color: #A3A9B0; }
body.ah-brand .ulc-info p { color: #DDE0E3; }
body.ah-brand .ulc-done { color: #B0E2C9; }
body.ah-brand .ulc-notes textarea { background: rgba(23,25,29,.85); border-color: rgba(244,244,244,.2); }
body.ah-brand .ulc-notes textarea:focus { border-color: #FF6600; box-shadow: 0 0 0 3px rgba(255,102,0,.18); }
body.ah-brand .ulc-empty { color: #DDE0E3; border-color: rgba(244,244,244,.22); }
body.ah-brand .urcard { background: #2A2D34; border-color: rgba(244,244,244,.1); }
body.ah-brand .seg .on, body.ah-brand .seg .active, body.ah-brand .seg [aria-pressed="true"] { background: #FF6600; color: #1B1D22; }
body.ah-brand .st-h h2 { font-family: 'Poppins', 'Inter', sans-serif; font-weight: 700; color: #FF8533; }
@media (max-width: 760px) { body.ah-brand .ur-h { font-size: 28px; } .ah-mark { font-size: 16px; } }

/* Lynda Connikie (2026-11-30): PLACEHOLDER deep navy #0F1B2D + teal #4FB3BF, Inter, until her LinkedIn look is in */
body.lc-brand {
  --bg: #0F1B2D; --bg-2: #16243A; --bg-3: #1E2E47; --line: rgba(244,244,244,.11); --line-2: rgba(244,244,244,.2); --rule: rgba(244,244,244,.08);
  --fg: #F4F4F4; --fg-2: #DDE0E3; --fg-3: #A3A9B0; --accent: #4FB3BF; --accent-lt: #7CCAD3; --accent-tint: rgba(79,179,191,.16); --accent-fg: #0A1220;
  --info: #BFD4F2; --warn: #F2C879; --warn-tint: rgba(242,200,121,.14);
  background: radial-gradient(1100px 560px at 86% -12%, rgba(79,179,191,.13), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(143,170,214,.1), transparent 60%), #0F1B2D;
  background-attachment: fixed;
}
.lc-mark { color: #F4F4F4; font: 700 19px/1 'Inter', sans-serif; letter-spacing: -.01em; white-space: nowrap; }
.lc-mark em { font-style: normal; color: #4FB3BF; }
body.lc-brand .card { background: rgba(22,36,58,.94); }
body.lc-brand .btn.primary, body.lc-brand .btn.sm.primary { background: #4FB3BF; color: #0A1220; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.lc-brand .btn.primary:hover { background: #7CCAD3; } }
body.lc-brand .drop { border-color: rgba(79,179,191,.42); background: rgba(79,179,191,.05); }
body.lc-brand .upb-bar { background: rgba(255,255,255,.12); } body.lc-brand .upb-bar i { background: #4FB3BF; }
body.lc-brand .ur-h { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 40px; letter-spacing: -.015em; color: #F4F4F4; }
.lcnav { background: color-mix(in srgb, #16243A 92%, transparent); border-bottom-color: rgba(79,179,191,.28); }
.lcnav .brand small { color: #4FB3BF; }
.lcnav nav { border-color: rgba(244,244,244,.2); }
.lcnav nav a { color: #DDE0E3; }
.lcnav nav a.on { background: #4FB3BF; color: #0A1220; }
.lcnav .ghost { color: #DDE0E3; border-color: rgba(244,244,244,.2); }
body.lc-brand .urn { color: #0A1220; } .lcnav nav a.on .urn { background: #0A1220; color: #4FB3BF; }
body.lc-brand .ul-tabs { border-color: rgba(244,244,244,.2); background: rgba(22,36,58,.8); }
body.lc-brand .ul-tabs a { color: #DDE0E3; }
body.lc-brand .ul-tabs a.on { background: #4FB3BF; color: #0A1220; }
body.lc-brand .ul-tabs a.on i { background: #0A1220; color: #4FB3BF; }
body.lc-brand .ulg > h2 { color: #7CCAD3; letter-spacing: .1em; }
body.lc-brand .ulc { background: rgba(22,36,58,.95); border-color: rgba(244,244,244,.1); box-shadow: 0 14px 40px rgba(0,0,0,.45); }
body.lc-brand .ulc.is-ok { border-color: rgba(143,170,214,.75); }
body.lc-brand .ulc-vid, body.lc-brand .ulc-vid video, body.lc-brand .urmedia { background: #0A1220; }
body.lc-brand .ulc-meta, body.lc-brand .ulc-notes label span, body.lc-brand .ulc-save .small { color: #A3A9B0; }
body.lc-brand .ulc-info p { color: #DDE0E3; }
body.lc-brand .ulc-done { color: #BFD4F2; }
body.lc-brand .ulc-notes textarea { background: rgba(10,18,32,.85); border-color: rgba(244,244,244,.2); }
body.lc-brand .ulc-notes textarea:focus { border-color: #4FB3BF; box-shadow: 0 0 0 3px rgba(79,179,191,.18); }
body.lc-brand .ulc-empty { color: #DDE0E3; border-color: rgba(244,244,244,.22); }
body.lc-brand .urcard { background: #16243A; border-color: rgba(244,244,244,.1); }
body.lc-brand .seg .on, body.lc-brand .seg .active, body.lc-brand .seg [aria-pressed="true"] { background: #4FB3BF; color: #0A1220; }
body.lc-brand .st-h h2 { font-family: 'Inter', sans-serif; font-weight: 700; color: #7CCAD3; }
@media (max-width: 760px) { body.lc-brand .ur-h { font-size: 28px; } .lc-mark { font-size: 16px; } }

/* MAD Hockey (2026-11-26): the logo's gold #D4AF37 on black, their site's mint #C7DED1 for info, Jost like the logo's thin MAD */
body.ma-brand {
  --bg: #0E0E0E; --bg-2: #161616; --bg-3: #202020; --line: rgba(244,244,244,.11); --line-2: rgba(244,244,244,.2); --rule: rgba(244,244,244,.08);
  --fg: #F4F4F4; --fg-2: #DDE0E3; --fg-3: #A3A9B0; --accent: #D4AF37; --accent-lt: #E2CF8F; --accent-tint: rgba(212,175,55,.16); --accent-fg: #0B0B0B;
  --info: #C7DED1; --warn: #E2CF8F; --warn-tint: rgba(226,207,143,.14);
  background: radial-gradient(1100px 560px at 86% -12%, rgba(212,175,55,.13), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(143,188,162,.1), transparent 60%), #0E0E0E;
  background-attachment: fixed;
}
.ma-head { display: flex; align-items: center; gap: 10px; }
.ma-logo { height: 40px; width: 40px; display: block; }
.ma-mark { color: #F4F4F4; font: 500 20px/1 Jost, 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.ma-mark em { font-style: normal; color: #D4AF37; }
body.ma-brand .card { background: rgba(22,22,22,.94); }
body.ma-brand .btn.primary, body.ma-brand .btn.sm.primary { background: #D4AF37; color: #0B0B0B; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.ma-brand .btn.primary:hover { background: #E2CF8F; } }
body.ma-brand .drop { border-color: rgba(212,175,55,.42); background: rgba(212,175,55,.05); }
body.ma-brand .upb-bar { background: rgba(255,255,255,.12); } body.ma-brand .upb-bar i { background: #D4AF37; }
body.ma-brand .ur-h { font-family: Jost, 'Inter', sans-serif; font-weight: 700; font-size: 40px; letter-spacing: -.015em; color: #F4F4F4; }
.manav { background: color-mix(in srgb, #161616 92%, transparent); border-bottom-color: rgba(212,175,55,.28); }
.manav .brand small { color: #D4AF37; }
.manav nav { border-color: rgba(244,244,244,.2); }
.manav nav a { color: #DDE0E3; }
.manav nav a.on { background: #D4AF37; color: #0B0B0B; }
.manav .ghost { color: #DDE0E3; border-color: rgba(244,244,244,.2); }
body.ma-brand .urn { color: #0B0B0B; } .manav nav a.on .urn { background: #0B0B0B; color: #D4AF37; }
body.ma-brand .ul-tabs { border-color: rgba(244,244,244,.2); background: rgba(22,22,22,.8); }
body.ma-brand .ul-tabs a { color: #DDE0E3; }
body.ma-brand .ul-tabs a.on { background: #D4AF37; color: #0B0B0B; }
body.ma-brand .ul-tabs a.on i { background: #0B0B0B; color: #D4AF37; }
body.ma-brand .ulg > h2 { color: #E2CF8F; letter-spacing: .1em; }
body.ma-brand .ulc { background: rgba(22,22,22,.95); border-color: rgba(244,244,244,.1); box-shadow: 0 14px 40px rgba(0,0,0,.45); }
body.ma-brand .ulc.is-ok { border-color: rgba(143,188,162,.75); }
body.ma-brand .ulc-vid, body.ma-brand .ulc-vid video, body.ma-brand .urmedia { background: #080808; }
body.ma-brand .ulc-meta, body.ma-brand .ulc-notes label span, body.ma-brand .ulc-save .small { color: #A3A9B0; }
body.ma-brand .ulc-info p { color: #DDE0E3; }
body.ma-brand .ulc-done { color: #C7DED1; }
body.ma-brand .ulc-notes textarea { background: rgba(8,8,8,.85); border-color: rgba(244,244,244,.2); }
body.ma-brand .ulc-notes textarea:focus { border-color: #D4AF37; box-shadow: 0 0 0 3px rgba(212,175,55,.18); }
body.ma-brand .ulc-empty { color: #DDE0E3; border-color: rgba(244,244,244,.22); }
body.ma-brand .urcard { background: #161616; border-color: rgba(244,244,244,.1); }
body.ma-brand .seg .on, body.ma-brand .seg .active, body.ma-brand .seg [aria-pressed="true"] { background: #D4AF37; color: #0B0B0B; }
body.ma-brand .st-h h2 { font-family: Jost, 'Inter', sans-serif; font-weight: 700; color: #E2CF8F; }
@media (max-width: 760px) { body.ma-brand .ur-h { font-size: 28px; } .ma-logo { height: 32px; width: 32px; } .ma-mark { font-size: 16px; } }

/* First-visit walkthrough (2026-11-26): a spotlight on the thing, an arrow to it, and a card saying how it works.
   Colours come from the page's own tokens, so it wears whichever OS it's in. */
.tr-layer { position: fixed; inset: 0; z-index: 80; }
.tr-spot { position: fixed; border-radius: 12px; box-shadow: 0 0 0 2px var(--accent), 0 0 0 9999px rgba(0,0,0,.62); pointer-events: none;
  transition: left .28s cubic-bezier(.2,.7,.2,1), top .28s cubic-bezier(.2,.7,.2,1), width .28s cubic-bezier(.2,.7,.2,1), height .28s cubic-bezier(.2,.7,.2,1); }
.tr-arrow { position: fixed; color: var(--accent); pointer-events: none; transform: rotate(180deg); filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.tr-arrow.up { transform: none; animation: trNudge 1.6s ease-in-out infinite; }
.tr-arrow:not(.up) { animation: trNudgeDown 1.6s ease-in-out infinite; }
@keyframes trNudge { 50% { transform: translateY(-5px); } }
@keyframes trNudgeDown { 0%, 100% { transform: rotate(180deg); } 50% { transform: rotate(180deg) translateY(-5px); } }
.tr-card { position: fixed; background: var(--bg-2, #1c1f24); color: var(--fg, #fff); border: 1px solid var(--line-2, rgba(255,255,255,.2)); border-radius: 14px;
  padding: 16px 16px 12px; box-shadow: 0 18px 50px rgba(0,0,0,.5); animation: fade .2s ease both; }
.tr-card small { display: block; color: var(--accent); font-weight: 600; font-size: 12px; letter-spacing: .04em; margin-bottom: 4px; }
.tr-card > b { display: block; font-size: 16px; line-height: 1.3; margin-bottom: 6px; }
.tr-card p { margin: 0 0 12px; color: var(--fg-2, #ddd); font-size: 14px; line-height: 1.5; }
.tr-acts { display: flex; align-items: center; gap: 8px; } .tr-acts .grow { flex: 1; }
@media (prefers-reduced-motion: reduce) { .tr-arrow, .tr-arrow.up, .tr-arrow:not(.up) { animation: none; } .tr-spot { transition: none; } }

/* ---- Forecasting: the Content OS Forecast (Tom, 2026-11-27). OS fonts: Inter, Space Mono for labels + numbers. ---- */
.fc-lede { margin: 0; color: var(--fg-2); font-size: 14px; max-width: 70ch; line-height: 1.55; }
.fc-lede b { color: var(--fg); font-variant-numeric: tabular-nums; }
.fc-key { display: flex; flex-wrap: wrap; gap: 14px; margin: -2px 0 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.fc-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.fc-key i.fc-pt { border-radius: 50%; background: var(--fg); }
.fc-key i.fc-l1 { background: var(--accent); } .fc-key i.fc-l2 { background: var(--warn); }
.fc-chart { position: relative; min-height: 260px; }
.fc-chart svg { display: block; width: 100%; }
.fc-chart text { font-family: var(--mono); font-size: 10px; fill: var(--fg-3); }
.fc-chart text.fc-end { fill: var(--fg); font-weight: 700; }
.fc-grid { stroke: var(--line); } .fc-grid.zero { stroke: var(--line-2); }
rect.fc-cost, .fc-key i.fc-cost { fill: var(--line-2); background: var(--line-2); }
rect.fc-inc, .fc-key i.fc-inc { fill: var(--accent); background: var(--accent); }
circle.fc-pt { fill: var(--fg); } circle.fc-pt.neg { fill: var(--bad); }
path.fc-l1 { fill: none; stroke: var(--accent); stroke-width: 2.5; } circle.fc-l1-d { fill: var(--accent); }
path.fc-l2 { fill: none; stroke: var(--warn); stroke-width: 2.5; } circle.fc-l2-d { fill: var(--warn); }
rect.fc-hit { fill: transparent; cursor: crosshair; }
.fc-tip { position: absolute; z-index: 3; pointer-events: none; background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius-s); padding: 8px 10px; font-size: 12px; line-height: 1.5; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fc-tip b { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 2px; }
.fc-wrap { overflow-x: auto; margin: 0 -4px; }
table.fc-t { width: max-content; min-width: 100%; font-size: 12px; }
table.fc-t th, table.fc-t td { white-space: nowrap; padding: 7px 10px; }
table.fc-t td { font-family: var(--mono); font-size: 11.5px; color: var(--fg-2); }
table.fc-t td:first-child, table.fc-t th:first-child { position: sticky; left: 0; background: var(--bg-2); font-family: var(--font); font-size: 12.5px; color: var(--fg); font-weight: 600; z-index: 1; }
table.fc-t td.fc-b { color: var(--fg); font-weight: 700; }
table.fc-t td.fc-neg { color: var(--bad); }
table.fc-t .fc-sep { border-left: 1px solid var(--line-2); }
table.fc-t tr.fc-open td { color: var(--fg-3); font-style: normal; }
table.fc-t tr.fc-tot td { border-top: 2px solid var(--line-2); color: var(--fg); font-weight: 700; }
.fc-notes summary { cursor: pointer; font-weight: 600; font-size: 13px; color: var(--fg-2); }
.fc-notes ul { margin: 10px 0 0; padding-left: 18px; color: var(--fg-2); font-size: 13px; line-height: 1.6; }
@media (max-width: 900px) { .fc-tiles.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fc-charts.g2 { grid-template-columns: 1fr; } }

/* What's new: music (2026-11-30) */
.news-music { max-width: 520px; }
.news-music .nm-lead { margin: 0 0 12px; }
.news-music .nm-steps { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 8px; }

/* Edits used meter (2026-11-30). Tom, same day: no box, no lines to the edge, just clean and quiet in their own skin.
   Inherits the page's text colour so it reads on every client skin, light or dark. */
.edits-meter { display: flex; align-items: center; justify-content: center; text-align: center; flex-wrap: wrap; gap: 4px 10px; margin: 16px auto 14px; padding: 0 16px;
  background: none; border: 0; box-shadow: none; color: inherit; font-size: 12.5px; }
.edits-meter .em-label { opacity: .7; }
.edits-meter .em-track { flex: 0 0 120px; height: 4px; border-radius: 99px; background: color-mix(in srgb, currentColor 14%, transparent); overflow: hidden; }
.edits-meter .em-track i { display: block; height: 100%; border-radius: inherit; background: currentColor; opacity: .65; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.edits-meter.near .em-track i, .edits-meter.full .em-track i { background: #f59e0b; opacity: 1; }
.edits-meter .em-count { font-weight: 600; font-variant-numeric: tabular-nums; }
.edits-meter .em-sub { opacity: .55; }
@media (prefers-reduced-motion: reduce) { .edits-meter .em-track i { transition: none; } }

/* Post in the app (2026-12-02): a reel the client finishes in Instagram with a trending sound */
.sp-in_app { --sp-c: var(--warn, #c98a1a); }
.pp-inapp { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 10px; font-size: 13px; line-height: 1.45; cursor: pointer; }
.pp-inapp input { margin-top: 3px; flex: none; }
.ia-box .ia-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* Christian Lindgreen (2026-12-03): @christian_lindgreen, pro golfer. No logo, so his name is the mark in Josefin Sans
   (his website's font). Navy of his cap #14233A for the page, off-white #EEF0F2 for buttons and active tabs, the grey of
   his kit #C9CDD2 for quieter text. Handley's page, recoloured. */
body.cl-brand {
  --bg: #14233A; --bg-2: #1B2E4A; --bg-3: #243B5C; --line: rgba(238,240,242,.14); --line-2: rgba(238,240,242,.26); --rule: rgba(238,240,242,.1);
  --fg: #F6F7F8; --fg-2: #E3E7EC; --fg-3: #A9B4C4; --accent: #EEF0F2; --accent-lt: #FFFFFF; --accent-tint: rgba(238,240,242,.18); --accent-fg: #14233A;
  --info: #E3E7EC; --warn: #FF8A80; --warn-tint: rgba(255,138,128,.16);
  background: radial-gradient(1100px 560px at 86% -12%, rgba(120,160,210,.16), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(238,240,242,.06), transparent 60%), #14233A;
  background-attachment: fixed;
}
.cl-mark { color: #F6F7F8; font: 600 21px/1 'Josefin Sans', Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.cl-mark em { font-style: normal; font-weight: 300; color: #C9CDD2; }
body.cl-brand .card { background: rgba(27,46,74,.9); }
body.cl-brand .btn.primary, body.cl-brand .btn.sm.primary { background: #EEF0F2; color: #14233A; border-color: transparent; }
@media (hover: hover) and (pointer: fine) { body.cl-brand .btn.primary:hover { background: #FFFFFF; } }
body.cl-brand .drop { border-color: rgba(238,240,242,.4); background: rgba(238,240,242,.05); }
body.cl-brand .upb-bar { background: rgba(255,255,255,.12); } body.cl-brand .upb-bar i { background: #EEF0F2; }
body.cl-brand .ur-h { font-family: 'Josefin Sans', Inter, sans-serif; font-weight: 600; font-size: 44px; letter-spacing: .01em; color: #F6F7F8; }
.clnav { background: color-mix(in srgb, #14233A 90%, transparent); border-bottom-color: rgba(238,240,242,.14); }
.clnav .brand small { color: #C9CDD2; }
.clnav nav { border-color: rgba(238,240,242,.22); }
.clnav nav a { color: #E3E7EC; }
.clnav nav a.on { background: #EEF0F2; color: #14233A; }
.clnav .ghost { color: #E3E7EC; border-color: rgba(238,240,242,.22); }
body.cl-brand .urn { color: #14233A; } .clnav nav a.on .urn { background: #14233A; color: #EEF0F2; }
body.cl-brand .ul-tabs { border-color: rgba(238,240,242,.22); background: rgba(27,46,74,.7); }
body.cl-brand .ul-tabs a { color: #E3E7EC; }
body.cl-brand .ul-tabs a.on { background: #EEF0F2; color: #14233A; }
body.cl-brand .ul-tabs a.on i { background: rgba(20,35,58,.2); }
body.cl-brand .ulg > h2 { color: #E3E7EC; letter-spacing: .1em; }
body.cl-brand .ulc { background: rgba(27,46,74,.92); border-color: rgba(238,240,242,.12); box-shadow: 0 14px 40px rgba(4,10,20,.5); }
body.cl-brand .ulc.is-ok { border-color: rgba(238,240,242,.6); }
body.cl-brand .ulc-vid, body.cl-brand .ulc-vid video, body.cl-brand .urmedia { background: #0B1524; }
body.cl-brand .ulc-meta, body.cl-brand .ulc-notes label span, body.cl-brand .ulc-save .small { color: #A9B4C4; }
body.cl-brand .ulc-info p { color: #E3E7EC; }
body.cl-brand .ulc-done { color: #E3E7EC; }
body.cl-brand .ulc-notes textarea { background: rgba(11,21,36,.85); border-color: rgba(238,240,242,.22); }
body.cl-brand .ulc-notes textarea:focus { border-color: #FFFFFF; box-shadow: 0 0 0 3px rgba(238,240,242,.18); }
body.cl-brand .ulc-empty { color: #E3E7EC; border-color: rgba(238,240,242,.24); }
body.cl-brand .urcard { background: #1B2E4A; border-color: rgba(238,240,242,.12); }
@media (max-width: 760px) { body.cl-brand .ur-h { font-size: 32px; } .cl-mark { font-size: 16px; } }
