.starx-kva {
  --blue: #0b3f78;
  --blue2: #155696;
  --red: #b02b2c;
  --ink: #333;
  --muted: #6d7480;
  --line: #dfe3e8;
  --soft: #f4f6f8;
  --white: #fff;
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  padding: 1px 0 0;
  color: var(--ink);
  background: #f2f4f6;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.starx-kva *, .starx-kva *::before, .starx-kva *::after { box-sizing: border-box; }
.starx-kva a { color: inherit; text-decoration: none; }
.starx-kva button, .starx-kva input, .starx-kva select { font: inherit; }
.starx-kva .intro { max-width: 1320px; margin: auto; padding: 52px 28px 35px; display: flex; align-items: flex-end; justify-content: space-between; gap: 55px; }
.starx-kva .intro h1 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -2.5px; margin: 0; color: var(--blue); font-weight: 400; }
.starx-kva .intro h1 em { font-style: normal; font-weight: 700; }
.starx-kva .lead { max-width: 485px; color: #5f6872; font-size: 16px; line-height: 1.7; margin: 0 0 4px; }
.starx-kva .workspace { max-width: 1260px; margin: 0 auto 40px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(450px, 1.05fr); background: #fff; border: 1px solid #dfe3e7; box-shadow: 0 12px 36px rgba(35, 49, 63, .1); }
.starx-kva .config { padding: 42px 48px 46px; margin: 0; }
.starx-kva .section-heading { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.starx-kva .section-heading > span { background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 7px; border-radius: 2px; }
.starx-kva .section-heading h2 { margin: 0 0 4px; color: var(--blue); font-size: 21px; line-height: 1.25; font-weight: 600; }
.starx-kva .section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.starx-kva .field { display: block; margin-bottom: 17px; }
.starx-kva .field > span { display: block; color: #4f5963; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 8px; }
.starx-kva .field input, .starx-kva .field select { display: block; width: 100%; height: 49px; margin: 0; border: 1px solid #ccd2d8; border-radius: 2px; padding: 0 14px; background: #fff; color: #333; outline: 0; box-shadow: none; transition: .2s; }
.starx-kva .field input:focus, .starx-kva .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(11, 63, 120, .1); }
.starx-kva .field small { display: block; margin-top: 6px; color: var(--blue); font-size: 10px; }
.starx-kva .divider { height: 1px; background: var(--line); margin: 28px 0; }
.starx-kva .mandatory-rides { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px; margin-top: 10px; background: #eef4fa; border-left: 4px solid var(--blue); }
.starx-kva .mandatory-rides span { display: block; color: var(--blue); font-size: 12px; font-weight: 700; }
.starx-kva .mandatory-rides small { display: block; color: #657484; font-size: 10px; margin-top: 4px; }
.starx-kva .mandatory-rides strong { white-space: nowrap; color: var(--blue); font-size: 14px; }
.starx-kva .lesson-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.starx-kva .lesson-row strong { display: block; font-size: 14px; }
.starx-kva .lesson-row small { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; }
.starx-kva .stepper { display: flex; align-items: center; height: 42px; border: 1px solid #ccd2d8; border-radius: 2px; overflow: hidden; background: #fff; }
.starx-kva .stepper button { display: block; width: 38px; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: #f0f3f6; color: var(--blue); font-size: 19px; cursor: pointer; }
.starx-kva .stepper button:disabled { color: #aab1b8; cursor: not-allowed; background: #f5f6f7; }
.starx-kva .stepper input { display: block; width: 48px; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; color: #333; text-align: center; font-weight: 700; appearance: textfield; box-shadow: none; }
.starx-kva .stepper input::-webkit-inner-spin-button { display: none; }
.starx-kva .estimate { position: relative; padding: 42px 48px 36px; background: #f6f7f8; border-left: 1px solid #dde1e5; color: var(--ink); }
.starx-kva .estimate::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--blue) 0 78%, var(--red) 78%); }
.starx-kva .estimate-title { display: flex; justify-content: space-between; align-items: flex-start; }
.starx-kva .estimate-title > div { min-width: 0; }
.starx-kva .estimate-title span:first-child { color: #737d87; font-size: 10px; letter-spacing: 1.5px; }
.starx-kva .estimate-title h2 { margin: 7px 0 0; color: var(--blue); font-size: 34px; line-height: 1.15; font-weight: 600; overflow-wrap: anywhere; }
.starx-kva .class-badge { display: grid; place-items: center; flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; border: 4px solid var(--blue); background: #fff; color: var(--blue); font-size: 19px; font-weight: 800; }
.starx-kva .recipient { display: grid; grid-template-columns: 1fr auto; gap: 3px 15px; margin: 25px 0 24px; padding: 14px 0; border-top: 1px solid #d7dce1; border-bottom: 1px solid #d7dce1; }
.starx-kva .recipient span { color: #7b858e; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
.starx-kva .recipient strong { grid-column: 1; color: var(--blue); font-size: 14px; }
.starx-kva .recipient small { grid-column: 2; color: #707982; font-size: 10px; text-align: right; }
.starx-kva .cost-group h3 { margin: 0 0 11px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.starx-kva .cost-group > div { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; font-size: 13px; }
.starx-kva .cost-group > div span small { display: block; margin-top: 3px; color: #7d858d; font-size: 9px; }
.starx-kva .cost-group > div > strong { white-space: nowrap; }
.starx-kva .cost-group .subtotal { margin-top: 5px; padding-top: 12px; border-top: 1px solid #cdd3d9; font-weight: 700; }
.starx-kva .variable-box { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding: 14px; background: #eef1f3; border: 1px solid #d9dee3; border-left: 4px solid #8a959f; }
.starx-kva .variable-box span { display: block; font-size: 12px; font-weight: 700; }
.starx-kva .variable-box small { display: block; color: #7b838c; font-size: 9px; margin-top: 4px; }
.starx-kva .variable-box > strong { color: #596671; font-size: 16px; white-space: nowrap; }
.starx-kva .school-total { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 21px 0; border-bottom: 2px solid var(--blue); }
.starx-kva .school-total > span { color: var(--blue); font-size: 13px; font-weight: 700; }
.starx-kva .school-total small { display: block; color: #737d87; font-size: 9px; font-weight: 400; margin-top: 5px; }
.starx-kva .school-total > strong { color: var(--blue); font-size: 29px; line-height: 1; letter-spacing: -1px; white-space: nowrap; }
.starx-kva .disclaimer { color: #7b838b; font-size: 9px; line-height: 1.5; margin: 18px 0 14px; }
.starx-kva .pdf-button { display: block; width: 100%; height: 51px; margin: 0; padding: 0 15px; border: 0; border-radius: 2px; background: #347d49; color: #fff; font-weight: 700; cursor: pointer; box-shadow: 0 4px 10px rgba(52, 125, 73, .22); }
.starx-kva .pdf-button:hover { background: #28663b; color: #fff; }
.starx-kva .pdf-button span { font-size: 17px; margin-right: 8px; }
.starx-kva .external { margin-top: 34px; padding: 15px 16px; background: #eef0f2; border: 1px solid #dde1e4; }
.starx-kva .external-head { display: flex; justify-content: space-between; margin-bottom: 9px; }
.starx-kva .external-head span { color: #626b74; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.starx-kva .external-head small { color: #737b83; font-size: 8px; }
.starx-kva .external > div:not(.external-head) { display: flex; justify-content: space-between; gap: 18px; padding: 4px 0; color: #626b74; font-size: 9.5px; }
.starx-kva .external > div span small { display: block; color: #8b929a; font-size: 8px; }
.starx-kva .external > div strong { white-space: nowrap; color: #4f565d; }
.starx-kva .external a { text-decoration: underline; text-decoration-color: #b7bec5; text-underline-offset: 2px; }
.starx-kva .appointment { display: block; margin-top: 13px; padding: 13px 15px; text-align: center; border: 1px solid #cbd4dc; color: var(--blue); font-size: 11px; font-weight: 700; background: #fff; }
.starx-kva .appointment:hover { background: #eef4fa; color: var(--blue); }
.starx-kva .recipient-toggle { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 18px; border: 1px solid #ccd2d8; border-radius: 3px; overflow: hidden; }
.starx-kva .recipient-toggle button { display: block; height: 43px; margin: 0; padding: 0 10px; border: 0; border-radius: 0; background: #f1f3f5; color: #68727c; font-size: 12px; font-weight: 700; cursor: pointer; }
.starx-kva .recipient-toggle button + button { border-left: 1px solid #ccd2d8; }
.starx-kva .recipient-toggle button.active { background: var(--blue); color: #fff; }
.starx-kva > footer { max-width: 1260px; margin: 0 auto; padding: 0 4px 35px; display: flex; justify-content: space-between; gap: 20px; color: #737b83; background: transparent; font-size: 11px; }

@media (max-width: 940px) {
  .starx-kva .intro { align-items: flex-start; flex-direction: column; gap: 18px; padding: 40px 24px 30px; }
  .starx-kva .workspace { grid-template-columns: minmax(0, 1fr); margin: 0 18px 34px; }
  .starx-kva .config, .starx-kva .estimate { min-width: 0; }
  .starx-kva .estimate { border-left: 0; border-top: 1px solid #dfe3e7; }
  .starx-kva .config, .starx-kva .estimate { padding: 36px 34px; }
  .starx-kva > footer { padding: 0 24px 30px; flex-direction: column; gap: 15px; }
}

@media (max-width: 560px) {
  .starx-kva .workspace { margin: 0 9px 28px; }
  .starx-kva .config, .starx-kva .estimate { padding: 30px 21px; }
  .starx-kva .lead { font-size: 14px; }
  .starx-kva .intro { padding-top: 33px; }
  .starx-kva .intro h1 { max-width: 100%; font-size: clamp(30px, 9.4vw, 42px); letter-spacing: -1.2px; overflow-wrap: anywhere; }
  .starx-kva .recipient { grid-template-columns: 1fr; }
  .starx-kva .recipient small { grid-column: 1; text-align: left; }
  .starx-kva .external-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .starx-kva .school-total > strong { font-size: 25px; }
  .starx-kva .mandatory-rides { align-items: flex-start; }
  .starx-kva .recipient-toggle { grid-template-columns: 1fr; }
  .starx-kva .recipient-toggle button + button { border-left: 0; border-top: 1px solid #ccd2d8; }
  .starx-kva .estimate-title h2 { font-size: 27px; }
  .starx-kva .class-badge { width: 52px; height: 52px; font-size: 14px; }
}
