body{margin:0;background:#0b213c;padding:20px 8px}a{color:#72daee}
#atilov-calc-preview{font:16px/1.5 system-ui,sans-serif;color:#f6fbff;background:#0b213c;border-radius:26px;max-width:760px;margin:auto;overflow:hidden}#atilov-calc-preview *{box-sizing:border-box}#atilov-calc-preview header{padding:20px 24px;border-bottom:1px solid #31455e;display:flex;justify-content:space-between;align-items:center}#atilov-calc-preview .logo{font-size:24px;font-weight:800;letter-spacing:2px}#atilov-calc-preview .preview{color:#bed3e7;font-size:12px}#atilov-calc-preview main{padding:24px;background:linear-gradient(130deg,#102644,#173d55)}#atilov-calc-preview .calc-title{font-size:30px;line-height:1.15;margin:6px 0 12px}#atilov-calc-preview h3{font-size:18px;margin:0 0 12px}#atilov-calc-preview p{margin:0 0 20px;color:#c7dbea}#atilov-calc-preview .eyebrow{color:#70d8ee;text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:700}#atilov-calc-preview .choices{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}#atilov-calc-preview button{font:inherit;cursor:pointer;min-height:46px;border:1px solid #58708a;background:#233f5a;color:white;border-radius:12px;padding:10px 14px}#atilov-calc-preview button[aria-pressed=true]{background:#e9f8ff;color:#12304b;border:2px solid #29c3e2}#atilov-calc-preview .panel{background:#f8fbfe;color:#142d48;border-radius:20px;padding:18px;margin-top:18px}#atilov-calc-preview .row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #dce6ed}#atilov-calc-preview .row:last-child{border:0}#atilov-calc-preview small{display:block;color:#50677c;font-size:12px;margin-top:4px}#atilov-calc-preview .count{display:flex;align-items:center;gap:12px;flex-shrink:0}#atilov-calc-preview .count button{padding:5px;width:44px;min-height:44px;background:#e9f1f7;color:#143853;border-color:#c8d8e4;font-size:22px}#atilov-calc-preview output{min-width:16px;text-align:center}#atilov-calc-preview .sum{display:flex;justify-content:space-between;align-items:end;gap:12px}#atilov-calc-preview .total{font-size:36px;font-weight:800;white-space:nowrap}#atilov-calc-preview .note{font-size:13px;color:#51677c;margin:12px 0 0}#atilov-calc-preview .cta{width:100%;background:#ff851b;color:#12263c;border:0;font-weight:750;margin-top:18px}#atilov-calc-preview .secondary{width:100%;margin-top:10px;background:transparent}#atilov-calc-preview .muted{font-size:12px;color:#c7dbea;margin:16px 0 0}#atilov-calc-preview [hidden]{display:none!important}#atilov-calc-preview .status{padding-top:12px;color:#a4e9f4;font-size:14px} @media(max-width:400px){#atilov-calc-preview main{padding:18px}#atilov-calc-preview .calc-title{font-size:27px}#atilov-calc-preview .panel{padding:14px}#atilov-calc-preview .row b{font-size:14px}}

#atilov-calc-preview .sum{flex-wrap:wrap}#atilov-calc-preview .total{font-size:clamp(26px,8vw,36px)}

#atilov-calc-preview[hidden],#calculator-completion[hidden],#calculator-edit[hidden]{display:none!important}#calculator-completion{max-width:850px;margin:0 auto}#calculator-completion .form-shell{margin:12px 0;padding:26px;border-radius:24px}#calculator-completion .completion-nav{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}#calculator-completion .completion-nav>a{display:inline-flex;align-items:center;min-height:44px}#calculator-completion #calculator-handoff{padding:16px;margin:16px 0;border:1px solid #b8d8eb55;border-radius:16px;background:#ffffff0c}#calculator-completion #calculator-handoff p{margin:0;line-height:1.65}#calculator-completion .form-progress{margin:20px 0}@media(max-width:480px){#calculator-completion .form-shell{padding:18px 14px}#calculator-completion h2{font-size:28px}#calculator-completion .completion-nav .button{font-size:15px;padding:12px 16px}}
#atilov-calc-preview .calc-home-button,#calculator-completion .calc-home-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 20px;margin-bottom:16px;border:1px solid #a7d2ee;border-radius:16px;background:#e9f5ff;color:#10365a;font:inherit;font-weight:750;line-height:1.4;text-decoration:none;box-shadow:0 6px 18px #061a3c22}
#atilov-calc-preview .calc-home-button:hover,#calculator-completion .calc-home-button:hover{background:#fff;border-color:#ff941f}
#atilov-calc-preview .calc-home-button:focus-visible,#calculator-completion .calc-home-button:focus-visible{outline:3px solid #ff941f;outline-offset:3px}
#calculator-completion .calc-home-button{margin-bottom:0}
@media(max-width:480px){#atilov-calc-preview .calc-home-button{width:100%;box-sizing:border-box}#calculator-completion .completion-nav>*{flex:1 1 100%;text-align:center}}
#atilov-calc-preview .calc-expert{display:grid;grid-template-columns:minmax(0,180px) 1fr;gap:16px;align-items:center;margin-top:18px;padding:12px;border:1px solid #58708a;border-radius:20px;background:#102b48}
#atilov-calc-preview .calc-expert img{display:block;width:100%;height:132px;object-fit:cover;object-position:center;border-radius:14px}
#atilov-calc-preview .calc-expert b{font-size:18px}
#atilov-calc-preview .calc-expert p{font-size:13px;margin:8px 0 0}
@media(max-width:480px){#atilov-calc-preview .calc-expert{grid-template-columns:1fr}#atilov-calc-preview .calc-expert img{height:auto;max-height:220px}}
#atilov-calc-preview .calc-assistant{background:#f6fbff;color:#122d49;padding:22px;border-radius:22px;margin:24px 0 32px;border:1px solid #b8d8eb}
#atilov-calc-preview .calc-assistant .eyebrow{color:#086b85}#atilov-calc-preview .calc-assistant h2{font-size:28px;line-height:1.2;margin:6px 0 18px}#atilov-calc-preview .calc-assistant p{color:#38576f;font-size:14px;line-height:1.55;margin:10px 0}
#atilov-calc-preview .calc-assistant label,#atilov-calc-preview .parts-filter-grid label{display:block;font-size:14px;font-weight:700}
#atilov-calc-preview textarea,#atilov-calc-preview input[type=search],#atilov-calc-preview select{display:block;width:100%;min-width:0;background:#fff;color:#122d49;border:1px solid #94adc0;border-radius:12px;padding:12px;font:inherit;margin:8px 0 12px;min-height:48px}
#atilov-calc-preview textarea{resize:vertical}#atilov-calc-preview :is(input,textarea,select,button):focus-visible{outline:3px solid #087e9e;outline-offset:3px}
#atilov-calc-preview .symptom-chips{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}#atilov-calc-preview .symptom-chips button{font-size:13px;color:#153a57;background:#e6f0f8;border-color:#b5cddd;min-height:44px}
#atilov-calc-preview .assistant-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}#atilov-calc-preview .assistant-actions button{margin:0}#atilov-calc-preview .assistant-actions .secondary{color:#143c5b;border-color:#8caec8}
#atilov-calc-preview .calc-suggestion{border-top:1px solid #ccdeeb;margin-top:20px;padding-top:18px}#atilov-calc-preview .calc-suggestion h3{font-size:18px;margin:0}#atilov-calc-preview .calc-suggestion b{display:block;margin:12px 0;font-size:17px}#atilov-calc-preview .calc-suggestion button{background:#113b60;width:100%}#atilov-calc-preview .calc-assistant .diagnosis-note{font-size:12px;margin-top:20px}#atilov-calc-preview .calc-caution{background:#fff0d8;padding:12px;border-radius:10px;color:#63390b!important}
#atilov-calc-preview .parts-filter-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:12px;margin-top:18px}#atilov-calc-preview #calc-results-count{color:#3f5c71;font-size:13px;margin:8px 0}#atilov-calc-preview .scope-chip{display:block;font-size:11px;color:#385870;background:#e7f1f7;border-radius:6px;padding:4px 6px;margin-top:7px;width:fit-content}
#atilov-calc-preview #calc-quote-only{margin:20px 0;padding:14px;border:1px solid #c7d8e5;border-radius:12px}#atilov-calc-preview #calc-quote-only button{display:block;text-align:left;width:100%;margin-top:10px;font-size:13px;background:#e9f1f7;color:#143853;border-color:#a8c1d4}
#atilov-calc-preview #calc-selection{border-top:1px solid #c7d8e5;margin-top:18px;padding-top:18px;font-size:13px}#atilov-calc-preview #calc-selection ul{padding-left:18px}#atilov-calc-preview #calc-selection li{margin:10px 0}#atilov-calc-preview #calc-selection button{min-height:44px;margin:4px;font-size:12px;background:transparent;color:#17476a;border-color:#a8c1d4;padding:4px 10px}
#atilov-calc-preview #calc-total{font-size:clamp(22px,7vw,36px)}#atilov-calc-preview .calc-section-title{font-size:23px}#atilov-calc-preview #calc-scope-warning,#atilov-calc-preview #calc-component-warning{border-left:4px solid #d66d0b;background:#fff5e8;color:#58370f}
@media(max-width:480px){#atilov-calc-preview .calc-assistant{padding:18px 14px}#atilov-calc-preview .assistant-actions,#atilov-calc-preview .parts-filter-grid{grid-template-columns:1fr}#atilov-calc-preview .row{align-items:flex-start;flex-wrap:wrap}#atilov-calc-preview .row>div:first-child{flex:1 1 150px}#atilov-calc-preview .count{margin-left:auto;align-self:center}#atilov-calc-preview .calc-assistant h2{font-size:26px}}

/* Same ATILOV palette as the main site; calculation and selection logic unchanged. */
body:has(#atilov-calc-preview){background:#EEF8FF;color:#061A3C;padding:24px 12px;font-family:var(--font)}
#atilov-calc-preview{background:#fff;color:#061A3C;font-family:var(--font);border:1px solid #d7e1eb;box-shadow:0 12px 32px #061a3c0a}
#atilov-calc-preview header{background:#061A3C;color:#fff;border-color:#203456}
#atilov-calc-preview header a{color:#fff}
#atilov-calc-preview .preview{color:#d7e1eb}
#atilov-calc-preview main{background:#fff;padding:28px}
#atilov-calc-preview p,#atilov-calc-preview .muted{color:#243650}
#atilov-calc-preview .eyebrow{color:#064DCC}
#atilov-calc-preview .panel,#atilov-calc-preview .calc-assistant{background:#f7fbff;color:#061A3C;border:1px solid #d7e1eb;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
#atilov-calc-preview button{background:#fff;color:#061A3C;border-color:#a9b8cb}
#atilov-calc-preview button[aria-pressed="true"]{background:#EEF8FF;color:#061A3C;border:2px solid #064DCC}
#atilov-calc-preview .cta{background:#FF6B00;color:#061A3C;border-color:#FF6B00}
#atilov-calc-preview .cta:disabled{opacity:.5;cursor:not-allowed}
#atilov-calc-preview .secondary{background:#fff;color:#061A3C;border:1px solid #a9b8cb}
#atilov-calc-preview .calc-suggestion button{background:#064DCC;color:#fff}
#atilov-calc-preview .total{color:#061A3C;font-variant-numeric:tabular-nums}
#atilov-calc-preview .calc-expert{background:#EEF8FF;color:#061A3C;border-color:#d7e1eb}
#atilov-calc-preview .status{color:#243650;background:#EEF8FF}
#calculator-completion #calculator-handoff{background:#EEF8FF;color:#061A3C;border-color:#ccd9e7}
#calculator-completion .completion-nav .secondary{background:#fff;color:#061A3C;border:1px solid #a9b8cb}
#atilov-calc-preview .sum{flex-wrap:wrap;align-items:center}
@media(max-width:480px){#atilov-calc-preview main{padding:22px 16px}#atilov-calc-preview .panel,#atilov-calc-preview .calc-assistant{padding:18px 14px}#atilov-calc-preview header{padding:18px 16px;gap:12px;flex-wrap:wrap}#atilov-calc-preview .preview{font-size:11px}#atilov-calc-preview .choices{gap:10px}#atilov-calc-preview .choices button{flex:1 1 140px;text-align:left}}
