/* Shared club identity, with clear work surfaces and distinct task accents. */
body.admin-premium-view{--admin-accent:#007b74;--admin-soft:#def5ee;--admin-button:#006e66;--admin-button-text:#fff;background:#e8eeea}
body.admin-premium-view #admin{--field-bg:#f9fcf9;--field-text:#183b3d;--field-muted:#536c6d;--field-border:#99b6b1;--field-ring:#00867c;--field-menu:#f9fcf9;--club-panel:#f9fcf9;--club-panel-raised:#f2f8f4;--club-white:#183b3d;--club-muted:#536c6d;--club-border-strong:#99b6b1}
body.admin-premium-view main,body.admin-premium-view #admin{background:#e8eeea!important}
#admin[data-admin-section=shop]{--admin-accent:#b3441a;--admin-soft:#ffeadc;--admin-button:#aa3e18}
#admin[data-admin-section=finance]{--admin-accent:#176b9d;--admin-soft:#e0eff9;--admin-button:#12638f}
#admin[data-admin-section=members]{--admin-accent:#75519b;--admin-soft:#efe7f7;--admin-button:#674189}
#admin[data-admin-section=agenda]{--admin-accent:#54700f;--admin-soft:#eaf1ce;--admin-button:#506710}
#admin[data-admin-section=sport]{--admin-accent:#007e73;--admin-soft:#def5ee}
body.admin-premium-view #admin .app-shell{grid-template-columns:234px minmax(0,1fr);gap:22px;padding-top:18px}
body.admin-premium-view #admin .admin-navigation-heading{padding:13px 12px 10px}
body.admin-premium-view #admin .admin-navigation-heading>span{margin-bottom:8px}
body.admin-premium-view #admin .admin-navigation-heading input{min-height:44px!important;font-size:13px!important}
body.admin-premium-view #admin .admin-navigation-groups{padding:8px;display:flex;flex-direction:column;gap:3px}
body.admin-premium-view #admin .admin-navigation-groups>.rubric-link{min-height:44px;padding:7px 9px!important}
body.admin-premium-view #admin .admin-navigation-groups .rubric-label b{font-size:13px!important}
body.admin-premium-view #admin .admin-navigation-groups .rubric-icon{flex:0 0 28px;width:28px;height:28px}
body.admin-premium-view #admin .admin-group-toggle{font-size:12px;min-height:42px;padding:8px}
body.admin-premium-view #admin .admin-nav-group{margin-top:4px;padding-top:4px}
body.admin-premium-view #admin [data-admin-accent=shop] .rubric-icon{color:#ffaf7c!important;background:#54392d!important}
body.admin-premium-view #admin [data-admin-accent=finance] .rubric-icon{color:#8ed3ff!important;background:#244454!important}
body.admin-premium-view #admin [data-admin-accent=members] .rubric-icon{color:#d2b5ff!important;background:#44364f!important}
body.admin-premium-view #admin [data-admin-accent=agenda] .rubric-icon{color:#d4ed81!important;background:#3b4929!important}
body.admin-premium-view #admin .admin-navigation-groups .admin-current[data-admin-accent=shop]{background:#ffad7a!important;border-color:#ffad7a!important}
body.admin-premium-view #admin .admin-navigation-groups .admin-current[data-admin-accent=finance]{background:#91d3fa!important;border-color:#91d3fa!important}
body.admin-premium-view #admin .admin-navigation-groups .admin-current[data-admin-accent=members]{background:#d0b6f0!important;border-color:#d0b6f0!important}
body.admin-premium-view #admin .admin-navigation-groups .admin-current[data-admin-accent=agenda]{background:#d2e77d!important;border-color:#d2e77d!important}
body.admin-premium-view #admin .admin-workbar{background:#173c40!important;border:0;border-left:5px solid var(--admin-accent);padding:12px 15px;min-height:68px;margin-bottom:8px;box-shadow:0 5px 15px #173c400b}
body.admin-premium-view #admin .admin-workbar h1{color:#fff;font-size:24px}
#admin .admin-workbar-title>span{color:#a6d9ca;font-size:9px}
#admin .admin-workbar-actions [data-admin-current-user],#admin .admin-workbar-actions [data-admin-account],#admin .admin-workbar-actions>a{display:none}
#admin .admin-route-purpose{margin:0 0 15px;padding:0 3px;color:#466365;font-size:14px;line-height:1.5;max-width:85ch}
#admin .admin-purpose{display:none}
body.admin-premium-view #admin .panel{background:#f8fbf7!important;border:1px solid #c0d1ca!important;border-top:3px solid var(--admin-accent)!important;border-radius:14px;box-shadow:0 7px 20px #193d3e08;padding:20px!important;color:#183b3d}
body.admin-premium-view #admin h2{font-size:21px;line-height:1.25;letter-spacing:-.35px}
body.admin-premium-view #admin h3{font-size:17px;line-height:1.35}
body.admin-premium-view #admin p{line-height:1.6}
#admin .admin-task-heading{margin-bottom:18px}
#admin .admin-task-heading h2{margin:0 0 5px}
#admin .admin-task-heading p{margin:0;color:#4c6968;font-size:14px}
#admin .admin-section-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px;font-size:13px;color:#4b6868}
#admin .admin-status-pill{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;background:#ffeadc;color:#8c361d;border-radius:30px;font-weight:750;font-size:12px}
#admin .admin-status-pill:before{content:'';width:7px;height:7px;background:currentColor;border-radius:50%}
#admin .admin-status-pill.is-open{background:#def3e5;color:#216337}
#admin .admin-section-tabs{display:flex;gap:7px;flex-wrap:wrap;padding:0 0 17px;margin-bottom:17px;border-bottom:1px solid #c4d5ce}
#admin .admin-section-tabs a,#admin .admin-view-buttons>button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;background:#eaf1ec!important;color:#284c4c!important;border:1px solid #acbeb7!important;border-radius:9px!important;font-size:13px;font-weight:700;line-height:1.35;text-decoration:none}
#admin .admin-section-tabs a[aria-current=page],#admin .admin-view-buttons>button[aria-pressed=true]{background:var(--admin-button)!important;color:#fff!important;border-color:var(--admin-button)!important;box-shadow:0 4px 9px #173c4014}
body.admin-premium-view #admin .btn:not(.secondary){background:var(--admin-button)!important;color:var(--admin-button-text)!important;border:1px solid var(--admin-button)!important}
body.admin-premium-view #admin .btn.secondary{background:#e9f1ed!important;color:#214c4c!important;border:1px solid #9db9b0!important}
body.admin-premium-view #admin :is(.btn,.admin-section-tabs a,.admin-view-buttons>button){min-height:44px;white-space:normal;font-size:14px;line-height:1.35;text-align:center;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
body.admin-premium-view #admin :is(.btn,.admin-section-tabs a,.admin-view-buttons>button):hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 12px #173c4020}
body.admin-premium-view #admin :is(a,button,input,select,textarea):focus-visible{outline:3px solid #d95e21;outline-offset:3px}
body.admin-premium-view #admin :is(button,input,select,textarea):disabled{opacity:.68;cursor:not-allowed}
#admin .admin-product-chooser{display:block;max-width:560px;margin-bottom:18px;font-size:14px;font-weight:750}
#admin .admin-product-chooser select{margin-top:7px;width:100%}
#admin #club-shop-management fieldset{border:1px solid #c0cec4;border-radius:11px;background:#eff5ef;margin:0 0 15px;padding:16px;min-width:0}
#admin #club-shop-management legend{padding:0 7px;font-size:16px;color:#244f4a;font-weight:750}
#admin #club-shop-management fieldset>label{display:block;margin:0 0 12px}
#admin #club-shop-management .form-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(140px,1fr);gap:14px;margin-bottom:13px}
#admin #club-legal-settings .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#admin :is(#club-shop-management,#club-legal-settings) label{font-size:14px;line-height:1.5;color:#284b4a}
#admin :is(#club-shop-management,#club-legal-settings) :is(input:not([type=checkbox]),textarea,select){display:block;width:100%;margin-top:6px;font-size:15px!important;line-height:1.4!important}
#admin :is(#club-shop-management,#club-legal-settings) textarea{min-height:84px}
#admin .admin-save-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:15px 0 0}
#admin .admin-context-note{font-size:13px;color:#4b6663;background:#edf3ee;border-radius:8px;padding:12px;margin-top:18px}
#admin .admin-opening-control{display:flex!important;gap:10px;align-items:center;background:#fff0e3;padding:15px;border-radius:10px;margin-bottom:18px!important}
#admin [data-shop-opening]>label,#admin [data-club-legal]>label{display:block;margin-bottom:14px}
#admin .admin-order-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 18px}
#admin .admin-order-card{background:#eef4ee;border:1px solid #c5d5ca;border-radius:10px;padding:15px}
#admin .admin-order-card header{display:flex;justify-content:space-between;gap:12px;position:static;background:none;padding:0;border:0;box-shadow:none;min-height:0}
#admin .admin-order-card h3{margin:0;color:#244e49}
#admin .admin-order-card strong{white-space:nowrap;font-size:18px}
#admin .admin-order-card small{font-size:12px;color:#4b6663}
#admin .admin-order-card summary{font-size:13px;color:#365b57}
#admin .admin-empty-state{grid-column:1/-1;padding:25px;background:#edf3ed;border-radius:10px}
#admin .admin-empty-state h3{margin:0}
#admin .admin-empty-state p{margin-bottom:0}
#admin :is(table td,table th){vertical-align:middle;line-height:1.45;padding:13px 12px}
#admin table td small{display:block;margin-top:4px;line-height:1.45}
#admin .admin-wayfinding-dialog{width:min(760px,calc(100vw - 28px));max-height:85dvh;overflow:auto;padding:22px;background:#f5faf4;color:#1b4141;border:1px solid #adc7ba;border-radius:16px}
#admin .admin-wayfinding-dialog::backdrop{background:#0c242cc4;backdrop-filter:blur(3px)}
#admin .admin-wayfinding-dialog header{display:flex;justify-content:space-between;gap:16px;position:static;background:none;padding:0 0 17px;border:0;box-shadow:none}
#admin .admin-wayfinding-dialog h2{margin:0;font-size:22px}
#admin .admin-wayfinding-dialog header button{width:44px;min-height:44px;background:#dbece4;color:#224b45;border:1px solid #9cb7aa;border-radius:50%;font-size:25px}
#admin .admin-wayfinding-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#admin .admin-wayfinding-links a{display:flex;flex-direction:column;gap:5px;padding:13px;border:1px solid #b7cfc1;border-radius:10px;background:#e8f2e9;color:#204b46;text-decoration:none}
#admin .admin-wayfinding-links a:hover{background:#d6efdf}
#admin .admin-wayfinding-links span{font-size:13px;color:#496860}
/* Compact overview, like the personal space: welcome + useful destinations. */
body.admin-home-view #admin .admin-dash-hero{min-height:0;padding:20px 25px;gap:18px}
body.admin-home-view #admin .admin-dash-hero h1{font-size:29px;margin-bottom:7px}
body.admin-home-view #admin .admin-dash-hero p{margin-bottom:10px;max-width:650px;line-height:1.5}
body.admin-home-view #admin .admin-dash-clubmark{border:0;padding:0}
body.admin-home-view #admin .admin-dash-clubmark img{width:85px;height:85px}
body.admin-home-view #admin .admin-dash-clubmark span{display:none}
body.admin-home-view #admin .admin-dash-section-heading{margin:17px 0 11px}
body.admin-home-view #admin .admin-dash-section-heading .admin-dash-kicker{display:none}
body.admin-home-view #admin .admin-dash-section-heading h2{font-size:20px;margin:0}
body.admin-home-view #admin .admin-dash-tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.admin-home-view #admin .admin-dash-tool{min-height:125px;padding:16px;border-radius:12px;background:#f7fbf6;border:1px solid #bfcfc4;box-shadow:0 4px 13px #1b41410a}
body.admin-home-view #admin .admin-dash-tool p{font-size:13px;line-height:1.45;margin:5px 0 9px}
body.admin-home-view #admin .admin-tool-shop{border-top:3px solid #d8652b}
body.admin-home-view #admin .admin-tool-finance{border-top:3px solid #247fa8}
body.admin-home-view #admin .admin-tool-members{border-top:3px solid #9267b8}
body.admin-home-view #admin .admin-tool-agenda{border-top:3px solid #92aa2f}
body.admin-home-view #admin .admin-tool-sport{border-top:3px solid #008e7e}
body.admin-home-view #admin .admin-tool-communications{border-top:3px solid #dc9a25}
body.admin-home-view #admin .admin-tool-sponsors{border-top:3px solid #b06865}
body.admin-home-view #admin .admin-tool-shop .admin-dash-tool-icon{background:#ffe6d6;color:#a34d20}
body.admin-home-view #admin .admin-dash-bottom{margin-top:12px;gap:12px}
body.admin-home-view #admin .admin-dash-bottom>section{min-height:0;padding:12px 15px}
#admin .tabs-content:not([hidden]){animation:admin-clarity-arrive .22s ease-out}
@keyframes admin-clarity-arrive{from{transform:translateY(5px)}to{transform:translateY(0)}}
@media(max-width:1200px){body.admin-home-view #admin .admin-dash-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:950px){body.admin-premium-view #admin .app-shell{grid-template-columns:1fr;gap:0}body.admin-premium-view #admin .admin-rubric-nav{width:min(340px,calc(100vw - 30px))}#admin .admin-workbar-actions{gap:6px}body.admin-premium-view #admin .admin-workbar{padding:11px 13px}#admin .admin-order-list{grid-template-columns:1fr}}
@media(max-width:600px){body.admin-premium-view #admin .panel{padding:15px!important}body.admin-home-view #admin .admin-dash-hero{padding:18px}body.admin-home-view #admin .admin-dash-hero h1{font-size:25px}body.admin-home-view #admin .admin-dash-clubmark{display:none}body.admin-home-view #admin .admin-dash-tools{grid-template-columns:1fr;gap:9px}body.admin-home-view #admin .admin-dash-tool{min-height:0;padding:14px}#admin #club-shop-management .form-row,#admin #club-legal-settings .form-row{grid-template-columns:1fr}#admin .admin-section-tabs{gap:6px}#admin .admin-section-tabs a{flex:1 1 120px;padding:9px}#admin .admin-save-row>*{width:100%}#admin .admin-wayfinding-links{grid-template-columns:1fr}#admin .admin-workbar h1{font-size:21px!important}}
@media(prefers-reduced-motion:reduce){#admin *,#admin *:before,#admin *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}#admin :is(.btn,.rubric-link,.admin-dash-tool):hover{transform:none!important}}
body.paused #admin *,body.paused #admin *:before,body.paused #admin *:after{animation:none!important;transition:none!important}
#admin.has-admin-session .app-main>[data-club-admin-access]{display:none!important}
#admin #club-shop-management [data-shop-pane=articles]>.admin-task-heading h2{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%)}
#admin #club-shop-management [data-shop-pane=articles]>.admin-task-heading{margin-bottom:13px}
#admin #club-shop-management [data-shop-catalogue]{display:flex;flex-direction:column}
#admin #club-shop-management [data-shop-catalogue]>.admin-save-row{order:-1;margin:0 0 16px}
#admin #club-shop-management textarea{min-height:68px}
body.admin-home-view #admin .admin-tool-finance .admin-dash-tool-icon{background:#dfedf8;color:#176b9d}
body.admin-home-view #admin .admin-tool-members .admin-dash-tool-icon{background:#ede2f7;color:#75519b}
body.admin-home-view #admin .admin-tool-agenda .admin-dash-tool-icon{background:#eaf1ce;color:#54700f}
@media(max-width:600px){#admin .admin-workbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px;min-height:62px}#admin .admin-workbar-actions{width:auto!important;justify-content:flex-end}#admin .admin-workbar [data-admin-help]{width:auto!important;padding:8px 10px;min-height:42px;font-size:12px}#admin .admin-section-summary{margin-bottom:10px;gap:7px}#admin .admin-section-summary>span:last-child{font-size:12px}#admin .admin-section-tabs{padding-bottom:12px;margin-bottom:12px}#admin .admin-route-purpose{font-size:13px;margin-bottom:12px}}

#admin .admin-order-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 18px;font-size:14px}
#admin .admin-group-toggle small{display:none}

/* Full-width dark sidebar rail; the content safety gutters stay empty. */
@media(min-width:951px){body.admin-premium-view #admin:before{content:'';position:fixed;inset:0 auto 0 0;width:var(--admin-rail-edge,330px);background:#132d32;pointer-events:none;z-index:0}body.admin-premium-view #admin>.wrap{position:relative;z-index:1}body.admin-premium-view #admin .admin-rubric-nav{border:0!important;border-radius:0!important;background:#132d32!important;box-shadow:none!important;scrollbar-gutter:auto;scrollbar-color:#537d7b #132d32}body.admin-premium-view #admin .admin-navigation-heading{background:#132d32!important}}
body.admin-premium-view #admin .admin-rubric-nav{color-scheme:dark;scrollbar-color:#537d7b #132d32;scrollbar-width:thin}
#admin .admin-rubric-nav::-webkit-scrollbar{width:7px;background:#132d32}
#admin .admin-rubric-nav::-webkit-scrollbar-track{background:#132d32}
#admin .admin-rubric-nav::-webkit-scrollbar-thumb{background:#537d7b;border:2px solid #132d32;border-radius:9px}

@media(min-width:951px){body.admin-premium-view #admin .admin-rubric-nav{width:calc(100% + var(--admin-rail-offset,0px))!important;margin-left:calc(-1 * var(--admin-rail-offset,0px));height:calc(100dvh - var(--admin-menu-top,102px) - 8px)!important;max-height:calc(100dvh - var(--admin-menu-top,102px) - 8px)!important;overscroll-behavior-y:contain;scroll-padding-block:16px}body.admin-premium-view #admin .admin-navigation-heading{padding-left:12px;padding-right:12px}}
