.vdi-calc{
  --orange:#C8361A;
  --orange-d:#a52b13;
  --orange-soft:#FBECE8;
  --accent-lt:#C8361A;
  --r-card:18px;
  --r-ctrl:12px;
  --navy:#1E1E1E;
  --navy-2:#2b2b2b;
  --ink:#1E1E1E;
  --slate:#7C7A86;
  --muted:#8A8A8A;
  --faint:#AAAAAA;
  --line:#E6EBF1;
  --line-2:#eef2f6;
  --bg:#EEF2F6;
  --card:#FFFFFF;
  --pos:#15803D;
  --pos-soft:#DCFCE7;
  --neg:#C24A3A;
  --neg-soft:#FCEDEA;
  --shadow:0 1px 2px rgba(16,39,64,.04), 0 8px 24px rgba(16,39,64,.06);
  --shadow-lg:0 2px 6px rgba(16,39,64,.06), 0 20px 50px rgba(16,39,64,.12);
}
.vdi-calc[data-theme="indigo"]{
  --orange:#4F5BD5; --orange-d:#3a45b8; --orange-soft:#ECEDFB; --accent-lt:#6f7ce8;
  --navy:#1B1F4B; --navy-2:#262C66;
}
.vdi-calc[data-theme="emerald"]{
  --orange:#0E9F6E; --orange-d:#0a7d57; --orange-soft:#E3F6EE; --accent-lt:#2fc28d;
  --navy:#0A2E2A; --navy-2:#114A41;
}
.vdi-calc[data-surface="crisp"]{
  --r-card:4px; --r-ctrl:4px;
  --shadow:0 0 0 1px rgba(16,39,64,.08);
  --shadow-lg:0 0 0 1px rgba(16,39,64,.12);
}
.vdi-calc[data-surface="crisp"] .card,
.vdi-calc[data-surface="crisp"] select,
.vdi-calc[data-surface="crisp"] .control{border-width:1px;}
.vdi-calc[data-surface="crisp"] .hero,
.vdi-calc[data-surface="crisp"] .hbar-fill.c,
.vdi-calc[data-surface="crisp"] .btn{box-shadow:none;}
.vdi-calc[data-surface="crisp"] .hbar-track,
.vdi-calc .hbar-fill,
.vdi-calc[data-surface="crisp"] .tile{border-radius:var(--r-ctrl);}
.vdi-calc[data-density="compact"]{--space:.7;}
.vdi-calc[data-density="spacious"]{--space:1.35;}
.vdi-calc *{box-sizing:border-box;margin:0;padding:0;}
.vdi-calc{
  font-family:'Plus Jakarta Sans','Manrope',system-ui,sans-serif;
  font-size:14px;
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  font-feature-settings:"tnum" 1;
  line-height:1.4;
  min-height:100vh;
}
.vdi-calc .wrap{max-width:1240px;margin:0 auto;}

/* ---------- header (unused by the shortcode markup, kept for parity) ---------- */
.vdi-calc header{display:flex;align-items:center;gap:14px;margin-bottom:22px;flex-wrap:wrap;}
.vdi-calc .logo{
  width:42px;height:42px;border-radius:11px;flex:none;position:relative;
  background:linear-gradient(150deg,var(--orange),var(--accent-lt));
  box-shadow:0 6px 16px rgba(200,54,26,.35);
}
.vdi-calc .logo::after{content:"";position:absolute;inset:11px 9px;border-radius:50%;border:3.5px solid #fff;border-right-color:transparent;transform:rotate(-35deg);}
.vdi-calc .brand h1{font-size:16px;font-weight:800;letter-spacing:-.2px;line-height:1.1;}
.vdi-calc .brand p{font-size:11px;color:var(--muted);font-weight:500;}
.vdi-calc .head-meta{margin-left:auto;display:flex;align-items:center;gap:10px;}
.vdi-calc .pill{font-size:10.5px;font-weight:600;color:var(--slate);background:var(--card);border:1px solid var(--line);border-radius:999px;padding:7px 14px;box-shadow:var(--shadow);}
.vdi-calc .pill b{color:var(--orange);}

.vdi-calc .intro{margin-bottom:22px;}
.vdi-calc .intro h2{font-size:22px;font-weight:800;letter-spacing:-.5px;color:var(--navy);}
.vdi-calc .intro p{font-size:13px;color:var(--muted);max-width:680px;margin-top:5px;}

/* ---------- layout ---------- */
.vdi-calc .grid{display:grid;grid-template-columns:minmax(340px,1fr) minmax(360px,1.15fr);gap:calc(22px * var(--space));align-items:stretch;}
.vdi-calc .grid > .card.pad{display:flex;flex-direction:column;}
@media(min-width:981px){.vdi-calc .grid > .card.pad .fields{align-content:start;}}
@media(max-width:980px){.vdi-calc .grid{grid-template-columns:1fr;}}

.vdi-calc .card{background:var(--card);border:1px solid var(--line);border-radius:var(--r-card);box-shadow:var(--shadow);}
.vdi-calc .card.pad{padding:calc(22px * var(--space));}

.vdi-calc .card-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:12px;}
.vdi-calc .card-h .t{font-size:11.5px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:var(--navy);white-space:nowrap;flex-shrink:0;}
.vdi-calc .card-h .s{font-size:10.5px;color:var(--faint);font-weight:600;}

