.layout-rebuild [hidden]{display:none!important}
.layout-rebuild .tool-page{color:#442239}
.layout-rebuild .tool-page .tool-output h2{font-size:22px;line-height:1.35}
.layout-rebuild .tool-page .tool-output .tool-result-number{display:block;font-family:Parkinsans,Arial,sans-serif;font-size:clamp(44px,4vw,64px);font-weight:600;line-height:1.12;letter-spacing:-.025em}
.layout-rebuild .tool-page .tool-output .tool-result-title{font-size:22px;line-height:1.4;margin:15px 0 10px}
.layout-rebuild .tool-page .tool-output .tool-result-row>svg{flex-shrink:0}
.layout-rebuild .tool-page .tool-output .tool-result-row>div{min-width:0}
.layout-rebuild .tool-page .tool-output .tool-result-row strong{display:block;font-weight:600}
.layout-rebuild .tool-page button:focus-visible,.layout-rebuild .tool-page [role=checkbox]:focus-visible{outline:3px solid #442239;outline-offset:4px}
.layout-rebuild .tool-page button[role=radio]{font-family:Figtree,Arial,sans-serif}
.layout-rebuild .bw-response-options{gap:12px}
.layout-rebuild .bw-snapshot-quiz-next{margin-left:auto}
.layout-rebuild .bw-response-options>.bw-response-opt{background:#e9deef}
.layout-rebuild .bw-response-options>.bw-response-opt:nth-child(2),.layout-rebuild .bw-response-options>.bw-response-opt:nth-child(5){background:#f7e4cd}
.layout-rebuild .bw-response-options>.bw-response-opt:nth-child(3){background:#dceade}
.layout-rebuild .bw-journey-statustag{display:block;margin-top:12px;font-size:13px}
.layout-rebuild .bw-journey-allgood:not(.bw-journey-visible),.layout-rebuild .bw-sitecheck-allgood:not(.bw-sitecheck-visible){display:none}
.layout-rebuild .bw-sitecheck-itemname{font-size:15px;font-weight:600}
.layout-rebuild .bw-sitecheck-itemwhy{font-size:14px;margin-top:4px}
.layout-rebuild .bw-sitecheck-item:nth-child(3n+2){background:#f7e4cd}
.layout-rebuild .bw-sitecheck-item:nth-child(3n){background:#dceade}
.layout-rebuild .bw-sitecheck-box svg{fill:none;stroke:currentColor;stroke-width:2}
.layout-rebuild .bw-sitecheck-box{flex-shrink:0}
.layout-rebuild .bw-journey-leak,.layout-rebuild .bw-sitecheck-missingitem{margin:16px 0;padding:16px 0;border-bottom:1px solid #44223920;font-size:14px}
.layout-rebuild .bw-journey-leak-name,.layout-rebuild .bw-sitecheck-missingname{font-weight:600}
.layout-rebuild .bw-journey-leak-desc{margin:6px 0}
.layout-rebuild .bw-journey-leak-num,.layout-rebuild .bw-journey-leak-tag,.layout-rebuild .bw-sitecheck-mark{display:none}
.layout-rebuild .bw-journey-leak-grouplabel{font-weight:600;margin-top:22px}
.layout-rebuild .bw-journey-leak-state,.layout-rebuild .bw-sitecheck-missingfix{font-size:13px}
.layout-rebuild .bw-start-rec-row{display:flex}
.layout-rebuild .bw-start-rec-row svg{flex-shrink:0}
.layout-rebuild .bw-start-rec-row-label{min-width:105px;font-size:13px}
.layout-rebuild .bw-start-rec-title{font-family:Parkinsans,Arial,sans-serif;font-size:26px;line-height:1.35}
.layout-rebuild .tool-output .bw-start-rec-sub{margin:14px 0}
.layout-rebuild .tool-output .bw-start-rec-alt>.button{display:flex;text-decoration:none}
.layout-rebuild #recAllgood .bw-start-rec-alt{font-size:14px}
.layout-rebuild .tool-lower{grid-column:1/-1;border-top:1px solid #44223920;padding-top:28px;margin-top:8px}
.layout-rebuild .tool-lower h3{font-size:21px;margin:0 0 14px}
.layout-rebuild .tool-lower p{font-size:15px;margin:12px 0;max-width:760px}
.layout-rebuild .tool-lower>summary,.layout-rebuild .tool-inputs details>summary{font-size:15px;min-height:44px;cursor:pointer;font-weight:600}
.layout-rebuild .tool-inputs details p{font-size:14px;line-height:1.65;margin:12px 0}
.layout-rebuild .bill-row>svg{width:23px;height:23px}
.layout-rebuild #ccBadge{font-size:14px;margin-bottom:20px}
.layout-rebuild .bw-cost-gaprow{margin:22px 0}
.layout-rebuild .bw-cost-gap-name{font-weight:600;font-size:16px}
.layout-rebuild .bw-cost-gap-desc{font-size:15px;margin-top:7px;max-width:740px}
.layout-rebuild .bw-cost-inputwrap{display:flex;align-items:center;gap:10px}
.layout-rebuild .bw-cost-inputwrap input{min-width:0}
.layout-rebuild #ccRevResult{margin-top:28px}
.layout-rebuild #ccRevCompare,.layout-rebuild .bw-cost-leak-desc{font-size:15px;margin-top:12px}
.layout-rebuild .bw-noshow-result-metadata,.layout-rebuild .tool-completed p{font-size:15px}
.layout-rebuild .bw-noshow-val.highlight{color:#442239;text-decoration:underline;text-underline-offset:4px}
.layout-rebuild #snapResultTier{font-weight:600;font-size:14px}
.layout-rebuild .tool-output #snapFormBlock p{font-size:14px}
.layout-rebuild .tool-output #snapFormBlock p:first-child{font-weight:600}
.layout-rebuild #cjGrade{font-size:14px}
@media(max-width:700px){.layout-rebuild .bw-start-rec-row{flex-wrap:wrap;gap:8px}.layout-rebuild .bw-start-rec-row-text{width:100%;padding-left:30px}.layout-rebuild .bw-start-rec-row-label{flex:1}.layout-rebuild .bw-noshow-field-head{gap:12px}.layout-rebuild .bw-noshow-field-label{font-size:17px}.layout-rebuild .bw-noshow-val{font-size:14px}.layout-rebuild .tool-page .tool-output .tool-result-number{font-size:48px}}

/* Paper studio: tactile surfaces, with the existing Home components and tool contracts. */
.layout-rebuild .tool-studio .hero-copy h1{font-size:clamp(44px,5.3vw,76px);max-width:760px;margin:auto}
.layout-rebuild .tool-studio .rebuild-hero{padding-top:72px;padding-bottom:104px}
.layout-rebuild .tool-studio .tools-featured{gap:28px;margin-top:-48px;padding:0 4px}
.layout-rebuild .tool-studio .tools-featured-section{background:linear-gradient(to bottom,transparent 48px,#fff8f3 48px)}
.layout-rebuild .tool-studio .featured-tool{grid-template-columns:64px minmax(0,1fr);gap:22px;min-height:220px;padding:30px;border-radius:23px;border-color:#44223926;box-shadow:0 6px 0 #c69aaa55,0 24px 34px -20px #694a5f70;transform:rotate(-.7deg);transition:transform .2s,box-shadow .2s;position:relative;isolation:isolate}
.layout-rebuild .tool-studio .featured-tool.rose{background:linear-gradient(135deg,#fff7fa,#f6dce7)}
.layout-rebuild .tool-studio .featured-tool.lavender{background:linear-gradient(135deg,#faf7fd,#e9deef);transform:rotate(.7deg)}
.layout-rebuild .tool-studio .featured-tool .situation-icon{height:64px;width:64px;background:#fffcf9;border:1px solid #ffffff;border-radius:20px;box-shadow:0 4px 0 #44223910,0 8px 14px -8px #694a5f55;transform:rotate(-6deg)}
.layout-rebuild .tool-studio .featured-tool h2{font-size:26px;max-width:340px}
.layout-rebuild .tool-studio .featured-tool p{margin:10px 0 20px;max-width:36ch}
.layout-rebuild .feature-action{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px;font-weight:600;padding-top:14px;border-top:1px solid #44223920}
.layout-rebuild .feature-action svg{width:22px;height:22px;flex:none}
.layout-rebuild .tool-studio .pastel-card{min-height:244px;border:1px solid #44223924;box-shadow:0 4px 0 #44223912,0 16px 24px -21px #44223965;transition:transform .2s,box-shadow .2s;position:relative}
.layout-rebuild .tool-studio .pastel-card .situation-icon{background:#fffcf9;border-radius:14px;width:46px;height:46px;display:grid;place-items:center;box-shadow:0 3px 0 #4422390e;margin-bottom:20px}
.layout-rebuild .tool-studio .pastel-card .situation-icon svg{width:24px;height:24px}
.layout-rebuild .tool-studio .pastel-card .situation-bottom{border-top:1px solid #44223916;margin-top:20px;padding-top:16px}
.layout-rebuild .tool-studio .pastel-card .situation-bottom>svg{width:26px;height:26px;padding:4px;border-radius:50%;background:#fffaf5}
.layout-rebuild .tool-page .rebuild-hero{padding:48px 0 72px}
.layout-rebuild .tool-page .hero-copy h1{font-size:clamp(36px,4.4vw,62px);max-width:850px;margin:auto;line-height:1.12}
.layout-rebuild .tool-page .hero-copy>p{font-size:18px;max-width:620px;margin-top:16px}
.layout-rebuild .tool-page .back-link{margin-bottom:16px}
.layout-rebuild .tool-page>.section{padding-top:0;background:linear-gradient(to bottom,transparent 28px,#fff8f3 28px)}
.layout-rebuild .tool-page .tool-card{position:relative;z-index:2;margin-top:-28px;border-radius:25px;padding:36px;background:#fffdfb;box-shadow:0 7px 0 #e9dce3,0 26px 50px -30px #694a5f80;border:1px solid #44223925;gap:36px}
.layout-rebuild .tool-page .tool-output{isolation:isolate;border:1px solid #c9a5b8;background:linear-gradient(150deg,#fff8f5,#f6dce7);box-shadow:0 6px 0 #e5c9d5,0 17px 28px -18px #694a5f65;padding:30px;border-radius:19px}
.layout-rebuild .tool-page .tool-output::after{content:'';position:absolute;inset:7px -4px -8px 4px;border:1px solid #d8bdcb;border-radius:19px;background:#fffaf7;z-index:-1;transform:rotate(.8deg);pointer-events:none}
.layout-rebuild .paper-stamp{display:grid;place-items:center;width:58px;height:58px;margin:0 0 24px;background:#fffdfb;border:1px solid #ffffff;border-radius:18px;color:#985470;transform:rotate(-6deg);box-shadow:0 4px 0 #44223910}
.layout-rebuild .paper-stamp svg{width:28px;height:28px}
.layout-rebuild .tool-page .tool-progress{font-size:15px}
.layout-rebuild .tool-page .tool-progress-track{height:10px;border:2px solid #f0e7ed;box-shadow:inset 0 1px 2px #44223915;border-radius:8px}
.layout-rebuild .tool-page .tool-progress-track>div{width:0;background:linear-gradient(90deg,#985470,#442239);border-radius:6px}
.layout-rebuild .bw-journey-step,.layout-rebuild .bw-start-q{padding:22px;margin-bottom:18px;border:1px solid #44223918;border-radius:18px;background:#fff9f4;transition:border-color .2s,background .2s}
.layout-rebuild .bw-journey-step:has([aria-checked=true]),.layout-rebuild .bw-start-q:has([aria-checked=true]){border-color:#b996ac;background:#fffcf9}
.layout-rebuild .tool-page .bw-journey-step h3{display:flex;align-items:center;gap:10px}
.layout-rebuild .question-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;background:#f6dce7;border-radius:10px;color:#985470}
.layout-rebuild .question-icon svg{width:20px;height:20px}
.layout-rebuild .tool-page [role=radio],.layout-rebuild .tool-page [role=checkbox]{border-color:#44223930;box-shadow:0 4px 0 #44223918;transition:transform .16s,box-shadow .16s,background .16s,border-color .16s}
.layout-rebuild .tool-page [role=radio][aria-checked=true],.layout-rebuild .tool-page [role=checkbox][aria-checked=true]{border:2px solid #442239;box-shadow:0 2px 0 #44223945,inset 0 0 0 2px #fff9f4;transform:translateY(2px)}
.layout-rebuild .tool-page input:focus-visible{outline:3px solid #985470;outline-offset:3px}
@media(hover:hover){
 .layout-rebuild .tool-studio .featured-tool:hover{transform:translateY(-5px) rotate(0);box-shadow:0 9px 0 #c69aaa45,0 30px 38px -22px #694a5f75}
 .layout-rebuild .tool-studio .pastel-card:hover{transform:translateY(-4px);box-shadow:0 7px 0 #44223912,0 23px 28px -23px #44223980}
 .layout-rebuild .tool-page [role=radio]:not([aria-checked=true]):hover,.layout-rebuild .tool-page [role=checkbox]:not([aria-checked=true]):hover{transform:translateY(-2px);box-shadow:0 6px 0 #44223918}
}
.layout-rebuild .tool-studio .featured-tool:active,.layout-rebuild .tool-studio .pastel-card:active,.layout-rebuild .tool-page [role=radio]:active,.layout-rebuild .tool-page [role=checkbox]:active{transform:translateY(3px);box-shadow:0 1px 0 #44223920}
@media(max-width:900px){.layout-rebuild .tool-studio .tools-featured{grid-template-columns:1fr;gap:26px}.layout-rebuild .tool-studio .featured-tool{min-height:190px}}
@media(max-width:700px){
 .layout-rebuild .tool-studio .rebuild-hero{padding:56px 0 90px}
 .layout-rebuild .tool-studio .tools-featured{padding:0 2px;margin-top:-36px}
 .layout-rebuild .tool-studio .tools-featured-section{background:linear-gradient(to bottom,transparent 36px,#fff8f3 36px)}
 .layout-rebuild .tool-studio .featured-tool{grid-template-columns:48px minmax(0,1fr);padding:23px 20px;gap:16px;min-height:0}
 .layout-rebuild .tool-studio .featured-tool .situation-icon{height:48px;width:48px;border-radius:15px}
 .layout-rebuild .tool-studio .featured-tool h2{font-size:23px}
 .layout-rebuild .tool-studio .pastel-card{min-height:0}
 .layout-rebuild .tool-page .rebuild-hero{padding:36px 0 58px}
 .layout-rebuild .tool-page .tool-card{padding:22px 16px;gap:30px;border-radius:21px}
 .layout-rebuild .tool-page .tool-output{position:relative;top:auto;padding:25px 22px}
 .layout-rebuild .bw-journey-step,.layout-rebuild .bw-start-q{padding:18px 14px}
 .layout-rebuild .tool-page .bw-journey-step h3{font-size:17px}
 .layout-rebuild .tool-page .bw-journey-step-choices{gap:8px}
 .layout-rebuild .tool-page .bw-journey-choice{padding:13px 5px;font-size:13px}
 .layout-rebuild .tool-page .bw-journey-choice[aria-checked=true]{padding:12px 4px}
}
@media(prefers-reduced-motion:reduce){
 .layout-rebuild .tool-studio .featured-tool,.layout-rebuild .tool-studio .pastel-card,.layout-rebuild .tool-page [role=radio],.layout-rebuild .tool-page [role=checkbox],.layout-rebuild .bw-journey-step,.layout-rebuild .bw-start-q{transition:none;transform:none!important}
 .layout-rebuild .tool-page .tool-progress-track>div{transition:none}
}
