.ld-host{border:2px solid #3474d8;border-radius:22px;overflow:hidden;background:#fff;color:#193451;margin:12px 0 28px;max-width:100%}.ld-header{padding:24px;background:linear-gradient(125deg,#e1f1ff,#f0f5ff 65%,#fff2ce)}.ld-kicker{font-size:11px;font-weight:800;letter-spacing:.09em;color:#1d549b}.ld-header h3{font-size:clamp(24px,4vw,34px);line-height:1.15;margin:12px 0}.ld-header p{margin:8px 0;max-width:52ch}.ld-body{padding:24px}.ld-host button{min-height:46px;border:2px solid #1a57b7;border-radius:12px;background:#1a57b7;color:#fff;padding:10px 17px;font:inherit;font-weight:700;cursor:pointer}.ld-host button.ld-secondary{background:#fff;color:#174988}.ld-host button:disabled{opacity:.5;cursor:default}.ld-host button:focus-visible,.ld-host select:focus-visible,.ld-host input:focus-visible{outline:3px solid #a04f00;outline-offset:3px}.ld-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.ld-tabs button{font-size:14px}.ld-tabs button[aria-pressed=false]{background:#fff;color:#1a57b7}.ld-label{display:block;font-weight:750}.ld-label select{display:block;margin:8px 0 0;width:100%;max-width:100%;padding:12px 8px;border:1px solid #63788d;border-radius:10px;font:inherit;background:#fff;color:#193451;min-height:48px}.ld-caption,.ld-input-help{font-size:14px}.ld-progress{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:13px;font-weight:750;margin:24px 0}.ld-progress progress{flex:1;min-width:90px;height:12px;accent-color:#245fce}.ld-step h4,.ld-question{font-size:23px;line-height:1.35;margin:0 0 18px}.ld-step p{line-height:1.7}.ld-transforms{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ld-transforms p{border:1px solid #b1c9e9;border-radius:14px;padding:15px;background:#f4f8ff;display:flex;flex-direction:column;gap:10px;margin:4px 0}.ld-transforms span{font-size:12px;text-transform:uppercase;letter-spacing:.08em}.ld-transforms b{font-size:28px;color:#144fad}.ld-equation{font-family:ui-monospace,Consolas,monospace;font-size:clamp(20px,4vw,29px);font-weight:750;background:#eff6ff;padding:16px;border-radius:12px;overflow-wrap:anywhere}.ld-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}.ld-step-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.ld-sheet{margin:0;background:#fbfcff;border:1px solid #bdd1ec;border-radius:12px;padding:18px}.ld-sheet figcaption{font-size:12px;line-height:1.4;font-weight:700;margin-bottom:14px}.ld-t{display:grid;grid-template-columns:1fr 1fr;font-family:ui-monospace,Consolas,monospace;font-variant-numeric:tabular-nums;gap:0}.ld-dividend{font-size:30px;letter-spacing:.04em;padding:10px 12px 10px 0}.ld-right{border-left:3px solid #1b4c91;min-width:0}.ld-divisor{border-bottom:3px solid #1b4c91;padding:10px;font-size:30px}.ld-quotient{font-size:clamp(23px,4vw,32px);padding:13px 10px;font-weight:800;overflow-wrap:anywhere;color:#184fa6}.ld-right>small{display:block;padding:0 10px;font-family:system-ui,sans-serif;line-height:1.4}.ld-work{list-style:none;padding:0 12px 0 0;margin:0}.ld-work li{padding:8px;border-bottom:1px solid #dbe6f3;display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px}.ld-work li strong:before{content:'= ';font-weight:400}.ld-work li small{width:100%;font-family:system-ui,sans-serif;font-size:11px}.ld-work .ld-current{background:#fff0b6;border-radius:8px}.ld-calculation{font-family:ui-monospace,Consolas,monospace;font-size:20px;font-weight:700}.ld-hint{background:#fff5d5;border-left:4px solid #bd8600;padding:14px;border-radius:8px;line-height:1.65}.ld-answer-row{display:flex;gap:10px;flex-wrap:wrap}.ld-answer-row input{min-width:0;flex:1;width:100%;padding:13px;border:2px solid #7088a1;border-radius:10px;font:inherit;font-size:23px;min-height:50px}.ld-feedback:not(:empty){padding:16px;background:#fff3d6;border-radius:12px;line-height:1.7;margin:16px 0}.ld-feedback.ld-success{background:#e1f5e9;color:#164c2d}.ld-footer{padding:15px 24px;font-size:12px;background:#f1f5fa;line-height:1.6}.ld-done h4{font-size:26px}.ld-done button{margin:10px 8px 0 0}@media(max-width:480px){.ld-header,.ld-body{padding:17px}.ld-transforms{grid-template-columns:1fr}.ld-step h4,.ld-question{font-size:21px}.ld-sheet{padding:12px}.ld-dividend,.ld-divisor{font-size:26px}.ld-tabs button{flex:1}.ld-answer-row button{width:100%}.ld-actions button{flex:1}.ld-quotient{font-size:23px}}@media(prefers-reduced-motion:reduce){.ld-host *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
