:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;line-height:1.8;color:#172b47;background:#f5f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header,main,footer{width:min(1180px,calc(100% - 48px));margin:auto}header,footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:22px 0;font-size:.875rem;border-bottom:1px solid #d5deeb}a{color:#205bb4;text-underline-offset:4px}h1{font-size:2rem;line-height:1.5;margin:6px 0}h2{font-size:1.25rem;margin:0 0 16px}h3{font-size:1rem;margin:12px 0}p{margin:10px 0}.heading{padding:26px 0}.eyebrow{color:#376198;font-size:.75rem;letter-spacing:.12em;font-weight:700;margin:0}.workspace{display:grid;grid-template-columns:320px minmax(0,1fr);gap:26px}.controls,.panel{background:white;border:1px solid #d5deeb;border-radius:14px;padding:24px;min-width:0;align-self:start}.controls label{display:block;font-size:.875rem;font-weight:650;margin:14px 0 8px}input,select,button{font:inherit;max-width:100%}select,input[type=number]{width:100%;padding:10px;min-height:46px;border:1px solid #adc1d9;border-radius:7px;background:white;color:#172b47}input[type=range]{width:100%;accent-color:#205bb4;min-height:36px}button{min-height:44px;padding:10px 14px;border:1px solid #adc1d9;border-radius:7px;background:white;color:#205bb4;cursor:pointer;font-size:.875rem}button:hover:enabled{background:#e9f0fc}button:disabled{opacity:.45;cursor:default}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #1769d7;outline-offset:4px}.help,.notice{font-size:.875rem;color:#506781}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.actions button{flex:1}.split-label{display:flex;justify-content:space-between;gap:10px;font-size:.875rem;color:#506781}output{font-variant-numeric:tabular-nums}.result{background:#122b50;color:white;border-radius:12px;padding:22px;margin-bottom:20px}.result .value{font-size:2.25rem;font-weight:750;line-height:1.4;margin:6px 0}.result p{color:#e1ebfa}svg{display:block;width:100%;height:auto;background:#101e31;border-radius:12px}figure{margin:0}figcaption{font-size:.875rem;margin:12px 0}.note{padding:12px 16px;border-left:3px solid #2865c8;background:#ecf2fc}.limits{margin:30px 0;padding:24px;background:white;border:1px solid #d5deeb;border-radius:14px}.limits p,.limits li{font-size:.875rem}.limits ul,.limits ol{padding-left:22px}summary{cursor:pointer;font-weight:650}.notice{border-left:3px solid #94a9c5;padding-left:16px;margin:24px 0}.formula{font-size:1.1rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}table{width:100%;border-collapse:collapse;font-size:.875rem}td,th{padding:12px 8px;text-align:left;border-bottom:1px solid #d5deeb}.step{display:flex;gap:12px;align-items:flex-start;padding:12px 0}.step strong{flex-shrink:0;background:#e5edfa;color:#205bb4;border-radius:5px;padding:2px 10px}.percept{min-height:210px;background:#101e31;border-radius:12px;display:flex;justify-content:center;align-items:center;gap:60px;color:white;font-family:serif;font-size:4rem;overflow:hidden}.ruler{height:10px;background:#dce5f4;border-radius:5px;margin:18px 0;position:relative}.ruler span{position:absolute;top:-5px;width:20px;height:20px;background:#2465ce;border-radius:50%;transform:translateX(-50%)}#error{padding:16px;background:#fff0eb;color:#8b2c16}[hidden]{display:none!important}@media(max-width:800px){header,main,footer{width:calc(100% - 32px)}.workspace{grid-template-columns:1fr;gap:20px}.controls,.panel,.limits{padding:20px}h1{font-size:1.7rem}.result .value{font-size:1.8rem}.percept{min-height:180px}.heading{padding:20px 0}}
