/* Calculator collections use the shared Tools / Converter presentation. */
html[data-section-context="calculator"] main{color:#0F172A;--forest:var(--section-accent);--deep:var(--section-accent-dark);--lime:var(--section-soft);--lime-pale:var(--section-soft)}
html[data-section-context="calculator"] body{background:#fff}
html[data-section-context="calculator"] main h2{color:#171820}
html[data-section-context="calculator"] main a:not(.tool-card):not(.button){color:#982844}
html[data-section-context="calculator"] .section-hero{padding:44px 24px 30px;text-align:center;background:#fff}
html[data-section-context="calculator"] .section-hero h1{font-size:43px;max-width:900px;margin-inline:auto}
html[data-section-context="calculator"] .calculator-catalog{padding-block:15px 60px}
html[data-section-context="calculator"] .calculator-catalog .tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
html[data-section-context="calculator"] .calculator-catalog .tool-card{min-height:215px;padding:24px;border-radius:16px;background:linear-gradient(145deg,#fff,#FFF5F7);border-color:#EEDCE2}
html[data-section-context="calculator"] .calculator-catalog .tool-card h3{font-size:18px;line-height:1.4;margin-block:19px 10px;letter-spacing:-.025em}
html[data-section-context="calculator"] .calculator-catalog .tool-card p{font-size:12px;line-height:1.75;color:#566780}
html[data-section-context="calculator"] .calculator-catalog .card-label{font-size:10px;color:#566780}
html[data-section-context="calculator"] .calculator-catalog .tool-card[hidden]{display:none}
html[data-section-context="calculator"] .tool-icon{background:#FFF0F4;color:#BE3455}
html[data-section-context="calculator"] .motion-svg [stroke="#2563eb" i]{stroke:#BE3455}
html[data-section-context="calculator"] .motion-svg [stroke="#93c5fd" i],html[data-section-context="calculator"] .motion-svg [stroke="#bfdbfe" i]{stroke:#E8A9B9}
html[data-section-context="calculator"] .motion-svg [fill="#2563eb" i]{fill:#BE3455}
/* Shared type, panel and control styling preserves each calculator's workflow. */
html[data-section-context="calculator"] :is(.calc-page,.tool-page,.saudi-app,.calculator-section,.uae-formula,.sources-section){max-width:1180px}
html[data-section-context="calculator"] :is(.calc-hero,.tool-intro,.saudi-hero,.hero-copy){text-align:center;max-width:900px;margin-inline:auto;padding-block:32px 28px}
html[data-section-context="calculator"] :is(.calc-hero,.tool-intro,.saudi-hero,.hero-copy) h1{font-family:Manrope,'Segoe UI',sans-serif;font-size:clamp(30px,4vw,43px);font-weight:800;line-height:1.2;letter-spacing:-.045em;margin-block:16px}
html[data-section-context="calculator"] :is(.calc-hero,.tool-intro,.saudi-hero,.hero-copy)>p{font-size:14px;line-height:1.85;color:#62697A;max-width:760px;margin-inline:auto}
html[data-section-context="calculator"] :is(.calc-hero,.tool-intro)>.tool-icon{display:grid;width:72px;height:72px;margin-inline:auto;margin-bottom:16px}
html[data-section-context="calculator"] .calc-hero .calc-mark .motion-svg{width:64px;height:64px}
html[data-section-context="calculator"] .hero-copy .eyebrow{justify-content:center}
html[data-section-context="calculator"] :is(.calc-workspace>form,.calc-answer,.pct-quick-card,.tool-panel,.loan-result,.calc-form.panel,.result-panel,.saudi-panel){border:1px solid #E4E7EE;border-radius:16px;padding:24px;box-shadow:0 3px 14px #17182004}
html[data-section-context="calculator"] :is(.calc-answer,.loan-result,.result-panel,.saudi-result){background:#FFF7F9}
html[data-section-context="calculator"] .pct-quick-card{background:#fff}
html[data-section-context="calculator"] .pct-quick-answer{color:#982844}
html[data-section-context="calculator"] .calc-privacy{background:#FFF7F9;border-color:#E8A9B9}
html[data-section-context="calculator"] :is(.tool-panel,.calc-form,.saudi-panel,.calc-workspace,.pct-quick-card) h2{font-size:21px;font-weight:750;line-height:1.4;letter-spacing:-.025em}
html[data-section-context="calculator"] main :is(form label,.tool-field label,.saudi-field label,.field>label){font-size:13px;line-height:1.5;font-weight:600;color:#263043}
html[data-section-context="calculator"] main :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select){min-height:44px;border-radius:9px;font-size:14px}
html[data-section-context="calculator"] main :is(.button,.calculate-button,.saudi-toolbar button,.uae-actions button){min-height:44px;border-radius:9px;font-size:13px;font-weight:650}
html[data-section-context="calculator"] main :is(.button.secondary,.saudi-toolbar button:not(.saudi-primary),.uae-actions button:not(.calculate-button):not(.primary)){border-color:#E2CCD4;color:#982844;background:#fff}
html[data-section-context="calculator"] main .saudi-primary{background:#BE3455;border-color:#BE3455;color:#fff;min-height:44px;border-radius:9px}
html[data-section-context="calculator"] main .saudi-primary:hover{background:#982844;border-color:#982844}
html[data-section-context="calculator"] main :is(.reset-button,.text-button,.saudi-reset,.saudi-link){color:#982844;border-color:#E2CCD4}
html[data-section-context="calculator"] :is(.saudi-eyebrow,.hero-copy .eyebrow){color:#982844}
html[data-section-context="calculator"] .hero-copy .dot{background:#BE3455}
html[data-section-context="calculator"] :is(.loan-result .payment-value,.result-amount,.saudi-amount,.calc-number){color:#982844}
html[data-section-context="calculator"] :is(.result-amount .currency,.total-row strong,.result-topline>.section-index){color:#982844}
html[data-section-context="calculator"] :is(.result-badge,.breakdown-head>span){background:#FFF0F4;color:#982844;border-color:#E8A9B9}
html[data-section-context="calculator"] :is(.category-fields,.part-time-fields){background:#FFF7F9;border-color:#EEDCE2}
html[data-section-context="calculator"] .result-panel::before{background:#BE3455}
html[data-section-context="calculator"] .segmented input:checked+span{color:#982844;border-color:#E8A9B9;background:#FFF0F4}
html[data-section-context="calculator"] .segmented button[aria-pressed="true"]{background:#BE3455;border-color:#BE3455;color:#fff}
html[data-section-context="calculator"] .uae-gratuity-page .hero{display:block;padding-block:16px 24px}
html[data-section-context="calculator"] .uae-gratuity-page .hero-note{max-width:900px;margin:0 auto;background:#FFF7F9;border-color:#EEDCE2}
@media(max-width:900px){html[data-section-context="calculator"] .calculator-catalog .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){html[data-section-context="calculator"] .section-hero{padding-top:31px}html[data-section-context="calculator"] .section-hero h1{font-size:34px}html[data-section-context="calculator"] .calculator-catalog .tool-grid{grid-template-columns:minmax(0,1fr)}html[data-section-context="calculator"] :is(.calc-workspace>form,.calc-answer,.pct-quick-card,.tool-panel,.loan-result,.calc-form.panel,.result-panel,.saudi-panel){padding:20px}html[data-section-context="calculator"] :is(.calc-hero,.tool-intro,.saudi-hero,.hero-copy){padding-block:24px}}
@media print{html[data-section-context="calculator"] :is(.calc-answer,.loan-result,.result-panel,.saudi-result){background:#fff;box-shadow:none}}