/* ---------- form ---------- */
.vdi-calc .fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:calc(16px * var(--space)) 18px;}
.vdi-calc .field{display:flex;flex-direction:column;gap:7px;}
.vdi-calc .field.full{grid-column:1/-1;margin-top: 25px;}
.vdi-calc label{font-size:10.5px;font-weight:600;color:var(--slate);letter-spacing:.2px;display:flex;align-items:center;gap:6px;white-space:nowrap;flex-shrink:0;}
.vdi-calc label .q{width:15px;height:15px;border-radius:50%;background:var(--line);color:var(--muted);font-size:8.5px;font-weight:800;display:inline-grid;place-items:center;cursor:help;}

.vdi-calc .control{
  height:46px;border:1.5px solid var(--line);border-radius:var(--r-ctrl);background:#fff;
  display:flex;align-items:center;padding:0 4px 0 0;transition:border-color .15s, box-shadow .15s;
}
.vdi-calc .control:focus-within{border-color:var(--orange);box-shadow:0 0 0 3px rgba(200,54,26,.13);}
.vdi-calc .control--narrow{width:85%;}
.vdi-calc .stepper{display:flex;align-items:center;width:100%;}
.vdi-calc .stepper button{
  width:42px;height:42px;border:0;background:transparent;color:var(--muted);font-size:17px;cursor:pointer;border-radius:9px;
  font-weight:600;transition:.12s;flex:none;
}
.vdi-calc .stepper button:hover{background:var(--orange-soft);color:var(--orange-d);}
.vdi-calc .stepper input{
  flex:1;min-width:0;border:0;outline:0;text-align:center;font-family:inherit;font-size:13.5px;font-weight:700;color:var(--ink);background:transparent;
}
.vdi-calc select{
  width:100%;height:46px;border:1.5px solid var(--line);border-radius:var(--r-ctrl);background:#fff;
  font-family:inherit;font-size:12px;font-weight:600;color:var(--ink);padding:0 40px 0 14px;cursor:pointer;
  appearance:none;-webkit-appearance:none;transition:border-color .15s, box-shadow .15s;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7C8C' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 15px center;
}
.vdi-calc select:focus{outline:0;border-color:var(--orange);box-shadow:0 0 0 3px rgba(200,54,26,.13);}

