:root{--navy:#1d1d1f;--muted:#6e6e73;--paper:#f2f2f7;--line:#d8d8dc;--accent:#007aff;--accent-hover:#0066d6;--accent-strong:#0058b9;--accent-soft:#e6f0ff;--accent-line:#b8d5ff;--accent-on-dark:#64b5ff;--accent-rgb:0,122,255;--orange:var(--accent);--green:#248a3d;--blue:#0071e3;--surface:#fff;--fill:rgba(118,118,128,.12);--fill-strong:rgba(118,118,128,.2);--separator:rgba(60,60,67,.16);--material:rgba(249,249,251,.78);--material-line:rgba(0,0,0,.1);--red:#ff3b30;--red-text:#d70015;--scrim:rgba(0,0,0,.32);--shadow-sheet:0 10px 40px rgba(0,0,0,.18),0 0 0 .5px rgba(0,0,0,.06);--inverse:#1d1d1f;--on-inverse:#fff;--surface-2:#f2f2f7;--segment:#fff;--sheet-bg:#f2f2f7;--cell:#fff;--switch-off:#e9e9eb;--switch-on:#34c759}*{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}.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}.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)}.section-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 17px;gap:10px}.section-head p{font-size:11px}.tasks{display:grid;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}.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}.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}.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}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}.note{font-size:10px;color:#869299;line-height:1.7;margin-top:12px}.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}}
@media(max-width:1100px){aside{width:225px;padding:28px 16px}.workspace{margin-left:225px}main{padding:30px 25px}.brand{font-size:12px}.brand small{font-size:5px}header{padding:0 25px}}
@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}.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}.section-head h2{font-size:17px}.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%}.form-grid{gap:12px}.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}}
/* SQUAD+ 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}.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}.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}.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}.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}.check-note{font-size:11px;color:var(--muted);line-height:1.6}.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}.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}.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}.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}.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 SQUAD+ 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}
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}.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}.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}.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}
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}
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}summary::-webkit-details-marker{display:none}summary:focus-visible{outline:3px solid var(--orange);outline-offset:3px}.actions{display:flex;gap:10px}

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


.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 .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}
@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}}
.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}}
.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)}
/* 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}

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}}
/* 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}}
/* Vorschau der Spieleransicht */
.preview-dialog{max-width:1100px}
/* 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}
/* 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 */
/* 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}
/* 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}
}
/* 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}
/* 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%}}
.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)}
/* 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)}
/* 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}}


/* 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)}
.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}
/* 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}
.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)}
}
main:has(.stats) .table-wrap thead th{vertical-align:bottom}.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}
.dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex-shrink: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}}.inline-link.danger-link{color:#b4412f}
.invite-valid .inline-link{margin-left:4px}

/* Vereinslogo neben dem SQUAD+-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.squadplus.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)}
.player-mode footer{flex-wrap:wrap}

/* 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}
.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}
@media(max-width:700px){.legal-grid{grid-template-columns:1fr}}
/* Als App installieren: Anleitung mit nummerierten Schritten und Teilen-Symbol im Text */
.install-steps{margin:4px 0 14px;padding-left:22px;display:grid;gap:9px;line-height:1.5}.install-steps li::marker{font-weight:800;color:var(--accent)}
.install-glyph{display:inline-block;width:17px;height:17px;vertical-align:-3px;color:var(--accent)}
/* Trainer-Link: zwei Knöpfe im Kopf des Trainerteams, Anfragen mit „Freigeben“ */
.club-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.btn.small{min-height:34px;padding:0 14px;font-size:13px}
.trainer-requests{margin-bottom:18px}
/* Auswahllisten: mindestens so breit wie das Feld, bei schmalen Feldern (Tag im Datum) so breit wie der Inhalt – nie abgeschnitten */
.next-options{right:auto;min-width:100%;width:max-content;max-width:min(20rem,calc(100vw - 32px));overflow-x:hidden}
.next-option{white-space:nowrap}
.instruction:empty{display:none}

