/* Homepage presentation. Loaded after the shared frame; no rate or formula changes. */
@media screen {
 body.quote-home .hero{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;padding:32px 0 40px}
 body.quote-home .hero>div:first-child{display:block;max-width:920px;padding:0}
 body.quote-home .hero .result-ticket{display:flex;flex-direction:column;gap:18px;width:100%;min-width:0;padding:24px}
 body.quote-home .hero .ticket-top{margin:0;padding:0 0 14px;gap:12px;flex-wrap:wrap}
 body.quote-home .hero .payroll-presets{margin:0}
 body.quote-home .hero .payroll-presets>p{margin:0 0 10px}
 body.quote-home .hero .preset-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
 body.quote-home .hero .preset-buttons .btn{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;min-height:64px;margin:0;padding:12px;font-size:15px;line-height:1.45;white-space:normal;text-align:center;word-break:normal;overflow-wrap:break-word}
 body.quote-home .hero .ticket-lines{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:0;margin:0;width:100%;border:1px solid #d4dfe9;border-radius:8px;overflow:hidden}
 body.quote-home .hero .ticket-lines>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;min-width:0;padding:20px;border:0;border-right:1px solid #d4dfe9}
 body.quote-home .hero .ticket-lines>div:last-child{border-right:0}
 body.quote-home .hero .ticket-lines dt{margin:0;min-height:3em;font-weight:500;font-size:14px!important;line-height:1.5}
 body.quote-home .hero .ticket-lines dd{margin:0;white-space:normal;word-break:normal;overflow-wrap:break-word;line-height:1.5}
 body.quote-home .hero .ticket-lines dd.is-number{font-size:40px;line-height:1.15;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.5px}
 body.quote-home .hero .ticket-lines dd:not(.is-number){font-size:18px;font-weight:500}
 body.quote-home .hero .ticket-lines dd a{font-size:16px;font-weight:400;text-underline-offset:3px}
 body.quote-home .hero .hero-primary{align-self:flex-start;width:auto;min-height:48px;margin:0;padding:12px 24px;font-size:16px}
 body.quote-home .hero .sample-source{order:0;display:block;width:fit-content;max-width:100%;margin:0;font-size:14px!important;line-height:1.6;text-underline-offset:3px;overflow-wrap:break-word}
 body.quote-home .hero .sample-source[hidden],body.quote-home .ticket-missing[hidden]{display:none}
 body.quote-home .ticket-missing{padding:16px 18px;background:#f6f8fb;border:1px solid #d4dfe9;border-radius:6px}
 body.quote-home .ticket-missing>p{margin:0 0 10px;font-size:14px;font-weight:600;color:#23364b}
 body.quote-home .ticket-missing ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 28px;margin:0;padding-left:20px;color:#566777;font-size:14px;line-height:1.5}
 body.quote-home .ticket-explanation{border-top:1px solid #d4dfe9;padding-top:14px;font-size:14px;color:#566777}
 body.quote-home .ticket-explanation summary{cursor:pointer;min-height:32px;font-weight:600;color:#354c66;line-height:1.6}
 body.quote-home .ticket-explanation-content{display:grid;gap:10px;padding:12px 0 0;max-width:88ch}
 body.quote-home .hero .ticket-explanation-content>*{margin:0}
 body.quote-home .ticket-explanation #preset-notice:empty{display:none}
 body.quote-home .hero .ticket-foot{margin:0;padding-top:12px;border-top:1px solid #d4dfe9}
 body.quote-home .hero .ticket-foot>span{display:none}
 body.quote-home .hero .ticket-value{display:none}
 body.quote-home .result-missing-hint,body.quote-home #cost-result .result-missing-hint{display:block;margin:8px 0 0;font-size:13px!important;line-height:1.5;color:#566777}
 body.quote-home input,body.quote-home select{border:1px solid #7d8fa2;background:#fff;min-height:48px;width:100%;min-width:0}
 body.quote-home input:focus,body.quote-home select:focus{outline:2px solid #285f99;outline-offset:2px;border-color:#285f99;box-shadow:none}
 body.quote-home .calculator-layout{align-items:start}
 body.quote-home .field-group{padding:20px;margin-top:0;min-width:0}
 body.quote-home .field-group>legend{float:left;width:100%;max-width:100%;padding:0;margin:0 0 18px;font-size:20px;line-height:1.4;font-weight:600}
 body.quote-home .field-group>legend+*{clear:both}
 body.quote-home #cost-result{padding:20px}
 body.quote-home #cost-result>h3:first-child{margin:0 0 18px;font-size:20px;line-height:1.4}
 body.quote-home .group-fields{align-items:start;gap:24px}
 body.quote-home .quote-field{display:flex;flex-direction:column;align-items:stretch;min-width:0}
 body.quote-home .quote-field>label:first-child{display:block;min-height:0;margin:0 0 8px}
 body.quote-home .quote-field small{margin-top:8px;word-break:normal;overflow-wrap:break-word}
 body.quote-home .quote-field .input-state{align-self:flex-start;max-width:100%;font-size:13px!important;font-weight:500;padding:4px 8px}
 body.quote-home .preset-evidence:empty{display:none}
 body.quote-home #cost-result dl{margin:16px 0 20px}
 body.quote-home #cost-result dl>div{padding:18px}
 body.quote-home #cost-result dd:not(.is-number){font-size:18px;line-height:1.5}
 body.quote-home #cost-result .annual-total dd:not(.is-number){font-size:20px;color:#23364b}
 body.quote-home #cost-result .result-missing-hint{margin-top:8px}
 body.quote-home .provider-guides .grid3{align-items:start;gap:24px}
 body.quote-home .provider-guides .card{padding:20px;border:1px solid #d4dfe9;border-radius:8px}
 body.quote-home .provider-guides h3{margin:0 0 12px;font-size:20px;line-height:1.4}
 body.quote-home .provider-guides p{margin:0;font-size:16px;line-height:1.7}
}
@media screen and (min-width:901px){
 body.quote-home #cost-result{position:static;max-height:none;overflow:visible;scrollbar-gutter:auto}
}
@media screen and (max-width:900px){
 body.quote-home .calculator-layout{grid-template-columns:minmax(0,1fr)}
 body.quote-home .hero .preset-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.quote-home .hero .ticket-lines{grid-template-columns:minmax(0,1fr)}
 body.quote-home .hero .ticket-lines>div{border-right:0;border-bottom:1px solid #d4dfe9;padding:18px}
 body.quote-home .hero .ticket-lines>div:last-child{border-bottom:0}
 body.quote-home .hero .ticket-lines dt{min-height:0}
 body.quote-home .provider-guides .grid3{grid-template-columns:1fr}
}
@media screen and (max-width:700px){
 body.quote-home .hero{padding:24px 0 28px;gap:20px}
 body.quote-home .hero .result-ticket{padding:16px;gap:16px}
 body.quote-home .hero .ticket-top{flex-direction:row;align-items:center;margin:0}
 body.quote-home .hero .ticket-lines dd.is-number{font-size:36px}
 body.quote-home .hero .ticket-lines dd:not(.is-number){font-size:18px}
 body.quote-home .hero .hero-primary{align-self:stretch;width:100%;text-align:center}
 body.quote-home .ticket-missing{padding:14px}
 body.quote-home .ticket-missing ul{grid-template-columns:1fr;gap:8px}
 body.quote-home .quote-field>label:first-child{min-height:0}
 body.quote-home #cost-result{position:static;max-height:none;overflow:visible}
 body.quote-home .group-fields,body.quote-home .field-group:first-child .group-fields{grid-template-columns:minmax(0,1fr)}
 body.quote-home .takeaway-actions{grid-template-columns:1fr}
}
@media screen and (max-width:350px){body.quote-home .hero .preset-buttons{grid-template-columns:1fr}}
@media print{body.quote-home #cost-result{position:static;max-height:none;overflow:visible}}

/* A fixed, labelled example: responsive HTML keeps every label selectable and readable. */
@media screen {
 body.quote-home #quote-example{background:#fff;padding:36px 0;border-top:0}
 body.quote-home #quote-example h2{margin:0 0 24px;max-width:32ch}
 body.quote-home .quote-example{display:grid;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);align-items:center;gap:24px;margin:0;padding:28px;background:#edf3f9;border:1px solid #d4dfe9;border-radius:12px;max-width:100%}
 body.quote-home .example-quote{min-width:0;padding:24px;background:#fff;border:1px solid #c7d5e4;border-radius:8px}
 body.quote-home .example-document-head{display:flex;align-items:center;gap:14px;padding-bottom:18px;border-bottom:1px solid #d4dfe9;color:#285f99}
 body.quote-home .example-document-head svg{flex:none}
 body.quote-home .example-document-head h3{margin:0;font-size:18px;line-height:1.4}
 body.quote-home .example-document-head p{margin:4px 0 0;font-size:14px;color:#566777}
 body.quote-home .example-inputs{margin:8px 0 0}
 body.quote-home .example-inputs>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px 0;border-bottom:1px solid #e1e7ef}
 body.quote-home .example-inputs dt{font-size:15px;line-height:1.5;color:#3b4958}
 body.quote-home .example-inputs dd{margin:0;font-size:16px;font-weight:600;line-height:1.5;font-variant-numeric:tabular-nums;text-align:right}
 body.quote-home .example-monthly{margin:18px 0 0;font-size:16px;line-height:1.6}
 body.quote-home .example-monthly strong{display:block;font-size:20px;margin-top:4px}
 body.quote-home .example-direction{display:grid;place-items:center;color:#285f99}
 body.quote-home .example-year{min-width:0;padding:24px;background:#172f4a;border-radius:8px;color:#fff}
 body.quote-home .example-year .example-result-label{margin:0;color:#d6e5f5;font-size:15px;line-height:1.5}
 body.quote-home .example-year .example-result-number{margin:10px 0;font-size:52px;line-height:1.1;letter-spacing:-.5px;font-weight:700;color:#fff;font-variant-numeric:tabular-nums}
 body.quote-home .example-year .example-equation{margin:0;color:#e2eaf3;font-size:16px}
 body.quote-home .example-pending{margin-top:22px;padding-top:18px;border-top:1px solid #52677d}
 body.quote-home .example-pending strong{font-size:16px;color:#fff}
 body.quote-home .example-pending p{margin:8px 0 0;font-size:15px;line-height:1.6;color:#d6e5f5}
 body.quote-home .quote-example figcaption{grid-column:1/-1;margin:0;padding-top:18px;border-top:1px solid #c7d5e4;font-size:14px;line-height:1.6;color:#566777}
 body.quote-home .example-disclaimer{display:block;font-weight:600;color:#23364b;margin-bottom:6px}
}
@media screen and (max-width:700px){
 body.quote-home #quote-example{padding:28px 0}
 body.quote-home .quote-example{grid-template-columns:minmax(0,1fr);gap:16px;padding:16px}
 body.quote-home .example-quote,body.quote-home .example-year{padding:18px}
 body.quote-home .example-direction{height:40px}
 body.quote-home .example-direction svg{transform:rotate(90deg)}
 body.quote-home .example-year .example-result-number{font-size:44px}
 body.quote-home .example-inputs>div{gap:10px}
 body.quote-home .example-inputs dt{font-size:14px}
 body.quote-home .quote-example figcaption{grid-column:1}
}

@media screen {
 body.quote-home .included-option{display:flex;align-items:flex-start;gap:10px;margin:12px 0 0;font-size:14px;line-height:1.5;font-weight:500}
 body.quote-home .included-option input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:none;margin:0}
 body.quote-home input:disabled{background:#edf3f9;color:#566777}
 body.quote-home #cost-result[data-stale=true]>:not(.result-stale-message){display:none}
 body.quote-home #cost-result .result-stale-message{margin:0!important;font-size:16px!important;color:#23364b}
 body.quote-home .result-ticket[data-stale=true] .ticket-lines small{display:none}
}
