:root{color:#18231e;font-synthesis:none;--paper:#f7f7f2;--panel:#fdfdfa;--border:#dedfd6;--text:#18231e;--muted:#5b655e;--green:#1b624a;--green-dark:#114936;--sidebar:#132d26;--danger:#a22d32;--radius:8px;background:#f7f7f2;font-family:Instrument Sans,Segoe UI,PingFang SC,Microsoft YaHei,system-ui,sans-serif}*,:before,:after{box-sizing:border-box}body{min-width:290px;margin:0;font-size:14px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.53}button,input,select{touch-action:manipulation}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:3px;outline:2px solid #3a8b71}h1,h2,h3,p,dl,dd{margin:0}h1,h2,h3{line-height:1.2}h1{letter-spacing:-.045em;font-size:clamp(24px,3vw,34px)}h2{letter-spacing:-.035em;font-size:clamp(22px,2.35vw,29px)}h3{font-size:16px}p{line-height:1.55}small,.small{font-size:12px}.muted{color:var(--muted)}.line,.actions{align-items:center;gap:10px;display:flex}.line{justify-content:space-between}.actions{flex-wrap:wrap;justify-content:flex-end}.start{justify-content:flex-start}.panel{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius)}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.button{background:var(--panel);border:1px solid var(--border);min-height:40px;color:var(--text);text-align:center;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:8px 14px;font-weight:650;line-height:1.35;display:inline-flex}.button:hover:not(:disabled){background:#eeefe8;border-color:#c4c9bf}.button.primary{background:var(--green);border-color:var(--green);color:#fff}.button.primary:hover:not(:disabled){background:var(--green-dark);border-color:var(--green-dark)}.button.ghost{color:var(--muted);background:0 0;border-color:#0000}.button.danger{background:var(--danger);border-color:var(--danger);color:#fff}.button.danger:hover:not(:disabled){background:#7f2327;border-color:#7f2327}.button.danger-outline{color:var(--danger);border-color:#e9ccce}.button.danger-outline:hover:not(:disabled){background:#f8e8e6;border-color:#e9ccce}.icon-button{color:inherit;background:0 0;border:0;border-radius:6px;place-items:center;width:36px;height:36px;padding:0;display:inline-grid}.icon-button:hover{background:#858d7c21}.text-button{color:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:700}.text-button:hover{color:var(--green);text-underline-offset:3px;text-decoration:underline}.app-shell{grid-template-columns:226px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{background:var(--sidebar);color:#f4faf5;border-right:1px solid #28433a;flex-direction:column;height:100dvh;padding:25px 15px 17px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:10px;font-size:16px;font-weight:750;line-height:1.35;display:flex}.brand small{opacity:.72;letter-spacing:.015em;font-size:10px;font-weight:550;display:block}.brand-mark{border-radius:8px;flex:none;width:42px;height:42px;display:block}.sidebar .brand{margin-left:6px}.sidebar nav{gap:6px;margin-top:42px;display:grid}.sidebar nav button{color:#e8f3ed;text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:13px;width:100%;min-height:44px;padding:9px 13px;font-weight:650;display:flex}.sidebar nav button:hover:not(:disabled){background:#ffffff12}.sidebar nav button[aria-current=page]{color:#fff;background:#255c48}.sidebar-footer{margin-top:auto;padding-top:15px}.sidebar-user{border-top:1px solid #4d655b;align-items:center;gap:10px;margin-top:12px;padding:12px 3px 0;display:flex}.sidebar-user strong{overflow-wrap:anywhere;flex:1;min-width:0}.language-switch{background:#ebeee6;border-radius:7px;flex-wrap:nowrap;gap:3px;width:fit-content;padding:3px;display:inline-flex}.language-switch button{min-height:28px;color:var(--text);background:0 0;border:0;border-radius:5px;padding:4px 8px;font-size:12px;font-weight:650}.language-switch button[aria-pressed=true]{color:#fff;background:var(--green)}.sidebar .language-switch{background:#244238}.sidebar .language-switch button{color:#e7f3eb}.sidebar .language-switch button[aria-pressed=true]{background:#39775e}.avatar{width:32px;height:32px;color:var(--sidebar);background:#e7f0e9;border-radius:50%;flex:none;place-items:center;display:inline-grid}.main-content{width:100%;min-width:0;max-width:1660px;padding:24px clamp(20px,3.1vw,46px) 36px}.project-bar{justify-content:space-between;align-items:center;gap:16px;min-height:57px;margin-bottom:28px;display:flex}.project-selector{width:min(430px,100%);min-width:0;padding:6px 12px;display:block}.project-selector span{color:var(--muted);font-size:11px;font-weight:700;display:block}.project-selector select{width:100%;color:var(--text);text-overflow:ellipsis;background-color:#0000;border:0;padding:0 22px 0 0;font-size:clamp(17px,2.3vw,23px);font-weight:750;line-height:1.35;display:block}.game-label{color:var(--green-dark);border:1px solid var(--border);white-space:nowrap;background:#f0f3eb;border-radius:7px;padding:6px 11px;font-weight:750;display:inline-block}.day-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:0 0 27px;display:flex}.day-tabs{border-radius:var(--radius);border:1px solid var(--border);background:#efefe9;flex-wrap:wrap;gap:4px;max-width:100%;padding:3px;display:inline-flex}.day-tabs button{color:var(--text);white-space:nowrap;background:0 0;border:0;border-radius:5px;min-height:33px;padding:5px 12px;font-weight:650}.day-tabs button:hover{background:#dae5da}.day-tabs button[aria-current=date]{background:var(--green);color:#fff}.page-title{margin:4px 0 24px}.section-heading{margin-bottom:19px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:30px;display:grid}.metric{align-items:center;gap:12px;min-height:95px;padding:17px clamp(11px,2vw,23px);display:flex}.metric svg{color:var(--green);flex:none}.metric dt{color:#39483e;font-weight:600}.metric dd{font-variant-numeric:tabular-nums;letter-spacing:-.035em;margin-top:4px;font-size:clamp(22px,3.5vw,34px);font-weight:750;line-height:1.05}.schedule{border-top:1px solid var(--border);padding-top:23px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;color:var(--text)}.schedule-table{min-width:720px}th{color:#455149;text-align:left;white-space:nowrap;background:#efefe9;font-size:12px;font-weight:700}th,td{border-bottom:1px solid var(--border);font-variant-numeric:tabular-nums;padding:12px 14px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f3f5ee}.schedule-table td{height:69px}.schedule-table td:last-child{width:44px;padding:0 8px 0 0}.schedule-row-actions{justify-content:flex-end;align-items:center;gap:4px;display:flex}.schedule-row-actions .button{white-space:nowrap;min-height:32px;padding:5px 8px;font-size:12px}.schedule-row-actions .button svg{width:14px;height:14px}.table-alternative{color:var(--green-dark);margin-top:4px;font-weight:650;display:block}.time-cell{white-space:nowrap;font-weight:650}.match-name{overflow-wrap:anywhere;align-items:baseline;gap:8px;font-size:15px;display:inline-flex}.dot{background:var(--event-color);border-radius:50%;flex:none;width:10px;height:10px;display:inline-block}td small{color:var(--muted);margin-top:4px;font-weight:500;display:block}td small.inline{display:inline}.match-meta{padding-left:18px}.status{white-space:nowrap;border-radius:5px;padding:4px 8px;font-size:12px;font-weight:750;display:inline-block}.status.live{color:#245934;background:#deecd8}.status.pending{color:#2a5178;background:#e0eaf4}.status.ended{color:#536056;background:#eeeee8}.status.short{color:#8d222a;background:#f7dddc}.shortage{color:var(--danger);font-weight:700}.toggle{cursor:pointer;align-items:center;gap:8px;min-height:36px;font-size:13px;line-height:1.3;display:inline-flex;position:relative}.toggle input{opacity:0;width:36px;height:22px;margin:0;position:absolute}.toggle span{background:#c8cdc5;border-radius:20px;flex:none;width:36px;height:21px}.toggle span:before{content:"";background:#fff;border-radius:50%;width:15px;height:15px;margin:3px;display:block}.toggle input:checked+span{background:var(--green)}.toggle input:checked+span:before{transform:translate(15px)}.toggle input:focus-visible+span{outline-offset:2px;outline:2px solid #3a8b71}.empty{text-align:center;border-radius:var(--radius);border:1px dashed #cbd1c6;flex-direction:column;justify-content:center;align-items:center;gap:11px;min-height:255px;padding:25px;display:flex}.empty h2{font-size:19px}.empty p{color:var(--muted)}.empty-icon{color:var(--green);background:#e9eee5;border-radius:9px;place-items:center;padding:10px;display:grid}.event-list-row{justify-content:space-between;align-items:center;gap:16px;padding:18px;display:flex}.event-list-row:not(:last-child){border-bottom:1px solid var(--border)}.event-list-row h2{margin:7px 0 5px;font-size:21px}.event-list-row p{overflow-wrap:anywhere}.layout-toolbar{flex-wrap:wrap;align-items:end;gap:14px;margin-bottom:16px;padding:13px 15px;display:flex}.layout-toolbar .field{align-items:center;gap:10px;margin:0;display:flex}.layout-toolbar .field input{width:88px}.layout-toolbar>.muted{align-self:center;margin-left:auto;font-size:12px}.range-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 18px;margin-bottom:14px;display:flex}.layout-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.zone{min-width:0;padding:14px}.zone h3{align-items:center;gap:8px;display:flex}.zone-marker{background:var(--zone-color);border-radius:3px;width:11px;height:11px}.zone-fields{grid-template-columns:1fr 1.1fr 1.5fr;gap:7px;margin:13px 0;display:grid}.zone-fields.range-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.zone-fields .field{margin:0;font-size:12px}.zone-fields input,.zone-fields select{min-height:35px;padding:6px 8px}.zone-scroll{padding:3px;overflow:auto}.table-tiles{grid-template-columns:repeat(var(--columns), minmax(32px, 1fr));width:max-content;min-width:min(100%, calc(var(--columns) * 39px));gap:5px;margin-inline:auto;display:grid}.table-tile{color:#27382b;font-variant-numeric:tabular-nums;cursor:pointer;-webkit-user-select:none;user-select:none;background:#f6f7f2;border:1px solid #d9ded4;border-radius:5px;min-width:32px;min-height:34px;padding:2px 4px;font-size:12px;font-weight:700;position:relative}.table-tile[aria-pressed]{cursor:grab}.table-tile:active{cursor:grabbing}.table-tile.blank{cursor:default;background:0 0;border-style:dashed}.table-tile.occupied{background:color-mix(in srgb, var(--event-color) 20%, var(--panel));border-color:color-mix(in srgb, var(--event-color) 48%, var(--panel))}[data-state=fixed]{--table-state:#4f6fa8}[data-state=maintenance]{--table-state:#976416}[data-state=unavailable]{--table-state:#a43339}.table-tile[data-state]:not(.occupied){background:color-mix(in srgb, var(--table-state) 14%, var(--panel));border-color:color-mix(in srgb, var(--table-state) 54%, var(--panel))}.table-tile[data-state]:after{content:"";background:var(--table-state);border-radius:50%;width:5px;height:5px;position:absolute;inset:3px 3px auto auto}.state-marker{background:var(--table-state)}.table-tile:hover,.table-tile.active{outline:2px solid var(--green);outline-offset:0}.layout-unsaved{margin-bottom:12px}.layout-instruction{color:var(--muted);margin:14px 0}.legend{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:12px 18px;padding-top:13px;display:flex}.legend span{align-items:center;gap:6px;display:inline-flex}.legend i{border-radius:3px;flex:none;width:13px;height:13px}.legend-free{background:#f6f7f2;border:1px solid #b9c1b7}.legend-total{color:var(--muted);margin-left:auto}.field{gap:6px;min-width:0;margin-bottom:12px;font-weight:650;display:grid}.field small{color:var(--muted);font-weight:500}.field input,.field select{width:100%;min-width:0;min-height:40px;color:var(--text);background:#fff;border:1px solid #cdd2c8;border-radius:6px;padding:8px 10px;font-weight:500}.field input:read-only{color:var(--muted);background:#efefe9}.fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 13px;display:grid}.round-fields{align-items:start}.day-fields{grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(0,1fr))}.dialog{border:1px solid var(--border);width:min(100% - 26px,535px);max-height:calc(100dvh - 26px);color:var(--text);background:var(--panel);border-radius:13px;padding:0;box-shadow:0 20px 80px #05160f3d}.dialog.wide{width:min(100% - 26px,730px)}.dialog::backdrop{background:#091e17a0}.dialog-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:10px;padding:17px 21px 15px;display:flex}.dialog-head h2{overflow-wrap:anywhere;padding-top:4px;font-size:23px}.dialog-head .icon-button{flex:none}.dialog-body{padding:18px 21px}.dialog-body>p{margin-bottom:13px}.dialog-actions{border-top:1px solid var(--border);background:#f5f5f0;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;padding:13px 21px;display:flex}.dialog-actions.spread{justify-content:space-between}.match-copy-actions{margin-bottom:14px}.review-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.allocation-note{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;display:block}.round-table-actions{margin-top:10px}.form-section{border-top:1px solid var(--border);gap:10px;margin-top:14px;padding-top:14px;display:grid}.fact-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.fact-grid dt{color:var(--muted);margin-bottom:4px;font-size:12px;font-weight:600}.fact-grid dd{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;font-size:17px;font-weight:750}.plan-summary{background:#edf3eb;border:1px solid #d8e4d5;border-radius:7px;margin-top:12px;padding:13px}.round-table-preview .fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-summary p{margin-top:9px}.detail-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 10px;padding:16px 0}.detail-actions{justify-content:flex-start;margin-top:7px}.detail-meta,.modal-context{color:var(--muted);align-items:center;gap:8px;font-weight:650;display:flex}.compact-table{min-width:365px}.compact-table th,.compact-table td{padding:7px 10px}.error-message{color:#8d222a;background:#fbeae8;border:1px solid #edcecb;border-radius:6px;align-items:flex-start;gap:6px;margin:9px 0;padding:9px 11px;line-height:1.45;display:flex}.error-message svg{flex:none;margin-top:2px}.login-shell{border-top:6px solid var(--sidebar);place-items:center;min-height:100dvh;padding:20px;display:grid}.login-card{width:min(100%,414px);padding:clamp(22px,5vw,38px);box-shadow:0 13px 48px #172b1f0d}.login-card .brand{margin-bottom:14px}.login-card .language-switch{margin-bottom:23px}.login-card h1{margin-bottom:20px}.login-card .field{margin-bottom:15px}.login-card form>.button{width:100%;margin-top:4px}@media (width<=995px){.app-shell{grid-template-columns:185px minmax(0,1fr)}.sidebar{padding-inline:10px}.sidebar .brand{gap:7px;margin-left:3px;font-size:14px}.sidebar .brand-mark{width:36px;height:36px}.sidebar .brand small{font-size:9px}}@media (width<=720px){.app-shell{display:block}.sidebar{border:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;height:auto;padding:12px 13px 8px;display:grid;position:static}.sidebar nav{grid-area:2/1/auto/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:0}.sidebar nav button{text-align:center;justify-content:center;gap:5px;min-height:39px;padding:5px 4px;font-size:12px}html[lang=en] .sidebar nav button{flex-direction:column;gap:3px;font-size:11px;line-height:1.1}.sidebar nav svg{flex:none;width:15px;height:15px}.sidebar-footer{flex-wrap:wrap;grid-area:1/2;justify-content:flex-end;align-items:center;gap:4px 8px;margin:0;padding:0;font-size:12px;display:flex}.sidebar-user{border:0;margin:0;padding:0}.avatar{display:none}.main-content{padding:17px 12px 25px}.project-bar,.day-bar{margin-bottom:17px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:17px}.metric{min-height:69px;padding:10px 12px}.metric svg{width:22px;height:22px}.layout-grid{grid-template-columns:minmax(0,1fr)}.schedule{padding-top:14px}.schedule .schedule-table{min-width:0}.schedule .schedule-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.schedule .schedule-table tbody,.schedule .schedule-table{display:block}.schedule .schedule-table tr{grid-template-columns:repeat(3,minmax(0,1fr)) auto;grid-template-areas:"time status status actions""name name name name""players tables finish finish";gap:8px 10px;padding:12px;display:grid}.schedule .schedule-table tr:not(:last-child){border-bottom:1px solid var(--border)}.schedule .schedule-table td{border:0;height:auto;padding:0}.schedule .schedule-table td[data-label]:before{content:attr(data-label);color:var(--muted);margin-bottom:4px;font-size:12px;display:block}.schedule .schedule-table td:first-child{grid-area:time;align-self:center}.schedule .schedule-table td:nth-child(2){grid-area:name}.schedule .schedule-table td:nth-child(3){grid-area:players}.schedule .schedule-table td:nth-child(4){grid-area:tables}.schedule .schedule-table td:nth-child(5){grid-area:finish}.schedule .schedule-table td:nth-child(6){text-align:right;grid-area:status;justify-self:end}.schedule .schedule-table td:last-child{grid-area:actions;align-self:start;width:auto}.page-title,.section-heading,.event-list-row{flex-wrap:wrap}.legend-total{margin-left:0}}@media (width<=405px){.sidebar-footer{max-width:155px}.sidebar-footer .icon-button{width:29px;height:28px}.day-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.day-fields .field:first-child{grid-column:1/-1}.fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dialog-body,.dialog-head,.dialog-actions{padding-inline:13px}}
