.math-numbers-main{padding-block:22px 64px}.math-numbers-layout{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:28px;align-items:start}.math-numbers-primary{min-width:0}.math-numbers-input-panel,.math-numbers-section,.math-numbers-summary{min-width:0;padding:24px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.math-numbers-input-panel{padding:26px 28px}.math-numbers-heading{display:flex;align-items:center;gap:16px}.math-numbers-art{display:grid;place-items:center;width:74px;height:74px;flex-shrink:0;border-radius:16px;background:var(--accent-soft);color:#bd2d43}.math-numbers-art .icon{width:44px;height:44px}.math-numbers-eyebrow{font-size:var(--text-sm);color:#ba293c;font-weight:600}.math-numbers-heading h1{font-size:var(--text-2xl);line-height:1.7}.math-numbers-form{margin-top:24px}.math-numbers-input-group{min-width:0}.math-numbers-input-group>label{display:block;margin-bottom:8px;font-size:var(--text-sm);font-weight:600;color:var(--muted)}.math-numbers-page .math-numbers-input{display:block;width:100%;min-width:0;min-height:52px;border:1px solid #d6dde7;padding:12px 14px;background:#fafbfd;border-radius:12px;font:inherit;color:var(--ink)}.math-numbers-input-group textarea{resize:vertical}.math-numbers-input-group input{direction:ltr;text-align:right}.math-numbers-page .math-numbers-input:focus-visible{border-color:#e77d90;outline:3px solid #fce2e8;outline-offset:1px}.math-numbers-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.math-numbers-fields>.math-numbers-input-group:has(textarea){grid-column:1/-1}.math-numbers-form>.solid-button{margin-top:16px;min-height:50px;justify-content:center}.math-numbers-input-panel>.vm-tool-engagement{margin-top:24px}.math-numbers-note{font-size:var(--text-sm);color:var(--muted);line-height:1.95;margin-top:16px}.math-numbers-note:empty{display:none}.math-numbers-primary h2{font-size:var(--text-xl);line-height:1.7}.math-numbers-primary h3{font-size:var(--text-base);line-height:1.8}.math-numbers-input-error{margin-top:8px;font-size:var(--text-sm);line-height:1.95;color:#aa2436}.math-numbers-page .math-numbers-input[aria-invalid=true]{border-color:#cf3a50;background:#fff6f7}.math-numbers-result{min-width:0;outline:none;scroll-margin-top:20px}.math-numbers-summary{background:#fff;border-color:var(--line)}.math-numbers-values{margin:16px 0 0}.math-numbers-values>div{min-width:0;padding:16px;border:1px solid #dcd5f7;border-radius:12px;background:#e7e4ff}.math-numbers-values>div:nth-child(4n+2){background:#dff4eb;border-color:#c5e7d9}.math-numbers-values>div:nth-child(4n+3){background:#eef4fc;border-color:#dce5ef}.math-numbers-values>div:nth-child(4n){background:#fff2e7;border-color:#efdfcf}.math-numbers-values dt{font-size:var(--text-sm);color:var(--muted);line-height:1.9}.math-numbers-values dd{margin:0;font-size:var(--text-xl);font-weight:600;line-height:1.9;overflow-wrap:anywhere;unicode-bidi:plaintext;text-align:right}.math-numbers-values .is-primary dd{font-size:var(--text-2xl);color:#6c4bb5}.math-numbers-notice{font-size:var(--text-base);line-height:1.95;padding:16px;border:1px solid #efdfb6;background:#fff7e5;color:#86611d;border-radius:12px;margin-top:16px;overflow-wrap:anywhere}.math-numbers-notice:empty{display:none}.math-numbers-actions{margin-top:16px}.math-numbers-actions :is(button,a){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;font:inherit;font-size:var(--text-sm)}.math-numbers-explanation>div{padding:16px;background:#eef4fc;border:1px solid #dce5ef;border-radius:12px;min-width:0;line-height:1.95}.math-numbers-explanation>div+div{background:#e9f6f0;border-color:#d2e9df}.math-numbers-explanation p{margin-top:16px;font-size:var(--text-base);overflow-wrap:anywhere}.math-numbers-explanation ol{padding-inline-start:24px;margin:16px 0 0;list-style:decimal;font-size:var(--text-base)}.math-numbers-explanation li+li{margin-top:12px}.math-numbers-chart{margin-top:16px;max-width:100%;overflow:hidden}.math-numbers-chart canvas{display:block;width:100%;height:auto}.math-numbers-table-scroll{max-width:100%;overflow:auto;margin-top:16px}.math-numbers-table-scroll table{width:100%;border-collapse:collapse;font-size:var(--text-base)}.math-numbers-table-scroll :is(th,td){padding:12px 8px;text-align:right;border-bottom:1px solid var(--line);line-height:1.9;overflow-wrap:anywhere}.math-numbers-table-scroll thead{background:#eef4fc}.math-numbers-table-scroll tbody tr:nth-child(even){background:#f8fafc}.math-numbers-guide{display:grid;gap:12px;list-style:none;padding:0;margin:16px 0 0;counter-reset:guide}.math-numbers-guide li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px 12px;padding:16px;border-radius:12px;background:#fff2e7;font-size:var(--text-base);line-height:1.95;counter-increment:guide}.math-numbers-guide li:nth-child(2){background:#e9f6f0}.math-numbers-guide li:nth-child(3){background:#f1ecfc}.math-numbers-guide li:before{content:counter(guide);grid-column:1;grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;background:#fff;border-radius:8px;color:#9c7323;font-weight:600;font-size:var(--text-sm)}.math-numbers-guide li>span{grid-column:2;font-size:var(--text-sm);color:var(--muted)}.math-numbers-catalog,.math-numbers-related{margin-top:16px}.math-numbers-catalog>article{min-width:0;padding:16px;border:1px solid #dce5ef;border-radius:12px;background:#eef4fc}.math-numbers-catalog>article:nth-child(4n+2){background:#e9f6f0;border-color:#d2e9df}.math-numbers-catalog>article:nth-child(4n+3){background:#fff2e7;border-color:#efdfcf}.math-numbers-catalog>article:nth-child(4n){background:#f1ecfc;border-color:#e1d8f1}.math-numbers-catalog p{font-size:var(--text-sm);line-height:1.95;color:var(--muted);margin-top:8px}.math-numbers-catalog p:empty{display:none}.math-numbers-catalog code{font:inherit;font-size:var(--text-sm);line-height:1.95;overflow-wrap:anywhere;unicode-bidi:plaintext}.math-numbers-catalog article>a,.math-numbers-current{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;border-radius:8px;background:#fff;padding:8px 12px;font-size:var(--text-sm);line-height:1.9}.math-numbers-catalog .icon{width:18px;height:18px;flex-shrink:0}.math-numbers-current{color:#28755b}.math-numbers-related>a{min-width:0;padding:16px;background:#f1ecfc;border:1px solid #e1d8f1;border-radius:12px;line-height:1.9}.math-numbers-related>a:nth-child(even){background:#eef4fc;border-color:#dce5ef}.math-numbers-related>a>span{display:grid;place-items:center;width:40px;height:40px;background:#ffffffad;border-radius:12px;font-size:22px}.math-numbers-related strong{font-size:var(--text-base)}.math-numbers-related small{font-size:var(--text-sm);color:var(--muted)}.math-numbers-page [hidden]{display:none!important}@media(max-width:1100px){.math-numbers-layout{grid-template-columns:minmax(0,1fr) 260px;gap:24px}}@media(max-width:850px){.math-numbers-layout{grid-template-columns:1fr}.math-numbers-layout>.age-sidebar{position:static;max-height:none}}@media(max-width:599px){.math-numbers-main{padding-block:18px 38px}.math-numbers-input-panel,.math-numbers-section,.math-numbers-summary{padding:20px 16px}.math-numbers-heading{gap:12px}.math-numbers-heading h1,.math-numbers-primary h2{font-size:var(--text-lg)}.math-numbers-art{width:55px;height:55px}.math-numbers-art .icon{width:34px;height:34px}.math-numbers-fields{grid-template-columns:1fr}.math-numbers-values>div,.math-numbers-catalog>article,.math-numbers-related>a{padding:12px}.math-numbers-guide li{padding:12px}.math-numbers-explanation>div{padding:12px}}

.math-numbers-fields>.math-numbers-input-group:last-child:nth-child(odd){grid-column:1/-1}
