:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#1d2939;background:#f4f7fa;--green:#17694b;--nav:#142238;--line:#e1e7ed;--muted:#65778a;--red:#bd453c}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{border:1px solid var(--line);padding:10px 14px;min-height:42px;border-radius:10px;background:white;cursor:pointer;color:#273849;font-weight:650}button:hover{filter:brightness(.96)}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--green);border-color:var(--green);color:white}.ghost{background:transparent;border-color:transparent}.danger{color:var(--red)}input,select{background:#fff;border:1px solid #ccd6df;border-radius:9px;padding:11px;width:100%;min-height:44px;color:#1d2939}label{display:grid;gap:6px;font-size:13px;font-weight:650;margin-bottom:12px}input[type=checkbox]{width:21px;height:21px;min-height:21px;accent-color:var(--green)}.layout{display:flex}.side{width:245px;background:var(--nav);color:#cbd9e7;position:fixed;top:0;bottom:0;padding:28px 15px;display:flex;flex-direction:column}.brand{padding:5px 14px 35px;font-size:20px;color:white}.brand small{display:block;color:#a7b9c8;margin:5px 0 0 33px;font-size:12px}.side nav{display:grid;gap:5px}.side nav button{background:none;border:0;text-align:left;color:#cbd9e7}.side nav button.active{background:#304760;color:white}.aside-foot{margin-top:auto;padding:15px;color:#9eacc1;font-size:12px}.main{margin-left:245px;min-height:100vh;width:calc(100% - 245px)}.header{height:70px;border-bottom:1px solid var(--line);background:white;display:flex;justify-content:flex-end;align-items:center;padding:0 35px}.user{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted)}.content{padding:28px 30px 100px;max-width:1220px;margin:auto}.heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.heading h1{font-size:29px;letter-spacing:-1px;margin:0}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:2px;color:var(--green);font-weight:800;margin:0 0 7px}.pill{padding:7px 11px;background:#e7f3eb;color:#14653f;font-size:12px;border-radius:30px}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.card,.panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 18px #1f304008}.card{padding:20px}.card small{font-size:12px;color:var(--muted)}.card b{display:block;font-size:25px;margin-top:14px}.card.due b{color:var(--red)}.panel{margin-bottom:16px;overflow:hidden}.panel h2{font-size:17px;margin:0}.panelhead{padding:17px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px}.body{padding:20px}.muted{color:var(--muted)}.error{color:var(--red);font-size:13px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}td,th{padding:13px 18px;border-bottom:1px solid var(--line);text-align:left}th{font-size:11px;color:var(--muted);background:#fafbfd;text-transform:uppercase}td:last-child{text-align:right}tr:last-child td{border-bottom:0}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.grow{flex:1}.mini{font-size:12px;color:var(--muted)}.green{color:var(--green)}.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checkrow{display:flex;gap:10px;align-items:center;padding:10px;border-bottom:1px solid var(--line)}.chip{font-size:12px;border-radius:30px;padding:5px 9px;background:#f1f4f7}.chip.paid{background:#e4f6e9;color:#196b42}.chip.open{background:#fff0ed;color:#b8453b}.login{display:grid;place-items:center;min-height:100vh;padding:22px}.loginbox{width:min(420px,100%);padding:30px}.loginbox .mark{font-size:38px}.loginbox h1{margin:8px 0}.fill{width:100%}.modal{position:fixed;inset:0;background:#11233b99;display:grid;place-items:center;z-index:50;padding:18px}.modal[hidden],#app[hidden],#login[hidden]{display:none}.modal-card{width:min(570px,100%);background:#fff;border-radius:16px;max-height:90vh;overflow:auto;padding:22px}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.modal-header h2{margin:0;font-size:20px}.toast{position:fixed;bottom:85px;right:18px;background:#1d2939;color:white;padding:12px 17px;border-radius:12px;display:none;max-width:390px;z-index:60}.toast.show{display:block}.mobilebrand{display:none}@media(max-width:1050px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.side{display:none}.main{margin:0;width:100%}.mobilebrand{display:block;color:var(--green);font-weight:800}.header{justify-content:space-between;padding:0 16px}.content{padding:22px 15px 105px}.cards{gap:10px}.card{padding:15px}.card b{font-size:21px}.heading h1{font-size:25px}.two{grid-template-columns:1fr}td,th{padding:12px 10px}.panelhead{padding:14px}.body{padding:14px}}@media(max-width:390px){.cards{grid-template-columns:1fr 1fr}.card b{font-size:19px}.card small{font-size:11px}}

