/* The PPC Second Read (/second-read), on the Daylight V1.2 system.
   Loaded after /second-read/daylight/*.css, which are unedited copies of the V1.2 lab styles
   (opn-lab, branch claude/project-thread-897an0, commit 892bd66, experiments/v12-11).
   This file only adds what V1.2 has no component for: the config switches, the mock brief,
   the four steps, the quotes, the multi-step form and its success states. Same tokens, one red. */

/* Config switches (set on <html> by the inline config script). */
html.sr-open [data-sr-closed], html.sr-closed [data-sr-open]{display:none !important;}
html:not(.sr-open):not(.sr-closed) [data-sr-closed]{display:none !important;}
html.sr-d6-default [data-sr-d6="release"], html.sr-d6-release [data-sr-d6="default"]{display:none !important;}
html:not(.sr-d6-default):not(.sr-d6-release) [data-sr-d6="release"]{display:none !important;}

.skip{position:absolute; left:12px; top:-60px; z-index:50; padding:10px 14px; border-radius:10px; background:var(--ink); color:#FFFFFF; text-decoration:none; font-weight:700}
.skip:focus{top:12px}

/* Hero: headline, then the one-sentence subheadline, then the action. The pill carries the deal terms. */
.sr-hero .pill{margin-bottom:22px}
.sr-hero h1.long{max-width:19ch}
.sr-hero .lede-sub{max-width:30em}
.sr-hero .ctas{margin-top:30px}
.sr-closed-note{margin-top:16px; padding:14px 16px; border-radius:14px; background:var(--field-2); color:var(--ink); max-width:36em}

/* Body copy inside .two columns keeps the V1.2 reading size. */
.prose .check-list{margin-top:18px}
.prose .check-list li{font-size:18px; color:var(--ink)}
.sr-turn{margin-top:26px !important; padding-top:20px; border-top:1px solid var(--rule); color:var(--ink) !important; font-weight:600}

/* What you get: the mock brief beside the two things you read. */
.sr-get-grid{display:grid; gap:20px; margin-top:32px}
@media (min-width:980px){ .sr-get-grid{grid-template-columns:minmax(0,7fr) minmax(0,5fr); align-items:start} }
.sr-read{margin-top:0; grid-template-columns:1fr !important}
.sr-read h3{margin-top:0}
.sr-backs{margin-top:28px}
.sr-backs li{grid-template-columns:1fr; gap:2px}

.sr-mock{margin:0; border:1px solid var(--line); border-radius:18px; background:#FFFFFF; overflow:hidden; box-shadow:0 24px 50px -32px rgba(23,25,29,.25)}
.sr-mock-head{display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 16px; padding:14px 16px; border-bottom:1px solid var(--line); font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-2)}
.sr-mock-head span:first-child{color:var(--ink)}
.sr-mock-t{width:100%; border-collapse:collapse; font-size:14px; table-layout:fixed}
.sr-mock-t th{font-weight:700; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-2); text-align:left; padding:12px 10px 10px; border-bottom:1px solid var(--line)}
.sr-mock-t td{padding:12px 10px; border-bottom:1px solid var(--line); color:var(--ink-2); vertical-align:middle}
.sr-mock-t tr:last-child td{border-bottom:0}
.sr-mock-t th:first-child,.sr-mock-t td:first-child{width:78px; padding-left:16px}
.sr-mock-t th:last-child,.sr-mock-t td:last-child{width:116px}
.sr-tag{display:inline-block; padding:3px 9px; border-radius:999px; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink); border:1.5px solid var(--ink)}
.sr-stop{background:var(--ink); color:#FFFFFF}
.sr-leave{border-style:dashed; color:var(--ink-2); border-color:var(--num)}
.sr-bar{display:block; height:9px; border-radius:999px; background:#E2DFD8}
@media (max-width:600px){ .sr-mock-t th:nth-child(3),.sr-mock-t td:nth-child(3){display:none} }

/* How it works: four steps, counted by CSS (no numerals in the copy). */
.sr-steps{list-style:none; margin:0; padding:0; counter-reset:sr}
.sr-steps li{counter-increment:sr; display:grid; grid-template-columns:clamp(48px,5vw,72px) minmax(0,1fr); gap:4px 16px; padding:18px 0; border-top:1px solid var(--rule)}
.sr-steps li:first-child{border-top:3px solid var(--ink)}
.sr-steps li::before{content:counter(sr, decimal-leading-zero); grid-row:span 2; font-weight:850; font-stretch:62%; font-size:clamp(34px,3.4vw,48px); line-height:.9; color:var(--num)}
.sr-steps h3{font-size:21px; font-weight:800}
.sr-steps p{color:var(--ink-2); font-size:17px; max-width:40em}
.sr-how-cta{margin:18px 0 0}
.sr-how-cta .lnk{display:inline-flex; align-items:center; gap:6px; min-height:44px; font-size:18px; color:var(--ink)}
.card .kicker{margin:0; font-size:13px; font-weight:700}

/* Quotes: word for word, no emphasis added. */
.sr-proof .kicker{margin-bottom:18px}
.sr-quote{margin:0; max-width:46em}
.sr-quote blockquote{margin:0}
.sr-quote blockquote p{font-size:clamp(21px,1.8vw,26px); line-height:1.4; font-weight:500; letter-spacing:-.008em; color:var(--ink)}
.sr-quote figcaption,.sr-quote-sm figcaption{margin-top:16px; display:grid; gap:4px; font-size:16px; line-height:1.5}
.sr-who{color:var(--ink); font-weight:700}
.sr-era{color:var(--ink-2); font-weight:400}
.sr-quote-sm{margin-top:28px; padding:22px 24px}
.sr-quote-sm blockquote p{font-size:18px; line-height:1.5; color:var(--ink)}

/* Case File 01: one link card, the check beside it. */
.sr-case-row{align-items:start}
.sr-case{display:grid; gap:10px; text-decoration:none; color:var(--ink); background:#FFFFFF; border:1px solid var(--line); border-radius:24px; padding:clamp(22px,3vw,36px); box-shadow:var(--lift); transition:border-color .18s ease-out, transform .18s ease-out}
.sr-case:hover{border-color:var(--ink)}
.sr-case:active{transform:scale(.99)}
.sr-case .kicker{margin:0}
.sr-case-h{display:block; font-size:clamp(30px,3.2vw,46px) !important}
.sr-case-p{color:var(--ink-2); font-size:18px; max-width:32em}
.sr-case .lnk{justify-self:start; text-decoration:underline}
.sr-after-case{font-size:clamp(21px,1.9vw,27px); line-height:1.3; font-weight:650; letter-spacing:-.01em; color:var(--ink)}

/* The deal. */
.sr-never{margin-top:18px !important; font-size:20px !important; color:var(--ink) !important}
.sr-d6{margin-top:22px !important; padding:16px 18px; border-radius:14px; background:var(--field-2); color:var(--ink) !important; max-width:36em}

.sr-isnt dd a,.sr-fit a,.faq .body a,.sr-done a,.after a{color:var(--ink); text-decoration-thickness:1.5px; text-underline-offset:4px}
.sr-fit{grid-template-columns:1fr}
@media (min-width:800px){ .sr-fit{grid-template-columns:1fr 1fr} }
.sr-fit .check-list{margin-top:14px; gap:8px}
.sr-fit .check-list li{font-size:17px; color:var(--ink-2)}
.sr-fit .card{background:#FFFFFF; border:1px solid var(--line)}

/* Form. */
.sr-form{max-width:none; margin-top:0}
.sr-form fieldset{border:0; margin:0; padding:0; min-width:0; display:grid; gap:14px}
.sr-form .grid2{align-items:start}
.sr-form label.field{align-content:start}
.sr-form legend{font-size:22px; font-weight:800; padding:0; margin-bottom:12px}
html.js .sr-form .sr-step{display:none}
html.js .sr-form .sr-step.is-current{display:grid}
html:not(.js) .sr-progress, html:not(.js) .sr-next, html:not(.js) .sr-back{display:none}
.sr-progress{font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-2); margin:0 0 4px}
.sr-form label.field > span:first-child,.sr-chips > span{font-size:16px; font-weight:600; color:var(--ink)}
.sr-form em{font-style:normal; font-weight:400; color:var(--ink-2)}
.sr-hint,.sr-count{display:block; font-size:16px; font-weight:400; color:var(--ink-2)}
.sr-chips{display:flex; flex-wrap:wrap; gap:8px}
.sr-chips > span{flex:1 0 100%; margin-bottom:2px}
.sr-chips label{position:relative; display:inline-flex}
.sr-chips input{position:absolute; opacity:0; width:1px; height:1px}
.sr-chips label span{display:inline-flex; align-items:center; min-height:44px; padding:0 16px; border:1.5px solid var(--rule); border-radius:999px; background:#FFFFFF; font-size:16px; font-weight:600; cursor:pointer; transition:border-color .15s ease-out, background-color .15s ease-out}
.sr-chips label span:hover{border-color:var(--ink-2)}
.sr-chips input:checked + span{border-color:var(--ink); background:var(--ink); color:#FFFFFF}
.sr-chips input:focus-visible + span{outline:3px solid var(--red); outline-offset:2px}
.sr-consent{display:grid !important; grid-template-columns:24px minmax(0,1fr); gap:10px; align-items:start; cursor:pointer; font-weight:400}
.sr-consent input{width:22px !important; height:22px !important; margin:2px 0 0 !important; accent-color:var(--ink)}
.sr-hp{position:absolute !important; left:-9999px !important; width:1px; height:1px; opacity:0}
.sr-form [aria-invalid="true"]{border-color:var(--red) !important}
.sr-err{display:none; margin:2px 0 0; font-size:16px; font-weight:600; color:#A42B15}
.sr-err.is-shown{display:block}
.sr-nav{margin-top:18px}
.sr-nav-btns{display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px}
.sr-nav .sr-back{order:-1; background:none; border:0; cursor:pointer; min-height:44px; padding:0 2px; font:600 17px/1 var(--sans); color:var(--ink); text-decoration:underline}
.sr-nav .sr-back[hidden]{display:none}
.sr-nav .btn{border:0; cursor:pointer; font:700 17px/1 var(--sans)}
.sr-nav .after{margin-top:14px}
html.js .sr-form:not(.is-last) .sr-submit{display:none}
html.js .sr-form.is-last .sr-next{display:none}
.sr-submit[aria-busy="true"]{opacity:.7; cursor:progress}
.sr-done{padding:24px; border-radius:20px; background:var(--field-2); border:1px solid var(--line)}
.sr-done .sr-done-msg{display:none; margin-top:8px; font-size:18px}
.sr-done[data-outcome="review"] [data-outcome="review"],
.sr-done[data-outcome="waitlist_fit"] [data-outcome="waitlist_fit"],
.sr-done[data-outcome="declined_agency"] [data-outcome="declined_agency"],
.sr-done[data-outcome="waitlist_full"] [data-outcome="waitlist_full"]{display:block}
.sr-done:not(.sr-confirm-live) .sr-confirm-line{display:none}

/* Not a fit / not ready: the Accountability Check by email (markup bound by /accountability-check/ak.js) */
.sr-vh{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.sr-ak{background:#fff; border:1px solid var(--rule); border-radius:18px; padding:22px; align-self:start}
.sr-ak .ak-intro p{margin:0; font-size:18px; color:var(--ink)}
.sr-ak .form{margin-top:16px; max-width:none}
.sr-ak .form .row .btn{flex:0 0 auto}
.sr-ak .ak-err{margin:0; font-size:16px; font-weight:600; color:#A42B15}
.sr-ak .ak-err:empty{display:none}
.sr-ak .ak-done h3{margin:0 0 8px; font-size:24px}
.sr-ak .ak-done p{margin:0 0 12px; font-size:17px; color:var(--ink-2)}
.sr-ak .ak-done:focus{outline:none}
@media (max-width:600px){ .sr-ak{padding:18px} .sr-ak .form .row .btn{flex:1 1 100%} }

/* Footer: links quiet by default, ink on hover, 44px tall. */
footer{font-size:16px}
.sr-foot{align-items:center}
.sr-foot .brand{font-size:16px; text-decoration:none; color:var(--ink)}
.sr-foot-links{display:flex; flex-wrap:wrap; gap:0 20px}
.sr-foot-links a{display:inline-flex; align-items:center; min-height:44px; color:var(--ink-2); text-decoration:none}
.sr-foot-links a:hover{color:var(--ink)}

/* Preview-only QA log (?dryrun=1 on a non-production host). */
.sr-qa{position:fixed; left:8px; right:8px; bottom:8px; z-index:60; max-height:38vh; overflow:auto; margin:0; padding:10px; font:12px/1.4 ui-monospace,monospace; color:#111; background:#fff8d6; border:1px solid #c9a227; border-radius:6px; white-space:pre-wrap}

@media (prefers-reduced-motion:reduce){ .sr-case,.sr-chips label span{transition:none} }

/* Feedback page (/second-read/feedback). */
.sr-fb-wrap{max-width:720px}
.sr-fb{display:grid; gap:18px}
.sr-fb-done p{font-size:18px}
.sr-ak button.lnk{background:none; border:0; padding:0; cursor:pointer; font:600 16px/1.4 var(--sans); color:var(--ink); text-decoration:underline; text-underline-offset:5px; min-height:44px}
/* The Recognition headline is a full sentence: smaller than the hero H1 so the read order stays H1 first */
.sec.sr-recog h2.long{font-size:clamp(28px,2.9vw,40px) !important; max-width:24ch; line-height:1.1}
/* Hero tag: never breaks mid-phrase; on narrow phones it wraps once, at the dot before the spend floor */
.sr-nw{white-space:nowrap}
@media (max-width:480px){ .sr-hero .pill{border-radius:14px; line-height:1.5; letter-spacing:.06em} }
/* Work order 02 (approved Nov 18) */
/* #9 hero subheadline at reading weight, so the headline leads */
.sr-hero .lede-sub{font-weight:450; color:var(--ink-2); font-size:clamp(18px,1.55vw,22px); line-height:1.45}
/* #10 the example brief sits beside the headline on wide screens; phones keep it in What you get */
.sr-hero-fig{display:none}
@media (min-width:1000px){
  .sr-hero-grid{display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:48px; align-items:center}
  .sr-hero-fig{display:block}
  .sr-get-grid > .sr-mock{display:none}
  .sr-get-grid{grid-template-columns:1fr}
}
/* #11 one line of Aiden's quote emphasized; words unchanged, no red */
.sr-em{font-style:italic; color:var(--ink); font-weight:600}
/* #12 Jason's quote under Aiden's */
.sr-proof .sr-quote-sm{margin-top:28px}
/* #14 label over the extras */
.sr-backs-label{margin:32px 0 -6px}

/* Shared .form grid styles override the browser's native [hidden] rule.
   Honor completed/reset states on the application, resource and feedback forms. */
.sr-form[hidden], .sr-ak [hidden], .sr-fb[hidden], .sr-fb-done[hidden], .sr-done[hidden]{display:none !important;}

/* ── Proof section, reader portrait, optional-detail disclosures and full-size viewer (INTEGRATION-01, from the accepted private preview) ── */
.sr-evidence h2{max-width:22ch}
.sr-evidence-figure{margin:32px 0 0}
.sr-evidence-figure a{display:block;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}
.sr-evidence-figure img{display:block;width:100%;height:auto}
.sr-evidence-figure figcaption{font-size:16px;line-height:1.5;color:var(--ink-2);max-width:56em;margin-top:12px}
.sr-evidence-context{display:grid;gap:24px;margin-top:64px;align-items:start}
.sr-evidence-context p{font-size:18px;line-height:1.5;color:var(--ink-2);margin-top:16px}
.sr-evidence-context .kicker{font-size:13px}
.sr-evidence-context .sr-evidence-figure{margin-top:0}
.sr-evidence-context .lnk{display:inline-flex;align-items:center;min-height:44px;margin-top:20px}
@media(min-width:1000px){.sr-evidence-context{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:48px}}
.sr-caseproof .sr-scan{display:grid;gap:12px;margin-top:16px;padding-left:20px;font-size:18px;line-height:1.5;color:var(--ink)}
.sr-caseproof .sr-scan li{color:var(--ink-2)} .sr-caseproof .sr-scan b{color:var(--ink)}
.sr-caseproof-all{margin-top:48px} .sr-caseproof-all .sr-evidence-figure{margin-top:28px}
.sr-caseproof-note{font-size:17px;line-height:1.5;color:var(--ink-2);max-width:48em}
.sr-caseproof-links{margin-top:28px}
/* full-size viewer: on phones show exhibits at a readable width and let the reader pan, instead of shrinking them to the screen */
@media (max-width:760px){dialog#sr-proof-view{width:100vw;max-width:100vw;height:92vh;max-height:92vh;overflow:auto;padding:8px}dialog#sr-proof-view img{width:1100px;max-width:none}}
@media (min-width:980px){.sr-caseproof .sr-evidence-context{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}}
/* FINAL-DETAILS: who-is-reading portrait, optional-detail disclosures, mobile single column, collapsed simulation log */
.sr-who-head{display:grid;grid-template-columns:96px minmax(0,1fr);gap:18px;align-items:center}
.sr-portrait{margin:0}.sr-portrait img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:14px}
.sr-who-name{margin-top:10px;display:grid;gap:2px}.sr-who-name b{font-size:20px}.sr-who-name span{color:var(--ink-2);font-size:16px}
@media (min-width:900px){.sr-who-head{grid-template-columns:1fr;align-items:start}.sr-portrait{max-width:280px}}
.sr-form details.sr-more{border-top:1px dashed var(--rule);padding-top:10px}
.sr-form details.sr-more>summary{cursor:pointer;font-size:16px;font-weight:600;color:var(--ink);list-style:none;display:flex;gap:8px;align-items:center;min-height:44px}
.sr-form details.sr-more>summary::before{content:"+";display:inline-grid;place-items:center;width:24px;height:24px;border:1.5px solid currentColor;border-radius:50%;font-weight:400}
.sr-form details.sr-more[open]>summary::before{content:"−"}
.sr-form details.sr-more>summary::-webkit-details-marker{display:none}
.sr-form details.sr-more>.field{margin-top:10px}
@media (max-width:639px){.sr-form .grid2{grid-template-columns:1fr}.sr-form .sr-nav-btns{flex-direction:column-reverse;align-items:stretch}.sr-form .sr-nav-btns .btn{width:100%;justify-content:center}.sr-form .sr-back{align-self:flex-start;min-height:44px}}
.sr-form .sr-progress{scroll-margin-top:12px}
.sr-qa{max-height:2.6em;overflow:hidden;cursor:pointer}.sr-qa:focus,.sr-qa.is-open{max-height:38vh;overflow:auto}
.sr-acct-b{margin-top:40px}
.sr-acct-sub{font-size:18px;line-height:1.5;color:var(--ink-2);margin-top:12px;max-width:48em}
.sr-acct-a{margin-top:72px;padding-top:56px;border-top:1px solid var(--rule)}
@media (max-width:760px){.sr-acct-a{margin-top:56px;padding-top:40px}}
#sr-proof-view{max-width:96vw;width:1440px;max-height:94vh;padding:16px;border:1px solid #aaa;border-radius:12px}#sr-proof-view::backdrop{background:rgba(0,0,0,.6)}#sr-proof-view img{display:block;width:100%;height:auto}.sr-proof-close{position:sticky;top:0;background:#fff;color:#111;border:1px solid #aaa;padding:12px 20px;min-height:44px;cursor:pointer}
