.scc{--scc-blue:#174d81;border:1px solid #d6e2ed;border-radius:20px;padding:clamp(16px,3vw,32px);margin:24px 0;background:#f5f8fc;color:#18334b}.scc *{box-sizing:border-box}.scc h2{font-size:clamp(1.35rem,2.7vw,1.85rem);line-height:1.4;margin:10px 0}.scc p{line-height:1.6}.scc-header{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:20px}.scc-kicker{display:flex;gap:8px;align-items:center;font-size:.72rem;letter-spacing:.08em;font-weight:750;color:#174d81}.scc-options{display:flex;gap:10px;flex-shrink:0}.scc label{font-weight:650;font-size:.9rem}.scc select{display:block;width:100%;min-height:44px;font:inherit;border:1px solid #9db3c8;border-radius:8px;background:#fff;color:#18334b;padding:8px;margin-top:5px}.scc-screen{border:1px solid #9db3c8;border-radius:14px;background:#fff;padding:16px 20px}.scc textarea{display:block;width:100%;min-height:72px;max-height:220px;resize:vertical;border:0;border-bottom:1px solid #e0e8ef;padding:10px 0;font:1.15rem/1.6 ui-monospace,Consolas,monospace;color:#18334b;background:#fff;overflow-wrap:anywhere}.scc-result-row{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:10px}.scc output{font-size:clamp(1.8rem,4vw,2.7rem);font-weight:750;color:#174d81;overflow-wrap:anywhere;min-width:0;line-height:1.5}.scc button{font:inherit;font-weight:650;border:1px solid #bdcddd;border-radius:9px;min-height:48px;padding:9px 10px;background:#fff;color:#174d81;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;gap:6px;touch-action:manipulation}.scc button:hover{background:#e1edf9;color:#123d66;border-color:#7696b5}.scc button:active{background:#ccdfef;color:#123d66}.scc :is(button,textarea,select,summary,input):focus-visible{outline:3px solid #e2a025;outline-offset:3px}.scc .scc-copy{min-width:44px;min-height:44px;flex-shrink:0}.scc .scc-help{font-size:.8rem;color:#52697c;margin:10px 0}.scc-memory{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:16px 0}.scc-memory button{min-width:58px;min-height:42px;background:#e8eff7}.scc [data-memory-value]{font-size:.8rem;overflow-wrap:anywhere;flex:1;min-width:100px;padding-left:8px}.scc-keyareas{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.scc-science{min-width:0}.scc-science summary{font-weight:700;padding:8px 0;cursor:pointer;min-height:44px}.scc-science-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:8px}.scc-science-grid button{background:#e8eff7;min-height:54px;font-size:1rem;padding:8px 3px}.scc-basic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.scc-basic button{min-height:54px;font-size:1.2rem}.scc button.scc-operator{background:#dfebf8;color:#174d81}.scc button.scc-clear{background:#fff0ee;color:#9c3225}.scc button.scc-equals{grid-column:1/-1;background:#174d81;color:#fff;border-color:#174d81;min-height:52px}.scc button.scc-equals:hover,.scc button.scc-equals:focus-visible{background:#103b65;color:#fff;border-color:#103b65}.scc button.scc-equals:active{background:#0b2d4e;color:#fff}.scc .scc-equals span{font-size:1rem}.scc-error{background:#fff0ee;border-left:3px solid #ac342b;color:#8c2a23;padding:12px;border-radius:8px}.scc-status{font-size:.85rem;color:#174d81;min-height:1.4em}.scc-examples{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:20px 0}.scc-examples span{font-size:.9rem}.scc-examples button{font-size:.85rem;min-height:42px}.scc-history{border-top:1px solid #d6e2ed;padding:16px 0 4px}.scc-history summary{font-weight:700;cursor:pointer;line-height:1.6;min-height:40px}.scc-history-options{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:12px;align-items:center}.scc-history-options label{display:flex;align-items:center;gap:8px;font-size:.85rem}.scc input[type=checkbox]{width:18px;height:18px;accent-color:#174d81}.scc-history ol{padding-left:24px;max-height:350px;overflow-y:auto}.scc-history li{padding:10px 0;border-bottom:1px solid #d6e2ed;overflow-wrap:anywhere}.scc-history li span{display:block;font: .9rem/1.6 ui-monospace,Consolas,monospace}.scc-history li button{font-size:.8rem;min-height:36px;margin-top:8px}.scc [hidden]{display:none!important}@media(max-width:850px){.scc-header{display:block}.scc-options{margin-top:16px}.scc-options label{flex:1}.scc-keyareas{gap:14px}}@media(max-width:700px){.scc-keyareas{grid-template-columns:1fr}.scc-basic{grid-row:1}.scc-science-grid{gap:6px}.scc-science-grid button{font-size:.9rem;min-height:48px}.scc-screen{padding:12px}.scc textarea{font-size:1rem}.scc{padding:16px}.scc-memory{gap:6px}.scc-memory button{min-width:45px;padding:8px}.scc-memory [data-memory-value]{flex-basis:100%;padding-left:0}.scc-basic button{min-height:50px}.scc-header p{font-size:.9rem}}
