.base-page [hidden] { display:none !important; }
.base-page .hero-shell { padding:24px 28px; }
.base-page h1 { margin:0 0 10px; font-size:clamp(29px,3.4vw,44px); }
.base-page .lead { margin:0; max-width:960px; }
.base-page .calculator-layout { align-items:start; }
.base-page .field { display:grid; gap:8px; margin-bottom:18px; min-width:0; }
.base-page .input,.base-page .select { width:100%; min-width:0; }
.base-page .label-row { color:var(--ink-strong); font-weight:700; }
.base-page .hint,.base-note { color:var(--muted); font-size:14px; line-height:1.55; }
.base-actions { display:flex; gap:10px; flex-wrap:wrap; }
.base-actions .button { min-height:46px; }
.base-swap { margin:-2px 0 18px; }
.base-main { padding:18px; margin:18px 0; background:var(--pearl-soft); border:1px solid var(--line-strong); border-radius:var(--radius-md); box-shadow:inset 3px 3px 8px rgba(85,108,91,.14),inset -3px -3px 8px rgba(249,252,245,.6); }
.base-main span { display:block; font-weight:700; }
.base-main strong { display:block; margin-top:10px; font-family:ui-monospace,Consolas,monospace; font-size:clamp(26px,3.1vw,38px); line-height:1.3; color:var(--ink-strong); overflow-wrap:anywhere; }
.base-page .base-table { margin:14px 0; max-width:100%; padding-top:0; }
.base-page .data-table { width:100%; min-width:520px; table-layout:fixed; }
.base-page .data-table th,.base-page .data-table td { white-space:normal; overflow-wrap:anywhere; vertical-align:top; }
.base-page .data-table td:nth-child(2) { font-family:ui-monospace,Consolas,monospace; }
.base-solution { padding:26px; }
.base-solution summary { font-size:22px; color:var(--ink-strong); font-weight:750; cursor:pointer; }
.base-solution h3 { margin-top:24px; }
.base-formula { line-height:1.65; overflow-wrap:anywhere; color:var(--ink-strong); }
.base-page .seo-article { max-width:none; }
.base-page .seo-article p,.base-page .seo-article li { line-height:1.7; }
#base-copy-area { margin-top:18px; }
#base-copy-text { display:block; width:100%; margin-top:8px; }
.base-page .button:disabled { opacity:.55; cursor:default; }
.base-page .base-table::before { display:none; animation:none; }
@media(min-width:769px) { .base-page .data-table { min-width:0; } }
@media(max-width:768px) {
 .base-page .base-table.has-overflow { padding-top:36px; }
 .base-page .base-table.has-overflow::before { content:'← Листайте таблицу →'; display:block; position:absolute; inset:8px 0 auto; width:auto; height:20px; margin:0; border:0; border-radius:0; box-shadow:none; background:none; color:var(--mint-deep); font-size:13px; white-space:nowrap; animation:base-scroll-hint 2.2s ease-in-out infinite; }
}
@media(max-width:640px) { .base-page .hero-shell,.base-solution { padding:20px; } .base-actions .button { flex:1 1 160px; } .base-main { padding:15px; } }
@keyframes base-scroll-hint { 50% { transform:translateX(5px); } }
@media(prefers-reduced-motion:reduce) { .base-page .base-table.has-overflow::before { animation:none; } }
