/* The creator-facing pages (creator_portal, part 4c): phone first, light, TikWhizz coral. The campaign page borrows the builder's phone
   preview pieces (site.css .cc-p*) and the brand's theme variables; here they fill the screen instead of a phone frame. */
/* One theme for the whole page (Terry msg 1326): every colour below is a token. Light by default; the device's dark mode turns the WHOLE page dark
   (background, cards, text, fields, buttons) or nothing. The brand app's own theme (navy, dark…) is never read here. The brand-themed pages (a
   campaign, a contract, a hub) wear the brand's colours, so inside them the tokens stay light whatever the device says. */
:root, .cw-camp-wrap, .ct-sign, .cw-hub-wrap {
  --cw-bg: #f6f7f9; --cw-card: #fff; --cw-text: #111827; --cw-text2: #374151; --cw-sub: #4b5563; --cw-mute: #6b7280; --cw-soft: #f3f4f6; --cw-soft2: #e5e7eb;
  --cw-line: #e5e7eb; --cw-field: #fff; --cw-field-line: #d1d5db; --cw-inv-bg: #111827; --cw-inv-fg: #fff;
  --cw-ok-bg: #ecfdf5; --cw-ok-fg: #065f46; --cw-ok-line: #a7f3d0; --cw-ok2-bg: #dcfce7; --cw-ok2-fg: #166534;
  --cw-bad-bg: #fef2f2; --cw-bad-fg: #991b1b; --cw-bad-ink: #b91c1c; --cw-warn-bg: #fff7ed; --cw-warn-fg: #9a3412; --cw-pend-bg: #fef3c7; --cw-pend-fg: #92400e;
  --cw-tip-bg: #111827; --cw-tip-fg: #fff; --cw-shadow: rgb(0 0 0 / .06);
  --v3-surface: 255 255 255; --v3-surface-2: 246 247 249; --v3-fg: 17 24 39; --v3-fg-2: 75 85 99; --v3-accent: 244 55 88; --cw-coral: #f43758; --cw-primary: #e11d48;
  color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root {
    --cw-bg: #0f1218; --cw-card: #181c24; --cw-text: #eceef2; --cw-text2: #d4d7de; --cw-sub: #b4b9c4; --cw-mute: #9aa0ad; --cw-soft: #232833; --cw-soft2: #2c3240;
    --cw-line: #2c3240; --cw-field: #12161d; --cw-field-line: #3a4150; --cw-inv-bg: #eceef2; --cw-inv-fg: #111827;
    --cw-ok-bg: #0c2a1f; --cw-ok-fg: #86efac; --cw-ok-line: #166534; --cw-ok2-bg: #123622; --cw-ok2-fg: #86efac;
    --cw-bad-bg: #351416; --cw-bad-fg: #fca5a5; --cw-bad-ink: #f87171; --cw-warn-bg: #3a2210; --cw-warn-fg: #fdba74; --cw-pend-bg: #3a2c0a; --cw-pend-fg: #fcd34d;
    --cw-tip-bg: #2c3240; --cw-tip-fg: #fff; --cw-shadow: rgb(0 0 0 / .4);
    --v3-surface: 24 28 36; --v3-surface-2: 15 18 24; --v3-fg: 236 238 242; --v3-fg-2: 180 185 196;
    color-scheme: dark; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.cw { margin: 0; min-height: 100vh; background: var(--cw-bg); color: var(--cw-text); font: 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.cw a { color: inherit; }
.cw-top { display: flex; align-items: center; justify-content: space-between; max-width: 560px; margin: 0 auto; padding: 14px 16px; }
.cw-logo { font-weight: 800; font-size: 18px; text-decoration: none; } .cw-logo span { color: var(--cw-coral); } .cw-logo small { font-weight: 500; font-size: 12px; color: var(--cw-mute); }
.cw-main { max-width: 560px; margin: 0 auto; padding: 4px 16px 48px; display: flex; flex-direction: column; gap: 14px; }
.cw-h1 { margin: 6px 0 0; font-size: 24px; line-height: 1.2; font-weight: 700; overflow-wrap: anywhere; }
.cw-sub { margin: 0; color: var(--cw-sub); }
.cw-fine { margin: 0; font-size: 13px; color: var(--cw-mute); } .cw-fine a { text-decoration: underline; }
.cw-note { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--cw-ok-bg); color: var(--cw-ok-fg); font-size: 14px; }
.cw-err { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--cw-bad-bg); color: var(--cw-bad-fg); font-size: 14px; }
.cw-badge { margin: 0; padding: 6px 10px; border-radius: 999px; background: var(--cw-warn-bg); color: var(--cw-warn-fg); font-size: 13px; align-self: flex-start; }
.cw-form { display: flex; flex-direction: column; gap: 12px; }
.cw-f { display: flex; flex-direction: column; gap: 4px; font-size: 14px; } .cw-f > span { color: var(--cw-text2); font-weight: 500; } .cw-f small { color: var(--cw-mute); font-size: 12.5px; }
.cw-in { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--cw-field-line); border-radius: 10px; background: var(--cw-field); font: inherit; color: inherit; }
.cw-in:focus { outline: 2px solid var(--cw-coral); outline-offset: 1px; border-color: transparent; }
.cw-tick { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; } .cw-tick input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--cw-coral); flex: none; }
.cw-tick small { display: block; margin-top: 2px; font-size: 12px; color: var(--cw-mute); line-height: 1.45; }
.cw-set { border: 1px solid var(--cw-line); border-radius: 12px; padding: 10px 12px 12px; margin: 0; display: flex; flex-direction: column; gap: 8px; background: var(--cw-card); }
.cw-set legend { font-size: 13px; font-weight: 600; color: var(--cw-text2); padding: 0 4px; } .cw-set legend.mt { margin-top: 6px; padding: 0; } .cw-set small { font-size: 12px; color: var(--cw-mute); }
.cw-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .cw-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--cw-field-line);
  background: var(--cw-card); font: inherit; font-weight: 600; color: var(--cw-text); text-decoration: none; cursor: pointer; width: 100%; }
