  :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: 780px;
    margin: 0 auto;
    background: #fff;
    border-radius: 0.5em;
    box-shadow: var(--card-shadow);
    padding: 28px 24px;
  }
  h2 { font-size: 20px; font-weight: 700; margin: 0 0 4px; }
  .subtitle { color: var(--text-muted); font-size: 14px; margin: 0 0 20px; line-height: 1.5; }
  h3 {
    font-size: 15px; font-weight: 700; margin: 28px 0 4px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .section-hint { font-size: 12px; color: var(--text-muted); margin: 0 0 12px; line-height: 1.4; }

  .field { margin-bottom: 14px; }
  .field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
  input[type="number"], select {
    width: 100%; padding: 10px 11px; border: 1px solid #d9d9d9; border-radius: 3px;
    font-family: 'Montserrat', sans-serif; font-size: 14px; color: var(--text-main); outline: none;
    background: #fff;
  }
  input[type="number"]:focus, select:focus { border-color: var(--accent); }

  .row-card {
    border: 1px solid var(--border);
    border-radius: 0.5em;
    padding: 14px;
    margin-bottom: 10px;
    position: relative;
    background: #fafafa;
  }
  .row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .row-grid .full { grid-column: 1 / -1; }
  .row-result {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px dashed var(--border);
    padding-top: 8px;
  }
  .row-result b { color: var(--text-main); }

  .remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px;
  }

  .add-btn {
    background: #fff;
    border: 1px dashed var(--accent);
    color: var(--accent);
    border-radius: 3px;
    padding: 9px 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    width: 100%;
  }

  .totals {
    margin-top: 28px;
    padding: 20px;
    border-radius: 0.5em;
    background: #fafafa;
    border: 1px solid #ececec;
  }
  .total-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-muted);
  }
  .total-row span:last-child { color: var(--text-main); font-weight: 600; }
  .total-main {
    display: flex; justify-content: space-between; align-items: baseline;
    padding-top: 12px; margin-top: 8px; border-top: 1px solid #e2e2e2;
  }
  .total-main .label { font-size: 14px; font-weight: 700; }
  .total-main .value { font-size: 26px; font-weight: 700; color: var(--accent); }

  .fan-point {
    margin-top: 14px;
    padding: 14px;
    background: #fff4de;
    border-radius: 0.5em;
    font-size: 13px;
    line-height: 1.6;
  }
  .fan-point b { font-size: 15px; }

  .hint {
    font-size: 12px; color: var(--text-muted); margin-top: 16px; 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;
  }

  .badge {
    display: inline-block; padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 600; background: #eee; color: var(--text-muted);
  }

  .info-box {
    border: 1px solid var(--border);
    border-radius: 0.5em;
    margin-bottom: 20px;
    overflow: hidden;
    background: #fafaff;
  }
  .info-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 12px 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--accent);
    cursor: pointer;
    text-align: left;
  }
  #info-arrow { transition: transform 0.2s ease; }
  .info-toggle.open #info-arrow { transform: rotate(180deg); }
  .info-body {
    display: none;
    padding: 0 14px 16px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-main);
  }
  .info-body.open { display: block; }
  .info-body p { margin: 0 0 10px; }
  .info-body ul { margin: 0 0 10px; padding-left: 20px; }
  .info-body li { margin-bottom: 4px; }

  .field-hint {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: -10px;
    margin-bottom: 12px;
    line-height: 1.4;
  }