/* Your ads (2026-10-08): #/ads, #/ads/access/*, the Home card and the Ads desk.
   Phone first; the cards and stickers come from play-theme.css. */

.ads { display: grid; gap: 18px; min-width: 0; }
.ads > * { min-width: 0; }
.ads-h2 { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.6rem); margin: 0 0 10px; line-height: 1.1; }
.ads-h3 { font-size: 1rem; font-weight: 800; margin: 12px 0 6px; }
.ads-meta { color: var(--ink-2, #4a463c); font-size: 0.86rem; margin: 4px 0 0; line-height: 1.45; overflow-wrap: anywhere; }
.ads-note { color: var(--ink-2, #4a463c); margin: 6px 0; }
.ads-basis { font-size: 0.72rem; color: var(--ink-3, #6b675c); margin-top: 2px; }

.ads-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px; }
@media (min-width: 900px) { .ads-hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; } }
.ads-title { font-size: clamp(2rem, 1.4rem + 3vw, 3rem); margin: 4px 0 8px; line-height: 1.12; overflow-wrap: anywhere; }
.ads-title .sm-brush { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ads-lead { font-size: 1.02rem; margin: 0 0 8px; max-width: 58ch; }
.ads-fresh { display: inline-block; margin: 4px 0 0; padding: 6px 12px; border-radius: 999px; font-size: 0.84rem; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--ink, #16130a); }
.ads-fresh--green { background: var(--green-soft, #dcf2e4); }
.ads-fresh--sun { background: var(--sun-soft, #fff4b8); }
.ads-fresh--sky { background: var(--sky-soft, #e4efff); }
.ads-fresh--hot { background: var(--hot-soft, #ffe1ea); }
.ads-hero-actions { align-self: end; }

.ads-ok { padding: 18px 20px; box-shadow: inset 0 0 0 2px var(--ink, #16130a), 6px 6px 0 var(--sun, #ffe14a); }
.ads-ok-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--line, rgb(22 19 10 / 10%)); }
.ads-ok-row:first-of-type { border-top: 0; }
.ads-ok-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ads-ok-actions .btn { min-height: 44px; }
.ads-ok--home { margin-top: 12px; box-shadow: none; padding: 0; }

.ads-connect { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; align-items: center; }
@media (min-width: 640px) { .ads-connect { grid-template-columns: 120px minmax(0, 1fr); } }
.ads-connect-art { width: 96px; height: 96px; }
.ads-connect .gc-actions .btn { min-height: 44px; }

.ads-access { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.ads-access-card { position: relative; display: grid; gap: 6px; padding: 16px 44px 16px 18px; color: inherit; text-decoration: none; min-height: 72px; }
.ads-access-card:hover, .ads-access-card:focus-visible { box-shadow: inset 0 0 0 2px var(--ink, #16130a), 4px 4px 0 var(--sun, #ffe14a); }
.ads-access-name { font-weight: 800; }
.ads-access-go { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; }

.ads-range { margin-bottom: 10px; }
.ads-range .chip { min-height: 40px; }
.ads-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .ads-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ads-stats--home { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ads-split { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 10px 0 0; font-size: 0.9rem; }

.ads-chart { margin: 14px 0 0; }
.ads-bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding: 18px 0 0; border-bottom: 2px solid var(--ink, #16130a); }
.ads-bar { position: relative; flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; min-width: 3px; }
.ads-bar-fill { display: block; width: 100%; background: var(--ink, #16130a); border-radius: 4px 4px 0 0; }
.ads-bar-dot { position: absolute; left: 50%; transform: translateX(-50%); top: -2px; min-width: 18px; padding: 0 4px; border-radius: 999px; background: var(--sun, #ffe14a); box-shadow: inset 0 0 0 1.5px var(--ink, #16130a); font-size: 0.66rem; font-weight: 800; text-align: center; line-height: 16px; }

.ads-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.ads-card { display: grid; gap: 10px; padding: 16px; align-content: start; }
.ads-card-top { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ads-platform { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--cream, #fffbe6); box-shadow: inset 0 0 0 1.5px var(--ink, #16130a); }
.ads-platform--meta { background: var(--sky-soft, #e4efff); }
.ads-platform--chatgpt { background: var(--green-soft, #dcf2e4); }
.ads-search { border-radius: 14px; padding: 12px 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2, rgb(22 19 10 / 18%)); }
.ads-search-tag { font-size: 0.74rem; color: var(--ink-2, #4a463c); }
.ads-search-head { color: #1a3fb0; font-size: 1.02rem; font-weight: 600; margin: 4px 0; overflow-wrap: anywhere; }
.ads-search-desc { font-size: 0.88rem; margin: 0; color: var(--ink-2, #4a463c); }
.ads-creative { display: grid; gap: 8px; }
.ads-creative img, .ads-nopic { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-2, rgb(22 19 10 / 18%)); background: var(--cream, #fffbe6); }
.ads-nopic { display: grid; place-items: center; color: var(--ink-3, #6b675c); font-size: 0.86rem; text-align: center; padding: 12px; }
.ads-primary { margin: 0; font-size: 0.92rem; }
.ads-headline { margin: 0; font-weight: 800; }
.ads-cta { justify-self: start; font-size: 0.78rem; font-weight: 800; padding: 4px 10px; border-radius: 6px; background: var(--sky-soft, #e4efff); }
.ads-card-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; }
.ads-card-nums div { min-width: 0; }
.ads-card-nums dt { font-size: 0.7rem; color: var(--ink-3, #6b675c); text-transform: uppercase; letter-spacing: 0.04em; }
.ads-card-nums dd { margin: 0; font-weight: 800; font-size: 0.95rem; overflow-wrap: anywhere; }
.ads-open { margin: 0; font-size: 0.86rem; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ads-change-btn { min-height: 44px; justify-self: stretch; }

.ads-campaigns, .ads-history { padding: 18px 20px; }
.ads-camp-list, .ads-hist-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.ads-camp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line, rgb(22 19 10 / 10%)); }
.ads-camp:first-child { border-top: 0; }
.ads-camp-main { display: grid; min-width: 0; }
.ads-camp-num { font-weight: 700; font-size: 0.9rem; }
.ads-camp .btn { justify-self: end; }
.ads-hist { padding: 12px 0; border-top: 1px solid var(--line, rgb(22 19 10 / 10%)); }
.ads-hist:first-child { border-top: 0; }
.ads-hist-head { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; }

/* Picture steps */
.ads-tabs .chip { min-height: 40px; }
.ads-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: none; }
.ads-step { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2, rgb(22 19 10 / 18%)); }
@media (min-width: 760px) { .ads-step { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; } }
@media (min-width: 760px) { .ads-step.ads-step--text { grid-template-columns: minmax(0, 1fr); } }
.ads-step.is-now { box-shadow: inset 0 0 0 2px var(--ink, #16130a), 6px 6px 0 var(--sun, #ffe14a); }
.ads-step.is-done { opacity: 0.86; }
.ads-step-pic svg, .ad-pic { display: block; width: 100%; height: auto; max-width: 460px; }
.ads-step-copy p { margin: 4px 0; }
.ads-inline { display: grid; gap: 10px; width: 100%; }
@media (min-width: 520px) { .ads-inline { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.ads-inline .btn, .ads-step .btn { min-height: 44px; }

.ads-call { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px 20px; }
@media (min-width: 640px) { .ads-call { grid-template-columns: 64px minmax(0, 1fr); } }
.ads-call-art { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: inset 0 0 0 2px var(--ink, #16130a); }
.ads-call-days { border: 0; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.ads-call-day { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ads-call-day > span { min-width: 104px; font-weight: 700; font-size: 0.9rem; }
.ads-call-chip { display: inline-flex; gap: 6px; align-items: center; min-height: 40px; cursor: pointer; }
.ads-call-chip input { width: 18px; height: 18px; }

/* Change this ad (in the Harbor sheet) */
.ads-sheet { display: grid; gap: 12px; }
.ads-sheet .chip { min-height: 40px; }
.ads-form { display: grid; gap: 10px; }
.ads-form textarea { resize: vertical; }
.ads-limit { color: #b0164b; font-size: 0.82rem; margin: -4px 0 0; min-height: 0; }
.ads-form-error { color: #b0164b; font-weight: 600; margin: 0; }
.ads-pic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.ads-pic-pick { position: relative; padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--cream, #fffbe6); box-shadow: inset 0 0 0 1.5px var(--line-2, rgb(22 19 10 / 18%)); cursor: pointer; }
.ads-pic-pick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ads-pic-pick span { font-size: 0.75rem; padding: 6px; display: block; }
.ads-pic-pick .sm-ai-badge { position: absolute; left: 6px; bottom: 6px; }
.ads-pic-pick[aria-pressed='true'] { box-shadow: inset 0 0 0 3px var(--hot, #ff5c8a), 0 0 0 2px var(--ink, #16130a); }
.ads-upload { justify-self: start; cursor: pointer; }

/* Home */
.ads-home { padding: 18px 20px; margin: 18px 0; }
.ads-home-head { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ads-home-head .ads-h2 { margin: 0; }

/* Ads desk (operators, desktop first but still usable on a phone) */
.ads-desk .card { overflow: hidden; }
.ads-desk-list { list-style: none; padding: 0; margin: 0; display: grid; }
.ads-desk-list > li { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line, rgb(22 19 10 / 10%)); }
.ads-desk-list > li:first-child { border-top: 0; }
.ads-desk .input.ads-desk-input { width: auto; flex: 0 1 auto; min-width: 0; max-width: 100%; min-height: 36px; }
.ads-desk-table { display: grid; }
.ads-desk-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px 0; border-top: 1px solid var(--line, rgb(22 19 10 / 10%)); }
.ads-desk-row--head { display: none; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; border-top: 0; }
@media (min-width: 1000px) { .ads-desk-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1.4fr); } .ads-desk-row--head { display: grid; } }
.ads-desk-row small, .ads-desk-cell small { display: block; color: var(--ink-2, #4a463c); font-size: 0.8rem; margin-top: 3px; overflow-wrap: anywhere; }
.ads-desk-cell { min-width: 0; }
.ads-upload-form { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .ads-upload-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ads-upload-form .gc-actions, .ads-upload-form [data-preview], .ads-upload-form .ads-switch { grid-column: 1 / -1; } }
.ads-switches { display: grid; gap: 10px; }
.ads-switch { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.ads-switch input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.ads-switch span { display: grid; gap: 2px; }
.ads-switch small { color: var(--ink-2, #4a463c); }

/* Ads desk › Windsor.ai (Meta) */
.ads-windsor-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ads-windsor-head .card-title { margin: 0; }
.ads-windsor-line { margin: 8px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.ads-windsor-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px 16px; margin: 14px 0; }
.ads-windsor-facts div { min-width: 0; }
.ads-windsor-facts dt { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2, #4a463c); }
.ads-windsor-facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.ads-windsor-accounts { margin: 0 0 12px; }
.ads-windsor .ads-switches { margin-top: 8px; }
.ads-switch--locked { cursor: not-allowed; opacity: 0.75; }
.ads-windsor-push { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: var(--cream, #fffbe6); box-shadow: inset 0 0 0 1.5px var(--line-2, rgb(22 19 10 / 18%)); min-width: 0; }
.ads-windsor-params { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--ink, #16130a); color: #fffbe6; font-size: 0.8rem; overflow-x: auto; max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
.ads-windsor-prompt { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; min-height: 9em; resize: vertical; }

@media (prefers-reduced-motion: reduce) { .ads * { transition: none !important; animation: none !important; } }

/* Get connected: the "let our team in" line under the Google Ads and Meta connect steps */
.ads-team-note { margin: 12px 0 0; font-size: 0.9rem; color: var(--ink-2, #4a463c); }
.ads-team-note a { font-weight: 700; }
.ads-empty { padding: 20px 22px; display: grid; gap: 8px; justify-items: start; }
.ads-empty .sm-display { margin: 0; font-size: 1.4rem; }
.ads-access-card .sm-sticker { justify-self: start; }
.ads-camp .sm-sticker { justify-self: end; }
@media (max-width: 719px) { .ads-bars--dense .ads-bar-dot { display: none; } .ads-bars--dense { gap: 2px; } }
.ads-bar-fill { background: linear-gradient(180deg, var(--ink, #16130a), #3a3424); }

/* Data center (2026-10-11): Every channel, channel pages, Report emails, Imports. public/harbor-ads-data.mjs.
   Series colors are the validated categorical slots; every color sits beside its name and number. */
.adc-section-head { display: grid; gap: 2px; margin: 18px 0 10px; }
.adc-section-head .ads-h2 { margin: 0; }
.adc-kpis .ads-basis { margin-top: 4px; }
@media (min-width: 720px) { .adc-page .adc-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .adc-page .adc-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.adc-share { margin: 10px 0 14px; }
.adc-share-bar { display: flex; gap: 2px; height: 14px; border-radius: 999px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line, rgb(22 19 10 / 10%)); }
.adc-share-seg { display: block; min-width: 4px; height: 100%; }
.adc-share-seg:first-child { border-radius: 999px 0 0 999px; }
.adc-share-seg:last-child { border-radius: 0 999px 999px 0; }
.adc-share-seg:only-child { border-radius: 999px; }
.adc-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 0; padding: 0; font-size: 0.88rem; }
.adc-legend li { display: inline-flex; align-items: center; gap: 6px; }
.adc-key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; vertical-align: middle; margin-right: 6px; }
.adc-legend .adc-key { margin-right: 0; }

.adc-channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.adc-channel { display: grid; gap: 8px; align-content: start; padding: 16px 18px; color: inherit; text-decoration: none; min-width: 0; }
.adc-channel:hover, .adc-channel:focus-visible { box-shadow: inset 0 0 0 2px var(--ink, #16130a), 4px 4px 0 var(--sun, #ffe14a); }
.adc-channel--empty { background: var(--cream, #fffbe6); }
.adc-channel-head { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.adc-channel-head .sm-sticker { margin-left: auto; }
.adc-card-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 2px 0 0; }
.adc-card-nums div { min-width: 0; }
.adc-card-nums dt { font-size: 0.7rem; color: var(--ink-3, #6b675c); text-transform: uppercase; letter-spacing: 0.04em; }
.adc-card-nums dd { margin: 0; font-weight: 800; font-size: 1.05rem; overflow-wrap: anywhere; }
.adc-spark { width: 100%; height: 34px; display: block; }
.adc-open { font-weight: 800; font-size: 0.9rem; }

.adc-card { padding: 18px 20px; display: grid; gap: 10px; min-width: 0; }
.adc-card .ads-h2 { margin: 0; }
.adc-card > *, .adc-emails > *, .adc-imports > * { min-width: 0; }
.adc-best { margin: 2px 0; padding: 10px 12px; border-radius: 12px; background: var(--sun-soft, #fff4b8); font-weight: 700; }

.adc-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line, rgb(22 19 10 / 10%)); }
.adc-table-wrap:focus-visible { outline: 3px solid var(--ink, #16130a); outline-offset: 2px; }
.adc-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 520px; }
.adc-table caption { text-align: left; padding: 8px 12px 0; }
.adc-table th, .adc-table td { padding: 9px 12px; border-top: 1px solid var(--line, rgb(22 19 10 / 10%)); text-align: left; vertical-align: top; }
.adc-table thead th { border-top: 0; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2, #4a463c); white-space: nowrap; }
.adc-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.adc-table tbody th { font-weight: 700; overflow-wrap: anywhere; min-width: 140px; }
.adc-table small { display: block; font-weight: 500; color: var(--ink-3, #6b675c); font-size: 0.78rem; }
.adc-heat { min-width: 360px; }
.adc-heat-cell { background: color-mix(in srgb, #2f6fd6 var(--heat, 6%), #fff); }
.adc-heat-cell strong { display: block; font-size: 1rem; }

.adc-tree { display: grid; min-width: 0; }
.adc-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 10px 0; border-top: 1px solid var(--line, rgb(22 19 10 / 10%)); align-items: center; }
.adc-row--head { display: none; border-top: 0; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2, #4a463c); }
.adc-name { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; min-width: 0; overflow-wrap: anywhere; }
.adc-name small { display: block; font-size: 0.72rem; color: var(--ink-3, #6b675c); text-transform: uppercase; letter-spacing: 0.04em; width: 100%; }
.adc-name > span { min-width: 0; }
.adc-tags { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.adc-nums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px 8px; margin: 0; }
.adc-nums div { min-width: 0; }
.adc-nums dt { font-size: 0.66rem; color: var(--ink-3, #6b675c); text-transform: uppercase; letter-spacing: 0.03em; }
.adc-nums dd { margin: 0; font-weight: 700; font-size: 0.88rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.adc-camp > summary, .adc-set > summary { cursor: pointer; list-style: none; position: relative; padding-left: 22px; }
.adc-camp > summary::-webkit-details-marker, .adc-set > summary::-webkit-details-marker { display: none; }
.adc-camp > summary::before, .adc-set > summary::before { content: '▸'; position: absolute; left: 4px; top: 12px; font-size: 0.85rem; transition: transform 160ms ease; }
.adc-camp[open] > summary::before, .adc-set[open] > summary::before { transform: rotate(90deg); }
.adc-sets { padding-left: 18px; }
.adc-ads { list-style: none; margin: 0; padding: 0 0 0 22px; }
.adc-thumb { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex: none; box-shadow: inset 0 0 0 1px var(--line-2, rgb(22 19 10 / 18%)); }
@media (min-width: 900px) {
  .adc-row { grid-template-columns: minmax(0, 2.2fr) minmax(0, 3fr); }
  .adc-row--head { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(5, minmax(0, 0.6fr)); padding-left: 22px; }
  .adc-row--head span:not(:first-child) { text-align: right; }
  .adc-nums dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .adc-nums dd { text-align: right; }
}

.adc-creatives { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.adc-creative { display: grid; gap: 4px; align-content: start; min-width: 0; }
.adc-creative img, .adc-creative .ads-nopic { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-2, rgb(22 19 10 / 18%)); background: var(--cream, #fffbe6); }
.adc-creative-name { margin: 4px 0 0; font-weight: 800; overflow-wrap: anywhere; }
.adc-creative-nums { margin: 0; font-size: 0.86rem; }
.adc-creative--words { padding: 12px 14px; border-radius: 14px; background: var(--cream, #fffbe6); box-shadow: inset 0 0 0 1.5px var(--line-2, rgb(22 19 10 / 18%)); }
.adc-creative--words .adc-creative-name { margin-top: 0; }

.adc-term-cat, .adc-words, .adc-schedule { border-radius: 12px; padding: 10px 12px; background: var(--cream, #fffbe6); }
.adc-term-cat > summary, .adc-words > summary, .adc-schedule > summary { cursor: pointer; font-weight: 700; min-height: 28px; }
.adc-term-cat .adc-table-wrap { margin-top: 8px; background: #fff; }
.adc-words-form { display: grid; gap: 10px; margin-top: 10px; }
.adc-schedule ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.adc-schedule p { margin: 2px 0 0; font-size: 0.9rem; }

.adc-emails, .adc-imports { padding: 18px 20px; display: grid; gap: 10px; }
.adc-emails .ads-h2, .adc-imports .ads-h2 { margin: 0; }
.adc-emails p { margin: 0; }
.adc-address-row { display: grid; gap: 6px; }
.adc-address { display: block; padding: 10px 12px; border-radius: 10px; background: var(--ink, #16130a); color: #fffbe6; font-size: 0.9rem; overflow-wrap: anywhere; }
.adc-emails-list, .adc-import-list { list-style: none; margin: 0; padding: 0; display: grid; }
.adc-emails-list li, .adc-import-list li { padding: 10px 0; border-top: 1px solid var(--line, rgb(22 19 10 / 10%)); display: grid; gap: 4px; }
.adc-emails-list li:first-child, .adc-import-list li:first-child { border-top: 0; }
.adc-email-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.adc-import-list li { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .adc-import-list li { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; } }
.adc-import-list li.is-failed span:first-child { color: #b0164b; }
.adc-senders { display: grid; gap: 8px; }
@media (prefers-reduced-motion: reduce) { .adc-camp > summary::before, .adc-set > summary::before { transition: none; } }

/* Your ads › Videos (2026-10-14, public/harbor-ad-videos.mjs): every Meta ad playing with its numbers. Phone first:
   one card per ad, the video on top, Meta's numbers then the site's. */
.ads-watch { display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 12px; align-items: center; padding: 16px 18px; color: inherit; text-decoration: none; min-height: 72px; }
.ads-watch:hover, .ads-watch:focus-visible { box-shadow: inset 0 0 0 2px var(--ink, #16130a), 4px 4px 0 var(--sun, #ffe14a); }
.ads-watch strong { display: block; font-weight: 800; }
.ads-watch-play { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--ink, #16130a); color: var(--sun, #ffe14a); font-size: 1rem; }
.ads-watch .ads-access-go { position: static; transform: none; }

.adv-range .chip { min-height: 44px; }
.adv-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.adv-totals { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 760px) { .adv-totals { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; } }
/* Phones: the hero and totals stay short so the first video starts in the first screen. */
@media (max-width: 759px) {
  .adv-hero { padding: 16px; gap: 10px; }
  .adv-hero .ads-title { font-size: 1.9rem; margin: 2px 0 4px; }
  .adv-hero .ads-lead { font-size: 0.95rem; margin-bottom: 4px; }
  .adv-hero .ads-hero-actions .btn { min-height: 44px; padding: 8px 14px; }
  html[data-platform-brand] .adv-totals .stat-tile { padding: 10px 10px 9px; min-width: 0; min-height: 0; }
  html[data-platform-brand] .adv-totals .stat-value { font-size: 1.35rem; }
  html[data-platform-brand] .adv-totals .stat-label { font-size: 0.72rem; line-height: 1.2; margin-top: 4px; }
}
.adv-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 760px) { .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .adv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.adv-card { display: grid; gap: 12px; padding: 12px; min-width: 0; }
.adv-frame { position: relative; overflow: hidden; border-radius: 12px; background: var(--ink, #16130a); margin: 0 auto; width: 100%; }
.adv-frame--vertical { aspect-ratio: 9 / 16; max-height: min(78vh, 640px); max-width: calc(min(78vh, 640px) * 9 / 16); }
.adv-frame--feed { aspect-ratio: 4 / 5; max-height: min(70vh, 560px); max-width: calc(min(70vh, 560px) * 4 / 5); }
.adv-frame--square, .adv-frame--still, .adv-frame--empty { aspect-ratio: 1 / 1; max-width: 520px; }
.adv-frame--wide { aspect-ratio: 16 / 9; }
.adv-video, .adv-frame img { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ink, #16130a); }
.adv-frame--empty { display: grid; place-items: center; padding: 20px; background: var(--paper-2, #f3efe3); color: var(--ink-2, #4a463c); text-align: center; }
.adv-kind { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgb(255 255 255 / 92%); font-size: 0.78rem; font-weight: 700; }
.adv-cuts { justify-content: center; }
.adv-cuts .chip { min-height: 40px; }
.adv-copy { display: grid; gap: 4px; padding: 0 6px 6px; min-width: 0; }
.adv-head { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.adv-title { font-size: 1.12rem; font-weight: 800; line-height: 1.2; margin: 0; overflow-wrap: anywhere; }
.adv-label { margin: 10px 0 2px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3, #6b675c); }
.adv-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 0; }
.adv-metric { min-width: 0; padding: 8px 10px; border-radius: 10px; background: var(--paper-2, #f6f3ea); }
.adv-metric dt { font-size: 0.78rem; color: var(--ink-2, #4a463c); }
.adv-metric dd { margin: 2px 0 0; font-size: 1.12rem; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.adv-metric dd small { display: block; font-size: 0.74rem; font-weight: 600; color: var(--ink-3, #6b675c); }
.adv-metrics--site .adv-metric { background: var(--green-soft, #dcf2e4); }
.adv-site { min-width: 0; }
.adv-tag-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.adv-tag-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line, rgb(22 19 10 / 10%)); font-variant-numeric: tabular-nums; }
.adv-tag-list small { color: var(--ink-3, #6b675c); }

/* Your ads › Funnel (2026-10-14, public/harbor-ad-funnel.mjs, docs/ads/funnel.md): the ad → sale storyboard. Phone
   first, one column; once the page is wide enough the tiles, the gap card and the table sit beside the storyboard.
   Frames switch to the wide layout by the storyboard's own width (container queries), so the side column never
   squeezes them. Ink outlines, cream frames, sun art squares; red only for the gap. */
.afn { container: afn / inline-size; display: grid; gap: 16px; min-width: 0; color: var(--ink, #16130a); --afn-red: #d1342f; --afn-red-soft: #fff1ef; --afn-muted: #4a463c; --afn-rule: #d9d2bb; }
.afn > * { min-width: 0; }
.afn-crumbs { display: flex; flex-wrap: wrap; gap: 0 18px; margin: -6px 0 -8px; }
.afn-crumbs a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 0.95rem; color: var(--ink, #16130a); text-decoration: none; }
.afn-crumbs a:hover, .afn-crumbs a:focus-visible { text-decoration: underline; text-decoration-color: var(--sun, #ffe14a); text-decoration-thickness: 3px; text-underline-offset: 4px; }

.afn-top { display: grid; gap: 14px; min-width: 0; }
.afn-hero { display: grid; gap: 8px; min-width: 0; background: var(--cream, #fffbe6); border: 2.5px solid var(--ink, #16130a); border-radius: 18px; box-shadow: 6px 6px 0 var(--sun, #ffe14a); padding: 18px 18px 16px; }
.afn-hero-copy { display: grid; gap: 8px; min-width: 0; }
.afn-kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #6b4a00; overflow-wrap: anywhere; }
.afn-title { margin: 0; font-family: var(--font-display, Anton, Impact, sans-serif); font-weight: 400; font-size: 46px; line-height: 1.12; letter-spacing: 0; text-transform: none; }
.afn-lead { margin: 0; font-size: 16px; line-height: 1.45; max-width: 60ch; }
.afn-fresh { justify-self: start; margin: 4px 0 0; padding: 6px 12px; border-radius: 999px; background: var(--green-soft, #dcf2e4); box-shadow: inset 0 0 0 1.5px var(--ink, #16130a); font-size: 13px; font-weight: 600; }
.afn-fresh--sun { background: var(--sun-soft, #fff4b8); }
.afn .afn-range { gap: 8px; }
.afn .afn-range .chip { min-height: 44px; padding: 8px 16px; border: 2px solid var(--ink, #16130a); border-radius: 999px; background: var(--cream, #fffbe6); color: var(--ink, #16130a); font-weight: 700; font-size: 15px; }
.afn .afn-range .chip.is-active { background: var(--ink, #16130a); border-color: var(--ink, #16130a); color: var(--sun, #ffe14a); }

.afn-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.afn-layout > * { min-width: 0; }
.afn-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.afn-tile { min-width: 0; background: var(--cream, #fffbe6); border: 2px solid var(--ink, #16130a); border-radius: 14px; padding: 12px 14px; }
.afn-tile--sold { background: var(--sun, #ffe14a); }
.afn-tile-value { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 28px; line-height: 1.1; overflow-wrap: anywhere; }
.afn-tile-label { font-size: 13px; font-weight: 700; color: var(--afn-muted); }

.afn-stamp { display: inline-block; align-self: flex-start; border: 3px solid var(--afn-red); color: var(--afn-red); border-radius: 8px; padding: 2px 10px; font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 22px; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; transform: rotate(-6deg); animation: afn-stamp 0.45s cubic-bezier(0.2, 1.6, 0.4, 1) 0.9s both; }
.afn-gapcard { display: flex; flex-direction: column; gap: 8px; color: var(--ink, #16130a); text-decoration: none; background: var(--afn-red-soft); border: 2.5px solid var(--ink, #16130a); border-radius: 18px; box-shadow: 6px 6px 0 var(--afn-red); padding: 16px 18px; }
.afn-gapcard:hover, .afn-gapcard:focus-visible { color: var(--ink, #16130a); box-shadow: 8px 8px 0 var(--afn-red); }
.afn-gapcard-title { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 30px; line-height: 1.05; overflow-wrap: anywhere; }
.afn-gapcard-line { font-size: 15px; line-height: 1.45; }
.afn-gapcard-go { font-weight: 800; font-size: 15px; }
.afn-nogap { background: var(--sun-soft, #fff4b8); border: 2px solid var(--ink, #16130a); border-radius: 16px; padding: 14px 16px; font-size: 15px; line-height: 1.45; }

.afn-board-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 8px; margin: 10px 0 12px; }
.afn-h2 { margin: 0; font-family: var(--font-display, Anton, Impact, sans-serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.afn-h3 { margin: 0; font-family: var(--font-display, Anton, Impact, sans-serif); font-weight: 400; font-size: 22px; line-height: 1.1; }
.afn-board-note { font-size: 13px; font-weight: 700; color: var(--afn-muted); }
.afn-board-note--wide { display: none; }
.afn-board { container: afnboard / inline-size; display: flex; flex-direction: column; align-items: center; }
.afn-step { width: 100%; display: flex; flex-direction: column; align-items: center; }

.afn-frame { container: afnframe / inline-size; width: var(--w, 100%); max-width: 100%; box-sizing: border-box; min-width: 0; background: var(--cream, #fffbe6); border: 2.5px solid var(--ink, #16130a); border-radius: 16px; box-shadow: 5px 5px 0 var(--ink, #16130a); overflow: hidden; }
.afn-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; background: var(--ink, #16130a); color: var(--cream, #fffbe6); padding: 6px 10px; }
.afn-sc { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 15px; color: var(--sun, #ffe14a); letter-spacing: 0.04em; }
.afn-name { flex: 1 1 auto; min-width: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; overflow-wrap: anywhere; }
.afn-of { font-size: 12px; font-weight: 700; color: var(--afn-rule); white-space: nowrap; }
.afn-body { display: grid; grid-template-columns: minmax(0, 1fr) 64px; grid-template-areas: "num art" "more art" "tail tail" "foot foot"; gap: 2px 12px; padding: 12px 12px 6px; align-items: start; }
.afn-art { grid-area: art; align-self: center; width: 64px; height: 64px; box-sizing: border-box; border-radius: 16px; background: var(--sun, #ffe14a); border: 2px solid var(--ink, #16130a); display: grid; place-items: center; overflow: hidden; color: var(--ink, #16130a); }
.afn-art-svg { width: 40px; height: 40px; }
.afn-art--still { background: var(--ink, #16130a); }
.afn-art--still img { display: block; width: 100%; height: 100%; object-fit: cover; }
.afn-num { grid-area: num; display: grid; gap: 2px; min-width: 0; }
.afn-count { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.afn-sub { font-size: 13px; font-weight: 700; color: var(--afn-muted); overflow-wrap: anywhere; }
.afn-more { grid-area: more; display: grid; gap: 4px; justify-items: start; min-width: 0; font-size: 13px; color: var(--afn-muted); }
.afn-people { margin-top: 2px; padding: 2px 9px; border-radius: 999px; background: var(--sky-soft, #e4efff); box-shadow: inset 0 0 0 1.5px var(--ink, #16130a); font-size: 12px; font-weight: 700; color: var(--ink, #16130a); }
.afn-people-src { display: none; }
.afn-tokens { grid-area: tail; justify-self: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; max-width: calc(var(--cols, 6) * 34px); padding: 4px 0 6px; min-height: 34px; }
.afn-tok { display: block; width: 32px; height: 32px; animation: afn-fall 0.75s cubic-bezier(0.3, 1.45, 0.5, 1) both; }
.afn-empty { grid-area: foot; margin: 4px 0 6px; padding: 10px 12px; border-radius: 12px; border: 2px dashed var(--ink, #16130a); font-size: 14px; line-height: 1.4; text-align: center; }

/* Between frames: what each step kept, who didn't make it, and the verdict against the rough norm. */
.afn-link { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 0 8px; }
.afn-dash { display: block; height: 16px; border-left: 2.5px dashed var(--ink, #16130a); }
.afn-dash--short { height: 14px; }
.afn-kept-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; max-width: 100%; }
.afn-kept { order: 1; font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 24px; line-height: 1; }
.afn-verdict { order: 2; display: inline-block; padding: 3px 10px; border-radius: 999px; border: 2px solid var(--ink, #16130a); background: #ece6d2; color: var(--ink, #16130a); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.afn-verdict--gap { background: var(--afn-red); color: #fff; }
.afn-verdict--strong { background: var(--green-soft, #dcf2e4); }
.afn-verdict--ok { background: var(--cream, #fffbe6); }
.afn-drop { order: 3; flex-basis: 100%; box-sizing: border-box; padding: 0 70px; text-align: center; font-size: 13px; color: var(--afn-muted); }
.afn-lost { position: absolute; right: 18px; top: 4px; width: 60px; height: 60px; pointer-events: none; }
.afn-lost .afn-tok--lost { position: absolute; top: 0; width: 26px; height: 26px; opacity: 0.6; animation: afn-tumble 2.2s ease-in infinite; }
.afn-gapbox { width: calc(100% - 8px); box-sizing: border-box; margin-top: 6px; border: 2.5px dashed var(--afn-red); border-radius: 16px; background: var(--afn-red-soft); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.45; scroll-margin: 96px; }
.afn-gapbox:focus { outline: none; }
.afn-gapbox:focus-visible { outline: 3px solid var(--ink, #16130a); outline-offset: 3px; }
.afn-gapbox-copy { display: flex; flex-direction: column; gap: 6px; }
.afn-gapbox-line { text-align: center; }
.afn-stamp--big { align-self: center; padding: 0 12px; font-size: 34px; letter-spacing: 0.08em; }

/* The first sale: the register rings (Chaching.dc.html). */
.afn-frame--sale { background: var(--sun, #ffe14a); border-width: 3px; border-radius: 22px; box-shadow: 7px 7px 0 var(--ink, #16130a); }
.afn-frame--sale .afn-art { background: var(--cream, #fffbe6); }
.afn-sale { grid-area: foot; position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0 12px; text-align: center; overflow: hidden; }
.afn-coins { position: absolute; left: 50%; top: 52%; width: 0; height: 0; }
.afn-coin { position: absolute; left: -14px; top: 0; width: 28px; height: 28px; box-sizing: border-box; border-radius: 50%; background: var(--cream, #fffbe6); border: 2.5px solid var(--ink, #16130a); font: 800 15px/23px 'Source Sans 3', sans-serif; text-align: center; animation: afn-coin 1.9s ease-out infinite; }
.afn-bang { position: relative; z-index: 1; margin: 0; font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 52px; line-height: 1; color: var(--cream, #fffbe6); -webkit-text-stroke: 3px var(--ink, #16130a); text-shadow: 5px 5px 0 var(--ink, #16130a); letter-spacing: 0.02em; text-transform: uppercase; animation: afn-bang 1.9s ease-in-out infinite; }
.afn-register { position: relative; z-index: 1; width: 190px; max-width: 100%; height: auto; }
.afn-drawer { animation: afn-drawer 1.9s ease-in-out infinite; }
.afn-sale-toks { display: flex; gap: 4px; }
.afn-sale-toks .afn-tok { width: 54px; height: 54px; }
.afn-sale-line { margin: 0; font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 30px; line-height: 1.05; }
.afn-sale-back { margin: 0; font-size: 14px; font-weight: 700; }

.afn-card { display: grid; gap: 8px; min-width: 0; background: var(--cream, #fffbe6); border: 2px solid var(--ink, #16130a); border-radius: 18px; padding: 16px 18px; }
.afn-none p { margin: 0; }
.afn-none .btn { justify-self: start; min-height: 44px; }
.afn-table-card { display: none; }
.afn-table-wrap { max-width: 100%; overflow-x: auto; }
.afn-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.afn-table thead th { padding: 6px 4px; border-bottom: 2px solid var(--ink, #16130a); text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.afn-table tbody th, .afn-table tbody td { padding: 7px 4px; border-bottom: 1px solid var(--afn-rule); }
.afn-table tbody th { text-align: left; font-weight: 700; }
.afn-table .num { text-align: right; white-space: nowrap; }
.afn-table tr.is-gap { background: #ffe1de; }
.afn-how { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; background: var(--cream, #fffbe6); border: 2px solid var(--ink, #16130a); border-radius: 16px; padding: 14px 16px; font-size: 13px; line-height: 1.5; color: var(--afn-muted); }
.afn-how strong { color: var(--ink, #16130a); font-size: 14px; }

/* A wide storyboard (≥ 560px of its own): art on the left, bigger numbers, tokens on the right, one-line connectors. */
@container afnboard (min-width: 560px) {
  .afn-frame { border-radius: 18px; box-shadow: 6px 6px 0 var(--ink, #16130a); }
  .afn-frame--sale { border-radius: 22px; box-shadow: 7px 7px 0 var(--ink, #16130a); }
  .afn-strip { gap: 2px 10px; padding: 7px 14px; }
  .afn-sc { font-size: 17px; }
  .afn-name, .afn-of { font-size: 13px; }
  .afn-bang { font-size: 66px; }
  .afn-dash { height: 14px; border-left-width: 3px; }
  .afn-dash--short { height: 12px; }
  .afn-kept-row { gap: 6px 12px; }
  .afn-kept { font-size: 28px; }
  .afn-drop { order: 2; flex-basis: auto; padding: 0; font-size: 14px; }
  .afn-verdict { order: 3; padding: 4px 12px; letter-spacing: 0.05em; }
  .afn-lost { right: 8%; top: 2px; width: 90px; height: 64px; }
  .afn-lost .afn-tok--lost { width: 34px; height: 34px; }
  .afn-gapbox { width: min(100%, max(72%, 460px)); flex-direction: row; align-items: center; gap: 18px; border-width: 3px; border-radius: 18px; padding: 14px 18px; font-size: 15px; }
  .afn-gapbox-copy { gap: 4px; }
  .afn-gapbox-line { text-align: left; }
  .afn-stamp--big { flex: 0 0 auto; border-width: 4px; border-radius: 10px; padding: 0 14px; font-size: 44px; }
}
/* A wide frame (≥ 380px of its own): the art on the left, the number with its cost under it, tokens on the right; the
   empty register or the sale below. */
@container afnframe (min-width: 380px) {
  .afn-body { grid-template-columns: 72px minmax(0, auto) minmax(0, 1fr); grid-template-areas: "art num tail" "art more tail" "foot foot foot"; gap: 4px 18px; padding: 14px 18px; align-items: center; }
  .afn-art { width: 72px; height: 72px; border-radius: 18px; }
  .afn-art-svg { width: 44px; height: 44px; }
  .afn-num { align-self: end; }
  .afn-more { align-self: start; }
  .afn-count { font-size: 52px; }
  .afn-sub { font-size: 14px; }
  .afn-more { font-size: 14px; }
  .afn-people { font-size: 13px; }
  .afn-people-src { display: inline; }
  .afn-tokens { justify-self: end; justify-content: flex-end; max-width: calc(var(--cols, 6) * 44px); padding: 0; min-height: 44px; }
  .afn-tokens .afn-tok { width: 42px; height: 42px; }
  .afn-empty { margin: 8px 0 0; padding: 10px 14px; font-size: 15px; }
}
/* A wide page: hero with the period on the right; four tiles in a row while everything is one column. */
@container afn (min-width: 760px) {
  .afn-top { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "copy range" "copy fresh"; align-items: end; gap: 10px 18px; background: var(--cream, #fffbe6); border: 2.5px solid var(--ink, #16130a); border-radius: 20px; box-shadow: 8px 8px 0 var(--sun, #ffe14a); padding: 24px 28px; }
  .afn-hero { display: contents; }
  .afn-hero-copy { grid-area: copy; }
  .afn-title { font-size: 64px; line-height: 1.05; }
  .afn-lead { font-size: 18px; }
  .afn .afn-range { grid-area: range; justify-content: flex-end; }
  .afn .afn-range .chip { padding: 8px 18px; }
  .afn-fresh { grid-area: fresh; justify-self: end; margin: 0; }
  .afn-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .afn-h2 { font-size: 34px; }
  .afn-board-note { font-size: 14px; }
  .afn-board-note--phone { display: none; }
  .afn-board-note--wide { display: inline; }
}
/* Room for a side column: the storyboard on the left; tiles, the gap, the table and the footnote on the right. */
@container afn (min-width: 840px) {
  .afn-layout { grid-template-columns: minmax(0, 1fr) minmax(290px, 340px); grid-template-areas: "main tiles" "main gap" "main table" "main how" "main ."; grid-template-rows: auto auto auto auto 1fr; gap: 16px 28px; }
  .afn-main { grid-area: main; }
  .afn-tiles { grid-area: tiles; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .afn-tile-value { font-size: 30px; }
  .afn-gapcard, .afn-nogap { grid-area: gap; }
  .afn-gapcard { gap: 10px; padding: 18px 20px; }
  .afn-gapcard-title { font-size: 32px; }
  .afn-gapcard-go { display: none; }
  .afn-table-card { display: grid; grid-area: table; }
  .afn-how { grid-area: how; margin-top: 0; }
  .afn-board-head { margin-top: 0; }
}

@keyframes afn-fall { 0% { transform: translateY(-46px) rotate(-14deg); opacity: 0; } 55% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes afn-tumble { 0% { transform: translate(0, -6px) rotate(0); opacity: 0.85; } 100% { transform: translate(34px, 46px) rotate(80deg); opacity: 0; } }
@keyframes afn-stamp { 0% { transform: scale(1.7) rotate(-14deg); opacity: 0; } 100% { transform: scale(1) rotate(-6deg); opacity: 1; } }
@keyframes afn-coin { 0% { transform: translate(0, 30px) scale(0.4); opacity: 0; } 25% { opacity: 1; } 100% { transform: translate(var(--dx), -150px) scale(1) rotate(var(--rot)); opacity: 0; } }
@keyframes afn-bang { 0%, 100% { transform: scale(1) rotate(-3deg); } 12% { transform: scale(1.14) rotate(2deg); } 24% { transform: scale(0.98) rotate(-3deg); } }
@keyframes afn-drawer { 0%, 100% { transform: translateY(0); } 10%, 60% { transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  .afn-tok, .afn-lost .afn-tok--lost, .afn-stamp, .afn-bang, .afn-drawer { animation: none !important; }
  .afn-coins { display: none; }
}

/* The way in from #/ads, beside "Watch your Facebook and Instagram ads". */
.ads-watch--funnel .ads-watch-play { background: var(--sun, #ffe14a); color: var(--ink, #16130a); box-shadow: inset 0 0 0 2px var(--ink, #16130a); }
.ads-watch-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 760px) { .ads-watch-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Your ads › Creative lab (2026-10-14, public/harbor-ad-creative.mjs, docs/ads/creative-lab.md): hooks × bodies and the
   fair hook test board. Phone first (one column, hook cards); a wide page gets the three insight cards in a row, the
   hooks table and the grids (Main.dc.html, Phone.dc.html, Test.dc.html). */
@media (min-width: 1100px) { .ads-watch-pair { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ads-watch--creative .ads-watch-play { background: var(--sun-soft, #fff4b8); color: var(--ink, #16130a); box-shadow: inset 0 0 0 2px var(--ink, #16130a); }

.acl { container: acl / inline-size; display: grid; gap: 16px; min-width: 0; color: var(--ink, #16130a); --acl-muted: #4a463c; --acl-rule: #d9d2bb; --acl-beige: #ece6d2; --acl-red: #d1342f; --acl-red-ink: #a3221d; --acl-red-soft: #fff1ef; --acl-brown: #6b4a00; }
.acl > *, .acl-results > * { min-width: 0; }
.acl-results { display: grid; gap: 22px; min-width: 0; }
.acl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.acl-crumbs { display: flex; flex-wrap: wrap; gap: 0 18px; margin: -6px 0 -8px; }
.acl-crumbs a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 0.95rem; color: var(--ink, #16130a); text-decoration: none; }
.acl-crumbs a:hover, .acl-crumbs a:focus-visible { text-decoration: underline; text-decoration-color: var(--sun, #ffe14a); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.acl-wide-only { display: none; }

.acl-hero { display: grid; gap: 12px; min-width: 0; background: var(--cream, #fffbe6); border: 2.5px solid var(--ink, #16130a); border-radius: 18px; box-shadow: 6px 6px 0 var(--sun, #ffe14a); padding: 16px; }
.acl-hero-top { display: grid; gap: 12px; min-width: 0; }
.acl-hero-copy { display: grid; gap: 8px; min-width: 0; }
.acl-kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acl-brown); overflow-wrap: anywhere; }
.acl-title { margin: 0; font-family: var(--font-display, Anton, Impact, sans-serif); font-weight: 400; font-size: 44px; line-height: 1.08; letter-spacing: 0; text-transform: none; }
.acl-lead { margin: 0; font-size: 15px; line-height: 1.45; max-width: 64ch; }
.acl-push { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 14px; background: var(--ink, #16130a); color: var(--sun, #ffe14a); text-decoration: none; font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 21px; letter-spacing: 0.02em; box-shadow: 5px 5px 0 var(--acl-red); text-align: center; }
.acl-push:hover, .acl-push:focus-visible { color: var(--sun, #ffe14a); box-shadow: 7px 7px 0 var(--acl-red); }
.acl-push--hero { display: none; }
.acl-push--foot { margin-top: 4px; min-height: 56px; }
.acl-controls { display: grid; gap: 10px; min-width: 0; }
.acl-search { position: relative; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 2.5px solid var(--ink, #16130a); background: #fff; min-width: 0; }
.acl-search:focus-within { box-shadow: 0 0 0 3px var(--sun, #ffe14a); }
.acl-search svg { flex: none; }
.acl-search input { flex: 1 1 auto; min-width: 0; border: 0; outline: none; background: transparent; font: 600 16px 'Source Sans 3', sans-serif; color: var(--ink, #16130a); padding: 10px 0; }
.acl-search input::placeholder { color: #6b675c; }
.acl-filters { display: grid; gap: 8px; min-width: 0; }
.acl-chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.acl-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--ink, #16130a); background: var(--cream, #fffbe6); color: var(--ink, #16130a); font: 700 14px 'Source Sans 3', sans-serif; cursor: pointer; }
.acl-pill.is-on { background: var(--ink, #16130a); color: var(--sun, #ffe14a); }
.acl-pill--big { font-size: 16px; font-weight: 800; padding: 8px 16px; }
.acl-hero-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.acl-fresh { margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--green-soft, #dcf2e4); box-shadow: inset 0 0 0 1.5px var(--ink, #16130a); font-size: 13px; font-weight: 600; }
.acl-fresh--sun { background: var(--sun-soft, #fff4b8); }
.acl-period { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
.acl-period select { min-height: 44px; padding: 0 10px; border-radius: 10px; border: 2px solid var(--ink, #16130a); background: #fff; color: var(--ink, #16130a); font: 600 15px 'Source Sans 3', sans-serif; }

.acl-insights { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.acl-insight { display: flex; flex-direction: column; gap: 4px; min-width: 0; color: var(--ink, #16130a); text-decoration: none; border: 2.5px solid var(--ink, #16130a); border-radius: 16px; padding: 12px 14px; background: var(--cream, #fffbe6); }
.acl-insight--green { background: var(--green-soft, #dcf2e4); }
.acl-insight--sun { background: var(--sun-soft, #fff4b8); }
.acl-insight--red { background: var(--acl-red-soft); box-shadow: 5px 5px 0 var(--acl-red); }
a.acl-insight:hover, a.acl-insight:focus-visible { color: var(--ink, #16130a); box-shadow: 7px 7px 0 var(--acl-red); }
a.acl-insight--plain:hover, a.acl-insight--plain:focus-visible { box-shadow: 5px 5px 0 var(--sun, #ffe14a); }
.acl-insight-label { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.acl-insight--red .acl-insight-label { color: var(--acl-red-ink); }
.acl-insight-title { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 24px; line-height: 1.08; overflow-wrap: anywhere; }
.acl-insight-line { font-size: 14px; line-height: 1.4; }

.acl-section { display: grid; gap: 12px; min-width: 0; }
.acl-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; min-width: 0; }
.acl-h2 { margin: 0; font-family: var(--font-display, Anton, Impact, sans-serif); font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: 0; text-transform: none; }
.acl-h3 { margin: 0; font-family: var(--font-display, Anton, Impact, sans-serif); font-weight: 400; font-size: 24px; line-height: 1.1; letter-spacing: 0; text-transform: none; }
.acl-note { font-size: 14px; line-height: 1.45; color: var(--acl-muted); }
p.acl-note { margin: 0; }
.acl-empty { margin: 0; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--ink, #16130a); background: var(--cream, #fffbe6); font-size: 15px; line-height: 1.45; }
.acl-empty .acl-btn { margin-left: 6px; }
.acl-card { display: grid; gap: 12px; min-width: 0; background: var(--cream, #fffbe6); border: 2.5px solid var(--ink, #16130a); border-radius: 18px; padding: 16px; }
.acl-none p { margin: 0; }
.acl-nostill { display: grid; place-items: center; background: var(--acl-beige); color: var(--acl-muted); font-size: 13px; font-weight: 700; text-align: center; padding: 8px; box-sizing: border-box; overflow: hidden; }
.acl-nostill > span { overflow-wrap: anywhere; }

.acl-chip { display: inline-block; white-space: nowrap; padding: 2px 8px; border-radius: 999px; border: 2px solid var(--ink, #16130a); background: #dcf2e4; color: var(--ink, #16130a); font-size: 11px; font-weight: 800; line-height: 1.4; }
.acl-chip--control { background: var(--ink, #16130a); color: var(--sun, #ffe14a); }
.acl-chip--starved, .acl-chip--rejected { background: #ffe1de; color: var(--acl-red-ink); }
.acl-chip--paused, .acl-chip--removed, .acl-chip--waiting, .acl-chip--quiet { background: var(--acl-beige); }
.acl-chip--review { background: var(--sky-soft, #e4efff); }
.acl-chip--ready { background: var(--sun-soft, #fff4b8); }
.acl-chip--idea { background: #fff; border-style: dashed; }
.acl-chip--test-waiting_ok { background: var(--sun, #ffe14a); }
.acl-chip--test-approved { background: var(--green-soft, #dcf2e4); }
.acl-chip--test-live { background: #1f7a4d; color: #fff; }
.acl-chip--test-done, .acl-chip--test-cancelled { background: var(--acl-beige); }

.acl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border-radius: 12px; border: 2px solid var(--ink, #16130a); background: var(--cream, #fffbe6); color: var(--ink, #16130a); font: 800 15px 'Source Sans 3', sans-serif; cursor: pointer; }
.acl-btn--sun { background: var(--sun, #ffe14a); box-shadow: 3px 3px 0 var(--ink, #16130a); }
.acl-btn--ghost { background: transparent; }
.acl-btn:disabled { opacity: 0.55; cursor: default; }

/* Hook tests waiting for an OK */
.acl-tests { display: grid; gap: 10px; }
.acl-test { display: grid; gap: 6px; min-width: 0; background: var(--cream, #fffbe6); border: 2.5px solid var(--ink, #16130a); border-radius: 16px; padding: 14px 16px; }
.acl-test--waiting_ok { box-shadow: 5px 5px 0 var(--sun, #ffe14a); }
.acl-test-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.acl-test-codes { font-weight: 800; overflow-wrap: anywhere; }
.acl-test-line { margin: 0; font-size: 15px; line-height: 1.45; }
.acl-test-who { margin: 0; font-size: 13px; color: var(--acl-muted); }
.acl-test-who:empty { display: none; }
.acl-test-note { margin: 0; font-size: 14px; line-height: 1.45; }
.acl-test-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* Bodies */
.acl-bodies { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.acl-body { display: grid; grid-template-columns: 112px minmax(0, 1fr); text-align: left; cursor: pointer; font: inherit; color: var(--ink, #16130a); background: var(--cream, #fffbe6); border: 2.5px solid var(--ink, #16130a); border-radius: 18px; padding: 0; overflow: hidden; min-width: 0; }
.acl-body.is-on { border-width: 3px; box-shadow: 6px 6px 0 var(--sun, #ffe14a); }
.acl-body-img { display: block; width: 100%; height: 100%; min-height: 168px; object-fit: cover; border-right: 2.5px solid var(--ink, #16130a); box-sizing: border-box; }
.acl-body-copy { display: flex; flex-direction: column; gap: 8px; padding: 12px; min-width: 0; }
.acl-body-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.acl-body-name { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 22px; line-height: 1.05; overflow-wrap: anywhere; }
.acl-winner { padding: 2px 8px; border-radius: 999px; background: var(--ink, #16130a); color: var(--sun, #ffe14a); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.acl-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.acl-stat { display: flex; flex-direction: column; min-width: 0; padding: 6px 8px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink, #16130a); }
.acl-stat--wide { display: none; }
.acl-stat-v { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 18px; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.acl-stat-k { font-size: 11px; font-weight: 700; line-height: 1.25; color: var(--acl-muted); overflow-wrap: anywhere; }

/* Hooks on a body: cards on a phone, the table when there's room */
.acl-table-card { display: none; background: var(--cream, #fffbe6); border: 2.5px solid var(--ink, #16130a); border-radius: 20px; overflow: hidden; min-width: 0; }
.acl-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.acl-table-wrap:focus-visible { outline: 3px solid var(--ink, #16130a); outline-offset: -3px; }
.acl-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.acl-table thead tr { background: var(--ink, #16130a); color: var(--cream, #fffbe6); }
.acl-table thead th { text-align: left; padding: 10px 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.acl-table thead th:first-child, .acl-table tbody th { padding-left: 14px; }
.acl-table thead th:last-child, .acl-table tbody td:last-child { padding-right: 14px; }
.acl-table tbody tr { border-top: 1.5px solid var(--acl-rule); }
.acl-table tbody tr.is-control { background: var(--sun-soft, #fff4b8); }
.acl-table tbody th { text-align: left; font-weight: 400; padding-top: 10px; padding-bottom: 10px; }
.acl-table td { padding: 10px 8px; vertical-align: middle; }
.acl-table .num { text-align: right; white-space: nowrap; }
.acl-table .strong { font-weight: 700; }
.acl-table .acl-carts { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 20px; }
.acl-th-rate { width: 170px; }
.acl-hook-cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.acl-hook-words { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acl-hook-img { display: block; flex: none; width: 64px; height: 80px; object-fit: cover; border-radius: 10px; border: 2px solid var(--ink, #16130a); box-sizing: border-box; font-size: 12px; }
.acl-table .acl-hook-img { width: 56px; height: 70px; border-radius: 8px; }
.acl-hook-name { font-weight: 800; overflow-wrap: anywhere; }
.acl-hook-line { font-size: 13px; line-height: 1.35; color: var(--acl-muted); }
.acl-table .acl-hook-line { font-size: 14px; }
.acl-angle { font-size: 12px; font-weight: 700; color: var(--acl-brown); text-transform: uppercase; letter-spacing: 0.05em; }
.acl-rate { display: flex; align-items: center; gap: 8px; }
.acl-bar { flex: 1 1 auto; height: 12px; border-radius: 999px; background: var(--acl-beige); box-shadow: inset 0 0 0 1.5px var(--ink, #16130a); overflow: hidden; }
.acl-bar-fill { display: block; height: 100%; }
.acl-bar-fill--green { background: #1f7a4d; }
.acl-bar-fill--sun { background: var(--sun, #ffe14a); }
.acl-bar-fill--orange { background: #d9622b; }
.acl-rate-v { font-weight: 800; min-width: 44px; text-align: right; }
.acl-hook-cards { display: grid; gap: 10px; }
.acl-hook-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: start; background: var(--cream, #fffbe6); border: 2.5px solid var(--ink, #16130a); border-radius: 16px; padding: 10px; min-width: 0; }
.acl-hook-card.is-control { background: var(--sun-soft, #fff4b8); }
.acl-hook-card-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.acl-hook-card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 6px; }
.acl-hook-nums { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; font-weight: 700; }

/* The hook bank */
.acl-bank { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.acl-bank-card { display: flex; flex-direction: column; min-width: 0; background: var(--cream, #fffbe6); border: 2px solid var(--ink, #16130a); border-radius: 12px; overflow: hidden; }
.acl-bank-card--idea { border-style: dashed; }
.acl-bank-img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-bottom: 2px solid var(--ink, #16130a); box-sizing: border-box; }
.acl-bank-ph { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; box-sizing: border-box; padding: 8px; background-color: var(--acl-beige); background-image: radial-gradient(rgb(22 19 10 / 12%) 1.1px, transparent 1.3px); background-size: 12px 12px; color: var(--ink, #16130a); text-align: center; }
.acl-bank-ph > span { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.acl-bank-card .acl-bank-ph { border-bottom: 2px solid var(--ink, #16130a); }
.acl-bank-copy { display: flex; flex-direction: column; gap: 4px; padding: 4px 6px 6px; min-width: 0; }
.acl-bank-code { font-size: 12px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.acl-bank-line { display: none; font-size: 14px; line-height: 1.35; color: var(--acl-muted); }
.acl-bank-copy .acl-chip { align-self: flex-start; white-space: normal; }
.acl-bank-new { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 130px; padding: 8px; border: 2.5px dashed var(--ink, #16130a); border-radius: 12px; background: var(--sun, #ffe14a); color: var(--ink, #16130a); text-decoration: none; text-align: center; }
.acl-bank-new:hover, .acl-bank-new:focus-visible { color: var(--ink, #16130a); box-shadow: 4px 4px 0 var(--ink, #16130a); }
.acl-bank-new svg { width: 28px; height: 28px; }
.acl-bank-new-title { font-size: 13px; font-weight: 800; }
.acl-bank-new-why { display: none; font-size: 14px; font-weight: 600; }

/* Prospecting vs retargeting */
.acl-splits { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.acl-split { display: flex; flex-direction: column; gap: 10px; min-width: 0; background: var(--cream, #fffbe6); border: 2.5px solid var(--ink, #16130a); border-radius: 16px; padding: 12px 14px; }
.acl-split-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; }
.acl-split-name { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 24px; line-height: 1.1; }
.acl-split-who { font-size: 13px; color: var(--acl-muted); overflow-wrap: anywhere; }
.acl-split-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.acl-split-best { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: var(--sun, #ffe14a); border: 2px solid var(--ink, #16130a); min-width: 0; }
.acl-split-best > span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.35; min-width: 0; overflow-wrap: anywhere; }
.acl-split-img { display: block; flex: none; width: 52px; height: 65px; object-fit: cover; border-radius: 8px; border: 2px solid var(--ink, #16130a); box-sizing: border-box; font-size: 11px; }
.acl-split-note { margin: 0; font-size: 14px; line-height: 1.45; color: var(--acl-muted); }

/* Every creative */
.acl-ads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.acl-ad { display: flex; flex-direction: column; min-width: 0; background: var(--cream, #fffbe6); border: 2.5px solid var(--ink, #16130a); border-radius: 16px; overflow: hidden; }
.acl-ad-pic { position: relative; display: block; }
.acl-ad-img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #fff; border-bottom: 2.5px solid var(--ink, #16130a); box-sizing: border-box; }
.acl-ad-type, .acl-ad-camp { position: absolute; left: 6px; padding: 2px 7px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; max-width: calc(100% - 12px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-sizing: border-box; }
.acl-ad-type { top: 6px; background: var(--ink, #16130a); color: var(--sun, #ffe14a); }
.acl-ad-camp { bottom: 8px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink, #16130a); }
.acl-ad-camp--retargeting { background: var(--sky-soft, #e4efff); }
.acl-ad-copy { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; padding: 8px 10px 10px; min-width: 0; }
.acl-ad-title { font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.acl-ad-tags { font-size: 13px; color: var(--acl-muted); overflow-wrap: anywhere; }
.acl-ad-nums { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: auto; font-size: 13px; font-weight: 700; }
.acl-ad-copy .acl-chip { align-self: flex-start; white-space: normal; }

/* The Test board (#/ads/creative/test) */
.acl-test-hero { display: grid; gap: 8px; }
.acl-test-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; min-width: 0; }
.acl-test-main { container: aclmain / inline-size; display: grid; gap: 18px; min-width: 0; }
.acl-test-aside { display: grid; gap: 18px; min-width: 0; }
.acl-step-n { color: var(--acl-brown); }
.acl-pick-bodies { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.acl-pick-body { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 16px; border: 2px solid #b9b19a; background: #fff; text-align: left; font: inherit; color: var(--ink, #16130a); cursor: pointer; min-width: 0; }
.acl-pick-body.is-on { border: 3px solid var(--ink, #16130a); background: var(--sun-soft, #fff4b8); }
.acl-pick-body-img { display: block; width: 78px; height: 98px; object-fit: cover; border-radius: 10px; border: 2px solid var(--ink, #16130a); box-sizing: border-box; }
.acl-pick-body-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.acl-pick-body-name { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 22px; line-height: 1.1; }
.acl-pick-body-why { font-size: 14px; line-height: 1.35; color: var(--acl-muted); }
.acl-picked { font-size: 15px; font-weight: 700; }
.acl-pick-hooks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.acl-pick-hook { display: flex; flex-direction: column; padding: 0; border-radius: 14px; border: 2px solid #b9b19a; background: #fff; overflow: hidden; text-align: left; font: inherit; color: var(--ink, #16130a); cursor: pointer; min-width: 0; }
.acl-pick-hook.is-on { border: 3px solid var(--ink, #16130a); box-shadow: 4px 4px 0 var(--sun, #ffe14a); }
.acl-pick-hook.is-locked { cursor: default; }
.acl-pick-hook[aria-disabled='true']:not(.is-on) { cursor: not-allowed; }
.acl-pick-hook-pic { position: relative; display: block; }
.acl-pick-hook-pic img, .acl-pick-hook-pic .acl-bank-ph { display: grid; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.acl-pick-hook:not(.is-on) .acl-pick-hook-pic img, .acl-pick-hook:not(.is-on) .acl-pick-hook-pic .acl-bank-ph { opacity: 0.55; }
.acl-check { position: absolute; left: 6px; top: 6px; width: 28px; height: 28px; box-sizing: border-box; border-radius: 8px; border: 2.5px solid var(--ink, #16130a); background: #fff; display: grid; place-items: center; color: var(--sun, #ffe14a); font-weight: 900; font-size: 16px; }
.acl-pick-hook.is-on .acl-check { background: var(--ink, #16130a); }
.acl-pick-tag { position: absolute; right: 6px; top: 6px; padding: 2px 7px; border-radius: 999px; background: var(--ink, #16130a); color: var(--sun, #ffe14a); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; max-width: calc(100% - 46px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acl-pick-hook-copy { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; min-width: 0; }
.acl-pick-hook-code { font-weight: 800; font-size: 14px; }
.acl-pick-hook-line { font-size: 13px; line-height: 1.3; color: var(--acl-muted); overflow-wrap: anywhere; }
.acl-budget { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.acl-budget-group { display: flex; flex-direction: column; gap: 8px; }
.acl-budget-label { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.acl-rules { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.45; }
.acl-summary { display: flex; flex-direction: column; gap: 12px; background: var(--ink, #16130a); color: var(--cream, #fffbe6); border-radius: 20px; padding: 20px; box-shadow: 7px 7px 0 var(--sun, #ffe14a); min-width: 0; }
.acl-summary-label { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sun, #ffe14a); }
.acl-summary-total { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 40px; line-height: 1; }
.acl-summary-math { font-size: 15px; line-height: 1.45; color: var(--acl-rule); }
.acl-summary-line { font-size: 15px; line-height: 1.45; }
.acl-push-btn { min-height: 56px; border-radius: 14px; border: 0; background: var(--sun, #ffe14a); color: var(--ink, #16130a); font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 24px; cursor: pointer; }
.acl-push-btn:disabled { opacity: 0.6; cursor: progress; }
.acl-push-btn:focus-visible { outline: 3px solid var(--sun, #ffe14a); outline-offset: 3px; }
.acl-summary-note { font-size: 13px; line-height: 1.4; color: var(--acl-rule); }
.acl-summary-note--ink { color: var(--acl-muted); }
.acl-sent { padding: 12px 14px; border-radius: 14px; background: var(--green-soft, #dcf2e4); color: var(--ink, #16130a); font-size: 15px; line-height: 1.45; }
.acl-sent--sun { background: var(--sun-soft, #fff4b8); }
.acl-error { padding: 8px 10px; border-radius: 10px; background: #ffe1de; color: var(--acl-red-ink); font-size: 14px; font-weight: 700; line-height: 1.4; }
.acl-newhook form { display: grid; gap: 12px; min-width: 0; }
.acl-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 800; min-width: 0; }
.acl-field input, .acl-field select { min-height: 46px; padding: 0 12px; border-radius: 12px; border: 2px solid var(--ink, #16130a); background: #fff; color: var(--ink, #16130a); font: 600 16px 'Source Sans 3', sans-serif; min-width: 0; box-sizing: border-box; width: 100%; }
.acl-angles { border: 0; padding: 0; margin: 0; min-width: 0; }
.acl-angles legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 800; }
.acl-pill--radio { position: relative; }
.acl-pill--radio input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.acl-pill--radio:focus-within { outline: 3px solid var(--ink, #16130a); outline-offset: 2px; }
.acl-idea-hint { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--sun-soft, #fff4b8); font-size: 14px; line-height: 1.4; }
.acl-make { min-height: 50px; border-radius: 14px; border: 2.5px solid var(--ink, #16130a); background: var(--sun, #ffe14a); color: var(--ink, #16130a); font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 20px; cursor: pointer; box-shadow: 4px 4px 0 var(--ink, #16130a); }
.acl-make:disabled { opacity: 0.6; cursor: progress; }

@container aclmain (min-width: 520px) {
  .acl-pick-bodies { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .acl-pick-hooks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}
@container aclmain (min-width: 700px) { .acl-pick-hooks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container aclmain (min-width: 860px) { .acl-pick-hooks { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

@container acl (min-width: 560px) {
  .acl-splits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acl-ads { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .acl-bank { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* A wide page: the hero's button beside the title, the insights in a row, the hooks table, the full bank cards. */
@container acl (min-width: 760px) {
  .acl-wide-only { display: inline; }
  .acl-phone-only { display: none; }
  .acl-hero { padding: 24px 28px; gap: 16px; border-radius: 20px; box-shadow: 8px 8px 0 var(--sun, #ffe14a); }
  .acl-hero-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
  .acl-hero-copy { flex: 1 1 460px; }
  .acl-title { font-size: 64px; line-height: 1.02; }
  .acl-lead { font-size: 18px; }
  .acl-push--hero { display: inline-flex; font-size: 22px; }
  .acl-push--foot { display: none; }
  .acl-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
  .acl-search { flex: 1 1 380px; min-height: 52px; padding: 0 16px; border-radius: 14px; }
  .acl-search input { font-size: 17px; }
  .acl-filters { display: flex; flex-wrap: wrap; gap: 8px 12px; }
  .acl-pill { padding: 8px 16px; font-size: 15px; }
  .acl-insights { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .acl-insight { gap: 6px; border-radius: 18px; padding: 16px 18px; }
  .acl-insight-label { font-size: 12px; }
  .acl-insight-title { font-size: 28px; }
  .acl-insight-line { font-size: 15px; line-height: 1.45; }
  .acl-results { gap: 26px; }
  .acl-h2 { font-size: 36px; }
  .acl-h3 { font-size: 26px; }
  .acl-note { font-size: 15px; }
  .acl-card { border-radius: 20px; padding: 18px 20px; }
  .acl-chip { padding: 3px 10px; font-size: 12px; }
  .acl-tests { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acl-table-card { display: block; }
  .acl-hook-cards { display: none; }
  .acl-bank-card { border-width: 2.5px; border-radius: 16px; }
  .acl-bank-img, .acl-bank-card .acl-bank-ph { border-bottom-width: 2.5px; }
  .acl-bank-ph > span { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 18px; font-weight: 400; line-height: 1.15; -webkit-line-clamp: 6; }
  .acl-bank-copy { padding: 10px 12px; }
  .acl-bank-code { font-size: 15px; }
  .acl-bank-line { display: block; }
  .acl-bank-new { min-height: 260px; gap: 10px; padding: 16px; border-width: 3px; border-radius: 16px; }
  .acl-bank-new svg { width: 44px; height: 44px; }
  .acl-bank-new-title { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 24px; font-weight: 400; line-height: 1.1; }
  .acl-bank-new-why { display: block; }
  .acl-split { gap: 12px; border-radius: 20px; padding: 18px 20px; }
  .acl-split-name { font-size: 28px; }
  .acl-split-who { font-size: 14px; }
  .acl-split-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .acl-ad-camp { left: auto; right: 8px; top: 8px; bottom: auto; max-width: calc(50% - 8px); }
  .acl-ad-type { left: 8px; top: 8px; font-size: 11px; max-width: calc(50% - 8px); }
  .acl-ad-copy { padding: 10px 12px; }
  .acl-test-hero .acl-title { font-size: 58px; }
}
@container acl (min-width: 900px) {
  .acl-bodies { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .acl-body { grid-template-columns: 190px minmax(0, 1fr); border-radius: 20px; }
  .acl-body.is-on { box-shadow: 7px 7px 0 var(--sun, #ffe14a); }
  .acl-body-img { min-height: 238px; }
  .acl-body-copy { gap: 10px; padding: 16px 18px; }
  .acl-body-name { font-size: 30px; }
  .acl-winner { padding: 3px 10px; font-size: 12px; }
  .acl-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .acl-stat { padding: 8px 10px; border-radius: 12px; }
  .acl-stat--wide { display: flex; }
  .acl-stat-v { font-size: 22px; }
  .acl-stat-k { font-size: 12px; }
  .acl-bank { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .acl-ads { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .acl-test-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 26px; }
}
@container acl (min-width: 1060px) { .acl-ads { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .acl * { transition: none !important; animation: none !important; } }

/* Your budget (2026-10-16, docs/ads/budget-controls.md): first card on #/ads; the brake sits where the spend is. */
.ads-budget-slot:empty { display: none; }
.bud { padding: 18px 20px; display: grid; gap: 12px; }
.bud--loading { min-height: 120px; }
.bud-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.bud-head .ads-h2 { margin: 0; }
.bud-total { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.bud-big { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.2rem); line-height: 1.1; margin: 0; }
.bud-stop { min-height: 48px; padding-inline: 20px; font-weight: 800; }
.bud-stopped { display: grid; gap: 8px; justify-items: start; padding: 14px 16px; border-radius: 14px; background: var(--hot-soft, #ffe1ea); box-shadow: inset 0 0 0 2px var(--danger, #b4234d); }
.bud-stopped-title { font-weight: 800; font-size: 1.08rem; margin: 0; }
.bud-stopped .btn { min-height: 44px; }
.bud-list { list-style: none; padding: 0; margin: 0; display: grid; }
.bud-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line, rgb(22 19 10 / 10%)); }
.bud-list > .bud-row:first-child { border-top: 0; }
.bud-row.is-off .bud-row-main strong { color: var(--ink-2, #4a463c); }
.bud-row-main { min-width: 0; display: grid; gap: 2px; }
.bud-row-main strong { overflow-wrap: anywhere; }
.bud-row-main .ads-meta { margin: 0; }
.bud-row-side { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.bud-amount { font-weight: 800; white-space: nowrap; }
.bud-row-actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.bud-row-actions:empty { display: none; }
.bud-row-actions .btn { min-height: 40px; }
@media (min-width: 720px) {
  .bud-row { grid-template-columns: minmax(0, 1fr) auto auto; }
  .bud-row-actions { grid-column: auto; justify-content: flex-end; }
}
.bud-more summary { cursor: pointer; font-weight: 700; padding: 8px 0; min-height: 44px; display: flex; align-items: center; }
.bud-google { border-top: 1px solid var(--line, rgb(22 19 10 / 10%)); }
.bud-cant { margin: 0; }
.bud-foot { margin: 0; }
.bud-big-ask { padding: 12px 14px; border-radius: 12px; background: var(--sun-soft, #fff4b8); display: grid; gap: 8px; justify-items: start; }
.bud-big-title { font-weight: 800; margin: 0; }
.bud-reason { margin-top: 10px; }
.bud-home { margin: 10px 0 0; font-weight: 700; }
.bud-home a { color: inherit; }
.bud-home--stopped a { color: var(--danger, #b4234d); }
#ads-budget { scroll-margin-top: 76px; }

/* "Ready to run ads?" (2026-10-16, public/harbor-ads-yes.mjs): Home's one-tap yes and #/ads-yes. */
.ay-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; align-items: center; padding: 20px 22px; margin: 18px 0; }
.ay-card--page { max-width: 680px; margin: 8px auto 24px; padding: 28px; }
.ay-head { display: grid; gap: 10px; justify-items: start; }
.ay-title { margin: 0; font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.25rem); line-height: 1.08; }
.ay-pitch { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; margin: 16px 0 18px; }
.ay-andy { width: 56px; height: 56px; }
.ay-text { margin: 0; max-width: 60ch; font-size: 16px; line-height: 1.45; color: var(--ink, #16130a); }
.ay-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.ay-yes {
  min-height: 56px; padding: 12px 30px; font-size: 17px; font-weight: 800; letter-spacing: .01em;
  background: var(--sun, #ffe14a); color: var(--ink, #16130a); border: 2px solid var(--ink, #16130a); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink, #16130a); transition: transform .12s var(--ease, ease-out), box-shadow .12s var(--ease, ease-out);
}
.ay-yes:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink, #16130a); background: var(--sun, #ffe14a); color: var(--ink, #16130a); }
.ay-yes:active:not(:disabled) { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink, #16130a); }
.ay-yes:focus-visible { outline: 3px solid var(--ink, #16130a); outline-offset: 4px; }
.ay-yes:disabled { background: #efece1; color: var(--ink-3, rgb(22 19 10 / 60%)); border-color: rgb(22 19 10 / 25%); box-shadow: none; cursor: not-allowed; }
.ay-later { min-height: 44px; }
.ay-art { width: 140px; height: 140px; object-fit: contain; }
.ay-done { display: grid; gap: 10px; justify-items: start; }
.ay-done:focus { outline: none; }
.ay-done .sm-sticker svg { flex: none; }
.ay-done-line { margin: 0; font-size: 17px; line-height: 1.45; }
.ay-meta { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.ay-home { margin-top: 6px; }
.ay-page { padding-top: 4px; }
@media (max-width: 600px) {
  .ay-card { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; }
  .ay-card--page { padding: 22px 16px; }
  .ay-art { display: none; }
  .ay-actions { flex-direction: column; align-items: stretch; }
  .ay-yes { width: 100%; }
  .ay-later { align-self: center; }
}
@media (prefers-reduced-motion: reduce) { .ay-yes, .ay-yes:hover:not(:disabled), .ay-yes:active:not(:disabled) { transition: none; transform: none; } }
