.teklink-sc{max-width:680px;margin:24px auto;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033}
.teklink-sc *{box-sizing:border-box}
.teklink-sc-shell{background:#101827;border:1px solid #27364c;border-radius:18px;padding:20px;box-shadow:0 14px 38px rgba(15,23,42,.18)}
.teklink-sc-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.teklink-sc-eyebrow{font-size:10px;letter-spacing:.16em;color:#8ea4c3;font-weight:700}
.teklink-sc-heading h2{color:#f4f7fb;font-size:20px;line-height:1.3;margin:4px 0 0}
.teklink-sc button{font:inherit;border:0;cursor:pointer;transition:filter .15s,transform .08s}
.teklink-sc button:hover{filter:brightness(1.13)}
.teklink-sc button:active{transform:translateY(1px)}
.sc-clear{background:#29374b;color:#fff;border-radius:10px;padding:10px 15px;font-weight:700}
.sc-screen{background:#080e18;border:1px solid #25334a;border-radius:12px;padding:14px 16px;min-height:104px;display:flex;flex-direction:column;justify-content:flex-end;text-align:right;overflow:hidden}
.sc-expression{color:#91a2bb;font-size:14px;min-height:22px;overflow-wrap:anywhere}
.sc-result{color:#fff;font-size:clamp(27px,6vw,38px);font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.sc-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:14px 0}
.sc-mode,.sc-memory{display:flex;gap:5px;flex-wrap:wrap}
.sc-mode button,.sc-memory button{background:#202d40;color:#bdcbe0;border-radius:7px;padding:7px 10px;font-size:12px;font-weight:700}
.sc-mode button.is-active{background:#2563eb;color:white}
.sc-keys{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.sc-keys button{min-height:48px;border-radius:9px;background:#e9eef5;color:#182338;font-size:17px;font-weight:600}
.sc-keys button.sc-function{background:#26364c;color:#dce8f7;font-size:14px}
.sc-keys button.sc-operator{background:#34465f;color:#fff}
.sc-keys button.sc-equals{background:#2563eb;color:#fff;grid-column:span 2}
.sc-keys button.sc-zero{grid-column:span 2}
.sc-hint{color:#8496af;font-size:11px;margin:14px 2px 0}
.sc-error{color:#ff9b9b;font-size:12px;min-height:18px;margin-top:5px}
@media(max-width:480px){.teklink-sc-shell{padding:13px}.sc-keys{gap:6px}.sc-keys button{min-height:44px;font-size:15px}.sc-keys button.sc-function{font-size:12px}.sc-toolbar{align-items:flex-start;flex-direction:column}}
