.tally-module__QP5LQG__page{--cm-bg:var(--svw-paper);--cm-surface:var(--svw-paper-strong);--cm-surface-2:var(--svw-cream);--cm-surface-3:var(--svw-paper-muted);--cm-fg:var(--svw-ink);--cm-muted:var(--svw-copy);--cm-border:var(--svw-line);--cm-accent:var(--svw-blue);--cm-accent-fg:#fff;--cm-accent-hover:var(--svw-blue-deep);--cm-accent-active:var(--svw-blue-deep);--cm-focus:var(--svw-blue);--cm-disabled:var(--svw-paper-muted);--cm-disabled-fg:var(--svw-copy);color:var(--cm-fg);background:var(--svw-paper)}.tally-module__QP5LQG__page [data-tally-add]{min-height:6rem;font-size:2rem;font-weight:700}.tally-module__QP5LQG__workspace{border:1px solid var(--cm-border);background:var(--cm-surface);border-radius:1.25rem;padding:1.25rem;box-shadow:0 6px 24px #111a350f}.tally-module__QP5LQG__topbar{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.tally-module__QP5LQG__workspaceLabel{font-size:.875rem;font-weight:650}.tally-module__QP5LQG__countBadge{background:var(--cm-surface-2);border-radius:1rem;margin-left:.35rem;padding:.1rem .5rem;display:inline-block}.tally-module__QP5LQG__layout{grid-template-columns:13rem minmax(0,1fr);gap:1.5rem;display:grid}.tally-module__QP5LQG__rail,.tally-module__QP5LQG__activeWorkspace{min-width:0}.tally-module__QP5LQG__list{flex-direction:column;gap:.6rem;max-height:32rem;margin:-3px;padding:3px;display:flex;overflow:auto}.tally-module__QP5LQG__tallyCard{border:1px solid var(--cm-border);background:var(--cm-bg);border-radius:.9rem;flex-shrink:0;overflow:hidden}.tally-module__QP5LQG__tallyCard[data-active=true]{border-color:var(--cm-accent);box-shadow:inset 3px 0 var(--cm-accent)}.tally-module__QP5LQG__selectTally{text-align:left;width:100%;min-height:44px;color:var(--cm-fg);cursor:pointer;grid-template-columns:minmax(0,1fr);padding:.65rem .85rem;display:grid}.tally-module__QP5LQG__selectTally strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:1.35rem}.tally-module__QP5LQG__tallyName{overflow-wrap:anywhere;font-size:.875rem}.tally-module__QP5LQG__activeLabel{color:var(--cm-muted);font-size:.7rem}.tally-module__QP5LQG__railActions{grid-template-columns:1fr 1fr;gap:.4rem;padding:0 .65rem .65rem;display:grid}.tally-module__QP5LQG__addTally{width:100%;margin-top:.65rem}.tally-module__QP5LQG__activeHeader{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;display:flex}.tally-module__QP5LQG__activeHeader label{flex:1;min-width:8rem;max-width:20rem}.tally-module__QP5LQG__displaySwitch{justify-content:center;gap:.5rem;margin:1rem 0;display:flex}.tally-module__QP5LQG__output{background:var(--cm-bg);border-radius:1rem;justify-content:center;align-items:flex-start;min-height:10rem;max-height:17rem;padding:1rem;display:flex;overflow:auto}.tally-module__QP5LQG__total{text-align:center;color:var(--cm-muted);margin:.5rem 0 .75rem;font-size:.875rem}.tally-module__QP5LQG__page .tally-module__QP5LQG__primary{background:var(--cm-accent);width:100%;color:var(--cm-accent-fg);border:1px solid var(--cm-accent)}.tally-module__QP5LQG__page .tally-module__QP5LQG__primary:hover{background:var(--cm-accent-hover)}.tally-module__QP5LQG__page button:disabled{opacity:.5}.tally-module__QP5LQG__corrections{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin-top:.6rem;display:grid}.tally-module__QP5LQG__secondary{justify-content:center;gap:1rem;margin-top:.3rem;display:flex}.tally-module__QP5LQG__help{color:var(--cm-muted);text-align:center;margin-top:.5rem;font-size:.75rem;line-height:1.5}.tally-module__QP5LQG__workspace button{touch-action:manipulation;min-height:44px}.tally-module__QP5LQG__workspace button:focus-visible{outline:2px solid var(--cm-focus);outline-offset:2px}.tally-module__QP5LQG__workspace:fullscreen,.tally-module__QP5LQG__focused{width:100%;height:100dvh;padding:max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));border-radius:0;overflow:auto}.tally-module__QP5LQG__focused{z-index:150;position:fixed;inset:0}.tally-module__QP5LQG__focused .tally-module__QP5LQG__layout{max-width:72rem;margin:auto}.tally-module__QP5LQG__focused .tally-module__QP5LQG__topbar{max-width:72rem;margin:0 auto 1rem}.dark .tally-module__QP5LQG__page{--cm-bg:#090e16;--cm-surface:#121a27;--cm-surface-2:#1a2535;--cm-surface-3:#202c3d;--cm-fg:#f3f6fa;--cm-muted:#a3b0c2;--cm-border:#3b495d;--cm-accent:#8db2ff;--cm-accent-fg:#09111f;--cm-accent-hover:#a8c5ff;--cm-focus:#9ec1ff;background:var(--cm-bg)}@media (max-width:767px){.tally-module__QP5LQG__workspace{padding:.85rem}.tally-module__QP5LQG__layout{grid-template-columns:minmax(0,1fr);gap:1rem}.tally-module__QP5LQG__rail{align-items:stretch;gap:.6rem;display:flex}.tally-module__QP5LQG__list{flex-direction:row;flex:1;min-width:0;max-height:10rem}.tally-module__QP5LQG__tallyCard{width:10rem}.tally-module__QP5LQG__rail:has(.tally-module__QP5LQG__tallyCard:only-child) .tally-module__QP5LQG__tallyCard{width:100%}.tally-module__QP5LQG__selectTally{grid-template-columns:minmax(0,1fr) auto;gap:.25rem;padding:.4rem .65rem}.tally-module__QP5LQG__activeLabel{grid-column:1/-1}.tally-module__QP5LQG__railActions{padding:0 .4rem .35rem}.tally-module__QP5LQG__addTally{white-space:normal;width:5rem;margin:0}.tally-module__QP5LQG__activeHeader{gap:.5rem}.tally-module__QP5LQG__activeHeader label{max-width:11rem}.tally-module__QP5LQG__output{min-height:8rem;max-height:13rem;padding:.6rem}.tally-module__QP5LQG__page [data-tally-add]{min-height:5rem}}@media (orientation:landscape) and (max-height:500px){.tally-module__QP5LQG__layout{grid-template-columns:10rem minmax(0,1fr);gap:.85rem}.tally-module__QP5LQG__rail{display:block}.tally-module__QP5LQG__list{flex-direction:column;max-height:14rem}.tally-module__QP5LQG__tallyCard{width:100%}.tally-module__QP5LQG__addTally{width:100%;margin-top:.5rem}.tally-module__QP5LQG__output{min-height:4rem;max-height:8rem}.tally-module__QP5LQG__page [data-tally-add]{min-height:3.25rem}.tally-module__QP5LQG__displaySwitch{margin:.5rem 0}}
