:root{--navy:#192a35;--muted:#748087;--paper:#f6f7f9;--line:#e4e8eb;--accent:#2f6fed;--accent-hover:#2459c9;--accent-strong:#1e4fb4;--accent-soft:#edf3ff;--accent-line:#c8d8fb;--accent-on-dark:#9fbeff;--accent-rgb:47,111,237;--orange:var(--accent);--green:#24775d;--blue:#436d9b}*{box-sizing:border-box}body{margin:0;background:var(--paper);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--navy);font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none;color:inherit}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid var(--orange);outline-offset:4px}a{color:inherit}.demo{height:36px;background:var(--navy);color:#dde4e8;display:flex;justify-content:space-between;align-items:center;padding:0 24px;font-size:11px;letter-spacing:.3px}.demo b{font-size:9px;color:var(--accent-on-dark);margin-right:12px;letter-spacing:1px}.demo button{font-size:11px;color:white}aside{position:fixed;top:36px;bottom:0;left:0;width:260px;background:white;border-right:1px solid var(--line);padding:32px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:14px;font-weight:850;letter-spacing:1px}.brand small{display:block;font-size:6px;letter-spacing:.8px;margin-top:4px}.brand-symbol{font-size:30px;line-height:42px;background:var(--navy);color:white;width:42px;border-radius:11px;text-align:center;position:relative}.brand-symbol span{position:absolute;font-size:16px;color:var(--orange);right:3px;top:-7px}.team{background:#f6f7f9;border:1px solid var(--line);border-radius:10px;display:flex;gap:12px;align-items:center;padding:14px;margin:34px 0}.crest{display:grid;place-items:center;background:#e4e9e6;color:#406154;border-radius:8px;width:34px;height:36px;font-weight:800}.team div{font-weight:650}.team small,.identity small{display:block;font-size:11px;color:var(--muted);font-weight:400}.nav-label{font-size:9px;letter-spacing:1.4px;color:#929aa1;font-weight:700;margin:0 10px 12px}nav{display:grid;gap:6px}nav button{display:flex;gap:14px;align-items:center;text-align:left;padding:14px 12px;font-size:12px;font-weight:600;border-radius:8px;color:#758088}nav button span{font-size:10px}nav button.active{background:var(--navy);color:white}nav button.active span{color:var(--accent-on-dark)}.aside-bottom{margin-top:auto;font-size:10px;color:#6c7a82}.aside-bottom p{font-size:13px;line-height:1.7;color:#9ba3a8}.online{display:inline-block;width:6px;height:6px;border-radius:50%;background:#589b81;margin-right:6px}.workspace{margin-left:260px}header{height:88px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line)}header>span{font-size:9px;letter-spacing:1.4px;font-weight:650;color:#89939a}.identity{display:flex;gap:10px;align-items:center;font-size:12px;font-weight:600}.avatar{background:var(--accent-soft);width:35px;height:35px;border-radius:50%;display:grid;place-items:center;font-size:11px;color:var(--accent-strong)}main{max-width:1250px;margin:auto;padding:38px 42px 64px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.eyebrow{color:var(--orange);letter-spacing:1.6px;font-size:10px;font-weight:750;margin-bottom:9px}h1{font-size:34px;line-height:1.15;letter-spacing:-1.2px;margin:0 0 12px}h2{font-size:19px;letter-spacing:-.4px;margin:0}h3{font-size:16px;letter-spacing:-.2px;margin:0 0 8px}p{margin:0;color:var(--muted)}.pill{padding:7px 12px;border:1px solid var(--line);border-radius:30px;background:white;font-size:11px;white-space:nowrap}.hero{background:var(--navy);color:white;border-radius:15px;padding:28px 30px;display:flex;justify-content:space-between;gap:24px;position:relative;overflow:hidden;margin-bottom:28px}.hero:after{content:'';position:absolute;right:30%;top:-65px;width:270px;height:270px;border:1px solid #ffffff0e;border-radius:50%;pointer-events:none}.hero .eyebrow{color:var(--accent-on-dark)}.hero h2{font-size:24px;margin-bottom:9px}.hero p{color:#b3c0c7;font-size:12px;max-width:390px}.hero-progress{min-width:165px;align-self:center}.hero-progress strong{font-size:28px;letter-spacing:-1px}.hero-progress small{color:#bdc8cd;margin-left:5px}.track{background:#ffffff20;border-radius:5px;height:5px;margin:12px 0 8px;overflow:hidden}.track span{display:block;height:100%;background:var(--accent-on-dark)}.hero-progress p{font-size:10px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 17px;gap:10px}.section-head p{font-size:11px}.week-switch{display:flex;align-items:center;gap:12px;font-size:12px}.week-switch button{background:white;border:1px solid var(--line);border-radius:7px;width:31px;height:31px}.columns{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:23px}.tasks{display:grid;gap:12px}.task{background:white;border:1px solid var(--line);border-radius:12px;padding:21px;display:grid;grid-template-columns:44px 1fr auto;gap:16px;align-items:center}.task-icon{background:var(--accent-soft);color:var(--accent-strong);width:44px;height:44px;border-radius:10px;display:grid;place-items:center;font-size:19px}.task:nth-child(2) .task-icon{background:#eef0f9;color:#777ca6}.task:nth-child(3) .task-icon{background:#eaf1ed;color:#5a8a71}.task h3{font-size:15px;margin-bottom:6px}.task p{font-size:11px}.task-action{display:flex;flex-direction:column;align-items:flex-end;gap:12px}.badge{font-size:10px;font-weight:600;padding:4px 8px;border-radius:5px;display:inline-block;white-space:nowrap}.badge.open{background:#f0f2f4;color:#7b858d}.badge.pending{background:#fff2df;color:#a46c21}.badge.approved{background:#e8f3ed;color:#34775b}.badge.returned{background:#ffeee9;color:#b0543e}.text-button{color:var(--navy);font-size:11px;font-weight:650;padding:0}.text-button:hover{color:var(--orange)}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:22px}.panel h3{font-size:13px;margin-bottom:14px}.coach-note{line-height:1.8;font-size:12px;color:#6c7a82}.coach-sign{display:flex;align-items:center;gap:9px;margin-top:20px;font-size:11px;font-weight:600}.coach-sign small{display:block;color:var(--muted);font-size:10px;font-weight:400}.guide{margin-top:18px;padding:0 8px}.guide h3{font-size:12px}.guide p{font-size:11px;line-height:1.9}.flow{display:flex;gap:6px;align-items:center;margin-top:14px;color:#9aa5aa;font-size:10px}.btn{padding:11px 17px;border-radius:8px;background:var(--navy);color:white;font-size:12px;font-weight:600;min-height:40px}.btn:hover{background:#2f4756}.btn.orange{background:var(--orange)}.btn.secondary{background:#f1f3f5;color:var(--navy);border:1px solid var(--line)}.btn.danger{background:#fff0eb;color:#a6553e}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:25px}.stat{border:1px solid var(--line);background:white;border-radius:12px;padding:22px}.stat strong{font-size:29px;display:block;margin-bottom:3px;letter-spacing:-1px}.stat p{font-size:11px}.stat.attention{background:var(--accent-soft);border-color:var(--accent-line)}.stat.attention strong{color:var(--accent-strong)}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#879198;padding:16px 20px;background:#fafbfc;font-weight:600}td{border-top:1px solid #edf0f2;padding:19px 20px;font-size:12px}td small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.status-cell{border:1px solid transparent;padding:9px;border-radius:7px;font-size:10px}.status-cell:hover{border-color:#abb9c1}.toolbar{display:flex;align-items:center;gap:8px;margin:0 0 16px;flex-wrap:wrap}.toolbar button{font-size:11px;border-radius:6px;padding:8px 12px;background:white;border:1px solid var(--line)}.toolbar button.selected{background:var(--navy);color:white}.toolbar input{margin-left:auto;max-width:230px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:grid;gap:7px;margin-bottom:16px}label{font-size:11px;font-weight:650}input,select,textarea{width:100%;border:1px solid #dce2e6;background:white;border-radius:7px;padding:11px;color:var(--navy);font-size:12px}input:focus,select:focus,textarea:focus{outline:2px solid rgba(var(--accent-rgb),.25);border-color:var(--orange)}textarea{resize:vertical;min-height:80px}.planner-settings{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;margin-top:20px}.plan-row{display:flex;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}.plan-row:last-child{border:0}.plan-row .grow{flex:1}.plan-row p{font-size:11px}.plan-row h3{font-size:14px}.week-tabs{display:flex;gap:8px;margin:20px 0;overflow:auto;padding-bottom:3px}.week-tabs button{white-space:nowrap;background:white;border:1px solid var(--line);padding:10px 15px;border-radius:7px;font-size:11px}.week-tabs button.active{background:var(--navy);color:white}footer{padding:20px 42px;border-top:1px solid var(--line);font-size:9px;color:#a2abb0;letter-spacing:1px;display:flex;justify-content:space-between}footer span{letter-spacing:0}dialog{border:0;border-radius:16px;max-width:560px;width:calc(100% - 32px);max-height:90dvh;padding:28px;color:var(--navy);box-shadow:0 25px 100px #10212c40}dialog::backdrop{background:#10212c88;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}.dialog-head h2{font-size:23px}.close{font-size:23px;line-height:1;padding:5px}.instruction{padding:16px;background:#f5f7f8;border-radius:9px;color:#62717b;font-size:12px;margin:16px 0;line-height:1.8}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:23px;flex-wrap:wrap}.file-box{border:1px dashed #b8c4ca;border-radius:9px;padding:16px;background:#fafbfc;margin-top:8px}.file-box p{font-size:11px;margin:8px 0}.file-box input{padding:7px;background:white}.note{font-size:10px;color:#869299;line-height:1.7;margin-top:12px}.evidence{max-height:220px;max-width:100%;display:block;border-radius:9px;margin:15px auto}.feedback{background:var(--accent-soft);border-left:3px solid var(--orange);padding:12px;margin-bottom:16px;font-size:12px}.empty{padding:35px;text-align:center;color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--navy);color:white;box-shadow:0 6px 25px #0002;padding:14px 22px;border-radius:10px;font-size:12px;z-index:20;display:none;max-width:90vw}.error{color:#b34834;font-size:12px;margin-top:10px}.notice{padding:14px 17px;border-radius:9px;background:#eaf0f4;color:#617586;font-size:11px;margin-top:20px}
@media(min-width:1500px){main{padding-top:50px}.task{padding:26px}}
@media(max-width:1100px){aside{width:225px;padding:28px 16px}.workspace{margin-left:225px}main{padding:30px 25px}.columns{grid-template-columns:1fr}.side-notes{display:grid;grid-template-columns:1fr 1fr;gap:20px}.guide{margin-top:0}.brand{font-size:12px}.brand small{font-size:5px}header{padding:0 25px}.task{padding:20px}}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.demo{padding:8px 14px;height:auto;min-height:36px;font-size:9px}.demo b{display:none}.demo button{white-space:nowrap;font-size:10px}aside{position:static;width:100%;padding:18px 16px 0;border-right:0}.brand{font-size:13px}.brand small{font-size:6px}.brand-symbol{width:34px;line-height:34px;font-size:25px}.team,.nav-label,.aside-bottom{display:none}nav{display:flex;gap:4px;padding:16px 0 12px}nav button{flex:1;font-size:10px;line-height:1.4;padding:10px 6px;gap:6px;justify-content:center}nav button span{display:none}.workspace{margin:0}header{height:59px;padding:0 18px}header>span{font-size:7px;letter-spacing:.7px}.identity{font-size:10px}.identity small{font-size:9px}.avatar{width:28px;height:28px;font-size:9px}main{padding:25px 17px 40px}h1{font-size:29px}.page-heading{align-items:flex-start}.page-heading p{font-size:12px}.page-heading .pill{display:none}.hero{padding:23px;flex-direction:column;gap:20px}.hero h2{font-size:23px}.hero-progress{align-self:stretch}.hero-progress strong{font-size:23px}.hero-progress .track{margin:8px 0}.section-head h2{font-size:17px}.week-switch{gap:8px}.task{grid-template-columns:35px 1fr;padding:17px;gap:12px}.task-icon{width:35px;height:38px;font-size:16px}.task-action{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between}.side-notes{grid-template-columns:1fr}.guide{display:none}.stats{gap:8px}.stat{padding:14px 12px}.stat strong{font-size:25px}.stat p{font-size:10px}.toolbar input{max-width:none;margin:0;flex-basis:100%}.planner-settings{grid-template-columns:1fr 1fr}.planner-settings .field:first-child{grid-column:1/-1}.form-grid{gap:12px}.plan-row{gap:10px}.plan-row .btn{padding:9px;font-size:11px}.page-heading .btn{font-size:10px;padding:10px;white-space:nowrap}footer{padding:18px;font-size:8px}dialog{padding:22px}.dialog-head h2{font-size:21px}.panel{padding:18px}}
/* PREPRIME+ application */
[hidden]{display:none!important}aside{top:0}.brand{height:55px}.brand img{width:210px;height:auto;display:block}.login-page{max-width:1100px;margin:0 auto;min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:80px;padding:60px 36px}.login-story .brand{height:auto;margin-bottom:42px}.login-story .brand img{width:260px}.login-story h1{font-size:52px;line-height:1.08;letter-spacing:-2px;margin-bottom:22px}.login-story>p{max-width:380px;line-height:1.8}.login-card{background:white;border:1px solid var(--line);padding:32px;border-radius:16px}.login-card h2{font-size:24px;margin:0 0 12px}.login-card>p{font-size:12px;margin-bottom:24px}.role-tabs{display:flex;gap:7px;margin-bottom:25px;background:#f3f5f6;border-radius:9px;padding:5px}.role-tabs button{flex:1;padding:9px;border-radius:6px;font-size:12px}.role-tabs button.active{background:var(--navy);color:white}.login-card .btn{width:100%}.login-footer{font-size:11px;color:#96a1a7;margin-top:28px}.app-selector{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:24px;flex-wrap:wrap}.app-selector label{font-size:10px;color:var(--muted);letter-spacing:1px}.welcome{padding:50px 35px;max-width:850px}.welcome h2{font-size:27px;margin-bottom:15px}.welcome p{max-width:550px;line-height:1.8;margin-bottom:23px}.welcome-steps{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:25px}.welcome-steps article{background:#f5f7f8;padding:20px;border-radius:10px}.welcome-steps h3{font-size:14px}.welcome-steps p{font-size:12px;margin:0}.identity{gap:12px}#logout{margin-left:12px}.page-heading .actions{display:flex;gap:8px}.actions{display:flex;gap:8px;flex-wrap:wrap}.roster-list{width:100%;border-collapse:collapse}.roster-list td{white-space:normal}.player-line{display:flex;align-items:center;gap:10px}.player-line .avatar{flex-shrink:0}.label-inline{display:flex;gap:8px;align-items:center;font-size:12px}.label-inline input{width:auto}.report-list{max-height:350px;overflow:auto}.report-list td{padding:10px;font-size:11px;white-space:normal}.report-list th{padding:10px}.report-ok{color:var(--green)}.report-error{color:#b04f35}.summary-strip{display:flex;gap:12px;margin:16px 0;flex-wrap:wrap}.summary-strip .badge{font-size:12px}.status-cell{min-height:44px}.file-link{font-size:12px;color:var(--blue);display:inline-block;margin:12px 0}.history{border-top:1px solid var(--line);padding-top:15px;margin-top:20px}.history p{font-size:11px;margin:8px 0;line-height:1.7}.history small{color:#91a0a8}.archived-label{color:#9b7451}.error:empty{display:none}.loading{padding:60px;text-align:center;color:#7c8a93}.screen-error{border:1px solid #e9c7bf;background:#fff1eb;padding:20px;border-radius:10px;line-height:1.7}.week-tabs{max-width:100%}.check-note{font-size:11px;color:var(--muted);line-height:1.6}.task{grid-template-columns:44px minmax(0,1fr) auto}.task h3{overflow-wrap:anywhere}.progress-text{font-size:12px}.upload-progress{margin-top:10px}.upload-progress progress{width:100%;accent-color:var(--orange)}.toast-error{background:#9f4534!important}.csv-template{margin:12px 0;display:inline-block;color:var(--blue);font-size:12px}.dialog-title-small{font-size:13px;color:var(--muted);margin-bottom:14px}.trainer-login-note{margin-top:15px!important;font-size:11px!important}.plan-row h3{overflow-wrap:anywhere}.plan-row .grow{min-width:0}.plan-editor{margin-bottom:24px}.no-units{padding:40px 20px;border:1px dashed #cbd4da;border-radius:12px;text-align:center}.no-units p{margin:10px auto 20px;font-size:12px}.table-wrap th:first-child,.table-wrap td:first-child{position:sticky;left:0;z-index:1;background:white}.table-wrap th:first-child{background:#fafbfc}.metadata{font-size:12px;color:var(--muted);white-space:pre-line}.dialog-actions .btn{min-width:110px}button:disabled{cursor:wait}.brand img{object-fit:contain}
@media(max-width:1100px){.brand img{width:190px}.login-page{gap:40px}.login-story h1{font-size:43px}}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.login-page{display:block;padding:25px 20px}.login-story .brand{margin-bottom:24px}.login-story .brand img{width:200px}.login-story h1{font-size:33px;letter-spacing:-1px}.login-story>p{font-size:12px;margin-bottom:28px}.login-card{padding:24px}.login-footer{margin:20px 0}.brand{height:35px}.brand img{width:170px}.workspace header{height:65px}.identity{gap:6px}#logout{font-size:9px;margin-left:4px}.page-heading{flex-wrap:wrap}.page-heading .actions{width:100%}.welcome{padding:25px}.welcome-steps{grid-template-columns:1fr}.task{grid-template-columns:35px minmax(0,1fr)}.app-selector{gap:8px}.roster-list th,.roster-list td{padding:12px}.roster-list .avatar{display:none}.form-grid{grid-template-columns:1fr 1fr}.player-line strong{font-size:11px}nav{overflow:auto}nav button{min-width:80px;flex-shrink:0}nav button.active{color:white}.planner-settings{grid-template-columns:1fr}.planner-settings .field:first-child{grid-column:auto}.login-card input{font-size:16px}.roster-list td small{font-size:9px}}

.access-teams{display:flex;gap:7px;flex-wrap:wrap;margin:20px 0}.access-teams .pill{white-space:normal;overflow-wrap:anywhere}.team-choices{padding:15px;border:1px solid var(--line);border-radius:9px;margin:5px 0 14px;display:grid;gap:12px}.team-choices legend{font-size:12px;font-weight:650;padding:0 6px}.team-choices label{display:flex;gap:10px;align-items:center;font-size:13px}.team-choices input{width:auto;accent-color:var(--orange)}#inviteBack{margin-top:20px}#inviteLink{font-size:11px}.identity>span:not(.avatar){max-width:170px;overflow-wrap:anywhere}#profileForm{max-width:520px}.login-card .notice{margin:0 0 18px;font-size:11px}.login-card .access-teams{margin:12px 0 24px}@media(max-width:700px),(max-height:520px) and (pointer:coarse){.identity>span:not(.avatar){max-width:105px}nav button{font-size:10px}#breadcrumb{max-width:115px}}

/* Consistent PREPRIME+ controls, including keyboard and touch interaction. */
[hidden]{display:none!important}
button,.btn,.text-button,.csv-template,.file-link{transition:background-color .15s,border-color .15s,box-shadow .15s}
.text-button,.csv-template,.file-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 13px;border:1px solid #dce2e6;border-radius:9px;background:white;text-decoration:none;font-size:12px;font-weight:650}
.text-button:hover,.csv-template:hover,.file-link:hover{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-strong)}
.btn{min-height:44px;border:1px solid transparent}.btn.orange:hover{background:var(--accent-hover)}.btn.danger:hover{background:#ffe1d6;border-color:#dca08a}
button:active:not(:disabled){transform:translateY(1px)}button:disabled{cursor:not-allowed}
.close{display:grid;place-items:center;width:40px;height:40px;border-radius:9px;background:#f1f3f5;border:1px solid var(--line);flex-shrink:0}
.week-switch button{width:40px;height:40px}.status-cell{min-height:40px;border-color:var(--line);background:#fff}.status-cell:hover{background:var(--accent-soft);border-color:var(--orange)}
input:not([type="checkbox"]),textarea{min-height:44px;border-radius:9px}input[type="number"]{-moz-appearance:textfield;appearance:textfield}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
input[type="checkbox"]{appearance:none;-webkit-appearance:none;display:inline-grid;place-content:center;width:23px!important;height:23px;min-width:23px;margin:0;padding:0!important;border:2px solid #a8b5bd;border-radius:6px;background:white;cursor:pointer;vertical-align:middle;flex-shrink:0}
input[type="checkbox"]:checked{background:var(--orange);border-color:var(--orange)}input[type="checkbox"]:checked::after{content:'';width:6px;height:11px;border:solid white;border-width:0 3px 3px 0;transform:translateY(-1px) rotate(45deg)}input[type="checkbox"]:focus-visible{outline:3px solid rgba(var(--accent-rgb),.33);outline-offset:3px}
.label-inline{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:9px;background:white;cursor:pointer}.team-choices label{min-height:48px;cursor:pointer}.team-choices label:has(input:checked){border-color:var(--orange);background:var(--accent-soft)}
.next-select{position:relative;min-width:0;width:100%}.next-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;width:100%;padding:11px 14px;border:1px solid #dce2e6;border-radius:9px;background:white;text-align:left;font-size:12px}.next-select-trigger::after{content:'';width:7px;height:7px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);flex-shrink:0;margin:0 2px 4px}.next-select-trigger[aria-expanded="true"]{border-color:var(--orange);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.09)}.next-options{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:30;display:grid;gap:3px;max-height:240px;overflow-y:auto;margin:0;padding:6px;border:1px solid #dce2e6;border-radius:10px;background:white;box-shadow:0 8px 24px #192a3512}.next-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:10px 12px;border-radius:7px;text-align:left;font-size:12px}.next-option:hover,.next-option:focus{background:#f1f3f5;outline:2px solid var(--orange);outline-offset:-2px}.next-option[aria-selected="true"]{background:var(--accent-soft);color:var(--accent-strong);font-weight:700}.next-option[aria-selected="true"]::after{content:'✓';color:var(--accent-strong);font-size:17px}
.next-upload{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px;border:1px dashed #b8c4ca;border-radius:10px;background:#fafbfc}.next-file-name{font-size:12px;color:var(--muted);overflow-wrap:anywhere;min-width:0}.file-box .next-upload{border:0;padding:0}.next-date{font-variant-numeric:tabular-nums}.toolbar .next-select{width:auto;min-width:170px;max-width:100%}.actions{flex-wrap:wrap}.csv-template{margin:12px 0}.identity .text-button{white-space:nowrap}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.toolbar .next-select{width:100%}.identity{flex-wrap:wrap}.task-action .text-button{font-size:11px;padding:8px 10px}.next-upload{align-items:stretch;flex-direction:column}.next-file-name{width:100%}.page-heading{flex-wrap:wrap}.dialog-actions .btn{flex:1}.text-button{min-height:42px}.identity .text-button{min-height:36px;padding:7px 9px}}
@media(prefers-reduced-motion:reduce){button,.btn,.text-button,.csv-template,.file-link{transition:none}button:active:not(:disabled){transform:none}}

/* Header already carries the current role and identity; keep the sidebar focused on navigation. */
aside .team,aside .aside-bottom{display:none!important}
aside .nav-label{border-bottom:1px solid var(--line);padding-bottom:14px}


.danger-link{color:#a6553e!important}
.control-plan-chooser{order:2;display:block!important;margin:0 0 25px;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:white}.control-plan-chooser .chooser-label{display:block;font-size:10px;font-weight:750;letter-spacing:1.2px;color:var(--orange);margin-bottom:10px}.plan-checks{display:flex;justify-content:flex-start;align-items:stretch;gap:9px;flex-wrap:wrap}.plan-checks label{display:inline-flex;align-items:center;justify-content:flex-start;gap:9px;min-height:42px;padding:8px 13px;border:1px solid var(--line);border-radius:9px;background:#fafbfc;cursor:pointer;font-size:12px;font-weight:650;text-align:left}.plan-checks label:has(input:checked){border-color:var(--orange);background:var(--accent-soft);color:var(--accent-strong)}.plan-checks input{width:20px!important;height:20px}.chooser-note{display:block;font-size:11px;margin-top:10px;color:var(--muted)}
.week-switch span{display:flex;flex-direction:column;align-items:center;line-height:1.2}.week-switch span small{font-size:10px;color:var(--muted);font-weight:400;margin-top:3px;white-space:nowrap}
main:has(.stats) .stats + .section-head{display:flex;justify-content:flex-end;min-height:72px;margin:2px 0 18px;padding:12px 14px 12px 20px;border:1px solid var(--line);border-radius:12px;background:#fff}main:has(.stats) .stats + .section-head::before{content:'AKTUELLE WOCHE';margin-right:auto;color:var(--orange);font-size:10px;font-weight:750;letter-spacing:1.2px}main:has(.stats) .stats + .section-head .week-switch{gap:10px}.week-switch button{font-weight:700;color:var(--navy);box-shadow:0 1px 2px #192a3510}.week-switch button:hover:not(:disabled){border-color:var(--orange);background:var(--accent-soft);color:var(--accent-strong)}.week-switch span{min-width:145px;font-weight:700}
progress{appearance:none;-webkit-appearance:none;width:100%;height:9px;border:0;border-radius:99px;overflow:hidden;background:#e4e8eb;color:var(--orange)}progress::-webkit-progress-bar{background:#e4e8eb;border-radius:99px}progress::-webkit-progress-value{background:var(--orange);border-radius:99px}progress::-moz-progress-bar{background:var(--orange);border-radius:99px}input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}
.catalog-panel{border:1px solid var(--line);border-radius:10px;padding:14px;margin:16px 0}.catalog-panel>summary,.generated-week>summary{cursor:pointer;font-weight:700;font-size:13px;min-height:40px;padding:10px;border-radius:8px;background:#f1f3f5;list-style:none}.catalog-panel>summary::before,.generated-week>summary::before{content:'＋';margin-right:8px;color:var(--orange)}.catalog-panel[open]>summary::before,.generated-week[open]>summary::before{content:'−'}summary::-webkit-details-marker{display:none}summary:focus-visible{outline:3px solid var(--orange);outline-offset:3px}.catalog-panel .field{margin-top:12px}.exercise-results{max-height:340px;overflow:auto;margin-bottom:14px}.exercise-card{border:1px solid var(--line);border-radius:9px;padding:12px;margin:8px 0}.exercise-card label{display:flex;align-items:center;gap:12px;cursor:pointer;min-height:44px}.exercise-card small{display:block;color:var(--muted);font-weight:400}.exercise-card:has(input:checked){background:var(--accent-soft);border-color:var(--orange)}.exercise-card details{margin-top:10px}.exercise-card summary,.generated-week article summary{cursor:pointer;border:1px solid var(--line);border-radius:7px;padding:8px 12px;font-size:12px;list-style:none}.exercise-card p{font-size:12px;white-space:pre-line;margin-top:8px}.generated-weeks{margin:18px 0}.generated-week{margin:12px 0;border:1px solid var(--line);padding:10px;border-radius:10px}.generated-week>summary span{display:inline-block;color:var(--muted);margin-left:8px}.generated-week article{padding:15px 3px;border-bottom:1px solid var(--line)}.generated-week article:last-child{border:0}.generated-week article h3{font-size:14px}.generated-week article p{font-size:12px;margin-bottom:8px}.generated-week .instruction{white-space:pre-line}.generator-days{border:1px solid var(--line);border-radius:10px;margin:12px 0;padding:12px}.generator-days legend{font-weight:650;font-size:12px}#generatorDays{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;margin-top:12px}.app-selector{flex-wrap:wrap}.actions{display:flex;gap:10px}.catalog-panel #applyExercises{width:100%}@media(max-width:600px){#generatorDays{grid-template-columns:1fr}.generated-week>summary{line-height:1.6}}

.instruction{white-space:pre-line;overflow-wrap:anywhere}
.plan-back{white-space:nowrap}


.generator-dialog{top:5vh;bottom:auto;left:0;right:0;margin:0 auto;transform:none;max-height:90vh;overflow:hidden}
.header-brand{display:none;align-items:center}.header-brand img{width:190px;height:auto;display:block}.player-mode aside{display:none}.player-mode .workspace{margin-left:0}.player-mode header{padding-left:32px}.player-mode #breadcrumb{display:none}.player-mode .header-brand{display:flex}.player-mode main{max-width:1120px}.player-mode footer{display:none}
/* Hilfe · Impressum · Datenschutz auf den öffentlichen Seiten: schlichte Fußzeile unter dem Inhalt (wie in der Seitenleiste der App) */
.public-legal{display:flex;justify-content:center;align-items:center;gap:6px;padding:0 20px 22px;font-size:11px}.public-legal a{color:var(--muted);text-decoration:none;padding:4px 6px}.public-legal a:hover{color:var(--orange)}.public-legal a+a::before{content:'·';color:#c3cad0;margin:0 10px 0 -6px}
body:has(.public-legal) .login-page{min-height:calc(100dvh - 48px)}
@media (display-mode:standalone){header{padding-top:env(safe-area-inset-top);height:calc(88px + env(safe-area-inset-top))}.player-mode header{height:calc(88px + env(safe-area-inset-top))}main{padding-bottom:calc(64px + env(safe-area-inset-bottom))}}
.generator-dialog #dialogBody{max-height:calc(90vh - 56px);overflow:auto;padding-right:4px}
.generator-dialog .dialog-head{position:sticky;top:0;background:#fff;z-index:2;padding-bottom:12px}
.generator-dialog #generatorForm,.generator-dialog #generatedCommit{padding-bottom:4px}
.generator-dialog .dialog-actions{position:sticky;bottom:0;background:#fff;padding-top:14px;margin:20px -4px 0 0;border-top:1px solid var(--line);z-index:2}
.generator-dialog .dialog-actions .btn{min-width:190px}
.generator-dialog .generator-days{min-height:116px}
.generator-dialog #generatorDays{min-height:58px}
@media(max-width:600px){.generator-dialog #generatorDays{min-height:244px}}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.player-mode header{padding-left:18px}.player-mode .header-brand img{width:145px}.player-mode .identity{margin-left:auto}.player-mode #refresh{display:none}}
.auto-week-button{white-space:nowrap}.plan-row + .auto-week-button{margin-top:12px}@media(max-width:700px),(max-height:520px) and (pointer:coarse){.auto-week-button{width:100%}}



.planning-overview{position:relative;z-index:4;background:var(--paper);padding-bottom:20px}.planning-overview-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px}.planning-overview-head h1{margin-bottom:8px}.planning-overview-head p{font-size:12px}.planning-overview-head .actions{display:flex;gap:9px;flex-wrap:wrap}.planning-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}.planning-card{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:88px;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:#fff;text-align:left;box-shadow:0 1px 2px #192a3508}.planning-card:hover{border-color:var(--orange);background:var(--accent-soft);transform:translateY(-1px)}.planning-card-main{display:flex;flex-direction:column;gap:5px}.planning-card strong{font-size:14px}.planning-card small{font-size:11px;color:var(--muted)}.planning-card-arrow{font-size:27px;color:var(--orange);line-height:1}@media(max-width:700px),(max-height:520px) and (pointer:coarse){.planning-overview-head{align-items:flex-start;flex-direction:column}.planning-overview-head .actions{width:100%}.planning-overview-head .btn{flex:1}}
.roster-team-chooser{position:relative;z-index:3;display:block;width:100%;margin:0 0 22px;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:#fff}.roster-team-chooser .chooser-label{display:block;font-size:10px;font-weight:750;letter-spacing:1.2px;color:var(--orange);margin-bottom:11px}.roster-team-chooser .plan-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px}.roster-team-chooser .plan-checks label{position:relative;z-index:4;display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:48px;padding:10px 13px;border:1px solid var(--line);border-radius:9px;background:#fafbfc;cursor:pointer;user-select:none}.roster-team-chooser .plan-checks label:hover{border-color:var(--orange);background:var(--accent-soft)}.roster-team-chooser .plan-checks input{position:relative;z-index:5;pointer-events:auto;width:23px!important;height:23px!important}.roster-team-chooser .plan-checks span{pointer-events:none}
main:has(.roster-list) .toolbar>.actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}main:has(.roster-list) .toolbar>.actions .btn{min-height:40px;padding:9px 13px}
main:has(.roster-list) .toolbar{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;row-gap:10px;column-gap:10px}main:has(.roster-list) .toolbar input[type="search"]{min-width:0;margin:0;position:relative;z-index:1}main:has(.roster-list) .toolbar>.label-inline{justify-self:start}main:has(.roster-list) .toolbar>.actions{justify-self:end;display:flex;flex:0 0 auto;position:relative;z-index:2}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){main:has(.roster-list) .toolbar{grid-template-columns:1fr}main:has(.roster-list) .toolbar input[type="search"]{width:100%}main:has(.roster-list) .toolbar>.actions{width:100%;justify-self:stretch}main:has(.roster-list) .toolbar>.actions .btn{flex:1 1 0}}
.statistics-filter{display:flex;gap:16px;flex-wrap:wrap;margin:0 0 22px}.statistics-filter .field{margin:0;min-width:220px}
.aside-legal{margin-top:auto;display:flex;gap:16px;padding:16px 12px 0;border-top:1px solid var(--line);font-size:11px}.aside-legal a{color:var(--muted);text-decoration:none}.aside-legal a:hover{color:var(--orange)}
/* Spieler haben kein Seitenmenü: Rechtliches dezent unten auf der Seite. */
.footer-legal{display:none}.player-mode footer{display:flex;justify-content:center;border-top:0;padding:28px 18px 36px;font-size:0}.player-mode footer>span:not(.footer-legal){display:none}.player-mode .footer-legal{display:flex;gap:16px}.footer-legal a{font-size:10px;letter-spacing:0;color:#b3bbc0;text-decoration:none}.footer-legal a:hover{color:var(--muted)}
.invite-link{display:flex;gap:8px;margin-top:18px}.invite-link input{flex:1;min-width:0;font-size:14px;font-weight:600}.invite-link .btn{flex:0 0 auto}
.invite-message textarea{min-height:260px;line-height:1.6;font-size:13px}
/* Angemeldet: Rechtliches steht im Menü (Trainer) bzw. dezent im Seitenfuß (Spieler), nicht zusätzlich schwebend. */
body:has(#shell:not([hidden])) .public-legal{display:none!important}
.legal-modal h2{font-size:14px;letter-spacing:-.2px;margin:20px 0 6px}.legal-modal p{font-size:12px;line-height:1.75;margin:0 0 8px}.legal-modal .lead{font-size:13px}.legal-modal a{color:var(--navy)}.legal-modal-actions{justify-content:space-between;align-items:center}.legal-modal-actions a{font-size:12px;color:var(--muted)}
/* Vereinsverwaltung: zwei klar getrennte Bereiche mit gleichem Aufbau. Farbe nur für Status, sonst Navy/Grau. */
.club-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:32px}.club-stats .stat{padding:20px}
.club-section{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px;margin-bottom:28px}
.club-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid var(--line);text-align:left}.club-section-head>div{min-width:0}.club-section-head .eyebrow{margin-bottom:6px}.club-section-head h2{font-size:22px}.club-section-head p{font-size:12px;margin-top:5px}.club-section-head>.btn{flex-shrink:0}
.club-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}
.club-card{display:flex;flex-direction:column;min-width:0;padding:20px 20px 0;border:1px solid var(--line);border-radius:12px;background:#fff;transition:border-color .15s,box-shadow .15s}.club-card:hover{border-color:#cfd8de;box-shadow:0 6px 18px #192a350d}.club-card.is-inactive{background:var(--paper)}.club-card.is-inactive .club-mark{opacity:.55}
.club-card-head{display:flex;gap:12px;align-items:center}.club-card-head>div{flex:1;min-width:0}.club-card-head h3{font-size:15px;margin:0 0 2px;overflow-wrap:anywhere}.club-card-head p{font-size:11px}.club-card-head>.badge{align-self:flex-start}
.club-mark{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:10px;background:#eef2f5;color:var(--navy);font-size:11px;font-weight:750;letter-spacing:.3px}.club-mark.round{border-radius:50%}
.club-card-body{flex:1;margin:18px 0 20px}.club-contact{font-size:12px;color:var(--navy);overflow-wrap:anywhere;margin-bottom:16px}
.club-label{display:block;margin-bottom:8px;font-size:9px;font-weight:700;letter-spacing:1.3px;text-transform:uppercase;color:#929aa1}
.club-pills{display:flex;gap:6px;flex-wrap:wrap}.club-pill{padding:5px 10px;border-radius:20px;background:#f1f4f6;color:var(--navy);font-size:11px;font-weight:600;overflow-wrap:anywhere}.club-muted{font-size:11px;color:var(--muted)}
.club-note{margin-top:12px;font-size:11px;color:var(--muted)}
.club-card-actions{display:flex;gap:6px;flex-wrap:wrap;padding:12px 0 14px;border-top:1px solid var(--line)}.club-card-actions .text-button{min-height:32px;padding:6px 11px;font-size:11px}
.club-section>.notice{margin-top:22px}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.club-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}.club-stats .stat{padding:16px}.club-section{padding:20px 16px}.club-section-head{flex-direction:column;align-items:stretch}.club-section-head>.btn{width:100%}.club-card-grid{grid-template-columns:minmax(0,1fr)}.club-card-actions .text-button{min-height:44px;font-size:13px}}
.nav-badge{margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--orange);color:#fff;font-size:10px;font-weight:750;line-height:20px;text-align:center}
.club-progress{height:6px;border-radius:3px;background:#eef2f5;overflow:hidden}.club-progress span{display:block;height:100%;border-radius:3px;background:var(--navy)}.club-progress.is-complete span{background:var(--green)}.club-progress-text{margin:7px 0 16px;font-size:11px;color:var(--muted)}
/* Kontrolle: Warteschlange offener Nachweise */
.pending-queue{margin-bottom:24px;border-color:var(--accent-line)}.pending-queue .section-head{align-items:flex-start;padding-bottom:16px;margin-bottom:6px;border-bottom:1px solid var(--line)}.pending-queue h2{display:flex;align-items:center;gap:10px}.pending-queue h2 .nav-badge{margin:0}.pending-queue .section-head p{margin-top:4px}
.pending-list{display:grid}.pending-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:14px;align-items:center;width:100%;padding:14px 4px;border-bottom:1px solid var(--line);text-align:left;border-radius:0}.pending-item:last-child{border-bottom:0}.pending-item:hover{background:#fafbfc}
.pending-main strong{display:block;font-size:13px}.pending-main small{display:block;font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.pending-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.pending-meta small{font-size:10px;color:var(--muted)}.pending-go{font-size:12px;font-weight:650;color:var(--orange);white-space:nowrap}
.pending-more{margin-top:12px}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.pending-queue .section-head{flex-direction:column;align-items:stretch}.pending-queue .section-head .btn{width:100%}.pending-item{grid-template-columns:auto minmax(0,1fr) auto}.pending-meta{display:none}}
.pending-count{display:grid;place-items:center;flex-shrink:0;min-width:40px;height:40px;padding:0 8px;border-radius:10px;background:var(--accent-soft);color:var(--accent-strong);font-size:15px;font-weight:750}.pending-names{margin-top:3px}.pending-meta{flex-direction:row;flex-wrap:wrap;justify-content:flex-end;align-items:center;column-gap:6px}.pending-meta small{flex-basis:100%;text-align:right}
/* Menü „Mehr“ für seltene Aktionen (Plan-Detail) */
.more-menu{position:relative}.more-menu>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px}.more-menu>summary::-webkit-details-marker{display:none}.more-menu[open]>summary{border-color:#c9d4da}
.more-menu-list{position:absolute;right:0;top:calc(100% + 6px);z-index:20;display:grid;min-width:220px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 14px 34px #192a351f}
.more-item{display:block;width:100%;padding:10px 12px;border-radius:7px;text-align:left;font-size:12px;font-weight:600;color:var(--navy)}.more-item:hover,.more-item:focus-visible{background:var(--paper)}.more-item.is-danger{color:#a6553e}.more-item.is-danger:hover{background:#fff0eb}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.more-menu,.more-menu>summary{width:100%}.more-menu>summary{justify-content:center}.more-menu-list{left:0;right:0}.more-item{padding:13px 12px;font-size:14px}}
/* Prüf-Dialog: Nachweis groß und zuerst, Textbausteine für Rückfragen */
.review-dialog{max-width:760px}
.evidence-frame{margin:14px 0 10px;border-radius:12px;background:#eef2f5;overflow:hidden;text-align:center}.evidence-frame a{display:block}
.review-dialog .evidence{width:100%;max-height:min(62vh,560px);object-fit:contain;margin:0 auto;border-radius:0;background:#eef2f5}
.evidence-fallback{padding:28px 16px;font-size:12px;color:var(--muted)}
.review-dialog .file-link{display:inline-block;margin-bottom:6px}
.feedback-snippets{display:flex;flex-wrap:wrap;gap:6px}.snippet{padding:6px 10px;border:1px solid var(--line);border-radius:16px;background:#fff;font-size:11px;font-weight:600;color:var(--navy)}.snippet:hover{border-color:var(--orange);color:var(--accent-strong)}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.review-dialog .evidence{max-height:52vh}.snippet{padding:9px 12px;font-size:13px}}
/* Spielerprofil */
.link-button{display:block;padding:0;font-weight:700;font-size:inherit;color:var(--navy);text-align:left}.link-button:hover{color:var(--orange)}
.profile-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:22px}
.profile-plans{display:grid;gap:10px;margin-bottom:22px}.profile-plan{padding:14px 16px;border:1px solid var(--line);border-radius:10px}.profile-plan-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}.profile-plan-head strong{font-size:13px}.profile-plan-head small{font-size:11px;color:var(--muted)}.profile-counts{margin-top:8px;font-size:11px}.profile-counts b{color:var(--navy)}
.profile-events{list-style:none;margin:0;padding:0;display:grid}.profile-events li{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}.profile-events li:last-child{border-bottom:0}.profile-event-when{color:var(--muted);font-size:11px}.profile-events small{color:var(--muted)}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.profile-events li{grid-template-columns:1fr;gap:2px}}

a.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.reset-box{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-top:16px;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}.reset-box strong{font-size:12px}.reset-box p{font-size:11px;margin-top:3px}.reset-box .btn{flex-shrink:0}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.reset-box{flex-direction:column;align-items:stretch}}
/* Vereinsverwaltung: Sicherung */
.backup-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:18px;align-items:start}.backup-panel>.note{grid-column:1/-1;margin:0}
.backup-status{padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}.backup-status strong{display:block;font-size:15px}.backup-status p{margin-top:8px;font-size:11px}.backup-status.is-stale{background:var(--accent-soft);border-color:var(--accent-line)}.backup-status.is-stale strong{color:var(--accent-strong)}
.backup-options{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px 14px;align-items:center}.backup-options small{font-size:11px;color:var(--muted)}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.backup-panel{grid-template-columns:1fr}.backup-options{grid-template-columns:1fr}.backup-options small{margin:-4px 0 8px}}
.upload-check{margin-top:10px;padding:10px 12px;border-radius:8px;background:#fff0eb;color:#a6553e;font-size:12px;line-height:1.6}
/* Vereinsverwaltung: Protokoll */
.audit-list{list-style:none;margin:0 0 12px;padding:0;display:grid}.audit-list li{display:grid;grid-template-columns:170px minmax(0,1fr) 180px;gap:16px;align-items:baseline;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}.audit-list li:last-child{border-bottom:0}
.audit-when{font-size:11px;color:var(--muted)}.audit-what{color:var(--navy);overflow-wrap:anywhere}.audit-who{font-weight:600;text-align:right}.audit-who small{display:block;font-weight:400;font-size:10px;color:var(--muted)}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.audit-list li{grid-template-columns:1fr;gap:2px}.audit-who{text-align:left}.audit-who small{display:inline;margin-left:6px}}
/* Kontrolle: Rückfragen, die auf Spieler warten */
.waiting-queue{margin-bottom:24px}.waiting-queue .section-head{align-items:flex-start;padding-bottom:16px;margin-bottom:6px;border-bottom:1px solid var(--line)}.waiting-queue h2{display:flex;align-items:center;gap:10px}.waiting-queue .section-head p{margin-top:4px}
.waiting-badge{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#eef2f5;color:var(--navy);font-size:10px;font-weight:750;line-height:20px;text-align:center}
.waiting-feedback{margin-top:3px;font-style:italic}.waiting-age{font-size:11px;font-weight:600;color:var(--muted);white-space:nowrap}.waiting-age.is-old{color:var(--accent-strong)}
.waiting-item .pending-go{color:var(--navy)}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.waiting-queue .section-head{flex-direction:column;align-items:stretch}.waiting-queue .section-head .btn{width:100%}.waiting-item .pending-meta{display:flex}.waiting-item .pending-go{display:none}}
/* Vorschau der Spieleransicht */
.preview-dialog{max-width:1100px}
.preview-bar{margin-bottom:14px;padding:12px 14px;border-radius:10px;background:#eef2f5;color:var(--navy);font-size:12px;line-height:1.6}
.preview-frame{padding:28px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}.preview-frame .page-heading{margin-bottom:22px}
.preview-unit{margin-top:14px;padding:22px;border:1px solid var(--line);border-radius:12px;background:#fff}.preview-unit h2{margin-bottom:8px}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.preview-frame{padding:14px 10px}}
/* Eigene Vorlagen im Einheiten-Dialog */
.template-panel summary{display:flex;align-items:center;gap:8px}.template-list{display:grid;gap:6px;margin-top:10px}
.template-row{display:flex;align-items:center;gap:10px}.template-use{flex:1;min-width:0;text-align:left;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#fff}.template-use:hover{border-color:var(--orange)}.template-use strong{display:block;font-size:12px}.template-use small{display:block;font-size:11px;color:var(--muted)}
/* Vereinsverwaltung: Server-Check */
.server-summary{margin:0 0 14px;padding:12px 14px;border-radius:10px;font-size:13px;font-weight:600}.server-summary.is-ok{background:#e8f3ed;color:#34775b}.server-summary.is-warn{background:#fff2df;color:#8a5a1c}.server-summary.is-fail{background:#ffeee9;color:#a6553e}
.server-list{list-style:none;margin:0;padding:0;display:grid}.server-list li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.server-list li:last-child{border-bottom:0}
.server-list strong{display:block;font-size:12px}.server-list span{display:block;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.server-list small{display:block;margin-top:4px;font-size:11px;color:var(--navy)}
.server-list .server-icon{display:grid;place-items:center;color:inherit;width:24px;height:24px;border-radius:50%;font-size:12px;font-weight:800}.is-ok .server-icon{background:#e8f3ed;color:#34775b}.is-warn .server-icon{background:#fff2df;color:#a46c21}.is-fail .server-icon{background:#ffeee9;color:#b0543e}
.remember-login{display:flex;align-items:center;gap:10px;margin:4px 0 14px;font-size:12px;font-weight:600;cursor:pointer}.remember-login input{width:18px;height:18px;min-height:0;accent-color:var(--orange)}
/* Navigation: Desktop zeigt Nummer + vollen Namen, Symbol und Kurzname nur in der mobilen Leiste. */
.nav-icon,.nav-short{display:none}nav button .nav-text{display:inline;font-size:inherit}nav button.active .nav-text{color:inherit}
/* Symbol-Buttons in Tabellenzeilen (Spielerliste) */
.icon-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:nowrap}
.icon-btn{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--navy);min-height:0;padding:0}.icon-btn svg{width:19px;height:19px}.icon-btn:hover{border-color:var(--orange);color:var(--orange)}.icon-btn.is-archive:hover{color:#a6553e;border-color:#e7b8a8;background:#fff5f1}
.roster-list th:last-child{text-align:right}.roster-list td.roster-actions{width:1%;white-space:nowrap}
/* Hinweis auf neue Programmversion */
.update-banner{position:fixed;z-index:1000;left:50%;top:calc(env(safe-area-inset-top,0px) + 12px);transform:translateX(-50%);display:flex;align-items:center;gap:12px;width:max-content;max-width:calc(100vw - 24px);padding:10px 10px 10px 18px;border-radius:12px;background:var(--navy);color:#fff;box-shadow:0 12px 32px #192a3540;font-size:14px}
.update-banner .btn{min-height:36px;padding:7px 14px;white-space:nowrap}.update-later{background:none;border:0;color:#ffffffb0;font-size:22px;line-height:1;padding:4px 6px;cursor:pointer}.update-later:hover{color:#fff}
@media(max-width:520px){.update-banner{font-size:13px;gap:8px}.update-banner strong{display:block}}
/* Pausierte Spieler und interne Notiz */
.badge.paused{background:#eaf1f8;color:#355d85}
.status-badges{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.player-line .staff-note{display:block;max-width:260px;margin-top:3px;color:#8a6a2f;font-style:italic;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pause-box{margin:18px 0 4px;padding:14px 16px 4px;border:1px solid var(--line);border-radius:12px;background:#fafbfc}
.pause-box legend{padding:0 6px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.pause-box .label-inline{margin-bottom:10px}
.waiting-item .badge.paused{margin-left:6px;font-size:11px;vertical-align:middle}
/* Druckansicht Trainingsplan (Mehr → Drucken / als PDF) */
#printPlan{display:none}
@media print{
  @page{size:A4;margin:14mm 12mm}
  body.print-plan>*:not(#printPlan){display:none!important}
  body.print-plan{background:#fff!important;padding:0!important}
  body.print-plan #printPlan{display:block;color:#192a35;font:10.5pt/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
  body.print-plan .qr-poster{text-align:center;padding-top:10mm}
  .qr-poster img{width:150px;height:auto}.qr-poster h1{margin:14mm 0 2mm;font-size:26pt;line-height:1.15}.qr-poster-team{margin:0;font-size:16pt;font-weight:700;color:var(--accent)}
  .qr-poster-code svg{width:110mm;height:110mm;margin:10mm auto 8mm;display:block}
  .qr-poster ol{display:inline-block;margin:0;padding-left:1.2em;text-align:left;font-size:13pt;line-height:1.7}
  .qr-poster-foot{margin-top:12mm;font-size:9pt;color:#55646d;word-break:break-all}
  .print-head{display:flex;align-items:center;gap:16px;padding-bottom:10px;border-bottom:2px solid var(--accent);margin-bottom:12px}
  .print-head img{width:120px;height:auto}.print-head h1{margin:0;font-size:18pt;line-height:1.2}.print-head p{margin:3px 0 0;color:#55646d;font-size:9.5pt}
  .print-note{border:1px solid #d9dee2;border-radius:6px;padding:8px 12px;margin-bottom:12px}.print-note p{margin:3px 0 0;white-space:pre-line}
  .print-week{break-inside:avoid;margin-bottom:14px}.print-week h2{font-size:12pt;margin:0 0 5px}.print-week h2 span{font-weight:400;color:#55646d;font-size:9.5pt;margin-left:6px}
  .print-week table{width:100%;border-collapse:collapse}.print-week th{text-align:left;font-size:8pt;text-transform:uppercase;letter-spacing:.05em;color:#55646d;border-bottom:1px solid #b9c1c6;padding:3px 6px}
  .print-week td{vertical-align:top;border-bottom:1px solid #e3e7ea;padding:5px 6px}.print-week tr{break-inside:avoid}.print-week td:nth-child(3),.print-week td:nth-child(4){white-space:nowrap}
  .print-week td em{font-style:normal;color:#55646d;font-size:9pt;margin-left:4px}.print-week td p{margin:2px 0 0;white-space:pre-line;color:#33434c;font-size:9.5pt}
  .print-check{width:18px}.print-check span{display:inline-block;width:11px;height:11px;border:1.3px solid #192a35;border-radius:2px;margin-top:3px}
  .print-empty{color:#55646d;margin:0}.print-foot{margin-top:10px;padding-top:6px;border-top:1px solid #d9dee2;color:#55646d;font-size:8.5pt}
}
/* Benachrichtigungen */
.push-button{display:grid;place-items:center;width:40px;padding:0}.push-button svg{width:19px;height:19px}.push-button.is-on{color:var(--orange);border-color:var(--accent-line);background:var(--accent-soft)}
.push-state{margin:14px 0;padding:12px 14px;border-radius:10px;background:#f4f6f8;border:1px solid var(--line);line-height:1.55}.push-state.is-on{background:#eef7f1;border-color:#cfe6d7}.push-state.is-warn{background:#fff7ec;border-color:#f1dcb8}
.push-invite{display:flex;align-items:center;gap:16px;padding:16px 18px;margin-bottom:18px}.push-invite>div:not(.actions){flex:1;min-width:0}.push-invite p{margin:3px 0 0;color:var(--muted);font-size:13px}.push-invite .actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.push-invite-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--accent-soft);color:var(--orange);flex-shrink:0}.push-invite-icon svg{width:22px;height:22px}
@media(max-width:600px){.push-invite{flex-wrap:wrap}.push-invite .actions{width:100%;justify-content:flex-end}}
/* Erinnerungs-Status in der Spielerliste und Aufruf */
.push-flag{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;color:#9aa5ad}.push-flag svg{width:13px;height:13px}.push-flag.is-on{color:#2f7a4f}
.push-gap{display:flex;align-items:center;gap:14px;margin:0 0 16px;padding:12px 16px;border:1px solid #f1dcb8;border-radius:12px;background:#fffaf2}.push-gap p{flex:1;margin:0;font-size:13px;color:var(--muted);line-height:1.5}.push-gap p strong{color:var(--navy)}.push-gap .btn{white-space:nowrap}
.push-gap-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--accent-soft);color:var(--orange);flex-shrink:0}.push-gap-icon svg{width:18px;height:18px}
.club-push-text{margin:2px 0 0;font-size:12px;color:var(--muted)}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.push-gap{flex-wrap:wrap}.push-gap .btn{width:100%}}
/* Speicher */
.storage-summary{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:14px}.storage-summary>div{flex:1;min-width:180px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff}.storage-summary strong{display:block;font-size:20px;margin:4px 0 2px}.storage-summary small{color:var(--muted);font-size:12px}
.storage-list{list-style:none;margin:0 0 10px;padding:0;border:1px solid var(--line);border-radius:12px;background:#fff}.storage-list li{display:flex;align-items:center;gap:16px;padding:14px 16px;border-top:1px solid var(--line)}.storage-list li:first-child{border-top:0}
.storage-main{flex:1;min-width:0}.storage-main strong{display:block}.storage-main small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.storage-bar{height:6px;margin-top:8px;border-radius:99px;background:#eef1f3;overflow:hidden}.storage-bar span{display:block;height:100%;border-radius:99px;background:var(--orange)}
.storage-size{text-align:right;min-width:80px}.storage-size small{display:block;color:var(--muted);font-size:12px}.storage-list .text-button,.storage-lock{min-width:130px;text-align:right;font-size:13px}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.storage-list li{flex-wrap:wrap}.storage-main{flex-basis:100%}.storage-size{text-align:left}.storage-list .text-button,.storage-lock{margin-left:auto;min-width:0}}
/* Erste Schritte */
.setup-checklist{margin-bottom:18px}.setup-progress{height:6px;border-radius:99px;background:#eef1f3;overflow:hidden;margin:4px 0 14px}.setup-progress span{display:block;height:100%;background:var(--orange);border-radius:99px}
.setup-steps{list-style:none;margin:0;padding:0}.setup-steps li{display:flex;align-items:center;gap:14px;padding:12px 0;border-top:1px solid var(--line)}.setup-steps li:first-child{border-top:0}.setup-steps li>div{flex:1;min-width:0}.setup-steps small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
.setup-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:1.5px solid var(--line);font-weight:700;font-size:13px;color:var(--muted);flex-shrink:0}
.setup-steps li.is-done .setup-mark{background:#eef7f1;border-color:#cfe6d7;color:#2f7a4f}.setup-steps li.is-done strong{color:var(--muted);text-decoration:line-through;text-decoration-color:#c5ccd1}
.setup-steps li.is-next .setup-mark{border-color:var(--orange);color:var(--orange)}
@media(max-width:600px){.setup-steps li{flex-wrap:wrap}.setup-steps li .btn{margin-left:44px}}
.legal-modal ul{margin:0 0 8px;padding-left:18px;font-size:12px;line-height:1.7;color:var(--muted)}.legal-modal li{margin:0 0 4px}.legal-modal li strong{color:var(--navy)}
/* Ablehnen, Zurückziehen, bisheriger Nachweis */
#dialog .dialog-actions .btn.reject-button{background:#fff;color:#a6553e;border:1px solid #e7b8a8}#dialog .dialog-actions .btn.reject-button:hover{background:#fff5f1;color:#8f3f29}
.withdraw-box{display:flex;align-items:center;gap:14px;margin:14px 0 4px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fafbfc}.withdraw-box>div{flex:1}.withdraw-box p{margin:2px 0 0;font-size:12.5px;color:var(--muted)}.withdraw-box .btn{white-space:nowrap}
.current-proof{margin-top:12px;padding-top:12px;border-top:1px dashed var(--line)}.current-proof .evidence-frame{margin:6px 0}.current-proof .evidence{max-height:220px}.current-proof>p{font-size:12.5px;color:var(--muted);margin:4px 0 0}
@media(max-width:600px){.withdraw-box{flex-wrap:wrap}.withdraw-box .btn{width:100%}#reviewForm .dialog-actions{flex-wrap:wrap}#reviewForm .dialog-actions .btn{flex:1 1 auto}}
/* Spieler: Als Nächstes / Rückstand */
.focus-card{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;padding:18px 20px;margin-bottom:18px;border-left:4px solid var(--orange)}.focus-card.is-late{border-left-color:#c2553a;background:#fffaf7}.focus-card.is-done{border-left-color:#3f9a64}
.focus-main{flex:1;min-width:200px}.focus-main h2{margin:2px 0 4px;font-size:20px}.focus-main p{margin:0;color:var(--muted);font-size:13px}.focus-card .btn{white-space:nowrap}
.focus-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#eef7f1;color:#2f7a4f;font-weight:800;font-size:18px;flex-shrink:0}
.focus-behind{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;padding-top:12px;border-top:1px solid var(--line);font-size:13px;color:#8f4a36}.focus-behind strong{color:#8f4a36}
@media(max-width:600px){.focus-card .btn{width:100%}}
/* Spielerkonto */
.account-head{display:flex;align-items:center;gap:12px;padding:12px 14px;margin-bottom:16px;border:1px solid var(--line);border-radius:12px;background:#fafbfc}.account-head strong{display:block}.account-head small{color:var(--muted);font-size:12px}
.account-title{font-size:15px;margin:0 0 10px}#passwordForm label small{font-weight:400;color:var(--muted)}.account-forgot{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.draft-note{margin:0 0 14px;padding:10px 12px;border-radius:10px;background:#eef4fb;color:#2f5277;font-size:13px}.draft-note .text-button{font-size:13px;margin-left:4px}
/* Spieler: Teamvergleich anonym */
.team-card{margin:14px 0 6px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#fff}
.team-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}.team-card-head h3{margin:0;font-size:15px}.team-card-head .club-muted{font-size:11.5px}
.team-week>div:first-child{display:flex;align-items:baseline;gap:10px}.team-week strong{font-size:22px}.team-week span{font-size:12.5px;color:var(--muted)}
.team-week-bar{height:8px;margin-top:8px;border-radius:99px;background:#e9edf0;overflow:hidden}.team-week-bar span{display:block;height:100%;background:#3f9a64;border-radius:99px}
.team-place{margin:14px 0 8px;font-size:13.5px}
.rank-chart{display:flex;align-items:flex-end;gap:4px;height:84px;padding:18px 0 0;border-bottom:1px solid var(--line)}
.rank-bar{position:relative;flex:1;min-width:4px;max-width:28px;border-radius:5px 5px 0 0;background:#d9dfe4}.rank-bar.is-own{background:var(--orange)}
.rank-bar b{position:absolute;left:50%;bottom:100%;transform:translateX(-50%);margin-bottom:3px;font-size:10.5px;color:var(--accent-strong);white-space:nowrap}
/* Server-Check: Cronjobs einrichten */
.cron-help{margin-top:18px;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:#fafbfc}.cron-help h3{margin:0 0 4px;font-size:15px}.cron-help>p{font-size:13px;color:var(--muted);margin:0 0 12px}
.cron-job{padding:12px 0;border-top:1px solid var(--line)}.cron-job-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;margin-bottom:8px}.cron-job-head span{font-size:12.5px;color:var(--muted)}
.cron-command{display:flex;align-items:center;gap:10px}.cron-command code{flex:1;min-width:0;padding:10px 12px;border-radius:8px;background:#192a35;color:#e9eef2;font-size:12px;line-height:1.5;word-break:break-all;user-select:all}.cron-command .btn{white-space:nowrap}
.cron-help code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
@media(max-width:600px){.cron-command{flex-direction:column;align-items:stretch}}
/* Spieler: Wochenkarte mit Plan-Fortschritt */
.hero.hero-plan{flex-direction:column;align-items:stretch;gap:18px}
.hero-plan .hero-head h2{margin-bottom:0}.hero-plan .hero-head p{margin-top:8px}
.hero-row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 28px}
.hero-weeks{display:flex;flex-wrap:wrap;gap:6px}
.hero-week{display:flex;flex-direction:column;align-items:center;gap:4px;padding:0;border:0;background:none;color:#b3c0c7;cursor:pointer;min-height:0}
.hero-week .dot{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:2px solid #4a5c68;font-size:13px;font-weight:800;color:#fff;box-sizing:border-box}
.hero-week small{font-size:11px;font-weight:600}
.hero-week.is-done .dot{background:#3f9a64;border-color:#3f9a64}
.hero-week.is-sent .dot{border-color:#8cc7a2;color:#8cc7a2}
.hero-week.is-partial .dot{border-color:#8cc7a2;background:linear-gradient(90deg,#8cc7a2 50%,transparent 50%)}
.hero-week.is-missed .dot{border-color:#e0664a;color:#ffb39e}
.hero-week.is-free .dot{border-style:dashed;color:#6d7f8a}
.hero-week.is-current .dot{box-shadow:0 0 0 3px #192a35,0 0 0 5px #fff}
.hero-week.is-shown small{color:#fff;font-weight:800}
.hero-week:focus-visible .dot{outline:2px solid var(--accent-on-dark);outline-offset:3px}
.hero-total{min-width:190px;flex:0 1 240px}.hero-total>span{font-size:13px;color:#b3c0c7}.hero-total strong{font-size:22px;color:#fff;margin-left:4px;letter-spacing:-.5px}
.hero-total .track,.hero-plan .track{height:8px;margin:6px 0 4px;border-radius:99px;background:#34495a;overflow:hidden}.hero-total .track span{display:block;height:100%;background:#8cc7a2;border-radius:99px}.hero-total small{font-size:11px;color:#b3c0c7}
.hero-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding-top:14px;border-top:1px solid #2e4250;font-size:13px;color:#b3c0c7}.hero-foot strong{color:#fff}
.hero-foot .streak{font-size:12.5px;font-weight:700;color:var(--accent-on-dark);background:#ffffff14;padding:4px 10px;border-radius:99px}
@media(max-width:600px){.hero-week .dot{width:28px;height:28px}.hero-total{flex-basis:100%}}


/* Logo in einzelnen Karten (Spieler-Einladung, Einladung nicht verfügbar) mittig */
.login-card>.brand,.panel.welcome>.brand{display:flex;justify-content:center;margin-bottom:22px}.login-card>.brand img,.panel.welcome>.brand img{margin:0 auto}
.login-page>.login-card:only-child{grid-column:1/-1;justify-self:center;width:min(100%,480px)}
/* Abmeldung (verletzt/krank) */
.absence-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:0 0 16px;padding:12px 16px;border-radius:12px;background:#fff7ec;border:1px solid #f1dcb8;color:#7a5418;font-size:13.5px}.absence-banner.is-paused{background:#eaf1f8;border-color:#d3e2f1;color:#2f5277}.absence-banner .btn{white-space:nowrap}
.inline-link{background:none;border:0;padding:0;color:var(--accent);font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:0}
.absence-queue{margin-bottom:18px;border-color:#f1dcb8}.absence-list{display:grid;gap:4px}
.absence-item{display:flex;align-items:center;gap:14px;padding:12px 0;border-top:1px solid var(--line)}.absence-item:first-child{border-top:0}
.absence-main{flex:1;min-width:0}.absence-main strong{display:block}.absence-main small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}.absence-note{font-style:italic}
.absence-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
@media(max-width:600px){.absence-item{flex-wrap:wrap}.absence-actions{width:100%;justify-content:flex-end}.absence-banner .btn{width:100%}}
/* Einführung für Spieler */
.intro-step{display:flex;gap:16px;align-items:flex-start;margin:6px 0 18px}.intro-step p{margin:0;font-size:15px;line-height:1.65;color:var(--navy)}
.intro-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:var(--accent-soft);color:var(--accent);flex-shrink:0}.intro-icon svg{width:28px;height:28px}
.intro-dots{display:flex;justify-content:center;gap:8px;margin-bottom:6px}.intro-dots span{width:8px;height:8px;border-radius:50%;background:var(--line)}.intro-dots span.is-on{background:var(--accent);width:22px;border-radius:99px}
.account-intro{margin:14px 0 0;font-size:13px}
/* Darstellung (Automatisch/Hell/Dunkel) im Konto */
.theme-switch{margin:0 0 18px}.theme-switch small{display:block;margin-top:6px;font-size:12px;color:var(--muted)}
.theme-options{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:6px;padding:4px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}
.theme-option{min-height:38px;border:0;border-radius:7px;background:none;color:var(--muted);font-weight:600;font-size:13px;cursor:pointer}.theme-option.is-on{background:var(--accent);color:#fff}
/* Mannschaft: Werkzeugleiste mit Symbolen (Handy: nur Symbole, alles in einer Reihe) */
main:has(.roster-list) .toolbar{grid-template-columns:minmax(180px,1fr) auto}
.roster-tools{display:flex;gap:8px;flex-wrap:nowrap}
.tool-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.tool-btn svg{width:17px;height:17px;flex-shrink:0}
.tool-btn.is-on{background:var(--accent-soft);color:var(--accent-strong);box-shadow:inset 0 0 0 1px var(--accent-line)}
.tool-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:var(--accent);color:#fff;font-size:10.5px;font-weight:700}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){
  main:has(.roster-list) .toolbar{grid-template-columns:1fr}
  main:has(.roster-list) .toolbar>.roster-tools{width:100%;display:flex;gap:8px}
  main:has(.roster-list) .roster-tools .tool-btn:not(.tool-primary){flex:0 0 48px;width:48px;min-height:48px;padding:0}
  main:has(.roster-list) .roster-tools .tool-btn:not(.tool-primary) span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  main:has(.roster-list) .roster-tools .tool-primary{flex:1 1 auto;min-height:48px}
  main:has(.roster-list) .roster-tools .tool-btn svg{width:20px;height:20px}
  .roster-tools .tool-count{position:absolute;top:-6px;right:-6px;box-shadow:0 0 0 2px var(--paper)}
}
/* Kontrolle: farbige Status-Buttons und kurze Spaltenköpfe */
.status-cell{width:100%;font-weight:700;font-size:11.5px;transition:filter .15s}
.status-cell.is-open{background:#f3f5f7;border-color:#e1e6ea;color:#6b7780}
.status-cell.is-pending{background:#fff1d6;border-color:#f0c877;color:#8a5a12}
.status-cell.is-approved{background:#e5f5ec;border-color:#b5dfc6;color:#1f7a4c}
.status-cell.is-returned,.status-cell.is-rejected{background:#fdebe7;border-color:#f1bfb3;color:#a4462f}
.status-cell:hover{filter:brightness(.96)}
.status-cell.is-open:hover{background:var(--accent-soft);border-color:var(--accent-line);color:var(--accent-strong)}
th.unit-head{text-transform:none;letter-spacing:0;font-size:12.5px;font-weight:700;color:var(--navy);line-height:1.3;vertical-align:bottom}
th.unit-head small{display:block;margin-top:3px;font-size:11px;font-weight:500;color:var(--muted)}
.filter-dot{display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;vertical-align:middle}.filter-dot.is-pending{background:#e5a93a}.filter-dot.is-open{background:#aab4bb}
.label-short{display:none}

/* Kontrolle: Einheiten-Spalten gleich breit */
main:has(.stats) .table-wrap table:has(th.unit-head){table-layout:fixed;width:100%}
@media(min-width:701px) and (min-height:521px),(min-width:701px) and (pointer:fine){main:has(.stats) .table-wrap table:has(th.unit-head) thead th:first-child{width:24%}}
main:has(.stats) .table-wrap thead th{vertical-align:bottom}
/* Untertitel bewusst zweizeilig statt zufälligem Umbruch */
.two-line span{display:block}
/* Statistiken: Donuts und Farben, keine Umbrüche */
.donut{position:relative;flex-shrink:0}.donut svg{width:100%;height:100%;transform:rotate(0deg)}
.donut circle{fill:none;stroke-width:5.2}.donut-track{stroke:#e8ecef}
.donut-seg{stroke-linecap:butt}.donut-seg.is-approved,.seg.is-approved,.dot.is-approved{stroke:#2e9d63;background:#2e9d63}.donut-seg.is-pending,.seg.is-pending,.dot.is-pending{stroke:#f0b33e;background:#f0b33e}.donut-seg.is-returned,.seg.is-returned,.dot.is-returned{stroke:#e0664a;background:#e0664a}.donut-seg.is-open,.dot.is-open{stroke:#dfe4e8;background:#dfe4e8}
.donut-center{position:absolute;inset:0;display:grid;place-content:center;text-align:center;line-height:1.1}.donut-center strong{font-size:26px;letter-spacing:-.5px;color:var(--navy)}.donut-center small{font-size:11px;color:var(--muted);margin-top:2px}
.stats-overview{display:flex;align-items:center;gap:26px;margin-bottom:18px;padding:22px 24px}
.stats-overview-side{flex:1;min-width:0}.stats-overview-side h2{margin:0 0 10px;font-size:18px;white-space:nowrap}
.stats-legend{list-style:none;margin:0 0 14px;padding:0;display:grid;grid-template-columns:repeat(2,max-content);gap:6px 32px}.stats-legend li{display:flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap}.stats-legend span{color:var(--muted)}.stats-legend b{margin-left:6px}
.dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex-shrink:0}
.stats-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.kpi{padding:10px 12px;border-radius:10px;white-space:nowrap}.kpi strong{display:block;font-size:22px;line-height:1.1}.kpi span{font-size:12px;font-weight:600}
.kpi.is-blue{background:var(--accent-soft);color:var(--accent-strong)}.kpi.is-green{background:#e5f5ec;color:#1f7a4c}.kpi.is-amber{background:#fff1d6;color:#8a5a12}
.week-donuts{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:14px 10px;margin-top:6px}
.week-donut{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 4px;border-radius:12px;white-space:nowrap}.week-donut.is-current{background:var(--accent-soft)}.week-donut .donut-center strong{font-size:16px}.week-donut>strong{font-size:13px}.week-donut>small{font-size:12px;color:var(--muted)}
.statistics-player-table td,.statistics-player-table th{white-space:nowrap}.statistics-player-table td:first-child{max-width:0;width:40%;overflow:hidden;text-overflow:ellipsis}.statistics-player-table td:first-child .link-button,.statistics-player-table td:first-child small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.statistics-player-table .num{text-align:right;width:70px}
.player-bar{display:flex;height:8px;border-radius:99px;background:#e8ecef;overflow:hidden;min-width:80px}.player-bar .seg{display:block;height:100%}
.player-bar-text{display:block;margin-top:4px;font-size:11.5px;color:var(--muted)}
.count-pill{display:inline-grid;place-items:center;min-width:28px;height:24px;padding:0 8px;border-radius:99px;background:#eef1f3;color:var(--muted);font-weight:700;font-size:12px}.count-pill.is-pending{background:#fff1d6;color:#8a5a12}
@media(max-width:600px){
  .stats-overview{flex-direction:column;align-items:stretch;gap:16px;padding:18px}.stats-overview>.donut{align-self:center}
  .stats-overview-side h2{text-align:center}
  .stats-legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px}.stats-legend b{margin-left:auto}
  .statistics-heading{position:relative}main .page-heading.statistics-heading>.actions{position:absolute;top:0;right:0;left:auto;width:auto;margin:0;justify-content:flex-end}
  .kpi{padding:9px 8px;text-align:center}.kpi strong{font-size:19px}.kpi span{font-size:11px}
  .week-donuts{grid-template-columns:repeat(3,minmax(0,1fr))}
  .statistics-heading .actions .tool-btn span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .statistics-heading .actions .tool-btn{width:44px;min-height:44px;padding:0}
}
/* Endgültig löschen */
.danger-zone{display:flex;align-items:center;gap:14px;margin-top:22px;padding:14px 16px;border:1px solid #f1bfb3;border-radius:12px;background:#fdf3f0}.danger-zone>div{flex:1;min-width:0}.danger-zone strong{color:#a4462f}.danger-zone p{margin:3px 0 0;font-size:12.5px;color:var(--muted)}.danger-zone .btn{white-space:nowrap}
#deleteForm .btn.danger:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:600px){.danger-zone{flex-wrap:wrap}.danger-zone .btn{width:100%}}


/* E-Mail-Anmeldung & Passwort vergessen */
.login-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;margin:-4px 0 14px;font-size:13px}
.login-back{margin:16px 0 0}
.account-email{margin:0 0 18px;padding:12px 14px;border:1px solid var(--line);border-radius:10px}
.account-email>div{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:4px;overflow-wrap:anywhere}
.account-email em{color:var(--muted)}.account-email small{display:block;margin-top:4px;font-size:12px;color:var(--muted)}
.mail-form{max-width:560px}.mail-actions{display:flex;flex-wrap:wrap;gap:10px}

/* Versionsnummer */
.app-version{display:block;margin-top:6px;opacity:.7}
.account-version{margin:14px 0 0;font-size:12px;color:var(--muted);text-align:center}


/* E-Mail-Bestätigung per Code */
.code-input{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:26px!important;letter-spacing:.4em;text-align:center}
.code-status{margin:0 0 10px;font-size:13px;color:var(--green,#1f8a5b)}.code-status:empty{display:none}
.code-step h2{margin-top:0}.code-step>p{margin:0 0 18px}.code-step .login-back{margin-bottom:6px}

/* E-Mail-Status in der Mannschaft */
.mail-flag{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;color:#9aa5ad}.mail-flag svg{width:13px;height:13px}
.mail-flag.is-pending{color:#2f6fed}
.club-note.pending-mail{color:#a86a12}
.account-delete{margin-top:18px}
.invite-mailed{margin:0 0 14px;padding:10px 12px;border-radius:10px;background:#eef8f2;color:#1f5f3c;font-size:13px}
.invite-qr{display:flex;align-items:center;gap:16px;margin:4px 0 14px;padding:12px;border:1px solid var(--line);border-radius:12px}
.invite-qr .qr-box{flex:none;width:112px;height:112px;background:#fff;border-radius:8px;padding:0}.invite-qr .qr-box svg{width:100%;height:100%;display:block}
.invite-qr p{margin:4px 0 10px;font-size:13px;color:var(--muted)}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.invite-qr{flex-direction:column;text-align:center}.invite-qr .qr-box{width:180px;height:180px}}
.error-log{margin-top:18px;padding:14px 16px;border:1px solid #f1d3a8;border-radius:12px;background:#fffaf2}.error-log h3{margin:0 0 8px;font-size:15px}
.error-log ul{list-style:none;margin:0 0 12px;padding:0}.error-log li{display:flex;gap:12px;padding:8px 0;border-top:1px solid #f3e3c8;font-size:13px}.error-log li:first-child{border-top:0}
.error-when{flex:none;width:130px;color:var(--muted)}.error-what{min-width:0;overflow-wrap:anywhere}.error-what code{display:block;margin-top:2px;font-size:12px;color:var(--muted)}.error-what small{display:block;color:var(--muted)}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.error-log li{flex-direction:column;gap:2px}.error-when{width:auto}}
.reset-entry{margin-top:12px;text-align:right;font-size:13px}.inline-link.danger-link{color:#b4412f}
.delete-impact{margin:0 0 12px;padding:12px 14px;border:1px solid #f1bfb3;border-radius:12px;background:#fdf3f0;font-size:14px}.delete-impact ul{margin:6px 0 0;padding-left:1.2em}
.invite-valid .inline-link{margin-left:4px}

/* Vereinslogo neben dem PREPRIME+-Logo, getrennt durch einen senkrechten Strich */
.brand,.header-brand{align-items:center}
.club-divider{flex:none;align-self:stretch;width:1.5px;min-height:28px;margin:4px 12px;background:currentColor;opacity:.22;border-radius:1px;order:3}
.brand img.club-logo,.header-brand img.club-logo{flex:none;height:44px;width:auto!important;max-width:120px;object-fit:contain;order:4;margin:0}
.brand,.header-brand{gap:0}
.brand>img:not(.club-logo),.header-brand>img:not(.club-logo){order:1}
.has-club-logo aside .brand img:not(.club-logo){width:132px}
.has-club-logo aside .brand .club-logo{height:38px;max-width:64px}
.has-club-logo .login-story .brand img:not(.club-logo){width:210px}
.has-club-logo .login-story .brand .club-logo{height:64px;max-width:160px}
.has-club-logo .login-card>.brand .club-logo,.has-club-logo .panel.welcome>.brand .club-logo{height:48px}
.logo-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:24px;align-items:center}
.logo-preview{display:flex;align-items:center;justify-content:center;min-height:120px;padding:18px;border:1px dashed var(--line);border-radius:14px;background:var(--paper);color:var(--navy)}
.logo-preview-pp{width:150px}.logo-preview .club-divider{order:0;min-height:44px}.logo-preview-club{height:64px;max-width:140px;object-fit:contain}
.logo-placeholder{display:grid;place-items:center;width:64px;height:64px;border-radius:12px;border:1.5px dashed var(--muted);color:var(--muted);font-size:11px;text-align:center}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.logo-panel{grid-template-columns:1fr}
  .has-club-logo #shell .header-brand .club-logo{height:30px;max-width:56px}.has-club-logo #shell .header-brand .club-divider{margin:4px 8px;min-height:22px}
  .has-club-logo #shell:not(.player-mode) #headerBrand img:not(.club-logo){width:96px}
  .has-club-logo .login-story .brand img:not(.club-logo){width:170px}.has-club-logo .login-story .brand .club-logo{height:52px}}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){
  .has-club-logo #shell:not(.player-mode) #headerBrand img:not(.club-logo){width:86px}
  .has-club-logo #shell .header-brand .club-logo{height:28px;max-width:48px}
  .has-club-logo #shell .header-brand .club-divider{margin:4px 7px}
}

/* Demo (demo.preprimeplus.de, public/assets/demo.js): Zugangsdaten auf der Anmeldeseite, Banner mit Countdown – kein Kennzeichen am Logo */
.is-demo [data-forgot],.is-demo .push-invite,.is-demo #pushButton{display:none!important}   /* no password reset and no push in the demo */
.demo-access{margin:0 0 26px;padding:0 0 22px;border-bottom:1px solid var(--line)}
.login-card.is-demo-login>:not(.demo-access){display:none!important}.login-card.is-demo-login .demo-access{margin:0;padding:0;border:0}   /* demo: only the demo accesses, no normal login form */
.demo-access h2{margin-bottom:6px}.demo-access>p{font-size:12px}
.demo-countdown{margin:12px 0 14px;font-size:12px;font-weight:700;color:var(--navy);font-variant-numeric:tabular-nums}
.demo-countdown.warn{color:#a4541f}
.demo-reset-notice{margin:0 0 16px;padding:12px 14px;border-radius:9px;background:#fff2df;color:#7a4a12;border:1px solid #f2d3a4;font-size:12px}
.demo-accounts{display:grid;gap:10px}
.demo-account{border:1px solid var(--line);border-radius:11px;padding:12px 14px;background:#fafbfc}
.demo-account-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:6px}.demo-account-head small{color:var(--muted);font-size:11px}
.demo-cred{display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:8px;font-size:11px;margin:3px 0}
.demo-cred span{color:var(--muted)}.demo-cred code{font-size:12px;overflow-wrap:anywhere;color:var(--navy)}
.demo-copy{font-size:11px;font-weight:650;color:var(--accent);padding:4px 6px;border-radius:6px}.demo-copy:hover{background:var(--accent-soft)}
.demo-login{width:100%;margin-top:8px}
.demo-banner{display:flex;align-items:center;gap:10px;padding:9px 42px;background:#e8f3ed;color:#245c44;font-size:12px;border-bottom:1px solid #cfe5d8}
.demo-banner b{flex:none;font-size:9px;letter-spacing:.12em;padding:3px 7px 2px;border-radius:999px;background:#1f8a5f;color:#fff}
.demo-banner.warn{background:#fff2df;color:#7a4a12;border-color:#f2d3a4}.demo-banner.warn b{background:#c26a1c}
.demo-code{margin:10px 0 0}
.demo-status{margin-bottom:24px}.demo-status-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:0 0 12px}
.demo-status-list dt{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.6px}.demo-status-list dd{margin:2px 0 0;font-size:13px;font-weight:600}
.demo-errors{margin:0;padding-left:1.1em;font-size:12px;color:#b34834}.demo-errors span{color:var(--muted)}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.demo-banner{padding:9px 16px}}

/* Vereinsverwaltung → Benachrichtigungen */
.notice-group{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:22px 0 8px}.notice-group:first-child{margin-top:0}
.notice-item{border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin-bottom:10px;background:#fff}
.notice-item.is-off{background:#f6f7f9}.notice-item.is-off .notice-switch strong{color:var(--muted)}
.notice-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.notice-switch{display:flex;gap:12px;align-items:flex-start;font-weight:400;cursor:pointer}.notice-switch input{width:20px;height:20px;flex:none;margin:2px 0 0;padding:0}
.notice-switch strong{display:block;font-size:13px;color:var(--navy)}.notice-switch small{display:block;font-size:11px;color:var(--muted);margin-top:2px;line-height:1.5}
.notice-edit{margin-top:10px}.notice-edit summary{cursor:pointer;font-size:12px;font-weight:650;color:var(--accent);width:max-content}
.notice-edit[open] summary{margin-bottom:12px}.notice-edit .field{margin-bottom:10px}.notice-edit label small{font-weight:400;color:var(--muted)}
.notice-vars{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.notice-var{font:600 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace;padding:6px 8px;border-radius:6px;background:var(--accent-soft);color:var(--accent-strong)}
.notice-preview{border-left:3px solid var(--accent);background:#f6f7f9;border-radius:8px;padding:10px 12px;margin-bottom:8px}
.notice-preview span{display:block;font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.notice-preview strong{display:block;font-size:13px;color:var(--navy)}.notice-preview p{font-size:12px;margin-top:2px}
.notices-form code{font-size:11px}
.notices-form>.note{margin:22px 0 20px;line-height:1.7}.notices-form>.error:empty{display:none}.notices-form>.error{margin:0 0 14px}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){.notices-form .mail-actions .btn{width:100%}}

/* „Was ist neu?“ nach einem Update */
.news-list{display:grid;gap:18px;max-height:min(60vh,520px);overflow:auto;margin:-4px -4px 0;padding:4px}
.news-version h3{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 10px}
.news-version+.news-version{border-top:1px solid var(--line);padding-top:16px}
.news-kind{margin-bottom:12px}.news-kind ul{margin:6px 0 0;padding-left:18px;display:grid;gap:8px}
.news-kind li{font-size:13px;line-height:1.55;color:#4b5a64}.news-kind li strong{color:var(--navy)}
.news-badge{display:inline-block;font-size:10px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;padding:3px 8px;border-radius:999px}
.news-badge.is-neu{background:var(--accent-soft);color:var(--accent-strong)}.news-badge.is-verbessert{background:#e8f3ed;color:#24775d}.news-badge.is-behoben{background:#fff2df;color:#a4541f}

/* Spruch unter dem Logo: einzeilig, Breite wird in app.js (fitTagline) auf den Logoblock eingepasst */
aside .nav-label .tagline{display:inline-block;white-space:nowrap;letter-spacing:.14em;line-height:1.2}

/* Vereinslogo: Hinweis mit Abstand, Buttons über die volle Breite */
#logoForm .note{margin:10px 0 18px}.logo-status{font-size:12px;font-weight:650;color:var(--accent-strong);margin:0}.logo-status:empty{display:none}#logoForm .next-upload .btn{flex:1 1 auto}#logoForm .error:empty{display:none}
.logo-actions{display:grid;gap:10px}.logo-actions .btn{width:100%}

.pp-mark{position:relative;display:inline-flex;align-items:center;order:1;flex:none}

/* Kennzeichen, Trennstrich und Vereinslogo rücken an das sichtbare „+“ (--pp-trim: Leerraum rechts in der Logo-Datei, app.js) */
.brand .club-divider,.header-brand .club-divider{margin-left:calc(12px - var(--pp-trim,0px))}

/* BETA: nicht mehr am Logo, sondern gut sichtbar unter dem Inhalt (App und öffentliche Seiten); an/aus über APP_BETA */
.brand::after,.header-brand::after,.pp-mark::after{content:none!important}
.beta-note{display:none}
.is-beta .beta-note{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 10px;padding:18px 20px 6px;font-size:12px;color:var(--muted);text-align:center}
.beta-pill{flex:none;padding:3px 9px 2px;border-radius:999px;background:var(--accent);color:#fff;font-size:10px;font-weight:800;letter-spacing:.12em;line-height:1.3}
body:has(#shell:not([hidden])) .public-beta{display:none!important}
/* Während des Ladens (noch keine Seite gezeichnet) weder Fußzeile noch BETA-Hinweis – sonst blitzen sie beim Aktualisieren oben auf */
body:has(#login:empty) .public-beta,body:has(#login:empty) .public-legal{display:none!important}
.is-beta body:has(.public-beta) .login-page{min-height:calc(100dvh - 88px)}

/* Versionsnummer dezent in der Fußzeile */
footer .footer-version{font-size:9px;letter-spacing:.3px;color:#b3bbc1}
#shell:not(.player-mode) footer .footer-version{order:1;margin:0 auto 0 12px}#shell:not(.player-mode) footer>span:not(.footer-legal):not(.footer-version){order:2}
.player-mode footer .footer-version,#shell:not(.player-mode) footer .footer-version{display:inline}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){footer .footer-version{display:block!important;width:100%;text-align:center;font-size:10px;margin-top:6px}}
.player-mode footer{flex-wrap:wrap}.player-mode footer .footer-version{display:block;width:100%;text-align:center;font-size:10px;margin-top:6px}

/* Einverständnis der Eltern (unter 16) */
.parent-consent{display:flex;gap:10px;align-items:flex-start;margin:4px 0 16px;padding:12px 14px;border:1px solid var(--accent-line);border-radius:10px;background:var(--accent-soft);font-weight:400;line-height:1.5}.parent-consent input{width:18px;height:18px;flex:none;margin-top:2px}

/* Kontrolle: Spieler an offene Einheiten erinnern */
.nudge-btn{display:inline-flex;align-items:center;gap:5px;margin-top:6px;padding:4px 9px;border:1px solid var(--accent-line);border-radius:999px;background:var(--accent-soft);color:var(--accent-strong);font-size:11px;font-weight:700}.nudge-btn svg{width:13px;height:13px}.nudge-btn:hover{border-color:var(--accent)}
.nudge-done{display:inline-block;margin-top:6px;font-size:11px;color:var(--muted);font-weight:650}
.profile-meta .nudge-btn,.profile-meta .nudge-done{margin-top:0}

/* Motivation im Spielerbereich: Serie und eigene Platzierung */
.streak{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:12px 14px;border-radius:12px;background:#fff5e8;border:1px solid #f6d9ae}
.streak strong{display:block;font-size:14px;color:var(--navy)}.streak small{display:block;font-size:11.5px;color:var(--muted);margin-top:2px}
.streak-flame{font-size:24px;line-height:1}.streak.is-empty{background:var(--paper);border-color:var(--line)}.streak.is-empty .streak-flame{filter:grayscale(1);opacity:.5}
.team-msg{margin:0 0 14px;padding:11px 14px;border-radius:12px;font-size:13.5px;line-height:1.5;font-weight:600}
.team-msg.is-first,.team-msg.is-top{background:#e8f3ed;color:#1f6b45}.team-msg.is-mid{background:var(--accent-soft);color:var(--accent-strong)}.team-msg.is-low{background:#fff2df;color:#8a5a10}
.motivation-form .motivation-row{margin-bottom:12px}.motivation-row.is-off{opacity:.5}
.legal-form{max-width:760px}.legal-status{margin:0 0 16px;padding:11px 14px;border-radius:12px;font-size:13.5px;line-height:1.5;font-weight:600}.legal-status a{white-space:nowrap}
.legal-status.is-ok{background:#e8f3ed;color:#1f6b45}.legal-status.is-open{background:#fff2df;color:#8a5a10}
.legal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.legal-avv{margin:4px 0 12px}
.absence-privacy{margin:4px 0 12px;font-size:12.5px}
@media(max-width:700px){.legal-grid{grid-template-columns:1fr}}
