  :root {
    --accent: #DE0101;
    --text-main: #1a1a1a;
    --text-muted: #6b6b6b;
    --bg-page: #f7f7f8;
    --card-shadow: 0 0 1em 0 #e2e2e2;
    --border: #e2e2e2;
  }
  * { box-sizing: border-box; }
  body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-page);
    margin: 0;
    padding: 24px 16px;
    color: var(--text-main);
  }
  .calc-card {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: 0.5em;
    box-shadow: var(--card-shadow);
    padding: 28px 24px;
  }
  .subtitle { color: var(--text-muted); font-size: 14px; margin: 0 0 24px; line-height: 1.5; }

  .field { margin-bottom: 16px; }
  .field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
  .field-row { display: flex; gap: 12px; }
  .field-row .field { flex: 1; }

  input[type="number"], select {
    width: 100%; padding: 11px 12px; border: 1px solid #d9d9d9; border-radius: 3px;
    font-family: 'Montserrat', sans-serif; font-size: 15px; color: var(--text-main); outline: none;
    background: #fff;
  }
  input[type="number"]:focus, select:focus { border-color: var(--accent); }

  .field-note {
    font-size: 11px; color: var(--text-muted); margin-top: 5px; line-height: 1.4;
  }

  .result {
    margin-top: 20px;
    padding: 20px;
    border-radius: 0.5em;
    background: #fafafa;
    border: 1px solid #ececec;
  }
  .result-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 8px 0; font-size: 13px; color: var(--text-muted);
    border-bottom: 1px dashed #e6e6e6;
  }
  .result-row:last-of-type { border-bottom: none; }
  .result-row span:last-child { color: var(--text-main); font-weight: 700; font-size: 15px; }

  .total-main {
    display: flex; justify-content: space-between; align-items: baseline;
    padding-top: 14px; margin-top: 6px; border-top: 1px solid #e2e2e2;
  }
  .total-main .label { font-size: 14px; font-weight: 700; }
  .total-main .value { font-size: 24px; font-weight: 700; color: var(--accent); }

  .warning {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 0.5em;
    background: #fff4de;
    color: #9a6b00;
    font-size: 12.5px;
    line-height: 1.5;
    display: none;
  }
  .warning.show { display: block; }

  .hint {
    font-size: 12px; color: var(--text-muted); margin-top: 18px; line-height: 1.5;
  }

  .cta { margin-top: 20px; text-align: center; }
  .cta a {
    display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
    padding: 12px 28px; border-radius: 3px; font-weight: 600; font-size: 14px;
  }