.kadane{font-size:var(--fs-numeral);position:relative;container-type:inline-size}.kadane-how{font-family:var(--font-ui);font-size:var(--fs-ui);line-height:var(--rule-unit);max-width:none}.kadane-row{gap:var(--rule-unit) var(--space-group-loose);margin:var(--rule-unit) 0 0;grid-template-columns:repeat(2,minmax(max-content,1fr));padding:0;list-style:none;display:grid;position:relative}@container (min-width:7.5em){.kadane-row{grid-template-columns:repeat(4,minmax(max-content,1fr))}}@container (min-width:calc(11em + 172px)){.kadane-row{gap:var(--space-action);grid-template-columns:repeat(8,minmax(max-content,1fr))}.kadane-row .kadane-cell{padding-inline:.22em}}.kadane-cell{width:100%;height:calc(var(--rule-unit) * 5);padding:0 var(--space-group-loose);border:2px solid var(--control-edge);border-bottom:5px solid var(--visitor);background:var(--surface-raised);color:var(--text);font-family:var(--font-ui);font-size:var(--fs-numeral);font-variant-numeric:tabular-nums slashed-zero;cursor:pointer;transition:transform var(--motion-feedback-duration) var(--motion-feedback-ease);border-radius:8px;justify-content:center;align-items:center;font-weight:700;line-height:1;display:flex}.kadane-cell:disabled{cursor:default}.kadane-cell:not(:disabled):hover{transform:translateY(-2px)}.kadane-cell:not(:disabled):active{border-bottom-width:2px;transform:translateY(2px)}.kadane-cell.is-run,.kadane-cell[aria-pressed=true]{background:var(--visitor-wash);border:3px solid var(--visitor);border-bottom-width:5px}.kadane-cell.is-cur{outline:3px solid var(--visitor);outline-offset:3px}.kadane-work{height:var(--rule-unit);font-family:var(--font-read);font-style:italic;font-weight:500;font-size:var(--fs-worked);line-height:var(--rule-unit);color:var(--visitor);white-space:nowrap}.kadane-foot{justify-content:space-between;align-items:center;column-gap:var(--space-item);min-height:calc(var(--rule-unit) * 2);flex-wrap:wrap;display:flex}.kadane-readout{font-family:var(--font-ui);font-variant-numeric:slashed-zero;font-size:var(--fs-ui);line-height:var(--rule-unit);flex:26ch;align-self:flex-start}.kadane-controls{justify-content:flex-end;align-items:center;gap:var(--space-action);flex-wrap:wrap;display:flex}.kadane-controls .btn{min-width:7rem}.kadane-more{min-height:44px;font-family:var(--font-ui);font-size:var(--fs-ui);align-items:center;display:inline-flex}.kadane-later:not(.is-on){display:none}.kadane-note{min-height:var(--rule-unit);line-height:var(--rule-unit)}.kadane-note:empty{min-height:0}.kadane-controls{background:var(--surface-raised)}.kadane-off{font-family:var(--font-ui);font-size:var(--fs-meta);color:var(--text-meta)}.kadane-failed{display:none}.kadane[data-failed] .kadane-failed{display:block}.kadane-circle{z-index:1;pointer-events:none;position:absolute;overflow:visible}.kadane-circle path{fill:none;stroke:var(--teacher);stroke-width:3.5px;stroke-linecap:round}.kadane-circle.is-drawing path{stroke-dasharray:2000;stroke-dashoffset:2000px;animation:answer-draw var(--motion-answer-duration) var(--ease-out) forwards}@keyframes answer-draw{to{stroke-dashoffset:0}}@media (prefers-reduced-motion:reduce){.kadane-circle.is-drawing path{stroke-dashoffset:0;animation:none}}.kadane-score{z-index:1;font-family:var(--font-read);font-style:italic;font-weight:500;font-size:var(--fs-score);color:var(--teacher);pointer-events:none;font-variant-numeric:lining-nums;line-height:1;position:absolute}@media (min-width:1024px){.kadane-cell{height:round(up, 2em, var(--rule-unit))}}@media (max-width:1023px){.kadane-cell{height:calc(var(--rule-unit) * 4)}}@media (max-width:639px){.kadane-how{line-height:var(--lh-read)}.kadane-readout,.kadane-note{line-height:var(--lh-snug)}.kadane-row{margin-top:calc(var(--rule-unit) / 2 + 2px)}.kadane-cell{height:72px;padding:0}.kadane-work{margin-top:var(--space-group)}.kadane-foot{display:block}.kadane-controls{flex-wrap:nowrap;margin-top:10px}.kadane-controls .btn{flex:auto}.kadane-full .kadane-controls{flex-wrap:wrap}}@media (max-height:500px) and (orientation:landscape){.kadane-row{margin-top:var(--space-group-loose)}.kadane-cell{height:56px;padding:0 6px}}@media (max-height:500px) and (orientation:landscape) and (min-width:800px){.kadane{column-gap:var(--space-head);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}.kadane>:not(.kadane-row,.kadane-foot),.kadane-foot>:not(.kadane-controls){grid-column:1/-1}.kadane-foot,.kadane-mini .kadane-controls{display:contents}.kadane-mini .kadane-controls>[data-act=check]{margin-top:var(--space-group-loose);grid-area:2/2}.kadane-mini .kadane-controls>.kadane-more{grid-area:4/2;justify-self:end}.kadane-mini .kadane-readout{grid-area:4/1}.kadane-full .kadane-controls{margin-top:var(--space-group-loose);grid-area:2/2}.kadane-row{gap:var(--space-2);grid-area:2/1;grid-template-columns:repeat(8,minmax(max-content,1fr))}}@media (max-width:360px){.kadane-full{--fs-numeral:1.75rem}}@media (max-width:639px){.kadane.kadane{font-size:var(--fs-worked)}.kadane .kadane-row.kadane-row{background:0 0;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.kadane .kadane-row>li:nth-child(n+7){display:none}.kadane .kadane-cell.kadane-cell{min-width:44px;height:64px;min-height:64px;font-size:var(--fs-worked);font-variant-numeric:proportional-nums slashed-zero;padding:0}@container (max-width:calc(10em + 30px)){.kadane .kadane-row.kadane-row{grid-template-columns:repeat(3,minmax(0,1fr))}}.kadane-full .kadane-foot{gap:var(--space-group);grid-template-columns:minmax(0,1fr);display:grid}.kadane-full .kadane-controls{gap:var(--space-group);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.kadane-full .kadane-controls [data-act=check]{order:-1;grid-column:1/-1;min-height:52px}}@media (max-width:374px){.kadane-full .kadane-cell.kadane-cell{font-size:var(--fs-ui)}}@media (max-width:359px){.kadane .kadane-row.kadane-row{gap:var(--space-1);margin-inline:-10px -12px}}
