.roundrobin{display:grid;gap:var(--space-3);container-type:inline-size}.roundrobin > *{min-width:0;margin:0}.tool-own{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-1) var(--space-4)}@container (min-width:41rem){.tool-own{grid-template-columns:minmax(0,26rem) minmax(0,1fr)}.tool-own > *{grid-column:1 / -1}.tool-own > .roundrobin__add{grid-area:1 / 1}.tool-own > .tool-own__foot{grid-area:1 / 2}}.roundrobin__add{display:flex;max-width:26rem}.roundrobin__add .input{flex:1 1 12rem;width:auto;min-width:0;border-start-end-radius:0;border-end-end-radius:0;font-size:max(1rem,16px)}.roundrobin__add .input:focus{z-index:1}.roundrobin__add .btn{flex:none;border-start-start-radius:0;border-end-start-radius:0}.roundrobin__add .btn-secondary{border-inline-start:0}.tool-own__how{color:var(--ink-muted);font-size:var(--step--1);font-weight:400}.tool-own__lines{margin:0;line-height:1.3}.tool-own__foot{display:flex;align-items:center;gap:0 var(--space-3);min-height:var(--tap)}.tool-own__status{flex:0 1 auto;min-width:0;margin:0;color:var(--ink-muted);font-size:var(--step--1);line-height:1.3}.tool-own__status[data-bad]{color:var(--bad);font-weight:700}.tool-own__again{flex:none;min-width:var(--tap);min-height:var(--tap);padding:0;border:0;background:none;color:var(--link);font:inherit;font-size:var(--step--1);text-decoration:underline;cursor:pointer}.roundrobin__ask{display:flex;flex-wrap:wrap;gap:var(--space-2);padding:var(--space-3);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--ink)}.roundrobin__ask > p{flex:1 1 100%;margin:0;font-weight:700;line-height:1.3}.roundrobin__opts{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:var(--space-3);align-items:end;max-width:40rem}@container (max-width:19rem){.roundrobin__opts{grid-template-columns:minmax(0,1fr) auto}}.roundrobin--cal .roundrobin__opts{grid-template-columns:repeat(auto-fit,minmax(min(100%,9.5rem),1fr))}.roundrobin__opts .field{min-width:0}.roundrobin__opts .field > label{width:0;min-width:100%}.roundrobin__opts :is(.input,.select){height:var(--tap);padding-block:0}.roundrobin__opts label,.roundrobin__opts .label{line-height:1.25}.roundrobin__pills,.roundrobin__opts > .field:has(> [data-rr-layout]){grid-column:1 / -1}@container (min-width:41rem){.roundrobin--cal > .roundrobin__opts{display:flex;flex-wrap:wrap;max-width:none}.roundrobin--cal > .roundrobin__opts > .field{min-width:11rem}}.roundrobin__pills .segmented{justify-self:start;max-width:100%}.roundrobin .tool-more{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.roundrobin .tool-more > summary{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);min-height:var(--tap);color:var(--ink-muted);font-weight:600;list-style:none;cursor:pointer}.roundrobin .tool-more > summary::-webkit-details-marker{display:none}.roundrobin .tool-more > summary:hover{color:var(--ink)}.roundrobin__chevron{flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.roundrobin .tool-more[open] .roundrobin__chevron{transform:rotate(180deg)}.roundrobin .tool-more__body{padding:var(--space-2) 0 var(--space-4)}.roundrobin .check{gap:0}.roundrobin .check input{display:grid;flex:none;place-content:center;width:var(--tap);height:var(--tap);margin:0 0 0 calc(var(--space-2) * -1);border:0;background:none;cursor:pointer;appearance:none}.roundrobin .check input::before{grid-area:1 / 1;width:1.625rem;height:1.625rem;border:2px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);content:"";mask:none;transform:none}.roundrobin .check input::after{grid-area:1 / 1;place-self:center;width:0.45rem;height:0.85rem;border:solid var(--brand-ink);border-width:0 0.19rem 0.19rem 0;content:"";opacity:0;transform:translateY(-0.09rem) rotate(45deg)}.roundrobin .check input:checked::before{border-color:var(--brand);background:var(--brand)}.roundrobin .check input:checked::after{opacity:1}.roundrobin .check input:focus-visible{outline-offset:-0.375rem}@media (forced-colors:active){.roundrobin .check input{display:block;width:1.5rem;height:1.5rem;margin:0.625rem 0.625rem 0.625rem 0;appearance:auto}.roundrobin .check input::before,.roundrobin .check input::after{display:none}}.roundrobin__top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 var(--space-3)}.roundrobin__line,.roundrobin__notice{grid-area:1 / 1;min-width:0}.roundrobin__controls{grid-area:1 / 2;align-self:center}@container (max-width:30rem){.roundrobin__notice:not([hidden]){grid-area:1 / 1 / 2 / -1}.roundrobin__top[data-notice] > .roundrobin__controls{grid-area:2 / 2}.roundrobin__top[data-notice] > .roundrobin__line{grid-area:2 / 1}}.roundrobin__notice,.roundrobin__balance{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.roundrobin__line{display:flex;align-items:center;min-height:var(--tap)}.roundrobin__status{color:var(--ink);font-weight:700;line-height:1.3}.roundrobin__keep{margin:0}.roundrobin__switches{display:flex;flex-wrap:wrap;align-items:end;gap:var(--space-3) var(--space-5)}.roundrobin__switches > *{display:grid;gap:var(--space-1);min-width:0}.roundrobin__notice{display:flex;align-items:center;gap:var(--space-2);padding:0 var(--space-1) 0 var(--space-3);background:var(--brand-soft);color:var(--ink)}.roundrobin__notice > p,.roundrobin__rosters > p{min-width:0;margin:0;overflow-wrap:anywhere}.roundrobin__notice > p{flex:1;font-size:var(--step--1);font-weight:700;line-height:1.25}.roundrobin__notice > .btn{flex:none}.roundrobin__notice-close{min-width:var(--tap);padding:0}.roundrobin__main{position:relative}.roundrobin__rounds{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,17rem),1fr));gap:var(--space-4);align-items:start}@media (prefers-reduced-motion:no-preference){.roundrobin__rounds,.roundrobin__fair{transition:opacity 0.2s var(--ease)}}.roundrobin__round:has(.roundrobin__editor){overflow:visible}.roundrobin__round caption{padding:var(--space-2) var(--space-3);background:var(--brand-soft);color:var(--ink);font-weight:700;text-align:left}.roundrobin__round .roundrobin__fit{width:1%;white-space:nowrap}.roundrobin__rounds[data-time] .roundrobin__fit:first-child{box-sizing:content-box;min-width:5.75ch}.roundrobin__rounds[data-time="5"] .roundrobin__fit:first-child{min-width:4.5ch}.roundrobin__rounds[data-time="8"] .roundrobin__fit:first-child{min-width:6.75ch}.roundrobin__score,.roundrobin__named{display:none}.roundrobin .roundrobin__round[data-rest] thead{display:none}@container (max-width:26rem){.roundrobin__bar:has(> :nth-child(4)){display:grid;grid-template-columns:repeat(3,auto);justify-content:start}.roundrobin__bar > :nth-child(3):not(:last-child){grid-row:2;grid-column:1 / -1;justify-self:start}}@media screen{@container (min-width:30.01rem){.roundrobin__top[data-notice] > .roundrobin__line{visibility:hidden}}.roundrobin__quiet{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.is-stale .roundrobin__top,.is-stale .roundrobin__fair,.is-stale .roundrobin__balance{display:none}}.roundrobin__few{margin:0;padding:0;list-style:none}.roundrobin__few li{display:flex;align-items:center;min-height:var(--tap)}.roundrobin__team{font-weight:700;overflow-wrap:anywhere}.roundrobin__over{position:relative;color:var(--ink-muted)}.roundrobin__over p{margin:var(--space-2) 0 0}.roundrobin__over ul{display:flex;flex-wrap:wrap;column-gap:var(--space-4);margin:0;padding:0;list-style:none}.roundrobin__over li{display:flex;align-items:center;min-height:var(--tap)}.roundrobin__over .roundrobin__team{font-weight:400}@media screen{.roundrobin__rounds[data-time] :is(th,td):not(:first-child){padding-left:var(--space-2)}.roundrobin__rounds[data-time] :is(th,td):not(:last-child){padding-right:var(--space-2)}:is([data-result],.roundrobin__over) .roundrobin__team[data-t]{padding-block:var(--space-2);text-decoration:underline dotted var(--line-strong);text-underline-offset:0.25em;cursor:pointer}:is([data-result],.roundrobin__over) .roundrobin__team[data-t]:hover{text-decoration-color:currentcolor}.is-sample [data-result] .roundrobin__team{color:var(--ink-muted)}}.roundrobin__editor{position:absolute;z-index:3;display:inline-flex;align-items:stretch;width:14rem;max-width:calc(100vw - 2rem);border:2px solid var(--brand);border-radius:var(--radius-sm);background:var(--surface)}.roundrobin__team.is-open{visibility:hidden}@media print{.roundrobin__editor{display:none}.roundrobin__team.is-open{visibility:visible}}.roundrobin__field{flex:1;width:0;min-width:5rem;min-height:var(--tap);padding:0 var(--space-2);border:0;background:none;color:var(--ink);font:inherit;font-size:max(1rem,16px)}.roundrobin__field:focus{outline:none}.roundrobin__x{flex:none;min-height:var(--tap);padding:0 var(--space-3);border:0;border-inline-start:1px solid var(--line);background:none;color:var(--ink-muted);font:inherit;cursor:pointer}.roundrobin__x:hover{background:var(--brand-soft);color:var(--ink)}.roundrobin__v,.roundrobin__bye td,.roundrobin__fair{color:var(--ink-muted)}.roundrobin__bye .roundrobin__team{font-weight:400}.roundrobin__fair{font-size:var(--step--1)}.roundrobin__only{max-width:16rem}@media screen and (orientation:landscape) and (max-height:30rem){.tool .roundrobin{grid-template-columns:19rem minmax(0,1fr);grid-template-rows:repeat(4,auto) 1fr;gap:var(--space-2) var(--space-5);align-items:start}.tool .roundrobin > *{grid-column:1}.tool .roundrobin .tool-own{grid-template-columns:minmax(0,1fr)}.tool .roundrobin .tool-own > *{grid-area:auto / 1}.tool .roundrobin > .roundrobin__top{grid-row:1;grid-column:2}.tool .roundrobin > :is(.roundrobin__rounds,.roundrobin__main){grid-row:1 / 6;grid-column:2;margin-top:calc(var(--tap) + var(--space-2))}.tool .roundrobin > :is(.roundrobin__rosters,.roundrobin__balance){grid-column:2}}.roundrobin__rosters{display:grid;gap:var(--space-1);padding:var(--space-3) var(--space-4);border-left:var(--space-1) solid var(--brand);background:var(--surface);font-size:var(--step--1)}@container (max-width:30rem){.roundrobin__rosters{order:1}.roundrobin__main ~ *{order:2}}.roundrobin--cal .roundrobin__rounds{grid-template-columns:repeat(auto-fill,minmax(min(100%,20rem),1fr))}.roundrobin__week{position:relative;container-type:inline-size}.roundrobin__week caption{box-sizing:border-box;min-height:calc(var(--tap) + 2 * var(--space-1));padding-block:var(--space-3);padding-right:5rem}.roundrobin__week[data-block="off"] caption{padding-right:8.5rem}.roundrobin__week-act{position:absolute;top:var(--space-1);right:var(--space-1);min-height:var(--tap);border-color:var(--line);background:var(--surface);color:var(--ink)}.roundrobin__week-act:hover{border-color:var(--ink);background:var(--surface)}.roundrobin__week[data-block="off"] caption,.roundrobin__week[data-block="spare"] caption{background:var(--surface-2);color:var(--ink)}.roundrobin__week :is(th,td):not(:first-child){padding-left:var(--space-2)}.roundrobin__week :is(th,td):not(:last-child){padding-right:var(--space-2)}@container (max-width:21rem){.roundrobin__week .roundrobin__fit{white-space:normal}.roundrobin__week .roundrobin__fit:nth-last-child(2){width:1%;white-space:nowrap}.roundrobin__rounds .roundrobin__week .roundrobin__fit:first-child{min-width:0}}@container (min-width:18.5rem) and (max-width:21rem){.roundrobin__week .roundrobin__fit:not(:nth-last-child(2)){box-sizing:content-box;width:5.75ch}.roundrobin__week .roundrobin__fit:first-child:not(:nth-last-child(2)){width:7.25ch}}@media screen{.roundrobin__week .roundrobin__team{overflow-wrap:break-word}.roundrobin__week .roundrobin__team.is-long{overflow-wrap:anywhere}}.roundrobin__tag{font-weight:400}.roundrobin__blank{display:inline-block;width:3.5rem;height:1em;margin-left:var(--space-1);border-bottom:1px solid currentColor;vertical-align:baseline}.roundrobin__balance > summary{min-height:var(--tap);padding:var(--space-2) var(--space-4);font-size:var(--step--1);font-weight:700;line-height:calc(var(--tap) - 2 * var(--space-2));cursor:pointer}.roundrobin__balance :is(th,td):not(:first-child){width:1%;text-align:right;white-space:nowrap}.roundrobin__sheet,.roundrobin__grid{display:none}@media print{.roundrobin,.roundrobin *{background:none !important;color:#000 !important}.roundrobin,.roundrobin__week{display:block;container-type:normal}.roundrobin > * + *{margin-top:3mm}.roundrobin [data-announce],.roundrobin__balance{display:none}.roundrobin__print-title{margin-bottom:2mm;font:700 16pt / 1.2 var(--font-display)}.roundrobin__top{display:block}.roundrobin .roundrobin__line{display:block;min-height:0}.roundrobin .roundrobin__rounds{display:block;columns:2;column-gap:6mm}.roundrobin .roundrobin__rounds[data-cols="3"]{columns:3}.roundrobin .roundrobin__rounds[data-cols="1"]{columns:1}.roundrobin .roundrobin__round{margin:0 0 4mm;overflow:visible;border:0;border-radius:0}.roundrobin .roundrobin__round tr,.roundrobin .roundrobin__round:not(:has(tbody > :nth-child(9))),.roundrobin .roundrobin__round:last-child,.roundrobin__sheet[data-keep] .roundrobin__sheet-table{break-inside:avoid}.roundrobin .roundrobin__rounds:not(.is-filtered) tbody > :is(:first-child,:nth-last-child(2)):not(:last-child){break-after:avoid}.roundrobin .roundrobin__round thead{display:table-header-group;break-after:avoid}.roundrobin .roundrobin__round caption,.roundrobin .roundrobin__week[data-block] caption{min-height:0;padding:0 0 1mm;border-bottom:0.4mm solid #000;break-after:avoid}.roundrobin .roundrobin__round:not([data-rest]):has(thead) caption{display:none}.roundrobin__named{display:table-row}.roundrobin .roundrobin__round .table .roundrobin__named td{padding:0 0 1mm;border-bottom:0.4mm solid #000;font-weight:700}.roundrobin .roundrobin__round tbody > :last-child > td{border-bottom:0.2mm solid #000}.roundrobin__round:not(.roundrobin__week) .roundrobin__team{display:inline-block;max-width:100%}.roundrobin .roundrobin__round .table{font-size:9pt;line-height:1.25}.roundrobin .table :is(th,td){padding:1mm 1.5mm;border-color:#000}.roundrobin .roundrobin__rounds[data-fit="16"] .table{--rr-line:4mm;font-size:16pt}.roundrobin .roundrobin__rounds[data-fit="14"] .table{--rr-line:3.4mm;font-size:14pt}.roundrobin .roundrobin__rounds[data-fit="13"] .table{--rr-line:3mm;font-size:13pt}.roundrobin .roundrobin__rounds[data-fit="12"] .table{--rr-line:2.6mm;font-size:12pt}.roundrobin .roundrobin__rounds[data-fit="11"] .table{--rr-line:2mm;font-size:11pt}.roundrobin .roundrobin__rounds[data-fit="10"] .table{--rr-line:1.5mm;font-size:10pt}.roundrobin .roundrobin__rounds[data-fit] .table :is(th,td):not(.roundrobin__named td){padding-block:calc(var(--rr-line,1mm) + var(--rr-room,0mm))}.roundrobin__rounds[data-room="1"]{--rr-room:0.75mm}.roundrobin__rounds[data-room="2"]{--rr-room:1.5mm}.roundrobin__rounds[data-room="3"]{--rr-room:2.25mm}.roundrobin__rounds[data-room="4"]{--rr-room:3mm}.roundrobin__rounds[data-room="5"]{--rr-room:3.75mm}.roundrobin .table .roundrobin__fit{white-space:nowrap}.roundrobin--cal .roundrobin__week thead th:not(.roundrobin__fit):nth-last-child(2),.roundrobin--cal .roundrobin__week thead th:not(.roundrobin__fit) + th:not(.roundrobin__fit){width:50%}.roundrobin .roundrobin__tag{display:inline;padding:0;font-size:inherit;line-height:inherit}.roundrobin .roundrobin__tag::before{content:"("}.roundrobin .roundrobin__tag::after{content:")"}.roundrobin .table .roundrobin__score{display:table-cell;width:14mm;border-left:0.2mm solid #000}.roundrobin__rosters{padding:0 0 0 3mm;border-left-color:#000}.roundrobin.is-sheet > :not(.roundrobin__sheet),.roundrobin.is-grid > :not(.roundrobin__grid){display:none}.roundrobin.is-sheet > .roundrobin__sheet,.roundrobin.is-grid > .roundrobin__grid{display:block;margin-top:0}.roundrobin__sheet-table{margin-bottom:6mm}.roundrobin__sheet .table,.roundrobin__grid-table{width:100%;border-collapse:collapse;font-size:8.5pt}.roundrobin :is(.roundrobin__sheet .table,.roundrobin__grid-table) :is(th,td){border:0.3mm solid #000;vertical-align:top}.roundrobin__sheet td:not(:first-child){height:12mm}.roundrobin__sheet .roundrobin__blank{display:block;width:auto;height:5mm;margin:0}.roundrobin__grid-table caption{padding-bottom:2mm;font-size:9pt;text-align:left}.roundrobin .roundrobin__grid-table :is(th,td){height:8mm;padding:0.5mm;line-height:1.15;text-align:left;white-space:nowrap}.roundrobin__grid-n{width:2em;min-width:1.75em}.roundrobin__grid-total{width:3.5em}[data-upright] .roundrobin__grid-total{width:2em;min-width:1.75em}[data-upright] .roundrobin__grid-total span{writing-mode:vertical-rl}.roundrobin .roundrobin__grid-table[data-fit="12"]{font-size:12pt}.roundrobin .roundrobin__grid-table[data-fit="11"]{font-size:11pt}.roundrobin .roundrobin__grid-table[data-fit="10"]{font-size:10pt}.roundrobin .roundrobin__grid-table[data-fit="9"]{font-size:9pt}.roundrobin__grid-table[data-high="34"] tbody tr{height:34mm}.roundrobin__grid-table[data-high="25"] tbody tr{height:25mm}.roundrobin__grid-table[data-high="20"] tbody tr{height:20mm}.roundrobin__grid-table[data-high="17"] tbody tr{height:17mm}.roundrobin__grid-table[data-high="14"] tbody tr{height:14mm}.roundrobin__grid-table[data-high="11"] tbody tr{height:11mm}.roundrobin .roundrobin__grid .roundrobin__grid-table tbody th{vertical-align:middle}.roundrobin__grid-table th:first-child{width:1%}.roundrobin .roundrobin__grid-table[data-wrap] th:first-child{width:30%;overflow-wrap:anywhere;white-space:normal}.roundrobin__sheet .table :is(th,td):first-child{min-width:8em}.roundrobin .roundrobin__grid-table :is(th,td):is(.roundrobin__grid-n,.roundrobin__grid-total,.roundrobin__grid-self){text-align:center;vertical-align:middle}}.roundrobin__fair{display:none}