/* Excused (due during a pause): neutral, not "open" */
.badge.excused{background:#eef1f4;color:#7b858d;font-style:italic}
.badge.queued{background:#fff4e0;color:#8a5a10}
.notice-stats .ns-top{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.ns-reach{border:1px solid var(--line);border-radius:12px;padding:14px 16px}.ns-reach strong{display:block;font-size:24px;letter-spacing:-.6px}.ns-reach strong small{font-size:13px;color:var(--muted);font-weight:600;letter-spacing:0}.ns-reach>span{display:block;font-size:11px;color:var(--muted)}.ns-track{height:5px;border-radius:5px;background:var(--line);margin-top:10px;overflow:hidden}.ns-track span{display:block;height:100%;background:var(--green)}
.ns-chart{display:flex;align-items:flex-end;gap:3px;height:110px;padding:10px 0 0;border-bottom:1px solid var(--line)}.ns-bar{flex:1;height:100%;display:flex;flex-direction:column-reverse;min-width:0}.ns-bar span{display:block;width:100%}.ns-bar .ns-push{background:var(--accent);border-radius:3px 3px 0 0}.ns-bar .ns-mail{background:var(--green)}.ns-bar span:only-child,.ns-bar .ns-mail[style*="height:0%"]+.ns-push{border-radius:3px 3px 0 0}
.ns-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:8px 0 16px}.ns-legend span:last-child{margin-left:auto}.ns-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}i.ns-push{background:var(--accent)}i.ns-mail{background:var(--green)}
.ns-kinds{white-space:normal}.ns-kinds td,.ns-kinds th{padding:10px 12px}.ns-kinds td:last-child{font-weight:650}.ns-chip{font-size:10px;font-weight:700;padding:3px 7px;border-radius:5px}.ns-chip.ns-push{background:var(--accent-soft);color:var(--accent-strong)}.ns-chip.ns-mail{background:rgba(36,119,93,.12);color:var(--green)}.ns-failed{display:inline;color:#b34834;font-weight:500}
.ns-warn{font-size:12px;color:#a46c21;background:rgba(233,169,58,.13);border-radius:9px;padding:10px 12px;margin:0 0 14px}.ns-off{font-size:12px;margin-top:14px}.ns-off strong{color:inherit}
@media(max-width:700px){.notice-stats .ns-top{grid-template-columns:1fr 1fr}.ns-chart{gap:2px}}
.lang-switch{margin:14px 0 0;font-size:12px;color:var(--muted)}.lang-switch .inline-link.is-on{font-weight:800;color:var(--navy);text-decoration:none}
/* Language switch as flags (login page, account) */
.lang-switch{display:flex;gap:10px;align-items:center}.lang-flag{display:inline-grid;place-items:center;padding:4px;border:2px solid transparent;border-radius:8px;background:none;opacity:.55;min-height:0;cursor:pointer}.lang-flag .flag{display:block;width:30px;height:20px;border-radius:3px;box-shadow:0 0 0 1px #0002}.lang-flag:hover{opacity:.9}.lang-flag.is-on{opacity:1;border-color:var(--accent)}.theme-option.lang-flag{display:grid;opacity:1;filter:grayscale(.6)}.theme-option.lang-flag.is-on{filter:none;background:var(--accent-soft)}.account-legal{font-size:12px;margin-top:6px}
@media(max-width:700px),(max-height:520px) and (pointer:coarse){#shell footer{display:none!important}#shell .workspace{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}#shell .beta-note{margin-bottom:8px}}
.aside-version{display:block;width:100%;margin-top:6px;font-size:10px;color:var(--muted);opacity:.8}
.aside-legal{flex-wrap:wrap;row-gap:4px}
/* Termine und Zusagen (app.js eventsView, src/events.php) */
.ev-heading{display:flex;gap:16px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}.ev-head-actions{display:flex;gap:8px;flex-wrap:wrap}
.ev-tabs{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:10px;background:white;margin:0 0 16px}.ev-tabs button{border:0;background:none;padding:8px 16px;border-radius:7px;font-weight:600;color:var(--muted);cursor:pointer}.ev-tabs button.active{background:var(--navy);color:white}
.ev-filter{max-width:320px}
.ev-list{display:grid;gap:12px;margin-bottom:18px}
.ev-card{display:flex;gap:16px;background:white;border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:12px;padding:16px 18px;cursor:pointer;transition:border-color .15s}
.ev-card:hover{border-color:var(--accent-line);border-left-color:var(--accent)}.ev-card:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.ev-card.ev-type-spiel{border-left-color:#e0912f}.ev-card.ev-type-veranstaltung{border-left-color:var(--green)}.ev-card.ev-type-sonstiges{border-left-color:var(--muted)}
.ev-card.cancelled{opacity:.72}.ev-card.cancelled h3{text-decoration:line-through;text-decoration-thickness:1px}
.ev-date{flex:none;width:52px;text-align:center;display:flex;flex-direction:column;line-height:1.15;color:var(--muted);font-size:12px;text-transform:uppercase;font-weight:600}.ev-date strong{font-size:26px;color:var(--navy);font-weight:800}
.ev-main{flex:1;min-width:0}.ev-top{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.ev-type{color:var(--accent)}.ev-type-spiel .ev-type{color:#c06f12}.ev-type-veranstaltung .ev-type{color:var(--green)}
.ev-series{border:1px solid var(--line);border-radius:999px;padding:1px 8px;letter-spacing:.03em}
.ev-badge{border-radius:999px;padding:2px 9px;letter-spacing:.02em;text-transform:none;font-weight:600}.ev-badge.ok{background:#e6f4ee;color:var(--green)}.ev-badge.todo{background:#fff4e5;color:#a35a00}
.ev-main h3{margin:4px 0 2px;font-size:18px;overflow-wrap:anywhere}.ev-cancelled{display:inline-block;text-decoration:none;font-size:12px;background:#fde8e8;color:#b42318;border-radius:6px;padding:2px 8px;vertical-align:middle}
.ev-meta{margin:0;color:var(--muted);font-size:14px;overflow-wrap:anywhere}.ev-place{color:inherit;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px}
.ev-note{margin:6px 0 0;font-size:14px}.ev-deadline{margin:8px 0 0;font-size:13px;font-weight:600;color:#a35a00}
.ev-counts{display:flex;gap:12px;margin:8px 0 0;font-size:13px;font-weight:700}.ev-counts .yes{color:var(--green)}.ev-counts .maybe{color:#a35a00}.ev-counts .no{color:#b42318}.ev-counts .open{color:var(--muted);font-weight:600}
.ev-answer{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.ev-answer.big{margin:4px 0 18px}
.ev-btn{flex:1 1 0;min-width:96px;min-height:42px;border:1px solid var(--line);background:white;border-radius:10px;font-weight:700;font-size:14px;color:var(--navy);cursor:pointer}
.ev-btn:disabled{opacity:.4;cursor:not-allowed}.ev-btn.ev-yes.active{background:var(--green);border-color:var(--green);color:white}.ev-btn.ev-maybe.active{background:#d98a1c;border-color:#d98a1c;color:white}.ev-btn.ev-no.active{background:#c4332a;border-color:#c4332a;color:white}
.ev-mine{margin:8px 0 0;font-size:13px;color:var(--muted)}
.ev-past{margin-top:6px}.ev-past summary{cursor:pointer;font-weight:700;padding:10px 0;color:var(--muted)}
.ev-info{display:grid;gap:8px;margin:0 0 18px}.ev-info div{display:grid;grid-template-columns:110px 1fr;gap:10px}.ev-info dt{color:var(--muted);font-size:13px;font-weight:600}.ev-info dd{margin:0;overflow-wrap:anywhere}
.ev-groups{display:grid;gap:14px}.ev-group h3{margin:0 0 6px;font-size:14px;display:flex;gap:8px;align-items:center}.ev-group h3 span{background:var(--paper);border-radius:999px;padding:0 8px;font-size:12px}
.ev-group.ev-yes h3{color:var(--green)}.ev-group.ev-maybe h3{color:#a35a00}.ev-group.ev-no h3{color:#b42318}.ev-group.ev-open h3{color:var(--muted)}
.ev-group ul{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:10px}.ev-group li{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center;padding:8px 12px;border-top:1px solid var(--line)}.ev-group li:first-child{border-top:0}
.ev-name{flex:1 1 160px;min-width:0;overflow-wrap:anywhere}.ev-name small,.ev-by{color:var(--muted);font-size:12px}.ev-reason{font-size:13px;color:#b42318;flex-basis:100%;order:3}.ev-by{flex-basis:100%;order:4}
.ev-set{display:flex;gap:4px}.ev-mini{width:30px;height:30px;border:1px solid var(--line);border-radius:7px;background:white;cursor:pointer;font-weight:700;color:var(--muted)}.ev-mini.active.ev-yes{background:var(--green);border-color:var(--green);color:white}.ev-mini.active.ev-maybe{background:#d98a1c;border-color:#d98a1c;color:white}.ev-mini.active.ev-no{background:#c4332a;border-color:#c4332a;color:white}
.ev-actions{flex-wrap:wrap;margin-top:18px}
.ev-reasons,.ev-scope,.ev-weekdays{border:1px solid var(--line);border-radius:9px;padding:12px 14px;margin:0 0 14px;display:grid;gap:10px}.ev-reasons{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
.ev-reasons legend,.ev-scope legend,.ev-weekdays legend{font-weight:700;font-size:13px;padding:0 6px}.ev-reasons label,.ev-scope label,.ev-weekdays label{display:flex;gap:8px;align-items:center;font-weight:500;cursor:pointer}
.ev-weekdays{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.ev-weekdays label{flex-direction:column;gap:4px;font-size:13px}
.ev-repeat-toggle{margin:4px 0 12px}.ev-repeat{margin-bottom:6px}
.ev-attend{display:grid;gap:2px;max-height:52vh;overflow:auto;border:1px solid var(--line);border-radius:10px;padding:6px 12px;margin:10px 0}.ev-attend label{display:flex;gap:10px;align-items:center;padding:7px 0;border-top:1px solid var(--line);cursor:pointer}.ev-attend label:first-child{border-top:0}.ev-attend small{display:block;color:var(--muted);font-size:12px}
.copy-row{display:flex;gap:8px}.copy-row input{flex:1;min-width:0}.ev-howto{padding-left:18px;display:grid;gap:6px;font-size:14px}
.ev-stats{width:100%;border-collapse:collapse;font-size:14px}.ev-stats th{text-align:left;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:8px 10px;border-bottom:1px solid var(--line)}.ev-stats td{padding:9px 10px;border-bottom:1px solid var(--line)}
.ev-bar{display:inline-block;width:80px;height:6px;border-radius:9px;background:var(--paper);margin-right:8px;vertical-align:middle;overflow:hidden}.ev-bar span{display:block;height:100%;background:var(--green)}
@media(max-width:700px){.ev-card{padding:14px;gap:12px}.ev-date{width:40px}.ev-date strong{font-size:22px}.ev-btn{min-width:0;font-size:13px}.ev-info div{grid-template-columns:1fr;gap:2px}.ev-head-actions{width:100%}.ev-head-actions .btn{flex:1}.ev-stats th:nth-child(4),.ev-stats td:nth-child(4){display:none}.ev-bar{display:none}}
.ev-stats-filter{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:700px){.ev-stats-filter{grid-template-columns:1fr}}
/* Kader, Fahrgemeinschaften, Aufgaben, Umfragen (app.js evExtrasHtml, pollCard) */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ev-chips{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0}.ev-chip{font-size:12px;font-weight:600;border:1px solid var(--line);border-radius:999px;padding:3px 10px;color:var(--muted)}.ev-chip.in{background:#e6f4ee;border-color:#e6f4ee;color:var(--green)}.ev-chip.out{color:var(--muted)}
.ev-extra{border:1px solid var(--line);border-radius:10px;padding:12px 14px;margin:0 0 14px}.ev-extra h3{margin:0 0 8px;font-size:15px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ev-extra h3>span:not(.ev-badge){background:var(--paper);border-radius:999px;padding:0 8px;font-size:12px}.ev-extra p{margin:6px 0}
.ev-squad-me{font-weight:700}.ev-squad-me.in{color:var(--green)}
.ev-rides{list-style:none;margin:0;padding:0}.ev-rides li{display:flex;flex-wrap:wrap;gap:8px 12px;justify-content:space-between;align-items:center;padding:8px 0;border-top:1px solid var(--line)}.ev-rides li:first-child{border-top:0}.ev-rides li>div:first-child{flex:1 1 200px;min-width:0}.ev-rides small{display:block;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.ev-ride-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.ev-ride-actions select{min-height:34px;font-size:13px;max-width:180px}
.ev-needs{font-size:14px}.ev-extra-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.ev-task-add{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.ev-task-add input{flex:1 1 200px;min-width:0}.ev-task-add select{min-height:34px;font-size:13px}
.ev-toggles{display:grid;gap:10px;margin:4px 0 14px}
.poll-list{display:grid;gap:12px;margin-bottom:16px}.poll-card{background:white;border:1px solid var(--line);border-left:4px solid #8b5cf6;border-radius:12px;padding:16px 18px}.poll-card.closed{opacity:.8}.poll-card h3{margin:4px 0 2px;font-size:18px;overflow-wrap:anywhere}.poll-card .ev-type{color:#7c3aed}
.poll-vote fieldset{border:0;padding:0;margin:12px 0 0;display:grid;gap:8px}.poll-vote label{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:9px;padding:10px 12px;cursor:pointer}
.poll-results{list-style:none;padding:0;margin:12px 0 6px;display:grid;gap:10px}.poll-row{display:flex;justify-content:space-between;gap:10px;font-weight:600;font-size:14px}.poll-results li.mine .poll-row{color:var(--accent-strong)}.poll-results small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.ev-bar.wide{display:block;width:100%;margin:4px 0 0}.ev-bar.wide span{background:#8b5cf6}
.poll-options{grid-template-columns:1fr}.poll-options input{width:100%}
.ev-ride-actions .next-select{width:170px;flex:none}.ev-ride-actions .next-select-trigger{min-height:34px;font-size:13px}.ev-task-add .next-select{flex:0 0 150px;width:150px}.ev-task-add .next-select-trigger{min-height:40px}
@media(max-width:700px){.ev-ride-actions .next-select,.ev-task-add .next-select{flex:1 1 100%;width:100%}}
/* Pinnwand „News“ (app.js boardView, src/pinnwand.php) */
.board-list{display:grid;gap:14px;margin-bottom:16px}.board-post{background:white;border:1px solid var(--line);border-radius:12px;padding:16px 18px}.board-post.pinned{border-color:var(--accent-line);box-shadow:inset 4px 0 0 var(--accent)}
.board-head{display:flex;gap:10px;align-items:center;margin:4px 0 8px}.board-head .avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:700;flex:none}.board-head small{display:block;color:var(--muted);font-size:12px}
.board-body{font-size:15px;line-height:1.55;overflow-wrap:anywhere}.board-body.clamp{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.board-img{display:block;max-width:100%;max-height:460px;border-radius:10px;margin-top:10px;object-fit:cover}
.board-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.board-like{border:1px solid var(--line);background:white;border-radius:999px;padding:4px 12px;font-weight:700;cursor:pointer;min-height:34px}.board-like.active{background:var(--accent-soft);border-color:var(--accent-line);color:var(--accent-strong)}
.board-comments{margin-top:12px;border-top:1px solid var(--line);padding-top:10px;display:grid;gap:8px}.board-comment{font-size:14px}.board-comment p{margin:2px 0 0;overflow-wrap:anywhere}.board-comment .ev-mini{width:24px;height:24px;margin-left:4px;font-size:11px}
.board-reply{display:flex;gap:8px}.board-reply input{flex:1;min-width:0}
.board-compose{display:grid;gap:10px;margin-bottom:16px}.board-compose textarea{width:100%;resize:vertical}.board-compose-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.board-compose-row .btn.orange{margin-left:auto}.board-file{cursor:pointer}.board-post.compact{cursor:pointer;margin-bottom:10px}.board-post.compact .board-img{max-height:160px}
/* Mannschaftskasse und Team (app.js cashView, playerTeamView, mannschaftView) */
.cash-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.cash-tiles div{border:1px solid var(--line);border-radius:10px;padding:12px 14px}.cash-tiles span{display:block;font-size:12px;color:var(--muted);font-weight:600}.cash-tiles strong{font-size:22px}
.neg{color:#b42318}.pos{color:var(--green)}.cash .ev-tabs{margin-top:14px}.cash h3{margin:18px 0 8px;font-size:15px}.cash-amount{flex:0 0 100px!important}
.ev-stats tr.paid td,.ev-rides li.paid{opacity:.6}.cash-paid input{width:20px;height:20px}
.cash-mine h2{margin:4px 0 4px}
.team-members{margin-bottom:14px}.team-members h3{margin:14px 0 6px;font-size:15px}
@media(max-width:700px){.cash-tiles{grid-template-columns:1fr}.cash-tiles strong{font-size:19px}.ev-stats th:nth-child(1),.ev-stats td:nth-child(1){min-width:0}}
.ev-kid{margin:12px 0 0;font-weight:700;font-size:13px}.ev-answer+.ev-kid{margin-top:14px}
