.three-form{display:grid;gap:16px}.three-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.three-form label{display:block;font-weight:650;margin-bottom:6px}.three-form input,.three-form select{box-sizing:border-box;width:100%;min-height:48px;background:#202020;color:#fafafa;border:1px solid #777;border-radius:8px;padding:12px;font:inherit}.three-form button{min-height:44px}.three-result{background:#262626;border:1px solid #777;border-radius:14px;padding:24px;margin-top:20px;overflow-wrap:anywhere}.three-result h2{margin-top:0}.three-answer{font-size:clamp(1.3rem,4vw,2rem);font-weight:750;color:#ffb38a}.three-error{color:#ffc2b8}.three-table{overflow-x:auto;margin:16px 0}.three-table table{width:100%;border-collapse:collapse}.three-table th,.three-table td{text-align:left;padding:10px;border:1px solid #666;white-space:nowrap}.three-count{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;text-align:center}.three-count div{background:#202020;padding:16px 8px;border-radius:12px}.three-count strong{display:block;font-size:clamp(2rem,7vw,3.5rem);color:#ffb38a}.three-details{margin-top:24px;border-top:1px solid #555;padding-top:16px}.three-details summary{cursor:pointer;font-weight:650;min-height:44px}.three-related{display:flex;flex-wrap:wrap;gap:12px}.three-result p{line-height:1.7}.three-form :focus-visible,summary:focus-visible{outline:3px solid #ffb38a;outline-offset:3px}@media(max-width:600px){.three-fields{grid-template-columns:1fr}.three-result{padding:16px}.three-count{gap:6px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.skip-link{position:fixed;top:-100px;left:12px;z-index:9999}.skip-link:focus{top:12px}.three-result{scroll-margin-top:90px}.three-form [role=status]:empty{display:none}.three-form [role=status]{margin:0}.three-form .math-examples{flex-wrap:wrap}.three-form .math-actions{display:flex;flex-wrap:wrap;gap:10px}
