/* A box for hard days — scarletbeast.com/hope-box/ . Scoped to #hb so the estate chrome is untouched. */
#hb{--bone:#ece6dc;--dim:rgba(236,230,220,.72);--line:rgba(236,230,220,.16);--panel:rgba(255,255,255,.035);--scarlet:#e10100;--gold:#e8be6e;--ok:#7fd49b;
  color:var(--bone);font-size:17px;line-height:1.6;max-width:1080px;margin:0 auto;padding:28px 20px 60px}
#hb *{box-sizing:border-box}
#hb h1{font-family:var(--cond),"Arial Narrow",sans-serif;font-weight:600;font-size:clamp(30px,4.4vw,48px);letter-spacing:.02em;margin:0 0 8px;line-height:1.1}
#hb h2{font-family:var(--cond),"Arial Narrow",sans-serif;font-weight:600;font-size:24px;letter-spacing:.03em;margin:0 0 8px;display:flex;align-items:center;gap:12px}
#hb h3{font-size:17px;margin:16px 0 6px}
#hb p{margin:0 0 12px}
#hb a{color:var(--gold)}
#hb .lede{font-size:19px;color:var(--dim);max-width:760px}
#hb .kick .lang{display:inline-block;white-space:nowrap;margin-left:14px;color:#e8be6e;letter-spacing:.08em;text-decoration:none;border-bottom:1px solid currentColor}
#hb .kick{font-family:var(--cond),"Arial Narrow",sans-serif;letter-spacing:.18em;text-transform:uppercase;font-size:12px;color:var(--scarlet);margin:0 0 8px}
#hb .note{font-size:14.5px;color:var(--dim)}
#hb .box{border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:18px 20px;margin:16px 0}
#hb .box.warn{border-color:rgba(232,190,110,.5)}
#hb .box.crisis{border-color:rgba(225,1,0,.55);background:rgba(225,1,0,.07)}
#hb .box.pad{border-color:rgba(127,212,155,.45);display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin-top:0}
#hb .grid{display:grid;grid-template-columns:230px minmax(0,1fr);gap:28px;margin-top:22px}
#hb .grid>*{min-width:0}
#hb nav.jump{position:sticky;top:90px;align-self:start}
#hb nav.jump ol{list-style:none;padding:0;margin:0}
#hb nav.jump a{display:flex;gap:10px;align-items:center;padding:7px 10px;border-radius:6px;color:var(--dim);font-size:15.5px;text-decoration:none}
#hb nav.jump a:hover{background:rgba(225,1,0,.1);color:var(--bone)}
#hb .n{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;border:1px solid var(--scarlet);color:#fff;background:rgba(225,1,0,.25);font:600 13px/1 var(--cond),"Arial Narrow",sans-serif;flex:none}
#hb nav.jump .n{width:22px;height:22px;font-size:12px;background:none;border-color:var(--line);color:var(--dim)}
#hb .step{border:1px solid var(--line);background:var(--panel);border-radius:10px;padding:22px 22px 12px;margin:0 0 18px;scroll-margin-top:90px}
#hb .step .intro{color:var(--dim)}
#hb .field{margin:0 0 16px}
#hb label.lbl,#hb legend.lbl{display:block;font-weight:600;margin:0 0 5px;padding:0}
#hb .help{display:block;font-size:14px;color:var(--dim);margin:-2px 0 6px}
#hb input[type=text],#hb input[type=tel],#hb textarea{width:100%;background:rgba(0,0,0,.35);border:1px solid rgba(236,230,220,.25);border-radius:6px;color:var(--bone);font:inherit;font-size:16px;padding:10px 12px}
#hb textarea{min-height:88px;resize:vertical}
#hb textarea::placeholder{color:rgba(236,230,220,.4)}
#hb input:focus,#hb textarea:focus{outline:2px solid var(--gold);outline-offset:1px;border-color:transparent}
#hb fieldset.chips{border:0;padding:0;margin:0 0 14px;min-width:0}
#hb .choice{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 6px}
#hb .choice label{display:inline-flex;gap:7px;align-items:center;font-size:15px;cursor:pointer;border:1px solid var(--line);border-radius:999px;padding:5px 12px 5px 10px;background:rgba(0,0,0,.2)}
#hb .choice label:has(input:checked){border-color:var(--scarlet);background:rgba(225,1,0,.14)}
#hb .choice label:focus-within{outline:2px solid var(--gold);outline-offset:1px}
#hb .choice input{accent-color:var(--scarlet);margin:0}
#hb .row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#hb .row.two{grid-template-columns:repeat(2,minmax(0,1fr))}
#hb .rep{border:1px dashed var(--line);border-radius:8px;padding:12px 12px 0;margin:0 0 10px;position:relative}
#hb .rep .x{position:absolute;top:6px;right:8px}
#hb .rep .row{padding-right:0}
#hb ul.fixed{margin:0 0 14px;padding-left:20px;color:var(--dim)}
#hb ul.fixed b{color:var(--bone)}
#hb .btn{cursor:pointer;display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:6px;border:1px solid var(--scarlet);background:var(--scarlet);color:#fff;font:600 14px/1.1 var(--cond),"Arial Narrow",sans-serif;letter-spacing:.12em;text-transform:uppercase}
#hb .btn.ghost{background:transparent;color:var(--bone);border-color:rgba(236,230,220,.35)}
#hb .btn.small{padding:6px 10px;font-size:12px}
#hb .btn:focus-visible,#hb label.btn:focus-within{outline:2px solid var(--gold);outline-offset:2px}
#hb .tools{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 20px}
#hb .saved{font-size:13px;color:var(--ok);min-height:1.2em;margin:10px 10px 0}
#hb .step.plan{background:transparent;border-color:rgba(225,1,0,.4)}
#hb .btn:disabled{opacity:.35;cursor:default}
#hb .btn.big{padding:16px 26px;font-size:16px}
#hb input.hb-vh{position:absolute!important;width:1px!important;height:1px;padding:0!important;border:0!important;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#hb input[type=url],#hb input[type=file]{width:100%;background:rgba(0,0,0,.35);border:1px solid rgba(236,230,220,.25);border-radius:6px;color:var(--bone);font:inherit;font-size:16px;padding:10px 12px}
#hb .hb-open{border-color:rgba(232,190,110,.45);background:linear-gradient(135deg,rgba(225,1,0,.12),rgba(232,190,110,.06))}
#hb .hb-openrow{display:flex;flex-wrap:wrap;gap:14px 24px;align-items:center;justify-content:space-between}
#hb .hb-openrow>div{flex:1 1 320px}
#hb .hb-crisis{font-size:14.5px;color:var(--dim);border-top:1px dashed var(--line);padding-top:10px;margin-top:12px}
#hb .hb-c{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:rgba(232,190,110,.2);color:var(--gold);font:600 12px/1 Arial,sans-serif}
#hb .hb-msg{min-height:1.4em;font-size:15px;color:var(--ok);margin:0 0 8px}
#hb .hb-msg.bad{color:#ffb4a8}
#hb .hb-group h3{display:flex;gap:8px;align-items:center;font-family:var(--cond),"Arial Narrow",sans-serif;letter-spacing:.08em;text-transform:uppercase;font-size:14px;color:var(--gold)}
#hb .hb-list{list-style:none;margin:0 0 10px;padding:0}
#hb .hb-list li{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;border-top:1px solid var(--line);padding:10px 0}
#hb .hb-body{min-width:0;overflow-wrap:anywhere;white-space:pre-line;display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}
#hb .hb-body .hb-t{white-space:pre-line}
#hb .hb-who{color:var(--dim)}
#hb .hb-star{color:var(--gold)}
#hb .hb-thumb{width:96px;height:72px;object-fit:cover;border-radius:6px;border:1px solid var(--line);background:#111}
#hb .hb-list .btn{flex:none}
/* open view */
#hb .hb-view{border:1px solid rgba(232,190,110,.4);border-radius:14px;background:radial-gradient(circle at 80% 0,rgba(225,1,0,.16),rgba(0,0,0,.25) 60%);padding:22px 26px 14px;margin:0 0 20px;scroll-margin-top:90px}
#hb .hb-bar{height:6px;border-radius:6px;background:rgba(236,230,220,.12);overflow:hidden;margin:0 0 18px}
#hb .hb-bar span{display:block;height:100%;background:var(--gold);transition:width .4s}
#hb .hb-card{min-height:300px;display:flex;flex-direction:column;justify-content:center}
#hb .hb-kind{font-family:var(--cond),"Arial Narrow",sans-serif;letter-spacing:.16em;text-transform:uppercase;font-size:13px;color:var(--gold);margin:0 0 14px}
#hb .hb-kind .hb-of{color:var(--dim);margin-left:10px}
#hb [tabindex="-1"]:focus{outline:none}
#hb .hb-big{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:clamp(24px,3.4vw,38px);line-height:1.3;margin:0 0 14px;padding:0;border:0;overflow-wrap:anywhere;color:var(--bone)}
#hb .hb-big.long{font-size:clamp(19px,2.2vw,24px);line-height:1.55;max-width:780px}
#hb blockquote.hb-big{margin-left:0}
#hb p.hb-who{font-style:italic;font-size:17px}
#hb .hb-fig{margin:0 0 14px}
#hb .hb-fig img{display:block;max-width:100%;max-height:60vh;border-radius:10px;box-shadow:0 18px 50px rgba(0,0,0,.55)}
#hb .hb-fig figcaption{font-family:Georgia,serif;font-size:19px;margin-top:10px}
#hb .hb-comforts{font-family:Georgia,serif;font-size:20px;line-height:1.5;margin:0 0 14px}
#hb .hb-more{font-size:15.5px}
@media (max-width:860px){
  #hb .step{padding:18px 14px 8px}
  #hb .hb-view{padding:16px 14px 10px}
  #hb .hb-card{min-height:240px}
  #hb .hb-list li{flex-direction:column}
}
#hb .facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:10px 0 0}
#hb .facts .box{margin:0}
#hb .facts h3{margin-top:0}
#hb ul.steps{padding-left:22px;margin:0 0 8px}
#hb ul.steps li{margin:0 0 6px}
@media (max-width:860px){#hb .facts{grid-template-columns:minmax(0,1fr)}}
#hb-app{scroll-margin-top:150px}
