/* v826 (Oct 21): streamlined result. Loads LAST, after v825-fold.css.
   Above the fold: small "Your result for" line, one plain answer, the other-insurance line,
   Apply (+ compact call card) and a quiet policy link. Everything else sits in closed native
   <details> sections (no JS). Edit / Clear / Search move to a quiet row under the sections.
   Tokens only from the existing sheets (4px scale, --ink navy, --accent, --line, --disp Nunito, --sans Figtree). */

/* 1. Hospital name line: small, so the answer leads */
#zresult .rhead{margin:0 0 var(--s3)!important}
#zresult .rhead .rhead-h{font-family:var(--sans);font-size:1rem!important;font-weight:600!important;letter-spacing:0!important;line-height:1.4;color:var(--muted);margin:0!important}

/* 2. The answer block: tighter padding, plain answer as the headline */
.hpage>.hp-out{padding-top:var(--s5);padding-bottom:var(--s5)}
.hp-out .hp-answer{margin:0;font-family:var(--disp);font-weight:700;font-size:clamp(20px,1.2vw + 15px,28px);line-height:1.25;letter-spacing:-.015em;color:var(--ink);max-width:40ch;text-wrap:pretty;overflow-wrap:anywhere}
.hp-out .hp-answer+*{margin-top:var(--s2)}
.hp-out .hp-other{margin-top:var(--s3)!important;font-size:1rem;line-height:1.45;color:var(--body);max-width:70ch}
.hp-out .hp-other-l{font-weight:700;color:var(--ink)}
.hp-out>.obadge+.hp-other,.hp-out>.zout+.hp-other{margin-top:var(--s3)!important}

/* 3. Apply block: compact */
.hpage>.hp-sec.hp-act{margin-top:var(--s4)}
.hpage>.hp-sec.hp-act .hp-lead{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.hp-act .acts>.applybtn+.callwrap{margin-top:var(--s3)}
.hp-act .acts>.hp-pollink{margin:var(--s1) 0 0;font-size:1rem}
.hp-act .acts>.hp-pollink a{display:inline-flex;align-items:center;min-height:44px;font-weight:600;color:var(--ink);text-decoration-color:rgba(59,91,140,.45);text-underline-offset:4px}
.hp-act .acts>.hp-pollink a:hover{text-decoration-color:var(--accent);text-decoration-thickness:2px}
.hp-act .acts>.hp-pollink a:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:var(--r-s)}
.hp-act .acts .applybtn{white-space:normal;text-align:center;line-height:1.25;min-height:48px;padding-top:var(--s2);padding-bottom:var(--s2)}
.hp-act .phlab{margin-bottom:var(--s1)}
.hp-act .callsay{margin-top:var(--s2)}
.hpage>.hp-sec.hp-act .hp-pollink{margin:var(--s1) 0 0}
.hp-act .acts>.hp-pollink+.callwrap{margin-top:var(--s3)}
.hpage>.hp-sec.hp-act .hp-pollink a{font-weight:600;color:var(--ink);text-decoration-color:rgba(59,91,140,.45);text-underline-offset:4px}
.hpage>.hp-sec.hp-act .hp-pollink a:hover{text-decoration-color:var(--accent);text-decoration-thickness:2px}
.hpage>.hp-sec.hp-act .hp-pollink a:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:var(--r-s)}

/* 4. Sections that open in place */
.hp-accs{margin:var(--s6) var(--in) 0;border-top:1px solid var(--line)}
.hpage .hp-accs>details.how.hp-acc{margin:0;border-top:0;border-bottom:1px solid var(--line)}
.hpage .hp-accs>details.how.hp-acc>summary{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);min-height:48px;padding:var(--s3) 0;list-style:none;cursor:pointer;text-align:left;font-family:var(--sans);font-size:1.0625rem;font-weight:650;line-height:1.35;color:var(--ink)}
.hpage .hp-accs>details.how.hp-acc>summary::-webkit-details-marker{display:none}
.hpage .hp-accs>details.how.hp-acc>summary::before{content:none;display:none}
.hpage .hp-accs>details.how.hp-acc>summary::after{content:"";flex:0 0 12px;width:12px;height:8px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23172238' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px 8px no-repeat;transition:transform .2s ease}
.hpage .hp-accs>details.how.hp-acc[open]>summary::after{transform:rotate(180deg)}
.hpage .hp-accs>details.how.hp-acc>summary:hover{text-decoration:underline;text-underline-offset:3px}
.hpage .hp-accs>details.how.hp-acc>summary:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:var(--r-s)}
.hpage .hp-accs>details.how.hp-acc>:not(summary){margin:0 0 var(--s4);max-width:70ch}
.hp-acc-b>*:first-child{margin-top:0}
.hp-acc-b p,.hp-acc-b li{font-size:1rem;line-height:1.5;color:var(--body)}
/* sections that used to be standalone cards: drop their old borders and padding inside a details */
.hp-acc .hp-sec:not(.hp-act){margin:0!important;padding:0!important;border:0!important;background:none}
.hp-acc .hp-sec+.hp-sec{margin-top:var(--s5)!important}
.hp-acc .hp-sec:not(.hp-act)>h3{margin:0 0 var(--s2);font-size:1rem;font-weight:700;color:var(--ink)}
.hp-acc .hp-id{margin:0}
.hp-acc .hp-id>.hp-h{font-size:1rem;margin:0}
/* old badge/label, now inside "How we figured this" when the plain answer is shown */
.hp-was{margin:0 0 var(--s3)}
.hp-was .obadge{font-size:1.125rem!important;line-height:1.35!important;letter-spacing:0!important;font-weight:700}
.hp-was>*{margin:0}.hp-was>*+*{margin-top:var(--s2)}
.hp-fig .qnote{margin:0 0 var(--s3)}
.hp-script{padding-left:var(--s3);border-left:2px solid var(--btn-line,#C9D1DD)}

/* 5. Quiet tools row under the sections */
.hp-tools{display:flex;flex-wrap:wrap;column-gap:var(--s6);row-gap:0;margin:var(--s3) var(--in) var(--s5)}
.hp-tools .linkbtn{min-height:44px;padding:0;color:var(--muted);font-size:1rem}
.hp-tools .linkbtn:hover{color:var(--ink)}
.hp-tools .linkbtn:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:var(--r-s)}

/* 6. Insured radio hint (index.html snippet) */
.radios .rad-sub{display:block;font-weight:400;font-size:1rem;line-height:1.35;color:var(--muted)}
.radios label:has(.rad-sub){align-items:flex-start}
.radios label:has(.rad-sub) input{margin-top:2px}

@media (min-width:768px){
  .hpage .hp-accs>details.how.hp-acc>summary{min-height:44px}
  .hp-act .acts .applybtn{min-height:44px}
  .hp-tools .linkbtn{min-height:40px}
}
@media (prefers-reduced-motion:reduce){
  .hpage .hp-accs>details.how.hp-acc>summary::after{transition:none}
}
/* call-only primary: "Call [Hospital]" with the number on a second line */
.hp-act .acts .callbtn.callbtn-prim>span{display:flex;flex-direction:column;align-items:center;text-align:center;line-height:1.25;white-space:normal}
.hp-act .acts .callbtn.callbtn-prim .callnum{font-weight:500}
.hp-act .acts .callbtn.callbtn-prim{min-height:56px;height:auto;padding-top:var(--s2);padding-bottom:var(--s2)}
