/* Soulwidth AI app (sign-up, client portal, admin) — builds on site.css */
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.app-top .nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; font-size: 1.1rem; }
.app-top__right { display: flex; align-items: center; gap: 14px; font-size: 0.9rem; color: var(--ink-3); }
.app-top__right button { background: none; border: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; font: inherit; }
.app-top__right button, .app-top__right a { white-space: nowrap; }
@media (max-width: 480px) { .app-top__right > span { display: none; } } /* the email is in Your account; keep the top bar to one line */
.app-main { padding: 24px 0 96px; }
.app-main .wrap { max-width: 860px; }
.tagline { font-size: 0.95rem; color: var(--ink-3); margin-top: 10px; }
.tagline b { color: var(--ink); font-weight: 600; }
.app-h { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; }
.muted { color: var(--ink-3); }
.small { font-size: 0.86rem; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.banner { background: var(--swash); border-radius: 14px; padding: 14px 18px; font-weight: 600; margin-bottom: 20px; }
.banner--soft { background: var(--paper-2); font-weight: 500; }

/* Plan picker */
.planpick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .planpick { grid-template-columns: 1fr; } }
.planpick label { position: relative; display: block; border: 1.5px solid var(--line); border-radius: 18px; padding: 18px; cursor: pointer; background: #fff; transition: border-color .2s, box-shadow .2s; }
.planpick input { position: absolute; opacity: 0; }
.planpick b { display: block; font-size: 1.05rem; }
.planpick .price { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.03em; margin: 6px 0 2px; }
.planpick .price small { font-size: 0.85rem; font-weight: 500; color: var(--ink-3); }
.planpick label:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px var(--swash); }

