/* ShowPilot Co. — swap brand colors here */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
/* ShowPilot Co. brand tokens — swap colors here (matches the marketing site) */
:root {
  --blue: #2291EB;
  --blue-dark: #1478cc;
  --blue-soft: #eaf5fe;
  --gray: #757475;
  --ink: #1b2026;
  --ink-soft: #2a313a;
  --body: #444b54;
  --dark: #11151a;
  --dark-2: #2a3340;

  --brand: var(--blue);
  --brand-dark: var(--blue-dark);
  --brand-ink: #ffffff;
  --brand-soft: var(--blue-soft);
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --muted: var(--gray);
  --line: #e6e9ee;
  --danger: #d93838;
  --warn-bg: #fff4e5;
  --warn-ink: #8a4b00;
  --ok: #17895a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(20, 30, 45, 0.08);
  --shadow-sm: 0 2px 8px rgba(20, 30, 45, 0.06);
  --shadow-lg: 0 24px 60px rgba(20, 30, 45, 0.14);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--body); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
.loading { padding: 40px; text-align: center; color: var(--muted); }

/* layout */
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px; padding: 10px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.logo { font-weight: 800; letter-spacing: -.02em; font-size: 18px; color: var(--ink); white-space: nowrap; }
.logo span { color: var(--brand); }
.nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; }
.nav a { padding: 6px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.nav a.active, .nav a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.user { color: var(--muted); font-size: 13px; white-space: nowrap; }
main { padding: 20px; max-width: 1500px; margin: 0 auto; }
h1 { font-size: 22px; margin: 0 0 4px; letter-spacing: -.01em; }
h2 { font-size: 17px; margin: 0 0 10px; }
.sub { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.tz-pill { font-size: 12px; background: var(--surface-2); color: var(--muted); padding: 2px 8px; border-radius: 99px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); padding: 7px 12px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink); }
.btn:hover { border-color: #c3c9d2; text-decoration: none; }
.btn.primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.small { padding: 4px 9px; font-size: 13px; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.danger { color: var(--danger); }
.btn[disabled] { opacity: .5; cursor: default; }
.linkbtn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: 13px; }
.linkbtn:hover { text-decoration: none; filter: brightness(.97); }
.linkbtn.muted { background: var(--surface-2); color: var(--muted); }

/* cards / lists */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.show-card { display: block; color: var(--ink); }
.show-card:hover { border-color: var(--brand); text-decoration: none; }
.show-card h3 { margin: 0 0 6px; font-size: 16px; }
.meta { color: var(--muted); font-size: 13px; }

/* board */
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 12px; align-items: start; }
.col { background: var(--surface-2); border-radius: var(--radius); padding: 10px; min-height: 120px; }
.col.drop { outline: 2px dashed var(--brand); outline-offset: -2px; }
.col-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 10px; font-weight: 700; font-size: 14px; }
.count { background: var(--surface); border-radius: 99px; padding: 0 8px; font-size: 12px; color: var(--muted); }
.cards { display: flex; flex-direction: column; gap: 8px; }
.ep { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; cursor: pointer; box-shadow: var(--shadow); }
.ep:hover { border-color: #b9c3d3; }
.ep.dragging { opacity: .4; }
.ep-title { font-weight: 600; margin-bottom: 4px; }
.ep-date { font-size: 13px; color: var(--ink); }
.ep-date.none { color: var(--warn-ink); }
.ep-foot { display: flex; align-items: center; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.chip { font-size: 12px; padding: 1px 8px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.chip.assignee { background: #eef7f1; color: var(--ok); }
.moves { margin-left: auto; display: flex; gap: 2px; }
.moves button { border: 0; background: var(--surface-2); border-radius: 6px; width: 26px; height: 24px; cursor: pointer; color: var(--muted); }
.moves button:hover { background: var(--brand-soft); color: var(--brand); }
.more { text-align: center; padding: 6px; }

/* forms */
label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 10px 0 4px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=date], input[type=time], input[type=search], select, textarea {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
textarea { min-height: 80px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.error { color: var(--danger); font-size: 14px; margin-top: 8px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* login */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login { width: 100%; max-width: 380px; }
.login .logo { font-size: 26px; text-align: center; margin-bottom: 4px; }

/* modal */
.backdrop { position: fixed; inset: 0; background: rgba(16,24,40,.45); display: flex; justify-content: center; align-items: flex-start; padding: 40px 16px; overflow-y: auto; z-index: 50; }
.modal { background: var(--surface); border-radius: 12px; width: 100%; max-width: 820px; padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.modal.narrow { max-width: 480px; }
.modal-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.modal-head h2 { flex: 1; margin: 0; font-size: 19px; }
.ep-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.section-title { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin: 18px 0 8px; }
.comment { border-top: 1px solid var(--line); padding: 10px 0; }
.comment:first-child { border-top: 0; }
.comment .who { font-weight: 600; font-size: 13px; }
.comment .when { color: var(--muted); font-size: 12px; margin-left: 6px; }
.comment .body { white-space: pre-wrap; word-break: break-word; margin-top: 2px; }
.activity { font-size: 13px; color: var(--muted); padding: 4px 0; }
.activity b { color: var(--ink); font-weight: 600; }
.activity + .activity { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }
.activity.show-meta { align-items: flex-start; width: 100%; }
.internal-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--warn-bg); color: var(--warn-ink); text-transform: uppercase; letter-spacing: .05em; }

/* assets */
.assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.asset { border-top: 1px solid var(--line); padding: 10px 0; }
.asset:first-of-type { border-top: 0; }
.asset .notes { white-space: pre-wrap; line-height: 1.9; word-break: break-word; font-size: 14px; color: var(--ink); margin-top: 4px; max-height: 220px; overflow: auto; }
.panel.internal { border-color: #f0c98a; background: #fffaf2; }

/* upcoming */
table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--surface-2); }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: #fafbfc; }
.day-row td { background: var(--brand-soft); font-weight: 700; color: var(--brand); font-size: 13px; }

.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: white; padding: 10px 16px; border-radius: 8px; z-index: 100; font-size: 14px; }
.empty { color: var(--muted); font-size: 14px; padding: 10px 4px; }
.secret { font-family: ui-monospace, Menlo, monospace; background: var(--surface-2); padding: 8px 10px; border-radius: 8px; user-select: all; word-break: break-all; }

@media (max-width: 760px) {
  main { padding: 14px; }
  .topbar { flex-wrap: wrap; padding: 10px 14px; }
  .nav { order: 3; width: 100%; flex-basis: 100%; }
  .ep-layout, .two { grid-template-columns: 1fr; }
  .board { grid-auto-columns: 85vw; }
  .modal { padding: 16px; }
  .backdrop { padding: 10px; }
  .hide-sm { display: none; }
}

/* ---------- brand layer ---------- */
.topbar { padding: 12px 24px; gap: 22px; box-shadow: 0 1px 0 var(--line); border-bottom: 0; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); }
.logo img { height: 30px; width: auto; display: block; }
.nav a { color: var(--ink-soft); border-radius: 999px; padding: 7px 14px; }
.nav a.active, .nav a:hover { background: var(--blue-soft); color: var(--blue-dark); }
.user { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
main { padding: 28px 24px 60px; }
h1 { font-size: 28px; }
.btn { border-radius: 999px; padding: 8px 16px; transition: transform .15s, box-shadow .15s, background .15s; }
.btn.primary { box-shadow: 0 8px 22px rgba(34,145,235,.30); }
.btn.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); filter: none; transform: translateY(-1px); }
.btn.small { padding: 5px 12px; }
.linkbtn { border-radius: 999px; padding: 6px 12px; }
.panel { border-radius: var(--radius); box-shadow: var(--shadow); border-color: transparent; padding: 20px; }
.show-card { position: relative; transition: transform .15s, box-shadow .15s; border: 1px solid transparent; }
.show-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: transparent; }
.show-art { object-fit: cover; background: var(--blue-soft); flex-shrink: 0; display: block; }
.show-art.lg { width: 64px; height: 64px; border-radius: 14px; margin-bottom: 12px; }
.show-art.md { width: 48px; height: 48px; border-radius: 12px; }
.show-art.sm { width: 28px; height: 28px; border-radius: 7px; }
.show-art.initial { display: grid; place-items: center; color: var(--blue-dark); font-weight: 800; }
.show-art.lg.initial { font-size: 20px; }
.show-art.md.initial { font-size: 16px; }
.show-art.sm.initial { font-size: 11px; }
.show-card .show-art.lg { margin-bottom: 12px; }
.show-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.show-title h1 { margin: 0 0 4px; }
.show-meta { display: inline-flex; align-items: center; gap: 8px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; }
.back-link:hover { text-decoration: none; color: var(--brand); }
.icon { flex-shrink: 0; display: block; }
.linkbtn .icon, .btn .icon, .chip .icon, .ep-date .icon, .back-link .icon, .moves .icon { display: block; }
.icon-btn { padding: 6px !important; width: 36px; height: 36px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 5px; }
.ep-date { display: inline-flex; align-items: center; gap: 6px; }
.moves button { display: inline-flex; align-items: center; justify-content: center; }
.cover-preview { margin-top: 12px; }
.cover-preview .show-art.lg { margin-bottom: 0; }
.drive-logo { display: block; }
.stat-row { display: flex; gap: 16px; margin-top: 12px; }
.stat b { display: block; color: var(--ink); font-size: 18px; font-weight: 800; }
.stat span { font-size: 12px; color: var(--muted); }
.col { background: #eef2f7; border-radius: var(--radius); padding: 12px; }
.col-head { color: var(--ink); }
.col-head .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 8px; background: var(--gray); }
.col-head .dot.produced { background: #757475; }
.col-head .dot.approved { background: var(--blue); }
.col-head .dot.published { background: var(--ok); }
.ep { border-radius: 12px; border-color: transparent; box-shadow: var(--shadow-sm); transition: box-shadow .15s, transform .15s; }
.ep:hover { box-shadow: 0 8px 24px rgba(20,30,45,.12); border-color: transparent; transform: translateY(-1px); }
.ep-title { color: var(--ink); }
.ep-date { font-weight: 600; color: var(--blue-dark); }
.chip.assignee { background: #e9f7f0; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=date], input[type=time], input[type=search], select, textarea { border-radius: var(--radius-sm); padding: 10px 12px; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--blue-soft); border-color: var(--blue); }
.modal { border-radius: 20px; box-shadow: var(--shadow-lg); padding: 26px; }
table { border-radius: var(--radius); box-shadow: var(--shadow); }
.day-row td { background: var(--blue-soft); color: var(--blue-dark); }
/* login: dark brand panel like the marketing site hero */
.login-wrap { background: radial-gradient(1200px 600px at 20% -10%, rgba(34,145,235,.35), transparent 60%), linear-gradient(160deg, var(--dark), var(--dark-2)); }
.login { border-radius: 20px; padding: 32px; }
.login-logo { display: block; height: 36px; width: auto; margin: 0 auto 26px; }
.login-brand { text-align: center; margin-bottom: 22px; }
.login-brand img { height: 34px; width: auto; }
.login .btn.primary { width: 100%; justify-content: center; padding: 12px; margin-top: 18px; }
.login-foot { color: rgba(255,255,255,.55); text-align: center; font-size: 12px; margin-top: 18px; }
@media (max-width: 760px) { .logo img { height: 24px; } h1 { font-size: 23px; } main { padding: 18px 14px 50px; } .show-art.lg { width: 56px; height: 56px; } .show-title { gap: 10px; } }

td .show-meta { align-items: flex-start; }
td .show-meta .show-art { margin-top: 2px; }

/* notifications */
.bell-wrap { position: relative; }
.bell-badge { position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.bell-menu { position: absolute; right: 0; top: calc(100% + 8px); width: min(360px, 86vw); white-space: normal; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); z-index: 40; overflow: hidden; max-height: min(420px, 70vh); overflow-y: auto; }
.bell-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px 8px; }
.bell-head strong { color: var(--ink); font-size: 14px; }
.bell-item { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; color: var(--ink); border-top: 1px solid var(--line); min-width: 0; }
.bell-item:hover { background: var(--blue-soft); text-decoration: none; }
.bell-item.unread { background: #f3f9fe; }
.bell-item-title { font-weight: 600; font-size: 13px; overflow-wrap: anywhere; word-break: break-word; min-width: 0; }
.avatar.sm { width: 22px; height: 22px; font-size: 10px; }

/* mentions */
.mention { color: var(--blue); font-weight: 600; }
.mention-wrap { position: relative; }
.mention-menu { position: absolute; left: 0; right: 0; bottom: calc(100% + 4px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 60; overflow: hidden; max-height: 220px; overflow-y: auto; }
.mention-item { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; border: 0; background: transparent; padding: 8px 12px; cursor: pointer; color: var(--ink); font-weight: 600; }
.mention-item:hover, .mention-item.active { background: var(--blue-soft); color: var(--blue-dark); }

/* vertical + cross-column drag */
.ep { cursor: grab; touch-action: manipulation; }
.drop-ph { border: 2px dashed var(--blue); border-radius: 12px; background: rgba(34,145,235,.08); pointer-events: none; }
.ep-ghost { position: fixed; z-index: 80; pointer-events: none; box-shadow: var(--shadow-lg); opacity: .95; margin: 0; transform-origin: top left; }
body.is-dragging, body.is-dragging * { cursor: grabbing !important; user-select: none !important; }
body.is-dragging { overflow: hidden; }
body.is-dragging .ep { transition: none; }
body.is-dragging .ep:hover { transform: none; }
@media (max-width: 760px) {
  .bell-wrap { position: static; }
  .bell-menu { position: fixed; left: 12px; right: 12px; width: auto; top: 58px; }
}

/* episode schedule */
.sched-h { display: flex; align-items: center; gap: 8px; margin: 28px 0 10px; font-size: 16px; }
.sched-h .count { margin-left: 0; }
.sched-table-wrap { overflow-x: auto; }
table.sched { min-width: 920px; }
table.sched th, table.sched td { vertical-align: middle; }
table.sched td.num { width: 4.6rem; }
table.sched td.when { min-width: 11rem; }
input.inline, select.inline, textarea.inline { width: 100%; padding: 5px 7px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font: inherit; }
input.inline.title { font-weight: 600; color: var(--ink); }
input.inline:focus, select.inline:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
select.inline { min-width: 7.5rem; }
.two.tight { gap: 6px; }
.sched-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip.muted { background: var(--surface-2); color: var(--muted); }
.chip.warn { background: var(--warn-bg); color: var(--warn-ink); }
.warn-text { color: var(--warn-ink); display: flex; align-items: center; gap: 4px; }
.sched-card-title { margin: 0; font-size: 16px; }
.sched-card { cursor: pointer; }
.sched-card:hover { border-color: var(--brand); }
.sync-banner { background: var(--blue-soft); border: 1px solid #cde6fa; border-radius: var(--radius); padding: 12px 16px; margin-bottom: 18px; color: var(--ink); }
.sync-banner .meta { margin-top: 2px; }
.sync-banner.error { background: #fdecec; border-color: #f4c7c7; }
.show-sm { display: none; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.field-grid label.chk { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); margin: 0; }
.tab-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; margin-bottom: 8px; }
.sheet-from { font-size: 11px; color: var(--muted); }
@media (max-width: 760px) {
  .hide-sm-block { display: none; }
  .show-sm { display: block; }
  .field-grid, .tab-row { grid-template-columns: 1fr; }
  table.sched { min-width: 0; }
}
.chk { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); margin: 6px 0; }
.qc-box { margin: 14px 0 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); } .qc-box .chk { margin: 4px 0; font-weight: 600; color: var(--ink); }

/* status pills: one short word, flat, high-contrast */
.chip.status { font-weight: 700; font-size: 12px; letter-spacing: .01em; padding: 2px 9px; border-radius: 99px; background: var(--surface-2); color: var(--ink-soft); }
.chip.status.produced { background: #757475; color: #fff; }
.chip.status.approved { background: #2291EB; color: #fff; }
.chip.status.published { background: var(--ok); color: #fff; }
.chip.status.lg { font-size: 13px; padding: 3px 10px; }

/* needs attention, grouped by show */
.attn-show { margin: 0 0 22px; }
.attn-head { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 16px; }
.attn-head .count { margin-left: 0; }
.attn-show table { margin: 0; }

/* Auto show notes (team only) */
.chip.ok { background: #e3f6ea; color: #17733d; }
.sn-box .section-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sn-error { margin: 6px 0 8px; padding: 8px 10px; border-radius: 8px; background: var(--warn-bg); color: var(--warn-ink); font-size: 13px; display: flex; gap: 6px; align-items: center; }
.sn-draft { margin-top: 10px; }
.sn-draft summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 13px; }
.sn-draft pre { white-space: pre-wrap; word-break: break-word; max-height: 360px; overflow: auto; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 8px; padding: 10px; font-size: 12.5px; line-height: 1.45; font-family: inherit; }
.sn-rendered { max-height: 420px; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.sn-rendered h2, .sn-rendered h3, .sn-rendered h4 { font-size: 14.5px; margin: 14px 0 6px !important; }
.sn-rendered ul, .sn-rendered ol { padding-left: 22px; }
.sn-rendered hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.sn-rendered a { color: var(--blue, #1a73e8); }

/* ---------- client portal (phase 2) ---------- */
.client-main { max-width: 1120px; }
body:has(.client-main) { background: #fff; }
.client-top { box-shadow: none; }
.preview-banner { position: sticky; top: 0; z-index: 41; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 9px 20px; background: #fff4e5; color: #8a4b00; border-bottom: 1px solid #f3d9b1; font-size: 14px; }
.preview-banner .icon { flex-shrink: 0; }
.preview-banner + .topbar { top: 46px; }
.chip.status.progress { background: #e8eef5; color: #3d4b5c; }
.show-art.xl { width: 84px; height: 84px; border-radius: 18px; box-shadow: var(--shadow-sm); }
.show-art.xl.initial { font-size: 26px; }
.cp-hello { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 6px 0 14px; }
.cp-show { margin-bottom: 44px; }
.cp-show + .cp-show { border-top: 1px solid var(--line); padding-top: 32px; }
.cp-show-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cp-show-title h1 { font-size: 26px; margin: 0 0 4px; }
.cp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
.cp-stat { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; display: flex; flex-direction: column; gap: 4px; }
.cp-stat .lbl { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.cp-stat .lbl .icon { color: var(--blue); }
.cp-stat b { color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.cp-stat b .cp-time, .cp-stat b .meta { font-size: 14px; font-weight: 600; color: var(--muted); }
.cp-pipe { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.cp-h { font-size: 18px; margin: 28px 0 12px; }
.cp-up-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.cp-up { display: flex; gap: 14px; border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.cp-date { flex-shrink: 0; width: 58px; height: 66px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-dark); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; }
.cp-date .m { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.cp-date .d { font-size: 24px; font-weight: 800; color: var(--blue); }
.cp-date .w { font-size: 11px; font-weight: 600; }
.cp-up-body { min-width: 0; flex: 1; }
.cp-up-body h3 { font-size: 15px; margin: 8px 0 4px; line-height: 1.3; }
.cp-up-body .meta { display: flex; align-items: center; gap: 5px; }
.cp-up-when { font-size: 13px; color: var(--ink-soft); font-weight: 600; margin-top: 6px; }
.cp-list { padding: 4px 16px; box-shadow: none; }
.cp-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 220px 100px minmax(150px, 220px); gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cp-row:last-child { border-bottom: 0; }
.cp-num { color: var(--muted); font-weight: 700; font-size: 13px; }
.cp-title { color: var(--ink); font-weight: 700; line-height: 1.3; }
.cp-when { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.cp-when .icon { color: var(--blue); flex-shrink: 0; }
.cp-time { color: var(--muted); font-weight: 600; }
.cp-locked { color: var(--muted); font-size: 12px; }
.cp-files .sched-links { display: flex; flex-wrap: wrap; gap: 6px; }
.cp-foot { color: var(--muted); font-size: 13px; text-align: center; margin: 10px 0 30px; }
.cp-empty { text-align: center; padding: 40px 20px; }
.cp-sched td.when { white-space: nowrap; font-weight: 600; color: var(--ink-soft); }
.check-list { display: grid; gap: 6px; margin: 6px 0 10px; }
.check-line { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.client-co table { box-shadow: none; }
@media (max-width: 860px) {
  .cp-stats { grid-template-columns: 1fr; }
  .cp-row { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 10px; }
  .cp-row .cp-when, .cp-row .cp-status, .cp-row .cp-files { grid-column: 2; }
  .cp-show-head .btn { width: 100%; justify-content: center; }
  .show-art.xl { width: 64px; height: 64px; }
  .cp-show-title h1 { font-size: 22px; }
  .preview-banner + .topbar { top: 0; position: relative; }
  .preview-banner { position: relative; }
}

/* ---------- platform links ---------- */
.plat-logo { display: block; flex-shrink: 0; }
label .plat-logo { display: inline-block; vertical-align: -2px; margin-right: 4px; }
.btn .plat-logo { display: inline-block; }
.plat-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.platbtn { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; }
.platbtn:hover { border-color: #c3c9d2; text-decoration: none; box-shadow: var(--shadow-sm); }
.platbtn.small { padding: 4px 9px; gap: 6px; font-size: 12px; border-radius: 8px; }
.platbtn.share .icon { color: var(--blue); }
.cp-listen { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: -4px 0 18px; }
.cp-listen .lbl { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-right: 2px; }
.cp-listen .plat-row { margin-top: 0; }
.cp-files .plat-row { margin-top: 6px; }
.links-box { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 14px 0 4px; background: var(--surface); }
.links-box summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 14px; }
.cp-dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 14px; margin: 0; }
.cp-dl dt { color: var(--muted); font-size: 13px; font-weight: 600; }
.cp-dl dd { margin: 0; color: var(--ink-soft); }
.cp-dl dd .plat-row { margin-top: 0; }

/* ---------- list | calendar toggle + calendar ---------- */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; padding: 3px; background: var(--surface-2); gap: 2px; }
.seg button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 5px 12px; border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--muted); cursor: pointer; }
.seg button.on { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.cal { margin-top: 8px; }
.cal-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.cal-title { margin: 0 6px; font-size: 20px; min-width: 170px; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--line); gap: 1px; }
.cal-wd { background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 8px 10px; }
.cal-cell { background: #fff; min-height: 116px; padding: 6px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cal-cell.empty { background: #fafbfc; }
.cal-day { font-size: 12px; font-weight: 700; color: var(--muted); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 99px; }
.cal-cell.today .cal-day { background: var(--blue); color: #fff; }
.cal-ev { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 5px 6px; cursor: pointer; display: flex; flex-direction: column; gap: 3px; min-width: 0; width: 100%; font: inherit; }
.cal-ev:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.cal-ev-top { display: flex; align-items: center; justify-content: space-between; gap: 4px; flex-wrap: wrap; }
.cal-time { font-size: 11px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.cal-ev .chip.status { font-size: 10px; padding: 1px 6px; }
.cal-ev-title { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ag-day { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ag-date { width: 46px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; border-radius: 10px; background: var(--blue-soft); color: var(--blue-dark); padding: 6px 0; height: fit-content; }
.ag-date .w { font-size: 11px; font-weight: 700; text-transform: uppercase; }
.ag-date .d { font-size: 20px; font-weight: 800; color: var(--blue); line-height: 1.1; }
.ag-day.today .ag-date { background: var(--blue); color: #fff; }
.ag-day.today .ag-date .d { color: #fff; }
.ag-evs { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ag-evs .cal-ev { padding: 8px 10px; }
.ag-evs .cal-time { font-size: 12px; }
.ag-evs .cal-ev-title { font-size: 14px; }
@media (max-width: 760px) {
  .cal-title { min-width: 0; font-size: 18px; }
  .cal-head .spacer { display: none; }
  .cal-head .meta { width: 100%; }
  .cal-grid { display: none; }
}

/* ---------- invite links / join page ---------- */
.invite-box { margin-top: 12px; padding: 10px 12px; border: 1px dashed #cfd8e3; border-radius: 12px; background: #fbfdff; }
.join-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: #fff; }
.join-card { width: 100%; max-width: 440px; padding: 32px; border-radius: 20px; }
.join-card .login-logo { margin-bottom: 22px; }
.join-art { display: flex; justify-content: center; gap: 10px; margin-bottom: 14px; }
.join-h { font-size: 23px; text-align: center; margin: 0 0 8px; }
.join-card .btn.primary { width: 100%; justify-content: center; padding: 12px; margin-top: 18px; }
@media (max-width: 760px) { .join-card { padding: 24px 18px; box-shadow: none; border: 0; } }

/* ---------- episode links pill + popup ---------- */
.cp-eplinks { margin-top: 6px; }
.eplinks-pill { border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 13px; }
.eplinks-h { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 16px 0 8px; }
.eplinks { display: flex; flex-direction: column; gap: 8px; }
.eplink { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.eplink-open { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: var(--ink); font-weight: 600; }
.eplink-open:hover { text-decoration: none; color: var(--brand); }
.eplink-open .plat-logo { flex: none; }
.eplink-share { width: 22px; height: 22px; display: inline-grid; place-items: center; color: var(--blue); flex: none; }
.eplink-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eplink .btn { flex: none; }
.eplinks-all { align-self: flex-start; margin-top: 4px; }
@media (max-width: 760px) {
  .eplink { padding: 10px; }
  .eplink .btn { min-height: 36px; }
  .eplinks-all { align-self: stretch; justify-content: center; min-height: 40px; }
}

/* ---------- client Topics ---------- */
.tp-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.tp-head h1 { margin: 0 0 2px; font-size: 26px; }
.tp-head-t { min-width: 0; }
.tp-head select { max-width: 240px; }
.tp-usage { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 600; white-space: nowrap; }
.tp-usage.low { background: var(--warn-bg); color: var(--warn-ink); }
.tp-usage.out { background: #fdecec; color: var(--danger); }
.tp-gen { padding: 18px; }
.tp-gen label { margin-top: 0; }
.tp-gen textarea { resize: vertical; }
.tp-working { padding: 22px; margin-top: 16px; }
.tp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.tp-idea { padding: 16px; display: flex; flex-direction: column; }
.tp-idea h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.3; color: var(--ink); }
.tp-angle { margin: 0 0 6px; color: var(--body); line-height: 1.45; }
.tp-why { margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.tp-actions { margin-top: auto; gap: 8px; }
.tp-status.idea { background: var(--surface-2); color: var(--ink-soft); }
.tp-status.outlined { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.tp-status.used { background: #e7f6ef; color: var(--ok); font-weight: 600; }
.tp-filter { margin: 0 0 10px; }
.tp-list { padding: 4px 16px; }
.tp-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.tp-row:last-child { border-bottom: 0; }
.tp-row:hover { text-decoration: none; }
.tp-row:hover .cp-title { color: var(--brand); }
.tp-row-main { flex: 1; min-width: 0; }
.tp-row .icon { color: var(--muted); flex: none; }
.tp-topic { padding: 18px; margin-bottom: 14px; }
.tp-topic label:first-of-type { margin-top: 0; }
.tp-title { margin: 0 0 6px; font-size: 22px; }
.tp-meta-row { margin-top: 10px; gap: 8px; flex-wrap: wrap; }
label.inline { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
label.inline select { width: auto; }
.danger-text { color: var(--danger); }
.tp-ol-panel { padding: 18px; }
.tp-ol-bar { gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tp-outline { color: var(--body); line-height: 1.5; }
.tp-ol-head h2 { margin: 0 0 8px; font-size: 20px; color: var(--ink); }
.tp-ol-head p { margin: 0 0 6px; }
.tp-lbl { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-right: 8px; }
.tp-h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 18px 0 8px; }
.tp-sections { margin: 0; padding-left: 22px; }
.tp-sections > li { margin-bottom: 10px; }
.tp-sec-h { font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.tp-sections ul { margin: 0; padding-left: 18px; }
.tp-sections ul li { margin: 2px 0; }
.tp-q { margin: 0; padding-left: 22px; }
.tp-hooks { display: flex; flex-direction: column; gap: 8px; }
.tp-hook { display: flex; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.tp-hook-n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 12px; display: grid; place-items: center; }
.tp-hook-line { margin: 0 0 2px; color: var(--ink); font-weight: 500; }
.tp-hook .meta { margin: 0; }
.tp-ol-edit textarea { resize: vertical; }
.tp-fs { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px 12px; margin: 12px 0 0; }
.tp-fs legend { font-size: 12px; font-weight: 700; color: var(--muted); padding: 0 6px; }
.tp-fs input { margin-bottom: 6px; }
.tp-settings { margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdff; }
.tp-settings textarea { font-size: 13px; line-height: 1.45; resize: vertical; }
.tt-list { display: flex; flex-direction: column; gap: 8px; }
.tt-item { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.tt-item summary { display: flex; align-items: center; gap: 8px; cursor: pointer; flex-wrap: wrap; }
.tt-title { font-weight: 600; color: var(--ink); flex: 1; min-width: 200px; }
.tt-item[open] summary { margin-bottom: 10px; }
@media (max-width: 760px) {
  .tp-head h1 { font-size: 22px; }
  .tp-head .tp-usage { order: 5; }
  .tp-grid { grid-template-columns: 1fr; }
  .tp-ol-bar .btn { flex: 1 1 auto; justify-content: center; }
  .tp-ol-bar h2 { flex-basis: 100%; }
  .tp-ol-bar .spacer { display: none; }
}
.tp-set-h { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); white-space: nowrap; }
.tp-idea[data-idea] { cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tp-idea[data-idea]:hover { border-color: var(--brand); box-shadow: 0 6px 20px rgba(30, 136, 229, .12); }
.tp-idea[data-idea]:hover h3 { color: var(--brand); }
.tp-idea[data-idea]:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.tp-idea .tp-angle { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tp-idea .tp-why { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-open { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; color: var(--brand); white-space: nowrap; }
.tp-row .tp-open .icon { color: var(--brand); }
.tp-row:hover { background: var(--surface-2); margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.tp-detail .tp-title { font-size: 20px; margin-top: 4px; }
.tp-detail .tp-why .tp-lbl { display: block; margin-bottom: 2px; }
.tp-detail-actions { gap: 8px; flex-wrap: wrap; margin: 12px 0 6px; }
.tp-detail-ol { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .tp-detail-actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 480px) {
  .client-top .nav { gap: 0; }
  .client-top .nav a { padding: 7px 9px; font-size: 14px; }
}

/* ---------- Network: Find Guests / Get Featured / signups / admin ---------- */
.seg a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.seg a.on { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.seg a:hover { text-decoration: none; color: var(--blue); }
.seg a .count { font-weight: 600; color: var(--muted); font-size: 12px; }
.ns-head-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.ns-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-2); }
.ns-photo.square { border-radius: 12px; }
.ns-photo.lg { width: 72px; height: 72px; }
.ns-photo.initial { display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); font-weight: 700; font-size: 17px; }
.ns-recs { margin-bottom: 8px; }
.ns-recs-h { gap: 8px; margin: 6px 0 12px; flex-wrap: wrap; }
.ns-recs-h .cp-h { display: inline-flex; align-items: center; gap: 6px; }
.ns-recs-h .cp-h .icon { color: var(--brand); }
.ns-rec-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 320px); gap: 14px; overflow-x: auto; padding: 2px 2px 12px; scroll-snap-type: x proximity; }
.ns-rec-row .ns-card { scroll-snap-align: start; }
.ns-card { padding: 16px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; transition: border-color .15s, box-shadow .15s; min-width: 0; }
.ns-card:hover { border-color: var(--brand); box-shadow: 0 6px 20px rgba(30, 136, 229, .12); }
.ns-card:hover h3 { color: var(--brand); }
.ns-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ns-card-top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.ns-card-t { min-width: 0; }
.ns-card-t h3 { margin: 0 0 2px; font-size: 16px; line-height: 1.25; color: var(--ink); }
.ns-why { margin: 0; padding: 8px 10px; border-radius: 10px; background: var(--brand-soft); color: var(--blue-dark, var(--brand)); font-size: 13px; line-height: 1.4; display: flex; gap: 6px; align-items: flex-start; }
.ns-why .icon { flex: none; margin-top: 2px; }
.ns-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.ns-chips .chip { font-size: 12px; }
.ns-more { color: var(--muted); }
.ns-bio { margin: 0; color: var(--body); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ns-bio .tp-lbl { display: block; margin-bottom: 2px; }
.ns-full { margin: 0 0 6px; color: var(--body); line-height: 1.5; white-space: pre-line; }
.ns-contact { display: flex; flex-direction: column; gap: 4px; }
.ns-c { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-soft); min-width: 0; }
.ns-c span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ns-c .icon { color: var(--brand); flex: none; }
.ns-c:hover { color: var(--brand); }
.ns-actions { gap: 8px; flex-wrap: wrap; margin-top: auto; }
.ns-filters { padding: 12px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.ns-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: #fff; }
.ns-search .icon { color: var(--muted); flex: none; }
.ns-search input { border: 0; box-shadow: none; padding: 10px 0; margin: 0; flex: 1; min-width: 0; outline: none; }
.ns-search.small input { padding: 7px 0; }
.ns-selects { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ns-selects select { width: auto; max-width: 220px; margin: 0; }
/* signup pages */
.ns-signup { max-width: 560px; }
.ns-signup .join-h { font-size: 25px; }
.ns-sec { margin: 22px 0 2px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ns-fh { margin: 4px 0 0; }
.ns-upload { display: flex; gap: 14px; align-items: center; }
.ns-upload-b { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ns-upload-b input { margin: 0; }
.ns-file { position: relative; overflow: hidden; align-self: flex-start; cursor: pointer; margin: 0; }
.ns-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ns-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-weight: 500; color: var(--ink); line-height: 1.4; }
.ns-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.ns-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ns-done-icon { width: 60px; height: 60px; border-radius: 50%; background: #e7f6ef; color: var(--ok); display: grid; place-items: center; margin: 0 auto 14px; }
/* admin */
.ns-admin-bar { gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.ns-admin-list { padding: 4px 16px; }
.ns-arow { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.ns-arow:last-child { border-bottom: 0; }
.ns-arow-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.ns-arow-t { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--ink); }
.ns-arow-act { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 260px; }
.ns-st.pending { background: var(--warn-bg); color: var(--warn-ink); }
.ns-st.approved { background: #e7f6ef; color: var(--ok); }
.ns-st.rejected { background: #fdecec; color: var(--danger); }
.ns-st.inactive { background: var(--surface-2); color: var(--muted); }
.ns-dup { background: #fff4e5; color: #9a5b00; }
.ns-import-ok { color: var(--ok); display: flex; gap: 6px; align-items: center; font-weight: 600; }
.ns-import-err { color: var(--danger); font-size: 13px; }
@media (max-width: 760px) {
  .client-top .nav { flex-wrap: wrap; justify-content: center; overflow: visible; row-gap: 4px; }
  .ns-rec-row { grid-auto-columns: 86%; }
  .ns-selects select { flex: 1 1 45%; max-width: none; }
  .ns-arow { flex-wrap: wrap; }
  .ns-arow-act { max-width: none; width: 100%; justify-content: flex-start; }
  .ns-upload { align-items: flex-start; }
}

/* ---------- Monthly client recaps (admin) ---------- */
.rc-sending { border-left: 4px solid var(--ok); }
.rc-sending.warn { border-left-color: #e5a100; }
.rc-sending .icon { vertical-align: -2px; }
.rc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 14px; }
.rc-card h3 { font-size: 17px; }
.rc-top { align-items: flex-start; gap: 10px; }
.rc-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 14px 0 6px; }
.rc-recs { display: flex; flex-wrap: wrap; gap: 6px; }
.rc-rec { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; padding: 3px 10px; border-radius: 99px; background: #eef6fd; color: var(--ink); }
.rc-rec.off { background: var(--surface-2); color: var(--muted); text-decoration: line-through; }
.rc-x { border: 0; background: transparent; color: var(--muted); font-size: 15px; line-height: 1; cursor: pointer; padding: 0 0 0 2px; }
.rc-x:hover { color: #c0392b; }
.rc-add, .rc-intro { display: flex; gap: 8px; margin-top: 8px; }
.rc-add input, .rc-intro input { flex: 1; min-width: 0; margin: 0; }
.rc-actions { margin-top: 14px; gap: 8px; flex-wrap: wrap; }
.rc-why { font-size: 12px; color: var(--muted); text-align: right; margin-top: 4px; }
.rc-err { color: var(--warn-ink); font-size: 13px; margin-top: 8px; }
.rc-modal { max-width: 860px; }
.rc-subj { margin: 0 0 12px; font-size: 14px; }
.rc-frame-wrap { margin-top: 12px; background: #f4f7fb; border-radius: 12px; padding: 10px; display: flex; justify-content: center; }
#rc-frame { width: 100%; height: 68vh; border: 0; border-radius: 8px; background: #f4f7fb; transition: width .2s; }
#rc-frame.mobile { width: 390px; max-width: 100%; }
#rc-text { width: 100%; max-height: 68vh; overflow: auto; white-space: pre-wrap; font-size: 13px; background: #fff; border-radius: 8px; padding: 16px; margin: 0; }
@media (max-width: 760px) {
  .rc-grid { grid-template-columns: 1fr; }
  .rc-actions .btn { flex: 1 1 auto; justify-content: center; }
  .rc-actions .spacer { display: none; }
  .rc-why { text-align: left; }
  #rc-frame { height: 60vh; }
}
.rc-st { display: inline-flex; align-items: center; gap: 6px; }
.rc-sending.ok .rc-st .icon { color: var(--ok); }
.rc-sending.warn .rc-st .icon { color: #c98a00; }
.rc-sends { font-size: 15px; font-weight: 600; color: var(--blue); }
.rc-greet { font-size: 14px; color: var(--ink); }
.rc-add .rc-name { flex: 0 1 34%; }
