@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--ink:#15332c;--green:#164d3c;--paper:#f6f7f3;--muted:#67776f;--lime:#d6ee70;--line:#dce3dc}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:16px 'DM Sans',sans-serif}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #82a838;outline-offset:4px}header{padding:25px 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff}.brand{font-weight:800;letter-spacing:1px;display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none}.brand-sub{font-size:12px;letter-spacing:2px;color:var(--muted);margin-left:9px}.ball{display:grid;place-items:center;border-radius:50%;width:33px;height:33px;background:var(--ink);color:#fff;letter-spacing:0}nav{display:flex;gap:28px}nav button{background:none;border:0;padding:10px 0;color:var(--muted);font-size:14px}nav button.active{color:var(--green);box-shadow:0 2px var(--green);font-weight:700}.season{font-size:12px;letter-spacing:1.5px;color:var(--muted)}main{max-width:1400px;margin:auto;padding:0 5%}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px;padding:62px 0 45px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;color:var(--green)}h1,h2{font-family:'Barlow Condensed','Arial Narrow',sans-serif;line-height:.96;letter-spacing:-1px;margin:20px 0}h1{font-size:clamp(60px,7.5vw,108px);text-transform:uppercase}h1 span{color:#87a841}.hero p{line-height:1.7;color:var(--muted);margin:24px 0}.window{display:flex;flex-direction:column;gap:8px;border-left:3px solid #a5bf50;padding:0 0 0 16px;margin-top:32px}.small-label{font-size:11px;letter-spacing:1.7px;color:var(--muted)}.window strong{font-size:15px}.table-art{position:relative;overflow:hidden;height:350px;transform:rotate(-4deg);background:radial-gradient(ellipse at 70% 20%,#2b7058,#123e31 80%);border:14px solid #283b32;border-radius:36px;box-shadow:0 20px 40px #143d2720,inset 0 0 0 3px #ae8955,inset 0 0 50px #0005}.pocket{position:absolute;width:37px;height:37px;background:#071c15;border-radius:50%}.p1{top:-12px;left:-12px}.p2{top:-12px;right:-12px}.p3{bottom:-12px;left:-12px}.p4{bottom:-12px;right:-12px}.art-ball{position:absolute;width:58px;height:58px;border-radius:50%;box-shadow:8px 13px 10px #0005}.black{background:radial-gradient(circle at 30% 25%,#59615c,#07110b 65%);top:65px;left:51%;display:grid;place-items:center;color:#111;font:bold 22px Arial}.black:before{content:'';background:white;position:absolute;width:30px;height:30px;border-radius:50%;z-index:0}.black{isolation:isolate}.black:before{z-index:-1}.yellow{background:radial-gradient(circle at 30% 25%,#fff3a6,#e0ad26 65%);top:45px;left:29%;width:48px;height:48px}.white{background:radial-gradient(circle at 30% 25%,#fff,#d0d7cc 85%);top:150px;right:15%;width:53px;height:53px}.cue{height:9px;width:410px;background:linear-gradient(90deg,#f1d8a6 60%,#81502a 61%);transform:rotate(-38deg);position:absolute;top:120px;left:-170px;box-shadow:0 6px 7px #0003}.art-caption{position:absolute;bottom:35px;left:36px;color:#d6e8b9;font-size:11px;letter-spacing:3px}.art-caption span{display:block;margin-top:10px;font-size:13px;letter-spacing:0;color:#bdd0c4}.snapshot{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;color:var(--muted);font-size:12px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:42px 0 25px}h2{font-size:44px;margin:10px 0}h3{font-size:20px;margin:0 0 8px}.team-label{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:14px}select{padding:12px 40px 12px 16px;background:#fff;border:1px solid var(--line);border-radius:8px;color:var(--ink);max-width:300px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2315332c' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.stat{padding:22px 25px;background:#fff;border:1px solid var(--line);border-radius:10px}.stat span{font-size:13px;color:var(--muted)}.stat strong{display:block;font-size:32px;letter-spacing:-1px;margin-top:9px}.stat:first-child{background:var(--green);color:#fff;border-color:var(--green)}.stat:first-child span{color:#d1e3d8}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px}.panel-head p,.muted{font-size:14px;color:var(--muted);line-height:1.6;margin:0}.search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:7px;padding:10px 12px}.search span{font-size:22px}.search input{border:0;outline:0;max-width:190px;background:none;font-size:14px;color:var(--ink)}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:12px;color:var(--muted);font-weight:500;padding:14px 20px;background:#f4f7f3;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:18px 20px;border-bottom:1px solid #edf0ec;font-size:14px}th:not(:nth-child(2)),td:not(:nth-child(2)){text-align:right}th:first-child,td:first-child{text-align:center;width:70px}.rank{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:6px;color:var(--muted)}.rank.top{background:var(--lime);color:var(--ink);font-weight:700}.player-link{border:0;background:none;padding:0;color:var(--ink);font-weight:600;text-align:left}.player-link:hover{text-decoration:underline}.perf{display:flex;gap:12px;align-items:center;justify-content:flex-end;font-weight:700}.bar{display:inline-block;width:66px;height:5px;border-radius:4px;background:#e9eee7;overflow:hidden}.bar i{display:block;height:100%;background:#4e805b}.footnote{color:var(--muted);font-size:12px;padding:0 25px;line-height:1.6}footer{display:flex;justify-content:space-between;gap:20px;margin-top:60px;padding:30px 0;color:var(--muted);border-top:1px solid var(--line);font-size:12px}footer .brand{font-size:13px}.fixtures{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}.fixture{padding:22px;background:white;border:1px solid var(--line);border-radius:10px}.fixture-meta{font-size:12px;color:var(--muted);margin-bottom:18px}.fixture-score{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;font-size:15px;font-weight:600}.fixture-score>:last-child{text-align:right}.score{font-size:24px;white-space:nowrap}.fixture a{display:inline-block;color:var(--green);font-size:12px;margin-top:15px}.note{font-size:13px;line-height:1.6;background:#fcf4da;padding:12px;border-radius:6px}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:30px}.prose{padding:30px;line-height:1.75}.prose h3:not(:first-child){margin-top:28px}.prose p{font-size:15px;color:var(--muted)}.prose input{display:block;margin-top:8px;padding:10px;border:1px solid var(--line);border-radius:7px}.sources{display:flex;flex-direction:column;gap:8px}.sources a{font-size:14px;color:var(--green)}dialog{border:1px solid var(--line);border-radius:16px;padding:35px;max-width:700px;width:calc(100% - 30px);max-height:85vh;color:var(--ink)}dialog::backdrop{background:#071c15a6}.close{position:absolute;right:20px;top:12px;background:none;border:0;font-size:32px;color:var(--muted)}.history{display:grid;grid-template-columns:90px 1fr auto;gap:16px;padding:15px 0;border-bottom:1px solid var(--line);font-size:14px}.history small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.empty{padding:25px;color:var(--muted)}[hidden]{display:none!important}@media(max-width:800px){header{flex-wrap:wrap;gap:20px}.brand-sub,.season{display:none}nav{gap:20px}.hero{padding-top:35px;gap:20px}.table-art{height:280px;border-width:10px}.art-caption{left:20px;letter-spacing:1px}.hero h1{font-size:70px}.snapshot{flex-direction:column;gap:7px}.stats{grid-template-columns:repeat(2,1fr)}.section-head{align-items:flex-start}.team-label{flex-direction:column;align-items:flex-start}select{max-width:230px}.fixtures,.about-grid{grid-template-columns:1fr}.panel-head{align-items:flex-start;flex-direction:column}.search{width:100%}.search input{max-width:none;width:100%}}@media(max-width:540px){header{justify-content:center}main{padding:0 5%}.hero{grid-template-columns:1fr}.hero h1{font-size:78px}.table-art{height:240px;margin:10px 10px 20px;transform:rotate(-3deg)}.hero p{margin:18px 0}.section-head{flex-direction:column}.team-label{width:100%;flex-direction:row;align-items:center}select{max-width:none;width:100%}.stat{padding:18px}.stat strong{font-size:28px}h2{font-size:39px}.history{grid-template-columns:65px 1fr auto;gap:10px}dialog{padding:28px 20px}footer{flex-direction:column}.prose{padding:24px}}
.update-button{background:var(--green);color:#fff;border:0;border-radius:7px;padding:12px 18px;font-size:14px;font-weight:600}.update-button:disabled{opacity:.65;cursor:wait}.update-panel{padding:18px 22px;border:1px solid var(--line);border-radius:9px;background:white;margin:22px 0;font-size:14px;line-height:1.6}.update-panel details{margin-top:8px;color:var(--muted)}.update-panel summary{cursor:pointer}.source-status{padding:15px 0;border-top:1px solid var(--line);margin-top:12px}.source-status strong{color:var(--ink)}.source-status p{margin:6px 0;overflow-wrap:anywhere}.source-status ul{max-height:220px;overflow:auto;padding-left:22px}.update-panel[data-status="partial"],.update-panel[data-status="failed"]{border-color:#d3ac5b;background:#fffaf0}
.auth-controls{display:flex;align-items:center;gap:14px}.signed-in{font-size:14px;color:var(--muted)}.plain-button{background:none;border:0;padding:10px 0;color:var(--green);font-size:14px}.login-form{display:flex;flex-direction:column;gap:10px;margin-top:25px}.login-form label{font-size:14px;font-weight:600}.login-form input{padding:13px 14px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:white;min-width:0;margin-bottom:6px}.login-form button{margin-top:4px}.login-error{font-size:14px;color:#a72f25;margin:0;min-height:22px}.player-name{font-weight:600}#login-dialog{max-width:460px}.auth-controls .update-button{white-space:nowrap}@media(max-width:800px){.signed-in{display:none}.auth-controls{gap:12px}}

.singles-toggle{display:inline-flex;align-items:center;gap:10px;font-size:14px;color:var(--ink);cursor:pointer;line-height:1.5;margin:0;padding:11px 14px;border:1px solid var(--line);border-radius:7px;background:#fff;white-space:nowrap}.singles-toggle input{width:18px;height:18px;margin:0;accent-color:var(--green);cursor:pointer;flex-shrink:0}

.ranking-controls{display:flex;flex-direction:row;align-items:center;gap:18px;width:min(430px,100%);min-width:0}.ranking-controls select{flex:1;width:0;min-width:0;max-width:none}.ranking-controls .singles-toggle{flex-shrink:0;align-self:center;margin:0;padding:0;border:0;background:transparent}

.panel-head.team-table-heading{flex-direction:row;align-items:center;flex-wrap:wrap;gap:18px}.team-table-heading .window{margin:0;flex-shrink:0}.team-table-heading h3{margin:0}

.fixtures{align-items:start}.inline-scorecard{table-layout:fixed;white-space:normal;margin-top:18px;border-top:1px solid var(--line)}.inline-scorecard td{padding:7px 0;font-size:13px;line-height:1.35;text-align:left;width:auto;overflow-wrap:anywhere}.inline-scorecard td:nth-child(2){width:54px;text-align:center;white-space:nowrap;color:var(--muted)}.inline-scorecard td:last-child{text-align:right}.inline-scorecard tr:last-child td{border-bottom:0}.frame-winner{font-weight:400;color:#21804b}.scorecard-unavailable{font-size:13px;color:var(--muted);margin:18px 0 0;line-height:1.5}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

#rankings .ranking-controls{align-self:flex-end;margin-bottom:10px}@media(max-width:540px){#rankings .ranking-controls{align-self:flex-start;margin-bottom:0}}

#rankings .panel>.stats{margin:0;padding:0 26px 25px}@media(max-width:540px){#rankings .panel>.stats{padding:0 18px 20px}}

#team-title{text-transform:uppercase}

#results .section-head>.results-controls{align-self:flex-end;margin-bottom:10px}@media(max-width:540px){#results .section-head>.results-controls{align-self:flex-start;margin-bottom:0}}

#rankings>.section-head,#results>.section-head,#settings-page>.section-head{border-top:1px solid var(--line);padding-top:24px;margin-top:0}#rankings>.snapshot{border-bottom:0;padding-bottom:0}footer{margin-top:16px;padding:16px 0;border-top:0}

#rankings>.snapshot{border-bottom:1px dotted var(--line);padding-bottom:16px}



.results-controls{display:flex;align-items:center;gap:18px;max-width:100%}.expand-toggle{display:inline-flex;align-items:center;gap:10px;font-size:14px;white-space:nowrap;cursor:pointer}.expand-toggle input{width:18px;height:18px;margin:0;accent-color:var(--green)}.fixture-details{margin-top:20px}.fixture-details summary{display:list-item;width:fit-content;cursor:pointer;color:var(--green);font-size:14px;text-decoration:underline;text-underline-offset:3px}.fixture-details summary:focus-visible{outline:3px solid #82a838;outline-offset:4px}.fixture-details .inline-scorecard{margin-top:14px}@media(max-width:540px){.results-controls{width:100%}.results-controls .team-label{flex:1;min-width:0}}

.fixtures{grid-template-columns:repeat(3,minmax(0,1fr))}.fixture{min-width:0}.fixture-score>span{min-width:0;overflow-wrap:anywhere}@media(max-width:1100px){.fixtures{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.fixtures{grid-template-columns:1fr}}


#rankings thead th:nth-child(n+3){text-align:center}

#players td:nth-child(n+3){text-align:center}#players .perf{justify-content:center}

.rank.top{background:var(--lime);color:var(--ink);font-weight:700}

.ranking-controls{width:auto;max-width:100%;gap:18px;flex-wrap:wrap;justify-content:flex-end}.ranking-controls select{flex:none;width:230px}.frame-controls{display:flex;align-items:center;gap:12px;border:0;padding:0;margin:0;min-width:0}.frame-mode,.frame-number{display:inline-flex;align-items:center;gap:8px;font-size:14px;white-space:nowrap}.frame-mode{cursor:pointer}.frame-controls input[type=checkbox]{width:18px;height:18px;margin:0;accent-color:var(--green);cursor:pointer}.frame-number input[type=number]{width:90px;min-width:0;padding:11px 10px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:#fff;font-size:14px}.frame-number input:disabled{background:#e9ece7;color:#8a948e;cursor:not-allowed}.frame-number input::placeholder{color:var(--muted)}@media(max-width:1000px){#rankings>.section-head{flex-wrap:wrap}.ranking-controls{justify-content:flex-start}}@media(max-width:540px){.ranking-controls{width:100%;gap:14px}.ranking-controls select{width:100%}}

.ranking-controls{gap:16px}.ranking-controls .frame-controls{gap:10px}.ranking-controls select{width:210px}@media(max-width:540px){.ranking-controls select{width:100%}}

.ranking-controls #ranking-days{width:125px}.ranking-controls{gap:14px}@media(max-width:540px){.ranking-controls #ranking-days{width:125px}.ranking-controls #team{flex:1;width:auto;min-width:150px}}

/* Matchroom controls and home-perspective form matrix. */
#matchroom>.section-head{border-top:1px solid var(--line);padding-top:24px;margin-top:0}
.matchroom-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:20px;margin:0 0 28px}.matchroom-controls>label:not(.singles-toggle){display:flex;flex-direction:column;gap:9px;font-size:14px}.matchroom-controls select{width:240px;max-width:100%}.matchroom-controls #matchroom-weeks{width:135px}.matchroom-controls .singles-toggle{border:0;background:none;padding:13px 0}.matchroom-panel{overflow:hidden}.matchroom-panel .panel-head{gap:20px;flex-wrap:wrap}.matchroom-panel .window{margin:0}.matchroom-panel h3{text-transform:uppercase}.matchroom-scope{margin:0 26px 20px;font-size:14px;color:var(--muted);line-height:1.6}.matchroom-legend{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:0 26px 22px;font-size:14px}.matchroom-legend>span{padding:8px 12px;border-radius:5px}.matchroom-legend>span:last-child{padding-left:0;color:var(--muted)}.matchup-win{background:#bfe6c5;color:#174b2b}.matchup-neutral{background:#ffe9a0;color:#674d07}.matchup-loss{background:#f3bdba;color:#742724}.matchup-table{table-layout:fixed;min-width:1080px;width:100%;border-collapse:separate;border-spacing:3px;white-space:normal}.matchup-table th{padding:12px 8px;text-align:center;font-weight:500;width:auto;background:var(--paper);vertical-align:middle}.matchup-table th:first-child{width:190px;text-align:left;position:sticky;left:0;z-index:1;background:#f0f3ee}.matchup-table td{padding:16px 8px;text-align:center;font-size:21px;font-weight:600;border:0;border-radius:3px}.matchup-player{display:block;font-size:14px;line-height:1.35;overflow-wrap:anywhere}.matchup-form{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:6px;line-height:1.4}.matchup-corner span{display:block;font-size:12px;letter-spacing:1px;line-height:2}.matchup-table td:focus-visible{outline:3px solid var(--ink);outline-offset:-3px}.matchroom-method{font-size:14px;color:var(--muted);line-height:1.7;padding:20px 26px;margin:0}.matchup-scroll{isolation:isolate}@media(max-width:800px){header{flex-wrap:wrap;gap:18px}nav{flex-wrap:wrap}.matchroom-controls{gap:16px}.matchroom-controls>label:not(.singles-toggle){flex:1;min-width:180px}.matchroom-controls select{width:100%}.matchup-table th:first-child{width:155px}.matchroom-panel .panel-head{flex-direction:column;align-items:flex-start}.matchroom-panel .window{margin:0}.matchroom-controls>label:has(#matchroom-weeks){min-width:135px}}

.matchroom-lineups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:0 0 28px}.lineup-group>label{display:block;font-size:14px;font-weight:600;margin-bottom:10px}.lineup-picker{position:relative;min-width:0}.lineup-field{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-height:54px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:text}.lineup-field:focus-within{outline:2px solid #82a838;outline-offset:2px}.lineup-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 5px 5px 9px;background:#edf3e9;border-radius:5px;font-size:14px;max-width:100%}.lineup-chip>span{overflow-wrap:anywhere}.lineup-chip button{border:0;background:none;color:var(--green);font-size:21px;line-height:1;padding:1px 4px;flex-shrink:0}.lineup-field input{border:0;outline:none;background:none;font-size:14px;min-width:130px;flex:1;width:130px;padding:8px;color:var(--ink)}.lineup-field input:disabled{cursor:default}.lineup-choices{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 30px #15332c20;z-index:5;max-height:280px;overflow-y:auto;padding:5px}.lineup-choices button{display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left;width:100%;padding:12px 10px;border:0;border-radius:4px;background:#fff;color:var(--ink);font-size:14px}.lineup-choices button:hover,.lineup-choices button:focus-visible{background:#edf3e9}.lineup-choices button small{color:var(--muted);font-size:12px;white-space:nowrap}.lineup-no-match{font-size:14px;color:var(--muted);padding:8px 10px}.matchup-table{width:max(100%,calc(190px + var(--matchroom-columns,9)*100px))}@media(max-width:800px){.matchroom-lineups{grid-template-columns:1fr}.lineup-choices button{padding:14px 10px}}

.matchroom-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin:-8px 0 28px}.matchroom-tabs button{border:0;background:none;color:var(--muted);padding:12px 0;font-size:14px}.matchroom-tabs button[aria-selected=true]{color:var(--green);font-weight:600;box-shadow:0 2px var(--green)}.plan-actions{display:flex;align-items:center;gap:18px;margin:0 0 24px;font-size:14px;color:var(--muted)}#plan-history-status{font-size:14px;color:var(--muted)}.plan-history-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}.plan-history-card h3{font-size:17px;margin:0 0 8px}.plan-history-card p,.saved-plan-panel .panel-head p{font-size:14px;color:var(--muted);margin:5px 0}.plan-history-card small{font-size:13px;color:var(--muted)}.plan-history-actions{display:flex;align-items:center;gap:18px;flex-shrink:0}.plan-history-actions a,.plan-pdf-link{font-size:14px;color:var(--green);white-space:nowrap}.delete-plan{border:0;background:none;color:#9c352e;font-size:14px;padding:10px 0}.saved-plan-panel{margin-top:25px;overflow:hidden}.saved-plan-panel .panel-head{gap:18px}.saved-plan-panel h3{text-transform:uppercase}#saved-plan-view .table-scroll{isolation:isolate}@media(max-width:800px){.plan-history-card{align-items:flex-start;flex-direction:column}.plan-history-actions{flex-wrap:wrap}.plan-actions{align-items:flex-start;flex-direction:column}.saved-plan-panel .panel-head{align-items:flex-start}}

.matchroom-controls input[type=date]{height:45px;padding:11px 12px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font-size:14px;min-width:160px}

.matchroom-header-actions{display:flex;flex-direction:column;align-items:flex-start;gap:13px}.matchroom-header-actions #plan-save-status{font-size:13px;color:var(--muted);max-width:260px}.matchroom-header-actions #plan-save-status:empty{display:none}

.plan-history-actions .plan-action-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--green);border-radius:7px;background:var(--green);color:#fff;padding:10px 15px;text-decoration:none;font-size:14px;font-weight:600;white-space:nowrap}.plan-history-actions .plan-action-button.secondary{background:#fff;color:var(--green)}.plan-history-actions .plan-action-button.delete-plan{background:#fff;border-color:#d8aaa5;color:#9c352e}.plan-history-actions .plan-action-button:disabled{opacity:.6;cursor:wait}

#matchroom-heatmap{margin-bottom:28px}#matchroom-heatmap .matchroom-legend{padding-bottom:22px}#matchroom-heatmap .matchup-scroll{padding-bottom:0}

#matchroom-planning>.plan-actions{justify-content:flex-end}@media(max-width:800px){#matchroom-planning>.plan-actions{align-items:flex-end;text-align:right}}

#matchroom-planning>.plan-actions{flex-direction:row;justify-content:flex-end;align-items:center;text-align:right}#matchroom-planning>.plan-actions #save-matchroom-players{order:2}#matchroom-planning>.plan-actions #player-save-status{order:1}#player-save-status:empty{display:none}

.matchroom-controls>.plan-actions{margin:0 0 0 auto;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:14px;text-align:right}.matchroom-controls>.plan-actions #save-matchroom-players{order:2;white-space:nowrap}.matchroom-controls>.plan-actions #player-save-status{order:1}@media(max-width:800px){.matchroom-controls>.plan-actions{margin-left:auto;flex-direction:row;align-items:center}}

.matchroom-controls>.plan-actions{margin-left:8px;justify-content:flex-start;text-align:left}.matchroom-controls>.plan-actions #save-matchroom-players{order:0}.matchroom-controls>.plan-actions #player-save-status{order:1}@media(max-width:800px){.matchroom-controls>.plan-actions{margin-left:8px}}

.matchroom-controls>.plan-actions{flex:0 0 auto;flex-wrap:nowrap;gap:12px}.matchroom-controls #save-matchroom-players{width:122px;flex:none}.matchroom-controls #restart-matchroom-players{width:90px;flex:none;order:1}.matchroom-controls .update-button:disabled{background:#dfe4df;color:#67776f;opacity:1;cursor:default}

#fixtures-page>.section-head{border-top:1px solid var(--line);padding-top:24px;margin-top:0}.upcoming-controls{display:flex;align-items:center;gap:16px;align-self:flex-end;margin-bottom:10px}.upcoming-controls select{width:240px}#fixture-timespan{width:160px}.upcoming-list{display:grid;gap:16px;margin-bottom:28px}.upcoming-card{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 26px}.upcoming-card h3{font-size:20px;margin:10px 0;line-height:1.4}.upcoming-card h3 span{color:var(--muted);font-weight:400;margin:0 6px}.upcoming-card p{font-size:14px;color:var(--muted);margin:0;line-height:1.6}.upcoming-card .upcoming-date{font-weight:600;color:var(--green)}.upcoming-card .update-button{white-space:nowrap;flex-shrink:0}#upcoming-status{font-size:14px;color:var(--muted);line-height:1.6;margin-bottom:20px}@media(max-width:800px){#fixtures-page>.section-head{flex-wrap:wrap}.upcoming-controls{flex-wrap:wrap}.upcoming-card{align-items:flex-start;flex-direction:column}}

#result-timespan{width:160px}.results-controls{flex-wrap:wrap}

/* Shared sizing for page filters and checkbox labels. */
:root{--filter-text-size:0.875rem;--timespan-width:160px;--team-select-width:240px}
select{font-family:inherit;font-size:var(--filter-text-size);font-weight:400;line-height:1.25;min-height:46px;padding:12px 40px 12px 16px;max-width:100%}
.singles-toggle,.expand-toggle{font-size:var(--filter-text-size);font-weight:400;line-height:1.25;color:var(--ink)}
.ranking-controls #ranking-days,#result-timespan,#fixture-timespan,.matchroom-controls #matchroom-weeks{width:var(--timespan-width);flex:none;max-width:100%}
.ranking-controls #team,#result-team,#fixture-team,.matchroom-controls #matchroom-home,.matchroom-controls #matchroom-away{width:var(--team-select-width);flex:none;max-width:100%}
.ranking-controls,.results-controls,.upcoming-controls{gap:16px;flex-wrap:wrap;min-width:0;max-width:100%}
.matchroom-controls input[type=date]{height:46px;font-size:var(--filter-text-size)}
@media(max-width:800px){.matchroom-controls #matchroom-home,.matchroom-controls #matchroom-away{width:100%}}
@media(max-width:540px){.ranking-controls,.results-controls,.upcoming-controls{width:100%;justify-content:flex-start}.ranking-controls #team,.results-controls .team-label,#fixture-team{flex:1 1 200px;min-width:0}.results-controls #result-team{width:100%}.upcoming-controls{align-self:flex-start;margin-bottom:0}}


/* Rankings refresh action and outlined header sign-out. */
.ranking-controls #update-results{min-height:46px;min-width:160px;flex:none;white-space:nowrap}
.logout-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 18px;border:1px solid var(--green);border-radius:7px;background:#fff;color:var(--green);font-size:var(--filter-text-size);font-weight:500;line-height:1.25;white-space:nowrap}
.logout-button:hover{background:#edf3e9}.logout-button:disabled{opacity:.65;cursor:wait}

/* Matching account buttons: passive username and green sign-out action. */
.auth-controls .signed-in{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 18px;border:1px solid var(--line);border-radius:7px;background:#e9ece7;color:var(--muted);font-size:var(--filter-text-size);font-weight:500;line-height:1.25;white-space:nowrap}
.auth-controls .logout-button{min-height:46px;padding:12px 18px;border:0;background:var(--green);color:#fff;font-size:var(--filter-text-size);font-weight:600;line-height:1.25}
.auth-controls .logout-button:hover{background:var(--green)}

/* Keep the standalone Matchroom wordmark visible at every screen size. */
.brand>.brand-sub{display:inline;margin-left:0}

/* Password recovery uses the existing login form styling. */
#forgot-password-dialog{max-width:460px}.password-link{border:0;background:none;color:var(--green);font-size:14px;text-decoration:underline;text-underline-offset:3px;padding:8px 0}.reset-status{font-size:14px;line-height:1.6;color:var(--green);margin:0;min-height:22px}.reset-shell{max-width:460px;margin:64px auto}.reset-panel{padding:32px}.reset-panel h1{font-size:44px;text-transform:none;letter-spacing:-1px}.reset-return{display:inline-block;margin-top:20px;color:var(--green);font-size:14px}@media(max-width:540px){.reset-shell{margin:32px auto}.reset-panel{padding:26px 22px}}

/* Admin settings reuse the Matchroom form sizes. */
.settings-panel {padding:28px;}
.settings-form {display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap;margin-top:24px;}
.settings-form label {display:flex;flex-direction:column;gap:8px;font-size:var(--filter-text-size,14px);}
.settings-form input {box-sizing:border-box;min-height:46px;border:1px solid var(--line,#d8dfd7);border-radius:7px;padding:10px 14px;font:inherit;background:white;color:inherit;min-width:260px;}
.settings-form select {min-width:150px;}
.settings-panel table th,.settings-panel table td {text-align:left;}
@media(max-width:600px) {.settings-panel{padding:18px;}.settings-form label,.settings-form input{width:100%;min-width:0;}}

.settings-form label {flex:1 1 220px;min-width:0;}
.settings-form input,.settings-form select {width:100%;min-width:0;}
.settings-form button {min-height:46px;}
.settings-panel table {min-width:760px;}

/* Keep rounded panels clear of the page edge, outside their borders. */
main {padding-bottom:48px;}
@media(max-width:600px) {main {padding-bottom:32px;}}

.channel-options {display:grid;gap:16px;margin:24px 0;}
.channel-option {display:flex;align-items:center;gap:12px;font-size:var(--filter-text-size);cursor:pointer;}
.channel-option input {width:18px;height:18px;accent-color:var(--green);margin:0;}
#channels-status {font-size:14px;color:var(--muted);line-height:1.6;}

#upcoming-status:empty {display:none;}

.user-row-actions {display:flex;align-items:center;gap:12px;}

#audit-more {margin-top:20px;}
#audit-status {font-size:14px;color:var(--muted);line-height:1.6;}

/* Main page links sit below the introduction divider. */
.page-navigation {border-top:1px solid var(--line);padding:16px 0;margin:0 0 24px;flex-wrap:wrap;}
.page-navigation~section>.section-head {border-top:0!important;padding-top:0!important;margin-top:0;}

.page-navigation button {font-size:16px;}

/* Main links and subtabs share the same size and active indicator. */
.page-navigation button,.matchroom-tabs button {font-size:14px;font-weight:400;}
.page-navigation button.active,.matchroom-tabs button[aria-selected=true] {font-weight:400;color:var(--green);box-shadow:0 2px var(--green);}

.user-management-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;}
.user-management-heading h3 {margin:0;}
.user-form-actions {display:flex;align-items:center;gap:12px;align-self:flex-end;}
.user-name-active {display:inline-block;padding:5px 10px;border-radius:6px;background:var(--lime);color:var(--ink);font-weight:700;}


.user-name-badge {display:inline-block;padding:5px 10px;border-radius:6px;font-weight:700;}
.user-name-invited {background:#e9ece7;color:var(--muted);}
.user-name-disabled {background:#f5d3d0;color:#7e302d;}

.user-record-dates {display:flex;flex-wrap:wrap;gap:24px;flex-basis:100%;}
.user-record-dates>div {display:flex;flex-direction:column;gap:7px;}
.user-record-dates strong {font-size:14px;font-weight:400;}

/* User record: dates and names in the first row, controls in the second. */
.settings-form .user-form-top,.settings-form .user-form-bottom {display:grid;gap:12px;flex-basis:100%;min-width:0;align-items:end;}
.settings-form .user-form-top {grid-template-columns:repeat(3,minmax(0,1.1fr)) minmax(0,.9fr) minmax(0,.9fr) minmax(0,1fr);}
.settings-form .user-record-dates {display:contents;}
.settings-form .user-form-bottom {grid-template-columns:minmax(0,1.4fr) minmax(0,1.1fr) minmax(0,.7fr) minmax(0,.9fr) auto;}
.settings-form input[readonly] {background:#f1f3ef;color:var(--muted);padding-left:8px;padding-right:8px;}
.settings-form .user-form-actions {flex-wrap:nowrap;justify-content:flex-end;}
#delete-user:disabled {background:#dfe4df;color:#67776f;opacity:1;cursor:default;}
@media(max-width:950px) {.settings-form .user-form-top,.settings-form .user-form-bottom{grid-template-columns:repeat(2,minmax(0,1fr));}.settings-form .user-form-actions{grid-column:1/-1;}}
@media(max-width:540px) {.settings-form .user-form-top,.settings-form .user-form-bottom{grid-template-columns:1fr;}}

.plan-history-card p,.plan-history-card small{font-size:12px;}

/* Subtle feedback without moving controls or animating layout. */
@media (prefers-reduced-motion:no-preference) {
  button,a,input,select {transition:background-color 140ms ease,border-color 140ms ease,color 140ms ease,box-shadow 140ms ease;}
  main>section:not([hidden]),[role=tabpanel]:not([hidden]) {animation:matchroom-appear 140ms ease-out;}
  .fixture-details[open] table {animation:matchroom-appear 140ms ease-out;}
  @keyframes matchroom-appear {from{opacity:.35;}to{opacity:1;}}
}

.update-button:not(:disabled):hover,.plan-action-button:not(.secondary):not(.delete-plan):hover {background-color:#103e30;}
.plan-history-actions .plan-action-button.secondary:hover {background-color:#edf3e9;}
.page-navigation button:hover,.matchroom-tabs button:hover {color:var(--green);}

/* Reversible local preview: the introduction folds towards its divider handle. */
.intro-fold {display:grid;grid-template-rows:1fr;transition:grid-template-rows 620ms cubic-bezier(.4,0,.2,1);}
.intro-fold-inner {min-height:0;overflow:hidden;}
.intro-fold .hero {transform-origin:50% 100%;opacity:1;transition:transform 620ms cubic-bezier(.4,0,.2,1),opacity 400ms ease;}
.intro-fold.is-collapsed {grid-template-rows:0fr;}
.intro-fold.is-collapsed .hero {transform:scale(.08,.06);opacity:0;}
.intro-handle {height:0;position:relative;z-index:2;}
.intro-toggle {position:absolute;left:50%;top:-19px;transform:translateX(-50%);width:38px;height:38px;display:grid;place-items:center;padding:7px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--green);}
.intro-toggle:hover {background:#e9eee7;}
.intro-toggle svg {width:20px;height:22px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform 620ms cubic-bezier(.4,0,.2,1);}
.intro-toggle[aria-expanded=true] svg {transform:rotate(180deg);}
@media(prefers-reduced-motion:reduce) {.intro-fold,.intro-fold .hero,.intro-toggle svg {transition:none;}}

@media(min-width:541px) {.intro-fold-inner {margin-inline:-24px;padding-inline:24px;}}

/* Dock the original left-to-right navigation in the header when folded. */
.intro-nav-home {display:flow-root;overflow:hidden;transition:height 620ms cubic-bezier(.4,0,.2,1);}
.intro-nav-home~section>.section-head {border-top:0!important;padding-top:0!important;margin-top:0;}
.header-navigation {flex:1;min-width:0;margin-left:0;}
body.intro-is-collapsed>header .brand {flex:0 0 var(--navigation-offset,220px);}
.header-navigation .page-navigation {border:0;padding:0;margin:0;flex-wrap:nowrap;justify-content:flex-start;}
body.intro-is-collapsed>header {position:sticky;top:0;z-index:20;}
body.intro-is-collapsed main {padding-top:34px;}
body.intro-is-collapsed>header .auth-controls {margin-left:28px;}
@media(max-width:1900px) {
  body.intro-is-collapsed>header {flex-wrap:wrap;gap:18px 24px;}
  body.intro-is-collapsed>header .brand {order:1;flex:0 0 auto;}
  body.intro-is-collapsed>header .auth-controls {order:2;margin-left:auto;}
  .header-navigation {order:3;flex:0 0 calc(100% - var(--navigation-offset,0px));margin-left:var(--navigation-offset,0px);}
  .header-navigation .page-navigation {flex-wrap:wrap;}
}
@media(prefers-reduced-motion:reduce) {.intro-nav-home {transition:none;}}

body.intro-is-collapsed .intro-handle {top:-34px;z-index:21;}

/* Keep the same content width on short and long pages. */
html {scrollbar-gutter:stable;}
@supports not (scrollbar-gutter:stable) {html {overflow-y:scroll;}}
.matchroom-controls>.plan-actions {margin-left:auto;}
.matchroom-controls>.plan-actions .update-button {min-height:46px;}

/* Upcoming fixtures: compact cards, three across on desktop. */
.upcoming-list {grid-template-columns:repeat(3,minmax(0,1fr));}
.upcoming-list>.empty {grid-column:1/-1;}
.upcoming-card {min-width:0;padding:20px;gap:16px;flex-direction:column;align-items:stretch;}
.upcoming-card h3 {font-size:14px;line-height:1.45;margin:10px 0;overflow-wrap:anywhere;}
.upcoming-card p {font-size:12px;}
.upcoming-card .upcoming-date {font-size:13px;}
.upcoming-card .update-button {align-self:flex-start;margin-top:auto;font-size:13px;min-height:40px;padding:10px 14px;}
@media(max-width:1050px) {.upcoming-list {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:680px) {.upcoming-list {grid-template-columns:1fr;}}

.upcoming-card h3 .fixture-versus {margin:0 3px;color:var(--muted);font-weight:400;}

#settings-audit-panel td.audit-impacted {white-space:normal;overflow-wrap:anywhere;min-width:180px;max-width:340px;}

#settings-audit-panel .audit-actions {width:100px;min-width:100px;text-align:center;}

/* Responsive pass: comfortable monitor width, compact phone chrome and complete records. */
main {max-width:1480px;padding-inline:clamp(16px,3vw,40px);}
body>header {padding-inline:clamp(16px,3vw,40px);}
#rankings-table .player-link {overflow-wrap:anywhere;}
@media(min-width:601px) and (max-width:1100px) {
  #rankings-table th,#players td {padding:14px 10px;}
  #rankings .bar {width:44px;}
  #rankings>.section-head {flex-wrap:wrap;align-items:flex-start;}
  #rankings .ranking-controls {width:100%;align-self:auto;margin-bottom:0;justify-content:flex-start;}
}
@media(max-width:600px) {
  :root {--filter-text-size:16px;}
  body>header,body.intro-is-collapsed>header {padding:14px 16px;gap:8px 12px;justify-content:space-between;}
  header .brand {flex:0 0 auto;}
  header .brand>.brand-sub {font-size:11px;letter-spacing:1.4px;}
  header .auth-controls .signed-in {display:none;}
  body.intro-is-collapsed>header .auth-controls {margin-left:auto;}
  .header-navigation {margin-left:0;flex-basis:100%;}
  .page-navigation,.header-navigation .page-navigation {gap:14px;flex-wrap:nowrap;}
  .page-navigation button,.matchroom-tabs button {min-height:44px;flex:none;}
  .page-navigation {overflow-x:auto;scrollbar-width:none;}
  .page-navigation::-webkit-scrollbar {display:none;}
  .hero {padding:28px 0;}
  .hero h1 {font-size:64px;}
  .hero .table-art {height:205px;}
  input,select,.login-form input,.settings-form input,.settings-form select {font-size:16px;}
  select,input[type=date] {min-height:46px;}
  .singles-toggle,.expand-toggle {min-height:44px;font-size:16px;}
  .ranking-controls {display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;}
  .ranking-controls #ranking-days {width:100%;}
  .ranking-controls #team {width:100%;min-width:0;}
  .ranking-controls #update-results {grid-column:1/-1;width:100%;}
  .stats {gap:10px;}
  .stat {padding:16px;}
  .stat strong {font-size:28px;}
  .panel-head {padding:20px;}
  #rankings .panel>.stats {padding:0 16px 16px;}
  .window {padding-left:12px;gap:6px;}
  .window strong {font-size:14px;}
  #rankings-table,#users-table,#audit-table {display:block;white-space:normal;width:100%;}
  #rankings-table>thead,#users-table>thead,#audit-table>thead {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
  #players,#settings-users,#audit-entries {display:block;width:100%;}
  #players>tr {display:grid;grid-template-columns:repeat(10,minmax(0,1fr));column-gap:4px;row-gap:14px;padding:16px;border-top:1px solid var(--line);}
  #players td {display:block;min-width:0;width:auto;padding:0;border:0;text-align:center;}
  #players td:nth-child(1) {grid-column:1;grid-row:1;align-self:center;}
  #players td:nth-child(2) {grid-column:2/9;grid-row:1;padding-left:8px;align-self:center;text-align:left;}
  #players td:nth-child(8) {grid-column:9/11;grid-row:1;align-self:center;}
  #players td:nth-child(3) {grid-column:1/3;grid-row:2;}
  #players td:nth-child(4) {grid-column:3/5;grid-row:2;}
  #players td:nth-child(5) {grid-column:5/7;grid-row:2;}
  #players td:nth-child(6) {grid-column:7/9;grid-row:2;}
  #players td:nth-child(7) {grid-column:9/11;grid-row:2;}
  #players td:nth-child(n+3):nth-child(-n+7)::before {content:attr(data-label);display:block;margin-bottom:5px;font-size:11px;color:var(--muted);font-weight:400;}
  #players .perf {justify-content:flex-end;gap:0;white-space:nowrap;}
  #players .bar {display:none;}
  #players .player-link {font-size:14px;line-height:1.5;white-space:normal;min-height:36px;}
  #players td.empty {grid-column:1/-1;padding:12px;}
  .inline-scorecard th,.inline-scorecard td {padding:10px 6px;white-space:normal;font-size:13px;}
  .inline-scorecard {table-layout:fixed;}
  .inline-scorecard th:first-child,.inline-scorecard td:first-child,.inline-scorecard th:last-child,.inline-scorecard td:last-child {width:42%;}
  .inline-scorecard th:nth-child(2),.inline-scorecard td:nth-child(2) {width:16%;}
  .upcoming-card {padding:18px;}
  .upcoming-card p {font-size:13px;}
  .upcoming-card .update-button {font-size:14px;min-height:44px;}
  .matchroom-controls {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;}
  .matchroom-controls>label:not(.singles-toggle) {min-width:0;font-size:16px;}
  .matchroom-controls>label:nth-child(1),.matchroom-controls>label:nth-child(2) {grid-column:1/-1;}
  .matchroom-controls #matchroom-home,.matchroom-controls #matchroom-away,.matchroom-controls #matchroom-weeks,.matchroom-controls input[type=date] {width:100%;min-width:0;max-width:none;font-size:16px;}
  .matchroom-controls>.plan-actions {grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;margin:0;gap:12px;}
  .matchroom-controls #save-matchroom-players,.matchroom-controls #restart-matchroom-players {width:100%;min-height:46px;}
  .matchroom-lineups {grid-template-columns:1fr;gap:20px;}
  .lineup-group>label {font-size:16px;}
  .lineup-field {padding:8px;gap:6px;}
  .lineup-chip {padding:0 2px 0 10px;min-height:44px;font-size:14px;}
  .lineup-chip button {min-width:44px;min-height:44px;padding:6px;}
  .lineup-field input {font-size:16px;min-height:44px;}
  .lineup-choices button {min-height:48px;}
  .matchroom-scope {margin:0 18px 16px;}
  .matchroom-legend {padding:0 18px 18px;gap:8px;font-size:12px;}
  .matchroom-legend>span {padding:7px 8px;}
  .matchup-table {min-width:880px;}
  .matchup-table th:first-child {position:sticky;left:0;z-index:1;background:#edf3e9;}
  .plan-history-card {padding:18px;gap:16px;}
  .plan-history-actions {gap:10px;}
  .plan-history-actions .plan-action-button {min-height:44px;}
  .settings-form .user-form-actions {flex-wrap:wrap;gap:8px;justify-content:flex-start;}
  .settings-form .user-form-actions .update-button {min-height:44px;}
  #settings-users>tr,#audit-entries>tr {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;padding:18px 0;border-top:1px solid var(--line);}
  #settings-users td,#audit-entries td {display:block;min-width:0;width:auto;max-width:none;border:0;padding:0;white-space:normal;overflow-wrap:anywhere;text-align:left;}
  #settings-users td::before,#audit-entries td::before {content:attr(data-label);display:block;color:var(--muted);font-size:12px;font-weight:400;margin-bottom:5px;}
  #settings-users td:nth-child(3),#settings-users td:last-child {grid-column:1/-1;}
  .user-row-actions {gap:10px;flex-wrap:wrap;}
  .user-row-actions .update-button {min-height:44px;}
  #audit-entries td:first-child,#audit-entries td.audit-impacted {grid-column:1/-1;}
  #settings-audit-panel td.audit-impacted {min-width:0;max-width:none;}
  #settings-audit-panel .audit-actions {min-width:0;width:auto;text-align:center;justify-self:end;}
  #audit-entries .update-button {min-height:44px;}
}

@media(max-width:600px) {
  .results-controls,.upcoming-controls {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;}
  .upcoming-controls #fixture-timespan,.upcoming-controls #fixture-team,.results-controls #result-timespan,.results-controls .team-label,.results-controls #result-team {width:100%;min-width:0;max-width:none;}
  .results-controls .expand-toggle {grid-column:1/-1;}
}

@media(max-width:600px) {
  .header-navigation .page-navigation {padding-bottom:3px;}
}

/* Settings schedules use the same controls, type and buttons as the other tabs. */
.release-details {margin-bottom:28px;padding-bottom:22px;border-bottom:1px solid var(--line);}
.release-details p {font-size:14px;color:var(--muted);}
#settings-schedules-panel>.panel {margin-bottom:24px;}
.schedule-form {display:flex;flex-wrap:wrap;align-items:flex-end;gap:20px;margin-top:22px;}
.schedule-form>label,.schedule-form fieldset>label {display:grid;gap:8px;font-size:var(--filter-text-size);}
.schedule-form input[type=number],.schedule-form input[type=time] {width:200px;min-height:46px;padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font:inherit;}
.schedule-form>p {flex-basis:100%;margin:0;min-height:20px;font-size:14px;color:var(--muted);}
.schedule-form fieldset {display:flex;gap:20px;align-items:flex-end;flex-wrap:wrap;border:0;padding:0;margin:0;}
.schedule-form fieldset:disabled {opacity:.5;}
.schedule-form .schedule-check,.schedule-days label {display:flex;align-items:center;gap:8px;min-height:46px;font-size:var(--filter-text-size);}
.schedule-days {display:flex;flex-wrap:wrap;gap:12px;}
.schedule-form button {min-height:46px;}
@media(max-width:600px) {.settings-tabs {overflow-x:auto;flex-wrap:nowrap;}.schedule-form,.schedule-form fieldset {align-items:stretch;}.schedule-form>label,.schedule-form fieldset,.schedule-form fieldset>label {width:100%;}.schedule-form input[type=number],.schedule-form input[type=time] {width:100%;font-size:16px;}.schedule-days {gap:10px 18px;}}
