.tools-module__oCstcq__page{background:linear-gradient(160deg, var(--cream), #e8eddf);min-height:calc(100svh - 68px);padding:30px 20px 50px}.tools-module__oCstcq__shell{width:min(680px,100%);margin:auto}.tools-module__oCstcq__links{flex-wrap:wrap;gap:20px;display:flex}.tools-module__oCstcq__links a{color:var(--orange-dark);font-size:14px;text-decoration:none}.tools-module__oCstcq__heading{margin:28px 0 22px}.tools-module__oCstcq__heading>span{color:var(--orange-dark);font-size:12px}.tools-module__oCstcq__heading h1{letter-spacing:-.04em;margin:8px 0 12px;font-size:clamp(30px,6vw,42px)}.tools-module__oCstcq__heading p,.tools-module__oCstcq__help,.tools-module__oCstcq__footnote{color:var(--muted);line-height:1.7}.tools-module__oCstcq__heading p{margin:0}.tools-module__oCstcq__panel{border:1px solid var(--line);background:var(--paper);border-radius:24px;padding:24px;box-shadow:0 18px 48px #283b310b}.tools-module__oCstcq__panel button{border:1px solid var(--line);background:var(--cream);min-width:0;min-height:44px;color:var(--ink);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:12px}.tools-module__oCstcq__panel button:hover:not(:disabled){background:#e8eddf}.tools-module__oCstcq__panel button:disabled{opacity:.45;cursor:default}.tools-module__oCstcq__panel button:focus-visible,.tools-module__oCstcq__links a:focus-visible,.tools-module__oCstcq__display:focus-visible{outline:3px solid var(--orange-dark);outline-offset:3px}.tools-module__oCstcq__help{font-size:12px}.tools-module__oCstcq__footnote{text-align:center;margin:20px 0 0;font-size:12px}.tools-module__oCstcq__status{color:#805338;overflow-wrap:anywhere;min-height:40px;margin:14px 0;font-size:13px;line-height:1.65}.tools-module__oCstcq__status[data-success=true]{color:#345536;background:#e8eddf;border-radius:12px;padding:12px}.tools-module__oCstcq__calculator{width:min(420px,100%);margin:auto}.tools-module__oCstcq__display{border:1px solid var(--line);text-align:right;background:#eef1e9;border-radius:16px;padding:18px}.tools-module__oCstcq__display>span{min-height:22px;color:var(--muted);overflow-wrap:anywhere;font-size:12px;display:block}.tools-module__oCstcq__display output{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:10px;font-size:clamp(23px,5vw,34px);display:block}.tools-module__oCstcq__keypad{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.tools-module__oCstcq__keypad button{min-height:58px;font-size:22px}.tools-module__oCstcq__keypad button[data-accent=true]{color:#895938;background:#f5e4d3}.tools-module__oCstcq__zero{grid-column:span 2}.tools-module__oCstcq__toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.tools-module__oCstcq__toolbar>div{gap:8px;display:flex}.tools-module__oCstcq__toolbar button,.tools-module__oCstcq__confirmation button{padding:8px 14px;font-size:13px}.tools-module__oCstcq__confirmation{background:#fff3e1;border:1px solid #ddbc9d;border-radius:14px;margin-top:16px;padding:14px}.tools-module__oCstcq__confirmation p{margin:0 0 10px;line-height:1.6}.tools-module__oCstcq__confirmation button+button{margin-left:8px}.tools-module__oCstcq__board{border:2px solid #66735f;border-radius:4px;width:min(486px,100%);margin:20px auto 0;overflow:hidden}.tools-module__oCstcq__boardRow{grid-template-columns:repeat(9,minmax(0,1fr));display:grid}.tools-module__oCstcq__cell{aspect-ratio:1;border-bottom:1px solid #d2d7cb;border-right:1px solid #d2d7cb;min-width:0}.tools-module__oCstcq__cell:last-child{border-right:0}.tools-module__oCstcq__boardRow:last-child .tools-module__oCstcq__cell{border-bottom:0}.tools-module__oCstcq__cell[data-right=true]{border-right:2px solid #66735f}.tools-module__oCstcq__cell[data-bottom=true]{border-bottom:2px solid #66735f}.tools-module__oCstcq__cell button{color:#9b4e2e;font-variant-numeric:tabular-nums;background:#fffefa;border:0;border-radius:0;place-items:center;width:100%;height:100%;min-height:0;padding:0;font-size:clamp(18px,4vw,27px);display:grid;position:relative}.tools-module__oCstcq__cell button[data-fixed=true]{color:#334536;font-weight:800}.tools-module__oCstcq__cell button[data-peer=true]{background:#f1f3ec}.tools-module__oCstcq__cell button[data-selected=true]{background:#e1e9d5;box-shadow:inset 0 0 0 2px #66735f}.tools-module__oCstcq__cell button[data-conflict=true]{color:#a52b2b;background:#ffe6e2}.tools-module__oCstcq__cell button:focus-visible{z-index:1;outline-offset:-3px}.tools-module__oCstcq__conflictMark{font-size:11px;font-weight:900;position:absolute;top:0;right:2px}.tools-module__oCstcq__selection{text-align:center;color:var(--muted);font-size:12px}.tools-module__oCstcq__numberPad{grid-template-columns:repeat(9,minmax(0,1fr));gap:6px;max-width:486px;margin:auto;display:grid}.tools-module__oCstcq__numberPad button{font-size:20px}.tools-module__oCstcq__numberPad .tools-module__oCstcq__clearCell{grid-column:1/-1;font-size:14px}.tools-module__oCstcq__modeSwitch{gap:10px;display:flex}.tools-module__oCstcq__modeSwitch button{border:1px solid var(--line);background:var(--paper);min-height:44px;color:var(--ink);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:14px;padding:10px 22px}.tools-module__oCstcq__modeSwitch button[aria-pressed=true]{background:#e1e9d5;border-color:#66735f;font-weight:800}.tools-module__oCstcq__modeSwitch button:focus-visible{outline:3px solid var(--orange-dark);outline-offset:3px}.tools-module__oCstcq__toolbar>div{flex-wrap:wrap}.tools-module__oCstcq__solverActions{flex-wrap:wrap;gap:8px;margin:18px 0 10px;display:flex}.tools-module__oCstcq__solverActions button{padding:8px 14px;font-size:13px}.tools-module__oCstcq__conflictDetails{color:#82332e;background:#fff0ec;border:1px solid #d8978b;border-radius:12px;margin-top:14px;padding:12px;font-size:13px;line-height:1.7}.tools-module__oCstcq__conflictDetails ul{max-height:240px;padding-left:22px;overflow:auto}.tools-module__oCstcq__replay{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.tools-module__oCstcq__replay h2{margin:0 0 12px;font-size:21px}.tools-module__oCstcq__stepDescription{overflow-wrap:anywhere;background:#f1f4ea;border:1px solid #cbd6bc;border-radius:12px;padding:12px 16px;font-size:13px;line-height:1.75}.tools-module__oCstcq__stepDescription p{margin:8px 0}.tools-module__oCstcq__cell button[data-related=true]{background:#e8eddf;box-shadow:inset 0 0 0 1px #a2b68f}.tools-module__oCstcq__cell button[data-related=true][data-selected=true]{box-shadow:inset 0 0 0 2px #66735f}.tools-module__oCstcq__cellSource{font-size:9px;line-height:1.1;position:absolute;bottom:0;left:2px}@media (max-width:520px){.tools-module__oCstcq__page{padding:22px 12px 36px}.tools-module__oCstcq__panel{border-radius:20px;padding:16px 12px}.tools-module__oCstcq__numberPad{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.tools-module__oCstcq__numberPad .tools-module__oCstcq__clearCell{grid-column:auto;font-size:11px}.tools-module__oCstcq__numberPad button{min-height:48px}.tools-module__oCstcq__keypad{gap:8px}}@media (prefers-reduced-motion:no-preference){.tools-module__oCstcq__keypad button,.tools-module__oCstcq__numberPad button{transition:background .15s}}