.cw-primary { background: var(--cw-primary); border-color: var(--cw-primary); color: #fff; } .cw-btn:disabled { opacity: .5; cursor: not-allowed; }
.cw-danger { color: var(--cw-bad-ink); } .cw-btn.cw-danger { border-color: #fca5a5; }
.cw-tt, .cw a.cw-tt { background: #111; border-color: #111; color: #fff; } .cw-tt.is-soon { background: var(--cw-soft2); border-color: var(--cw-soft2); color: var(--cw-sub); cursor: default; font-weight: 500; }
.cw-ttlogo { width: 20px; height: 20px; }
.cw-card { background: var(--cw-card); border: 1px solid var(--cw-line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.cw-card h2 { margin: 0; font-size: 17px; } .cw-card h3 { margin: 0; font-size: 15px; } .cw-card p { margin: 0; }
.cw-card.cw-ok { background: var(--cw-ok-bg); border-color: var(--cw-ok-line); }
.cw-main-way { border: 2px solid var(--cw-inv-bg); }
.cw-other summary { cursor: pointer; font-size: 14px; color: var(--cw-text2); text-decoration: underline; padding: 6px 0; } .cw-other[open] { display: flex; flex-direction: column; gap: 10px; }
.cw-code { font: 700 28px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-align: center; padding: 12px; border-radius: 12px; background: var(--cw-soft); user-select: all; }
.cw-sec { display: flex; flex-direction: column; gap: 10px; } .cw-sec h2 { margin: 10px 0 0; font-size: 17px; }
.cw-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px; background: var(--cw-card); border: 1px solid var(--cw-line); border-radius: 12px; }
.cw-row > span:first-child { flex: 1 1 10em; min-width: 0; }   /* 10em before the chip and buttons wrap under it (UI audit: on a phone, Account's handles broke a letter a line beside "Verified · Make main · Remove") */ .cw-row b { display: block; overflow-wrap: anywhere; } .cw-row small { color: var(--cw-mute); font-size: 12.5px; }
.cw-inline { display: inline-flex; gap: 10px; margin: 0; }
.cw-link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--cw-text); text-decoration: underline; cursor: pointer; }
.cw-chip { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; background: var(--cw-soft); color: var(--cw-sub); white-space: nowrap; }
.cw-chip.is-ok { background: var(--cw-ok2-bg); color: var(--cw-ok2-fg); }
.cw-st { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--cw-soft); } .cw-st-approved { background: var(--cw-ok2-bg); color: var(--cw-ok2-fg); } .cw-st-pending { background: var(--cw-pend-bg); color: var(--cw-pend-fg); }
.cw-acct { display: flex; align-items: center; gap: 10px; padding: 8px 0; align-self: stretch; }   /* full width, so the accounts line up on the left (they were centred, each row at its own start) */ .cw-acct input { width: 20px; height: 20px; accent-color: var(--cw-coral); }
.cw-acct span { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cw-cap { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--cw-mute); }
.cw-sheet .cc-pdos { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.cw-closed { margin: 10px 0 0; padding: 10px; border-radius: 10px; background: var(--cw-soft); text-align: center; color: var(--cw-text2); }

/* the campaign page: the builder's phone pieces, full screen */
.cw-camp-wrap { min-height: 100vh; background: var(--t-bg, #f4f5f8); font-family: var(--t-bf, inherit); }
.cw-camp.cc-pscreen { height: auto; overflow: visible; border-radius: 0; padding-top: 0; max-width: 560px; margin: 0 auto; background: transparent; }
.cw-camp.cc-pscreen [data-cc-pview="page"] { margin-top: 0; }
.cw-camp .cc-pband { padding: 18px 16px 52px; }
.cw-camp .cw-h1 { margin: 0; font-size: 26px; color: inherit; font-family: var(--t-hf, inherit); }
.cw-camp .cc-pwhite { margin: -36px 12px 0; padding: 16px; font-size: 14px; }
.cw-camp .cc-pbody { padding: 14px 12px 8px; font-size: 14px; gap: 10px; }
.cw-camp .cc-pcard { padding: 12px 14px; border-radius: 12px; }
.cw-camp .cc-pcard ul { margin: 0; padding-left: 18px; } .cw-camp .cc-pdos { list-style: none; padding-left: 0; }
.cw-camp .cc-pjoin.cw-join { height: 50px; font-size: 16px; text-decoration: none; display: grid; place-items: center; }
.cw-camp .cc-pbingo span { min-height: 48px; }
.cw-foot { max-width: 560px; margin: 0 auto; padding: 8px 16px 32px; font-size: 12.5px; color: var(--cw-mute); text-align: center; } .cw-foot a { text-decoration: underline; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .min-w-0 { min-width: 0; }
@media (min-width: 720px) { .cw-main { padding-top: 16px; } .cw-btn { width: auto; align-self: flex-start; } .cw-sheet .cw-btn, .cw-form > .cw-btn { width: 100%; } }

/* a contract to sign (contracts.py, Terry msgs 1006, 1010): the brand's theme, phone first */
.ct-sign { min-height: 100vh; background: var(--t-bg, #f5f8ff); color: var(--t-text, #111827); font-family: var(--t-bf, inherit); }
.ct-sband { position: relative; overflow: hidden; background: var(--t-accent, #3e88ea); color: var(--t-on, #fff); padding: 18px 16px 22px; display: flex; flex-direction: column; gap: 10px; }
.ct-sband > * { position: relative; max-width: 560px; width: 100%; margin: 0 auto; } .ct-sbanner { position: absolute !important; inset: 0; max-width: none !important; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.ct-sbrand { display: flex; align-items: center; gap: 8px; font-weight: 600; } .ct-sbrand img, .ct-slogo0 { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; background: rgb(255 255 255 / .25); display: grid; place-items: center; }
.ct-sign .cw-h1 { color: inherit; font-family: var(--t-hf, inherit); } .ct-sver { opacity: .85; }
.ct-sbody { max-width: 560px; margin: 0 auto; padding: 14px 16px 24px; display: flex; flex-direction: column; gap: 12px; }
.ct-sbody .cw-card { background: var(--t-card, #fff); border-color: var(--t-cb, #e5e7eb); color: #111827; }
.ct-sdesc { white-space: pre-line; } .ct-sbtn, .ct-sign .cw-primary { background: var(--t-accent, #f43758); border-color: var(--t-accent, #f43758); color: var(--t-on, #fff); }
.ct-spages { display: flex; flex-direction: column; gap: 10px; max-height: 70vh; overflow: auto; border-radius: 10px; background: #e5e7eb; padding: 8px; }
.ct-spage { position: relative; width: 100%; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .15); } .ct-spage canvas { width: 100%; height: 100%; display: block; }
.ct-smark { position: absolute; border: 1.5px dashed #f43758; background: rgb(244 55 88 / .1); border-radius: 3px; font-size: 9px; font-weight: 700; color: #be123c; padding: 0 3px; overflow: hidden; white-space: nowrap; }
.ct-sigtabs { display: flex; gap: 4px; } .ct-sigtabs button { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--cw-field-line); background: var(--cw-card); color: var(--cw-text); font: inherit; font-size: 14px; cursor: pointer; } .ct-sigtabs button.is-on { background: var(--cw-inv-bg); color: var(--cw-inv-fg); border-color: var(--cw-inv-bg); }
.ct-styped { margin: 4px 0 0; min-height: 40px; font: italic 700 28px/1.3 "Brush Script MT", "Segoe Script", cursive; color: #0d1f5a; border-bottom: 1px solid #d1d5db; overflow-wrap: anywhere; }
.ct-pad { width: 100%; height: auto; aspect-ratio: 3 / 1; border: 1px dashed #9ca3af; border-radius: 10px; background: #fff; touch-action: none; }
.ct-sextra { gap: 8px; }
.ct-sign [hidden] { display: none !important; }

/* the sign-up (Terry msgs 1100, 1102): five numbered steps in his order, a field's own error under it, the ⓘ tips, the "Fill these in first" pop-up */
.cw-step { position: relative; background: var(--cw-card); border: 1px solid var(--cw-line); border-radius: 14px; padding: 14px 14px 14px 52px; }
.cw-stepn { position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 999px; background: var(--cw-inv-bg); color: var(--cw-inv-fg); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.cw-step .cw-f > span:first-child { font-weight: 600; color: var(--cw-text); }
.cw-phone { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; } .cw-cc { padding-right: 4px; }
.cw-in[aria-invalid="true"] { border-color: #dc2626; background: var(--cw-bad-bg); }
.cw-ferr { color: var(--cw-bad-ink) !important; font-size: 13px !important; font-weight: 500; }
.cw-tick-sm { font-size: 13.5px; margin-top: 4px; }
.cw-ttok { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; background: var(--cw-ok-bg); border: 1px solid var(--cw-ok-line); }
.cw-ttok b { font-size: 16px; }
.cw-soon { display: block; font-size: 13px; color: var(--cw-mute); }
.cw-i { position: relative; z-index: 2; display: inline-grid; place-items: center; width: 18px; height: 18px; font-size: 13px; font-weight: 400; color: var(--cw-mute); cursor: help; vertical-align: middle; border-radius: 999px; }
.cw-i:hover, .cw-i:focus-visible { color: var(--cw-text); } .cw-i:focus-visible { outline: 2px solid var(--cw-text); outline-offset: 1px; }
/* the ⓘ's words: shared/tip.js + shared/tip.css (one bubble on <body>, never cut off: Terry msgs 1476, 1480) */
.cw-pop { border: 0; border-radius: 16px; padding: 18px; background: var(--cw-card); color: var(--cw-text); width: min(420px, calc(100vw - 32px)); box-shadow: 0 20px 50px rgb(0 0 0 / .25); }
.cw-pop::backdrop { background: rgb(17 24 39 / .45); }
.cw-pop h2 { margin: 0 0 8px; font-size: 17px; } .cw-pop ul { margin: 0 0 14px; padding-left: 18px; color: var(--cw-bad-fg); font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.cw-legal h2 { margin: 8px 0 0; font-size: 16px; } .cw-legal p { font-size: 14px; line-height: 1.6; }
.cw-step .cw-grid3, .cw-step .cw-grid2 { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cw a.cw-primary { color: #fff; }
.cw-chips { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cw-codein { font: 600 22px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .3em; text-align: center; max-width: 220px; }
/* the signature's Upload (Terry msg 1106) and saved one; a tick box's words beside its square on the document (Terry msg 1104) */
.ct-sigtabs { flex-wrap: wrap; }
.ct-up { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 12px; border: 1.5px dashed #9ca3af; border-radius: 12px; background: var(--cw-card); text-align: center; cursor: pointer; font-size: 14px; font-weight: 600; }
.ct-up.is-over { border-color: var(--cw-coral); background: rgb(244 55 88 / .05); } .ct-up small { font-weight: 400; font-size: 12px; color: var(--cw-mute); }
.ct-up input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ct-upprev, .ct-saved { display: flex; flex-direction: column; gap: 8px; }
.ct-upprev img, .ct-saved img { display: block; max-width: 100%; max-height: 140px; object-fit: contain; align-self: flex-start; padding: 8px; border: 1px solid var(--cw-line); border-radius: 10px;
  background-color: #fff; background-image: linear-gradient(45deg, #f3f4f6 25%, transparent 25%, transparent 75%, #f3f4f6 75%), linear-gradient(45deg, #f3f4f6 25%, transparent 25%, transparent 75%, #f3f4f6 75%);
  background-size: 14px 14px; background-position: 0 0, 7px 7px; }
.ct-saved .ct-styped { border-bottom: 0; }
.ct-savesig { margin-top: 2px; }
.ct-smark.ct-sm-checkbox { border-style: dashed; display: flex; align-items: center; gap: 3px; overflow: hidden; }
.ct-sm-sq { flex: none; height: 80%; aspect-ratio: 1; border: 1.5px solid #be123c; border-radius: 2px; background: #fff; }
.ct-up { position: relative; }
.ct-spage { container-type: inline-size; } .ct-smark { font-size: clamp(6px, 1.35cqw, 10px); line-height: 1.15; display: flex; align-items: center; }   /* a box's words fit it on a phone too */
/* the TikTok button keeps its black, with an edge so it shows on the dark page */
@media (prefers-color-scheme: dark) { .cw .cw-tt:not(.is-soon) { border-color: #3a4150; } .cw-camp-wrap .cw-tt:not(.is-soon), .ct-sign .cw-tt:not(.is-soon) { border-color: #111; } }
/* contact choices (Terry msg 1335): one card, two equal parts with a left-aligned bold heading and its ⓘ, the ways in a row, a thin line between */
.cw-wayscard { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border: 1px solid var(--cw-line); border-radius: 12px; background: var(--cw-card); text-align: left; }
.cw-ways { display: flex; flex-direction: column; gap: 4px; }
.cw-ways-h { margin: 0; display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--cw-text); text-align: left; }
.cw-ways-row { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0 18px; }
.cw-way { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-right: 4px; font-size: 14px; color: var(--cw-text); cursor: pointer; }
.cw-way input { width: 20px; height: 20px; margin: 0; accent-color: var(--cw-coral); flex: none; }
.cw-div { margin: 2px 0; border: 0; border-top: 1px solid var(--cw-line); }
.cw-ways-note { margin: 0; font-size: 12.5px; color: var(--cw-mute); text-align: left; }

/* Your earnings (joined-up check, Terry msgs 1180-1182) */
[data-cw-money-row] { flex-wrap: wrap; }
[data-cw-money-row] > .min-w-0 { flex: 1 1 100%; }
.cw-money { display: flex; flex: 1 1 100%; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 4px; }
.cw-money small { color: var(--cw-sub); font-size: 12px; text-align: right; }
[data-cw-money-row="paid"] .cw-money small { color: var(--cw-ok2-fg); }
/* a page cnav.js swapped in: focus moves to its heading for screen readers, without a ring round it (Terry msg 1515) */
[data-cd-shell] h1[tabindex="-1"]:focus { outline: none; }
/* ---- How this works (Terry msg 1723): a small link at the top right of each creator page, opening a short card; one slim line until opened.
   In the shell it's the first thing in .cd-main (a flex column); on the sign-up page it sits under the heading. */
.cd-help { align-self: flex-end; max-width: 100%; }
.cd-main > .cd-help:not([open]) { margin-bottom: -10px; }
/* bug sweep B: on a desktop the closed link took a row of its own, a gap above every heading; it sits on the heading's row instead, at the
   right (the page's first block keeps that corner free). Opened, it drops back into the column above the page as before. */
@media (min-width: 900px) {
  .cd-main { position: relative; }
  .cd-main > .cd-help:not([open]) { position: absolute; top: 20px; right: clamp(20px, 3vw, 40px); margin: 0; z-index: 2; }
  .cd-main:has(> .cd-help:not([open])) > .cd-help + * { padding-right: 160px; }
}
.cd-help > summary { list-style: none; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--cw-sub);
  padding: 4px 10px; border: 1px solid var(--cw-line); border-radius: 999px; background: var(--cw-card); }
.cd-help > summary::-webkit-details-marker { display: none; }
.cd-help > summary svg { width: 14px; height: 14px; flex: none; }
.cd-help > summary:hover, .cd-help[open] > summary { color: var(--cw-text); border-color: var(--cw-sub); }
.cd-help > summary:focus-visible { outline: 2px solid var(--cw-primary); outline-offset: 2px; }
.cd-help[open] { width: min(560px, 100%); display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cd-help-body { width: 100%; text-align: left; background: var(--cw-card); color: var(--cw-text); border: 1px solid var(--cw-line); border-radius: 12px;
  padding: 12px 14px; box-shadow: var(--cw-shadow); font-size: 13.5px; line-height: 1.45; }
.cd-help-body b { display: block; margin-bottom: 4px; }
.cd-help-body ul { margin: 0; padding-left: 18px; } .cd-help-body li + li { margin-top: 4px; }
.cw-form-help { display: flex; flex-direction: column; margin: -4px 0 12px; }

/* TikTok Shop affiliates only (Terry msg 2306, affiliate_gate): the stop screen and "Checking…", phone first */
.cw-aff { display: flex; flex-direction: column; gap: 14px; align-items: stretch; text-align: left; }
.cw-aff-mark { font-size: 40px; line-height: 1; }
.cw-aff-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--cw-soft2); border-top-color: var(--cw-coral); animation: cw-aff-spin .9s linear infinite; }
@keyframes cw-aff-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cw-aff-spin { animation-duration: 3s; } }
.cw-aff-how { margin: 0; padding: 12px 14px 12px 34px; border-radius: 12px; background: var(--cw-card); border: 1px solid var(--cw-line); color: var(--cw-text2); font-size: 14px; }
.cw-aff-how li + li { margin-top: 8px; }
.cw-aff .cw-btn { width: 100%; justify-content: center; }
.cw-aff-line { display: block; margin-top: 6px; font-size: 12.5px; color: var(--cw-mute); }
.cw-aff-line.is-ok { color: var(--cw-ok-fg); font-weight: 500; }

/* Phone sweep, 14 Nov 2026 (Terry msg 3090): on a phone, the creator side's small controls get a finger-sized tap area without changing how they
   look: the ⓘ tips, the staff test bar's Exit and menus, and the date-range button. */
@media (max-width: 640px) {
  .cw-i::after { content: ""; position: absolute; inset: -11px; }
  .cw .cw-pv .cw-pv-x { position: relative; } .cw .cw-pv .cw-pv-x::after { content: ""; position: absolute; inset: -8px -4px; }
  .cw-pv-dd > summary { position: relative; } .cw-pv-dd > summary::after { content: ""; position: absolute; inset: -6px -2px; }
  summary.btn { min-height: 40px; }
}

/* the sign-up summary's plain lines (creator pack A4 / A5) */
.cw-sumlist { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }
/* "Only videos you post after joining count" (Terry msg 4247): a plain callout on the join page and the campaign page, in whichever theme the page wears */
.cw-after { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; border-left: 4px solid currentColor; background: rgb(127 127 127 / .10); font-size: 14px; line-height: 1.4; }
.cw-after .cw-i { margin-left: 6px; }
.cw-after b { font-weight: 700; }
