/* Source stylesheet 1 */

:root{--brand:#7b1e3a;--gold:#d8a53b;--ink:#1f2937;--muted:#667085;--soft:#f6f7f9;--line:#dde2e8;--green:#157347;--orange:#b25f00;--red:#b42318;--shadow:0 12px 34px rgba(20,30,45,.09);--radius:18px}*{box-sizing:border-box}body{margin:0;font-family:Lato,Arial,sans-serif;background:linear-gradient(#fff,#f7f7f9);color:var(--ink);font-size:14px;line-height:1.5}button,input,select{font:inherit}.header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line)}.header-inner{max-width:1200px;margin:auto;padding:11px 18px;display:flex;justify-content:space-between;align-items:center}.brand strong{display:block;color:var(--brand);font-size:18px}.brand span{font-size:12px;color:var(--muted)}.header a{background:var(--brand);color:#fff;text-decoration:none;padding:10px 15px;border-radius:999px;font-weight:800}.hero{max-width:1200px;margin:auto;padding:38px 18px 22px;display:grid;grid-template-columns:1.25fr .75fr;gap:22px;align-items:center}.eyebrow{display:inline-block;background:#f8eaf0;color:var(--brand);font-weight:900;padding:6px 10px;border-radius:999px;font-size:11px;text-transform:uppercase}.hero h1{font-size:clamp(32px,5vw,58px);line-height:1.05;margin:14px 0}.hero p{font-size:17px;color:var(--muted)}.hero-card{background:var(--brand);color:#fff;padding:23px;border-radius:var(--radius);box-shadow:var(--shadow)}.hero-card strong{display:block;font-size:25px;margin:5px 0}.wrap{max-width:1200px;margin:auto;padding:0 18px 60px}.story{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:8px 0 22px}.story-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:15px;box-shadow:var(--shadow)}.story-card span{color:var(--muted);font-size:12px}.story-card b{display:block;font-size:24px;color:var(--brand)}.grid{display:grid;grid-template-columns:390px 1fr;gap:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.panel-head{padding:18px 20px;border-bottom:1px solid var(--line)}.panel-head h2,.panel-head h3{margin:0}.panel-head p{margin:4px 0 0;color:var(--muted);font-size:12px}.inputs{padding:18px}.section-title{font-size:12px;color:var(--brand);font-weight:900;text-transform:uppercase;margin:8px 0 12px}.field{margin-bottom:14px}.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}label{display:block;font-weight:800;font-size:12px;margin-bottom:6px}.input-wrap{position:relative}.prefix,.suffix{position:absolute;top:50%;transform:translateY(-50%);color:var(--muted)}.prefix{left:12px}.suffix{right:12px}input,select{width:100%;border:1px solid #ccd3db;border-radius:11px;padding:12px;background:#fff}input.money{padding-left:25px}input.percent{padding-right:28px}.check{display:flex;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--soft);margin-bottom:12px}.check input{width:auto}.check label{margin:0}.check small{display:block;color:var(--muted);font-weight:400}.btns{display:grid;grid-template-columns:1fr auto;gap:10px}.btn{border:0;border-radius:12px;padding:13px 15px;font-weight:900;cursor:pointer}.primary{background:var(--brand);color:#fff}.secondary{background:#edf0f3}.results{display:grid;gap:18px}.cashflow{padding:18px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.cash{border:1px solid var(--line);border-radius:15px;padding:15px}.cash span{font-size:12px;color:var(--muted)}.cash b{display:block;font-size:23px}.green{background:#f2fbf6}.green b{color:var(--green)}.orange{background:#fff8ef}.orange b{color:var(--orange)}.summary{padding:18px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.scenario{border:1px solid var(--line);border-radius:15px;padding:16px;position:relative}.scenario.best{border:2px solid var(--gold);background:#fffaf0}.badge{display:none;position:absolute;right:9px;top:9px;background:var(--gold);color:#fff;padding:4px 7px;border-radius:999px;font-size:9px}.scenario.best .badge{display:block}.scenario h3{margin:0 0 4px}.desc{font-size:12px;color:var(--muted);min-height:38px}.big{font-size:25px;font-weight:900;color:var(--brand);margin:10px 0}.metric{display:flex;justify-content:space-between;gap:10px;border-top:1px dashed var(--line);padding:8px 0;font-size:12px}
.metric b{text-align:right}.metric.total{margin-top:5px;border-top:2px solid var(--brand);padding-top:11px;font-weight:900}
.metric.total span,.metric.total b{font-size:14px;color:var(--brand)}
.metric.subtotal{font-weight:800;background:#fafbfc;margin:0 -7px;padding:8px 7px}
.deduction b{color:var(--red)}.card-note{display:block;color:var(--muted);font-size:10px;margin-top:-5px;margin-bottom:7px}
.details-toggle{width:100%;margin-top:11px;border:1px solid var(--line);background:#fff;color:var(--brand);border-radius:9px;padding:8px;font-size:11px;font-weight:900;cursor:pointer}
.details{display:none;margin-top:9px;padding:10px;background:#f8fafc;border-radius:9px;font-size:11px;color:var(--muted)}
.details.open{display:block}.formula{padding:5px 0;border-bottom:1px dashed var(--line)}.formula:last-child{border:0}
.rrsp-note{margin-top:12px;padding:12px;border:1px solid #ead9a2;background:#fffdf5;border-radius:10px}
.rrsp-note strong{display:block;color:var(--brand);margin-bottom:4px}
.rrsp-note small{display:block;color:var(--muted);line-height:1.45}
.rrsp-note .note-value{font-size:18px;font-weight:900;color:var(--ink);margin-bottom:3px}
.info-inline{display:inline-flex;width:17px;height:17px;align-items:center;justify-content:center;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--brand);font-size:10px;font-weight:900;cursor:pointer;vertical-align:middle}.tax-box,.insight{margin:0 18px 18px;padding:15px;border-radius:13px}.tax-box{background:#f8fafc;border:1px solid var(--line)}.tax-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.tax-item span{display:block;color:var(--muted);font-size:11px}.tax-item b{display:block;font-size:18px}.insight{border-left:4px solid var(--gold);background:#fff9ec}.chart{padding:18px}canvas{width:100%;height:300px;border:1px solid var(--line);border-radius:14px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:980px}th,td{padding:10px 11px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}th:first-child,td:first-child{text-align:left}.positive{color:var(--green)}.negative{color:var(--red)}.disclosure{margin-top:22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px}.disclosure p{font-size:12px;color:var(--muted)}@media(max-width:930px){.hero,.grid{grid-template-columns:1fr}.story{grid-template-columns:1fr 1fr}}@media(max-width:680px){.story,.cashflow,.summary,.tax-grid,.row{grid-template-columns:1fr}.wrap{padding:0 12px 42px}.hero{padding:26px 13px 17px}.hero h1{font-size:34px}}

/* Source stylesheet 2 */

:root{--brand:#ca1f3c;--brand-dark:#97152b;--gold:#d3a629;--ink:#10223d;--muted:#607089;--soft:#f6f8fb;--line:#d9e0e8}
body{font-family:Lato,Arial,sans-serif;background:#f5f7fa;padding-bottom:76px}
.header{box-shadow:0 2px 15px rgba(16,34,61,.07)}
.header-inner{gap:16px}
.site-logo{width:215px;max-width:46vw;height:auto;display:block}
.header-actions{display:flex;gap:8px;align-items:center}
.header-actions a,.header-actions button{border:0;border-radius:999px;padding:10px 14px;font-weight:800;cursor:pointer;text-decoration:none}
.header-call{background:#eef2f6!important;color:var(--ink)!important}
.header-run{background:var(--brand)!important;color:#fff!important}
.hero{padding-top:34px}
.hero h1{color:var(--ink)}
.hero-card{background:linear-gradient(135deg,var(--brand),var(--brand-dark))}
.hero-card strong{font-size:23px}
.page-tools{max-width:1200px;margin:0 auto 18px;padding:0 18px}
.share-card{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;box-shadow:var(--shadow)}
.share-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tool-actions{display:flex;gap:8px;flex-wrap:wrap}
.tool-btn{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:10px;padding:11px 13px;font-weight:800;cursor:pointer;text-decoration:none;white-space:nowrap}
.tool-btn.whatsapp{background:#128c4f;color:#fff;border-color:#128c4f}
.tool-btn.pdf{background:var(--brand);color:#fff;border-color:var(--brand)}
.sticky-inputs{position:sticky;top:78px}
.cash-explainer{margin:0 18px 18px;padding:14px;border-radius:13px;background:#fff6f1;border:1px solid #efd8c8}
.cash-explainer h4{margin:0 0 8px;color:var(--ink)}
.cash-equation{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.cash-equation div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px}
.cash-equation span{display:block;font-size:10px;color:var(--muted)}.cash-equation b{display:block;font-size:15px}
.summary-note{margin:0 18px 18px;color:var(--muted);font-size:11px}
.contact-section,.faq-section,.education-section{margin-top:22px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.content-pad{padding:22px}
.education-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.edu-card{border:1px solid var(--line);border-radius:14px;padding:15px;background:#fbfcfe}
.edu-card h3{margin:0 0 7px;font-size:16px}.edu-card p{margin:0;color:var(--muted);font-size:12px}
.faq{border-top:1px solid var(--line);padding:15px 0}
.faq:first-child{border-top:0}.faq h3{margin:0 0 6px;font-size:15px}.faq p{margin:0;color:var(--muted);font-size:12px}
.contact-grid{display:grid;grid-template-columns:210px 1fr;gap:22px;align-items:center}
.advisor-photo{width:100%;height:230px;object-fit:cover;object-position:center;border-radius:15px}
.contact-grid h2{margin:0 0 5px}.credentials{color:var(--brand);font-weight:900}
.contact-buttons{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
.contact-buttons a{padding:11px 14px;border-radius:10px;text-decoration:none;font-weight:900;border:1px solid var(--line);color:var(--ink)}
.contact-buttons .primary-contact{background:var(--brand);color:#fff;border-color:var(--brand)}
.site-footer{background:#10223d;color:#fff;margin-top:24px;padding:28px 18px}
.footer-inner{max-width:1200px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:18px}
.footer-inner img{filter:brightness(0) invert(1);max-width:220px}.footer-inner p{font-size:12px;color:#dce5ef}
.sticky-bar{position:fixed;left:0;right:0;bottom:0;z-index:50;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 25px rgba(16,34,61,.12);display:flex;justify-content:center;gap:8px;padding:9px max(10px,env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}
.sticky-bar a,.sticky-bar button{flex:0 1 180px;text-align:center;padding:11px 8px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:900;text-decoration:none;cursor:pointer}
.sticky-bar .wa{background:#128c4f;color:#fff;border-color:#128c4f}.sticky-bar .call{background:var(--brand);color:#fff;border-color:var(--brand)}
.print-only{display:none}
#shareStatus{font-size:11px;color:var(--green);min-height:16px;margin-top:6px}
@media(max-width:930px){
 .sticky-inputs{position:static}.share-card{grid-template-columns:1fr}.education-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
 body{padding-bottom:74px}.header-actions .header-call{display:none}.site-logo{width:175px;max-width:60vw}
 .share-fields{grid-template-columns:1fr}.tool-actions{display:grid;grid-template-columns:1fr 1fr}.tool-btn{text-align:center}
 .contact-grid{grid-template-columns:1fr}.advisor-photo{height:270px;max-width:330px}.footer-inner{grid-template-columns:1fr}
 .sticky-bar{gap:5px}.sticky-bar a,.sticky-bar button{font-size:11px;padding:10px 5px}
 .cash-equation{grid-template-columns:1fr}
}
@media print{
 body{background:#fff;padding:0;font-size:11px}.header,.sticky-bar,.share-card,.btns,.details-toggle,.header-actions,.site-footer{display:none!important}
 .hero{padding:12px 0}.hero-card{background:#fff!important;color:#000;border:1px solid #ccc;box-shadow:none}
 .wrap,.page-tools{max-width:none;padding:0}.grid{display:block}.sticky-inputs{display:none}
 .panel,.contact-section,.education-section,.faq-section{box-shadow:none;break-inside:avoid;margin-bottom:10px}
 .chart canvas{height:230px!important}.print-only{display:block}.summary{grid-template-columns:repeat(3,1fr)}
}

/* Source stylesheet 3 */

.brand-lockup{display:flex;align-items:center;gap:12px;text-decoration:none;min-width:0}
.brand-mark{width:48px;height:48px;border-radius:12px;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 48px}
.brand-mark img{width:92px;height:48px;object-fit:cover;object-position:left center;display:block}
.brand-copy{display:flex;flex-direction:column;line-height:1.15;min-width:0}
.brand-copy strong{font-size:20px;color:var(--ink);white-space:nowrap}
.brand-copy small{font-size:11px;color:var(--muted);margin-top:4px;white-space:nowrap}
@media(max-width:680px){
  .brand-mark{width:42px;height:42px;flex-basis:42px}
  .brand-mark img{height:42px}
  .brand-copy strong{font-size:17px}
  .brand-copy small{font-size:9px;white-space:normal}
  .header-run{padding:9px 11px!important;font-size:11px}
}

/* Source stylesheet 4 */
.email-section{margin-top:22px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}.email-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.email-toolbar button{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:10px;padding:10px 13px;font-weight:900;cursor:pointer}.email-toolbar .email-primary{background:var(--brand);color:#fff;border-color:var(--brand)}.email-preview{width:100%;min-height:680px;resize:vertical;border:1px solid var(--line);border-radius:13px;padding:16px;font:13px/1.6 Lato,Arial,sans-serif;color:var(--ink);background:#fbfcfe}.email-note{font-size:11px;color:var(--muted)}@media(max-width:680px){.email-toolbar{display:grid;grid-template-columns:1fr 1fr}.email-preview{min-height:780px}}@media print{.email-section{display:none!important}}
/* Source stylesheet 5 */

:root{--brand:#c91f38;--brand-dark:#a7182d;--charcoal:#20242a;--charcoal-2:#30363d;--navy:#263746;--blue:#177da3;--sky:#eef7fa;--ink:#25313c;--muted:#6d7782;--line:#e1e5e9;--white:#fff;--soft:#f7f8fa;--gold:#c91f38;--danger:#c91f38;--ok:#177da3;--shadow:0 6px 20px rgba(32,36,42,.07)}
body{background:#f6f6f7;color:var(--ink);font-family:Lato,Arial,sans-serif;font-size:12px;line-height:1.45}
.locked-wrap{width:min(1160px,calc(100% - 24px));margin:auto}
.locked-top{background:var(--charcoal);color:#fff;padding:0;border-top:4px solid var(--brand);box-shadow:0 3px 16px rgba(0,0,0,.16)}
.locked-top .locked-wrap{padding-top:13px;padding-bottom:18px}
.locked-brand{display:flex;align-items:center;gap:14px;min-height:54px}
.locked-logo{width:auto;height:auto;border:0;border-radius:0;display:block;font-size:0;overflow:visible;flex:0 1 auto}
.locked-logo img{display:block;width:min(255px,66vw);height:auto;max-height:44px;object-fit:contain;object-position:left center}
.locked-brand-copy h1{font-size:13px;letter-spacing:.01em;margin:0;font-weight:900;color:#fff}
.locked-brand-copy p{margin:2px 0 0;color:#d2d6da;font-size:10px}
.locked-hero{margin-top:12px;padding-top:13px;border-top:1px solid rgba(255,255,255,.11)}
.locked-hero h2{font-size:23px;line-height:1.08;margin:8px 0 5px;max-width:880px;color:#fff}
.locked-hero p{margin:0;color:#d9dde1;max-width:940px;font-size:11px}
.locked-rule{display:inline-flex;background:rgba(201,31,56,.16);border:1px solid rgba(201,31,56,.5);padding:6px 9px;border-radius:999px;width:max-content;max-width:100%;font-size:10px;font-weight:900;color:#fff}
/* Standardized card/control treatment */
.panel,.story-card,.share-card,.email-section,.education-section,.faq-section,.contact-section,.disclosure{border-color:var(--line)!important;box-shadow:var(--shadow)!important}
.btn.primary,.tool-btn.pdf,.contact-buttons .primary-contact{background:var(--brand)!important;border-color:var(--brand)!important}
input:focus,select:focus,textarea:focus{border-color:var(--blue)!important;box-shadow:0 0 0 3px rgba(23,125,163,.11)!important}
/* ===== LOCKED COMPACT CALCULATOR ACTION BAR ===== */
.sticky-bar{
  position:fixed!important;
  left:0!important;right:0!important;bottom:0!important;
  z-index:100!important;
  height:62px!important;
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:0!important;
  padding:0 max(4px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(4px,env(safe-area-inset-left))!important;
  background:var(--charcoal)!important;
  border-top:2px solid var(--brand)!important;
  box-shadow:0 -5px 18px rgba(0,0,0,.18)!important;
}
.sticky-bar .action-item{
  min-width:0!important;
  height:60px!important;
  border:0!important;
  border-right:1px solid rgba(255,255,255,.16)!important;
  border-radius:0!important;
  background:transparent!important;
  color:#fff!important;
  text-decoration:none!important;
  cursor:pointer!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:1px!important;
  padding:4px 3px!important;
  font-family:Lato,Arial,sans-serif!important;
}
.sticky-bar .action-item:last-child{border-right:0!important}
.sticky-bar .action-icon{
  height:20px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:17px!important;
  line-height:1!important;
  font-weight:900!important;
}
.sticky-bar .action-title{
  display:block!important;
  font-size:9px!important;
  line-height:1.05!important;
  font-weight:900!important;
  letter-spacing:.025em!important;
  color:#fff!important;
  white-space:nowrap!important;
}
.sticky-bar .action-sub{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:8px!important;
  line-height:1.05!important;
  font-weight:400!important;
  color:#cbd0d5!important;
  white-space:nowrap!important;
}
.sticky-bar .call-action .action-icon{color:#ef4357!important}
.sticky-bar .wa-action .action-icon{color:#35c86f!important}
.sticky-bar .copy-action .action-icon,
.sticky-bar .email-action .action-icon,
.sticky-bar .pdf-action .action-icon{color:#fff!important}
.sticky-bar .action-item:hover,
.sticky-bar .action-item:focus-visible{background:#2d3238!important;outline:none!important}
@media(max-width:540px){
  .locked-wrap{width:min(100% - 16px,1160px)}
  .locked-top .locked-wrap{padding-top:10px;padding-bottom:14px}
  .locked-brand{gap:9px}
  .locked-logo img{width:min(215px,63vw);max-height:38px}
  .locked-brand-copy{display:none}
  .locked-hero{margin-top:9px;padding-top:10px}
  .locked-hero h2{font-size:20px}
  .locked-hero p{font-size:10px}
  .locked-rule{font-size:9px;padding:5px 7px}
  body{padding-bottom:68px!important}
  .sticky-bar{height:60px!important}
  .sticky-bar .action-item{height:58px!important;padding:3px 1px!important}
  .sticky-bar .action-icon{font-size:16px!important;height:19px!important}
  .sticky-bar .action-title{font-size:8px!important}
  .sticky-bar .action-sub{font-size:7px!important}
}
@media print{
  .locked-top{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .sticky-bar{display:none!important}
}

/* Source stylesheet 6 */

/* ===== Sticky action bar spacing + width correction ===== */

/* Give the page enough real space below the site footer so the fixed bar
   never covers the last lines of content. */
body{
  padding-bottom:0 !important;
}
.site-footer{
  margin-bottom:78px !important;
}

/* Desktop/tablet: compact centered action dock instead of an oversized
   edge-to-edge footer. */
.sticky-bar{
  left:50% !important;
  right:auto !important;
  transform:translateX(-50%) !important;
  width:min(760px, calc(100% - 28px)) !important;
  height:58px !important;
  bottom:10px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-top:2px solid var(--brand) !important;
  border-radius:12px !important;
  overflow:hidden !important;
  padding:0 !important;
  box-shadow:0 7px 24px rgba(0,0,0,.24) !important;
}

.sticky-bar .action-item{
  height:56px !important;
  min-width:0 !important;
  padding:3px 5px !important;
}

.sticky-bar .action-icon{
  height:18px !important;
  font-size:15px !important;
}
.sticky-bar .action-title{
  font-size:8px !important;
  letter-spacing:.015em !important;
}
.sticky-bar .action-sub{
  font-size:7px !important;
}

/* Additional bottom breathing room for the last section. */
.disclosure,
.contact-section,
.faq-section,
.education-section,
.email-section{
  scroll-margin-bottom:88px;
}

/* Mobile: return to the familiar full-width compact action bar. */
@media(max-width:680px){
  .site-footer{
    margin-bottom:64px !important;
  }
  .sticky-bar{
    left:0 !important;
    right:0 !important;
    transform:none !important;
    width:100% !important;
    bottom:0 !important;
    height:58px !important;
    border-left:0 !important;
    border-right:0 !important;
    border-bottom:0 !important;
    border-radius:0 !important;
    box-shadow:0 -5px 18px rgba(0,0,0,.18) !important;
  }
  .sticky-bar .action-item{
    height:56px !important;
    padding:3px 1px !important;
  }
  .sticky-bar .action-icon{
    font-size:15px !important;
    height:18px !important;
  }
  .sticky-bar .action-title{
    font-size:7.5px !important;
  }
  .sticky-bar .action-sub{
    font-size:6.5px !important;
  }
}

/* Very narrow phones: preserve all 5 actions without forcing horizontal width. */
@media(max-width:390px){
  .sticky-bar .action-title{
    font-size:7px !important;
  }
  .sticky-bar .action-sub{
    font-size:6px !important;
  }
}

/* Print/PDF must never reserve sticky-bar space. */
@media print{
  .site-footer{margin-bottom:0 !important}
  .sticky-bar{display:none !important}
}

/* Source stylesheet 7 */

/* ===== Client/share toolbar alignment ===== */
.locked-hero{margin-top:10px!important;padding-top:11px!important}
.locked-hero h2{margin-top:0!important}

/* The old illustration pill is intentionally removed. */
.locked-rule{display:none!important}

.page-tools{
  width:min(1160px,calc(100% - 24px))!important;
  margin:12px auto 14px!important;
  padding:0!important;
}
.share-card-v2{
  display:grid!important;
  grid-template-columns:minmax(200px,1.25fr) minmax(200px,1.25fr) repeat(4,minmax(105px,.58fr))!important;
  gap:9px!important;
  align-items:end!important;
  padding:11px!important;
  border-radius:13px!important;
}
.share-field{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
}
.share-field label{
  display:block!important;
  margin:0!important;
  min-height:15px!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:900!important;
  color:var(--ink)!important;
}
.share-field input{
  width:100%!important;
  height:42px!important;
  margin:0!important;
  border-radius:9px!important;
  padding:0 11px!important;
}
.share-card-v2 .top-action{
  height:42px!important;
  min-width:0!important;
  margin:0!important;
  padding:5px 7px!important;
  border-radius:9px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:1px!important;
  line-height:1.05!important;
  white-space:normal!important;
}
.top-action-main{
  display:block!important;
  font-size:9px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.top-action-sub{
  display:block!important;
  font-size:7px!important;
  font-weight:400!important;
  opacity:.78!important;
  white-space:nowrap!important;
}
.share-status-row{
  grid-column:1 / -1!important;
  min-height:0!important;
  height:0!important;
  margin:0!important;
  overflow:visible!important;
  font-size:10px!important;
}

/* Tablet: 2 fields on first row; four actions aligned evenly beneath. */
@media(max-width:920px){
  .share-card-v2{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .share-field:first-child{grid-column:1 / 3!important}
  .share-field:nth-child(2){grid-column:3 / 5!important}
  .share-card-v2 .top-action{grid-row:2!important}
}

/* Phone: fields full width; actions remain compact 2 x 2. */
@media(max-width:560px){
  .page-tools{width:calc(100% - 16px)!important;margin-top:9px!important}
  .share-card-v2{
    grid-template-columns:1fr 1fr!important;
    gap:7px!important;
    padding:9px!important;
  }
  .share-field:first-child,
  .share-field:nth-child(2){
    grid-column:1 / -1!important;
  }
  .share-card-v2 .top-action{
    grid-row:auto!important;
    height:40px!important;
  }
  .top-action-main{font-size:8.5px!important}
  .top-action-sub{font-size:6.8px!important}
}
@media print{
  .page-tools{display:none!important}
}

/* Source stylesheet 8 */

/* ===== LOCKED TOP ACTION STANDARD: MATCHES FOOTER ===== */
.share-card-v3{
  display:grid!important;
  grid-template-columns:minmax(360px,1fr) minmax(420px,1.15fr)!important;
  gap:10px!important;
  align-items:end!important;
  padding:11px!important;
  border-radius:13px!important;
}
.share-fields-wrap{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:9px!important;
  min-width:0!important;
}
.top-action-dock{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  min-width:0!important;
  height:46px!important;
  overflow:hidden!important;
  border-radius:10px!important;
  background:var(--charcoal)!important;
  border-top:2px solid var(--brand)!important;
  box-shadow:0 4px 12px rgba(0,0,0,.12)!important;
}
.top-footer-action{
  min-width:0!important;
  height:44px!important;
  border:0!important;
  border-right:1px solid rgba(255,255,255,.16)!important;
  border-radius:0!important;
  margin:0!important;
  padding:3px 4px!important;
  background:transparent!important;
  color:#fff!important;
  cursor:pointer!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:1px!important;
  font-family:Lato,Arial,sans-serif!important;
  text-decoration:none!important;
}
.top-footer-action:last-child{border-right:0!important}
.top-footer-action .action-icon{
  height:14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:900!important;
  color:#fff!important;
}
.top-footer-action .action-title{
  display:block!important;
  font-size:7.8px!important;
  line-height:1.05!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  color:#fff!important;
  white-space:nowrap!important;
}
.top-footer-action .action-sub{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:6.7px!important;
  line-height:1.05!important;
  font-weight:400!important;
  color:#cbd0d5!important;
  white-space:nowrap!important;
}
/* Keep all actions within the locked red / charcoal / white system. */
.top-footer-action.wa-style .action-icon{color:#fff!important}
.top-footer-action.copy-style .action-icon,
.top-footer-action.email-style .action-icon,
.top-footer-action.pdf-style .action-icon{color:#fff!important}
.top-footer-action:hover,
.top-footer-action:focus-visible{
  background:#2d3238!important;
  outline:none!important;
}
.share-card-v3 .share-status-row{
  grid-column:1/-1!important;
}

/* Neutralize any older green WhatsApp toolbar styling. */
.share-card-v3 .whatsapp,
.share-card-v3 .tool-btn.whatsapp,
.share-card-v3 #shareWhatsApp{
  background:transparent!important;
  border-color:transparent!important;
  color:#fff!important;
}

@media(max-width:920px){
  .share-card-v3{
    grid-template-columns:1fr!important;
  }
  .top-action-dock{
    height:46px!important;
  }
}
@media(max-width:560px){
  .share-fields-wrap{
    grid-template-columns:1fr!important;
  }
  .top-action-dock{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    height:48px!important;
  }
  .top-footer-action{
    height:46px!important;
    padding:3px 2px!important;
  }
  .top-footer-action .action-icon{font-size:12px!important}
  .top-footer-action .action-title{font-size:7px!important}
  .top-footer-action .action-sub{font-size:6px!important}
}
@media(max-width:390px){
  .top-footer-action .action-title{font-size:6.5px!important}
  .top-footer-action .action-sub{font-size:5.7px!important}
}

/* Source stylesheet 9 */

/* =========================================================
   APPROVED ACTION STYLE
   Same visual treatment at top and bottom.
   Dark charcoal surface, crisp white separators, larger text,
   coloured icons only — never coloured button backgrounds.
   ========================================================= */

/* ---------- Shared typography: remove blurry micro-text ---------- */
.sticky-bar .action-item,
.top-action-dock .top-footer-action{
  -webkit-font-smoothing:antialiased!important;
  -moz-osx-font-smoothing:grayscale!important;
  text-rendering:geometricPrecision!important;
  font-family:Lato,Arial,sans-serif!important;
  font-weight:700!important;
  transform:none!important;
  filter:none!important;
}

/* ---------- Bottom sticky dock ---------- */
.sticky-bar{
  background:#20242a!important;
  border-top:3px solid #c91f38!important;
  border-left:1px solid #454b52!important;
  border-right:1px solid #454b52!important;
  border-bottom:1px solid #454b52!important;
  box-shadow:0 8px 26px rgba(0,0,0,.24)!important;
  height:64px!important;
}
.sticky-bar .action-item{
  height:61px!important;
  padding:5px 7px!important;
  background:#20242a!important;
  border:0!important;
  border-right:1px solid rgba(255,255,255,.32)!important;
  border-radius:0!important;
  gap:2px!important;
}
.sticky-bar .action-item:last-child{border-right:0!important}
.sticky-bar .action-item:hover,
.sticky-bar .action-item:focus-visible{
  background:#30363d!important;
}
.sticky-bar .action-icon{
  height:20px!important;
  font-size:18px!important;
  line-height:20px!important;
  font-weight:900!important;
}
.sticky-bar .action-title{
  font-size:10px!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
  color:#fff!important;
}
.sticky-bar .action-sub{
  font-size:8.5px!important;
  line-height:1.12!important;
  font-weight:400!important;
  color:#d7dce1!important;
}

/* Restored colourful/interactable icon treatment */
.sticky-bar .call-action .action-icon{color:#ef4357!important}
.sticky-bar .wa-action .action-icon{color:#32c66b!important}
.sticky-bar .copy-action .action-icon{color:#f4f6f8!important}
.sticky-bar .email-action .action-icon{color:#ff6b77!important}
.sticky-bar .pdf-action .action-icon{color:#f4f6f8!important}

/* ---------- Top 4-action dock: exact same visual language ---------- */
.top-action-dock{
  height:52px!important;
  background:#20242a!important;
  border:1px solid #454b52!important;
  border-top:3px solid #c91f38!important;
  border-radius:10px!important;
  overflow:hidden!important;
  box-shadow:0 5px 15px rgba(0,0,0,.15)!important;
  gap:0!important;
}
.top-action-dock .top-footer-action{
  height:49px!important;
  min-width:0!important;
  padding:4px 6px!important;
  margin:0!important;
  background:#20242a!important;
  border:0!important;
  /* Explicit separator on EVERY button except the last.
     Higher contrast fixes the missing WhatsApp / Copy division. */
  border-right:1px solid rgba(255,255,255,.34)!important;
  border-radius:0!important;
  gap:2px!important;
  color:#fff!important;
}
.top-action-dock .top-footer-action:last-child{
  border-right:0!important;
}
.top-action-dock .top-footer-action:hover,
.top-action-dock .top-footer-action:focus-visible{
  background:#30363d!important;
  outline:none!important;
}
.top-action-dock .action-icon{
  height:17px!important;
  font-size:15px!important;
  line-height:17px!important;
  font-weight:900!important;
}
.top-action-dock .action-title{
  font-size:9px!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
  color:#fff!important;
}
.top-action-dock .action-sub{
  font-size:8px!important;
  line-height:1.1!important;
  font-weight:400!important;
  color:#d7dce1!important;
}

/* Same icon colours as the footer. */
.top-action-dock .wa-style .action-icon{color:#32c66b!important}
.top-action-dock .copy-style .action-icon{color:#f4f6f8!important}
.top-action-dock .email-style .action-icon{color:#ff6b77!important}
.top-action-dock .pdf-style .action-icon{color:#f4f6f8!important}

/* Kill earlier green-background rules completely. */
.share-card-v3 #shareWhatsApp,
.share-card-v3 .whatsapp,
.share-card-v3 .tool-btn.whatsapp{
  background:#20242a!important;
  border-color:transparent!important;
  color:#fff!important;
}

/* ---------- Responsive sizing without blurry 6px text ---------- */
@media(max-width:680px){
  .sticky-bar{
    height:63px!important;
  }
  .sticky-bar .action-item{
    height:60px!important;
    padding:4px 3px!important;
  }
  .sticky-bar .action-icon{
    font-size:17px!important;
    height:19px!important;
  }
  .sticky-bar .action-title{
    font-size:8.5px!important;
  }
  .sticky-bar .action-sub{
    font-size:7.5px!important;
  }

  .top-action-dock{
    height:52px!important;
  }
  .top-action-dock .top-footer-action{
    height:49px!important;
    padding:4px 2px!important;
  }
  .top-action-dock .action-icon{
    font-size:14px!important;
  }
  .top-action-dock .action-title{
    font-size:8px!important;
  }
  .top-action-dock .action-sub{
    font-size:7px!important;
  }
}

@media(max-width:390px){
  /* Keep text readable; allow subtitle ellipsis rather than microscopic font. */
  .sticky-bar .action-title{font-size:8px!important}
  .sticky-bar .action-sub{
    font-size:7px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .top-action-dock .action-title{font-size:7.5px!important}
  .top-action-dock .action-sub{
    font-size:6.8px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
}

/* Source stylesheet 10 */

/* Explicitly restore the divider after WhatsApp.
   A legacy WhatsApp border-color override was removing it. */
.share-card-v3 #shareWhatsApp,
.top-action-dock .wa-style{
  border-right:1px solid rgba(255,255,255,.34)!important;
}

/* Keep the remaining separators exactly the same. */
.top-action-dock .copy-style,
.top-action-dock .email-style{
  border-right:1px solid rgba(255,255,255,.34)!important;
}
.top-action-dock .pdf-style{
  border-right:0!important;
}

/* Source stylesheet 11 */

.locked-top .locked-wrap{
  padding-top:12px!important;
  padding-bottom:14px!important;
}
.locked-brand{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  min-height:48px!important;
}
.locked-logo{
  flex:0 1 auto!important;
  min-width:0!important;
}
.locked-logo img{
  display:block!important;
  width:min(255px,66vw)!important;
  height:auto!important;
  max-height:44px!important;
  object-fit:contain!important;
  object-position:left center!important;
}
.locked-phone-block{
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  white-space:nowrap!important;
  font-family:Lato,Arial,sans-serif!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
}
.locked-phone-block a{
  color:#fff!important;
  text-decoration:none!important;
}
.locked-phone-block a:hover,
.locked-phone-block a:focus-visible{
  color:#fff!important;
  text-decoration:underline!important;
}
.locked-phone-block .phone-sep{
  color:#c91f38!important;
  font-size:12px!important;
}
.locked-hero{
  margin-top:9px!important;
  padding-top:10px!important;
}
.locked-hero h2{
  margin-top:0!important;
}

/* Explicitly suppress any duplicate advisor/name text in the header. */
.locked-brand-copy,
.locked-copy,
.locked-brand h1,
.locked-brand p{
  display:none!important;
}

@media(max-width:680px){
  .locked-brand{
    gap:8px!important;
  }
  .locked-logo img{
    width:min(205px,58vw)!important;
    max-height:38px!important;
  }
  .locked-phone-block{
    flex-direction:column!important;
    align-items:flex-end!important;
    gap:3px!important;
    font-size:9px!important;
    line-height:1.05!important;
  }
  .locked-phone-block .phone-sep{
    display:none!important;
  }
}
@media(max-width:390px){
  .locked-logo img{
    width:min(185px,55vw)!important;
  }
  .locked-phone-block{
    font-size:8px!important;
  }
}

/* Source stylesheet 12 */

.auto-value{
  background:#f2f4f6!important;
  color:#263746!important;
  font-weight:900!important;
  cursor:not-allowed!important;
}
.manual-interest-wrap[hidden]{display:none!important}
.interest-tax-preview{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin:-2px 0 13px;
  padding:9px;
  border:1px solid var(--line);
  background:#f7f8fa;
  border-radius:10px;
}
.interest-tax-preview div{
  min-width:0;
  padding:5px 7px;
  background:#fff;
  border:1px solid #e7eaed;
  border-radius:8px;
}
.interest-tax-preview span{
  display:block;
  color:var(--muted);
  font-size:9px;
  line-height:1.2;
}
.interest-tax-preview b{
  display:block;
  margin-top:3px;
  color:var(--navy);
  font-size:12px;
}
.tax-deduction-check{
  margin-bottom:8px!important;
}
@media(max-width:560px){
  .interest-tax-preview{grid-template-columns:1fr}
}

/* Source stylesheet 13 */

.flat-only-note{font-size:9px;font-weight:400;color:var(--muted)}.return-section-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}.return-summary-pill{background:#eef2f5;color:var(--navy);border:1px solid #d8e0e7;border-radius:999px;padding:4px 7px;font-size:9px;font-weight:900;text-transform:none;letter-spacing:0}
.return-path-panel{border:1px solid var(--line);background:#fbfcfd;border-radius:12px;padding:10px;margin:-2px 0 14px}.return-path-panel[hidden]{display:none!important}.return-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:9px}.return-panel-head strong{display:block;color:var(--navy);font-size:12px}.return-panel-head small{display:block;color:var(--muted);font-size:9px;margin-top:2px}.return-stats{display:flex;gap:6px}.return-stats span{min-width:74px;border:1px solid #e0e5e9;background:#fff;border-radius:8px;padding:5px 7px;text-align:right}.return-stats small{font-size:7px}.return-stats b{display:block;font-size:11px;color:var(--navy);margin-top:2px}
.return-presets{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px}.return-preset{border:1px solid #cfd7de;background:#fff;color:var(--navy);border-radius:8px;padding:6px 8px;font:700 9px/1.1 Lato,Arial,sans-serif;cursor:pointer}.return-preset:hover{background:#f0f3f5}
.return-chart-wrap{position:relative;height:100px;border:1px solid #e0e5e9;border-radius:9px;background:#fff;margin-bottom:9px;overflow:hidden}.return-chart-zero{position:absolute;left:6px;right:6px;top:50%;border-top:1px dashed #aeb8c2}.return-chart{position:absolute;inset:7px 6px 18px;display:flex;gap:2px}.return-bar{position:relative;flex:1;min-width:2px}.return-bar-fill{position:absolute;left:12%;right:12%;border-radius:3px 3px 0 0;background:#177da3}.return-bar-fill.neg{border-radius:0 0 3px 3px;background:#c91f38}.return-bar-label{position:absolute;left:50%;bottom:-15px;transform:translateX(-50%);font-size:6.5px;color:var(--muted);white-space:nowrap}
.return-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.return-year-card{display:grid;grid-template-columns:1fr 27px;gap:5px;border:1px solid #dfe4e8;background:#fff;border-radius:9px;padding:7px;min-width:0}.return-year-title{display:flex;justify-content:space-between;gap:4px;margin-bottom:4px}.return-year-title strong{font-size:9px;color:var(--navy)}.return-year-title small{font-size:7px;color:var(--muted)}.return-year-input{position:relative}.return-year-input input{height:31px!important;padding:0 20px 0 7px!important;text-align:right;font-size:11px!important;font-weight:900}.return-year-input:after{content:'%';position:absolute;right:7px;top:7px;font-size:9px;color:var(--muted);pointer-events:none}.return-stepper{display:grid;grid-template-rows:1fr 1fr;gap:3px}.return-stepper button{border:1px solid #d9dfe4;background:#f5f7f8;color:var(--navy);border-radius:5px;padding:0;font-size:8px;font-weight:900;cursor:pointer}.return-stepper button:hover{background:#e9edf0}
.return-note{margin-top:9px;padding:8px 9px;border-left:3px solid var(--brand);background:#f7f8fa;border-radius:7px;color:#5e6872;font-size:9px;line-height:1.4}.return-result-summary{margin:0 18px 12px;display:grid;grid-template-columns:145px 120px 1fr;gap:8px;border:1px solid var(--line);background:#f7f8fa;border-radius:10px;padding:8px 10px}.return-result-summary span{display:block;color:var(--muted);font-size:8px}.return-result-summary b{display:block;color:var(--navy);font-size:10px;margin-top:2px}.return-path-text b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){.return-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.return-result-summary{grid-template-columns:1fr 1fr}.return-path-text{grid-column:1/-1}}@media(max-width:460px){.return-panel-head{display:block}.return-stats{margin-top:7px}.return-stats span{flex:1}.return-preset{flex:1 1 calc(50% - 5px)}.return-year-card{grid-template-columns:1fr 25px;padding:6px}}@media print{.return-path-panel{display:none!important}.return-result-summary{display:grid!important}}

/* Source stylesheet 14 */

/* ===== Cosmetic fixes for return panel ===== */
.return-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
}
.return-year-card{
  grid-template-columns:minmax(0,1fr) 30px!important;
  gap:6px!important;
  padding:7px 8px!important;
  overflow:hidden!important;
}
.return-year-main{
  min-width:0!important;
}
.return-year-input{
  width:100%!important;
  min-width:0!important;
}
.return-year-input input{
  width:100%!important;
  min-width:0!important;
  height:34px!important;
  padding:0 24px 0 8px!important;
  text-align:right!important;
  font-size:11px!important;
  box-sizing:border-box!important;
}
.return-year-input:after{
  right:8px!important;
  top:8px!important;
  font-size:9px!important;
}
.return-stepper{
  width:30px!important;
  min-width:30px!important;
}
.return-stepper button{
  width:30px!important;
  min-width:30px!important;
  font-size:9px!important;
}
.return-year-title strong{font-size:9.5px!important}
.return-year-title small{font-size:7.5px!important}

/* Result summary must wrap instead of overflowing the card. */
.return-result-summary{
  grid-template-columns:135px 105px minmax(0,1fr)!important;
  align-items:start!important;
}
.return-path-text{
  min-width:0!important;
  overflow:hidden!important;
}
.return-path-text b{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  line-height:1.35!important;
  max-height:54px!important;
  overflow:auto!important;
  padding-right:3px!important;
}

/* New RRSP matching-return control */
.rrsp-return-sync{
  margin-top:-2px!important;
  margin-bottom:11px!important;
  background:#f3f6f8!important;
}
.separate-return-note{
  margin:-4px 0 11px;
  padding:8px 9px;
  border:1px solid #e1e5e9;
  border-left:3px solid var(--brand);
  background:#fff;
  border-radius:8px;
  font-size:9px;
  line-height:1.4;
  color:var(--muted);
}
.separate-return-note[hidden]{display:none!important}
.separate-return-note strong{
  display:block;
  color:var(--navy);
  margin-bottom:2px;
}

/* When same return is ON, visually de-emphasize separate RRSP field */
body.same-return-mode #rrspReturn{
  background:#f2f4f6!important;
  color:#7b8792!important;
}
body.same-return-mode #rrspReturn{
  pointer-events:none!important;
}

/* chart labels need a little more breathing room */
.return-chart-wrap{
  height:108px!important;
  padding-bottom:22px!important;
}
.return-chart{
  bottom:22px!important;
}
.return-bar-label{
  bottom:-17px!important;
  font-size:7px!important;
}

/* Wider desktop left column gets 2 cards per row for readability.
   On larger desktop we can use 3 only if enough room is available. */
@media(min-width:1250px){
  .return-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .return-result-summary{
    grid-template-columns:1fr 1fr!important;
  }
  .return-path-text{grid-column:1/-1!important}
}
@media(max-width:460px){
  .return-grid{grid-template-columns:1fr 1fr!important}
  .return-year-card{
    grid-template-columns:minmax(0,1fr) 28px!important;
    padding:6px!important;
  }
  .return-stepper,
  .return-stepper button{
    width:28px!important;
    min-width:28px!important;
  }
}

/* Source stylesheet 15 */

.guided-head{padding:16px 17px!important}.guided-kicker{display:block;color:var(--brand);font-size:8px;font-weight:900;letter-spacing:.08em}.guided-head h2{font-size:18px!important;margin:0!important}.guided-progress{display:flex;align-items:center;margin-top:10px;gap:5px}.guided-progress span{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#e7eaed;color:#63707c;font-size:9px;font-weight:900}.guided-progress span.active{background:var(--brand);color:#fff}.guided-progress i{width:28px;height:2px;background:#dfe3e6}.guided-inputs{padding:11px!important}.setup-step{background:#fff;border:1px solid var(--line);border-radius:13px;padding:12px;margin-bottom:10px}.step-heading{display:flex;gap:9px;border-bottom:1px solid #edf0f2;padding-bottom:9px;margin-bottom:11px}.step-number{width:25px;height:25px;border-radius:8px;background:var(--brand);color:#fff;display:grid;place-items:center;flex:0 0 25px;font-weight:900}.step-heading h3{font-size:13px;margin:1px 0 2px;color:var(--navy)}.step-heading p{font-size:9px;color:var(--muted);margin:0}.field-help{display:block;color:var(--muted);font-size:8px;margin-top:4px}.year-control{display:grid;grid-template-columns:34px 65px 34px auto;gap:5px;align-items:center}.year-control input{height:36px!important;text-align:center;font-weight:900}.year-step{height:36px;border:1px solid #ccd5dc;background:#f7f8f9;color:var(--navy);border-radius:8px;font-weight:900;font-size:15px}.advanced-box{border-top:1px solid #edf0f2;margin-top:9px;padding-top:8px}.advanced-box summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;color:var(--navy);font-size:9px;font-weight:900}.advanced-box summary::-webkit-details-marker{display:none}.advanced-box summary:after{content:'＋';font-size:13px;color:var(--brand)}.advanced-box[open] summary:after{content:'−'}.advanced-box summary span{margin-left:auto;margin-right:8px;font-size:7px;color:var(--muted);font-weight:400}.advanced-inner{padding-top:10px}.mini-cash-preview{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:5px;align-items:center;background:#f7f8fa;border:1px solid #e2e6e9;border-radius:10px;padding:8px}.mini-cash-preview span{display:block;font-size:7px;color:var(--muted)}.mini-cash-preview b{display:block;font-size:11px;color:var(--navy)}.mini-arrow{font-size:12px!important}.return-choice,.return-mode-card{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #dce2e7;background:#f7f8fa;border-radius:11px;padding:10px;margin-bottom:10px}.return-choice strong,.return-mode-card strong{display:block;font-size:10px;color:var(--navy)}.return-choice span,.return-mode-card span{display:block;font-size:8px;color:var(--muted);margin-top:2px}.switch{position:relative;width:38px;height:21px;flex:0 0 38px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;inset:0;background:#cbd2d8;border-radius:999px}.slider:before{content:'';position:absolute;width:15px;height:15px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.18s}.switch input:checked+.slider{background:var(--brand)}.switch input:checked+.slider:before{transform:translateX(17px)}.separate-return-card{border:1px solid #e0e4e8;border-left:3px solid var(--brand);border-radius:10px;padding:9px;margin-bottom:10px}.separate-return-card[hidden]{display:none!important}.featured-preset{background:var(--charcoal)!important;color:#fff!important;border-color:var(--charcoal)!important}.guided-actions{position:sticky;bottom:72px;z-index:12;background:#fff;border:1px solid var(--line);border-radius:11px;padding:8px;display:grid;grid-template-columns:1fr auto;gap:6px;box-shadow:0 5px 16px rgba(32,36,42,.09)}.guided-actions small{grid-column:1/-1;font-size:7px;color:var(--muted);text-align:center}.yearly-accordion-wrap{padding:12px}.yearly-accordion{border:1px solid var(--line);border-radius:11px;background:#fff;margin-bottom:8px;overflow:hidden}.yearly-accordion summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;cursor:pointer;background:#fbfcfd}.yearly-accordion summary::-webkit-details-marker{display:none}.yearly-accordion summary strong{display:block;color:var(--navy);font-size:12px}.yearly-accordion summary span{display:block;color:var(--muted);font-size:8px}.accordion-action{font-size:8px;color:var(--brand);border:1px solid #d9dfe4;border-radius:999px;padding:4px 7px;background:#fff}.accordion-content{border-top:1px solid var(--line);padding:8px}.friendly-table table{min-width:680px}.friendly-table td,.friendly-table th{padding:9px 10px!important}.guided-input-panel .return-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.guided-input-panel .return-presets{display:grid!important;grid-template-columns:1fr 1fr!important}.guided-input-panel .return-preset:last-child{grid-column:1/-1}@media(max-width:900px){.sticky-inputs{position:static!important}.guided-actions{bottom:66px}}@media(max-width:560px){.guided-progress{display:none}.row{grid-template-columns:1fr!important}.mini-cash-preview{grid-template-columns:1fr 1fr 1fr}.mini-arrow{display:none!important}.guided-input-panel .return-grid{grid-template-columns:1fr 1fr!important}}@media(max-width:390px){.guided-input-panel .return-grid{grid-template-columns:1fr!important}}

/* Source stylesheet 16 */

/* Remove the old top-story footprint completely */
.story{display:none!important}

/* The calculator should begin immediately with the guided setup */
#calculator{padding-top:10px!important}
.grid{align-items:start!important}

/* Make setup feel like the primary task */
.guided-input-panel{
  border-top:3px solid var(--brand)!important;
}
.guided-head{
  background:#fff!important;
}
.guided-head:after{
  content:'Results will appear automatically on the right. Click “Update My Illustration” to jump directly to the comparison.';
  display:block;
  margin-top:8px;
  padding:7px 8px;
  border-radius:8px;
  background:#f5f7f8;
  color:var(--muted);
  font-size:8px;
  line-height:1.35;
}

/* Keep-RRSP withdrawal assumption */
.keep-tax-plan{
  margin-top:9px;
  padding:10px;
  border:1px solid #e0e5e9;
  border-left:3px solid var(--brand);
  border-radius:9px;
  background:#fbfcfd;
}
.keep-tax-plan>strong{
  display:block;
  color:var(--navy);
  font-size:10px;
}
.keep-tax-plan>p{
  margin:2px 0 9px;
  color:var(--muted);
  font-size:8px;
  line-height:1.35;
}

/* Make the CTA visually clear */
.guided-actions .primary{
  min-height:42px!important;
  font-size:11px!important;
  background:var(--brand)!important;
}
.guided-actions .primary:after{
  content:'  ↓';
}

/* Results become a clear destination after clicking */
.strategy-comparison-panel{
  scroll-margin-top:18px;
}
.strategy-comparison-panel.flash-focus{
  animation:resultFocus 1.25s ease;
}
@keyframes resultFocus{
  0%{box-shadow:0 0 0 0 rgba(201,31,56,.35)}
  45%{box-shadow:0 0 0 7px rgba(201,31,56,.12)}
  100%{box-shadow:var(--shadow)}
}

/* Avoid information overload before the client reaches results */
@media(min-width:901px){
  .results{padding-top:0}
}
@media(max-width:900px){
  #calculator{padding-top:7px!important}
  .guided-head:after{font-size:9px}
}

/* Source stylesheet 17 */

/* =========================================================
   INPUT-FIRST SCROLL MODEL
   The setup panel must participate in normal page scrolling.
   No sticky left column on desktop.
   ========================================================= */
.guided-input-panel{
  position:static!important;
  top:auto!important;
  align-self:start!important;
  max-height:none!important;
  overflow:visible!important;
}

/* Keep the two-column layout, but let both columns move naturally
   with the document instead of pinning the setup column. */
.calculator,
.grid{
  align-items:start!important;
}

/* The Update button can remain easy to reach while the client is
   inside the setup panel, without pinning the entire panel. */
.guided-actions{
  position:sticky!important;
  bottom:74px!important;
}

/* Make the strategy comparison a clean landing target. */
#strategyComparison{
  scroll-margin-top:18px!important;
}

@media(max-width:900px){
  .guided-actions{
    position:sticky!important;
    bottom:64px!important;
  }
}

@media print{
  .guided-actions{position:static!important}
}

/* Source stylesheet 18 */

.combined-comparison-line{margin-top:9px;padding-top:9px;border-top:2px solid var(--brand);display:flex;justify-content:space-between;align-items:flex-end;gap:10px}
.combined-comparison-line span{color:var(--brand);font-size:9px;line-height:1.25;font-weight:900;max-width:68%}
.combined-comparison-line b{color:var(--brand);font-size:16px;line-height:1;white-space:nowrap}
.comparison-explain{margin-top:5px!important;color:var(--muted)!important;font-size:7.5px!important;line-height:1.35!important}
.scenario .badge{white-space:nowrap}

/* Source stylesheet 19 */

.yearly-panel-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
}
.yearly-panel-head>div{min-width:0}
.yearly-report-all-btn{
  flex:0 0 auto;
  min-width:142px;
  height:44px;
  border:0;
  border-radius:9px;
  background:var(--charcoal);
  color:#fff;
  border-top:2px solid var(--brand);
  display:grid;
  grid-template-columns:20px 1fr;
  grid-template-rows:1fr 1fr;
  column-gap:5px;
  align-items:center;
  padding:5px 9px;
  cursor:pointer;
  box-shadow:0 3px 10px rgba(0,0,0,.12);
}
.yearly-report-all-btn>span{
  grid-row:1/3;
  font-size:17px;
  color:#fff;
}
.yearly-report-all-btn>b{
  font-size:8px;
  line-height:1.1;
  text-align:left;
}
.yearly-report-all-btn>small{
  font-size:7px;
  line-height:1.1;
  color:#d8dde2;
  text-align:left;
}
.yearly-report-all-btn:hover{background:#30363d}

.accordion-controls{
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
}
.accordion-pdf-btn{
  height:27px;
  min-width:42px;
  padding:0 8px;
  border:1px solid #cfd6dc;
  border-radius:7px;
  background:#fff;
  color:var(--brand);
  font:900 8px/1 Lato,Arial,sans-serif;
  cursor:pointer;
}
.accordion-pdf-btn:hover,
.accordion-pdf-btn:focus-visible{
  color:#fff;
  background:var(--brand);
  border-color:var(--brand);
  outline:none;
}
.email-toolbar .yearly-email-pdf{
  background:var(--charcoal)!important;
  color:#fff!important;
  border-color:var(--charcoal)!important;
  border-top:2px solid var(--brand)!important;
}
.email-note:after{
  content:' The Year-by-Year Report PDF is the recommended attachment for the client because it contains only the three financial illustrations.';
  font-weight:700;
}
@media(max-width:680px){
  .yearly-panel-head{
    align-items:flex-start!important;
  }
  .yearly-report-all-btn{
    min-width:126px;
  }
  .yearly-accordion summary{
    gap:7px!important;
  }
  .accordion-controls{gap:5px}
}
@media(max-width:460px){
  .yearly-panel-head{
    display:block!important;
  }
  .yearly-report-all-btn{
    width:100%;
    margin-top:9px;
  }
}
@media print{
  .yearly-report-all-btn,.accordion-pdf-btn{display:none!important}
}

/* Source stylesheet 20 */

#investmentYearTable{
  min-width:1180px!important;
}
.live-equity-reconciliation{
  margin-top:10px;
  border:1px solid #dde3e8;
  border-left:4px solid var(--brand);
  border-radius:10px;
  padding:11px;
  background:#fbfcfd;
}
.live-equity-reconciliation h4{
  margin:0 0 3px;
  color:var(--navy);
  font-size:12px;
}
.live-equity-reconciliation p{
  margin:0 0 9px;
  color:var(--muted);
  font-size:8.5px;
  line-height:1.4;
}
.equity-recon-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
}
.equity-recon-grid>div{
  border:1px solid #e1e6ea;
  border-radius:8px;
  padding:7px 8px;
  background:#fff;
}
.equity-recon-grid span{
  display:block;
  color:var(--muted);
  font-size:7.5px;
  line-height:1.2;
}
.equity-recon-grid b{
  display:block;
  margin-top:3px;
  color:var(--navy);
  font-size:11px;
}
.equity-recon-grid .deduct b{color:#b42318}
.equity-recon-grid .subtotal{
  background:#f5f7f9;
  border-color:#d8dfe5;
}
.equity-recon-grid .total{
  background:#fff7f8;
  border-color:#e6b9c0;
}
.equity-recon-grid .total b{
  color:var(--brand);
  font-size:13px;
}
@media(max-width:620px){
  .equity-recon-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:420px){
  .equity-recon-grid{grid-template-columns:1fr}
}
@media print{
  .live-equity-reconciliation{break-inside:avoid}
}

/* Source stylesheet 21 */
.header,.hero{display:none!important}
/* Secure calculation error notice */
#apiWarning{background:#fff2f0;color:#b42318;border:1px solid #e9b0aa;padding:11px 14px;border-radius:9px;margin:12px 0;font-weight:700}#apiWarning[hidden]{display:none!important}
