:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#faf7f4;--surface:#fff;--surface-2:#f4efea;--text:#2b2830;--muted:#5f5966;--border:#e8e1d9;--rule:#efe9e3;--field-border:#8f8792;--accent:#2c6964;--accent-hover:#225650;--on-accent:#fff;--accent-soft:#e2efeb;--accent-soft-text:#1d4c47;--rose:#c46a8c;--rose-soft:#f8e8ee;--rose-text:#8b3a5e;--blush:#fcf1f4;--header-bg:#fff;--hero-bg:linear-gradient(120deg, #e5f1ed 0%, #f1eeee 55%, #f7ebf0 100%);--hero-text:#4f4956;--ink:#2b2830;--on-ink:#f6f2ee;--board-light:#fdf6ee;--board-dark:#a9cbbf;--board-piece:#7a3b5c;--danger:#b42318;--danger-bg:#fdecea;--ok:#146c2e;--ok-bg:#e3f4e8;--warn:#8a4b00;--warn-bg:#fdf0dc;--focus:#a23f6c;--row-alt:#fbf8f5;--row-focus:#e9f4f0;--radius-sm:10px;--radius:14px;--radius-lg:22px;--radius-xl:28px;--shadow:0 1px 2px #4632460a, 0 6px 20px #4632460f;--shadow-lift:0 2px 6px #4632460f, 0 14px 34px #4632461a;--font:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--mono:ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#17161b;--surface:#211f26;--surface-2:#2b2831;--text:#ece8ef;--muted:#b5aebc;--border:#38343f;--rule:#302c36;--field-border:#827a8b;--accent:#7fc8bb;--accent-hover:#9dd8cc;--on-accent:#0e2320;--accent-soft:#1e3532;--accent-soft-text:#b5e6dc;--rose:#d98aa8;--rose-soft:#3a2531;--rose-text:#f1b5cb;--blush:#2a2229;--header-bg:#211f26;--hero-bg:linear-gradient(120deg, #1d2e2b 0%, #24242a 55%, #2c2130 100%);--hero-text:#cfc8d4;--ink:#0d0c10;--on-ink:#f3eff5;--board-light:#efe6da;--board-dark:#7fa99b;--board-piece:#5a2a45;--danger:#ff9b8f;--danger-bg:#3a1a17;--ok:#7fd99a;--ok-bg:#16301f;--warn:#f5c26b;--warn-bg:#352712;--focus:#f0a3c3;--row-alt:#25232a;--row-focus:#22332f;--shadow:0 1px 2px #00000040, 0 6px 20px #00000038;--shadow-lift:0 2px 6px #0000004d, 0 14px 34px #00000052}}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);font-family:var(--font);margin:0;font-size:1rem;line-height:1.55}#root{flex-direction:column;min-height:100vh;display:flex}a{color:var(--accent)}a:hover{color:var(--accent-hover)}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}h1,h2,h3,h4{margin:0 0 .5rem;font-weight:600;line-height:1.25}h1{letter-spacing:-.012em;font-size:1.85rem}h2{letter-spacing:-.006em;font-size:1.35rem}h3{font-size:1.1rem}h4{margin-top:1.25rem;font-size:1rem}.page-heading:focus{outline:none}.page-heading:focus-visible{outline:3px solid var(--focus)}code,kbd{font-family:var(--mono);font-size:.9em}kbd{border:1px solid var(--border);background:var(--surface);text-align:center;border-bottom-width:2px;border-radius:6px;min-width:1.6em;padding:0 .35em;display:inline-block}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}.skip-link{z-index:10;background:var(--surface);border:2px solid var(--accent);border-radius:999px;padding:.5rem .9rem;position:absolute;top:-3rem;left:.5rem}.skip-link:focus{top:.5rem}.app-header{background:var(--header-bg);color:var(--text);box-shadow:0 1px 0 var(--rule), 0 4px 18px #4632460d;flex-wrap:wrap;align-items:center;gap:.5rem 1.25rem;padding:.7rem 1.5rem;display:flex}.brand{letter-spacing:-.005em;color:var(--text);align-items:center;gap:.6rem;font-size:1.2rem;font-weight:650;text-decoration:none;display:inline-flex}.brand:hover{color:var(--accent)}.brand img{border-radius:10px}.main-nav ul{flex-wrap:wrap;gap:.15rem;margin:0;padding:0;list-style:none;display:flex}.main-nav a{color:var(--muted);border-radius:999px;padding:.45rem .95rem;font-size:.95rem;font-weight:550;text-decoration:none;display:block}.main-nav a:hover{color:var(--text);background:var(--surface-2)}.main-nav a[aria-current=page]{color:var(--accent-soft-text);background:var(--accent-soft);font-weight:650}main{flex:1;width:100%;max-width:1200px;margin:0 auto;padding:1.5rem 1.25rem 2rem}main:focus{outline:none}.app-footer{color:var(--muted);text-align:center;border-top:1px solid var(--rule);padding:1.25rem 1rem 1.5rem;font-size:.875rem}.app-footer p{margin:0}.breadcrumb{margin-bottom:.25rem;font-size:.9rem}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:.75rem;margin:.5rem 0 .75rem;display:flex}.page-head .page-heading{margin:0}.actions,.row-actions,.form-actions{flex-wrap:wrap;align-items:flex-end;gap:.5rem;display:flex}.row-actions{align-items:center;gap:.35rem}.lede{max-width:70ch;color:var(--muted)}.hint{color:var(--muted);margin:.25rem 0 .75rem;font-size:.9rem}.muted{color:var(--muted)}.empty{border:1.5px dashed var(--border);border-radius:var(--radius-lg);background:var(--surface);text-align:center;padding:1.75rem 1.5rem}.empty p{margin:.25rem 0}.panel{background:var(--surface);border:1px solid var(--rule);border-radius:var(--radius-lg);box-shadow:var(--shadow);margin:0 0 1.25rem;padding:1.35rem 1.5rem}.panel h3{margin-bottom:.75rem}.t-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.t-title{overflow-wrap:anywhere;margin-bottom:.15rem}.meta{color:var(--muted);margin:0}.t-undo{flex-direction:column;align-items:flex-end;max-width:22rem;display:flex}.t-undo .hint{text-align:right;margin:.25rem 0 0}.t-buttons{flex-wrap:wrap;align-items:flex-start;gap:.5rem;display:flex}.actions-menu{position:relative}.actions-menu>summary{list-style:none}.actions-menu>summary::-webkit-details-marker{display:none}.actions-menu>summary:after{content:" ▾"}.actions-menu ul{z-index:20;background:var(--surface);border:1px solid var(--rule);border-radius:var(--radius);min-width:17rem;box-shadow:var(--shadow-lift);margin:.25rem 0 0;padding:.4rem;list-style:none;position:absolute;right:0}.actions-menu li button{border-radius:var(--radius-sm);width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:.55rem .85rem;display:block}.actions-menu li button:hover,.actions-menu li button:focus-visible{background:var(--surface-2)}.actions-menu li button.danger{color:var(--danger)}.tabs{border-bottom:1px solid var(--rule);margin:1.25rem 0 .75rem;padding-bottom:.6rem}.tabs ul,.round-picker ul{flex-wrap:wrap;gap:.25rem;margin:0;padding:0;list-style:none;display:flex}.tabs a{color:var(--text);border-radius:999px;padding:.45rem .95rem;text-decoration:none;display:block}.tabs a:hover{background:var(--surface-2);color:var(--text)}.tabs a[aria-current=page]{background:var(--accent-soft);color:var(--accent-soft-text);font-weight:650}.round-picker{margin:.75rem 0}.button{border:1px solid var(--border);background:var(--surface);min-height:2.5rem;color:var(--text);font:inherit;cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:.35rem;padding:.4rem 1.1rem;font-weight:550;line-height:1.2;text-decoration:none;display:inline-flex;box-shadow:0 1px 2px #4632460f}.button:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.button:disabled{cursor:not-allowed;opacity:.6}.button.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.button.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover);color:var(--on-accent)}.button.danger{color:var(--danger);border-color:color-mix(in srgb, var(--danger) 55%, transparent)}.button.danger:hover:not(:disabled){background:var(--danger-bg);color:var(--danger)}.button.small{min-height:2rem;padding:.2rem .8rem;font-size:.875rem}.button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.file-button:focus-within{outline:3px solid var(--focus);outline-offset:2px}.form-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,15rem),1fr));gap:1rem 1.25rem;max-width:60rem;display:grid}.form-grid.compact{grid-template-columns:repeat(auto-fill,minmax(min(100%,11rem),1fr))}.span-2{grid-column:span 2}@media (max-width:34rem){.span-2{grid-column:auto}}.field{flex-direction:column;gap:.25rem;min-width:0;display:flex}.field .hint,.field .field-error{margin:0}label{font-size:.925rem;font-weight:550}input,select,textarea{border:1px solid var(--field-border);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-height:2.5rem;color:var(--text);font:inherit;padding:.4rem .75rem}input:hover:not(:disabled),select:hover:not(:disabled),textarea:hover:not(:disabled){border-color:var(--muted)}textarea{font-family:var(--mono);resize:vertical;font-size:.9rem}input[aria-invalid=true],select[aria-invalid=true]{border-color:var(--danger);box-shadow:0 0 0 1px var(--danger)}.field-error{color:var(--danger);font-size:.9rem;font-weight:600}.form-actions{margin-top:.75rem}.inline-form{flex-wrap:wrap;align-items:flex-end;gap:.5rem .75rem;display:flex}.inline-form .field{width:auto;min-width:9rem}.csv-import summary{cursor:pointer;font-weight:650}.csv-import[open] summary{margin-bottom:.5rem}.round-select{min-width:9rem}.table-region{border:1px solid var(--rule);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow);margin:0 0 1.25rem;position:relative;overflow-x:auto}.data-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.data-table th,.data-table td{text-align:left;vertical-align:middle;border-bottom:1px solid var(--rule);white-space:nowrap;padding:.55rem .75rem}.data-table thead th{background:var(--surface-2);color:var(--muted);letter-spacing:.01em;border-bottom:none;font-size:.85rem;font-weight:600}.data-table th:first-child,.data-table td:first-child{padding-inline-start:1rem}.data-table th:last-child,.data-table td:last-child{padding-inline-end:1rem}.data-table tbody th{font-weight:550}.data-table tbody tr:nth-child(2n){background:var(--row-alt)}.data-table tbody tr:last-child>*{border-bottom:none}.data-table .num{text-align:right}.data-table .strong{font-weight:700}.sort-button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:none;align-items:center;gap:.25rem;padding:0;display:inline-flex}.sort-button:hover{color:var(--accent)}.sort-button:after{content:"";min-width:.8em;font-size:.7em;display:inline-block}[aria-sort=ascending]>.sort-button:after{content:"▲" / ""}[aria-sort=descending]>.sort-button:after{content:"▼" / ""}.data-table .select-col{width:1px}.row-check{vertical-align:middle;width:1.15rem;height:1.15rem;min-height:0;accent-color:var(--accent);margin:0}.table-toolbar,.pager,.selection-bar{flex-wrap:wrap;align-items:center;gap:.5rem 1rem;display:flex}.table-toolbar{margin:1rem 0 .5rem}.pager{margin:.5rem 0;font-size:.875rem}.page-size{align-items:center;gap:.4rem;display:inline-flex}.page-size select{width:auto;min-height:2rem;padding:.2rem .4rem}.page-steps{gap:.35rem;display:inline-flex}.selection-bar{background:var(--accent-soft);color:var(--accent-soft-text);border-radius:999px;padding:.4rem .9rem;font-size:.875rem}.data-table abbr{cursor:help;text-decoration:none}.title{color:var(--muted);font-size:.8em;font-weight:700}.rating{color:var(--muted);font-size:.875em}.fed{white-space:nowrap}.pairings .fed{color:var(--muted);font-size:.875em}.flag{vertical-align:-.125em;object-fit:cover;width:1.33em;height:1em;margin-inline-end:.3em;box-shadow:0 0 0 1px #7f7f7f4d}tr.withdrawn>*{color:var(--muted)}tr.detail-row,tr.detail-row:nth-child(2n){background:var(--surface-2)}.detail-row td{white-space:normal}.bye-panel h3,.fee-panel h3{font-size:1rem}.fee-totals{flex-wrap:wrap;gap:.25rem 1.25rem;margin:0 0 .75rem;padding:0;font-size:.95rem;list-style:none;display:flex}.fee-status.fee-paid{color:var(--ok)}.fee-status.fee-unpaid{color:var(--warn)}.fee-note{color:var(--muted);white-space:normal;font-size:.85rem;display:block}.bye-list{margin:.25rem 0 .75rem;padding-left:1.25rem}.bye-list li{margin:.2rem 0}.pairings .result-col{text-align:center;width:9rem}.result-select{text-align:center;width:8rem;font-weight:650}.pairings tbody tr:focus-within{background:var(--row-focus)}.crosstable .cross-cell{font-family:var(--mono);font-size:.875rem}.legend{color:var(--muted);flex-wrap:wrap;gap:.25rem 1.25rem;margin:0;font-size:.875rem;display:flex}.legend div{gap:.35rem;display:flex}.legend dt{white-space:nowrap;font-weight:700}.legend dd{margin:0}.round-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.25rem;display:flex}.round-title{margin:0}.badge{vertical-align:middle;border:1px solid #0000;border-radius:999px;padding:.1rem .6rem;font-size:.8rem;font-weight:600;display:inline-block}.badge-ok{background:var(--ok-bg);color:var(--ok)}.badge-warn{background:var(--warn-bg);color:var(--warn)}.badge-muted{background:var(--surface-2);color:var(--muted)}.badge-offline{background:var(--warn-bg);color:var(--warn)}.error-box{border:1px solid color-mix(in srgb, var(--danger) 30%, transparent);border-radius:var(--radius);background:var(--danger-bg);box-shadow:inset 4px 0 0 var(--danger);color:var(--text);margin:0 0 1rem;padding:.85rem 1.1rem .85rem 1.35rem}.error-box h3{color:var(--danger)}.error-box p{margin:.25rem 0}.warn-box{border:1px solid color-mix(in srgb, var(--warn) 30%, transparent);border-radius:var(--radius);background:var(--warn-bg);box-shadow:inset 4px 0 0 var(--warn);color:var(--text);margin:.75rem 0;padding:.85rem 1.1rem .85rem 1.35rem}.warn-box h3,.warn-box h4{color:var(--warn);margin:0 0 .25rem;font-size:1rem}.warn-box p,.warn-box ul{margin:.25rem 0}.warn-box ul{padding-left:1.25rem}.notices{z-index:20;flex-direction:column;gap:.5rem;max-width:min(26rem,100vw - 2rem);display:flex;position:fixed;bottom:1rem;right:1rem}.notices>div{flex-direction:column;gap:.5rem;display:flex}.notice{border-radius:var(--radius);border:1px solid var(--rule);background:var(--surface);box-shadow:var(--shadow-lift);align-items:flex-start;gap:.5rem;padding:.7rem .9rem .7rem 1.1rem;display:flex}.notice span{flex:1}.notice-error{border-color:color-mix(in srgb, var(--danger) 40%, transparent);box-shadow:inset 4px 0 0 var(--danger), var(--shadow-lift)}.notice-close{color:var(--muted);cursor:pointer;background:0 0;border:none;padding:0 .25rem;font-size:1.25rem;line-height:1}.print-only{display:none}.badge-error{background:var(--danger-bg);color:var(--danger)}.badge-warning{background:var(--warn-bg);color:var(--warn)}.badge-info{background:var(--surface-2);color:var(--muted)}.check-field{align-items:center;gap:.45rem;min-height:2.5rem;font-weight:600;display:inline-flex}.check-field input,.override input{width:1.15rem;height:1.15rem;min-height:0;accent-color:var(--accent);flex:none;margin:0}details>summary{cursor:pointer}.manual-pairing h4{margin-top:0}.manual-boards{flex-direction:column;gap:.5rem;margin:0 0 .75rem;padding:0;list-style:none;display:flex}.manual-board{border:1px solid var(--rule);border-left:5px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);grid-template-columns:2rem minmax(0,1fr) auto minmax(0,1fr) auto;grid-template-areas:"no white flip black remove";align-items:center;gap:.5rem;padding:.55rem .6rem;display:grid}.manual-board:focus-within{background:var(--row-focus)}.manual-board.has-error{border-left-color:var(--danger)}.manual-board.has-warning{border-left-color:var(--warn)}.board-no{text-align:center;color:var(--muted);font-variant-numeric:tabular-nums;grid-area:no;font-weight:700}.seat-white{border-left:4px solid #e8e6df;grid-area:white}.seat-black{border-left:4px solid #33302a;grid-area:black}.flip{grid-area:flip;min-width:2.5rem;font-size:1.1rem}.manual-board .remove{grid-area:remove}.board-issues{grid-column:2/-1;margin:0;padding:0;font-size:.875rem;list-style:none}.issue-error{color:var(--danger)}.issue-warning{color:var(--warn)}.issue-info{color:var(--muted)}.manual-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:1rem;margin:1rem 0;display:grid}.manual-cell{border-radius:var(--radius-lg);background:var(--surface-2);border:none;min-width:0;margin:0;padding:.9rem 1rem}.manual-cell .hint{margin-bottom:0}.exchange legend{float:left;width:100%;margin:0 0 .25rem;padding:0;font-weight:700}.exchange legend+*{clear:both}.exchange .inline-form .field{flex:10rem}.rule-check{border:1px solid var(--border);border-radius:var(--radius-lg);padding:.85rem 1rem}.rule-summary{margin:0 0 .5rem;font-weight:650}.issue-list{flex-direction:column;gap:.35rem;margin:0 0 .5rem;padding:0;list-style:none;display:flex}.issue-list li{color:var(--text)}.override{border:1px solid color-mix(in srgb, var(--danger) 45%, transparent);border-radius:var(--radius);background:var(--danger-bg);align-items:flex-start;gap:.5rem;margin-top:.5rem;padding:.6rem .9rem;display:flex}.override input{margin-top:.2rem}.why-panel{margin-top:1rem}.why-panel>summary{font-weight:650}.why-panel[open]>summary{margin-bottom:.5rem}.why-lines{font-variant-numeric:tabular-nums;margin:0 0 .75rem;padding-left:1.5rem}.why-lines li{overflow-wrap:anywhere;margin:.2rem 0}.why-notes{margin:0 0 .5rem;padding-left:1.25rem}.why-key{margin:.5rem 0}.number-key{columns:12rem auto;margin:.5rem 0;padding-left:2rem;font-size:.9rem}.delta{font-weight:650}.delta.up{color:var(--ok)}.delta.down{color:var(--danger)}.k-select{width:auto;min-height:2rem;padding:.15rem .3rem;font-size:.875rem}.norms{margin-top:1.5rem}.norms .page-head h3{margin:0}.norm-select{min-width:9rem}.norm-result{min-width:10rem;white-space:normal!important}.norm-result ul{color:var(--muted);margin:.35rem 0 0;padding-left:1.1rem;font-size:.875rem}.prizes-layout{grid-template-columns:repeat(auto-fit,minmax(min(100%,28rem),1fr));align-items:start;gap:1rem;display:grid}.prize-form .form-grid{max-width:none}.prize-form h4{margin-top:1rem}.category-list{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.category-row fieldset{border-radius:var(--radius);background:var(--surface-2);border:none;grid-template-columns:repeat(auto-fill,minmax(min(100%,8.5rem),1fr));align-items:end;gap:.5rem .75rem;margin:0;padding:.75rem .9rem;display:grid}.remove-category{grid-column:1/-1;justify-self:end}.unsaved{color:var(--warn);align-self:center;margin:0;font-weight:600}.distribution h3{margin-top:.25rem}.prize-table tfoot th,.prize-table tfoot td{border-top:1px solid var(--border);background:var(--surface-2);border-bottom:none}.account-link{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;align-items:center;gap:.4rem;margin-left:auto;padding:.3rem .85rem;font-size:.875rem;font-weight:600;text-decoration:none;display:inline-flex}.account-link:hover{background:var(--surface-2);color:var(--text)}.lang-picker{margin-left:auto}.account-link+.lang-picker{margin-left:0}.lang-picker select{border-radius:999px;width:auto;min-height:2rem;padding:.25rem .75rem;font-size:.875rem}.dot{background:var(--muted);border-radius:50%;flex:none;width:.65rem;height:.65rem;display:inline-block}.conn-signed-in .dot{background:var(--ok)}.conn-checking .dot{background:var(--accent)}.conn-unreachable .dot{background:var(--warn)}.account-link .dot{box-shadow:0 0 0 3px var(--surface-2)}.conn-line{align-items:baseline;gap:.5rem;margin:0 0 .75rem;display:flex}.account-page .panel h2{font-size:1.15rem}.account-page .page-head{margin-top:0}.account-page .page-head h2{margin:0}.inline-form .server-url{flex:18rem;max-width:32rem}.mode-switch{margin:0 0 .75rem}.link-button{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:none;padding:0;text-decoration:underline}.link-button:hover{color:var(--accent-hover)}.account-form{max-width:40rem}.account-form .form-actions{align-self:end;margin-top:0}.sync-area{margin:.75rem 0 0}.sync-bar{border:1px solid var(--rule);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);flex-wrap:wrap;align-items:center;gap:.4rem .75rem;padding:.5rem .95rem;font-size:.925rem;display:flex}.sync-text{flex:16rem;min-width:0}.sync-alert{margin:.5rem 0 0}.sync-cell{align-items:center;gap:.35rem;display:inline-flex}.facts{grid-template-columns:repeat(auto-fill,minmax(min(100%,13rem),1fr));gap:.75rem 1.25rem;margin:0 0 1rem;display:grid}.facts div{min-width:0}.facts dt{color:var(--muted);font-size:.85rem;font-weight:650}.facts dd{overflow-wrap:anywhere;margin:.1rem 0 0}.sync-refused,.conflicts{margin-top:1rem}.conflict-list{margin:0;padding:0;list-style:none}.conflict-list li{border-top:1px solid var(--rule);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;padding:.5rem 0;display:flex}.conflict-list li>div:first-child{flex:18rem;min-width:0}.publish{margin-top:1rem}.publish-blocked{margin:.5rem 0}.publish-switch{flex-wrap:wrap;align-items:center;gap:.25rem 1rem;display:flex}.publish-slug{margin:.75rem 0 1rem}.publish-slug .field{max-width:36rem}.publish-slug .form-actions{margin-top:.5rem}.publish input:disabled:not([type=checkbox]),.publish select:disabled{background:var(--surface-2);color:var(--muted)}.publish-link{flex-wrap:wrap;align-items:flex-start;gap:1rem;margin:0 0 1rem;display:flex}.publish-url{flex:20rem;min-width:0;max-width:36rem}.publish-url .actions{margin-top:.5rem}.publish .qr{flex:none;width:9rem;height:9rem}.publish-tv fieldset{border:1px solid var(--border);border-radius:var(--radius-lg);min-width:0;margin:1rem 0 0;padding:.85rem 1.1rem 1.1rem}.publish-tv legend{padding:0 .35rem;font-weight:650}.publish-zone{margin:1rem 0}.publish-zone .field{max-width:36rem}.publish-zone .form-actions{margin-top:.5rem}.registrations-refresh{align-items:center;margin:0 0 .75rem}.registrations .selection-bar{margin:0 0 .5rem}.registrations-table caption{text-align:left;padding:.45rem .6rem;font-weight:650}.registration-duplicate{white-space:normal;min-width:12rem;color:var(--muted);margin-top:.2rem;font-size:.875rem;font-weight:400;display:block}.registrations-table .row-actions{flex-wrap:nowrap}.registrations-decided{margin-top:1rem}.registrations-decided summary{cursor:pointer;font-weight:650}.registrations-places{margin:0 0 .75rem;font-weight:650}.registrations-waiting,.registration-form{margin-top:1.25rem}.registration-form fieldset{margin:.75rem 0 0}.registration-form .registration-question{margin-bottom:.5rem}.result-reports .report-note{white-space:normal;min-width:14rem;color:var(--muted);font-size:.875rem;display:block}input[type=checkbox],input[type=radio]{width:1.15rem;height:1.15rem;min-height:0;accent-color:var(--accent);flex:none;margin:0;padding:0}label.check{align-items:center;gap:.5rem;min-height:2rem;font-weight:500;display:flex}fieldset{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);padding:.75rem 1.15rem 1rem}legend{padding:0 .4rem;font-weight:600}.button{transition:background-color .15s,border-color .15s,box-shadow .15s}.button.primary{box-shadow:0 2px 8px color-mix(in srgb, var(--accent) 25%, transparent)}.keep-safe{border-radius:var(--radius-lg);background:var(--blush);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--rose) 18%, transparent);border:none;margin:0 0 1.5rem;padding:1.35rem 1.6rem}.keep-safe h2{margin:0 0 .35rem;font-size:1.2rem}.keep-safe p{max-width:75ch}.keep-safe .actions{flex-wrap:wrap;gap:.6rem;display:flex}.keep-safe .hint{margin:.6rem 0 0}.hero{border-radius:var(--radius-xl);background:var(--hero-bg);color:var(--text);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1.5rem;margin:.25rem 0 1.75rem;padding:2.25rem 2.5rem;display:grid}.hero-title{letter-spacing:-.015em;margin:0 0 .5rem;font-size:clamp(1.6rem,1.1rem + 2vw,2.35rem);font-weight:650;line-height:1.18}.hero-lede{max-width:60ch;color:var(--hero-text);margin:0 0 1.35rem;font-size:1.05rem}.hero .actions{flex-wrap:wrap;gap:.6rem;display:flex}.hero .hero-link{background:var(--surface);color:var(--accent);box-shadow:var(--shadow);border-color:#0000;font-weight:600}.hero .hero-link:hover{background:var(--surface);color:var(--accent-hover);box-shadow:var(--shadow-lift)}.board-art{filter:drop-shadow(0 10px 22px #46324629);width:10.5rem;height:10.5rem;transform:rotate(-4deg)}.board-light{fill:var(--board-light)}.board-dark rect{fill:var(--board-dark)}.board-piece{fill:var(--board-piece)}.hero-compact{padding:1.4rem 2rem}.hero-compact .hero-lede{margin-bottom:.75rem}.hero-compact .board-art{width:6.5rem;height:6.5rem}.features{margin:2.75rem 0 1rem}.features ul{grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1.25rem;margin:0;padding:0;list-style:none;display:grid}.feature-card{border:1px solid var(--rule);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow);padding:1.4rem 1.5rem}.feature-card h3{margin:.6rem 0 .35rem;font-size:1.05rem}.feature-card h3 a{color:var(--text);-webkit-text-decoration-color:var(--rose);text-decoration-color:var(--rose);text-underline-offset:4px;text-decoration-thickness:2px}.feature-card h3 a:hover{color:var(--accent)}.feature-card p{color:var(--muted);margin:0;font-size:.95rem}.feature-icon{background:var(--accent-soft);fill:none;width:2.75rem;height:2.75rem;stroke:var(--accent-soft-text);stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;border-radius:50%;padding:.6rem}.feature-card:nth-child(2n) .feature-icon{background:var(--rose-soft);stroke:var(--rose-text)}.guide{max-width:62rem;margin:0 auto}.guide-hero{border-radius:var(--radius-xl);background:var(--hero-bg);color:var(--text);margin:.25rem 0 1.75rem;padding:2rem 2.25rem}.guide-hero h1{margin:0 0 .4rem}.guide-hero .lede{color:var(--hero-text);font-size:1.05rem}.guide-toc ul{flex-wrap:wrap;gap:.4rem;margin:1rem 0 0;padding:0;list-style:none;display:flex}.guide-toc a{background:var(--surface);color:var(--accent);box-shadow:var(--shadow);border-radius:999px;padding:.35rem .95rem;font-size:.9rem;font-weight:600;text-decoration:none;display:inline-block}.guide-toc a:hover{background:var(--accent-soft);color:var(--accent-soft-text)}.guide-section{margin:2.25rem 0;scroll-margin-top:1rem}.guide-section>h2{align-items:center;gap:.6rem;display:flex}.guide-section>h2:before{content:"";background:var(--rose);border-radius:999px;width:.45rem;height:1.3rem}.guide-section>p{max-width:72ch}.system-card{border:1px solid var(--rule);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow);margin:1rem 0;padding:1.4rem 1.6rem;scroll-margin-top:1rem}.system-card:target,.system-card:focus-within{border-color:var(--rose)}.system-card h3{margin:0;font-size:1.2rem}.system-rule{color:var(--rose-text);margin:.15rem 0 .75rem;font-size:.875rem;font-weight:650}.system-short{margin-top:0;font-size:1.02rem}.system-body{grid-template-columns:minmax(0,1fr);gap:1rem 1.5rem;display:grid}.system-body:has(>figure){grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start}.system-body h4{color:var(--muted);margin:0 0 .5rem;font-size:.95rem;font-weight:600}.steps{counter-reset:step;margin:0;padding:0;list-style:none}.steps li{counter-increment:step;margin:0 0 .55rem;padding-left:2.1rem;position:relative}.steps li:before{content:counter(step);background:var(--accent-soft);width:1.5rem;height:1.5rem;color:var(--accent-soft-text);border-radius:50%;place-items:center;font-size:.8rem;font-weight:700;display:grid;position:absolute;top:.05rem;left:0}.system-notes{grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:.75rem;margin:1rem 0 0;display:grid}.system-notes>div{border-radius:var(--radius);background:var(--surface-2);padding:.85rem 1rem}.system-notes dt{font-size:.9rem;font-weight:700}.system-notes dd{color:var(--muted);margin:.2rem 0 0;font-size:.95rem}.guide-figure{border:1px solid var(--rule);border-radius:var(--radius-lg);background:var(--row-alt);margin:0;padding:.9rem}.guide-figure svg{width:100%;height:auto;max-height:15rem;display:block}.guide-figure figcaption{color:var(--muted);margin-top:.4rem;font-size:.85rem}.guide-figure .table-region{box-shadow:none;margin:0}.data-table.berger td,.data-table.berger th{white-space:nowrap;font-variant-numeric:tabular-nums;text-align:center}.fig-white{fill:var(--surface);stroke:var(--text);stroke-width:1.5px}.fig-black{fill:var(--ink);stroke:var(--ink)}.fig-gold{fill:var(--rose)}.fig-line{fill:none;stroke:var(--muted);stroke-width:1.5px}.fig-num{fill:var(--text);font-size:13px;font-weight:700}.fig-on-dark{fill:var(--on-ink)}.fig-label{fill:var(--muted);font-size:11px;font-weight:600}.chip-list{flex-wrap:wrap;gap:.35rem;margin:0;padding:0;list-style:none;display:flex}.chip{border:1px solid var(--border);color:var(--text);border-radius:999px;padding:.2rem .75rem;font-size:.875rem;text-decoration:none;display:inline-block}.chip:hover{border-color:var(--accent);color:var(--accent)}.chip-first{background:var(--rose-soft);color:var(--rose-text);border-color:#0000;font-weight:650}.data-table.chooser{table-layout:fixed;width:100%}.data-table.chooser th:first-child{width:48%}.data-table.chooser td{vertical-align:top;white-space:normal}.card-grid{grid-template-columns:repeat(auto-fit,minmax(17rem,1fr));gap:1rem;display:grid}.card-grid .system-card{margin:0}.system-card.small h3{font-size:1.05rem}.glossary{grid-template-columns:repeat(auto-fit,minmax(17rem,1fr));gap:.75rem;display:grid}.glossary>div{border:1px solid var(--rule);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);padding:.95rem 1.15rem}.glossary dt{font-weight:700}.glossary dd{color:var(--muted);margin:.25rem 0 0}.guide-use{border-radius:var(--radius);background:var(--blush);box-shadow:inset 4px 0 0 var(--rose);padding:.95rem 1.15rem .95rem 1.4rem}.system-help{font-size:.875rem}@media (max-width:40rem){.app-header{gap:.5rem .75rem;padding:.55rem .85rem}.main-nav{order:3;width:100%;overflow-x:auto}.main-nav ul{flex-wrap:nowrap}.main-nav a{white-space:nowrap;padding:.35rem .65rem}.hero,.guide-hero{border-radius:var(--radius-lg);grid-template-columns:minmax(0,1fr);padding:1.4rem 1.35rem}.hero .board-art{display:none}.system-card{padding:1rem}.system-body:has(>figure){grid-template-columns:minmax(0,1fr)}main{padding:1rem .85rem 1.5rem}.panel{padding:1.1rem}.keep-safe{padding:1.1rem 1.2rem}.account-link,.lang-picker{margin-left:0}h1{font-size:1.35rem}.t-undo{align-items:flex-start}.t-undo .hint{text-align:left}.tabs a{padding:.4rem .75rem}.data-table th,.data-table td{padding:.45rem .5rem}.data-table th:first-child,.data-table td:first-child{padding-inline-start:.75rem}.data-table th:last-child,.data-table td:last-child{padding-inline-end:.75rem}.pairings .opt,.pairings .rating,.pairings .fed{display:none}.pairings td{white-space:normal}.pairings .result-col,.result-select{width:5rem}.result-select{padding:.4rem .2rem}.manual-board{grid-template-columns:1.5rem minmax(0,1fr) auto;grid-template-areas:"no white flip""no black remove";gap:.35rem;padding:.4rem}.manual-board .remove{justify-self:stretch}.ratings .opt,.norm-table .opt{display:none}.norm-result{min-width:8rem}.ratings .k-select{padding:.1rem}.prize-table th,.prize-table td{white-space:normal}.prize-table .num{white-space:nowrap}}@media (prefers-reduced-motion:no-preference){.button,.tabs a{transition:background-color .12s}}@media print{:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@page{margin:12mm}body{color:#000;background:#fff;font-size:10.5pt}.no-print,.app-header,.app-footer,.breadcrumb,.tabs,.notices,.skip-link,.t-header,.hint,.legend{display:none!important}.print-only{display:block}td .print-only{display:inline}.result-select{display:none}main{max-width:none;padding:0}.print-header{margin-bottom:4mm}.print-header p{margin:0}.print-event{font-size:15pt;font-weight:700}.print-title{font-size:12.5pt;font-weight:600}.print-details{font-size:9.5pt}.round-head .badge,.round-title{display:none}.table-region{box-shadow:none;border:none;border-radius:0;overflow:visible}.data-table{border:1px solid #000}.data-table th,.data-table td,.data-table th:first-child,.data-table td:first-child,.data-table th:last-child,.data-table td:last-child{color:#000;border:1px solid #555;padding:1.2mm 2mm;background:#fff!important}.data-table thead th{color:#000;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;print-color-adjust:exact;background:#e6e6e6!important}.data-table tr{break-inside:avoid}.data-table thead{display:table-header-group}a{color:#000;text-decoration:none}.title,.rating,.pairings .fed{color:#000}.colour-chip{-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;print-color-adjust:exact}}.kind-choice{border:1px solid var(--rule);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow);flex-wrap:wrap;gap:.5rem 2rem;max-width:60rem;margin:0 0 1.5rem;padding:.9rem 1.25rem;display:flex}.kind-choice legend{padding:0 .25rem;font-weight:650}.kind-choice .hint{font-weight:400}.colour-chip{border:1px solid var(--muted);vertical-align:-.05rem;border-radius:2px;width:.8rem;height:.8rem;display:inline-block}.colour-chip.colour-w{background:#f4f3ee}.colour-chip.colour-b{background:#26241f}.team-match h4{margin:0 0 .25rem}.match-no{color:var(--muted);font-weight:600}.match-score{font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:.5rem}.match-status{margin:0 0 .5rem}.roster-list{margin:0;padding-left:1.4rem;font-size:.9rem}.roster-table td{padding:.25rem .4rem}.roster-table input{min-width:10rem}.roster-table .input-rating,.roster-table .input-fed{width:5.5rem;min-width:0}.roster-table .input-fide{width:8.5rem;min-width:0}.team-editor .form-actions,.lineup-editor .form-actions{flex-wrap:wrap;gap:.5rem;margin-top:.75rem;display:flex}.byes-panel>summary{cursor:pointer}.byes-panel[open]>summary{margin-bottom:.5rem}.lineup-actions{flex-wrap:wrap;gap:.5rem;margin:0 0 .5rem;display:flex}.lineup-editor{border:1px solid var(--border);border-radius:var(--radius-lg);margin:0 0 .75rem;padding:.85rem 1rem}.lineup-editor h5{margin:0 0 .25rem;font-size:1rem}.lineup-table{width:auto;min-width:min(100%,24rem)}.lineup-table td{padding:.25rem .5rem}.late-score{max-width:24rem;margin-bottom:.75rem}.player-facts{grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:0 2rem;margin:.5rem 0 1.5rem;display:grid}.player-facts>div{border-bottom:1px solid var(--rule);justify-content:space-between;gap:1rem;padding:.4rem 0;display:flex}.player-facts dt{color:var(--muted)}.player-facts dd{font-variant-numeric:tabular-nums;text-align:right;margin:0;font-weight:600}.player-games .capped{color:var(--muted)}.player-games .pgn-cell{white-space:nowrap}.player-games .pgn-moves pre{white-space:pre-wrap;max-height:24rem;margin:0;font-size:.85rem;overflow:auto}.player-games .pgn-moves-title{margin:0 0 .25rem;font-weight:600}.player-steps{flex-wrap:wrap;justify-content:space-between;gap:.5rem 1rem;margin-top:1.25rem;display:flex}.player-steps a[rel=next]{margin-left:auto}@media screen{.out-of-range{display:none}}.board-range input{width:5em}.board-place{color:var(--muted);white-space:nowrap;font-size:.75em;display:block}.venue-area{flex-wrap:wrap;align-items:end;gap:0 1rem;display:flex}.table-map-row{flex-wrap:wrap;gap:.5rem;margin:0 0 .5rem;padding:0;list-style:none;display:flex}.table-map-row li{border:1px solid var(--border);border-radius:var(--radius-sm);min-width:9rem;padding:.3rem .65rem;font-size:.85em}.table-map-row li strong{display:block}.table-map-row li.table-free{color:var(--muted);border-style:dashed}.sign-in .google-button{background:var(--surface);color:var(--text);border:1px solid var(--border);box-shadow:var(--shadow);align-items:center;gap:.6rem;font-weight:600;display:inline-flex}.sign-in .or{max-width:28rem;color:var(--muted);align-items:center;gap:.75rem;margin:1rem 0;display:flex}.sign-in .or:before,.sign-in .or:after{content:"";border-top:1px solid var(--rule);flex:1}.sign-in .account-form{max-width:28rem;display:block}.sign-in .account-form .form-actions{margin-top:.75rem}