/* session tag */
.vdi-calc .sess{display:inline-flex;align-items:center;gap:4px;font-size:8.5px;font-weight:500;padding:2px 6px;border-radius:6px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;}
.vdi-calc .sess.multi{background:#FFF5F3;color:var(--orange-d);}
.vdi-calc .sess.single{background:#EFF2F5;color:var(--slate);}

/* slider */
.vdi-calc .slider-wrap{display:flex;flex-direction:column;gap:9px;}
.vdi-calc .slider-top{display:flex;align-items:baseline;justify-content:space-between;margin-bottom: 15px;}
.vdi-calc .slider-val{font-size:15.5px;font-weight:800;color:var(--ink);}
.vdi-calc .slider-val small{font-size:10.5px;font-weight:600;color:var(--muted);margin-left:2px;}
.vdi-calc input[type=range]{
  -webkit-appearance:none;appearance:none;width:100%;height:6px;border-radius:999px;cursor:pointer;
  background:var(--line);outline:0;
}
.vdi-calc input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;width:20px;height:20px;border-radius:50%;background:#fff;border:none;
  box-shadow:0 0 0 3px var(--orange), 0 2px 5px rgba(16,39,64,.25);cursor:pointer;margin-top:0;
}
.vdi-calc input[type=range]::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#fff;border:none;box-shadow:0 0 0 3px var(--orange),0 2px 5px rgba(16,39,64,.25);cursor:pointer;}
.vdi-calc .range-foot{font-size:10px;color:var(--faint);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;margin-top:10px;}

/* addon chips */
.vdi-calc .chips{display:flex;flex-wrap:wrap;gap:9px;}
.vdi-calc .chip{
  display:inline-flex;align-items:center;gap:9px;border:1.5px solid var(--line);border-radius:11px;
  padding:10px 13px;cursor:pointer;font-size:12px;font-weight:600;color:var(--slate);background:#fff;transition:.14s;user-select:none;
}
.vdi-calc .chip:hover{border-color:var(--faint);}
.vdi-calc .chip .box{width:18px;height:18px;border-radius:6px;border:1.5px solid var(--faint);display:grid;place-items:center;color:#fff;font-size:10px;transition:.14s;}
.vdi-calc .chip .price{color:var(--muted);font-weight:700;font-size:11px;}
.vdi-calc .chip.on{border-color:var(--orange);background:var(--orange-soft);color:var(--orange-d);}
.vdi-calc .chip.on .box{background:var(--orange);border-color:var(--orange);}
.vdi-calc .chip.on .price{color:var(--orange-d);}

/* scarcity box */
.vdi-calc .scarcity{grid-column:1/-1;border:1.5px dashed #E3B997;background:#FFFAF4;border-radius:13px;padding:15px 16px;}
.vdi-calc .scarcity .note{font-size:10.5px;color:#9A5A23;line-height:1.5;margin-top:14px;}

.vdi-calc .divider{grid-column:1/-1;height:1px;background:var(--line-2);margin:3px 0;}

.vdi-calc .hidden-note{
  display:flex;gap:10px;align-items:flex-start;margin-top:18px;padding:12px 14px;border-radius:12px;
  background:#F7F9FB;border:1px solid var(--line);font-size:10.5px;color:var(--muted);line-height:1.5;
}
.vdi-calc .hidden-note svg{flex:none;margin-top:1px;}

/* ---------- results ---------- */
.vdi-calc .results{display:flex;flex-direction:column;gap:calc(16px * var(--space));position:sticky;top:18px;}
@media(max-width:980px){.vdi-calc .results{position:static;}}

.vdi-calc .hero{
  background:linear-gradient(270deg,#A31701 -1.37%,#060202 101.37%);color:#fff;border-radius:var(--r-card);padding:calc(24px * var(--space)) 26px;
  box-shadow:var(--shadow-lg);position:relative;overflow:hidden;
}
.vdi-calc .hero::after{content:"";position:absolute;right:-60px;top:-60px;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,rgba(200,54,26,.28),transparent 70%);}
.vdi-calc .hero .lab{font-size:10.5px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:rgba(255,255,255,.5);}
.vdi-calc .hero .amt{font-size:30px;font-weight:800;letter-spacing:-1px;line-height:1;margin:7px 0 0;display:flex;align-items:flex-start;gap:3px;}
.vdi-calc .hero .amt .cur{font-size:15px;font-weight:700;margin-top:4px;color:#cfe0f0;}
.vdi-calc .hero-row{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;position:relative;z-index:1;flex-wrap:wrap;}
.vdi-calc .hero-side{display:flex;flex-direction:column;align-items:flex-end;gap:11px;text-align:right;}
.vdi-calc .hero .sub{font-size:12px;color:rgba(255,255,255,.5);font-weight:600;}
.vdi-calc .savebadge{
  position:relative;z-index:1;display:inline-flex;align-items:center;gap:9px;
  background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);border-radius:12px;padding:10px 14px;backdrop-filter:blur(4px);
}
.vdi-calc .savebadge .ico{width:auto;height:auto;border-radius:0;background:none;display:inline-flex;font-size:15px;font-weight:800;flex:none;}
.vdi-calc .savebadge.pos .ico{color:#FFC933;}
.vdi-calc .savebadge.neg .ico{color:#FFC933;}
.vdi-calc .savebadge .big{font-size:20.5px;font-weight:800;line-height:1.05;margin-right:5px;}
.vdi-calc .savebadge.pos .big{color:#FFC933;}
.vdi-calc .savebadge.neg .big{color:#FFC933;}
.vdi-calc .savebadge .cap{font-size:10px;color:rgba(255,255,255,.5);font-weight:600;}

/* chart */
.vdi-calc .chart-card{padding:20px 22px;}
.vdi-calc .legend{display:flex;gap:16px;}
.vdi-calc .legend span{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:600;color:var(--muted);}
.vdi-calc .legend i{width:13px;height:13px;border-radius:4px;}
.vdi-calc .legend i.c{background:linear-gradient(150deg,var(--orange),var(--accent-lt));}
.vdi-calc .legend i.p{background:#C6D2DE;}
/* horizontal bars */
.vdi-calc .hbars{display:flex;flex-direction:column;gap:18px;padding:2px;}
.vdi-calc .hbar-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px;}
.vdi-calc .hbar-name{font-size:11.5px;font-weight:700;color:var(--slate);}
.vdi-calc .hbar-amt{font-size:15.5px;font-weight:800;color:var(--ink);letter-spacing:-.4px;}
.vdi-calc .hbar-track{height:16px;background:var(--line-2);border-radius:6px;overflow:hidden;}
.vdi-calc .hbar-fill{height:100%;border-radius:6px;transition:width .55s cubic-bezier(.22,1,.36,1);min-width:6px;}
.vdi-calc .hbar-fill.c{background:linear-gradient(90deg,var(--accent-lt),var(--orange));box-shadow:0 4px 12px rgba(200,54,26,.25);}
.vdi-calc .hbar-fill.p{background:#A6A6A6;}
.vdi-calc .hbar-per{font-size:10px;color:var(--faint);font-weight:600;margin-top:6px;}
/* line chart */
.vdi-calc .linelegend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.vdi-calc .linelegend span{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:600;color:var(--muted);}
.vdi-calc .linelegend i{width:9px;height:9px;border-radius:50%;}
.vdi-calc .linelegend b{color:var(--ink);font-weight:800;margin-left:1px;}
.vdi-calc .savechip{background:var(--pos-soft);color:var(--pos);border-radius:999px;padding:4px 11px;font-size:10.5px;font-weight:800;}
.vdi-calc .savechip.neg{background:var(--neg-soft);color:var(--neg);}
.vdi-calc #lineChart{margin-top:6px;}

/* tiles */
.vdi-calc .tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
.vdi-calc .tile{border-radius:var(--r-card);padding:15px 16px;border:1px solid var(--line);background:#fff;}
.vdi-calc .tile .tl{font-size:10px;font-weight:700;letter-spacing:.3px;text-transform:uppercase;color:var(--muted);}
.vdi-calc .tile .tn{font-size:20px;font-weight:800;letter-spacing:-.5px;margin-top:6px;color:var(--ink);}
.vdi-calc .tile .tsub{font-size:10px;color:var(--faint);font-weight:600;margin-top:2px;}
.vdi-calc .tile.accent{background:linear-gradient(155deg,var(--orange-soft),#fff);border-color:#FAD9C0;}
.vdi-calc .tile.accent .tn{color:var(--orange-d);}
.vdi-calc .tile.pos{background:linear-gradient(155deg,var(--pos-soft),#fff);border-color:#BFE6D2;}
.vdi-calc .tile.pos .tn{color:var(--pos);}
.vdi-calc .tile.neg{background:linear-gradient(155deg,var(--neg-soft),#fff);border-color:#F2C9C1;}
.vdi-calc .tile.neg .tn{color:var(--neg);}

.vdi-calc .cta{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 20px;background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);}
.vdi-calc .cta .ctext{font-size:11.5px;color:var(--muted);font-weight:500;max-width:300px;}
.vdi-calc .cta .ctext b{color:var(--ink);font-weight:700;}
.vdi-calc .usp{display:flex;gap:11px;align-items:flex-start;background:linear-gradient(155deg,var(--orange-soft),#fff);border:1px solid #FAD9C0;border-radius:14px;padding:13px 16px;font-size:11px;color:#9A5A23;line-height:1.5;}
.vdi-calc .usp .usp-ico{flex:none;width:26px;height:26px;border-radius:8px;background:var(--orange);color:#fff;display:grid;place-items:center;font-size:14px;}
.vdi-calc .usp b{color:var(--orange-d);font-weight:800;}
.vdi-calc .btn{
  font-family:inherit;font-size:13px;font-weight:700;border:0;cursor:pointer;white-space:nowrap;
  background:var(--orange);color:#fff;padding:13px 26px;border-radius:999px;
  box-shadow:0 8px 20px rgba(200,54,26,.32);transition:.15s;
}
.vdi-calc .btn:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(200,54,26,.4);}
.vdi-calc .btn:active{transform:translateY(0);}

.vdi-calc .disclaimer{font-size:10px;color:var(--faint);text-align:center;margin-top:8px;line-height:1.5;}
.vdi-calc .flash{animation:flash .5s ease;}
@keyframes flash{0%{color:var(--orange);}100%{}}

/* ---------- responsive / mobile ---------- */
@media(max-width:600px){
  .vdi-calc .wrap{padding:18px 15px 10px;}
  .vdi-calc header{gap:11px;margin-bottom:16px;}
  .vdi-calc .logo{width:38px;height:38px;}
  .vdi-calc .brand h1{font-size:17px;}
  .vdi-calc .head-meta{margin-left:0;width:100%;}
  .vdi-calc .head-meta .pill{width:100%;text-align:center;}
  .vdi-calc .intro{margin-bottom:16px;}
  .vdi-calc .intro h2{font-size:21px;letter-spacing:-.3px;}
  .vdi-calc .intro p{font-size:12px;}
  .vdi-calc .grid{gap:16px;}
  .vdi-calc .card.pad{padding:17px;}
  .vdi-calc .card-h{margin-bottom:14px;}
  .vdi-calc .card-h .s{display:none;}
  /* inputs stack one per row, but keep the small numeric pairs side-by-side */
  .vdi-calc .fields{grid-template-columns:1fr 1fr;gap:14px;display: block;}
  .vdi-calc .field.full{grid-column:1/-1;margin-top: 10px;}
  .vdi-calc select,
  .vdi-calc .wpcf7-form-control{font-size:16px;}            /* 16px avoids iOS zoom-on-focus */
  .vdi-calc .stepper input{font-size:15px;}
  /* hero */
  .vdi-calc .hero{padding:20px 20px;}
  .vdi-calc .hero-row{flex-direction:column;align-items:flex-start;gap:14px;}
  .vdi-calc .hero-side{align-items:flex-start;text-align:left;width:100%;}
  .vdi-calc .hero .amt{font-size:28px;}
  /* charts */
  .vdi-calc .chart-card{padding:17px;}
  .vdi-calc .hbars{gap:15px;}
  .vdi-calc .linelegend{gap:9px;font-size:10px;margin-top: 4px;}
  /* tiles → single column so big numbers never clip */
  .vdi-calc .tiles{grid-template-columns:1fr;gap:11px;}
  .vdi-calc .tile{display:flex;align-items:baseline;justify-content:space-between;padding:13px 15px;}
  .vdi-calc .tile .tn{font-size:21px;margin-top:0;}
  .vdi-calc .tile .tsub{display:none;}
  /* cta + sticky off */
  .vdi-calc .results{position:static;margin-top: 15px;}
  .vdi-calc .cta{flex-direction:column;align-items:stretch;text-align:center;}
  .vdi-calc .cta .ctext{max-width:none;}
  .vdi-calc .cta .btn{width:100%;}
  .vdi-calc .btn{padding:14px 22px;}   
  .vdi-calc .control--narrow{width: 100%;} 
  .vdi-calc .slider-top{margin-top: 15px;}
  .grid.grid-mob-blk{display: block;} 
  .vdi-calc .scarcity{margin-top: 15px;} 
  .vdi-calc .card-h--tight-18 {
    display: block;
    text-align: left;
}   
.vdi-calc .legend {
    margin-top: 5px;
}    
.vdi-calc .card-h--tight-4 {
    display: block;
    text-align: left;
}
}
@media(max-width:380px){
  .vdi-calc .fields{grid-template-columns:1fr;}
  .vdi-calc .hero .amt{font-size:24px;}
}
p.your-setup {
    text-align: left;
}
.vdi-calc .modal-scrim{position:fixed;inset:0;z-index:100;background:rgba(14,39,64,.55);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:24px;opacity:0;visibility:hidden;transition:opacity .2s, visibility .2s;}
.vdi-calc .modal-scrim.open{opacity:1;visibility:visible;}
.vdi-calc .modal{background:var(--card);border-radius:20px;box-shadow:0 30px 80px rgba(14,39,64,.4);width:100%;max-width:760px;position:relative;overflow:hidden;transform:translateY(12px) scale(.985);transition:transform .25s cubic-bezier(.22,1,.36,1);max-height:92vh;overflow-y:auto;display:block;}
.vdi-calc .modal-scrim.open .modal{transform:none;height: auto;}
.vdi-calc .modal-x{position:absolute;top:14px;right:16px;z-index:3;width:34px;height:34px;border:0;background:rgba(255,255,255,.85);border-radius:50%;font-size:22px;line-height:1;color:var(--muted);cursor:pointer;transition:.15s;}
.vdi-calc .modal-x:hover{background:#fff;color:var(--ink);transform:rotate(90deg);}
.vdi-calc .modal-grid{display:grid;grid-template-columns:38% 1fr;}
@media(max-width:640px){.vdi-calc .modal-grid{grid-template-columns:1fr;}}
.vdi-calc .modal-aside{background:linear-gradient(165deg,var(--navy),var(--navy-2));color:#fff;padding:26px 24px;display:flex;flex-direction:column;gap:8px;position:relative;overflow:hidden;}
.vdi-calc .modal-aside::after{content:"";position:absolute;right:-50px;bottom:-50px;width:170px;height:170px;border-radius:50%;background:radial-gradient(circle,rgba(200,54,26,.3),transparent 70%);}
.vdi-calc .ma-brand{display:flex;align-items:center;gap:9px;font-weight:800;font-size:14px;}
.vdi-calc .ma-logo{width:24px;height:24px;border-radius:7px;background:linear-gradient(150deg,var(--orange),var(--accent-lt));position:relative;flex:none;}
.vdi-calc .ma-logo::after{content:"";position:absolute;inset:6px 5px;border-radius:50%;border:2.5px solid #fff;border-right-color:transparent;transform:rotate(-35deg);}
.vdi-calc .ma-lab{font-size:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:#9DB4CC;margin-top:14px;}
.vdi-calc .ma-amt{font-size:40px;font-weight:800;letter-spacing:-1.5px;line-height:1;display:flex;align-items:flex-start;gap:2px;}
.vdi-calc .ma-amt span:first-child{font-size:16px;margin-top:5px;color:#cfe0f0;}
.vdi-calc .ma-amt small{font-size:13px;font-weight:600;color:#AFC2D6;margin-top:auto;margin-bottom:5px;margin-left:3px;}
.vdi-calc .ma-save{display:inline-block;align-self:flex-start;background:var(--pos);color:#fff;font-size:10.5px;font-weight:800;border-radius:999px;padding:5px 11px;margin-top:4px;}
.vdi-calc .ma-save.neg{background:var(--neg);}
.vdi-calc .ma-spec{list-style:none;margin:16px 0 0;padding:14px 0 0;border-top:1px solid rgba(255,255,255,.14);display:flex;flex-direction:column;gap:9px;position:relative;z-index:1;}
.vdi-calc .ma-spec li{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#C7D6E5;}
.vdi-calc .ma-spec li b{color:#fff;font-weight:700;text-align:right;}
.vdi-calc .ma-foot{font-size:10px;color:#8FA6BE;margin-top:auto;padding-top:16px;line-height:1.5;position:relative;z-index:1;}
.vdi-calc .modal-form{padding:30px 30px 26px;}
.vdi-calc .modal-form h3{font-size:21px;font-weight:800;letter-spacing:-.4px;color:var(--navy);}
.vdi-calc .mf-sub{font-size:11.5px;color:var(--muted);margin:5px 0 18px;line-height:1.5;}

@media(max-width: 640px){
  .vdi-calc .modal-aside{display: none;}
.vdi-calc .modal-scrim{align-items: center !important;}
.vdi-calc .modal-scrim.open .modal {margin: 0px 8px;}
.vdi-calc .modal{border-radius: 20px !important;}
}

/* ---- Contact Form 7 styling — matches the widget's field/button look ---- */
.vdi-calc .vdi-cf7-host p{margin-bottom:13px;}
.vdi-calc .vdi-cf7-host label{font-size:10.5px;font-weight:700;color:var(--slate);display:block;margin-bottom:6px;white-space:normal;gap:0;flex-shrink:initial;display: none;}
.vdi-calc .wpcf7-form-control{
  font-family:inherit;font-size:14px;color:var(--ink);border:1.5px solid var(--line);border-radius:10px;
  padding:11px 12px;background:#fff;width:100%;transition:border-color .15s, box-shadow .15s;resize:vertical;
}
.vdi-calc select.wpcf7-form-control{width:100%;}
.vdi-calc .wpcf7-form-control:focus{outline:0;border-color:var(--orange);box-shadow:0 0 0 3px rgba(200,54,26,.13);}
.vdi-calc .wpcf7-not-valid{border-color:var(--neg)!important;box-shadow:0 0 0 3px rgba(194,74,58,.12);}
.vdi-calc .wpcf7-not-valid-tip{font-size:10px;color:var(--neg);font-weight:600;margin-top:4px;}
.vdi-calc .wpcf7-checkbox,
.vdi-calc .wpcf7-acceptance{font-size:10.5px;color:var(--muted);line-height:1.5;}
.vdi-calc .wpcf7-list-item{margin:0;}
.vdi-calc input[type="submit"].wpcf7-submit,
.vdi-calc .wpcf7-submit{
  font-family:inherit;font-size:13px;font-weight:700;border:0;cursor:pointer;white-space:nowrap;
  background:var(--orange);color:#fff;padding:13px 26px;border-radius:999px;
  box-shadow:0 8px 20px rgba(200,54,26,.32);transition:.15s;width:100%;
}
.vdi-calc .wpcf7-submit:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(200,54,26,.4);}
.vdi-calc .wpcf7-spinner{margin-left:8px;}
.vdi-calc .wpcf7-response-output{
  font-size:11.5px;border-radius:10px;padding:11px 13px;margin-top:14px;border:1.5px solid var(--line);color:var(--slate);
}
.vdi-calc .wpcf7-mail-sent-ok{background:var(--pos-soft);border-color:#BFE6D2;color:var(--pos);}
.vdi-calc .wpcf7-validation-errors,
.vdi-calc .wpcf7-mail-sent-ng,
.vdi-calc .wpcf7-spam-blocked{background:var(--neg-soft);border-color:#F2C9C1;color:var(--neg);}
/* Hidden CF7 fields (e.g. the estimate-summary tags) still sit inside an
   auto-wrapped <p>, which otherwise renders as a blank paragraph with
   margin and no visible content, padding out the bottom of the modal. */
.vdi-calc .vdi-cf7-host p:has(input[type="hidden"]):not(:has(select)):not(:has(textarea)):not(:has(input:not([type="hidden"]))){margin:0;line-height:0;font-size:0;}
@media(max-width:600px){
  .vdi-calc .modal-scrim{padding:0;align-items:flex-end;}
  .vdi-calc .modal{max-width:none;border-radius:20px 20px 0 0;max-height:94vh;}
  .vdi-calc .modal-aside{padding:20px;}
  .vdi-calc .modal-form{padding:22px 20px;}
  .vdi-calc .modal-form h3{font-size:16px;}
}
/* ---------- utility classes (replace what were inline styles in the markup) ---------- */
.vdi-calc .ms-plan-wrap{margin-top:10px;display:none;}
.vdi-calc .ms-plan-wrap.show{display:block;}
.vdi-calc .msplan-label{font-size:10px;color:var(--muted);}
.vdi-calc .msplan-select{margin-top:5px;}
.vdi-calc .scarcity-val{color:#B5651A;}
.vdi-calc .scarcity-range{margin-top:9px;}
.vdi-calc .card-h--tight-18{margin-bottom:16px;}
.vdi-calc .card-h--tight-4{margin-bottom:4px;}
.vdi-calc .card--snug{padding:18px 20px;}
.vdi-calc .dot-phys{background:#3a4d5e;}
.vdi-calc .dot-cloud{background:var(--orange);}
.vdi-calc .hbar-fill{width:4%;}
.vdi-calc #lineChart svg{display:block;font-family:'Plus Jakarta Sans','Manrope',sans-serif;}
