:root{color-scheme:light;--red:#b41521;--deep:#830e19;--ink:#221c20;--muted:#655b62;--line:#e7dfe2;--rose:#fff1f1;--bg:#f8f6f7;--green:#256342;font-family:Inter,"Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);line-height:1.55}a{color:var(--deep);text-underline-offset:.2em}a:focus-visible,summary:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #256342;outline-offset:3px}.shell{width:min(1200px,calc(100% - 64px));margin:auto}.top{background:white;border-bottom:1px solid var(--line);border-top:4px solid var(--red)}.mast{display:flex;align-items:center;justify-content:space-between;min-height:70px;gap:12px}.mast a{font-size:.875rem;font-weight:650}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;color:var(--ink);white-space:nowrap}.brand span:first-child,.brand strong{font-size:1.08rem}.brand strong{color:var(--red)}.divider{height:20px;border-left:1px solid #d5c9cd}.hero{padding:44px 0 34px}.product,.overline{color:var(--red);font-weight:750;letter-spacing:.13em;font-size:.79rem;margin:0 0 5px}.hero h1{font-size:clamp(2.5rem,5vw,4.2rem);line-height:1.06;letter-spacing:-.055em;margin:0 0 12px}.hero p:last-child{font-size:1.12rem;color:var(--muted);max-width:670px;margin:0}.layout{display:grid;grid-template-columns:minmax(320px, .75fr) minmax(0,1.4fr);gap:22px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:17px;padding:24px;min-width:0}h2{font-size:1.28rem;line-height:1.3;margin:0 0 15px;letter-spacing:-.02em}fieldset{border:0;padding:0;margin:0 0 14px;min-width:0}legend,.field{font-weight:650;font-size:.88rem}.choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:8px}.choices label{position:relative;cursor:pointer;text-align:center}.choices input{position:absolute;opacity:0;inset:auto}.choices span{display:block;border:1px solid var(--line);padding:9px 3px;border-radius:8px;font-size:.87rem;font-weight:620}.choices input:checked+span{border-color:var(--red);background:var(--rose);color:var(--deep)}.choices input:focus-visible+span{outline:2px solid var(--red);outline-offset:2px}.field{display:block;margin:11px 0}.field input,.field select{display:block;width:100%;margin-top:5px;border:1px solid #d6cdd1;border-radius:8px;min-height:43px;padding:6px 9px;font:inherit;font-size:.96rem;font-weight:500;color:var(--ink);background:white;min-width:0}.field select{appearance:none;padding-right:24px;background:linear-gradient(45deg,transparent 50%,#655b62 50%) calc(100% - 15px) 50%/5px 5px no-repeat,linear-gradient(135deg,#655b62 50%,transparent 50%) calc(100% - 10px) 50%/5px 5px no-repeat}.dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.currency{position:relative}.currency span{position:absolute;right:13px;top:8px;color:var(--muted)}.currency input{padding-right:33px}.settings{margin:4px 0 14px;color:var(--muted)}summary{cursor:pointer;font-size:.92rem;font-weight:650}.small{font-size:.83rem;color:var(--muted);margin:7px 0}button{width:100%;color:#fff;background:var(--red);border:0;border-radius:8px;min-height:45px;padding:9px 14px;font:inherit;font-weight:700;cursor:pointer}button:hover{background:var(--deep)}#error{font-size:.88rem;color:var(--deep)}.output{display:grid;gap:15px}.outcome{border-top:4px solid var(--red);padding-top:20px}.result-head{display:flex;align-items:start;gap:8px;justify-content:space-between}.result-head h2{margin-bottom:3px}.tag{border:1px solid #f1d2d7;background:var(--rose);padding:4px 9px;border-radius:7px;color:var(--deep);font-size:.83rem;font-weight:650}.big{font-size:clamp(2.6rem,6vw,4.65rem);letter-spacing:-.065em;font-weight:770;line-height:1.1;margin:4px 0;color:var(--deep);font-variant-numeric:tabular-nums}.result-sub,.dates-note{font-size:.85rem;color:var(--muted);margin:7px 0 0}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border-top:1px solid var(--line);margin-top:15px;padding-top:12px}.metrics span{display:block;font-size:.83rem;color:var(--muted);line-height:1.3}.metrics b{font-size:1.21rem;white-space:nowrap;display:block;margin-top:5px}.positive{color:var(--green)}.negative{color:var(--deep)}.chart-panel{padding-top:17px;padding-bottom:15px}.chart-head{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:5px 12px}.chart-head h2{margin:0}.legend{display:flex;gap:14px;flex-wrap:wrap;font-size:.8rem;color:var(--muted)}.legend span::before{content:"";display:inline-block;border-top:3px solid var(--red);width:14px;margin:0 5px 3px 0}.legend span+span::before{border-top:2px dashed #7b7380}canvas{display:block;width:100%;height:166px;margin-top:10px}.details{margin-top:22px;display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.breakdown{margin:0}.breakdown div{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding:7px 0}.breakdown dt,.breakdown dd{font-size:.92rem}.breakdown dd{margin:0;font-weight:700;white-space:nowrap}.redemption{background:var(--rose);padding:19px;border-radius:13px}.redemption h2{margin:0}.redemption p{margin:6px 0}.redemption-value{font-size:2rem;font-weight:760;color:var(--deep)}.method{padding:28px 3px}.method details{border-top:1px solid var(--line);padding:12px 0}.method details p,.notice{color:var(--muted);font-size:.92rem;max-width:930px;margin:7px 0}.notice{border-left:3px solid var(--red);padding-left:12px;margin:15px 0 0}footer{background:white;border-top:1px solid var(--line);padding:19px 0;color:var(--muted);font-size:.84rem}footer .shell{display:flex;justify-content:space-between;gap:10px}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.stale{opacity:.55}
@media(max-width:850px){.shell{width:min(100% - 32px,690px)}.layout,.details{grid-template-columns:1fr}.hero{padding:32px 0 24px}.panel{padding:18px}}
@media(max-width:405px){.mast>a:last-child{font-size:.76rem}.brand{gap:7px}.brand span:first-child,.brand strong{font-size:.91rem}.metrics b{font-size:1rem}.result-head{flex-wrap:wrap}.panel{padding:15px}.choices span{font-size:.79rem}.dates input{font-size:.84rem}footer .shell{display:block}footer span{display:block}}

.coverage-note{font-size:.84rem;font-weight:650;color:#425872;margin:10px 0 0}.historical-warning{font-size:.85rem;line-height:1.55;border-left:3px solid #425872;background:#f3f5f8;color:#35465a;padding:10px 12px;border-radius:4px;margin:12px 0 0}.chart-description{font-size:.85rem;color:var(--muted);margin:0 0 5px}.legend .legend-old:before{background:#425872;border:0}.legend .legend-new:before{background:#b41521;border:0}.legend .legend-paid:before{background:transparent;border-top:2px dashed #7b7380}.chart-panel canvas{height:320px}.legend{flex-wrap:wrap;gap:8px 12px}.chart-head{flex-wrap:wrap}

.date-field{min-width:0}.date-field .field{margin-bottom:4px}.date-field input{font-variant-numeric:tabular-nums;letter-spacing:.015em;font-size:1rem}.date-field input[aria-invalid="true"]{border:2px solid var(--red);background:var(--rose)}.date-shortcut{width:auto;min-height:28px;padding:3px 0;background:none;color:var(--deep);font-size:.77rem;font-weight:650;text-align:left;text-decoration:underline;text-underline-offset:3px}.date-shortcut:hover{background:none;color:var(--red)}.date-help{margin-top:4px}.legend .legend-old:before,.legend .legend-new:before{height:3px;border-radius:2px;vertical-align:middle}.legend .legend-paid:before{vertical-align:middle}

.annual-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.annual-stat{padding:12px 14px;border:1px solid #e4e6eb;border-radius:10px;background:#f6f7fa;min-width:0}.annual-stat.annual-client{background:#edf7f4;border-color:#cfe6df}.annual-stat span,.redemption-annual span{font-size:.84rem;font-weight:650;line-height:1.35;display:block}.annual-stat strong{font-size:clamp(1.45rem,2.4vw,2rem);display:block;line-height:1.18;margin:5px 0;font-variant-numeric:tabular-nums}.annual-stat small{display:block;color:var(--muted);font-size:.76rem;line-height:1.4}.legend .legend-redemption:before{background:transparent;border-top:2px dashed #09776b;vertical-align:middle}.chart-note{border-top:1px solid var(--line);padding-top:8px}.redemption-annual{margin:12px 0;border-top:1px solid #e5cdd1;padding-top:10px}.redemption-annual strong{display:block;font-size:1.35rem;margin-top:4px}.surrender-table summary{color:var(--deep)}.surrender-table table{border-collapse:collapse;width:100%;margin-top:8px;font-size:.81rem;text-align:right}.surrender-table th,.surrender-table td{padding:5px 6px;border-bottom:1px solid #e5cdd1}.surrender-table th:first-child,.surrender-table td:first-child{text-align:left}.surrender-table .current-tier{background:#d7ebe4;color:#185446;font-weight:750}@media(max-width:405px){.annual-stat{padding:10px 8px}.annual-stat span{font-size:.79rem}}

/* Compact presentation dashboard: results, calculation controls, graph and
   both financial tables remain together; methodology sits below the workspace. */
:root{--surface:#fff;--line:#e4dce0}
body{background:#f6f4f5}
.shell{width:min(1550px,calc(100% - 32px))}
.top{border-top-width:3px}.mast{min-height:44px}.mast a{font-size:.84rem}
.hero{padding:10px 0 11px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.hero-title{display:flex;align-items:center;gap:13px;flex-wrap:wrap}
.hero .product{font-size:.76rem;letter-spacing:.13em;margin:0;color:var(--red)}
.hero h1{font-size:clamp(1.6rem,2.1vw,2.3rem);letter-spacing:-.04em;margin:0;line-height:1.04}
.hero p.hero-note{font-size:.75rem;line-height:1.35;text-align:right;font-weight:650;max-width:330px;color:#62545a;margin:0}
.hero-note span{font-weight:500;color:#776b72}
.layout{grid-template-columns:minmax(245px,285px) minmax(0,1fr);gap:10px;align-items:start}
.panel{padding:13px;border-radius:12px;box-shadow:0 2px 8px #3a172006}
h2{font-size:1.05rem;margin-bottom:9px}
.setup{padding:14px}.setup h2{font-size:1.16rem;margin:0 0 13px}.setup fieldset{margin-bottom:10px}
.setup .field{margin:8px 0;font-size:.81rem}.setup .field input,.setup .field select{min-height:37px;font-size:.9rem;margin-top:3px;padding:5px 8px}
.setup .choices{margin-top:5px;gap:4px}.setup .choices span{font-size:.76rem;padding:8px 2px;white-space:nowrap}
.setup .currency input{padding-right:29px}.setup .currency span{top:5px}
.setup .coverage-note,.setup #annual-equivalent{font-size:.75rem;margin:5px 0;line-height:1.35}
.setup .dates{gap:7px}.setup .dates .field{margin-bottom:2px}.date-shortcut{font-size:.72rem;min-height:22px}
.setup .date-help{font-size:.72rem;line-height:1.3;margin:3px 0 6px}
.setup .settings{margin:9px 0 11px}.setup .settings summary{font-size:.8rem}
.setup button[type=submit]{font-size:.87rem;min-height:41px;padding:7px 8px}
#date-help{max-width:240px}#error{margin:4px 0 8px}
.output{gap:9px;min-width:0}.outcome{padding:11px 13px 10px;border-top-width:3px}
.result-head{align-items:center;margin-bottom:8px}.result-head h2{font-size:.92rem;margin:0;color:#685960}
.tag{font-size:.72rem;padding:2px 7px;line-height:1.3}
.headline-kpis{display:grid;grid-template-columns:1.23fr repeat(2,minmax(0,1fr));gap:7px;align-items:stretch}
.primary-kpi,.annual-stat{padding:8px 10px;border-radius:9px;min-width:0;display:flex;flex-direction:column;justify-content:space-between}
.primary-kpi{background:#fff1f2;border:1px solid #f0d7dc}
.primary-kpi span,.annual-stat span{font-size:.79rem;line-height:1.25;font-weight:650}
.primary-kpi .big{font-size:clamp(1.5rem,2.55vw,2.6rem);letter-spacing:-.045em;line-height:1.08;margin:3px 0;white-space:nowrap}
.annual-stat strong{font-size:clamp(1.45rem,2.15vw,2.15rem);line-height:1.08;margin:3px 0}
.primary-kpi small,.annual-stat small{font-size:.69rem;color:var(--muted);line-height:1.28;margin:0}
.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:9px;padding-top:8px}
.metrics span{font-size:.72rem;line-height:1.25}.metrics b{font-size:clamp(.95rem,1.3vw,1.2rem);margin-top:3px;letter-spacing:-.025em}
.results-lower{display:grid;grid-template-columns:minmax(0,1fr) minmax(246px,285px);gap:9px;align-items:stretch}
.chart-panel{display:flex;flex-direction:column;min-height:0;padding:12px 10px 8px}
.chart-head{gap:3px 8px;margin:0 4px;display:block}.chart-head h2{font-size:1.05rem;margin-bottom:5px}
.legend{font-size:.72rem;line-height:1.3;gap:4px 9px}.legend span::before{width:12px;margin-right:3px}
.chart-panel canvas{height:clamp(230px,40vh,365px);min-height:235px;flex:1;margin-top:3px}
.chart-summary{margin:2px 6px 0;padding-top:4px;border-top:1px solid var(--line);font-size:.7rem;line-height:1.3;color:#526960}
.chart-key i{display:inline-block;width:12px;border-top:2px dashed #09776b;margin-right:4px;vertical-align:middle}
.details{display:flex;flex-direction:column;gap:7px;margin:0;padding:10px 11px}
.details h2{font-size:.88rem;margin:0 0 4px}.breakdown div{padding:2px 0;gap:4px}
.breakdown dt,.breakdown dd{font-size:.75rem;line-height:1.32}.breakdown dd{font-variant-numeric:tabular-nums}
.redemption{background:#fff1f2;border:1px solid #f4dce0;border-radius:8px;padding:7px 8px 6px}
.redemption h2{font-size:.85rem}.redemption p{margin:2px 0;line-height:1.28}
.redemption-value{font-size:1.43rem;line-height:1.1!important;letter-spacing:-.035em}
#redemption-info,#redemption-reduction{font-size:.71rem;line-height:1.3}
.redemption-annual{display:flex;align-items:baseline;justify-content:space-between;gap:3px;margin:4px 0 5px;padding-top:3px}
.redemption-annual span{font-size:.69rem;font-weight:650;line-height:1.2}.redemption-annual strong{font-size:.95rem;margin:0;white-space:nowrap}
.surrender-table h3{margin:4px 0 1px;font-size:.76rem;color:var(--deep)}
.surrender-table table{font-variant-numeric:tabular-nums;margin:0;font-size:.7rem;line-height:1.25}
.surrender-table th,.surrender-table td{padding:2px 3px}
.surrender-table th{color:#69595f;font-weight:650}.surrender-table .current-tier{background:#d9ebe4;color:#164d41}
.method{margin-top:20px;padding:15px 3px 24px}.method h2{font-size:1.22rem}
.notes-panel{max-width:100%;margin-bottom:12px}.notes-panel h3{margin:0 0 7px;font-size:1rem}
.notes-panel p{font-size:.92rem;line-height:1.55;color:var(--muted);max-width:1000px;margin:7px 0}
.notes-panel .historical-warning{margin:9px 0}
@media(min-width:1200px) and (min-height:760px){.hero{padding:14px 0}.layout{grid-template-columns:minmax(270px,310px) minmax(0,1fr)}.panel{padding:15px}.results-lower{grid-template-columns:minmax(0,1fr) minmax(270px,320px)}.chart-panel canvas{height:clamp(290px,44vh,445px)}.details{padding:12px 13px}.breakdown dt,.breakdown dd{font-size:.82rem}.surrender-table th,.surrender-table td{padding:3px 4px}.surrender-table table{font-size:.77rem}.setup .choices span{font-size:.81rem}.setup .field input,.setup .field select{min-height:41px}.setup .field{margin:10px 0}}
@media(max-width:1100px) and (min-width:900px){.shell{width:calc(100% - 20px)}.layout{grid-template-columns:240px minmax(0,1fr);gap:8px}.results-lower{grid-template-columns:minmax(0,1fr) 230px;gap:8px}.panel{padding:10px}.setup .choices span{font-size:.7rem}.primary-kpi,.annual-stat{padding:7px}.primary-kpi .big{font-size:1.65rem}.annual-stat strong{font-size:1.5rem}.headline-kpis{gap:5px}.metrics span{font-size:.67rem}.metrics b{font-size:.96rem}}
@media(max-width:899px){.shell{width:min(100% - 24px,800px)}.hero{align-items:flex-start}.hero-title{display:block}.hero .product{margin-bottom:4px}.hero h1{font-size:1.8rem}.hero p.hero-note{max-width:210px}.layout{grid-template-columns:1fr}.setup{padding:16px}.setup .choices span{font-size:.87rem}.headline-kpis{gap:7px}.results-lower{grid-template-columns:minmax(0,1fr) 250px}.chart-panel canvas{height:310px}.details{margin:0}}
@media(max-width:570px){.hero{display:block}.hero p.hero-note{text-align:left;max-width:none;margin-top:6px}.headline-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.primary-kpi{grid-column:1/-1}.primary-kpi .big{font-size:2.4rem}.annual-stat strong{font-size:1.6rem}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}.metrics b{font-size:1.1rem}.results-lower{grid-template-columns:1fr}.chart-panel canvas{height:285px}.details{padding:14px;gap:12px}.breakdown dt,.breakdown dd,.surrender-table table{font-size:.88rem}.surrender-table th,.surrender-table td{padding:4px 6px}.redemption-value{font-size:1.8rem}.redemption-annual span{font-size:.82rem}.redemption-annual strong{font-size:1.15rem}}
/* Short laptop viewports have less usable height because of browser chrome. */
@media(min-width:900px) and (max-height:850px){
  .mast{min-height:38px}.hero{padding:7px 0 8px}.hero h1{font-size:clamp(1.55rem,2vw,2rem)}
  .layout{gap:8px}.output{gap:8px}.panel{padding:10px}.outcome{padding:8px 10px 7px}
  .result-head{margin-bottom:5px}.headline-kpis{gap:6px}.primary-kpi,.annual-stat{padding:6px 8px}
  .primary-kpi .big{font-size:clamp(1.55rem,2.4vw,2.2rem);margin:2px 0}.annual-stat strong{font-size:clamp(1.4rem,2vw,1.9rem);margin:2px 0}
  .metrics{margin-top:5px;padding-top:5px}.metrics b{margin-top:1px;line-height:1.25}
  .results-lower{gap:8px}.chart-panel{padding:9px 9px 6px}
  .chart-panel canvas{height:clamp(220px,calc(100vh - 345px),330px);min-height:220px}
  .setup h2{margin-bottom:9px}.setup .field{margin:6px 0}.setup .field input,.setup .field select{min-height:35px}
  .setup fieldset{margin-bottom:6px}.setup .choices span{padding:6px 2px}.setup .settings{margin:6px 0 8px}
  .setup .coverage-note,.setup #annual-equivalent{margin:4px 0}.setup button[type=submit]{min-height:38px}
  .details{gap:5px;padding:8px 9px}.details h2{margin-bottom:3px}.breakdown div{padding:1px 0}
  .breakdown dt,.breakdown dd{font-size:.74rem;line-height:1.3}
  .redemption{padding:6px 7px 5px}.redemption p{margin:1px 0}
  .redemption-annual{margin:3px 0;padding-top:2px}.surrender-table h3{margin:2px 0}
  .surrender-table table{font-size:.72rem;line-height:1.2}.surrender-table th,.surrender-table td{padding:2px 3px}
}
@media(min-width:900px) and (max-height:690px){
 .hero p.hero-note{font-size:.7rem}.hero{padding:5px 0 6px}.chart-panel canvas{height:clamp(200px,calc(100vh - 345px),290px);min-height:200px}
 .details{gap:3px;padding:7px 8px}.surrender-table th,.surrender-table td{padding:1px 3px}
 .breakdown div{padding:1px 0}.redemption-value{font-size:1.27rem}.details h2{font-size:.82rem}
 .redemption-annual span{font-size:.65rem}.chart-summary{font-size:.66rem}.chart-head h2{font-size:.99rem}
}
@media(min-width:740px) and (max-width:899px){
 .shell{width:calc(100% - 20px)}.hero-title{display:flex;gap:8px}.hero h1{font-size:1.45rem}.layout{grid-template-columns:220px minmax(0,1fr);gap:8px}
 .setup{padding:10px}.setup .choices span{font-size:.65rem}.setup .field input,.setup .field select{font-size:.84rem}
 .outcome{padding:9px}.headline-kpis{grid-template-columns:1.15fr repeat(2,minmax(0,1fr));gap:4px}
 .primary-kpi,.annual-stat{padding:7px 5px}.primary-kpi .big{font-size:1.3rem}.annual-stat strong{font-size:1.3rem}
 .primary-kpi span,.annual-stat span{font-size:.68rem}.primary-kpi small,.annual-stat small{font-size:.63rem}
 .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.metrics span{font-size:.68rem}
 .results-lower{grid-template-columns:1fr;gap:8px}.chart-panel canvas{height:245px;min-height:210px}
 .details{display:grid;grid-template-columns:1fr 1.13fr;align-items:start;gap:8px;padding:9px}.details .breakdown dt,.details .breakdown dd{font-size:.7rem}
 .redemption-annual{display:block}.redemption-annual strong{display:inline-block;margin-left:4px}
 .surrender-table table{font-size:.68rem}.surrender-table th,.surrender-table td{padding:2px}
}
@media(min-width:900px) and (max-width:1100px){
  .setup .choices{grid-template-columns:1fr 1.15fr .85fr;gap:3px}
  .setup .choices span{font-size:.68rem;letter-spacing:-.025em}
}
@media(min-width:900px) and (max-height:690px){
 .chart-panel canvas{height:clamp(195px,calc(100vh - 365px),285px);min-height:195px}
 .outcome{padding:7px 9px 6px}.result-head{margin-bottom:4px}.headline-kpis{gap:5px}
 .primary-kpi,.annual-stat{padding:5px 7px}.metrics{margin-top:4px;padding-top:4px}
 .redemption-annual{margin:2px 0;padding-top:2px}
 .surrender-table h3{margin:1px 0}.surrender-table th,.surrender-table td{padding:1px 3px}
 .details .redemption{padding:5px 6px 4px}
}
