/* 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-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; } }
.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); }