/* Vereinswappen im Dashboard, responsive */
.club-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 22px;margin-bottom:16px}
.club-intro h2{margin:4px 0;font-size:24px}.club-intro p:last-child{margin:6px 0 0;font-size:13px}.club-logo{display:block;width:100px;height:auto;max-height:115px;object-fit:contain;flex:none}
@media(max-width:450px){.club-intro{padding:12px 15px}.club-logo{width:76px}.club-intro h2{font-size:22px}}

@media(max-width:540px){.user{gap:5px}.user .ghost{font-size:12px;padding:7px 6px}#roleLabel{display:none}}

.cash-choice .body{padding:24px}.cash-choice h2{margin:0 0 9px}.amount-major{font-weight:750;font-size:30px;margin:20px 0}.cash-links{margin-bottom:20px}.cash-choice .primary{width:100%}@media(max-width:760px){.cash-choice .body{padding:18px}.amount-major{font-size:25px}}

/* M1: members and calendar share the existing panels and controls. */
textarea{font:inherit;resize:vertical;min-height:90px;width:100%;padding:11px;border:1px solid #ccd6df;border-radius:9px;color:#1d2939}button,input,select{font-size:16px}fieldset{border:1px solid var(--line);border-radius:10px;margin:12px 0;padding:12px}legend{font-size:14px;font-weight:650}.filters{display:flex;flex-wrap:wrap;gap:14px;margin-top:18px}.filters label{flex:1;min-width:140px}.segmented button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}.member-card{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;border-top:1px solid var(--line);overflow-wrap:anywhere}.member-card h3{margin:0 0 8px;font-size:16px}.member-card p{margin:6px 0}.member-card>.row{flex-shrink:0}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line)}.calendar-weekday{text-align:center;font-size:12px;font-weight:700;padding:10px 0;background:#fafbfd}.calendar-day{min-width:0;min-height:110px;border-top:1px solid var(--line);border-right:1px solid var(--line);padding:6px}.calendar-day time{display:block;font-size:13px;color:var(--muted);margin-bottom:5px}.calendar-day.empty{background:#fafbfd}.calendar-event{display:block;white-space:normal;overflow-wrap:anywhere;width:100%;min-height:44px;font-size:12px;text-align:left;background:#e7f3eb;color:#14653f;padding:6px;margin-bottom:4px;border:0}.description{white-space:pre-wrap;overflow-wrap:anywhere}.modal-card h3{overflow-wrap:anywhere}.header{gap:8px}.mobilebrand{white-space:nowrap}.filters input{min-width:0}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #16784a;outline-offset:2px}
@media(max-width:760px){.member-card{padding:14px;flex-direction:column;align-items:stretch}.member-card>.row{width:100%}.member-card button{min-height:44px}.calendar-day{padding:3px;min-height:86px}.calendar-event{font-size:11px;padding:4px}.calendar-weekday{font-size:11px}.header{height:auto;min-height:70px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}.filters{gap:10px}.filters label{min-width:120px}.panelhead{flex-wrap:wrap}.user .ghost{min-height:44px}}

/* M1.1: the mobile navigation lives only in the compact top header. */
.mobile-menu-button{display:none}.mobile-menu{box-sizing:border-box;width:min(420px,calc(100% - 24px));max-height:calc(100dvh - 88px);position:fixed;inset:64px 12px auto auto;margin:0;padding:12px;border:1px solid var(--line);border-radius:14px;color:var(--text);background:#fff;box-shadow:0 14px 48px #11233b33;overflow-y:auto}.mobile-menu::backdrop{background:#11233b66}.mobile-menu .menu-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.menu-header h2{font-size:17px;margin:0}.mobile-menu nav{display:grid;gap:4px}.mobile-menu nav button,.mobile-menu summary{width:100%;text-align:left;min-height:44px;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:#1d2939;font:inherit;cursor:pointer}.mobile-menu button[aria-current=page]{background:#e7f3eb;color:#14653f;font-weight:700}.mobile-menu summary{display:list-item;list-style-position:inside}.menu-subpages{padding-left:16px;border-left:2px solid var(--line);margin:0 12px 5px}.menu-open{overflow:hidden}
@media(max-width:760px){
.heading[hidden]{display:none}
html,body{max-width:100%;margin:0}.main,.content,#view,.panel,.body,.heading,.row>*,.two>*,.cards>*{min-width:0}.main{width:100%}.header{position:sticky;top:0;z-index:30;min-height:54px;height:54px;padding:4px 12px;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:8px}.header>.user{display:none}.mobilebrand{display:flex;align-items:center;gap:8px;min-width:0;font-size:15px;line-height:1.1}.mobilebrand img{object-fit:contain;flex-shrink:0;width:26px;height:30px}.mobile-menu-button{display:flex;gap:7px;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;font-size:14px;flex-shrink:0}.content{padding:14px 12px calc(20px + env(safe-area-inset-bottom));width:100%}.heading{margin-bottom:12px;gap:8px}.heading h1{font-size:23px;letter-spacing:-.5px}.heading .eyebrow{display:none}.heading .pill{font-size:11px;padding:6px 8px}.club-intro{padding:12px;margin-bottom:12px;gap:10px}.club-intro .club-logo{display:none}.club-intro .eyebrow{font-size:11px;letter-spacing:1px}.club-intro p:last-child{margin-bottom:0}.cards{gap:8px;margin-bottom:12px}.card{padding:12px}.card b{margin-top:8px;font-size:20px;overflow-wrap:anywhere}.card small{font-size:11px}.panel{margin-bottom:12px}.panelhead{padding:12px;gap:8px}.panelhead h2{font-size:17px}.body{padding:12px}.member-card{padding:12px;gap:10px}.member-card .row{gap:8px}.member-card h3{line-height:1.5}.member-card .chip{display:inline-block}.filters{margin-top:12px}.calendar-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.calendar-filters label{min-width:0;width:100%;margin:0}.calendar-filters input,.calendar-filters select{box-sizing:border-box;min-width:0;width:100%;max-width:100%;font-size:16px;min-height:44px}.segmented{gap:8px}.segmented button{flex:1;min-width:0}.compact-calendar{padding:0 10px 10px}.compact-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.compact-calendar-grid .weekday{text-align:center;font-size:11px;color:var(--muted);padding:5px 0}.compact-day{display:flex;position:relative;flex-direction:column;align-items:center;justify-content:center;border:0;background:transparent;border-radius:9px;padding:4px 0;min-width:0;width:100%;height:44px;min-height:44px;font-size:14px;line-height:1.1}.compact-day[aria-pressed=true]{background:var(--green);color:white}.compact-day .event-dot{width:4px;height:4px;border-radius:50%;background:currentColor;position:absolute;bottom:5px}.day-events{border-top:1px solid var(--line)}.day-events h3{font-size:15px;margin:0;padding:12px 12px 4px}.day-events .member-card{border-top:0}.day-events .muted{margin:0;padding:12px}.cash-choice .body{padding:14px}.cash-choice h2{font-size:17px}.amount-major{font-size:25px;margin:12px 0}.cash-links{gap:6px;margin-bottom:12px}.cash-links button{font-size:13px;padding:8px}.row button{min-height:44px}.modal{padding:10px}.modal-card{box-sizing:border-box;width:100%;max-height:calc(100dvh - 20px);padding:16px;overflow-x:clip}.modal-card form,.modal-card label,.modal-card fieldset{min-width:0}.modal-card input,.modal-card select,.modal-card textarea{max-width:100%;min-width:0;box-sizing:border-box}.modal-card input[type=date],.modal-card input[type=time]{appearance:none;min-width:0;width:100%}.modal-header{gap:8px;margin-bottom:12px}.modal-header h2{font-size:18px}.modal-card fieldset{margin:10px 0;padding:10px}.modal-card .row>button{flex:1}.modal-card .checkrow{line-height:1.5}.checkrow input{flex-shrink:0}.toast{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));max-width:none;overflow-wrap:anywhere}.tablewrap{max-width:100%;overflow:visible}#view table,#view tbody,#view tr,#view td{display:block;width:100%;box-sizing:border-box}#view thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#view tr{padding:8px 12px;border-bottom:1px solid var(--line)}#view td{padding:5px 0;border:0;text-align:left;overflow-wrap:anywhere}#view td[data-label]::before{content:attr(data-label);display:inline-block;min-width:90px;font-size:11px;font-weight:700;color:var(--muted);margin-right:8px}#view td:last-child:has(button){padding-top:8px;text-align:right}#view td button{max-width:100%;min-height:44px}#view tr:last-child{border-bottom:0}.checkrow{padding:8px 0;overflow-wrap:anywhere}.checkrow .grow{min-width:0}.loginbox{padding:24px}.description{white-space:pre-wrap}.panelhead button{max-width:100%}}

/* Login card only: balanced club logos, no changes to authentication or app layout. */
.loginbox .login-card-head{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:10px;margin:0 0 14px}.loginbox .login-card-head h1{min-width:0;margin:0;text-align:center;white-space:nowrap;font-size:24px;line-height:1.2;letter-spacing:-.4px}.loginbox .login-card-logo{display:block;width:40px;height:46px;object-fit:contain}
@media(max-width:480px){.loginbox .login-card-head{grid-template-columns:32px minmax(0,1fr) 32px;gap:8px;margin-bottom:12px}.loginbox .login-card-head h1{font-size:18px;letter-spacing:-.25px}.loginbox .login-card-logo{width:32px;height:37px}}

/* Login head only: keep the original football on the left. */
.loginbox .login-card-football{display:grid;place-items:center;font-size:38px;line-height:1}
@media(max-width:480px){.loginbox .login-card-football{font-size:30px}}

/* V1 financial tools reuse the M1.1 panels and top-only smartphone menu. */
[hidden]{display:none!important}.month-member{padding:10px 0;border-bottom:1px solid var(--line)}.month-member label{margin-bottom:8px}.member-file-button{flex-shrink:0}.panelhead label{margin-bottom:0}.panel td button{margin:3px}.panel td{overflow-wrap:anywhere}#printArea{margin-top:18px}#printArea h2{font-size:19px}#reportFilter .filters label{min-width:0}.cash-links button{min-height:44px}.checkrow{flex-wrap:wrap}
@media(max-width:760px){.cash-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.cash-links button{width:100%;min-width:0;white-space:normal}.panelhead label{width:100%}.member-file-button{align-self:flex-start}.month-member select{min-width:0}.panel td button{margin:3px 0}.checkrow .grow{flex-basis:60%}#reportFilter .filters{display:grid;grid-template-columns:minmax(0,1fr)}#printArea h2{font-size:17px;overflow-wrap:anywhere}#printArea p{overflow-wrap:anywhere}}
@media print{body{background:white!important}body *{visibility:hidden}#printArea,#printArea *{visibility:visible}#printArea{position:absolute;left:0;top:0;width:100%;margin:0;background:white;color:black}.no-print,nav,header,.side,dialog,.toast{display:none!important}#printArea table{display:table!important;width:100%;font-size:10pt}#printArea thead{display:table-header-group!important;position:static!important;width:auto!important;height:auto!important;clip-path:none!important}#printArea tbody{display:table-row-group!important}#printArea tr{display:table-row!important;break-inside:avoid}#printArea th,#printArea td{display:table-cell!important;width:auto!important;padding:6px!important;text-align:left!important}#printArea td::before{display:none!important}@page{size:A4;margin:14mm}}

.report-brand{display:flex;gap:12px;align-items:center;margin:16px 0}.report-brand img{object-fit:contain;flex-shrink:0}.report-brand h2{line-height:1.4}.report-sums{border:1px solid var(--line);border-radius:10px;padding:12px;margin:12px 0}.report-sums p{margin:6px 0}.report-actions{margin-bottom:12px}.report-filters label{min-width:140px}.report-actions button{min-height:44px}@media(max-width:760px){.report-filters{display:grid;grid-template-columns:minmax(0,1fr)}.report-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.report-actions button{min-width:0}.report-brand h2{font-size:16px!important}.report-filters input,.report-filters select{min-width:0;width:100%;max-width:100%}.report-sums{padding:10px;overflow-wrap:anywhere}}