/* Answer box with voice recording */
.answer textarea { width: 100%; min-height: 130px; border: 1px solid rgba(14,14,18,0.18); border-radius: 14px; padding: 14px; font: inherit; font-size: 1rem; resize: vertical; }
.answer textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--swash); }
.answer__bar { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.answer__status { font-size: 0.86rem; color: var(--ink-3); }
.rec { display: inline-flex; align-items: center; gap: 9px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 18px; font-weight: 600; cursor: pointer; font: inherit; font-weight: 600; }
.rec__dot { width: 10px; height: 10px; border-radius: 50%; background: #E5484D; }
.rec.on { background: var(--ink); color: #fff; }
.rec.on .rec__dot { animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }

/* Platforms + photos */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 10px 18px; border: 1.5px solid rgba(14,14,18,0.18); border-radius: 999px; font-weight: 600; font-size: 0.95rem; }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:disabled + span { opacity: 0.4; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.photos figure { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.photos img { width: 100%; height: 100%; object-fit: cover; }
.photos figure button { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(14,14,18,0.75); color: #fff; cursor: pointer; }
.photos figure.sel { box-shadow: 0 0 0 3px var(--ink); }
.dropzone { display: grid; place-items: center; aspect-ratio: 1; border: 1.5px dashed rgba(14,14,18,0.3); border-radius: 12px; cursor: pointer; text-align: center; font-size: 0.85rem; color: var(--ink-2); padding: 8px; }
.dropzone input { display: none; }

/* Status + ads */
.status { border-radius: var(--radius-lg); padding: 28px; background: var(--ink); color: #fff; }
.status h2 { font-size: 1.6rem; letter-spacing: -0.03em; }
.status p { color: rgba(255,255,255,0.75); margin-top: 6px; }
.concept { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.concept + .concept { margin-top: 16px; }
.concept h3 { font-size: 1.1rem; letter-spacing: -0.02em; }
.media { display: flex; gap: 12px; overflow-x: auto; padding: 12px 0; }
.media img, .media video { height: 300px; width: auto; border-radius: 12px; background: var(--paper-2); flex: none; }
.copy { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.copy div { background: var(--paper-2); border-radius: 12px; padding: 12px 14px; font-size: 0.92rem; }
.copy b { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 4px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr 1fr; } }
.stats div { background: var(--paper-2); border-radius: 14px; padding: 14px; }
.stats b { display: block; font-size: 1.6rem; letter-spacing: -0.03em; }
.stats span { font-size: 0.78rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.history { list-style: none; }
.history li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.tag-status { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: var(--paper-2); border-radius: 999px; padding: 3px 10px; }

/* Admin */
.admin { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .admin { grid-template-columns: 1fr; } }
.admin .wrap { max-width: 1240px; }
.queue { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 16px; }
.queue button { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 14px; cursor: pointer; font: inherit; }
.queue button.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--swash); }
.queue small { display: block; color: var(--ink-3); }
.edit input, .edit textarea { width: 100%; border: 1px solid rgba(14,14,18,0.18); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 0.92rem; }
.edit textarea { min-height: 70px; resize: vertical; }
.edit label { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); margin: 10px 0 4px; }
audio { width: 100%; margin-top: 8px; }

/* Inside the iPhone app: keep the header clear of the notch and the content clear of the home bar */
.in-app .app-top { padding-top: calc(env(safe-area-inset-top, 0px) + 12px); }
.in-app body { padding-bottom: env(safe-area-inset-bottom, 0px); }
.in-app input, .in-app textarea { font-size: 16px; } /* stops iOS zooming into fields */

/* Map picker for the business location and ad radius (areapick.js) */
.area { display: flex; flex-direction: column; gap: 10px; }
.area__row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.area__row select, .area__row input[type=search] { flex: 1 1 200px; min-width: 0; border: 1px solid rgba(14,14,18,.18); border-radius: 12px; padding: 10px 12px; font: inherit; background: #fff; }
.area__units { display: inline-flex; border: 1px solid rgba(14,14,18,.18); border-radius: 999px; padding: 3px; background: #fff; }
.area__units button { border: 0; background: none; font: inherit; font-size: 0.88rem; padding: 6px 14px; border-radius: 999px; cursor: pointer; color: var(--ink-3); }
.area__units button[aria-pressed=true] { background: var(--ink); color: #fff; }
.area__map { height: 300px; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; z-index: 0; }
@media (max-width: 600px) { .area__map { height: 240px; } }
.area__radius { display: flex; flex-direction: column; gap: 6px; font-weight: 400 !important; }
.area__radius input { width: 100%; accent-color: var(--ink); }
.area__label { margin: 0; }

/* Ideas for the next ad (from the AI), tap to start a brief with one */
.ideas { display: grid; gap: 8px; }
.idea { display: block; width: 100%; text-align: left; font: inherit; font-size: 0.95rem; line-height: 1.4; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.idea:hover, .idea:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 3px var(--swash); outline: none; }

/* Media library (library.js) */
.lib figure { cursor: pointer; }
.lib video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib__badge { position: absolute; left: 6px; bottom: 6px; font-size: 0.72rem; font-weight: 700; color: #fff; background: rgba(14,14,18,0.75); border-radius: 999px; padding: 2px 8px; }
.lib__tick { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 0.85rem; }
.lib figure:focus-visible { outline: 3px solid var(--swash); outline-offset: 2px; }
.design-swatch { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 0.88rem; }
.design-swatch i { width: 22px; height: 22px; border-radius: 6px; display: inline-block; border: 1px solid rgba(14,14,18,.12); }

/* Embedded checkout (checkout.js) — Stripe's form inside a Soulwidth panel */
.pay__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.pay__price { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.pay__price small { font-size: 0.85rem; font-weight: 500; color: var(--ink-3); }
.pay__incl { list-style: none; padding: 14px 0 0; margin: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 0.92rem; }
.pay__incl li::before { content: "✓"; font-weight: 700; margin-right: 8px; }
.pay__form { margin-top: 20px; min-height: 320px; border-radius: 16px; overflow: hidden; }
.pay__foot { margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.pay__back { background: none; border: 0; font: inherit; text-decoration: underline; cursor: pointer; color: var(--ink-2); padding: 0; }

/* After purchase */
.welcome { background: var(--ink); color: #fff; border-radius: 28px; padding: 32px; }
.welcome h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.welcome p { color: rgba(255,255,255,0.78); margin-top: 10px; }
.welcome ol { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); counter-reset: w; }
.welcome li { counter-increment: w; background: rgba(255,255,255,0.07); border-radius: 16px; padding: 14px 16px; font-size: 0.93rem; line-height: 1.45; }
.welcome li::before { content: counter(w); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--swash); color: var(--ink); font-weight: 800; font-size: 0.85rem; margin-bottom: 8px; }
.welcome li b { display: block; color: #fff; }

/* Results page (results.js) */
.res__tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
@media (max-width: 760px) { .res__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .res__tile:last-child { grid-column: span 2; } }
.res__tile { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 2px; }
.res__tile b { font-size: clamp(1.3rem, 2.6vw, 1.7rem); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.res__tile span { font-size: 0.86rem; color: var(--ink-2); }
.res__tile small { font-size: 0.76rem; color: var(--ink-3); }
.res__chart { margin-top: 16px; position: relative; }
.res__charthead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.res__metrics { display: flex; flex-wrap: wrap; gap: 4px; }
.res__metrics button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 0.8rem; cursor: pointer; color: var(--ink-2); }
.res__metrics button[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.res__svg { width: 100%; height: auto; display: block; overflow: visible; }
.res__grid { stroke: var(--line); stroke-width: 1; }
.res__axis { font-size: 11px; fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.res__col { fill: var(--ink); }
.res__hit { fill: transparent; }
g.on .res__col { fill: #3B3B45; }
g.on .res__hit { fill: rgba(235, 212, 126, 0.25); }
.res__tip { position: absolute; top: 56px; width: 180px; background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 12px; font-size: 0.8rem; display: grid; gap: 2px; pointer-events: none; font-variant-numeric: tabular-nums; z-index: 2; }
.res__tip span { color: rgba(255,255,255,0.7); }
.res__tip span.on { color: var(--swash); font-weight: 700; }
.res__two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 700px) { .res__two { grid-template-columns: 1fr; } }
.res__bar { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 10px; font-size: 0.88rem; }
.res__btrack { height: 10px; background: #F1EFE8; border-radius: 999px; overflow: hidden; }
.res__btrack i { display: block; height: 100%; background: var(--ink); border-radius: 0 4px 4px 0; }
.res__bval { font-variant-numeric: tabular-nums; font-weight: 700; }
.res__bval small { font-weight: 400; color: var(--ink-3); }
.res__scroll { overflow-x: auto; margin-top: 8px; }
.res__table { width: 100%; border-collapse: collapse; font-size: 0.86rem; min-width: 640px; }
.res__table th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; padding: 8px 8px; border-bottom: 1px solid var(--line); }
.res__table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.res__table .n { text-align: right; font-variant-numeric: tabular-nums; }
.res__table code, .res code { font-size: 0.78rem; background: #F1EFE8; border-radius: 6px; padding: 2px 6px; }
.res__ad { display: flex; gap: 10px; align-items: center; min-width: 200px; }
.res__ad img, .res__noimg { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: #F1EFE8; flex: none; }
.res__ad b { display: block; font-size: 0.88rem; }
.res__ad small { color: var(--ink-3); font-size: 0.76rem; }
.res-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Platform previews (previews.js): each ad as it appears on the platform */
.pvs { margin-top: 16px; }
.pvs__concept { font-size: 1.05rem; margin: 18px 0 8px; }
.pvs__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pvs__tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 13px; font: inherit; font-size: 0.84rem; cursor: pointer; color: var(--ink-2); }
.pvs__tabs button[aria-selected=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pvs__stage { display: grid; place-items: start center; background: #EEECE6; border-radius: 22px; padding: 22px 12px; }
.pvs__one { width: 100%; display: grid; place-items: center; }
.pvs__note { margin-top: 8px; }
.pv { width: 100%; max-width: 380px; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(14,14,18,.10); overflow: hidden; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #050505; font-size: 14px; line-height: 1.35; text-align: left; }
.pv b { font-weight: 600; }
.pv__head { display: flex; align-items: center; gap: 9px; padding: 10px 12px; }
.pv__head > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pv__head small, .pv small { color: #65676B; font-size: 12px; }
.pv__dots { color: #65676B; letter-spacing: 1px; }
.pv__av { width: 36px; height: 36px; flex: none; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ink); color: var(--swash); font-weight: 700; font-size: 15px; }
.pv__text { padding: 0 12px 10px; white-space: pre-line; overflow-wrap: anywhere; }
.pv__more { color: #65676B; }
.pv__tags { color: #00376B; }
.pv__media { position: relative; background: #000; aspect-ratio: 4 / 5; overflow: hidden; }
.pv__media--port { aspect-ratio: 4 / 5; }
.pv__media--wide { aspect-ratio: 1.91 / 1; }
.pv__media--pin { aspect-ratio: 2 / 3; border-radius: 16px; }
.pv__media--round { border-radius: 14px; border: 1px solid #CFD9DE; }
.pv__media img, .pv__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv__media[data-kind=image] video, .pv__media[data-kind=video] img { display: none; }
.pv__media[data-kind=video] video { display: block; }
.pv__noimg { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font-size: 13px; opacity: .7; }
.pv__switch { position: absolute; right: 8px; top: 8px; display: flex; background: rgba(0,0,0,.55); border-radius: 999px; padding: 2px; }
.pv__switch button { border: 0; background: none; color: #fff; font: inherit; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; cursor: pointer; }
.pv__switch button[aria-pressed=true] { background: #fff; color: #000; }
.pv__link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #F0F2F5; }
.pv__link > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.pv__link small { font-size: 11.5px; }
.pv__btn { flex: none; background: #E4E6EB; color: #050505; font-weight: 600; font-size: 13.5px; padding: 7px 12px; border-radius: 6px; white-space: nowrap; }
.pv__react { display: flex; justify-content: space-around; padding: 8px 12px; color: #65676B; font-size: 13px; border-top: 1px solid #E4E6EB; }
/* Instagram */
.pv--ig .pv__av { width: 32px; height: 32px; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #D62976; }
.pv__igcta { display: flex; justify-content: space-between; padding: 10px 12px; color: #0095F6; font-weight: 600; border-bottom: 1px solid #EFEFEF; }
.pv__igicons { display: flex; gap: 14px; padding: 8px 12px 4px; font-size: 20px; }
.pv__igicons .pv__save { margin-left: auto; }
.pv--ig .pv__text { padding-top: 4px; }
/* LinkedIn */
.pv--li { font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.pv--li .pv__av { border-radius: 4px; }
.pv--li .pv__link { background: #EEF3F8; }
.pv__btn--li { background: #fff; color: #0A66C2; border: 1.5px solid #0A66C2; border-radius: 999px; }
/* X */
.pv--x { padding: 12px; border-radius: 16px; }
.pv__xrow { display: flex; gap: 10px; }
.pv__xrow > div { min-width: 0; flex: 1; }
.pv__xname { margin-bottom: 2px; }
.pv--x .pv__text { padding: 0 0 10px; }
.pv__xfrom { color: #536471; font-size: 12.5px; margin: 6px 0 2px; }
.pv--x .pv__react { border: 0; justify-content: space-between; padding: 6px 0 0; }
/* Reddit */
.pv__rdhead { display: flex; align-items: center; gap: 6px; padding: 10px 12px 4px; font-size: 12.5px; }
.pv__rdhead .pv__av { width: 22px; height: 22px; font-size: 11px; }
.pv__rdtitle { padding: 2px 12px 6px; font-size: 17px; font-weight: 600; }
.pv__btn--rd { background: #0045AC; color: #fff; border-radius: 999px; }
/* Pinterest */
.pv--pi { padding: 10px; box-shadow: none; background: transparent; }
.pv__pititle { font-weight: 600; padding: 8px 4px 2px; }
.pv__piby { display: flex; align-items: center; gap: 6px; padding: 2px 4px; font-size: 12.5px; color: #5F5F5F; }
.pv__piby .pv__av { width: 22px; height: 22px; font-size: 11px; }
/* Google search */
.pv--g { padding: 14px 16px; font-family: Arial, sans-serif; }
.pv__gspons { font-weight: 700; font-size: 12px; margin-bottom: 6px; }
.pv__gsite { display: flex; align-items: center; gap: 8px; }
.pv__gsite .pv__av { width: 26px; height: 26px; font-size: 12px; }
.pv__gsite span { display: flex; flex-direction: column; font-size: 13px; }
.pv__gtitle { color: #1A0DAB; font-size: 19px; margin: 8px 0 4px; line-height: 1.25; }
.pv__gdesc { color: #4D5156; font-size: 13.5px; }
/* Twitch */
.pv--tw { background: #18181B; color: #EFEFF1; }
.pv--tw small { color: #ADADB8; }
.pv--tw .pv__link { background: #1F1F23; }
.pv__btn--tw { background: #9146FF; color: #fff; }
.pv__adbadge { position: absolute; left: 8px; top: 8px; background: #FFD37A; color: #000; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
/* Phone (TikTok, YouTube Shorts, Snapchat) */
.pv--phone { max-width: 270px; border-radius: 30px; padding: 8px; background: #111; }
.pv__screen { position: relative; aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: #000; color: #fff; }
.pv__screen img, .pv__screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv__side { position: absolute; right: 8px; bottom: 120px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 22px; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.pv__side span { display: flex; flex-direction: column; align-items: center; }
.pv__side small { color: #fff; font-size: 10.5px; }
.pv__side .pv__av { width: 38px; height: 38px; border: 2px solid #fff; font-size: 14px; }
.pv__over { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 12px; background: linear-gradient(transparent, rgba(0,0,0,.7)); font-size: 12.5px; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.pv__over p { margin: 3px 0; padding-right: 40px; }
.pv__over small { color: rgba(255,255,255,.85); font-size: 11px; }
.pv__over .pv__tags { color: #fff; font-weight: 600; }
.pv__over .pv__more { color: rgba(255,255,255,.8); }
.pv__vbtn { display: block; margin-top: 8px; text-align: center; font-weight: 700; font-size: 13px; padding: 8px; border-radius: 4px; background: #FE2C55; color: #fff; text-shadow: none; }
.pv--youtube .pv__vbtn { background: #fff; color: #0F0F0F; border-radius: 999px; }
.pv--snapchat .pv__vbtn { background: #FFFC00; color: #000; border-radius: 999px; }
.pv--games .pv__vbtn { background: #22C55E; color: #fff; border-radius: 12px; font-size: 15px; padding: 11px; }
.pv__skip { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }

/* Monthly / 6 months / 12 months switch on sign-up */
.terms { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.terms label { position: relative; display: flex; align-items: baseline; gap: 6px; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; background: #fff; font-size: 0.92rem; }
.terms input { position: absolute; opacity: 0; }
.terms small { font-size: 0.76rem; font-weight: 700; color: var(--gold-deep, #9A7E2E); }
.terms label:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px var(--swash); }
.terms label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.price__total { display: block; font-size: 0.78rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-top: 2px; }
.pay__per { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }

.pvs__one { gap: 10px; }
.pvs__save { margin-top: 4px; }
/* Ad budget slider (sign-up and Billing & plan) */
.budget { margin-top: 18px; border: 1.5px solid var(--line); border-radius: 18px; padding: 16px 18px; background: #fff; display: grid; gap: 10px; }
.budget__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.budget output { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.budget input[type=range] { width: 100%; accent-color: #9A7E2E; }
.tag-pop { position: absolute; top: -10px; right: 14px; background: #0E0E12; color: #EBD47E; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
/* CRM campaign cards (Results page) */
.res__tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.res__camps { display: grid; gap: 14px; margin-top: 12px; }
.res__camp { border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 12px; background: #fff; }
.res__camp header { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.res__plats { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.res__plats span { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: #F5F4F0; color: #3B3B45; }
.res__plats .is-paid { background: #0E0E12; color: #EBD47E; font-weight: 700; }
.res__versions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.res__v { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; align-items: start; background: #FBF9F3; border-radius: 14px; padding: 10px; }
.res__v img, .res__v .res__noimg { width: 72px; height: 90px; object-fit: cover; border-radius: 10px; background: #EFE7D2; display: block; }
.res__v small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9A7E2E; }
.res__v b { display: block; font-size: 14px; margin-top: 2px; }
.res__v p { font-size: 13px; color: #3B3B45; margin: 4px 0 0; }
.res__nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin: 0; }
.res__nums div { background: #F5F4F0; border-radius: 12px; padding: 8px 10px; }
.res__nums dt { font-size: 12px; color: #6B6B78; }
.res__nums dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
/* 12-week plan card */
.plan-card__body { display: grid; gap: 14px; margin-top: 14px; }
.plan-card__kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.plan-card__kpis div { background: #F5F4F0; border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.plan-card__kpis small { color: #6B6B78; font-size: 12px; }
.plan-card__weeks li.on { font-weight: 700; }
/* More ways to advertise: brand videos and billboards */
.more__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 14px; }
.more__card { display: grid; gap: 4px; padding: 16px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .2s, transform .2s; }
.more__card:hover { border-color: #9A7E2E; transform: translateY(-2px); }
.more__icon { font-size: 26px; }
.thread { display: grid; gap: 10px; margin-top: 12px; }
.msg { max-width: 85%; padding: 10px 12px; border-radius: 14px; background: #F5F4F0; }
.msg--client { justify-self: end; background: #FBF4E2; }
.msg small { color: #6B6B78; font-size: 11px; } .msg p { margin: 2px 0 0; white-space: pre-wrap; }
.bb { margin: 12px 0; display: grid; gap: 6px; justify-items: start; }
.bb__screen { width: min(100%, 420px); aspect-ratio: 16 / 9; border-radius: 10px; background: #0E0E12; color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 6px; border: 8px solid #2b2b33; }
.bb__screen b { font-size: 26px; line-height: 1.05; letter-spacing: -.02em; } .bb__screen span { font-size: 15px; opacity: .85; } .bb__screen em { font-style: normal; color: #EBD47E; font-weight: 700; margin-top: 6px; }
.bb small { color: #6B6B78; font-size: 11px; }
.bbfiles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; align-items: flex-end; }
.bbfiles a { display: grid; gap: 4px; font-size: 12px; font-weight: 600; }
.bbfiles img { max-height: 180px; max-width: 100%; border-radius: 8px; border: 1px solid var(--line); }
.reading { background: #FBF4E2; border-radius: 14px; padding: 14px 16px; display: grid; gap: 10px; font-size: 1.05rem; line-height: 1.6; }

/* Google Business Profile post preview */
.pv--gbp { padding: 14px; }
.pv--gbp .pv__media--gbp { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; margin: 10px 0; }
.pv--gbp .pv__media--gbp img { width: 100%; height: 100%; object-fit: cover; }
.pv--gbp .pv__gtitle { margin: 4px 0; }
.pv__btn--gbp { display: inline-block; margin-top: 8px; border: 1px solid #DADCE0; color: #1A73E8; border-radius: 999px; padding: 6px 16px; font-weight: 600; background: #fff; }

/* ── Dashboard: workbook tabs, sheet tabs, next step (simple, visual, one thing at a time) ── */
.booktabs, .sheets { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--ink); margin-bottom: 18px; }
.booktabs button, .sheets button { font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; border: 2px solid transparent; border-bottom: 0;
  background: #EFEBE1; color: var(--ink-2, #3B3B45); padding: 10px 18px; border-radius: 12px 12px 0 0; position: relative; top: 2px; display: inline-flex; align-items: center; gap: 8px; }
.booktabs button:hover, .sheets button:hover { background: #F7E7BE; }
.booktabs button[aria-selected="true"], .sheets button[aria-selected="true"] { background: #fff; color: var(--ink); border-color: var(--ink); box-shadow: inset 0 4px 0 var(--gold, #C8A84B); }
.booktabs { font-size: 1.05rem; }
.booktabs .count { background: var(--ink); color: #EBD47E; border-radius: 999px; font-size: .78rem; padding: 2px 9px; }
.sheets { margin-top: 14px; }
.sheets .needs { width: 10px; height: 10px; border-radius: 50%; background: #D9480F; box-shadow: 0 0 0 3px rgba(217,72,15,.18); }
.sheet .panel + .panel, .sheet .concept { margin-top: 16px; }
.adhead { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; }
.adhead h2 { font-size: 1.6rem; letter-spacing: -.02em; }
.stages { list-style: none; display: flex; gap: 0; padding: 0; margin: 0; counter-reset: s; }
.stages li { font-size: .78rem; font-weight: 700; color: #9A9AA6; padding: 6px 12px 6px 18px; background: #EFEBE1; position: relative; }
.stages li:first-child { border-radius: 999px 0 0 999px; padding-left: 14px; }
.stages li:last-child { border-radius: 0 999px 999px 0; }
.stages li.done { background: #DCEFE5; color: #2F8F6B; }
.stages li.done::before { content: "✓ "; }
.stages li.now { background: var(--ink); color: #EBD47E; }
.nextstep { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 14px; padding: 16px 20px; border-radius: 18px; background: #E8F5EE; border: 2px solid #2F8F6B; }
.nextstep__i { font-size: 2rem; line-height: 1; }
.nextstep p { flex: 1 1 260px; font-size: 1.15rem; font-weight: 700; margin: 0; }
.facts { display: grid; gap: 6px; font-size: .95rem; }
.facts p { margin: 0; }
.vtag { display: inline-block; background: var(--ink); color: #EBD47E; font-size: .8rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; vertical-align: 3px; margin-right: 4px; }
.swatch { display: inline-block; width: 16px; height: 16px; border-radius: 4px; vertical-align: -3px; border: 1px solid rgba(0,0,0,.1); }
.checklist { margin: 10px 0 14px; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.checklist li::before { content: "☐ "; font-weight: 700; color: #2F8F6B; }
.qhead { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3, #6B6B78); margin: 10px 0 2px; }
.queue button { border-left: 6px solid var(--st, #9A9AA6); }
.queue .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--st, #9A9AA6); margin-right: 6px; }
@media (max-width: 900px) { .booktabs button, .sheets button { padding: 8px 12px; font-size: .92rem; } .stages li { padding: 5px 8px 5px 12px; } }
.sheets { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.sheets button { flex: 0 0 auto; padding: 10px 14px; white-space: nowrap; }
/* Line icons (assets/js/icons.js) */
.ic { flex: 0 0 auto; vertical-align: -4px; }
.ich { display: inline-flex; align-items: center; gap: 8px; }
.booktabs button .ic, .sheets button .ic { color: #9A7E2E; }
.booktabs button[aria-selected="true"] .ic, .sheets button[aria-selected="true"] .ic { color: var(--ink); }
.nextstep__i { width: 48px; height: 48px; border-radius: 14px; background: #2F8F6B; color: #fff; display: grid; place-items: center; font-size: 0; }
.qhead { display: flex; align-items: center; gap: 6px; }
.facts .ic { color: #9A7E2E; margin-right: 2px; }
.more__icon { width: 46px; height: 46px; border-radius: 14px; background: #F7E7BE; color: var(--ink); display: grid; place-items: center; font-size: 0; }
/* Connection strip: each platform's logo, in colour when connected, faded when not */
.plats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.plat { position: relative; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid rgba(14,14,18,.08); display: inline-grid; place-items: center; filter: grayscale(1); opacity: .32; transition: opacity .15s, filter .15s; }
.plat svg { width: 18px; height: 18px; display: block; }
.plat.on { filter: none; opacity: 1; box-shadow: 0 1px 4px rgba(14,14,18,.10); }
.plat.used { outline: 2px solid #C8A84B; outline-offset: 2px; }
.plat .auto { position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; background: #2F8F6B; border: 2px solid #fff; }
.res__table.conn td { vertical-align: middle; }

/* Campaign calendar (results) */
.res__cal { margin-top: 16px; position: relative; }
.res__trend { font-size: 1.05rem; margin: 2px 0 10px; }
.res__trend.up span { color: #2F8F6B; font-weight: 800; }
.res__trend.down span { color: #C2410C; font-weight: 800; }
.res__month { font-weight: 700; min-width: 128px; text-align: center; align-self: center; }
.res__path { fill: none; stroke: #9A7E2E; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.res__area { fill: rgba(200,168,75,.16); }
.res__pt { fill: #9A7E2E; stroke: #fff; stroke-width: 2; }
.res__start { stroke: #2F8F6B; stroke-width: 1.5; stroke-dasharray: 3 3; }
.res__startlbl { fill: #2F8F6B; font-weight: 700; }
.res__line g:hover .res__hit, .res__line g:focus .res__hit { fill: rgba(235,212,126,.22); }
.res__grid7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 14px; }
.res__dow { font-size: .72rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; padding: 0 4px; }
.res__day { min-height: 64px; border-radius: 10px; background: #FBFAF6; border: 1px solid var(--line); padding: 6px 7px; display: flex; flex-direction: column; gap: 2px; font-variant-numeric: tabular-nums; cursor: default; }
.res__day--pad { background: transparent; border: 0; }
.res__day.empty { color: var(--ink-3); }
.res__day.today { box-shadow: 0 0 0 2px var(--ink); }
.res__dnum { font-size: .72rem; opacity: .8; }
.res__day b { font-size: .95rem; letter-spacing: -.01em; }
.res__go { font-style: normal; font-size: .66rem; font-weight: 800; color: #fff; background: #2F8F6B; border-radius: 6px; padding: 1px 5px; align-self: flex-start; }
.res__legend { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.res__legend i { width: 16px; height: 12px; border-radius: 3px; display: inline-block; border: 1px solid rgba(14,14,18,.06); }
@media (max-width: 560px) { .res__day { min-height: 46px; padding: 4px; } .res__day b { font-size: .72rem; } .res__go { font-size: 0; padding: 4px; border-radius: 50%; } }
