.rv-nav,#rv-output{
  --rv-paper:#fff;--rv-soft:#f4f8fb;--rv-line:#cedbe6;--rv-ink:#152b40;--rv-mute:#51667b;
  --rv-link:#115e90;--rv-wash:#eaf4f4;--rv-teal:#12575d;--rv-focus:#2679b1;--rv-prof:#106576;--rv-prof-on:#fff;
  color:var(--rv-ink);font-family:inherit;font-variant-numeric:tabular-nums;
}
:is([data-theme="dark"],.theme-dark,.dark) :is(.rv-nav,#rv-output){
  --rv-paper:#212932;--rv-soft:#26313c;--rv-line:#44525f;--rv-ink:#eff5fa;--rv-mute:#bacad8;
  --rv-link:#8bcffa;--rv-wash:#203d40;--rv-teal:#b1f0e6;--rv-focus:#78bdef;--rv-prof:#72c5cb;--rv-prof-on:#102a30;
}
.rv-nav{display:flex;align-items:center;justify-content:center;gap:5px;min-height:30px;background:var(--rv-soft);font-size:12px}
.rv-nav span{color:var(--rv-mute);margin-right:7px}
.rv-nav a{color:var(--rv-link);text-decoration:none;padding:3px 9px;border-radius:5px}
.rv-nav a[aria-current]{background:var(--rv-paper);box-shadow:inset 0 0 0 1px var(--rv-line);font-weight:700}
body.rv-ready.rv-active :is(#calc-results-series-tabs,#lab-out-lead,#calc-results-dual-picker-hint){display:none!important}
body.rv-ready.rv-active :is(.lab-out-head,#calc-results .calc-results-head){display:none}
body:not(.rv-active) :is(#rv-output,#rv-view-toggle){display:none}
#rv-view-toggle{display:inline-block;vertical-align:baseline;padding:2px 0;font:inherit;font-size:14px;line-height:1.4;color:var(--rv-link,var(--link,#14608e));background:transparent;border:0;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#rv-output>.vc-toggle{margin:8px 0}
#rv-output>.vc-toggle>summary,#rv-output>.vc-toggle .vc-intro{display:none}
#rv-output>.vc-toggle .vc-panel{padding-top:10px}
.rv-network-choice{display:flex;align-items:baseline;gap:.45em;margin-top:5px;color:var(--rv-link);font-weight:500;cursor:pointer}
.rv-network-choice input{accent-color:#166793;flex:none;margin:0}
#rv-output{margin:0 auto;padding:4px 0 8px;max-width:1200px;line-height:1.32;
  --rv-radius:10px}
#rv-output *{box-sizing:border-box}
#rv-output [hidden]{display:none!important}
#rv-output :is(button,a):focus-visible,.rv-nav a:focus-visible{outline:3px solid var(--rv-focus);outline-offset:2px}
#rv-output button{font:inherit;cursor:pointer}
#rv-output .rv-insight #rv-view-toggle{margin-inline-start:.2em;font-weight:600}
.rv-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 11px}
#rv-output .rv-title h2{margin:0;font-size:clamp(21px,2vw,29px);line-height:1.13;font-weight:680;letter-spacing:-.035em;color:var(--rv-ink)}
.rv-title button{display:none;color:var(--rv-link);border:1px solid var(--rv-line);border-radius:6px;padding:6px 10px;background:var(--rv-paper)}
.rv-insight{display:flex;gap:11px;align-items:flex-start;background:var(--rv-wash);color:var(--rv-teal);border:1px solid color-mix(in srgb,var(--rv-teal) 25%,var(--rv-paper));padding:11px 15px;border-radius:var(--rv-radius)}
.rv-mark{border:1px solid currentColor;border-radius:50%;width:19px;height:19px;display:grid;place-items:center;margin-top:2px;font-size:13px;flex:none}
#rv-output .rv-insight h3{font-size:19px;font-weight:680;letter-spacing:-.015em;color:inherit;margin:0 0 3px}
#rv-output .rv-insight p{font-size:14px;color:inherit;margin:0;line-height:1.43}
.rv-arm{display:flex;align-items:center;gap:10px;background:var(--rv-paper);border:1px solid var(--rv-line);padding:9px 14px;margin:9px 0;border-radius:var(--rv-radius);cursor:pointer}
.rv-arm input{accent-color:#166793;flex:none;width:18px;height:18px;margin:0}
.rv-arm b{font-size:14px}.rv-arm strong{margin-left:auto;white-space:nowrap;font-size:15px}
.rv-arm small{display:block;color:var(--rv-mute);font-size:12px}
.rv-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:stretch;margin-top:10px}
.rv-card{display:grid;grid-template-rows:subgrid;grid-row:span 7;background:var(--rv-paper);border:1px solid var(--rv-line);border-radius:var(--rv-radius);min-width:0;row-gap:0;overflow:hidden}
.rv-card[data-selected="true"]{border:2px solid var(--rv-focus)}
.rv-card[data-series="pro"]{border-color:var(--rv-prof)}
.rv-card header{display:flex;align-items:center;gap:10px;padding:7px 14px;border-bottom:1px solid var(--rv-line);min-height:48px}
.rv-card header img{margin-inline-start:auto;width:84px;height:34px;object-fit:contain;border-radius:3px}
.rv-selection{font-size:13px;font-weight:600;color:var(--rv-link);white-space:nowrap}
.rv-card[data-series="pro"] .rv-selection{color:var(--rv-prof)}
.rv-badge{display:inline-block;background:#195e91;color:#fff;line-height:1;padding:7px 10px;border-radius:6px;text-transform:uppercase;font-size:15px;letter-spacing:.025em}
.rv-badge.pro{background:var(--rv-prof);color:var(--rv-prof-on)}
.rv-card dl{margin:0;padding:0 13px}
.rv-row{display:grid;grid-template-columns:minmax(95px,.83fr) minmax(0,1.17fr);gap:10px;align-items:start;border-bottom:1px solid var(--rv-line);padding:6px 0;font-size:13px;overflow-wrap:anywhere}
.rv-card dt,.rv-card dd{margin:0}.rv-card dt{color:var(--rv-mute);font-weight:400}
.rv-card dd{color:var(--rv-ink);font-weight:620}
.rv-card dd small{display:block;color:var(--rv-mute);font-size:12px;font-weight:400;line-height:1.28;margin-top:2px}
.rv-card .rv-price .rv-row{padding:5px 0}.rv-card .rv-price .rv-row:last-child{border-bottom:0}
.rv-total{position:relative;display:flex;justify-content:space-between;align-items:center;gap:6px;background:var(--rv-soft);padding:6px 14px}
.rv-total>span,.rv-unit{font-size:12px;color:var(--rv-mute)}.rv-total strong{font-size:clamp(19px,1.6vw,25px);white-space:nowrap;letter-spacing:-.035em}
.rv-amount{display:flex;align-items:center;justify-content:flex-end;gap:6px}
#rv-output .rv-help-action{display:block;margin-top:4px;padding:3px 0;color:var(--rv-link);background:transparent;border:0;text-decoration:underline;text-underline-offset:2px}
.rv-unit{position:relative;text-align:right;background:var(--rv-soft);padding:0 14px 5px}
#rv-output [data-price-help]{display:inline-grid;place-items:center;vertical-align:middle;width:24px;height:24px;padding:0;border:1px solid var(--rv-line);border-radius:50%;background:var(--rv-paper);color:var(--rv-link);font:italic 600 13px Georgia,serif}
.rv-help-pop{position:absolute;z-index:3;right:12px;bottom:calc(100% - 1px);width:min(295px,calc(100% - 24px));padding:9px 12px;border:1px solid var(--rv-line);border-radius:7px;background:var(--rv-paper);color:var(--rv-ink);box-shadow:0 2px 10px #18263820;font-size:13px;line-height:1.4;text-align:left}
#rv-output .rv-card>button{margin:10px 13px 12px;border:2px solid var(--rv-link);border-radius:9px;min-height:44px;color:var(--rv-link);font-size:14px;font-weight:650;background:var(--rv-paper);cursor:pointer}
#rv-output .rv-card[data-selected="true"]>button{background:#145c90;border-color:#145c90;color:#fff}
#rv-output .rv-card[data-series="pro"]>button{border-color:var(--rv-prof);color:var(--rv-prof)}
#rv-output .rv-card[data-series="pro"][data-selected="true"]>button{background:var(--rv-prof);color:var(--rv-prof-on)}
#rv-output .rv-card>button::after{content:"";display:inline-block;width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;margin-inline-start:9px;transform:translateY(-2px) rotate(45deg)}
#rv-output .rv-card>button[aria-expanded="true"]::after{transform:translateY(2px) rotate(225deg)}
#rv-detail-title{display:none;scroll-margin-top:78px;padding-inline:23px}
@media(max-width:600px){#rv-detail-title{padding-inline:15px}}
body.rv-ready.rv-active.rv-details-open #rv-detail-title{display:block;margin:14px 0 8px;font:inherit;font-size:1.12rem;font-weight:700}
body.rv-ready.rv-active:not(.rv-details-open) #calc-results-cards{display:none}
.rv-bar{position:fixed;z-index:25;bottom:0;left:var(--rv-left);width:var(--rv-width);display:flex;align-items:center;
  justify-content:space-between;gap:10px;border:1px solid var(--rv-line);border-bottom:0;border-radius:9px 9px 0 0;
  background:var(--rv-paper);box-shadow:0 -3px 14px #13253414;padding:7px 13px max(7px,env(safe-area-inset-bottom))}
.rv-picked small,.rv-picked strong{display:block}.rv-picked small{font-size:12px;color:var(--rv-mute)}
.rv-picked strong{font-size:19px;white-space:nowrap;letter-spacing:-.025em}.rv-bar-actions{display:flex;gap:8px;align-items:center}
.rv-cta,#rv-output [data-do="menu"]{display:inline-flex;align-items:center;justify-content:center;min-height:37px;border:1px solid var(--rv-line);background:var(--rv-paper);color:var(--rv-link);border-radius:6px;padding:0 13px;font-size:14px;font-weight:650;text-decoration:none;white-space:nowrap}
#rv-output .rv-cta{background:#145f92;color:#fff;border-color:#145f92}
.rv-extra{position:relative}.rv-extra span{margin-left:4px}#rv-menu{position:absolute;bottom:calc(100% + 6px);right:0;background:var(--rv-paper);border:1px solid var(--rv-line);box-shadow:0 4px 18px #10253924;padding:4px;border-radius:8px;width:max-content;max-width:calc(100vw - 28px)}
#rv-menu button{display:block;width:100%;text-align:left;padding:9px;border:0;border-radius:4px;color:var(--rv-link);background:transparent;font-size:13px}
#rv-menu button:hover{background:var(--rv-soft)}
body.rv-ready.rv-active #calc-results .calc-results-cards-wrap{padding-bottom:4px}
body.rv-ready.rv-active #calc-results .calc-results-main{margin-bottom:0}
body.rv-ready.rv-active #calc-results.section:has(#rv-output){padding-bottom:0}
@media(max-width:760px){
  body.rv-details-open #calc-results-cards .calc-result-card-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;align-items:start}
  body.rv-details-open #calc-results-cards .calc-result-card-toolbar-end{position:static;justify-self:start;justify-content:flex-start;max-width:100%}
  #rv-output{padding:4px 0 6px}.rv-title{margin:0 0 8px}.rv-title button{display:block}
  .rv-nav{gap:2px}.rv-nav a{padding:5px 7px}.rv-nav span{margin-right:4px}
  .rv-grid{grid-template-columns:minmax(0,1fr);gap:10px}.rv-card{grid-row:auto;display:block}
  .rv-insight{padding:10px;gap:8px}#rv-output .rv-insight h3{font-size:17px}#rv-output .rv-insight p{font-size:13px}
  .rv-arm{padding:9px;gap:8px}.rv-arm strong{font-size:13px}.rv-arm b{font-size:13px}
  .rv-card>button{width:calc(100% - 26px)}
  .rv-bar{width:100vw;left:0;border-radius:0;padding-left:9px;padding-right:9px}.rv-picked strong{font-size:17px}
  .rv-bar-actions{gap:5px}#rv-output [data-do="menu"],#rv-output .rv-cta{padding:0 9px;min-height:42px}
  #rv-menu{position:fixed;bottom:59px;right:10px}
  body.rv-ready.rv-active #calc-results-edit-panel:not([open]){display:none}
}
@media print{.rv-bar,.rv-nav,#rv-detail-title,.rv-title button,#rv-view-toggle{display:none!important}}
@media screen and (max-width:760px){
  /* On a phone the Base specification goes between the two offers. Keep the native form and its controls in place. */
  body.rv-active .rv-base-expanded{display:flex;flex-direction:column;reading-flow:flex-visual}
  body.rv-active .rv-base-expanded :is(#rv-output,.rv-grid){display:contents}
  body.rv-active .rv-base-expanded .rv-card[data-series="start"]{order:1}
  body.rv-active .rv-base-expanded #rv-detail-title{order:2}
  body.rv-active .rv-base-expanded #calc-results-cards{order:3;min-width:0}
  body.rv-active .rv-base-expanded .rv-card[data-series="pro"]{order:4;margin-top:10px}
  body.rv-active .rv-base-expanded .calc-comparison-notes{order:5}
}
@media(min-width:761px) and (max-width:899px){
  .rv-title button{display:block}
  body.rv-ready.rv-active #calc-results-edit-panel:not([open]){display:none}
}
@supports (grid-template-rows:subgrid){
  @media(min-width:761px){
    .rv-card{grid-row:span var(--rv-tracks)}
    .rv-card dl{display:contents}
    .rv-card .rv-row{margin:0 13px}
  }
}

/* A foreground calculation shows the rack until the final result is ready. */
#calc-results-loading:not([hidden]):not(.calc-results-loading--update) ~ .calc-results-main,
.calc-main:has(#calc-results-loading:not([hidden]):not(.calc-results-loading--update)) :is(.lab-out-head,#lab-out-lead,#calc-results .calc-results-head){
  display:none!important;
}
