:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page:#1d2527;--sunken:#161d1f;--raised:#293437;--line:#3b494c;--line-strong:#6d7f82;--text:#edf1f0;--muted:#a9b8b8;--focus:#9fcaa9;--error:#ffb0a3;--error-surface:#46272a;--radius:6px;font-variant-numeric:tabular-nums;font-family:system-ui,-apple-system,Segoe UI,Roboto,Noto Sans,sans-serif;font-size:1rem;line-height:1.5}*,:before,:after{box-sizing:border-box}body{background:var(--page);color:var(--text);margin:0}h1,h2,p,ul,fieldset,legend{margin:0;padding:0}:focus-visible,.visually-hidden:focus-visible+label{outline:2px solid var(--focus);outline-offset:2px}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.heading{font-size:1.125rem;font-weight:600;line-height:1.3}.muted{color:var(--muted)}.number{text-align:right;white-space:nowrap}.masthead,.layout{max-width:78rem;margin-inline:auto;padding-inline:clamp(1rem,4vw,2.5rem)}.masthead{flex-wrap:wrap;align-items:center;gap:.25rem .75rem;padding-block:1.5rem;display:flex}.masthead h1{letter-spacing:-.02em;font-size:1.5rem;font-weight:700;line-height:1.2}.layout{gap:2.5rem clamp(2rem,4vw,3.5rem);padding-block:.75rem 4rem;display:grid}.layout>*{align-content:start;gap:2.5rem;min-width:0;display:grid}@media (width>=60rem){.layout{grid-template-columns:25rem minmax(0,1fr)}}.button{border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--raised);color:var(--text);font:inherit;cursor:pointer;padding:.3rem .75rem;font-size:.9375rem;font-weight:500;display:inline-block}.button:hover{border-color:var(--muted);background:var(--line)}.people-head{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.75rem;display:flex;position:relative}.people{border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--sunken);width:100%;min-height:8rem;color:inherit;font:inherit;resize:vertical;tab-size:10rem;padding:.75rem .875rem;line-height:1.6;display:block}.people::placeholder{color:#8b9c9d;opacity:1}.people:focus-visible{border-color:var(--focus);outline-offset:0;outline-width:1px}.issues{border-radius:var(--radius);margin-top:.75rem;padding:.5rem .875rem;font-size:.9375rem;list-style:none}.issues.error{background:var(--error-surface);color:var(--error)}.issues.notice{background:var(--raised);color:var(--muted)}.money{--tint:#c3cfc4;--ink:#18211f;background:var(--tint);width:3.5rem;height:1.625rem;box-shadow:inset 0 0 0 2px var(--tint), inset 0 0 0 3px color-mix(in srgb, var(--ink) 40%, var(--tint));color:var(--ink);border:1px solid #0000;border-radius:3px;place-items:center;font-size:.9375rem;font-weight:600;line-height:1;display:inline-grid}.money.coin{--tint:#ccd3d7;border-radius:50%;width:2.25rem;height:2.25rem;font-size:.8125rem}.money[data-cents="10000"]{--tint:#a5c6dd}.money[data-cents="5000"]{--tint:#deb0c1}.money[data-cents="2000"]{--tint:#9fcaa9}.money[data-cents="1000"]{--tint:#e6bd86}.money[data-cents="500"]{--tint:#bdb3dd}.money[data-cents="1"]{--tint:#d79b78}:is(.pieces,.slip-table) .money.coin{box-shadow:none}.denominations{border:0;min-width:0}.toggles{flex-wrap:wrap;gap:.625rem;margin-top:.75rem;display:flex}.toggle{position:relative}.toggle .money{cursor:pointer;-webkit-user-select:none;user-select:none;width:5rem;height:2.375rem;font-size:1.0625rem;transition:background-color .12s,color .12s}.toggle .money.coin{width:2.875rem;height:2.875rem;font-size:.9375rem}.toggle .money:hover{border-color:var(--text)}.toggle input:checked+.money:after{content:"";border:2px solid var(--page);background:var(--text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.3 6 9.8l4.5-5' fill='none' stroke='%2318211f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain;border-radius:50%;width:1.125rem;height:1.125rem;position:absolute;top:-.375rem;right:-.375rem}.toggle input:not(:checked)+.money{border:1px dashed var(--line-strong);box-shadow:none;color:var(--muted);background:0 0;font-weight:400;text-decoration:line-through}.toggle input:not(:checked)+.money:hover{border-color:var(--text);color:var(--text)}table{border-collapse:collapse}th{text-align:left}.slip{background:var(--raised);border-radius:10px;gap:1.25rem 2rem;padding:1.5rem;display:grid;position:relative;box-shadow:inset 0 1px #ffffff0f,0 12px 32px -12px #00000080}.slip-total{letter-spacing:-.03em;margin-top:.5rem;font-size:clamp(2.25rem,4vw,2.875rem);font-weight:700;line-height:1.1}.slip-table{align-self:start;width:100%}.slip-table :is(td,tbody th){border-top:1px solid var(--line);height:2.625rem;padding:0}.slip-table tbody tr:first-child>*{border-top:0}.slip-table .count{text-align:right;width:4rem;font-size:1.25rem;font-weight:700}.slip-table .count:after{content:"×";color:var(--muted);padding-inline:.5rem;font-size:1rem;font-weight:400}.slip-table .money.coin{width:2rem;height:2rem}.slip-table .number{color:var(--muted)}@media (width>=40rem){.slip{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}}.payouts{width:100%;margin-top:.5rem}.payouts :is(th,td){border-bottom:1px solid var(--line);padding:.5rem 1.5rem .5rem 0}.payouts :is(th,td):last-child{padding-right:0}.payouts thead th{color:var(--muted);font-size:.9375rem;font-weight:400}.payouts tbody th{overflow-wrap:anywhere;font-weight:600}.payouts td:last-child{width:60%}.payouts .unpayable>*{color:var(--error)}.pieces{flex-wrap:wrap;gap:.375rem .75rem;list-style:none;display:flex}.pieces li{white-space:nowrap;align-items:center;gap:.375rem;min-height:1.75rem;display:flex}.pieces .money{width:2.75rem;height:1.5rem;font-size:.8125rem}.pieces .money.coin{width:1.75rem;height:1.75rem;font-size:.75rem}@media (width<=40rem){.payouts thead{clip-path:inset(50%);position:absolute}.payouts tbody tr{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;gap:.375rem 1rem;padding-block:.75rem;display:grid}.payouts tbody :is(th,td){border:0;padding:0}.payouts td:last-child{grid-column:1/-1;width:auto}}.crash{text-align:center;justify-items:center;gap:1rem;padding:4rem 1.5rem;display:grid}@media (prefers-reduced-motion:reduce){.toggle .money{transition:none}}@media print{:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page:#fff;--raised:#fff;--line:#bbb;--text:#000;--muted:#000;--error:#000;--error-surface:#fff}.screen-only,.masthead img{display:none}.layout,.masthead{max-width:none;padding-inline:0}.layout,.results{display:block}.slip{break-inside:avoid;box-shadow:none;border:1px solid #000;margin-bottom:2rem;padding:1rem}.issues.error{border:1px solid #000}.money{box-shadow:none;color:#000;background:0 0;border-color:#000}.masthead{padding-block:0 .5rem}.layout{padding-block:0}.slip-table :is(td,tbody th){height:2.25rem}.payouts :is(th,td){padding-block:.25rem}tr{break-inside:avoid}}
