:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#18372e;background:#f4f7f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:0;border-radius:12px;background:#184f3e;color:#fff;padding:12px 16px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:disabled{opacity:.4;cursor:not-allowed}button.secondary{background:#e9efeb;color:#214c3e}button.small{font-size:12px;padding:8px}.shell{max-width:680px;margin:auto;min-height:100vh;padding-bottom:88px}header{padding:32px 22px 20px;display:flex;align-items:center;justify-content:space-between}h1{margin:5px 0 0;font-size:27px;letter-spacing:-.7px}h2{font-size:19px;margin:0 0 12px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.5px;color:#5d9b78}.iconbutton{background:#e4eee8;color:#24523f;padding:10px}.content{padding:0 18px}.welcome{margin:0 0 15px}.hero{background:#143e33;color:#fff;border-radius:22px;padding:24px;margin-bottom:16px;box-shadow:0 12px 24px #173d3120}.hero h2{font-size:25px;margin:12px 0}.hero p{display:flex;align-items:center;gap:7px;color:#d6e9de}.hero small{color:#c6d8cd}.tag{background:#d4f4c3;color:#2c6034;padding:6px 9px;border-radius:30px;font-size:11px;font-weight:800;display:inline-block}.tag.closed{background:#e8e9e8;color:#777}.choices{display:flex;gap:9px;margin:17px 0}.choices button{flex:1;background:#edf2ee;color:#244d3d;border:1px solid #dbe5dd}.hero .choices button{background:#ffffff1c;color:#fff;border:1px solid #ffffff40}.choices button.selected{background:#bff18c;color:#18412c;border-color:#bff18c}.choices button.selected.no{background:#f5d4d0;color:#7b3028;border-color:#f5d4d0}.panel{background:#fff;border:1px solid #e2eae3;border-radius:18px;padding:20px;margin-bottom:14px;box-shadow:0 2px 9px #0d38290a}.panel p,.muted{color:#718076;font-size:14px;line-height:1.5}.panel h2 svg{vertical-align:middle}.eventtop{display:flex;justify-content:space-between;align-items:flex-start}.eventtop p{margin:4px 0}.event .choices{margin:14px 0 8px}details{font-size:13px;color:#60786a}summary{cursor:pointer}.responses{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.responses span{background:#f3f6f4;padding:7px;border-radius:7px}.person{display:flex;align-items:center;gap:12px;padding:12px 16px}.person p{margin:3px 0 0;font-size:12px}.avatar{background:#e3f4e4;color:#24613d;border-radius:50%;width:43px;height:43px;display:grid;place-items:center;font-weight:800}.grow{flex:1}nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:#fff;border-top:1px solid #e2eae3;padding:8px max(8px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));z-index:5}nav button{flex:1;max-width:135px;background:transparent;color:#819088;display:flex;flex-direction:column;gap:4px;font-size:11px;padding:8px 3px}nav button.active{color:#196e47;background:#eaf5eb}label{display:block;font-size:13px;font-weight:700;margin:13px 0;color:#395b4c}input{display:block;width:100%;margin-top:6px;padding:12px;border:1px solid #d5e0d8;border-radius:10px;background:#fff;color:#18372e}form button{width:100%;margin:10px 0}.login{max-width:430px;margin:0 auto;padding:70px 20px;text-align:center}.login .panel{text-align:left;margin-top:30px}.login>p,.login>small{color:#708276}.brandmark{font-size:56px}.error,.errorbox{color:#9d2f2f}.errorbox{background:#ffe5e2;border-radius:12px;padding:12px;margin-bottom:12px;cursor:pointer}.court-summary{margin:18px 0;padding:16px;border-radius:14px;background:#f3f7f4;border:1px solid #dce8df}.court-summary h3{margin:0 0 12px;font-size:16px}.court-summary-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-top:1px solid #dce8df}.court-summary-item strong{font-size:14px}.court-summary-item p{margin:4px 0 0;font-size:13px;opacity:.8}.court-summary-item span{font-size:13px;font-weight:600;text-align:right}.hero .court-summary{background:#ffffff14;border-color:#ffffff26;color:#fff}.hero .court-summary-item{border-color:#ffffff26}.hero .court-summary-item span{color:#bbf28f}@media(max-width:480px){.court-summary-item{align-items:flex-start;flex-direction:column;gap:6px}.court-summary-item span{text-align:left}}.playing-card{padding:22px}.playing-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}.playing-header h2{margin:0 0 5px;font-size:19px}.playing-header p{margin:0;font-size:13px;color:#718078}.playing-badge{padding:6px 11px;border-radius:20px;font-size:12px;font-weight:700;white-space:nowrap}.playing-badge.active{color:#176b4d;background:#dcf5d4}.playing-badge.standby{color:#7c5a20;background:#fff0cd}.playing-badge.paused{color:#65716c;background:#edf0ee}.playing-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-top:1px solid #e2ebe5}.playing-description{flex:1;min-width:0}.playing-description strong{display:block;font-size:15px;margin-bottom:4px}.playing-description span{display:block;font-size:13px;line-height:1.4;color:#718078}.playing-card button.playing-switch{display:block;position:relative;flex:0 0 48px;width:48px;min-width:48px;height:28px;padding:3px;margin:0;border:none;border-radius:30px;background:#d4ded7;cursor:pointer;transition:background .2s}.playing-card button.playing-switch:after{content:"";display:block;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0003;transition:transform .2s}.playing-card button.playing-switch[aria-checked=true]{background:#176b4d}.playing-card button.playing-switch[aria-checked=true]:after{transform:translate(20px)}.playing-card button.playing-switch:focus-visible{outline:3px solid #91c5a8;outline-offset:3px}.playing-card button.playing-switch:disabled{opacity:.6;cursor:wait}.playing-feedback{margin:12px 0 0;font-size:12px;color:#176b4d}.rotation-panel{padding:22px}.rotation-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:20px}.rotation-heading h2{margin:0 0 5px;font-size:19px}.rotation-heading p{margin:0;font-size:13px;color:#718078}.rotation-label{background:#e7f3eb;color:#176b4d;border-radius:20px;padding:6px 12px;font-size:12px;font-weight:700}.rotation-controls{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.rotation-controls label{display:flex;flex-direction:column;gap:7px;flex:1;min-width:190px;font-size:13px;font-weight:600}.rotation-controls select{width:100%;min-height:42px;border:1px solid #ccdcd1;border-radius:10px;padding:8px 12px;background:#fff;color:#243b2c;font-size:14px}.rotation-panel button.rotation-calculate{min-height:42px;border:none;border-radius:10px;padding:10px 16px;background:#176b4d;color:#fff;font-weight:700;cursor:pointer}.rotation-panel button.rotation-calculate:disabled{opacity:.5;cursor:not-allowed}.rotation-results{margin-top:22px}.rotation-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:24px}.rotation-stats>div{background:#f0f6f1;border-radius:12px;padding:15px 8px;text-align:center}.rotation-stats strong{display:block;font-size:25px;color:#176b4d}.rotation-stats span{display:block;margin-top:4px;font-size:12px;color:#607568}.rotation-results h3{font-size:15px;margin:20px 0 10px}.rotation-players{display:flex;flex-direction:column;gap:7px}.rotation-player{display:flex;align-items:center;gap:12px;border:1px solid #e3ebe5;border-radius:11px;padding:11px 12px}.rotation-number{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;background:#e8f2eb;color:#176b4d;border-radius:50%;font-size:12px;font-weight:700}.rotation-player>div{flex:1;min-width:0}.rotation-player strong{display:block;font-size:14px}.rotation-player small{color:#718078;font-size:12px}.rotation-selected,.rotation-reserve{font-size:11px;font-weight:700;white-space:nowrap}.rotation-selected{color:#176b4d}.rotation-reserve{color:#a26a20}.rotation-empty,.rotation-note{font-size:13px;color:#718078}.rotation-note{margin-top:20px}.rotation-error{color:#b42318;font-size:13px}@media(max-width:520px){.rotation-controls{flex-direction:column;align-items:stretch}.rotation-controls label{min-width:0}.rotation-stats span{font-size:11px}}.admin-workspace{display:flex;flex-direction:column;gap:18px}.admin-workspace-header h2{margin:0 0 5px;font-size:21px}.admin-workspace-header p{margin:0;color:#718078;font-size:13px}.admin-subnav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.admin-subnav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:85px;padding:13px 8px;margin:0;border:1px solid #e0e9e3;border-radius:13px;background:#fff;color:#607568;font-size:13px;font-weight:700;line-height:1.3;cursor:pointer;transition:background .2s,border-color .2s}.admin-subnav button.selected{border-color:#176b4d;background:#e7f3eb;color:#176b4d}.admin-subnav button:hover{border-color:#176b4d}.admin-subnav button:focus-visible{outline:3px solid #91c5a8;outline-offset:3px}.admin-subnav button span{text-align:center}.admin-tabcontent{display:flex;flex-direction:column;gap:16px;min-width:0}@media(max-width:650px){.admin-subnav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.admin-subnav button{min-height:72px;gap:6px;padding:10px 6px;font-size:12px}}.rotation-approval{margin-top:22px;padding-top:18px;border-top:1px solid #e3ebe5}.rotation-panel button.rotation-approve{width:100%;min-height:46px;border:0;border-radius:11px;background:#176b4d;color:#fff;font-size:14px;font-weight:700;cursor:pointer}.rotation-panel button.rotation-approve:disabled{background:#d4ded7;color:#617368;cursor:not-allowed}.rotation-deadline{margin:10px 0;color:#8a6330;font-size:13px}.rotation-confirmation{margin-top:15px;padding:12px;border-radius:10px;background:#e2f5df;color:#176b4d;font-size:13px;font-weight:600}.rotation-availability{margin-top:22px;padding:18px;border:1px solid #e0e9e3;border-radius:13px;background:#fafcfb}.rotation-availability-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:15px}.rotation-availability-head h3{margin:0 0 5px;font-size:16px}.rotation-availability-head p{margin:0;color:#718078;font-size:12px}.rotation-availability-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #e3ebe5}.rotation-availability-row strong{display:block;font-size:14px}.rotation-availability-row small{display:block;margin-top:3px;color:#8a6330;font-size:11px}.rotation-availability-row select{flex:0 0 135px;width:135px;min-height:39px;padding:7px 9px;border:1px solid #ccdcd1;border-radius:9px;background:#fff;color:#243b2c;font-size:13px}.rotation-availability button.rotation-all-yes{width:100%;margin-top:15px;min-height:43px;border:none;border-radius:10px;background:#176b4d;color:#fff;font-weight:700;cursor:pointer}.rotation-availability button.rotation-all-yes:disabled{opacity:.5;cursor:not-allowed}.rotation-availability-success{font-size:13px;color:#176b4d;font-weight:600}.rotation-courts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rotation-court{border:1px solid #dce9df;border-radius:13px;padding:14px;background:#fafcfb;min-width:0}.rotation-court-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:13px;padding-bottom:12px;border-bottom:1px solid #dce9df}.rotation-court-top strong{font-size:15px;color:#176b4d}.rotation-court-top span{font-size:12px;color:#607568}.rotation-court-slot{display:flex;align-items:center;gap:9px;min-height:48px;padding:7px 0}.rotation-court-pos{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:#e1f1e5;color:#176b4d;font-size:12px;font-weight:700}.rotation-court-player{min-width:0}.rotation-court-player strong{display:block;font-size:13px;overflow-wrap:anywhere}.rotation-court-player small{display:block;margin-top:2px;font-size:11px;color:#718078}.rotation-court-empty strong{color:#9aa8a0;font-weight:400}.rotation-court-empty .rotation-court-pos{background:#edf0ee;color:#9aa8a0}@media(max-width:520px){.rotation-courts{grid-template-columns:1fr}}.rotation-duel{display:flex;flex-direction:column;gap:4px}.rotation-duo{background:#fff;border:1px solid #dce9df;border-radius:11px;padding:10px 12px}.rotation-duo-label{color:#176b4d;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;margin-bottom:5px}.rotation-versus{padding:7px 0;text-align:center;font-size:14px;font-weight:900;color:#176b4d}.rotation-duo .rotation-court-slot{min-height:37px;padding:4px 0}.fixed-duo-manager{border:1px solid #dce9df;border-radius:13px;background:#fff;overflow:hidden}.fixed-duo-manager summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px;cursor:pointer}.fixed-duo-manager summary strong,.fixed-duo-manager summary small{display:block}.fixed-duo-manager summary strong{font-size:15px}.fixed-duo-manager summary small{margin-top:4px;color:#718078;font-size:12px}.fixed-duo-count{border-radius:20px;background:#e7f3eb;color:#176b4d;padding:6px 10px;font-size:12px;font-weight:700;white-space:nowrap}.fixed-duo-body{padding:17px;border-top:1px solid #e3ebe5}.fixed-duo-body>p{font-size:13px;color:#718078}.fixed-duo-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fixed-duo-form label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600}.fixed-duo-form select{width:100%;min-height:42px;padding:8px;border:1px solid #ccdcd1;border-radius:9px;background:#fff}.fixed-duo-body button.fixed-duo-add{width:100%;min-height:43px;margin:14px 0;border:0;border-radius:10px;background:#176b4d;color:#fff;font-weight:700;cursor:pointer}.fixed-duo-body button:disabled{opacity:.5;cursor:not-allowed}.fixed-duo-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid #e3ebe5}.fixed-duo-row strong,.fixed-duo-row small{display:block}.fixed-duo-row strong{font-size:13px}.fixed-duo-row small{margin-top:4px;font-size:12px;color:#718078}.fixed-duo-row button{border:1px solid #ccdcd1;border-radius:9px;padding:9px 11px;background:#fff;color:#176b4d;cursor:pointer}.fixed-duo-success{color:#176b4d!important;font-weight:600}@media(max-width:520px){.fixed-duo-form{grid-template-columns:1fr}}.fixed-duo-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.fixed-duo-actions button.fixed-duo-delete{color:#b42318;border-color:#efc4c0;background:#fff7f6}.fixed-duo-actions button.fixed-duo-delete:hover:not(:disabled){background:#ffe5e2;border-color:#b42318}@media(max-width:520px){.fixed-duo-row{flex-wrap:wrap}.fixed-duo-actions{width:100%}}.lineup-tools{margin-top:20px;border-top:1px solid #dce9df;padding-top:16px}.lineup-tools h3{margin:0 0 8px;font-size:17px}.lineup-tool{margin:14px 0;padding:14px;background:#f5faf6;border:1px solid #e0ebe2;border-radius:12px}.lineup-tool>strong{display:block;margin-bottom:10px;font-size:14px;color:#176b4d}.lineup-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.lineup-controls input,.lineup-controls select{margin:0;min-width:170px;flex:1 1 170px;max-width:100%;min-height:42px;padding:9px 11px;border:1px solid #ccdcd1;border-radius:9px;background:#fff;color:#243b2c;font-size:13px}.lineup-controls button,.lineup-guest button{margin:0;min-height:42px;border-radius:9px;padding:9px 12px;background:#176b4d;color:#fff;font-size:12px;font-weight:700;white-space:nowrap}.lineup-controls button:disabled,.lineup-guest button:disabled{opacity:.45;cursor:not-allowed}.lineup-controls button.lineup-danger,.lineup-guest button.lineup-danger{background:#fff4f2;border:1px solid #ebc6c0;color:#a72d23}.lineup-guest-list{margin-top:12px}.lineup-guest{border-top:1px solid #e0ebe2;padding:10px 0;display:flex;justify-content:space-between;align-items:center;gap:10px}.lineup-guest strong,.lineup-guest small{display:block}.lineup-guest small{margin-top:3px;color:#718078;font-size:12px}.emergency-invites{border:2px solid #7daf83;background:#f1faef;margin-bottom:18px}.emergency-invites h2{font-size:18px}.emergency-invite{border-top:1px solid #cde4d0;padding-top:12px;margin-top:12px}.emergency-invite .choices{margin-top:12px}@media(max-width:520px){.lineup-controls{align-items:stretch;flex-direction:column}.lineup-controls input,.lineup-controls select,.lineup-controls button{width:100%;flex:0 1 auto}}.my-lineup{margin:15px 0;padding:14px;background:#f3f8f4;border:1px solid #d7e6d9;color:#203e2f;border-radius:12px}.my-lineup>strong{color:#176b4d;display:block;margin-bottom:10px}.my-lineup p{margin:6px 0;font-size:13px}.my-lineup button.my-lineup-withdraw{background:#fff5f3;border:1px solid #ecc4be;color:#aa3428;font-weight:700;font-size:12px;margin:10px 0 0;border-radius:8px}.hero .my-lineup{background:#fffffff2}
