*{box-sizing:border-box}
/* ===== CALCULATOR-ONLY FAST LOADER + DAY THEME CLEANUP ===== */
#rkTaxCalcLoader{position:fixed;inset:0;z-index:1000000;display:grid;place-items:center;background:#f7fafc;color:#0A2342;opacity:1;visibility:visible;transition:opacity .22s ease,visibility .22s ease;pointer-events:auto}
#rkTaxCalcLoader.is-hidden{opacity:0;visibility:hidden;pointer-events:none}
.rk-tax-loader-card{min-width:170px;padding:20px 22px;border:1px solid #dfe7ec;border-radius:16px;background:#fff;box-shadow:0 12px 35px rgba(10,35,66,.08);display:flex;flex-direction:column;align-items:center;gap:11px;text-align:center}
.rk-tax-loader-spinner{width:30px;height:30px;border:3px solid #dce9ed;border-top-color:#0E6F63;border-radius:50%;animation:rkTaxSpin .7s linear infinite}
.rk-tax-loader-text{font:700 11px Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.2px;color:#52636b}
@keyframes rkTaxSpin{to{transform:rotate(360deg)}}
html:not(.site-dark-theme) .calculatorHeader{box-shadow:0 3px 18px rgba(10,35,66,.045)}
html:not(.site-dark-theme) .intro{box-shadow:0 12px 30px rgba(10,35,66,.08)}
html:not(.site-dark-theme) .panel,html:not(.site-dark-theme) .bottomActions{box-shadow:0 6px 20px rgba(10,35,66,.035)}
html:not(.site-dark-theme) .primary{box-shadow:0 7px 16px rgba(0,140,149,.12)}
html:not(.site-dark-theme) .rk-tax-dialog{box-shadow:0 18px 55px rgba(10,35,66,.12)}
html:not(.site-dark-theme) .rk-tax-modal .rk-tax-submit{box-shadow:0 7px 18px rgba(0,140,149,.10)}
html:not(.site-dark-theme) .rk-tax-modal.consent-ready .rk-tax-submit{box-shadow:0 0 0 1px rgba(0,174,239,.16),0 8px 20px rgba(0,140,149,.10)}
html:not(.site-dark-theme) .bottomActions{box-shadow:0 6px 20px rgba(10,35,66,.035)}

:root{--navy:#0A2342;--navy2:#123b67;--teal:#0E6F63;--blue:#00AEEF;--green:#00B67A;--bg:#f4f7f9;--line:#dfe7ec;--text:#172033;--muted:#687687;--white:#fff}
body{margin:0;background:var(--bg);color:var(--text);font:14px Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.top{min-height:74px;background:rgba(255,255,255,.98);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,5%);position:sticky;top:0;z-index:10;box-shadow:0 3px 18px rgba(10,35,66,.05)}
.brand{display:flex;gap:12px;align-items:center}.logo{width:44px;height:44px;border-radius:11px;background:linear-gradient(135deg,var(--navy),var(--teal));color:#fff;display:grid;place-items:center;font:800 14px Manrope}.brand b{display:block;font:700 16px Manrope;color:var(--navy)}.brand small{color:var(--muted);font-size:11px}.topRight{display:flex;align-items:center;gap:16px}.phone{font-weight:600;color:var(--navy);font-size:13px}
.wrap{max-width:1160px;margin:30px auto;padding:0 18px}.intro{background:linear-gradient(125deg,#0A2342 0%,#103e67 62%,#0E6F63 100%);border-radius:18px;padding:32px;color:#fff;display:flex;justify-content:space-between;gap:25px;margin-bottom:20px;box-shadow:0 14px 35px rgba(10,35,66,.16);position:relative;overflow:hidden}.intro:after{content:"";position:absolute;width:220px;height:220px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-70px;top:-100px}.introCopy{position:relative;z-index:1}.tag,.eyebrow{font-size:10px;letter-spacing:1.1px;font-weight:800}.tag{color:#8ff3ef}.intro h1{font:800 34px Manrope;margin:9px 0 8px}.intro p{margin:0;color:#dcebf5;max-width:650px;line-height:1.6}.trust{display:flex;gap:18px;flex-wrap:wrap;margin-top:20px;font-size:11px;color:#fff}.notice{position:relative;z-index:1;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:13px;padding:16px 20px;min-width:175px;display:grid;align-content:center}.notice small{color:#b9d4e6;font-size:10px;margin-top:4px}.notice strong{font:700 17px Manrope}
.layout{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:23px;margin-bottom:20px;box-shadow:0 7px 24px rgba(15,38,61,.045)}.panelHead{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf1f4;padding-bottom:14px;margin-bottom:18px}.panelHead h2{font:700 18px Manrope;margin:3px 0 0;color:var(--navy)}.panelHead.compact{margin-top:0}.eyebrow{color:var(--teal)}.pill{font-size:10px;font-weight:700;color:#596879;background:#f1f5f8;border:1px solid #e1e8ed;border-radius:999px;padding:6px 9px}.pill.teal{color:#007b80;background:#e8f7f7;border-color:#cceced}.panel label{display:block;font-weight:600;color:#344054;margin:15px 0}.panel label>span{float:right;color:#7b8794;font-weight:500}.panel input{width:100%;padding:13px 14px;border:1px solid #ccd7df;border-radius:9px;margin-top:7px;font-size:15px;color:var(--text);background:#fbfcfd;transition:.2s}.panel input:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px rgba(0,140,149,.11);background:#fff}.divider{border-top:1px solid #edf1f4;margin:23px 0}.info{font-size:12px;line-height:1.55;background:#eef8f8;border-left:3px solid var(--teal);padding:11px 12px;margin:18px 0;color:#475767;border-radius:0 8px 8px 0}.primary,.secondary,.outline{padding:12px 18px;border-radius:9px;font-weight:700;cursor:pointer;font-family:inherit}.primary{width:100%;border:0;background:linear-gradient(135deg,var(--navy),var(--teal));color:#fff;box-shadow:0 8px 18px rgba(0,140,149,.18)}.primary span{float:right;font-size:18px;line-height:14px}.secondary{width:100%;margin-top:8px;border:1px solid #d3dce3;background:#fff;color:#344054}.outline{border:1px solid #c5d0d9;background:#fff;color:var(--navy)}button{transition:.2s}button:hover{transform:translateY(-1px)}
.taxHero{background:linear-gradient(135deg,#eff9f9,#f1f7fb);border:1px solid #d6ebec;border-radius:12px;padding:19px;margin-bottom:17px}.taxHero small{color:#637282}.taxHero strong{display:block;font:800 35px Manrope;margin:6px 0;color:var(--navy)}.taxHero div{font-size:12px;color:#667688}.summaryGrid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#e6edf1;border:1px solid #e6edf1;border-radius:10px;overflow:hidden}.summaryGrid div{background:#fff;padding:12px}.summaryGrid span{display:block;color:#697686;font-size:11px}.summaryGrid b{display:block;margin-top:5px;color:var(--navy);font-size:14px}.result h3{font:700 15px Manrope;color:var(--navy);margin:21px 0 8px}.slab div{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #edf1f4}.slab span{color:#5f6b7b}.surchargeRow{background:#fffaf1;margin:0 -8px;padding-left:8px!important;padding-right:8px!important}.surchargeRow b{color:#075985}.slab .grand{border-top:2px solid #dfe6eb;border-bottom:0;margin-top:4px;padding-top:14px;font-size:16px}.take{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:17px}.take div{background:#f8fafb;padding:13px;border:1px solid #e5ebef;border-radius:9px}.take small{display:block;color:#697586}.take b{display:block;margin-top:6px;font-size:17px;color:var(--navy)}
.slabs{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.slabs div{background:#f8fafb;border:1px solid #e2e8ed;padding:13px 9px;border-radius:9px}.slabs b{display:block;font-size:11px;line-height:1.35}.slabs span{display:block;color:var(--teal);font-weight:800;margin-top:8px}.surchargeBox{margin-top:18px;background:#f6f9fb;border:1px solid #e0e8ed;border-radius:11px;padding:13px;display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(auto-fit,minmax(135px,1fr));gap:10px;align-items:center}.surchargeBox>div:first-child{display:flex;gap:10px;align-items:center}.miniIcon{width:32px;height:32px;border-radius:8px;background:#e4f6f5;color:#007c82;display:grid;place-items:center;font-weight:800}.surchargeBox small{display:block;color:#758291;margin-top:3px;font-size:10px}.surchargeRule{border-left:1px solid #dce5ea;padding-left:13px}.surchargeRule b{display:block;font-size:10px;color:#677686}.surchargeRule strong{display:block;color:var(--navy);font:800 18px Manrope;margin-top:4px}.footnote{color:#727e8c;font-size:10.5px;line-height:1.6;margin:15px 0 0}.contactStrip{background:#0A2342;border-radius:14px;padding:23px 26px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.contactStrip h2{font:700 18px Manrope;margin:5px 0}.contactStrip p{margin:0;color:#c6d6e3;font-size:12px}.contactStrip a{background:#00B67A;color:#fff;text-decoration:none;padding:12px 16px;border-radius:9px;font-weight:700;white-space:nowrap}.contactStrip .eyebrow{color:#78e3df}
footer{border-top:1px solid var(--line);background:#fff;padding:18px max(22px,5%);display:flex;justify-content:space-between;gap:15px;color:#748190;font-size:10.5px}footer b{color:var(--navy);margin-right:10px}
@media(max-width:850px){.layout{grid-template-columns:1fr}.slabs{grid-template-columns:repeat(2,1fr)}.surchargeBox{grid-template-columns:1fr}.surchargeRule{border-left:0;border-top:1px solid #dce5ea;padding:10px 0 0}.intro{display:block}.notice{margin-top:18px}.topRight .phone{display:none}}
@media(max-width:560px){.top{padding:0 15px}.brand small{display:none}.brand b{font-size:13px}.outline{font-size:10px;padding:9px}.wrap{margin-top:18px;padding:0 12px}.intro{padding:24px 20px;border-radius:14px}.intro h1{font-size:27px}.trust{gap:9px;flex-direction:column}.panel{padding:18px}.summaryGrid,.take{grid-template-columns:1fr}.contactStrip{display:block;padding:20px}.contactStrip a{display:inline-block;margin-top:14px}.slabs{grid-template-columns:1fr 1fr}footer{display:block}footer span{display:block;margin-top:7px}}
@media print{.top{position:static;box-shadow:none}.topRight .phone{display:none}.top button,.contactStrip{display:none}body{background:#fff}.panel,.intro{break-inside:avoid;box-shadow:none}.primary,.secondary{display:none}.wrap{margin:15px auto}}

.gainBox{margin:18px 0;padding:16px;border:1px solid #dce8ee;border-radius:16px;background:#f7fbfc}.gainTitle{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}.gainTitle b{font-size:15px}.gainRates{display:flex;gap:10px;margin-top:8px;flex-wrap:wrap}.gainRates span{background:#fff;border:1px solid #dce8ee;border-radius:999px;padding:6px 10px;font-size:12px}.gainRates b{color:#0E6F63}.capitalBox{margin-top:14px}
.houseBox{margin-top:18px}.houseCalc{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.houseCalc span{background:#f5f9fb;border:1px solid #dbe8ed;border-radius:12px;padding:11px;font-size:12px;color:#52636b}.houseCalc b{display:block;color:#0A2342;font-size:14px;margin-top:4px}.compactInfo{margin-top:12px}.houseBox .gainTitle{margin-bottom:12px}@media(max-width:700px){.houseCalc{grid-template-columns:1fr}}

.bottomActions{max-width:1160px;margin:0 auto 18px;padding:14px 18px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 7px 24px rgba(15,38,61,.045);display:flex;align-items:center;justify-content:space-between;gap:15px}.bottomPhone{font-weight:700;color:var(--navy);font-size:14px}.bottomPdfHint{display:block;margin-top:3px;color:#7a8794;font-size:9px;letter-spacing:.2px}.bottomActions .outline{padding:11px 17px}@media(max-width:560px){.bottomActions{margin:0 12px 18px;padding:12px 14px}.bottomPhone{font-size:12px}.bottomActions .outline{font-size:11px;padding:9px 12px}}
@media print{.bottomActions{display:none}}

/* ===== TAX CALCULATOR PAGE HEADER — CLEAN RESPONSIVE HEADER ===== */
.calculatorHeader{
  min-height:78px;
  background:#ffffff;
  border-bottom:1px solid #e5e7eb;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
  padding:10px max(22px,5%);
  box-shadow:0 3px 18px rgba(7,20,40,.07);
  position:sticky;
  top:0;
  z-index:20;
}
.calculatorBrand{
  justify-self:start;
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  min-width:0;
}
.calculatorLogo{width:48px;height:48px;object-fit:contain;display:block;flex:0 0 auto}
.calculatorBrandText{display:flex;flex-direction:column;line-height:1}
.calculatorBrandName{color:#071428;font:800 17px Manrope,Arial,sans-serif;letter-spacing:-.2px}
.calculatorBrandSub{color:#0EA5E9;font:700 10px Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:1.2px;margin-top:5px;text-transform:uppercase}
.calculatorTitleWrap{justify-self:center;text-align:center;min-width:0}
.calculatorHeader h1{margin:0;color:#071428;font:800 25px Manrope,Arial,sans-serif;letter-spacing:-.3px;text-transform:none}
/* Calculator title — subtle premium glow/pulse */
.calculatorHeader h1{
  text-shadow:0 0 0 rgba(14,165,233,0);
  animation:calculatorGlow 2.4s ease-in-out infinite;
}
@keyframes calculatorGlow{
  0%,100%{text-shadow:0 0 0 rgba(14,165,233,0);opacity:1}
  50%{text-shadow:0 0 10px rgba(14,165,233,.55),0 0 22px rgba(0,174,239,.18);opacity:.88}
}
@media (prefers-reduced-motion:reduce){
  .calculatorHeader h1{animation:none}
}
.calculatorHeader h1::after{content:"";display:block;width:42px;height:3px;border-radius:99px;background:#0EA5E9;margin:8px auto 0}
/* Compact back control: arrow only, always on the left. */
.backButton{
  grid-column:1;
  grid-row:1;
  justify-self:start;
  order:-1;
  width:36px;
  height:36px;
  padding:0;
  display:grid;
  place-items:center;
  text-decoration:none;
  color:#071428;
  background:#f6f7f9;
  border:1px solid #dfe5ea;
  border-radius:10px;
  box-shadow:0 3px 10px rgba(7,20,40,.07);
  transition:.2s ease;
  z-index:3;
}
.backButton:hover{transform:translateY(-1px);background:#fff7df;border-color:#0EA5E9;color:#071428}
.backArrow{font-size:21px;line-height:1;font-weight:800}
/* Keep the brand beside the left arrow without overlap. */
.calculatorBrand{grid-column:1;grid-row:1;margin-left:48px}
.calculatorTitleWrap{grid-column:2;grid-row:1}
@media(max-width:700px){
  .calculatorHeader{
    min-height:64px;
    grid-template-columns:44px minmax(0,1fr) 44px;
    padding:8px 12px;
    gap:6px;
  }
  .calculatorBrand{grid-column:1 / span 2;grid-row:1;margin-left:40px;min-width:0}
  .calculatorTitleWrap{grid-column:2;grid-row:1;justify-self:center;pointer-events:none;max-width:150px}
  .backButton{grid-column:1;grid-row:1;width:34px;height:34px}
  .calculatorLogo{width:38px;height:38px}
  .calculatorBrandText{display:none}
  .calculatorHeader h1{font-size:18px;white-space:nowrap}
  .calculatorHeader h1::after{margin-top:4px;width:28px;height:2px}
}
@media(max-width:380px){
  .calculatorHeader{padding:7px 9px;grid-template-columns:40px minmax(0,1fr) 40px}
  .calculatorBrand{margin-left:36px}
  .backButton{width:32px;height:32px}
  .backArrow{font-size:19px}
  .calculatorHeader h1{font-size:16px}
}
@media print{
  .calculatorHeader{position:static;box-shadow:none}
  .backButton{display:none}
}

/* ===== SYNC WITH MAIN WEBSITE THEME ===== */
html.site-dark-theme{color-scheme:dark}
html.site-dark-theme body{--bg:#071428;--line:#1d3552;--text:#edf3f8;--muted:#9fb1c3;--white:#0d2038;background:#071428;color:#edf3f8}
html.site-dark-theme .top,
html.site-dark-theme .calculatorHeader{background:#081a30;border-color:rgba(14,165,233,.16);box-shadow:0 4px 20px rgba(0,0,0,.28)}
html.site-dark-theme .brand b,
html.site-dark-theme .phone,
html.site-dark-theme .calculatorBrandName,
html.site-dark-theme .calculatorHeader h1{color:#f4f7fa}
html.site-dark-theme .brand small{color:#9fb1c3}
html.site-dark-theme .panel,
html.site-dark-theme .bottomActions{background:#0d2038;border-color:#1d3552;box-shadow:0 10px 28px rgba(0,0,0,.18)}
html.site-dark-theme .panelHead{border-color:#1d3552}
html.site-dark-theme .panelHead h2,
html.site-dark-theme .result h3{color:#f4f7fa}
html.site-dark-theme .panel label{color:#dce6ee}
html.site-dark-theme .panel label>span{color:#9fb1c3}
html.site-dark-theme .panel input{background:#081a30;border-color:#28415d;color:#f4f7fa}
html.site-dark-theme .panel input:focus{background:#0a2039}
html.site-dark-theme .divider{border-color:#1d3552}
html.site-dark-theme .pill{background:#142d49;border-color:#29435e;color:#b8c8d7}
html.site-dark-theme .pill.teal{background:#103b40;border-color:#1b666a;color:#79e0df}
html.site-dark-theme .secondary{background:#102944;border-color:#29435e;color:#e5edf4}
html.site-dark-theme .outline{background:#102944;border-color:#0EA5E9;color:#38BDF8}
html.site-dark-theme .info{background:#0d3034;border-color:#0E6F63;color:#c4d5df}
html.site-dark-theme .taxHero{background:linear-gradient(135deg,#102d46,#103847);border-color:#225666}
html.site-dark-theme .taxHero small,
html.site-dark-theme .taxHero div{color:#a9bdca}
html.site-dark-theme .taxHero strong{color:#f4f7fa}
html.site-dark-theme .summaryGrid{background:#1d3552;border-color:#1d3552}
html.site-dark-theme .summaryGrid div{background:#102944}
html.site-dark-theme .summaryGrid span{color:#9fb1c3}
html.site-dark-theme .summaryGrid b{color:#f4f7fa}
html.site-dark-theme .slab div{border-color:#1d3552}
html.site-dark-theme .slab span{color:#aab9c8}
html.site-dark-theme .surchargeRow{background:#2d281c}
html.site-dark-theme .surchargeRow b{color:#38BDF8}
html.site-dark-theme .take div{background:#102944;border-color:#29435e}
html.site-dark-theme .take small{color:#9fb1c3}
html.site-dark-theme .take b{color:#f4f7fa}
html.site-dark-theme .slabs div{background:#102944;border-color:#29435e}
html.site-dark-theme .slabs span{color:#65d5d7}
html.site-dark-theme .surchargeBox,
html.site-dark-theme .gainBox,
html.site-dark-theme .houseBox{background:#102944;border-color:#29435e}
html.site-dark-theme .surchargeBox small,
html.site-dark-theme .surchargeRule b,
html.site-dark-theme .footnote,
html.site-dark-theme .gainTitle small{color:#9fb1c3}
html.site-dark-theme .surchargeRule{border-color:#29435e}
html.site-dark-theme .surchargeRule strong,
html.site-dark-theme .houseCalc b{color:#f4f7fa}
html.site-dark-theme .houseCalc span{background:#0d2038;border-color:#29435e;color:#a9bdca}
html.site-dark-theme .gainRates span{background:#0d2038;border-color:#29435e;color:#dce6ee}
html.site-dark-theme .miniIcon{background:#103b40;color:#79e0df}
html.site-dark-theme footer{background:#061224;border-color:#1d3552;color:#9fb1c3}
html.site-dark-theme footer b{color:#38BDF8}
html.site-dark-theme .backButton{background:#102944;border-color:#29435e;color:#38BDF8;box-shadow:0 4px 12px rgba(0,0,0,.24)}
html.site-dark-theme .backButton:hover{background:#163452;color:#fff}
html.site-dark-theme .resultActions{background:linear-gradient(135deg,#0d3034,#102944);border-color:#28545b}
html.site-dark-theme .resultActionsText strong{color:#f4f7fa}
html.site-dark-theme .resultActionsText span{color:#a9bdca}

.printGenerated{display:grid;grid-template-columns:auto auto auto auto;gap:5px 8px;margin-top:7px;font-size:8.5px;color:#687687;align-items:center}
.printGenerated b{font-weight:700;color:#172033}

/* ===== FINAL TAX CALCULATOR CONVERSION + PROFESSIONAL PRINT LAYER ===== */
.resultActions{margin-top:20px;padding:16px;border:1px solid #d9e9e9;border-radius:13px;background:linear-gradient(135deg,#f5fbfb,#f5f9fc);display:flex;align-items:center;justify-content:space-between;gap:16px}
.resultActionsText{display:flex;flex-direction:column;gap:4px;min-width:0}
.resultActionsText strong{font:700 14px Manrope,Inter,sans-serif;color:var(--navy)}
.resultActionsText span{font-size:11px;color:#687687;line-height:1.5}
.resultActionButtons{display:flex;gap:9px;flex:0 0 auto}
.resultActionButtons a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:10px 14px;border-radius:9px;font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap;transition:.2s ease}
.resultWhatsApp{background:#00B67A;color:#fff;box-shadow:0 6px 15px rgba(0,182,122,.18)}
.resultCall{background:#0A2342;color:#fff;box-shadow:0 6px 15px rgba(10,35,66,.15)}
.resultActionButtons a:hover{transform:translateY(-1px);filter:brightness(1.04)}
.contactStripActions{display:flex;gap:9px;flex:0 0 auto;align-items:center}
.contactStripActions a{display:inline-flex;align-items:center;justify-content:center}
.contactStrip .stripCall{background:#fff;color:#0A2342;border:1px solid rgba(255,255,255,.35)}
.contactStrip .stripWhatsApp{background:#00B67A;color:#fff}
.printReport{display:none}
.printClientBlock{display:grid;grid-template-columns:1.4fr 1fr 1.4fr;gap:0;margin:8px 0 10px;border:1px solid #d8e1e7;border-radius:6px;overflow:hidden;background:#fff}
.printClientBlock>div{padding:8px 10px;border-right:1px solid #e8edf0;display:flex;flex-direction:column;gap:3px}
.printClientBlock>div:last-child{border-right:0}
.printClientBlock span{font-size:7px;text-transform:uppercase;letter-spacing:.8px;font-weight:800;color:#075985}
.printClientBlock b{font-size:9px;color:#172033;word-break:break-word}


@media(max-width:700px){
  .resultActions{display:block}
  .resultActionButtons{display:grid;grid-template-columns:1fr 1fr;margin-top:12px}
  .resultActionButtons a{width:100%}
  .contactStripActions{display:grid;grid-template-columns:1fr;margin-top:13px}
  .contactStripActions a{width:100%}
}

@media print{
  @page{size:A4;margin:10mm 10mm 10mm}
  html,body{width:100%!important;min-height:0!important;height:auto!important;background:#fff!important;color:#172033!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body > .calculatorHeader,body > .bottomActions,body > footer{display:none!important}
  body > .wrap{display:block!important;max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
  body > .wrap > *{display:none!important}
  body > .wrap > .printReport,body > main > .printReport{display:block!important;position:relative!important;visibility:visible!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important;color:#172033!important;background:#fff!important}
  .printReport *{visibility:visible!important}
  .printReportHeader{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:8px;border-bottom:2px solid #0A2342}
  .printKicker{font:800 10px Manrope,Arial,sans-serif;letter-spacing:1.3px;color:#0EA5E9}
  .printReportHeader h1{margin:3px 0 2px;font:800 21px Manrope,Arial,sans-serif;color:#0A2342}
  .printReportHeader p{margin:0;font-size:8.5px;color:#687687}
  .printLogoBox{width:48px;height:48px;display:flex;align-items:center;justify-content:center}
  .printLogoBox img{width:46px;height:46px;object-fit:contain}
  .printGenerated{grid-template-columns:auto auto auto auto;gap:3px 7px;margin-top:5px;font-size:7.5px}
  .printGenerated b{font-size:7.5px}
  .printReportMeta{margin:7px 0 9px;padding:6px 8px;background:#f5f8fa;border-left:3px solid #0E6F63;border-radius:3px;font-size:7.5px;line-height:1.35;color:#5f6c78}
  .printReportHighlight{display:flex;align-items:center;justify-content:space-between;padding:8px 11px;margin-bottom:9px;background:#edf8f7;border:1px solid #cce9e6;border-radius:6px}
  .printReportHighlight span{font-size:8.5px;color:#52636b;font-weight:700}
  .printReportHighlight strong{font:800 18px Manrope,Arial,sans-serif;color:#0A2342}
  .printReportGrid{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid #dfe7ec;border-radius:5px;overflow:hidden;margin-bottom:9px}
  .printReportGrid div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 7px;border-bottom:1px solid #e8edf0;font-size:7.5px;line-height:1.2}
  .printReportGrid div:nth-child(odd){border-right:1px solid #e8edf0}
  .printReportGrid div:nth-last-child(-n+2){border-bottom:0}
  .printReportGrid span{color:#657482}
  .printReportGrid b{color:#172033;font-size:8px;text-align:right}
  .printComputation{border:1px solid #dfe7ec;border-radius:5px;overflow:hidden;margin-bottom:10px}
  .printComputation h2{margin:0;padding:6px 8px;background:#0A2342;color:#fff;font:700 9px Manrope,Arial,sans-serif}
  .printComputation div{display:flex;justify-content:space-between;gap:8px;padding:5px 8px;border-bottom:1px solid #e8edf0;font-size:7.5px;line-height:1.2}
  .printComputation div:last-child{border-bottom:0}
  .printComputation b{font-size:8px;color:#172033}
  .printComputation .printGrand{background:#f4f7f9;border-top:2px solid #0EA5E9;font-weight:800}
  .printComputation .printGrand b{font-size:10px;color:#0A2342}
  .printReportFooter{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding-top:7px;border-top:1px solid #dfe7ec;font-size:7px;line-height:1.4;color:#687687}
  .printReportFooter strong{color:#0A2342;font-size:8px}
  .printDisclaimer{margin:7px 0 0;padding-top:6px;border-top:1px solid #e5eaed;font-size:6.5px;line-height:1.4;color:#77838e}
}

/* ===== FINAL ONE-PAGE PROFESSIONAL TAX REPORT ===== */
@media print{
  @page{size:A4 portrait;margin:0!important}
  html,body{margin:0!important;padding:0!important;width:210mm!important;min-height:297mm!important;background:#fff!important}
  body{overflow:visible!important}
  body > .wrap > .printReport,body > main > .printReport{
    box-sizing:border-box!important;
    width:210mm!important;
    max-width:210mm!important;
    min-height:297mm!important;
    height:297mm!important;
    margin:0!important;
    padding:8mm 9mm 7mm!important;
    overflow:hidden!important;
    background:#fff!important;
    color:#172033!important;
    page-break-after:avoid!important;
    break-after:avoid-page!important;
  }
  .printReportHeader{
    padding:0 0 5mm!important;
    border-bottom:2.2px solid #0A2342!important;
    align-items:flex-start!important;
  }
  .printKicker{font-size:10px!important;letter-spacing:1.8px!important;color:#075985!important}
  .printReportHeader h1{font-size:23px!important;line-height:1.1!important;margin:2px 0 2px!important;color:#0A2342!important}
  .printReportHeader p{font-size:8.5px!important;color:#667586!important}
  .printGenerated{display:flex!important;flex-wrap:wrap!important;gap:2px 7px!important;margin-top:5px!important;font-size:7.6px!important}
  .printGenerated b{font-size:7.6px!important;margin-right:10px!important}
  .printLogoBox{width:54px!important;height:54px!important}
  .printLogoBox img{width:52px!important;height:52px!important}
  .printReportMeta{
    margin:4mm 0 3mm!important;
    padding:2.5mm 3mm!important;
    border-left:3px solid #0E6F63!important;
    border-radius:3px!important;
    background:#f3f7f9!important;
    font-size:7.3px!important;
    line-height:1.35!important;
  }
  .printReportHighlight{
    margin:0 0 3mm!important;
    padding:3mm 4mm!important;
    min-height:13mm!important;
    box-sizing:border-box!important;
    border:1px solid #c9e5e2!important;
    border-radius:5px!important;
    background:linear-gradient(90deg,#edf8f7,#f5fbfa)!important;
  }
  .printReportHighlight span{font-size:8.5px!important;letter-spacing:.1px!important}
  .printReportHighlight strong{font-size:19px!important;color:#0A2342!important}
  .printReportGrid{
    grid-template-columns:1fr 1fr!important;
    margin:0 0 3mm!important;
    border:1px solid #d8e1e7!important;
    border-radius:4px!important;
  }
  .printReportGrid div{padding:2.2mm 2.8mm!important;font-size:7.5px!important;min-height:7mm!important;box-sizing:border-box!important}
  .printReportGrid b{font-size:7.9px!important}
  .printComputation{margin:0 0 3mm!important;border:1px solid #d8e1e7!important;border-radius:4px!important}
  .printComputation h2{padding:2.2mm 3mm!important;font-size:9px!important;letter-spacing:.2px!important;background:#0A2342!important}
  .printComputation div{padding:1.9mm 3mm!important;font-size:7.4px!important;min-height:6.2mm!important;box-sizing:border-box!important}
  .printComputation b{font-size:7.8px!important}
  .printComputation .printGrand{padding-top:2.2mm!important;padding-bottom:2.2mm!important;border-top:2px solid #0EA5E9!important;background:#f7f8f9!important}
  .printComputation .printGrand b{font-size:9.5px!important}
  .printReportFooter{
    grid-template-columns:1.2fr .8fr!important;
    gap:8mm!important;
    padding:3mm 0 0!important;
    margin-top:0!important;
    border-top:1px solid #d8e1e7!important;
    font-size:6.8px!important;
    line-height:1.35!important;
  }
  .printReportFooter strong{font-size:7.8px!important;color:#0A2342!important}
  .printDisclaimer{
    box-sizing:border-box!important;
    margin:3mm 0 0!important;
    padding:2.5mm 3mm!important;
    border:1px solid #e0e5e8!important;
    border-left:3px solid #0EA5E9!important;
    border-radius:3px!important;
    background:#fafbfc!important;
    font-size:6.3px!important;
    line-height:1.4!important;
    color:#687582!important;
  }
  .printDisclaimer strong{color:#394957!important}
}

/* ===== FINAL DARK THEME PHONE VISIBILITY ===== */
html.site-dark-theme .bottomPhone,
html.site-dark-theme .bottomPhone{
  color:#38BDF8 !important;
  opacity:1 !important;
  visibility:visible !important;
  text-shadow:0 0 8px rgba(14,165,233,.14);
}
html.site-dark-theme .bottomActions,
html.site-dark-theme .bottomActions{
  background:#102944 !important;
  border-color:#29435e !important;
}


/* ===== TAX CALCULATOR DETAILS GATE — desktop + mobile ===== */
.rk-gated-hidden{display:none !important}
body.rk-tax-modal-open{overflow:hidden !important}
.rk-tax-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
.rk-tax-modal.is-open{display:flex}
.rk-tax-backdrop{position:absolute;inset:0;background:rgba(3,14,29,.70);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.rk-tax-dialog{position:relative;z-index:1;width:min(560px,100%);max-height:min(92vh,760px);overflow:auto;box-sizing:border-box;overflow-x:hidden;background:#fff;border:1px solid #d8e2ea;border-radius:20px;box-shadow:0 30px 90px rgba(0,0,0,.40);padding:28px;color:#172033}
.rk-tax-close{position:absolute;right:14px;top:12px;z-index:5;width:38px;height:38px;border:1px solid #dfe6eb;border-radius:50%;background:#f7f9fa;color:#41505d;font-size:25px;line-height:1;cursor:pointer}
.rk-tax-modal-icon{width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#0A2342,#0E6F63);color:#fff;display:grid;place-items:center;font-weight:900;font-size:22px;margin-bottom:14px}
.rk-tax-kicker{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#0E6F63}
.rk-tax-dialog h2{font:800 25px Manrope,Arial,sans-serif;color:#0A2342;margin:7px 0 8px}
.rk-tax-intro{font-size:12px;line-height:1.55;color:#657482;margin:0 0 18px}.rk-tax-intro strong{color:#0A2342}
.rk-tax-field{min-width:0}.rk-tax-field label{display:block;font-weight:700;color:#344054;font-size:12px;margin:0 0 6px}.rk-tax-field label span{color:#c62828}.rk-tax-field label em{font-style:normal;font-weight:500;color:#7b8794}
.rk-tax-field input{width:100%;box-sizing:border-box;padding:13px 14px;border:1px solid #ccd7df;border-radius:10px;background:#fbfcfd;color:#172033;font:500 14px Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;outline:none}.rk-tax-field input:focus{border-color:#0E6F63;box-shadow:0 0 0 3px rgba(0,140,149,.12);background:#fff}.rk-tax-field input.invalid{border-color:#d14343;box-shadow:0 0 0 3px rgba(209,67,67,.10)}
.rk-tax-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.rk-tax-error{display:block;min-height:15px;color:#c62828;font-size:10px;padding-top:4px}
.rk-tax-consent{display:flex;align-items:flex-start;gap:9px;margin:4px 0 12px;font-size:11px;line-height:1.45;color:#586775;cursor:pointer}.rk-tax-consent input{margin:2px 0 0;accent-color:#0E6F63;flex:0 0 auto}
.rk-tax-disclaimer{font-size:10px;line-height:1.5;color:#687784;background:#f5f8fa;border:1px solid #e1e8ed;border-left:3px solid #0EA5E9;border-radius:8px;padding:10px 11px;margin-bottom:12px}.rk-tax-disclaimer strong{color:#3d4b57}
.rk-tax-status{min-height:18px;font-size:11px;line-height:1.4;margin:4px 0 8px;color:#637282}.rk-tax-status.error{color:#c62828}.rk-tax-status.success{color:#087f5b}
.rk-tax-submit{width:100%;border:0;border-radius:10px;padding:13px 16px;background:linear-gradient(135deg,#0A2342,#0E6F63);color:#fff;font:800 13px Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:12px}.rk-tax-submit b{margin-left:auto;font-size:18px}.rk-tax-submit:disabled{opacity:.65;cursor:wait}
/* ===== COMPLETE DAY / NIGHT THEME FOR SECURE REQUEST MODAL ===== */
html.site-dark-theme .rk-tax-dialog{background:#102944;border-color:#29435e;color:#edf6fb}
html.site-dark-theme .rk-tax-dialog h2{color:#fff}
html.site-dark-theme .rk-tax-intro{color:#bfd0de}
html.site-dark-theme .rk-tax-intro strong{color:#38BDF8}
html.site-dark-theme .rk-tax-field label{color:#e7f0f5}
html.site-dark-theme .rk-tax-field label em{color:#9fb1c3}
html.site-dark-theme .rk-tax-field input{background:#081c32;border-color:#31516d;color:#fff}
html.site-dark-theme .rk-tax-field input::placeholder{color:#8299ab}
html.site-dark-theme .rk-tax-field input:focus{background:#0b223b;border-color:#00aeb5}
html.site-dark-theme .rk-tax-consent{color:#b9cad7}
html.site-dark-theme .rk-tax-disclaimer{background:#0b223b;border-color:#31516d;color:#aebfcd}
html.site-dark-theme .rk-tax-disclaimer strong{color:#38BDF8}
html.site-dark-theme .rk-tax-close{background:#173653;border-color:#31516d;color:#fff}
html.site-dark-theme .rk-tax-status{color:#b9cad7}
html.site-dark-theme .rk-tax-status.error{color:#ff8e8e}
html.site-dark-theme .rk-tax-success h3{color:#fff}
html.site-dark-theme .rk-tax-success p{color:#b9cad7}
html.site-dark-theme .rk-tax-done{color:#38BDF8;border-color:#0EA5E9;background:transparent}

html:not(.site-dark-theme) .rk-tax-dialog{background:#fff;border-color:#d8e2ea;color:#172033}
html:not(.site-dark-theme) .rk-tax-dialog h2{color:#0A2342}
html:not(.site-dark-theme) .rk-tax-intro{color:#657482}
html:not(.site-dark-theme) .rk-tax-intro strong{color:#0A2342;font-weight:800}
html:not(.site-dark-theme) .rk-tax-field label{color:#344054}
html:not(.site-dark-theme) .rk-tax-field label em{color:#7b8794}
html:not(.site-dark-theme) .rk-tax-field input{background:#fbfcfd;border-color:#ccd7df;color:#172033}
html:not(.site-dark-theme) .rk-tax-field input::placeholder{color:#7b8794}
html:not(.site-dark-theme) .rk-tax-field input:focus{background:#fff;border-color:#0E6F63}
html:not(.site-dark-theme) .rk-tax-consent{color:#586775}
html:not(.site-dark-theme) .rk-tax-disclaimer{background:#f5f8fa;border-color:#e1e8ed;color:#687784}
html:not(.site-dark-theme) .rk-tax-disclaimer strong{color:#3d4b57}
html:not(.site-dark-theme) .rk-tax-close{background:#f7f9fa;border-color:#dfe6eb;color:#41505d}
html:not(.site-dark-theme) .rk-tax-status{color:#637282}
html:not(.site-dark-theme) .rk-tax-status.error{color:#c62828}
html:not(.site-dark-theme) .rk-tax-success h3{color:#0A2342}
html:not(.site-dark-theme) .rk-tax-success p{color:#657482}
html:not(.site-dark-theme) .rk-tax-done{color:#075985;border-color:#0EA5E9;background:#fffdf5}

@media(max-width:600px){.rk-tax-modal{padding:8px;align-items:flex-end;background:rgba(3,14,29,.58);-webkit-backdrop-filter:none;backdrop-filter:none}.rk-tax-backdrop{background:rgba(3,14,29,.58);-webkit-backdrop-filter:none;backdrop-filter:none}.rk-tax-dialog{width:100%;max-height:94vh;box-sizing:border-box;border-radius:20px 20px 12px 12px;padding:12px 16px 18px;transform:translateZ(0);-webkit-overflow-scrolling:touch}.rk-tax-close{position:sticky;top:0;display:block;margin:0 0 8px auto;right:auto;z-index:20;width:36px;height:36px;min-width:36px;flex:0 0 36px}.rk-tax-modal-icon{width:44px;height:44px;margin-bottom:11px}.rk-tax-dialog h2{font-size:22px;padding-right:0}.rk-tax-intro{font-size:11.5px}.rk-tax-two{grid-template-columns:1fr;gap:0}.rk-tax-field input{font-size:16px;padding:12px 13px}.rk-tax-submit,.rk-tax-close,.primary#calc,.outline#printBtn{touch-action:manipulation;-webkit-tap-highlight-color:transparent}}

/* Mobile calculator polish: keep PDF action visible after the secure gate is unlocked. */
.rk-tax-submit{position:relative;overflow:hidden;isolation:isolate;}
.rk-tax-submit::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,166,180,.0),rgba(0,166,180,.38));transform:scaleX(0);transform-origin:left center;transition:transform .45s cubic-bezier(.2,.75,.2,1);z-index:-1;}
.rk-tax-modal.consent-ready .rk-tax-submit::before{transform:scaleX(1);}
.rk-tax-modal.consent-ready .rk-tax-submit{box-shadow:0 0 0 1px rgba(0,174,239,.22),0 10px 28px rgba(0,174,239,.16);}
@media(max-width:600px){
  .bottomActions{position:sticky;bottom:0;z-index:1200;margin:0 8px 8px;padding:10px 12px;border-radius:14px;box-shadow:0 -8px 24px rgba(0,0,0,.18);}
  .bottomActions .outline{display:inline-flex!important;align-items:center;justify-content:center;min-height:42px;white-space:nowrap;}
  .bottomPhone{font-size:11px;}
}


/* ===== SECURE REQUEST SUCCESS + PDF ACTION ===== */
.rk-tax-success{text-align:center;padding-top:4px}
.rk-tax-success-icon{width:58px;height:58px;margin:0 auto 12px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#0E6F63,#00aeb5);color:#fff;font-size:28px;font-weight:900;box-shadow:0 10px 30px rgba(0,140,149,.25)}
.rk-tax-success-kicker{font-size:10px;font-weight:800;letter-spacing:1.7px;color:#00aeb5}
.rk-tax-success h3{font:800 28px Manrope,Arial,sans-serif;color:#0a2342;margin:7px 0}
.rk-tax-success p{margin:0 auto 18px;max-width:430px;font-size:13px;line-height:1.55;color:#657482}
.rk-tax-download{width:100%;border:0;border-radius:11px;padding:14px 16px;background:linear-gradient(135deg,#0a2342,#0E6F63);color:#fff;font:800 13px Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 10px 26px rgba(0,140,149,.18)}
.rk-tax-download b{margin-left:auto;font-size:18px}.rk-tax-download:disabled{opacity:.7;cursor:wait}
.rk-tax-done{width:100%;margin-top:9px;border:1px solid #0EA5E9;border-radius:11px;padding:12px 16px;background:transparent;color:#075985;font:800 12px Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
html.site-dark-theme .rk-tax-success h3{color:#fff}html.site-dark-theme .rk-tax-success p{color:#b9cad7}html.site-dark-theme .rk-tax-done{color:#38BDF8;border-color:#0EA5E9}
@media(max-width:600px){.rk-tax-success h3{font-size:25px}.rk-tax-success p{font-size:12px}.rk-tax-download{min-height:48px;font-size:13px}.rk-tax-done{min-height:44px}}

/* ===== FINAL DAY-THEME SHADOW CLEANUP ===== */
html:not(.site-dark-theme) .calculatorHeader,
html:not(.site-dark-theme) .panel,
html:not(.site-dark-theme) .bottomActions,
html:not(.site-dark-theme) .intro,
html:not(.site-dark-theme) .primary,
html:not(.site-dark-theme) .rk-tax-dialog,
html:not(.site-dark-theme) .rk-tax-submit,
html:not(.site-dark-theme) .rk-tax-success-icon,
html:not(.site-dark-theme) .rk-tax-download{
  box-shadow:0 6px 20px rgba(10,35,66,.06) !important;
}
html:not(.site-dark-theme) .rk-tax-dialog{box-shadow:0 14px 42px rgba(10,35,66,.10) !important}
html:not(.site-dark-theme) .rk-tax-success-icon{box-shadow:0 8px 20px rgba(0,140,149,.10) !important}
html:not(.site-dark-theme) .rk-tax-download{box-shadow:0 8px 20px rgba(0,140,149,.10) !important}
@media(max-width:600px){html:not(.site-dark-theme) .bottomActions{box-shadow:0 -4px 14px rgba(10,35,66,.06) !important}}

/* Typography alignment with the main site */
:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}
h1,h2,h3,h4,h5,h6{font-family:Manrope,Inter,system-ui,sans-serif;letter-spacing:-.025em}

/* ===== FINAL TAX REQUEST MODAL — HARDENED LAYOUT / NO INLINE FALLBACK ===== */
html body #taxRequestModal.rk-tax-modal{
  position:fixed !important;
  inset:0 !important;
  z-index:2147483000 !important;
  display:none !important;
  align-items:center !important;
  justify-content:center !important;
  width:100vw !important;
  height:100vh !important;
  min-height:100vh !important;
  margin:0 !important;
  padding:20px !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
  isolation:isolate !important;
}
html body #taxRequestModal.rk-tax-modal.is-open{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
}
html body #taxRequestModal.rk-tax-modal .rk-tax-backdrop{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  background:rgba(3,14,29,.76) !important;
  backdrop-filter:blur(8px) !important;
  -webkit-backdrop-filter:blur(8px) !important;
}
html body #taxRequestModal.rk-tax-modal .rk-tax-dialog{
  position:relative !important;
  z-index:2 !important;
  display:block !important;
  width:min(560px,calc(100vw - 40px)) !important;
  max-width:560px !important;
  max-height:calc(100vh - 40px) !important;
  margin:0 !important;
  padding:30px !important;
  box-sizing:border-box !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
  border:1px solid rgba(14,165,233,.30) !important;
  border-radius:22px !important;
  background:#ffffff !important;
  color:#172033 !important;
  box-shadow:0 28px 90px rgba(0,0,0,.42) !important;
}
html.site-dark-theme body #taxRequestModal.rk-tax-modal .rk-tax-dialog{
  background:#102944 !important;
  border-color:rgba(14,165,233,.34) !important;
  color:#edf6fb !important;
}
html body #taxRequestModal.rk-tax-modal .rk-tax-close{
  position:absolute !important;
  top:14px !important;
  right:14px !important;
  z-index:10 !important;
  display:grid !important;
  place-items:center !important;
  width:38px !important;
  height:38px !important;
  min-width:38px !important;
  min-height:38px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #dfe6eb !important;
  border-radius:50% !important;
  background:#f7f9fa !important;
  color:#41505d !important;
  font:400 25px/1 Arial,sans-serif !important;
  cursor:pointer !important;
  transform:none !important;
}
html.site-dark-theme body #taxRequestModal.rk-tax-modal .rk-tax-close{
  background:#173653 !important;
  border-color:#31516d !important;
  color:#fff !important;
}
html body #taxRequestModal.rk-tax-modal .rk-tax-modal-icon{
  width:50px !important;
  height:50px !important;
  margin:0 0 14px !important;
  border-radius:15px !important;
  display:grid !important;
  place-items:center !important;
  background:linear-gradient(135deg,#0A2342,#0E6F63) !important;
  color:#fff !important;
  font:900 22px/1 Inter,Arial,sans-serif !important;
}
html body #taxRequestModal.rk-tax-modal .rk-tax-kicker{
  margin:0 0 7px !important;
  color:#0E6F63 !important;
  font:800 10px/1.3 Inter,Arial,sans-serif !important;
  letter-spacing:1.6px !important;
}
html body #taxRequestModal.rk-tax-modal .rk-tax-dialog h2{
  margin:0 48px 8px 0 !important;
  color:#0A2342 !important;
  font:800 26px/1.2 Manrope,Inter,sans-serif !important;
  letter-spacing:-.03em !important;
}
html.site-dark-theme body #taxRequestModal.rk-tax-modal .rk-tax-dialog h2{color:#fff !important}
html body #taxRequestModal.rk-tax-modal .rk-tax-intro{
  margin:0 0 20px !important;
  color:#657482 !important;
  font:400 12px/1.6 Inter,Arial,sans-serif !important;
}
html.site-dark-theme body #taxRequestModal.rk-tax-modal .rk-tax-intro{color:#bfd0de !important}
html body #taxRequestModal.rk-tax-modal .rk-tax-intro strong{color:#0A2342 !important;font-weight:800 !important}
html.site-dark-theme body #taxRequestModal.rk-tax-modal .rk-tax-intro strong{color:#38BDF8 !important}
html body #taxRequestModal.rk-tax-modal .rk-tax-field{display:block !important;width:100% !important;margin:0 0 12px !important}
html body #taxRequestModal.rk-tax-modal .rk-tax-field label{
  display:block !important;
  margin:0 0 6px !important;
  color:#344054 !important;
  font:700 12px/1.3 Inter,Arial,sans-serif !important;
}
html.site-dark-theme body #taxRequestModal.rk-tax-modal .rk-tax-field label{color:#e7f0f5 !important}
html body #taxRequestModal.rk-tax-modal .rk-tax-field input{
  display:block !important;
  width:100% !important;
  min-height:46px !important;
  margin:0 !important;
  padding:12px 14px !important;
  box-sizing:border-box !important;
  border:1px solid #ccd7df !important;
  border-radius:10px !important;
  background:#fbfcfd !important;
  color:#172033 !important;
  font:500 14px/1.35 Inter,Arial,sans-serif !important;
  outline:none !important;
}
html.site-dark-theme body #taxRequestModal.rk-tax-modal .rk-tax-field input{
  background:#081c32 !important;
  border-color:#31516d !important;
  color:#fff !important;
}
html body #taxRequestModal.rk-tax-modal .rk-tax-two{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:12px !important;
  width:100% !important;
}
html body #taxRequestModal.rk-tax-modal .rk-tax-error{
  display:block !important;
  min-height:0 !important;
  margin:4px 0 0 !important;
  padding:0 !important;
  color:#c62828 !important;
  font:500 10px/1.35 Inter,Arial,sans-serif !important;
}
html body #taxRequestModal.rk-tax-modal .rk-tax-consent{
  display:flex !important;
  align-items:flex-start !important;
  gap:9px !important;
  width:100% !important;
  margin:5px 0 12px !important;
  padding:0 !important;
  color:#586775 !important;
  font:500 11px/1.5 Inter,Arial,sans-serif !important;
}
html.site-dark-theme body #taxRequestModal.rk-tax-modal .rk-tax-consent{color:#b9cad7 !important}
html body #taxRequestModal.rk-tax-modal .rk-tax-consent input{
  width:16px !important;
  height:16px !important;
  min-width:16px !important;
  margin:1px 0 0 !important;
  padding:0 !important;
  flex:0 0 16px !important;
}
html body #taxRequestModal.rk-tax-modal .rk-tax-disclaimer{
  display:block !important;
  width:100% !important;
  box-sizing:border-box !important;
  margin:0 0 12px !important;
  padding:11px 12px !important;
  border:1px solid #e1e8ed !important;
  border-left:3px solid #0EA5E9 !important;
  border-radius:9px !important;
  background:#f5f8fa !important;
  color:#687784 !important;
  font:400 10px/1.5 Inter,Arial,sans-serif !important;
}
html.site-dark-theme body #taxRequestModal.rk-tax-modal .rk-tax-disclaimer{background:#0b223b !important;border-color:#31516d !important;color:#aebfcd !important}
html body #taxRequestModal.rk-tax-modal .rk-tax-status{min-height:18px !important;margin:4px 0 8px !important}
html body #taxRequestModal.rk-tax-modal .rk-tax-submit{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-height:48px !important;
  margin:0 !important;
  padding:13px 18px !important;
  border:0 !important;
  border-radius:11px !important;
  background:linear-gradient(135deg,#0A2342,#0E6F63) !important;
  color:#fff !important;
  font:800 13px/1 Inter,Arial,sans-serif !important;
  cursor:pointer !important;
  transform:none !important;
}
html body #taxRequestModal.rk-tax-modal .rk-tax-submit b{margin-left:auto !important}

@media(max-width:600px){
  html body #taxRequestModal.rk-tax-modal{
    align-items:center !important;
    padding:10px !important;
  }
  html body #taxRequestModal.rk-tax-modal .rk-tax-dialog{
    width:100% !important;
    max-width:520px !important;
    max-height:calc(100vh - 20px) !important;
    padding:22px 16px 18px !important;
    border-radius:20px !important;
  }
  html body #taxRequestModal.rk-tax-modal .rk-tax-close{
    top:10px !important;
    right:10px !important;
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
  }
  html body #taxRequestModal.rk-tax-modal .rk-tax-modal-icon{width:44px !important;height:44px !important;margin-bottom:11px !important}
  html body #taxRequestModal.rk-tax-modal .rk-tax-dialog h2{font-size:22px !important;margin-right:44px !important}
  html body #taxRequestModal.rk-tax-modal .rk-tax-intro{font-size:11.5px !important;margin-bottom:16px !important}
  html body #taxRequestModal.rk-tax-modal .rk-tax-two{grid-template-columns:1fr !important;gap:0 !important}
  html body #taxRequestModal.rk-tax-modal .rk-tax-field input{min-height:48px !important;font-size:16px !important}
  html body #taxRequestModal.rk-tax-modal .rk-tax-submit{min-height:50px !important}
}


/* Production mobile-first consistency */
*,*::before,*::after{box-sizing:border-box}
html,body{width:100%;max-width:100%;min-width:0;overflow-x:hidden;-webkit-text-size-adjust:100%}
img,svg,canvas,video{max-width:100%;height:auto}
@media(max-width:600px){
  body{font-size:15px}
  .container,.calculator-container,.calculator-card,.tax-calculator,.calc-container{
    width:100% !important;max-width:100% !important;min-width:0 !important;
  }
  .container{padding-left:16px !important;padding-right:16px !important}
  input,select,textarea,button{font-size:16px}
  .grid,.form-grid,.calculator-grid{grid-template-columns:1fr !important}
  .actions,.button-group{display:grid !important;grid-template-columns:1fr !important;gap:10px !important}
  .actions>* ,.button-group>*{width:100% !important;min-height:46px}
}


/* Professional PDF client block */
.rk-pdf-capture .printClientBlock{
  display:grid !important;
  grid-template-columns:1.4fr 1fr 1.4fr !important;
  gap:0 !important;
  margin:0 0 3mm !important;
  border:1px solid #d8e1e7 !important;
  border-radius:5px !important;
  overflow:hidden !important;
  background:#fff !important;
}
.rk-pdf-capture .printClientBlock>div{
  min-height:13mm !important;
  padding:2.5mm 3mm !important;
  border-right:1px solid #e8edf0 !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  gap:1.2mm !important;
}
.rk-pdf-capture .printClientBlock>div:last-child{border-right:0 !important;}
.rk-pdf-capture .printClientBlock span{font-size:6.7px !important;text-transform:uppercase !important;letter-spacing:.8px !important;font-weight:800 !important;color:#075985 !important;}
.rk-pdf-capture .printClientBlock b{font-size:8.2px !important;line-height:1.25 !important;color:#172033 !important;word-break:break-word !important;}

/* ===== PDF CAPTURE RENDER — screen-safe, independent of @media print ===== */
.rk-pdf-capture{
  position:fixed !important;
  left:0 !important;
  top:0 !important;
  width:210mm !important;
  min-height:297mm !important;
  padding:0 !important;
  background:#fff !important;
  color:#172033 !important;
  z-index:2147483646 !important;
  overflow:visible !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:none !important;
}
.rk-pdf-capture .printReport{
  display:block !important;
  visibility:visible !important;
  width:210mm !important;
  min-height:297mm !important;
  height:auto !important;
  box-sizing:border-box !important;
  margin:0 !important;
  padding:10mm 10mm 9mm !important;
  overflow:visible !important;
  background:#fff !important;
  color:#172033 !important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif !important;
}
.rk-pdf-capture .printReport *{visibility:visible !important;box-sizing:border-box !important;}
.rk-pdf-capture .printReportHeader{display:flex !important;align-items:flex-start !important;justify-content:space-between !important;gap:16px !important;padding:0 0 5mm !important;border-bottom:2.2px solid #0A2342 !important;}
.rk-pdf-capture .printKicker{font:800 10px/1.2 Manrope,Arial,sans-serif !important;letter-spacing:1.8px !important;color:#075985 !important;}
.rk-pdf-capture .printReportHeader h1{margin:2px 0 !important;font:800 23px/1.1 Manrope,Arial,sans-serif !important;color:#0A2342 !important;}
.rk-pdf-capture .printReportHeader p{margin:0 !important;font:400 8.5px/1.3 Inter,Arial,sans-serif !important;color:#667586 !important;}
.rk-pdf-capture .printGenerated{display:flex !important;flex-wrap:wrap !important;gap:2px 7px !important;margin-top:5px !important;font-size:7.6px !important;color:#667586 !important;}
.rk-pdf-capture .printGenerated b{font-size:7.6px !important;color:#172033 !important;margin-right:10px !important;}
.rk-pdf-capture .printLogoBox{width:54px !important;height:54px !important;display:flex !important;align-items:center !important;justify-content:center !important;flex:0 0 54px !important;}
.rk-pdf-capture .printLogoBox img{width:52px !important;height:52px !important;object-fit:contain !important;}
.rk-pdf-capture .printReportMeta{display:block !important;margin:4mm 0 3mm !important;padding:2.5mm 3mm !important;border-left:3px solid #0E6F63 !important;border-radius:3px !important;background:#f3f7f9 !important;font-size:7.3px !important;line-height:1.35 !important;color:#5f6c78 !important;}
.rk-pdf-capture .printReportHighlight{display:flex !important;align-items:center !important;justify-content:space-between !important;padding:3mm 4mm !important;min-height:13mm !important;margin:0 0 3mm !important;border:1px solid #c9e5e2 !important;border-radius:5px !important;background:#edf8f7 !important;}
.rk-pdf-capture .printReportHighlight span{font-size:8.5px !important;color:#52636b !important;font-weight:700 !important;}
.rk-pdf-capture .printReportHighlight strong{font:800 19px/1.1 Manrope,Arial,sans-serif !important;color:#0A2342 !important;}
.rk-pdf-capture .printReportGrid{display:grid !important;grid-template-columns:1fr 1fr !important;gap:0 !important;margin:0 0 3mm !important;border:1px solid #d8e1e7 !important;border-radius:4px !important;overflow:hidden !important;}
.rk-pdf-capture .printReportGrid div{display:flex !important;align-items:center !important;justify-content:space-between !important;gap:8px !important;padding:2.2mm 2.8mm !important;min-height:7mm !important;border-bottom:1px solid #e8edf0 !important;font-size:7.5px !important;line-height:1.2 !important;}
.rk-pdf-capture .printReportGrid div:nth-child(odd){border-right:1px solid #e8edf0 !important;}
.rk-pdf-capture .printReportGrid div:nth-last-child(-n+2){border-bottom:0 !important;}
.rk-pdf-capture .printReportGrid span{color:#657482 !important;}
.rk-pdf-capture .printReportGrid b{color:#172033 !important;font-size:7.9px !important;text-align:right !important;}
.rk-pdf-capture .printComputation{display:block !important;border:1px solid #d8e1e7 !important;border-radius:4px !important;overflow:hidden !important;margin:0 0 3mm !important;}
.rk-pdf-capture .printComputation h2{display:block !important;margin:0 !important;padding:2.2mm 3mm !important;background:#0A2342 !important;color:#fff !important;font:700 9px/1.2 Manrope,Arial,sans-serif !important;}
.rk-pdf-capture .printComputation div{display:flex !important;justify-content:space-between !important;gap:8px !important;padding:1.9mm 3mm !important;min-height:6.2mm !important;border-bottom:1px solid #e8edf0 !important;font-size:7.4px !important;line-height:1.2 !important;}
.rk-pdf-capture .printComputation div:last-child{border-bottom:0 !important;}
.rk-pdf-capture .printComputation b{font-size:7.8px !important;color:#172033 !important;}
.rk-pdf-capture .printComputation .printGrand{padding-top:2.2mm !important;padding-bottom:2.2mm !important;border-top:2px solid #0EA5E9 !important;background:#f7f8f9 !important;font-weight:800 !important;}
.rk-pdf-capture .printComputation .printGrand b{font-size:9.5px !important;color:#0A2342 !important;}
.rk-pdf-capture .printReportFooter{display:grid !important;grid-template-columns:1.2fr .8fr !important;gap:8mm !important;padding:3mm 0 0 !important;margin:0 !important;border-top:1px solid #d8e1e7 !important;font-size:6.8px !important;line-height:1.35 !important;color:#687687 !important;}
.rk-pdf-capture .printReportFooter strong{font-size:7.8px !important;color:#0A2342 !important;}
.rk-pdf-capture .printDisclaimer{display:block !important;margin:3mm 0 0 !important;padding:2.5mm 3mm !important;border:1px solid #e0e5e8 !important;border-left:3px solid #0EA5E9 !important;border-radius:3px !important;background:#fafbfc !important;font-size:6.3px !important;line-height:1.4 !important;color:#687582 !important;}

@media(max-width:600px){.printClientBlock{grid-template-columns:1fr !important}.printClientBlock>div{border-right:0;border-bottom:1px solid #e8edf0}.printClientBlock>div:last-child{border-bottom:0}}
/* Consultation CTA uses the same result-action language; PDF remains a direct action. */
.resultConsultation{padding:11px 15px;border-radius:9px;border:1px solid rgba(14,165,233,.38);background:linear-gradient(135deg,#0a2342,#0E6F63);color:#fff;font:700 13px/1.2 Inter,system-ui,sans-serif;cursor:pointer;transition:.2s;box-shadow:0 8px 18px rgba(0,140,149,.14)}
.resultConsultation:hover{transform:translateY(-1px);filter:brightness(1.04)}
.resultConsultation span{font-size:13px;margin-right:4px}

/* PDF download confirmation popup — does not alter the calculator layout. */
.rk-pdf-download-popup{position:fixed;right:22px;bottom:22px;z-index:2147483647;width:min(390px,calc(100vw - 28px));box-sizing:border-box;display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid #cfe2e6;border-radius:14px;background:rgba(255,255,255,.98);box-shadow:0 18px 50px rgba(10,35,66,.20);opacity:0;transform:translateY(14px) scale(.98);pointer-events:none;visibility:hidden;transition:opacity .22s ease,transform .22s ease,visibility .22s ease;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.rk-pdf-download-popup.show{opacity:1;transform:translateY(0) scale(1);pointer-events:auto;visibility:visible}
.rk-pdf-download-icon{width:36px;height:36px;flex:0 0 36px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#0A2342,#0E6F63);color:#fff;font-size:17px;font-weight:900;box-shadow:0 7px 18px rgba(0,140,149,.20)}
.rk-pdf-download-copy{min-width:0;display:flex;flex:1;flex-direction:column;gap:3px}
.rk-pdf-download-copy strong{font-size:12px;line-height:1.2;color:#0A2342;font-weight:800}
.rk-pdf-download-copy span{font-size:10px;line-height:1.35;color:#687784;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rk-pdf-download-close{width:28px;height:28px;flex:0 0 28px;border:0;border-radius:50%;background:#f1f5f7;color:#52636b;font-size:19px;line-height:1;cursor:pointer;display:grid;place-items:center}
.rk-pdf-download-close:hover{background:#e6eef1}
html.site-dark-theme .rk-pdf-download-popup{background:rgba(13,32,56,.98);border-color:#2a4863;box-shadow:0 18px 50px rgba(0,0,0,.35)}
html.site-dark-theme .rk-pdf-download-copy strong{color:#fff}
html.site-dark-theme .rk-pdf-download-copy span{color:#aec0ce}
html.site-dark-theme .rk-pdf-download-close{background:#173653;color:#e8f2f7}
@media(max-width:600px){.rk-pdf-download-popup{right:12px;bottom:76px;width:calc(100vw - 24px);padding:12px}.rk-pdf-download-copy strong{font-size:11.5px}.rk-pdf-download-copy span{font-size:9.5px}}


/* Smooth Day/Dark theme transition */
html.theme-transition, html.theme-transition body, html.theme-transition * {
  transition-property: background-color, color, border-color, box-shadow, fill, stroke, opacity;
  transition-duration: 420ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
html.theme-transition img, html.theme-transition video, html.theme-transition canvas, html.theme-transition iframe {
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html.theme-transition, html.theme-transition body, html.theme-transition * { transition-duration: 0ms !important; }
}
