/* Price calculator styles — scoped to .tt-calc, loaded only on calculator.html */
  .tt-calc {
    --bg: #000000;
    --panel: #120B12;
    --ink: #F5EEF5;
    --muted: #A893A8;
    --line: #2E1F2E;
    --field: #0A050A;
    --neon: #E52BE4;
    --neon-ink: #000000;
    --glow: rgba(229, 43, 228, 0.55);
    color-scheme: dark;
    background: var(--bg);
    color: var(--ink);
    font-family: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.45;
    -webkit-tap-highlight-color: transparent;
  }
  .tt-calc *, .tt-calc *::before, .tt-calc *::after { box-sizing: border-box; }
  .tt-wrap { max-width: 1080px; margin: 0 auto; padding: 28px 18px 40px; }

  .tt-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
  .tt-head img { width: 76px; height: 76px; border-radius: 16px; display: block; flex: none; }
  .tt-head h1 {
    margin: 0; font-family: "Anton", Impact, "Arial Narrow", sans-serif; font-weight: 400;
    font-size: clamp(1.8rem, 5vw, 2.7rem); line-height: 1; letter-spacing: 0.01em;
  }
  .tt-head p { margin: 6px 0 0; color: var(--muted); }

  .tt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
  @media (max-width: 820px) { .tt-grid { grid-template-columns: 1fr; } }
  .tt-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 22px; min-width: 0; }

  .tt-field { margin-bottom: 18px; }
  .tt-field:last-child { margin-bottom: 0; }
  .tt-calc label, .tt-lbl { display: block; font-weight: 700; margin-bottom: 8px; }
  .tt-hint { color: var(--muted); font-weight: 400; font-size: 0.9rem; }

  .tt-seg { display: inline-flex; gap: 6px; }
  .tt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .tt-seg button, .tt-chips button {
    font: inherit; color: var(--ink); background: transparent; border: 1px solid var(--line);
    border-radius: 999px; padding: 9px 16px; min-height: 44px; cursor: pointer; touch-action: manipulation;
  }
  .tt-seg button { min-width: 80px; font-weight: 700; }
  .tt-seg button[aria-pressed="true"] { background: var(--neon); color: var(--neon-ink); border-color: var(--neon); }
  .tt-chips button:active { background: var(--field); }

  .tt-stepper { display: grid; grid-template-columns: 60px 1fr 60px; gap: 8px; }
  .tt-stepper button {
    font: inherit; font-size: 1.8rem; font-weight: 700; color: var(--ink); background: var(--field);
    border: 1px solid var(--line); border-radius: 14px; min-height: 62px; cursor: pointer; touch-action: manipulation;
  }
  .tt-stepper button:active { background: var(--line); }
  .tt-stepper input {
    width: 100%; font: inherit; font-size: 1.7rem; font-weight: 700; text-align: center;
    color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 14px;
    min-height: 62px; padding: 8px; -moz-appearance: textfield;
  }
  .tt-stepper input::-webkit-outer-spin-button, .tt-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
  .tt-calc button:focus-visible, .tt-calc input:focus-visible, .tt-calc a:focus-visible { outline: 3px solid var(--neon); outline-offset: 2px; }

  .tt-rates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .tt-rates div { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--field); }
  .tt-rates b { display: block; font-size: 1.35rem; margin-top: 2px; }

  .tt-stencil-box {
    height: 210px; display: flex; align-items: center; justify-content: center; overflow: hidden;
    background: radial-gradient(circle, var(--line) 1px, transparent 1.3px) 0 0 / 18px 18px;
    border-radius: 16px; margin-bottom: 16px;
  }
  .tt-stencil {
    border: 3px dashed var(--neon); border-radius: 10px; color: var(--neon); font-weight: 700;
    display: flex; align-items: center; justify-content: center; text-align: center; padding: 4px; font-size: 0.95rem;
    box-shadow: 0 0 18px var(--glow), inset 0 0 18px var(--glow);
    transition: width .25s ease, height .25s ease;
  }
  @media (prefers-reduced-motion: reduce) { .tt-stencil { transition: none; } }
  .tt-price-label { margin: 0; color: var(--muted); }
  .tt-price {
    font-family: "Anton", Impact, "Arial Narrow", sans-serif; font-weight: 400; color: var(--neon);
    font-size: clamp(3.2rem, 11vw, 5.2rem); line-height: 1; margin: 6px 0 14px;
    text-shadow: 0 0 22px var(--glow), 0 0 4px var(--glow); font-variant-numeric: tabular-nums; word-break: break-word;
  }
  .tt-breakdown { border-top: 1px solid var(--line); padding-top: 10px; }
  .tt-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-variant-numeric: tabular-nums; }
  .tt-row > span:first-child { color: var(--muted); }
  .tt-row.tt-total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 10px; font-weight: 700; }
  .tt-row.tt-total > span:first-child { color: var(--ink); }
  .tt-note { color: var(--muted); font-size: 0.9rem; margin: 16px 0 0; }
  .tt-cta {
    display: inline-flex; align-items: center; justify-content: center; margin-top: 16px;
    min-height: 54px; padding: 0 24px; border-radius: 14px; font-weight: 700; text-decoration: none;
    background: var(--neon); color: var(--neon-ink); box-shadow: 0 0 16px var(--glow);
  }
