/* Shared tool styles for the Meta Ads, LinkedIn Ads and Website Redesign pages (3 Nov 2026). Sits on svc.css and tseo.css. This file has no script partner.
   No class here contains "ad": ad blockers hide those. */

/* a tool: inputs on one side, the answer on the other */
.pk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(28px, 4vh, 44px); padding: clamp(22px, 3vw, 40px); border: 1px solid var(--rule); border-radius: 20px; background: var(--panel); }
.pk-in { display: grid; gap: 18px; align-content: start; }
.pk-f label { display: block; margin-bottom: 6px; font-weight: 600; }
.pk-f p { margin: 6px 0 0 !important; font-size: .9rem; color: var(--muted); }
.pk-f input[type="number"], .pk-f select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--panel2, transparent); color: var(--ink); font: 500 1.05rem/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.pk-a { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; }
.pk-f select option { color: #17110E; background: #FAFAF8; }
.pk-f input:focus-visible, .pk-f select:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.pk-s { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; }
.pk-s label { font-weight: 600; }
.pk-s output { font: 700 1.25rem/1 var(--serif); color: var(--gold); font-variant-numeric: tabular-nums; }
.pk-s input { grid-column: 1 / -1; width: 100%; height: 44px; margin: 0; accent-color: var(--gold); cursor: pointer; }
.pk-out { align-self: start; }
.pk-k { margin: 0 !important; color: var(--muted); }
.pk-big { margin: 2px 0 20px !important; font: 700 clamp(2.6rem, 5.4vw, 4.2rem)/1.05 var(--serif); letter-spacing: -.02em; color: var(--gold); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pk-out dl { margin: 0; }
.pk-out dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.pk-out dt { color: var(--muted); font-size: .95rem; }
.pk-out dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pk-m { margin: 14px 0 0 !important; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 600; }
.pk-src { margin-top: 18px !important; }
.pk-src a, .pk-own a { color: var(--accent-text); text-underline-offset: 3px; }
.sv .pk-h3 { margin: clamp(40px, 6vh, 64px) 0 8px; font: 700 clamp(1.3rem, 2.1vw, 1.7rem)/1.25 var(--serif); }

/* how far a number is from a mark */
.pk-bar { position: relative; height: 8px; margin: -8px 0 26px; border-radius: 99px; background: rgba(241,233,222,.1); }
.pk-bar i { display: block; height: 100%; border-radius: 99px; background: var(--gold); transition: width .25s; }
.pk-bar span { position: absolute; right: 0; top: 12px; font-size: .8rem; color: var(--muted); }

/* questions with one answer each */
.pk-q { margin: 0; padding: 0; border: 0; min-width: 0; }
.pk-q legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.pk-cs { display: grid; gap: 6px; }
.pk-c { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s; }
.pk-c input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--gold); cursor: pointer; }
.pk-c:has(input:checked) { border-color: var(--gold); background: rgba(205,168,95,.1); }
.pk-c:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.pk-a1 { margin: 0; }
.pk-a1 h3 { margin: 0 0 10px; font: 700 clamp(1.5rem, 2.6vw, 2.1rem)/1.2 var(--serif); color: var(--gold); }
.pk-a1 p { margin: 0 0 12px !important; }
.pk-a1 a { color: var(--accent-text); text-underline-offset: 3px; }

/* proof cards */
.pk-proof .tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(24px, 3vh, 36px); }
.pk-proof .tp-grid.pk-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.pk-own { max-width: 52em; margin: clamp(24px, 3vh, 36px) 0 20px !important; }
.pk-own b { color: var(--gold); }

/* five tabs: smaller names so they fit on a phone */
@media (max-width: 760px) { .pk-camps .pipe-tabs b { font-size: .78rem; } }

/* tables inside a dark section */
.mp-creative .cmp-wrap { margin-top: clamp(20px, 3vh, 32px); }

@media (max-width: 1000px) {
  .pk { grid-template-columns: minmax(0, 1fr); }
  .pk-proof .tp-grid, .pk-proof .tp-grid.pk-3 { grid-template-columns: minmax(0, 1fr); }
}
