/* Quick Life Fixes · Stage 1.4 unified desktop/mobile shell
   Local review build. Preserves the 0.4.8.2 behavior and all element IDs.
   Approved homepage and answer view share one layout. Safety always plain. */
:root { --qlf-ink:#102f40; --qlf-teal:#125b61; --qlf-paper:#fffaf2; --qlf-edge:#e4d4bc; }
body { background:radial-gradient(ellipse at 86% 8%,#e4eee3 0%,transparent 48%),radial-gradient(ellipse at 12% 60%,#e5eadd 0%,transparent 46%),linear-gradient(138deg,#f7f9f1,#eaf1e8 70%,#e5e1d4); }
.site{width:min(1360px,calc(100% - 48px));}
.brand{height:76px;position:relative;z-index:2;}
.hero-layout,.result-active .hero-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.99fr);gap:clamp(24px,3vw,43px);align-items:start;min-height:0;padding:5px 0 13px;}
.hero{padding-top:clamp(14px,3.4vh,37px);min-width:0;}
.hero h1{font-size:clamp(45px,4.3vw,67px);line-height:1.04;max-width:700px;letter-spacing:-.057em;}
.hero .subhead{max-width:610px;}
.hero-image-frame{height:clamp(148px,21vh,240px);margin-top:13px;}
.fixbox-work-pane{min-width:0;width:100%;position:relative;}
.fixbox-work-pane>.askpanel{width:100%;margin:0;}
.result-active .fixbox-work-pane>.askpanel{display:none;}
.fixbox-work-pane>.error,.fixbox-work-pane>.fallbackpanel{margin:10px 0 13px;background:#fffbf5;border-radius:16px;box-shadow:0 8px 22px #54452b14;}
.result-active .hero{display:block;}
.result-active .fixbox-work-pane #answer:not(.qlf-safety-plain){
 display:block;position:relative;overflow-x:hidden;overflow-y:auto;
 width:100%;max-width:none;max-height:calc(100dvh - 92px);min-height:0;
 margin:0;padding:15px 14px 15px;
 border:1px solid #e4d7c7;border-radius:21px;background:#fffaf1;
 box-shadow:0 8px 28px #364d4b21,0 1px 3px #455d5123;
 scrollbar-width:thin;scrollbar-color:#cab8a2 transparent;
}
/* Right-pane answer duplicates neither the global brand nor a second full wooden drawer.
   The real walnut box remains in the left approved product photograph. */
.result-active .answerpanel:not(.qlf-safety-plain) .fixbox-answer-head,
.result-active .answerpanel:not(.qlf-safety-plain) .fixbox-drawer-front{display:none!important;}
.result-active .answerpanel:not(.qlf-safety-plain) .fixbox-card-stage{z-index:0;top:8px;left:25px;right:25px;height:36px;}
.result-active .answerpanel:not(.qlf-safety-plain) .fixbox-tab{height:31px;box-shadow:none;border-color:#d7cbb5;}
.result-active .answerpanel:not(.qlf-safety-plain) .fixbox-paper{
 position:relative;z-index:1;min-height:0;width:100%;max-width:none;
 margin:8px auto 0;padding:17px 18px 16px;
 border:1px solid #e8dece;border-radius:16px;
 background:radial-gradient(ellipse at 15% 8%,#ffffffbd,transparent 64%),linear-gradient(135deg,#fffdf9,#fff8ed);
 box-shadow:0 2px 8px #8a6f4d13;color:var(--qlf-ink);
}
.result-active .answerpanel:not(.qlf-safety-plain) .fixbox-card-topline{display:none;}
.result-active .answerpanel:not(.qlf-safety-plain) .result-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:nowrap;margin:0 0 8px;}
.result-active .answerpanel:not(.qlf-safety-plain) .result-top h2{font:700 clamp(24px,2.4vw,33px)/1.08 Georgia,'Times New Roman',serif;letter-spacing:-.03em;color:#143344;margin:0;}
.result-active .answerpanel:not(.qlf-safety-plain) .result-top .eyebrow{font:800 10px/1.25 system-ui,sans-serif;letter-spacing:.15em;margin:0 0 4px;color:#5c6c68;}
.result-active .answerpanel:not(.qlf-safety-plain) #startOverTop{font-size:12px;min-height:42px;padding:8px 11px;flex-shrink:0;}
/* Question is a neat strip, not an oversized headline that consumes the viewport. */
.result-active .answerpanel:not(.qlf-safety-plain) .asked{
 border:1px solid #ead9bf;background:#fff6e8;border-radius:11px;
 padding:10px 13px;margin:0 0 9px;line-height:1.4;display:block;
}
.result-active .answerpanel:not(.qlf-safety-plain) .asked strong{font-size:10px;margin:0 0 4px;color:#4f6570;}
.result-active .answerpanel:not(.qlf-safety-plain) #askedQuestion{font:700 clamp(16px,1.5vw,19px)/1.28 Georgia,serif;letter-spacing:-.012em;}
.result-active .answerpanel:not(.qlf-safety-plain) #editQuestion{min-height:30px;font-size:12px;margin:0 0 0 2px;padding:4px 0;}
.result-active .answerpanel:not(.qlf-safety-plain) #answerUsing{margin:3px 0 0;font-size:12px;}
.result-active .answerpanel:not(.qlf-safety-plain) .actioncard,
.result-active .answerpanel:not(.qlf-safety-plain) .backupcard{
 min-height:0;padding:12px 13px 13px 62px;margin:0 0 8px;
 border-radius:11px;box-shadow:none;
}
.result-active .answerpanel:not(.qlf-safety-plain) .actioncard{background:#eaf1e8;border:1px solid #dce7d9;}
.result-active .answerpanel:not(.qlf-safety-plain) .backupcard{background:#f6e9dc;border:1px solid #efddc8;}
.result-active .answerpanel:not(.qlf-safety-plain) .actionhead .step{top:14px;left:12px;width:36px;height:36px;}
.result-active .answerpanel:not(.qlf-safety-plain) .actionhead .step::after{font-size:19px;}
.result-active .answerpanel:not(.qlf-safety-plain) .actionhead h3{font:800 10px/1.15 system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;margin:0 0 4px;color:#38565a;}
.result-active .answerpanel:not(.qlf-safety-plain) .actioncard p,
.result-active .answerpanel:not(.qlf-safety-plain) .backupcard p{font:500 clamp(14.5px,1.25vw,17px)/1.4 Georgia,serif;color:#1b3643;}
/* Three short checklist steps can sit across the card, as in the approved mockup. */
.result-active .answerpanel:not(.qlf-safety-plain) .stepsbox{margin:8px 0 5px;padding:12px 13px 11px;border-radius:11px;}
.result-active .answerpanel:not(.qlf-safety-plain) .stepsbox .row{gap:7px;}
.result-active .answerpanel:not(.qlf-safety-plain) .stepsbox h3{font:700 16px/1.2 Georgia,serif;}
.result-active .answerpanel:not(.qlf-safety-plain) .steps-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 11px;margin:8px 0 3px;}
.result-active .answerpanel:not(.qlf-safety-plain) .steps-list li{min-height:40px;padding:2px 0;border:0;display:flex;align-items:flex-start;gap:6px;}
.result-active .answerpanel:not(.qlf-safety-plain) .steps-list input{width:21px;height:21px;margin:1px 0 0;flex-shrink:0;}
.result-active .answerpanel:not(.qlf-safety-plain) .steps-list label{font:500 12px/1.28 system-ui,sans-serif;}
.result-active .answerpanel:not(.qlf-safety-plain) .stepsbox>.caption{font-size:10px;margin:5px 0 0;}
.result-active .answerpanel:not(.qlf-safety-plain) .details-controls{margin:6px 0 4px;}
.result-active .answerpanel:not(.qlf-safety-plain) .details-controls .quiet{font-size:12px;min-height:35px;}
.result-active .answerpanel:not(.qlf-safety-plain) .refine{border-top:1px solid #e7ddce;margin-top:8px;padding-top:10px;}
.result-active .answerpanel:not(.qlf-safety-plain) .refine h3{font:700 16px/1.25 Georgia,serif;margin:0 0 7px;}
.result-active .answerpanel:not(.qlf-safety-plain) .adjust-chips{display:flex;flex-wrap:wrap;gap:5px;}
.result-active .answerpanel:not(.qlf-safety-plain) .adjust-chips button{min-height:42px;padding:6px 11px;font-size:12px;line-height:1.08;border-radius:25px;}
.result-active .answerpanel:not(.qlf-safety-plain) .adjust-chips .cost{font-size:10px;}
.result-active .answerpanel:not(.qlf-safety-plain) .usage-note{font-size:11px;margin:8px 0 0;}
.result-active .answerpanel:not(.qlf-safety-plain) .result-footer{padding-top:10px;margin-top:8px;}
.result-active .answerpanel:not(.qlf-safety-plain) .result-footer button{font-size:12px;}
/* The current stage does not pretend saved cards or logins already work. */
.brand-links .nav-soon{font-size:10px;}
/* Consistent surface treatment for extended UI, error and supplementary views. */
.fixbox-work-pane .error,.fixbox-work-pane .fallbackpanel,.homehelp,
.result-active .answerpanel:not(.qlf-safety-plain) .detailbox,
.result-active .answerpanel:not(.qlf-safety-plain) .followbox,
.result-active .answerpanel:not(.qlf-safety-plain) .messagebox,
.result-active .answerpanel:not(.qlf-safety-plain) .sharepanel{
 border-radius:13px;background:#fffbf4;border:1px solid #e8dac6;
}
.closing{max-width:1180px;}
/* Urgent / caution / fixed-policy results bypass the box, animation, and collectibles.
   Error + 911/988 must remain plainly visible above them. */
body.safety-active{background:#f8faf8;}
.safety-active .hero-layout,.safety-active .result-active .hero-layout{display:block;min-height:0;padding:8px 0;}
.safety-active .hero{display:none!important;}
.safety-active .fixbox-work-pane{max-width:920px;margin:0 auto;}
.safety-active .fixbox-work-pane>.askpanel{display:none;}
.safety-active .answerpanel.qlf-safety-plain{max-width:100%;margin:5px 0 12px!important;padding:20px;border-radius:13px;}
.safety-active .answerpanel.qlf-safety-plain .fixbox-paper{max-width:none;}
.safety-active .answerpanel.qlf-safety-plain .result-top h2{font:750 24px/1.25 system-ui,sans-serif;}
.safety-active .answerpanel.qlf-safety-plain .asked{font-size:15px;}
/* Mobile/low-width: preserve complete text and scrolling. No fake desktop fitting. */
@media(max-width:1000px){
 .hero-layout,.result-active .hero-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;}
 .hero{padding-top:12px;}
 .result-active .hero{display:none;}
 .result-active .fixbox-work-pane #answer:not(.qlf-safety-plain){max-height:none;overflow:visible;margin:0;}
 .result-active .answerpanel:not(.qlf-safety-plain) .steps-list{grid-template-columns:1fr;}
 .result-active .answerpanel:not(.qlf-safety-plain) .steps-list li{min-height:38px;}
 .result-active .fixbox-work-pane{max-width:750px;margin:0 auto;}
 .safety-active .hero-layout{display:block;}
}
@media(max-width:560px){
 .site{width:calc(100% - 20px);}
 .brand{height:58px;}
 .brand-links{display:none;}
 .result-active .fixbox-work-pane #answer:not(.qlf-safety-plain){padding:10px 9px;}
 .result-active .answerpanel:not(.qlf-safety-plain) .fixbox-paper{padding:14px 11px 13px;margin-top:9px;}
 .result-active .answerpanel:not(.qlf-safety-plain) .result-top h2{font-size:25px;}
 .result-active .answerpanel:not(.qlf-safety-plain) #askedQuestion{font-size:17px;}
 .result-active .answerpanel:not(.qlf-safety-plain) .actioncard,
 .result-active .answerpanel:not(.qlf-safety-plain) .backupcard{padding:12px 11px 13px 55px;}
 .result-active .answerpanel:not(.qlf-safety-plain) .actionhead .step{left:10px;top:13px;width:32px;height:32px;}
 .result-active .answerpanel:not(.qlf-safety-plain) .adjust-chips button{min-height:44px;}
 .result-active .answerpanel:not(.qlf-safety-plain) .steps-list label{font-size:15px;}
}
@media (prefers-reduced-motion: reduce){
 .result-active .answerpanel:not(.qlf-safety-plain){animation:none;}
}

/* Stage 1.5 · exact approved two-column identity refinement. Local review only. */
:root {--qlf-paper:#fffaf2;--qlf-ink:#132e3b;--qlf-sage:#e9f1e7;--qlf-peach:#f9ecdf}
body:not(.safety-active){background:
 radial-gradient(ellipse at 4% 74%,rgba(175,195,157,.26) 0,transparent 39%),
 radial-gradient(ellipse at 76% 18%,rgba(210,225,209,.56) 0,transparent 47%),
 linear-gradient(145deg,#f4f7ee 0%,#eaf2ea 72%,#e8ecdf 100%)}
.site{width:min(1350px,calc(100% - 42px));}
.brand{height:72px;gap:10px;}
.brand-icon{height:49px;width:49px;border-radius:11px;box-shadow:0 3px 9px rgba(22,70,66,.16);}
.wordmark{font-size:28px;}
.wordmark small{font-size:12px;}
.brand-links{gap:19px;}
.brand-links a{font-size:12px;}
.hero-layout,.result-active .hero-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,4.6vw,65px);padding:6px 0 8px;}
.hero{padding-top:clamp(19px,3.7vh,37px);}
.hero h1{font-size:clamp(44px,4.5vw,68px);letter-spacing:-.052em;line-height:1.045;margin:0 0 15px;}
.hero .subhead{font-size:clamp(15px,1.25vw,18px);line-height:1.46;margin:0 0 14px;max-width:565px;}
.hero-highlights{gap:8px;}
.hero-highlights>div{min-height:51px;gap:13px;}
.hero-highlights strong{font-size:clamp(15px,1.2vw,18px);}
.hero-highlights small{font-size:clamp(12px,.93vw,14px);}
.highlight-icon{width:45px;height:45px;}
.highlight-icon svg{width:25px;height:25px;}
.hero-image-frame{height:clamp(195px,27vh,285px);margin-top:10px;border-radius:0;overflow:visible;mask-image:linear-gradient(to right,transparent 0%,#000 5%,#000 94%,transparent 100%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 5%,#000 94%,transparent 100%)}
.hero-box-image{width:100%;height:100%;object-fit:cover;object-position:center center;}
.askpanel{padding:19px 22px 18px;border:1px solid #e2d9ca;border-radius:21px;background:linear-gradient(135deg,#fffcf7f7,#fffaf0f2);box-shadow:0 13px 35px #354c4618;}
.askpanel:before{inset:7px;border-color:#eee4d7;border-radius:16px;}
.askpanel h2{font-size:26px;line-height:1.13;margin:0 0 11px;}
.askpanel .emergency-notice{margin-bottom:10px;padding:9px 11px;border-radius:11px;}
.askpanel .emergency-notice strong{font-size:13px;}
.askpanel .emergency-notice p{font-size:12px;line-height:1.34;}
.askpanel .expert-picker{margin-bottom:9px;}
.askpanel .expert-picker label{margin-bottom:5px;}
.askpanel .expert-picker select{min-height:42px;}
.askpanel .expert-help{font-size:11px;margin-top:4px;}
.askpanel .situation{margin:8px 0 8px;}
.askpanel .situation legend{font-size:13px;margin-bottom:7px;}
.askpanel .situation-chips{gap:6px;}
.askpanel .situation-chips button{padding:8px 12px;min-height:41px;font-size:12px;}
.askpanel textarea{min-height:75px;font-size:15px;padding:10px 13px;}
.askpanel .primary{min-height:46px;margin-top:8px;font-size:18px;}
.askpanel .ask-note{margin-top:7px;font-size:11px;}
.askpanel .examples{padding-top:8px;margin-top:9px;}
.askpanel .examples p{margin-bottom:5px;font-size:11px;}
.askpanel .chips button{min-height:34px;padding:6px 10px;font-size:11px;}
.fixbox-coming{display:block;margin:8px 4px 0;padding:10px 8px 0;border-top:1px solid #e5d9c9;}
.fixbox-coming-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:9px;}
.fixbox-coming h3{font:700 21px/1.1 Georgia,serif;color:#19394a;margin:0 0 3px;}
.fixbox-coming p{font-size:11px;color:#57716f;margin:0;}
.coming-pill{font:800 9px system-ui,sans-serif;letter-spacing:.04em;color:#526552;background:#ecf0e5;padding:3px 6px;border-radius:30px;vertical-align:middle;white-space:nowrap;}
.coming-hint{font-size:10px;color:#6e7567;max-width:135px;text-align:right;}
.fixbox-mini-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.mini-fix-card{position:relative;min-height:81px;padding:9px 9px 8px;border:1px solid #e0d2be;border-radius:9px;background:linear-gradient(#fffefd,#fff7eb);box-shadow:0 2px 4px #5a4e351c;display:flex;flex-direction:column;justify-content:flex-start;gap:4px;}
.mini-fix-card::before{content:'';position:absolute;left:10px;right:13px;top:-7px;height:7px;border-radius:5px 6px 0 0;background:#a6bea5;}
.mini-blue::before{background:#90b9d4}.mini-peach::before{background:#e7aa86}
.mini-card-tag{font-size:10px;color:#46724e;font-weight:750;}
.mini-fix-card strong{font:700 14px/1.13 Georgia,serif;color:#143649;}
.mini-fix-card small{font-size:10px;line-height:1.18;color:#465b66;}
/* A single shared desktop shell, no enlarged result page. */
.result-active .fixbox-work-pane>.fixbox-coming{display:none;}
.result-active .fixbox-work-pane #answer:not(.qlf-safety-plain){padding:12px;max-height:calc(100dvh - 87px);border-radius:20px;border:1px solid #e5dace;}
.result-active .answerpanel:not(.qlf-safety-plain) .fixbox-paper{margin-top:7px;padding:16px 17px 13px;border-radius:14px;box-shadow:0 5px 11px #876f4c15;}
.result-active .answerpanel:not(.qlf-safety-plain) .result-top h2{font-size:clamp(25px,2.3vw,31px);}
.result-active .answerpanel:not(.qlf-safety-plain) .result-top{margin-bottom:7px;}
.result-active .answerpanel:not(.qlf-safety-plain) .asked{padding:9px 12px;margin-bottom:8px;}
.result-active .answerpanel:not(.qlf-safety-plain) .actioncard,
.result-active .answerpanel:not(.qlf-safety-plain) .backupcard{padding:12px 12px 12px 64px;margin-bottom:7px;}
.result-active .answerpanel:not(.qlf-safety-plain) .actioncard{background:linear-gradient(115deg,#e8f0e5,#eef4ea);}
.result-active .answerpanel:not(.qlf-safety-plain) .backupcard{background:linear-gradient(115deg,#fbecdd,#fff1e7);}
.result-active .answerpanel:not(.qlf-safety-plain) .actionhead .step{display:grid;place-items:center;top:13px;left:12px;width:38px;height:38px;}
.result-active .answerpanel:not(.qlf-safety-plain) .actionhead .step::after{display:none;}
.result-active .answerpanel:not(.qlf-safety-plain) .actionhead .step svg{width:24px;height:24px;display:block;stroke:#1c5261;}
.result-active .answerpanel:not(.qlf-safety-plain) .backupcard .actionhead .step svg{stroke:#a14a28;}
.result-active .answerpanel:not(.qlf-safety-plain) .actionhead h3{font-size:10px;margin-bottom:5px;}
.result-active .answerpanel:not(.qlf-safety-plain) .actioncard p,
.result-active .answerpanel:not(.qlf-safety-plain) .backupcard p{font-size:clamp(14.5px,1.23vw,16.5px);line-height:1.37;}
.result-active .answerpanel:not(.qlf-safety-plain) .stepsbox{padding:11px 13px 10px;}
.result-active .answerpanel:not(.qlf-safety-plain) .steps-list li{align-items:start;min-height:35px;}
.result-active .answerpanel:not(.qlf-safety-plain) .steps-list label{font-size:12px;line-height:1.25;}
.result-active .answerpanel:not(.qlf-safety-plain) .refine{padding-top:9px;margin-top:8px;}
.result-active .answerpanel:not(.qlf-safety-plain) .adjust-chips button{min-height:40px;font-size:11px;}
.result-active .answerpanel:not(.qlf-safety-plain) .result-footer{margin-top:6px;padding-top:7px;}
/* Overlay sections follow the same paper family when a user asks for details, retry, or sharing. */
.fixbox-work-pane .error,.fixbox-work-pane .fallbackpanel,.homehelp,.messagebox,.detailbox,.sharepanel{box-shadow:0 3px 12px #3c3b2910;}
/* A safety or caution result uses the original fast, flat, noncollectible response style. */
.safety-active .fixbox-work-pane>.fixbox-coming{display:none;}
.safety-active .hero{display:none!important;}
.safety-active .brand-links{display:none;}
.safety-active .result-top h2{font-family:system-ui,sans-serif!important;}
.safety-active .answerpanel .step svg{display:none;}
@media(min-width:1001px) and (max-height:800px){
 .brand{height:61px;}.hero{padding-top:9px;}.hero h1{font-size:clamp(40px,4.1vw,57px);margin-bottom:10px;}
 .hero .subhead{font-size:15px;line-height:1.33;margin-bottom:9px;}
 .hero-highlights{gap:5px;}.hero-highlights>div{min-height:42px;}.highlight-icon{height:40px;width:40px;}.hero-highlights strong{font-size:15px;}.hero-highlights small{font-size:12px;}
 .hero-image-frame{height:clamp(145px,24vh,205px);margin-top:6px;}
 .askpanel{padding:14px 16px 13px;}.askpanel h2{font-size:23px;margin-bottom:7px;}
 .askpanel .emergency-notice{padding:7px 9px;margin-bottom:7px;}.askpanel .emergency-notice p{font-size:11px;}
 .askpanel .expert-picker select{min-height:39px;}.askpanel .expert-help{display:none;}
 .askpanel .situation{margin:6px 0 7px;}.askpanel .situation-chips button{min-height:38px;padding:7px 10px;}
 .askpanel textarea{min-height:62px;}.askpanel .primary{min-height:43px;}.askpanel .examples{padding-top:5px;margin-top:6px;}
 .fixbox-coming{padding-top:8px;margin-top:6px;}.mini-fix-card{min-height:64px;}.mini-fix-card small{display:none;}
 .result-active .fixbox-work-pane #answer:not(.qlf-safety-plain){max-height:calc(100dvh - 70px);padding:9px;}
 .result-active .answerpanel:not(.qlf-safety-plain) .fixbox-paper{padding:11px 13px 9px;}
 .result-active .answerpanel:not(.qlf-safety-plain) .asked{padding:7px 10px;}
 .result-active .answerpanel:not(.qlf-safety-plain) .actioncard,.result-active .answerpanel:not(.qlf-safety-plain) .backupcard{padding:9px 11px 9px 59px;}
 .result-active .answerpanel:not(.qlf-safety-plain) .stepsbox{padding:9px 10px;}
 .result-active .answerpanel:not(.qlf-safety-plain) .steps-list li{min-height:30px;}
 .result-active .answerpanel:not(.qlf-safety-plain) .result-footer{display:flex;gap:6px;}
}
@media(max-width:1000px){
 .hero-layout,.result-active .hero-layout{grid-template-columns:1fr;gap:10px;}
 .hero-image-frame{display:none;}
 .fixbox-coming{max-width:730px;margin:12px auto 0;}
 .result-active .fixbox-work-pane #answer:not(.qlf-safety-plain){max-height:none;overflow:visible;}
 .result-active .hero{display:none;}
 .result-active .answerpanel:not(.qlf-safety-plain) .steps-list{grid-template-columns:1fr;}
}
@media(max-width:600px){
 .site{width:calc(100% - 20px);}.brand{height:59px;}.brand-icon{height:40px;width:40px;}.wordmark{font-size:21px;}
 .askpanel{padding:13px;}.askpanel textarea{font-size:16px;min-height:80px;}
 .fixbox-coming{margin:9px 1px 0;padding:9px 2px 0;}.coming-hint{display:none;}.mini-fix-card{min-height:63px;padding:7px;}.mini-fix-card small{display:none;}
 .mini-fix-card strong{font-size:12px;}.mini-card-tag{font-size:9px;}
 .result-active .fixbox-work-pane #answer:not(.qlf-safety-plain){padding:9px;}
 .result-active .answerpanel:not(.qlf-safety-plain) .fixbox-paper{padding:13px 10px;}
 .result-active .answerpanel:not(.qlf-safety-plain) .steps-list li{min-height:39px;}
 .result-active .answerpanel:not(.qlf-safety-plain) .actioncard p,.result-active .answerpanel:not(.qlf-safety-plain) .backupcard p{font-size:16px;}
 .result-active .answerpanel:not(.qlf-safety-plain) .steps-list label{font-size:14px;}
}
@media(prefers-reduced-motion:reduce){.answerpanel:not(.qlf-safety-plain){animation:none!important;}}
/* Final viewport pass: the illustrative Fix Box preview fits on standard monitors. */
@media(min-width:1001px){
 .fixbox-coming{padding-top:7px;margin-top:5px;}
 .fixbox-coming-top{margin-bottom:7px;}
 .fixbox-coming h3{font-size:19px;}
 .fixbox-coming p{font-size:10px;}
 .coming-hint{font-size:9px;}
 .mini-fix-card{min-height:62px;padding:6px 8px 5px;gap:2px;}
 .mini-fix-card small{font-size:9px;line-height:1.12;}
 .mini-fix-card strong{font-size:13px;}
 .mini-card-tag{font-size:9px;}
 .hero-image-frame{height:clamp(215px,31vh,285px);}
}
@media(min-width:1001px) and (max-height:800px){
 .hero-image-frame{height:clamp(175px,25vh,206px);}
 .mini-fix-card{min-height:53px;}
 .mini-fix-card small{display:none;}
 .fixbox-coming-top{margin-bottom:5px;}
}

/* Keep more of the photographed wood front visible on shorter desktop screens. */
@media(min-width:1001px) and (max-height:800px){.hero-image-frame{height:clamp(210px,30vh,235px)}}
/* Never let an illustrative archive teaser compete with an error or fixed fallback. */
.fixbox-work-pane:has(>.error:not([hidden]))>.fixbox-coming,
.fixbox-work-pane:has(>.fallbackpanel:not([hidden]))>.fixbox-coming{display:none;}


/* Stage 1.6: tactile file tabs that perform real, labeled shortcuts. */
.result-active .answerpanel:not(.qlf-safety-plain) .fixbox-card-stage{
 position:relative!important;inset:auto!important;width:auto;height:auto;
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
 gap:4px;margin:0 14px -1px;isolation:isolate;z-index:3;
}
.result-active .answerpanel:not(.qlf-safety-plain) .fixbox-tab{
 appearance:none;-webkit-appearance:none;position:relative;left:auto!important;top:auto!important;width:100%;transform:none;display:flex;
 align-items:center;justify-content:center;gap:5px;min-width:0;
 min-height:43px;height:auto;border-radius:11px 11px 2px 2px;
 border:1px solid #cdbca6;border-bottom:0;
 padding:8px 7px 10px;color:#183a47;font:700 12px/1.15 system-ui,sans-serif;
 text-align:center;cursor:pointer;box-shadow:0 -2px 6px #3d30200f;
 transition:filter .14s ease,transform .14s ease;
}
.result-active .answerpanel:not(.qlf-safety-plain) .fixbox-tab:hover:not(:disabled){filter:brightness(.97);transform:translateY(-2px);}
.result-active .answerpanel:not(.qlf-safety-plain) .fixbox-tab:focus-visible{outline:3px solid #0c5660;outline-offset:2px;z-index:5;}
.result-active .answerpanel:not(.qlf-safety-plain) .fixbox-tab:disabled{opacity:.58;cursor:not-allowed;}
.result-active .answerpanel:not(.qlf-safety-plain) .tab-peach{background:linear-gradient(#f9dcc2,#f3c7a6)}
.result-active .answerpanel:not(.qlf-safety-plain) .tab-sage{background:linear-gradient(#dceacb,#c8d9bf)}
.result-active .answerpanel:not(.qlf-safety-plain) .tab-blue{background:linear-gradient(#d7eaf4,#bdd8ec)}
.result-active .answerpanel:not(.qlf-safety-plain) .tab-cream{background:linear-gradient(#f6ebd4,#e8dcbf)}
.fixbox-tab-soon{font:750 9px/1 system-ui,sans-serif;color:#36585e;white-space:nowrap}
.result-active .answerpanel:not(.qlf-safety-plain) .fixbox-paper{margin-top:0;}
.fixbox-tab-notice[hidden]{display:none!important}
.fixbox-tab-notice{display:flex;align-items:start;gap:12px;justify-content:space-between;
 background:#e8f1f6;border:1px solid #b6d3df;border-radius:9px;
 margin:0 0 10px;padding:10px 13px;color:#193f50;}
.fixbox-tab-notice strong{font-size:13px;}
.fixbox-tab-notice p{font:400 12px/1.35 system-ui,sans-serif;margin:5px 0 0;}
.fixbox-tab-notice .quiet{font-size:12px;min-height:39px;flex-shrink:0;}
.answerpanel.qlf-safety-plain .fixbox-card-stage,.safety-active .fixbox-card-stage{display:none!important}
@media(max-width:600px){
 .result-active .answerpanel:not(.qlf-safety-plain) .fixbox-card-stage{margin:0 5px -1px;gap:2px}
 .result-active .answerpanel:not(.qlf-safety-plain) .fixbox-tab{font-size:11px;padding:7px 2px;min-height:45px;flex-wrap:wrap;gap:2px}
 .fixbox-tab-soon{font-size:8px}
}
@media(prefers-reduced-motion:reduce){.result-active .answerpanel:not(.qlf-safety-plain) .fixbox-tab{transition:none}}
