/* Retain the original paper, typography and column widths. */
.calc-grid{grid-template-rows:62px 62px 8px 48px 62px}
.carry{position:static;width:34px;height:30px;min-height:30px;font-size:20px;line-height:1;border-color:#c3c3be;outline-offset:3px}.carry:before{display:none}
.num:disabled,.op:disabled{opacity:1;cursor:default}.op.unset{color:#aaa;font-size:40px}
.progress{min-height:18px;margin-bottom:26px}#formula-controls{display:flex;flex-direction:column;align-items:center}
.assessment{position:relative;margin-top:24px;min-height:44px;display:flex;align-items:center;justify-content:center}
.check-button{min-height:44px;padding:9px 20px;border:1px solid var(--line);border-radius:10px;background:white;color:#666662;font-size:14px;font-weight:400}
.check-result{position:absolute;left:calc(100% + 16px);font-size:28px;line-height:1;color:var(--ink);white-space:nowrap}.check-result.word-result{font-size:12px;left:calc(100% + 10px)}
.start-button{margin-top:30px}.batch{margin-top:8px;font-size:13px}
.settings-menu{position:absolute;z-index:6;right:18px;top:58px;display:flex;flex-direction:column;align-items:stretch;background:white;border:1px solid var(--line);border-radius:14px;padding:8px;box-shadow:0 8px 24px #00000008}.settings-menu button{text-align:left;padding:10px 16px}.settings-menu button:hover{background:var(--soft);border-radius:8px}
.dialog-note{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 20px}dialog{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
.expected-list{display:flex;flex-direction:column;gap:10px}.expected-row{display:grid;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:12px;padding:0}.expected-row span{font-size:14px;color:var(--muted)}.expected-row input{font:inherit;font-size:20px;font-variant-numeric:tabular-nums;width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:8px 12px}.expected-row input::placeholder{font-size:14px;color:#aaa}#answers-error{margin:16px 0}
.results-list{list-style:none;padding:0;margin:0 0 20px;display:grid;grid-template-columns:1fr 1fr;column-gap:28px;grid-auto-flow:column;grid-template-rows:repeat(5,44px)}.results-list li{display:flex;align-items:center;justify-content:space-between;padding:0 8px;border-bottom:1px solid #e8e8e3;font-size:14px;color:var(--muted)}.result-mark{font-size:26px;color:var(--ink)}.result-note{font-size:12px}
.editing .assessment,.editing .batch{display:none}.editing main{padding-top:26px}
@media(max-width:560px){.calc-grid{grid-template-rows:56px 56px 8px 46px 56px}.carry{width:34px;height:30px;font-size:20px}.assessment{margin-top:20px}.settings-menu{right:12px;top:54px}.editing main{padding-top:18px}dialog{padding:22px}}
@media(max-width:360px){.check-result.word-result{position:static;margin-left:12px}.assessment:has(.word-result){margin-left:0}.expected-row{grid-template-columns:54px minmax(0,1fr);gap:8px}.results-list{column-gap:18px}}
.carry{width:44px;height:44px;min-height:44px;border:0;border-radius:0;background:transparent}
.carry span{display:grid;place-items:center;width:34px;height:30px;border:1px dashed #c3c3be;border-radius:7px;pointer-events:none}
.carry.selected{background:transparent}.carry.selected span{background:var(--soft);border-color:var(--ink)}
