.calc-hero { position: relative; padding: 40px 0 6px; }
.calc-wrap { max-width: 960px; margin: 0 auto; padding: 0 22px; }
.breadcrumbs { font-size: 13.5px; color: var(--lp-text-3); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 14px; }
.breadcrumbs a { color: var(--lp-text-2); }
.breadcrumbs a:hover { color: var(--lp-accent); }
.calc-hero h1 { font-size: clamp(27px, 4.3vw, 44px); line-height: 1.08; letter-spacing: -0.03em; margin: 6px 0 0; max-width: 26ch; font-weight: 700; }
.calc-hero p.lead { font-size: clamp(15px, 1.8vw, 18px); line-height: 1.55; color: var(--lp-text-2); max-width: 62ch; margin: 14px 0 0; }

.calc-card { background: var(--lp-surface); border: 1px solid var(--lp-hairline); border-radius: var(--lp-radius-lg); box-shadow: var(--lp-shadow); padding: 26px; margin: 26px 0; }
.seg { display: inline-flex; background: var(--lp-surface-2); border: 1px solid var(--lp-hairline); border-radius: 999px; padding: 5px; gap: 5px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--lp-text-2); padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: 0.2s; }
.seg button.on { background: var(--lp-accent); color: #fff; box-shadow: 0 8px 20px rgba(10, 132, 255, 0.3); }

.calc-main { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; margin-top: 22px; }
.cal-panel { display: flex; flex-direction: column; gap: 14px; max-width: 340px; }
.cal-selected { background: var(--lp-accent-soft); border: 1px solid rgba(10, 132, 255, 0.35); border-radius: 16px; padding: 12px 15px; }
.cal-selected-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lp-text-3); font-weight: 700; }
.cal-selected-value { font-size: 19px; font-weight: 700; color: var(--lp-accent); margin-top: 3px; }
.cal { border: 1px solid var(--lp-hairline); border-radius: 16px; padding: 14px; background: var(--lp-surface); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-title { font-weight: 700; font-size: 15px; text-transform: capitalize; }
.cal-nav { border: 1px solid var(--lp-hairline); background: #fff; width: 32px; height: 32px; border-radius: 10px; cursor: pointer; font-size: 17px; line-height: 1; color: var(--lp-text-2); transition: 0.15s; display: flex; align-items: center; justify-content: center; }
.cal-nav:hover:not(:disabled) { border-color: var(--lp-accent); color: var(--lp-accent); }
.cal-nav:disabled { opacity: 0.35; cursor: default; }
.cal-dow, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow span { text-align: center; font-size: 11.5px; color: var(--lp-text-3); font-weight: 600; padding: 4px 0; }
.cal-days button { border: 0; background: transparent; aspect-ratio: 1; border-radius: 10px; cursor: pointer; font-family: inherit; font-size: 13.5px; color: var(--lp-text); transition: 0.12s; }
.cal-days button:hover:not(:disabled):not(.sel) { background: var(--lp-surface-2); }
.cal-days button.today { box-shadow: inset 0 0 0 1.5px var(--lp-accent); color: var(--lp-accent); font-weight: 700; }
.cal-days button.sel { background: var(--lp-accent); color: #fff; font-weight: 700; box-shadow: 0 6px 16px rgba(10, 132, 255, 0.35); }
.cal-days button:disabled { color: var(--lp-text-3); opacity: 0.4; cursor: default; }
.cal-days .empty { visibility: hidden; }

.calc-res { margin-top: 0; }
.calc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.calc-main .calc-cards { grid-template-columns: 1fr; }
.rcard { border: 1px solid var(--lp-hairline); border-radius: 16px; padding: 16px; background: var(--lp-surface-2); }
.rcard .k { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--lp-text-3); font-weight: 700; }
.rcard .v { font-size: 18px; font-weight: 700; margin: 8px 0 0; line-height: 1.32; }
.rcard .s { font-size: 13px; color: var(--lp-text-2); margin: 6px 0 0; line-height: 1.4; }
.rcard.hl { border-color: rgba(10, 132, 255, 0.5); background: var(--lp-accent-soft); }
.rcard.hl .v { color: var(--lp-accent); }
.calc-tip { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; background: #fff6e5; border: 1px dashed #e0a53e; color: #7a5312; font-size: 14px; line-height: 1.5; }
.calc-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 0; }

.calc-faq { margin: 40px 0 0; }
.calc-faq h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 16px; letter-spacing: -0.02em; }
.calc-faq details { border: 1px solid var(--lp-hairline); border-radius: 14px; padding: 0 16px; margin: 0 0 10px; background: var(--lp-surface); }
.calc-faq summary { cursor: pointer; padding: 15px 0; font-weight: 600; list-style: none; }
.calc-faq summary::-webkit-details-marker { display: none; }
.calc-faq details[open] summary { border-bottom: 1px solid var(--lp-hairline-2); }
.calc-faq p { margin: 12px 0; color: var(--lp-text-2); font-size: 14.5px; line-height: 1.55; }

.calc-header .lp-actions { flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 720px) {
  .calc-main { grid-template-columns: 1fr; }
  .cal-panel { max-width: none; }
  .calc-cards { grid-template-columns: 1fr; }
  .calc-card { padding: 20px; }
}

@media (max-width: 560px) {
  .calc-header .lp-actions .btn-ghost { display: none; }
  .calc-header .lp-actions .btn { padding: 9px 14px; font-size: 14px; }
}
