:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#1d2939;background:#f5f7fb}*{box-sizing:border-box}body{margin:0;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:245px;background:#172536;color:#e8eef5;padding:26px 18px;display:flex;flex-direction:column;gap:8px}.brand{display:flex;align-items:center;gap:12px;padding:5px 8px 32px}.brand span{font-size:28px}.brand b{display:block;letter-spacing:1.5px;font-size:14px}.brand small{display:block;color:#9eafc2;font-size:10px;letter-spacing:2px;margin-top:4px}.nav-label{font-size:10px;letter-spacing:1.5px;color:#8294a9;padding:0 10px 8px}.sidebar a{color:#c8d3df;text-decoration:none;padding:12px;border-radius:8px;font-size:14px}.sidebar a.active,.sidebar a:hover:not(.disabled){background:#2a3d53;color:white}.sidebar a.disabled{opacity:.42;cursor:default}.sidebar a small{float:right;font-size:9px}.offline{margin-top:auto;color:#91d5b1;font-size:12px;padding:12px}main{margin-left:245px;padding:42px clamp(24px,5vw,70px);max-width:1600px}header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:1.7px;color:#718096;font-weight:700}h1{font-size:30px;margin:8px 0}.muted{color:#7b8797;font-size:13px;margin:0}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.card,.panel{background:white;border:1px solid #e8ecf2;border-radius:13px;padding:21px;box-shadow:0 3px 12px #17253608}.card-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;font-size:18px}.blue{background:#e9f2ff}.violet{background:#f0edff}.amber{background:#fff3db}.green{background:#e6f7ee}.card p{font-size:13px;color:#697789;margin:17px 0 6px}.card strong{font-size:29px;display:block}.card small{display:block;color:#98a2b1;margin-top:5px;font-size:11px}.panel{margin-top:22px}.button{display:inline-flex;align-items:center;justify-content:center;background:#245c91;color:white;text-decoration:none;border:0;border-radius:8px;padding:11px 15px;font-size:13px;font-weight:650;cursor:pointer}.button:hover{background:#194a79}.button.secondary{background:#eef2f6;color:#425166}.filters{display:flex;gap:10px;margin-bottom:20px}.filters input{flex:1}.filters input,.filters select,input,select,textarea{font:inherit;border:1px solid #dce2ea;border-radius:7px;padding:10px 11px;background:#fff;color:#263445;min-width:0}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{font-size:10px;letter-spacing:.7px;text-transform:uppercase;color:#8491a2;background:#f8fafc}td,th{padding:13px 11px;border-bottom:1px solid #edf0f4;white-space:nowrap}.number{font-weight:700;color:#53718f}.status{font-size:11px;padding:5px 8px;border-radius:20px}.status.active{background:#e7f6ed;color:#24764a}.status.inactive{background:#f0f1f3;color:#687386}.actions{display:flex;gap:12px;align-items:center}.actions a,.link-button{color:#28649b;text-decoration:none;font-size:12px;background:none;border:0;padding:0;cursor:pointer}.actions form{margin:0}.empty{text-align:center;color:#8a96a5;padding:35px}.table-foot{font-size:11px;color:#8994a3;margin:15px 0 0}.form-panel{max-width:950px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650;color:#536174}.form-grid .wide{grid-column:1/-1}.form-grid textarea{resize:vertical}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid #edf0f4}.messages{margin-bottom:18px}.message{padding:11px 14px;border-radius:8px;font-size:13px;margin-bottom:7px}.message.success{background:#e8f7ee;color:#216b43}.message.error{background:#fff0ef;color:#a23d35}
@media(max-width:1000px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:205px}main{margin-left:205px}}@media(max-width:700px){.sidebar{position:static;width:auto}.sidebar a{display:none}.offline{margin-top:0}main{margin:0;padding:24px 16px}.cards{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.filters{flex-wrap:wrap}.filters input{flex-basis:100%}}
.quick-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.handlers{white-space:normal;min-width:180px;max-width:300px}.member-picker{display:flex;flex-direction:column;gap:7px}.field-label{font-size:12px;font-weight:650;color:#536174}.hint{font-size:11px;color:#8994a3;margin:0}.member-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:12px;border:1px solid #dce2ea;border-radius:8px;max-height:230px;overflow:auto}.check-option{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;font-weight:450!important;padding:5px}.check-option input{width:auto}.check-option small{color:#8994a3;font-weight:400}.category-pill{display:inline-block;background:#edf3fc;color:#315f91;padding:5px 10px;border-radius:16px;font-size:11px;font-weight:700}
@media(max-width:700px){.member-options{grid-template-columns:1fr}.quick-links .button{flex:1}}

.fee-status{display:inline-block;padding:5px 9px;border-radius:18px;font-size:11px;font-weight:650}.fee-status.valid{background:#e7f6ed;color:#24764a}.fee-status.expiring{background:#fff3db;color:#93620c}.fee-status.expired{background:#fff0ef;color:#a23d35}.fee-status.unpaid{background:#f0f1f3;color:#687386}.fee-calculation{margin:18px 0 0;padding:12px 14px;background:#f5f8fc;border-radius:8px;color:#66768a;font-size:12px}.header-actions{display:flex;gap:9px;flex-wrap:wrap}

/* AllStars identity refresh: forest green, warm yellow and natural neutrals */
:root{--as-green:#176b3a;--as-green-dark:#10472d;--as-green-soft:#e8f4eb;--as-yellow:#f4c51b;--as-ink:#26352d;--as-muted:#718078}
body{background:#f6f8f5;color:var(--as-ink)}
.sidebar{background:linear-gradient(180deg,#123f2b 0%,#0d3324 100%);color:#f1f6f1}
.brand{border-bottom:1px solid #ffffff18;margin-bottom:12px}
.brand span{background:#ffffff12;border:1px solid #ffffff20;border-radius:11px;padding:5px}
.brand b{color:#fff}.brand small{color:#c5d7c8}
.nav-label{color:#a7c4ae}
.sidebar a{color:#d8e7dc;border-radius:9px;transition:background .15s ease}
.sidebar a.active,.sidebar a:hover:not(.disabled){background:#236d43;color:#fff;box-shadow:inset 3px 0 var(--as-yellow)}
.offline{color:#b8e7c2}
.eyebrow{color:#4d8260}
h1,h2,h3{color:#24382b}
.card,.panel{border-color:#e3ebe3;box-shadow:0 4px 16px #153d2410;border-radius:12px}
.card-icon.green{background:#e2f2e5;color:#176b3a}.card-icon.blue{background:#e9f1eb;color:#326b49}.card-icon.violet{background:#f7f1d9;color:#8a7012}.card-icon.amber{background:#fff4cf;color:#96740b}
.button{background:var(--as-green);border-radius:8px;box-shadow:0 2px 5px #164d2c16}
.button:hover{background:#10542f}.button.secondary{background:#edf3ed;color:#365a40;border:1px solid #dce8dd;box-shadow:none}
.button.secondary:hover{background:#e2eee3}
input:focus,select:focus,textarea:focus{outline:2px solid #2d8a4b30;border-color:#4c9a63}
th{background:#f2f6f1;color:#66806c}td,th{border-bottom-color:#e9efe8}
.number,.actions a,.link-button{color:#247345}
.status.active,.fee-status.valid{background:#e4f3e7;color:#20683a}
.category-pill{background:#e9f4e9;color:#236b3b}
.messages .message.success{background:#e6f4e8;color:#1c6635}
.finance-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:16px 0 18px}
.finance-toolbar form{display:flex;align-items:center;gap:10px}.finance-toolbar select{min-width:160px}
.finance-links{display:flex;gap:16px;flex-wrap:wrap}.finance-links a{color:#247345;text-decoration:none;font-size:13px;font-weight:650}.finance-links a:hover{text-decoration:underline}
.year-banner{padding:10px 14px;border-radius:8px;background:#eaf4e9;color:#286b3d;font-size:12px;margin-bottom:16px}.closed-banner{background:#fff3d4;color:#87670d}
.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.account-card{background:#fff;border:1px solid #e4ebe3;border-radius:11px;padding:17px 20px}.account-card span,.account-card small{display:block;color:#718078;font-size:12px}.account-card strong{display:block;font-size:24px;margin:8px 0;color:#1e6339}.account-card small{font-size:11px}
.movement{display:inline-block;padding:5px 8px;border-radius:20px;font-size:10px;font-weight:700}.movement.income{background:#e4f3e7;color:#1d6c3a}.movement.expense{background:#fff0e9;color:#a34d2d}.movement.transfer{background:#f7f0d8;color:#856c13}.amount{font-weight:700}.amount.positive{color:#21713d}.amount.negative{color:#a14d35}
.section-heading{display:flex;align-items:center;justify-content:space-between}.section-heading h2{font-size:18px;margin:0 0 5px}.close-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.close-panel h3{margin:0 0 5px}.inline-form{display:flex;gap:8px;min-width:min(100%,460px)}.inline-form input{flex:1}.carry-note{margin:20px 0;padding:13px 15px;border-radius:8px;background:#edf5e9;color:#326c3f;font-size:13px}
.two-panels{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.4fr);gap:18px}.category-row{display:grid;grid-template-columns:70px minmax(100px,1fr) auto auto;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #edf1eb}.category-row input{padding:7px 9px}.category-row small{grid-column:2/-1;color:#9b7a18}.existing-files{display:flex;flex-direction:column;gap:8px;margin-top:20px;padding:14px;background:#f4f7f2;border-radius:8px;font-size:13px}.existing-files a{color:#247345;text-decoration:none}
.year-state{font-size:11px;padding:5px 9px;border-radius:20px}.year-state.open{background:#e4f3e7;color:#20683a}.year-state.closed{background:#fff3d4;color:#87670d}
@media(max-width:850px){.two-panels{grid-template-columns:1fr}.account-grid{grid-template-columns:1fr}}
@media(max-width:700px){.finance-toolbar{align-items:stretch}.finance-toolbar form{justify-content:space-between}.finance-links{gap:12px}.inline-form{flex-direction:column}.category-row{grid-template-columns:65px 1fr}.category-row button{justify-self:start}.category-row small{grid-column:2}}

.finance-search{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:15px 0}.finance-search input{flex:1;min-width:220px;max-width:650px}.finance-transactions .number a{color:#176b3a;font-weight:700;text-decoration:none}.finance-transactions .number a:hover{text-decoration:underline}.finance-transactions td{vertical-align:middle}.finance-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 24px;margin:20px 0 4px}.finance-detail-grid dt{font-size:12px;color:#718078;margin-bottom:6px}.finance-detail-grid dd{font-size:15px;margin:0;overflow-wrap:anywhere}.finance-detail-grid .detail-wide{grid-column:1/-1}.finance-attachment-list{display:flex;flex-direction:column;gap:12px;margin-top:15px}.finance-attachment-list a{color:#176b3a}@media(max-width:800px){.finance-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.finance-detail-grid{grid-template-columns:1fr}}

/* 0.4.6 – Member maps and VZ statistics */
.member-map-panel{max-width:950px}.member-map-panel .section-heading{gap:14px;flex-wrap:wrap}.map-address{font-size:13px;color:#365a40;margin:18px 0 12px}.member-map{display:block;width:100%;height:340px;border:1px solid #dbe8dd;border-radius:10px;background:#eef3ed}.member-map-panel .hint{margin-top:12px;line-height:1.5}
.vz-stats h3{font-size:15px;margin:25px 0 12px}.vz-total{text-align:right;background:#e9f4e9;border-radius:10px;padding:12px 22px}.vz-total strong{display:block;font-size:28px;color:#176b3a}.vz-total small{font-size:11px;color:#57735e}.vz-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.vz-summary-card{text-decoration:none;border:1px solid #e1eae0;background:#f8fbf7;border-radius:10px;padding:14px;color:#31573d;display:flex;flex-direction:column;gap:6px}.vz-summary-card strong{font-size:25px;color:#176b3a}.vz-summary-card small{color:#738577;font-size:11px}.vz-chart-legend{display:flex;gap:18px;margin-bottom:16px;font-size:12px;color:#526a58}.vz-chart-legend span{display:flex;align-items:center;gap:6px}.vz-dot{width:10px;height:10px;display:inline-block;border-radius:50%}.vz-a1{background:#27824d}.vz-a2{background:#e3b429}.vz-a3{background:#3977a4}.vz-chart{display:grid;gap:13px}.vz-chart-group{display:grid;grid-template-columns:145px minmax(0,1fr);gap:14px;border-bottom:1px solid #edf1eb;padding:12px 0}.vz-chart-label{display:flex;flex-direction:column;gap:5px;font-size:13px}.vz-chart-label small{font-size:11px;color:#8a998d}.vz-chart-bars{display:grid;gap:8px}.vz-chart-line{display:grid;grid-template-columns:25px minmax(0,1fr) 28px;align-items:center;gap:10px;text-decoration:none;color:#365a40;font-size:12px}.vz-chart-line:hover .vz-bar-track{outline:1px solid #97b79d}.vz-bar-track{display:block;height:13px;background:#edf2eb;border-radius:8px;overflow:hidden}.vz-bar-fill{display:block;height:100%;border-radius:8px;min-width:0}.vz-bar-fill.vz-a1{background:#27824d}.vz-bar-fill.vz-a2{background:#e3b429}.vz-bar-fill.vz-a3{background:#3977a4}.vz-chart-line strong{text-align:right}.vz-stats .hint{margin-top:16px}@media(max-width:700px){.vz-chart-group{grid-template-columns:1fr}.vz-chart-label{flex-direction:row;justify-content:space-between}.vz-summary{gap:7px}.vz-summary-card{padding:10px}}

/* 0.5.0 offline: logo and settings */
.brand-logo{width:45px;height:45px;flex-shrink:0;display:grid;place-items:center;overflow:hidden}.brand-logo img{width:100%;height:100%;object-fit:contain}.brand:has(.brand-logo img) .brand-logo{background:transparent;border:0;padding:0}.brand:has(.brand-logo img) small{font-size:11px;letter-spacing:1.4px;color:#fff}.logo-preview{margin:18px 0;padding:15px;background:#f3f7f2;border-radius:12px;max-width:240px}.logo-preview img{display:block;max-width:100%;max-height:180px;object-fit:contain}.logo-form{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}.settings-links{margin:20px 0}.settings-links a{color:#176b3a;text-decoration:none;font-weight:600}.section-heading .button{margin-left:12px}@media(max-width:700px){.section-heading{flex-wrap:wrap;gap:10px}}

/* Full-width, centered club identity */
.sidebar .brand.brand-stacked{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:8px 0 24px;width:100%;text-align:center}
.sidebar .brand.brand-stacked .brand-logo{width:100%;height:auto;min-height:90px;max-height:190px;padding:0;background:transparent;border:0;overflow:visible;display:flex;align-items:center;justify-content:center}
.sidebar .brand.brand-stacked .brand-logo img{display:block;width:100%;height:auto;max-height:185px;object-fit:contain}
.sidebar .brand.brand-stacked small{font-size:12px;letter-spacing:2px;color:#fff;font-weight:700}
.vz-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:15px 0 24px}
.vz-summary a{padding:16px;border:1px solid #dce8dc;border-radius:10px;background:#f5faf5;color:#146838;text-decoration:none}
.vz-summary strong{display:block;font-size:26px;margin-top:6px}
.vz-bar{display:grid;grid-template-columns:110px 30px 1fr 30px;align-items:center;gap:9px;margin:7px 0;color:#1e4730;font-size:13px;text-decoration:none}
.vz-track{height:12px;border-radius:12px;background:#edf1eb;overflow:hidden}.vz-fill{display:block;height:100%;border-radius:12px;background:#2b8454}.vz-fill.a2{background:#e2b429}.vz-fill.a3{background:#397fa6}
@media(max-width:700px){.vz-summary{grid-template-columns:1fr 1fr 1fr}.vz-bar{grid-template-columns:80px 25px 1fr 25px}}

/* 0.5.4 mailbox and notification center */
.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;border-top:1px solid #ffffff28;padding-top:10px}.sidebar-bottom .offline{margin-top:0;padding:8px 12px}.sidebar{overflow-y:auto}.topbar{position:fixed;z-index:20;top:0;left:245px;right:0;height:57px;background:#fff;border-bottom:1px solid #e3ebe3;display:flex;justify-content:space-between;align-items:center;padding:0 32px;box-shadow:0 2px 9px #153d2408}.topbar-name{font-weight:700;font-size:13px;color:#326344}main{padding-top:93px}.notification-wrap{position:relative}.bell-button{border:0;background:transparent;cursor:pointer;padding:7px 11px;font-size:0;position:relative}.bell-button>.bell-symbol{font-size:24px;color:#245c38}.bell-count{position:absolute;top:0;right:0;background:#d92937;color:#fff;border-radius:99px;padding:2px 5px;font-size:10px;font-weight:800;min-width:17px}.bell-count[hidden],.notification-popover[hidden]{display:none}.notification-popover{position:absolute;right:0;top:44px;width:min(360px,90vw);max-height:470px;overflow:auto;background:white;border:1px solid #dae8db;border-radius:12px;box-shadow:0 14px 40px #183b2430}.notification-heading{display:flex;align-items:center;justify-content:space-between;padding:15px;border-bottom:1px solid #e8eee7}.notification-heading button{border:0;background:none;color:#287747;font-size:11px;cursor:pointer}.notification-item{display:block;padding:13px 15px;border-bottom:1px solid #edf2ed;text-decoration:none;color:#283d2e}.notification-item.new{background:#f2faf2}.notification-item strong,.notification-item small{display:block}.notification-item small{color:#778478;margin-top:4px}.mail-toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:0 0 18px}.mail-toolbar form{margin:0}.mail-chip{display:inline-block;padding:7px 12px;border:1px solid #dce9dd;border-radius:20px;text-decoration:none;color:#356446;font-size:12px;background:#f7faf6}.mail-chip.selected{background:#236d43;color:white}.mail-unread{background:#f3faf4;font-weight:700}.mail-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;padding:20px 0}.mail-compose{display:grid;gap:18px}.mail-compose label{display:grid;gap:8px;font-size:13px;font-weight:650}.mail-compose textarea{width:100%;resize:vertical}@media(max-width:700px){.topbar{left:0;padding:0 16px}.topbar-name{display:none}}

.member-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}.member-tab{padding:11px 16px;border:1px solid #cdded3;border-radius:12px;background:white;color:#28553b;cursor:pointer;font-weight:650}.member-tab.active{background:#175b3b;color:white}.member-tab-panel[hidden]{display:none!important}

.member-profit-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 24px}@media(max-width:720px){.member-profit-stats{grid-template-columns:1fr}}

/* AllStars mailbox 0.5.8 */
.mail-layout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:20px;align-items:start;margin-bottom:22px}.mail-folders,.mail-main{background:#fff;border:1px solid #e0e9e1;border-radius:16px;box-shadow:0 8px 28px #183b2409;padding:15px}.mail-folders{display:grid;gap:6px}.mail-folder{display:flex;align-items:center;gap:12px;padding:13px;border-radius:10px;color:#385446;text-decoration:none;font-weight:650;font-size:13px}.mail-folder.active{background:#e8f5eb;color:#1a703c}.mail-folder small{margin-left:auto}.mail-main-heading{display:flex;align-items:center;justify-content:space-between;padding:4px 5px 15px}.mail-main-heading h2{margin:0}.mail-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 8px;background:#f6faf6;border-radius:10px;margin-bottom:8px}.mail-actions select{width:auto;min-width:190px}.mail-check{display:flex;gap:7px;align-items:center;font-size:12px;font-weight:650}.mail-list-item{display:flex;gap:14px;align-items:center;padding:15px 12px;border-bottom:1px solid #eef2ed;min-width:0}.mail-list-item:hover{background:#f8fbf8}.mail-list-item.unread{background:#f1f9f2}.mail-message-link{flex:1;min-width:0;text-decoration:none;color:#263d2c}.mail-row-top{display:flex;justify-content:space-between;gap:15px}.mail-row-top strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-row-top small{font-size:11px;color:#809083;white-space:nowrap}.mail-row-subject{font-size:13px;margin:5px 0;font-weight:600}.mail-row-preview{font-size:12px;color:#849187;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mail-empty{padding:55px;text-align:center;color:#7b8d7d}.mail-compose-card{max-width:950px}.mail-signature-bar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 15px;background:#f5faf5;border-radius:10px}.mail-signature-bar label{display:flex;align-items:center;gap:8px}.mail-signature-bar a{font-size:12px;color:#267d48}@media(max-width:900px){.mail-layout{grid-template-columns:1fr}.mail-folders{display:flex;flex-wrap:wrap}.mail-list-item>.mail-chip{display:none}}

/* 0.5.9 — three-column mail reader and compact status chips */
.mail-layout{grid-template-columns:185px minmax(320px,1fr) minmax(350px,0.95fr);gap:14px;align-items:stretch}
.mail-reader-panel{background:#fff;border:1px solid #e0e9e1;border-radius:16px;min-width:0;min-height:620px;overflow:hidden;box-shadow:0 8px 28px #183b2409}
.mail-reader-panel iframe{width:100%;height:78vh;min-height:620px;border:0;background:white}
.mail-reader-placeholder{text-align:center;padding:90px 24px;color:#809083}.mail-reader-placeholder span{font-size:45px;color:#9db8a4}.mail-reader-placeholder h3{color:#244832}
.mail-list-item.mail-selected{background:#e2f1e7;border-left:3px solid #267d48}.mail-list-item{padding:11px 8px}.mail-main{min-width:0}.mail-row-top{display:block}.mail-row-top small{display:block;margin-top:3px}.mail-list-item>.mail-chip{display:none}
.mail-sync-status{font-size:11px;color:#587b65;padding:12px 7px;line-height:1.5}
.age-tag,.training-state-tag{display:inline-flex;align-items:center;border-radius:999px;padding:3px 10px;font-size:11px;font-weight:750;white-space:nowrap;border:1px solid transparent}
.age-child{background:#e6f1ff;color:#225da1;border-color:#cce0ff}.age-junior{background:#fff0d7;color:#995d0a;border-color:#f6dfb6}.age-adult{background:#e8f5e9;color:#24703b;border-color:#cde8d0}.age-unknown{background:#f1f2f4;color:#69717a}
.training-state-tag.done{background:#e4f5e9;color:#186b39}.training-state-tag.planned{background:#e5efff;color:#245ca3}.training-state-tag.cancelled,.training-state-tag.no-show{background:#fde9e8;color:#a63332}.training-state-tag.progress{background:#fff0d7;color:#9a5d0c}
@media(max-width:1250px){.mail-layout{grid-template-columns:170px minmax(260px,1fr)}.mail-reader-panel{grid-column:2;min-height:420px}.mail-reader-panel iframe{height:520px;min-height:420px}}
@media(max-width:760px){.mail-layout{grid-template-columns:1fr}.mail-reader-panel{grid-column:1}.mail-folders{display:flex;flex-wrap:wrap}}

/* 0.6.0: configurable color themes and favorites */
body[data-theme="ocean"]{--as-green:#2563a5;--as-green-dark:#173d69;--as-green-soft:#e8f1fb;--as-yellow:#72c9ed;--as-ink:#21334a;background:#f3f7fc}
body[data-theme="amethyst"]{--as-green:#7043a2;--as-green-dark:#422b67;--as-green-soft:#f1eafb;--as-yellow:#d7a6ff;--as-ink:#362947;background:#f9f6fc}
body[data-theme="sunset"]{--as-green:#b75d29;--as-green-dark:#753a24;--as-green-soft:#fff0e3;--as-yellow:#ffc76b;--as-ink:#493324;background:#fff9f4}
body[data-theme="graphite"]{--as-green:#4e6d76;--as-green-dark:#24343c;--as-green-soft:#e8f0f2;--as-yellow:#d6b777;--as-ink:#28343a;background:#eef2f3}
body[data-theme]:not([data-theme="allstars"]) .sidebar{background:linear-gradient(180deg,var(--as-green-dark),var(--as-green-dark))}
body[data-theme]:not([data-theme="allstars"]) .sidebar a.active,body[data-theme]:not([data-theme="allstars"]) .sidebar a:hover{background:var(--as-green)}
body[data-theme]:not([data-theme="allstars"]) .button:not(.secondary),body[data-theme]:not([data-theme="allstars"]) .mail-chip.selected{background:var(--as-green)}
body[data-theme]:not([data-theme="allstars"]) .button:not(.secondary):hover{background:var(--as-green-dark)}
body[data-theme]:not([data-theme="allstars"]) .eyebrow,body[data-theme]:not([data-theme="allstars"]) .actions a,body[data-theme]:not([data-theme="allstars"]) .link-button{color:var(--as-green)}
body[data-theme]:not([data-theme="allstars"]) .mail-folder.active,body[data-theme]:not([data-theme="allstars"]) .mail-list-item.mail-selected{background:var(--as-green-soft)}
.favorite-nav{display:flex;flex-direction:column;gap:2px;max-height:29vh;overflow:auto;padding-bottom:7px}.favorite-heading{font-size:10px;letter-spacing:1px;color:#b6d0bd;padding:8px 12px}.favorite-nav a{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:9px 12px}
.theme-options{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.theme-option{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid #dfe8df;border-radius:11px;cursor:pointer;font-size:13px}.theme-option:has(input:checked){border-color:var(--as-green);box-shadow:0 0 0 2px var(--as-green-soft)}.theme-swatch{width:22px;height:22px;border-radius:50%;background:#176b3a}.theme-preview-ocean .theme-swatch{background:#2563a5}.theme-preview-amethyst .theme-swatch{background:#7043a2}.theme-preview-sunset .theme-swatch{background:#b75d29}.theme-preview-graphite .theme-swatch{background:#4e6d76}.favorite-settings{margin:16px 0}.favorite-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0}.favorite-row input[name="name"]{flex:1;min-width:130px}.favorite-row input[name="url"]{flex:2;min-width:190px}.favorite-row .button{padding:10px}
/* 0.6.0: compact folders + independently scrolling mailbox panes */
.mail-layout{grid-template-columns:175px minmax(310px,.9fr) minmax(380px,1.15fr);align-items:start;gap:14px;height:calc(100vh - 180px);min-height:550px;margin-bottom:18px}
.mail-folders{display:flex;flex-direction:column;gap:5px;align-self:start;height:auto;max-height:100%;overflow-y:auto}
.mail-folder{flex:none;padding:11px 12px}.mail-main{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}.mail-main-heading,.mail-toolbar,.mail-actions{flex-shrink:0}.mail-main form#mail-bulk{display:flex;flex-direction:column;min-height:0;flex:1}.mail-list{overflow-y:auto;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#a7bbaa transparent}.mail-reader-panel{height:100%;min-height:0;overflow:hidden}.mail-reader-panel iframe{height:100%;min-height:0}.mail-reader-placeholder{padding:85px 16px}.mail-list-item{padding:12px 8px}
@media(max-width:1250px){.mail-layout{grid-template-columns:155px minmax(280px,1fr) minmax(320px,1fr)}.mail-reader-panel{grid-column:auto;min-height:0}.mail-reader-panel iframe{height:100%;min-height:0}}
@media(max-width:1050px){.mail-layout{height:auto;grid-template-columns:160px minmax(0,1fr)}.mail-main{height:68vh;min-height:420px}.mail-reader-panel{grid-column:2;height:65vh;min-height:400px}.mail-reader-panel iframe{height:100%;min-height:0}}
@media(max-width:760px){.mail-layout{grid-template-columns:1fr}.mail-folders{display:flex;flex-direction:row;flex-wrap:wrap}.mail-main{height:65vh}.mail-reader-panel{grid-column:1;height:65vh}.favorite-row input{flex-basis:100%}}

/* v0.6.1 rich email editor and sandboxed HTML preview */
.rich-editor{border:1px solid #cdded2;border-radius:12px;overflow:hidden;background:white}.rich-tools{display:flex;gap:5px;flex-wrap:wrap;padding:9px;background:#f4f8f5;border-bottom:1px solid #dbe6df}.rich-tools button{border:1px solid #d5e3d9;border-radius:7px;background:white;padding:7px 11px;cursor:pointer;color:#183b2a;font-size:14px}.rich-tools button:hover{background:#dcefe3}.rich-content{min-height:220px;max-height:500px;overflow:auto;padding:18px;line-height:1.6;outline:0;white-space:normal}.rich-content img{max-width:100%;height:auto}.mail-html-frame{width:100%;height:550px;border:0;background:white;border-radius:8px;display:block}.mail-compose .rich-editor{width:100%}

/* 0.6.4: only genuinely unread messages should be bold. */
.mail-row-top .mail-row-sender{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}
.mail-list-item .mail-row-subject{font-weight:400}
.mail-list-item.unread .mail-row-top .mail-row-sender,.mail-list-item.unread .mail-row-subject{font-weight:750}

/* 0.6.7 – follow-up flags */
.mail-flag{flex:0 0 auto;border:0;background:transparent;color:#a0aaa3;font-size:23px;line-height:1;cursor:pointer;padding:5px 3px;border-radius:6px}.mail-flag:hover{background:#f0f6ed;color:#a87500}.mail-flag.is-flagged{color:#d28a00}.mail-flag:disabled{opacity:.45;cursor:wait}

/* 0.6.8: week training calendar */
.week-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.week-navigation,.week-filters{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.week-navigation .button{font-size:17px;min-width:40px;text-align:center}.week-filters label{font-size:12px}.week-filters select{min-width:125px}.week-scroll{max-width:100%;overflow:auto;border:1px solid #dbe6df;border-radius:15px;background:white;max-height:75vh}.week-calendar{display:grid;grid-template-columns:65px repeat(7,minmax(145px,1fr));min-width:1080px;position:relative}.week-corner,.week-day-heading{height:64px;position:sticky;top:0;z-index:4;background:#f5f9f6;border-bottom:1px solid #dbe6df}.week-corner{padding:22px 12px;font-size:12px;color:#738478}.week-day-heading{text-align:center;display:flex;align-items:center;justify-content:center;gap:9px;border-left:1px solid #e5eee7}.week-day-heading span{color:#687d70;font-size:12px}.week-day-heading strong{font-size:16px}.week-day-heading.is-today{background:var(--as-green-soft)}.week-day-heading.is-today strong{color:var(--as-green)}.week-hours{height:1824px;background:#fafcfb}.week-hour{height:76px;border-top:1px solid #e7eee9;text-align:right;padding:3px 9px;color:#84948a;font-size:11px}.week-day-column{height:1824px;position:relative;border-left:1px solid #e4ece6;background:repeating-linear-gradient(to bottom,transparent 0,transparent 75px,#e7eee9 75px,#e7eee9 76px)}.week-day-column.is-today{background-color:#f6fbf7}.week-event{position:absolute;left:4px;right:4px;z-index:2;overflow:hidden;display:flex;flex-direction:column;gap:2px;border-left:4px solid var(--as-green);border-radius:7px;background:var(--as-green-soft);color:var(--as-green-dark);padding:5px 7px;text-decoration:none;font-size:11px;line-height:1.25;box-shadow:0 1px 4px #00000012}.week-event:hover{filter:brightness(.96);z-index:3;box-shadow:0 2px 8px #00000025}.week-event strong{font-size:12px;line-height:1.2}.week-event-time{font-weight:750}.week-event.is-done{background:#e9f2ff;border-left-color:#377bb7;color:#254c75}.week-event.is-cancelled,.week-event.is-no-show{background:#fff0ed;border-left-color:#c15d54;color:#813d37;text-decoration:line-through}.week-help{margin-top:12px}

/* 0.6.9: weekly calendar starts at 08:00 (16 hours x 76px). */
.week-hours,.week-day-column{height:1216px}

/* Živý ukazovateľ aktuálneho času v týždennom kalendári. */
.week-now-line{position:absolute;left:0;right:0;height:0;border-top:2px solid #e23e45;z-index:5;pointer-events:none;filter:drop-shadow(0 1px 1px #00000020)}
.week-now-line[hidden]{display:none!important}
.week-now-dot{position:absolute;left:-5px;top:-6px;width:10px;height:10px;border-radius:50%;background:#e23e45}
.week-now-label{position:absolute;right:5px;top:-21px;background:#e23e45;color:#fff;font-size:10px;font-weight:750;padding:2px 5px;border-radius:4px;line-height:1.25}

.notification-time{display:block;margin-top:6px;font-size:11px;color:#738477;font-weight:400}.notification-item.new .notification-time{color:#567765}

/* 0.7.3 Authentication and profile */
.account-top-actions{display:flex;align-items:center;gap:15px}.account-profile{color:#205b38;text-decoration:none;font-size:13px;font-weight:700;display:flex;align-items:center;gap:7px}.account-stop{background:#fff3e6;border:1px solid #e7c4a0;border-radius:8px;padding:8px;color:#8a4518;cursor:pointer}.auth-page{min-height:100vh;background:linear-gradient(130deg,#eaf4e9,#f9fbf6);display:grid;place-items:center;font-family:system-ui,sans-serif}.auth-card{width:min(420px,90vw);background:white;border-radius:20px;padding:34px;box-shadow:0 18px 55px #1b483122}.auth-card h1{color:#205b38;font-size:24px}.auth-card label,.auth-form label{display:grid;gap:6px;margin:15px 0;color:#274b35;font-weight:650}.auth-card input,.auth-form input{padding:12px;border:1px solid #c9d8cd;border-radius:9px;width:100%;box-sizing:border-box}.auth-card button,.auth-panel button{background:#17693b;color:white;border:0;padding:10px 15px;border-radius:8px;cursor:pointer}.auth-card a{display:block;margin-top:18px;color:#17693b}.auth-panel{background:white;border:1px solid #dce9dd;border-radius:14px;padding:24px;max-width:900px}.auth-form{max-width:420px}.auth-warning{padding:12px;background:#fff3d6;color:#6d4a00;border-radius:9px}.auth-panel .auth-secondary{background:#edf3ed;color:#205b38;margin:15px 0}.auth-table{width:100%;border-collapse:collapse}.auth-table th,.auth-table td{padding:12px;border-bottom:1px solid #e4ebe4;text-align:left}.auth-table form{display:flex;gap:8px;align-items:center}.auth-table select{padding:8px;border-radius:7px;border:1px solid #cdddcf}

/* 0.7.5: editable user profile and avatar */
.profile-panel{max-width:1050px}.profile-intro{display:flex;align-items:center;gap:20px;padding-bottom:20px;border-bottom:1px solid #e4ebe4}.profile-intro h2{margin:0}.profile-intro p{color:#718577}.profile-avatar-large{width:100px;height:100px;object-fit:cover;border-radius:50%;border:3px solid #d8e9dc;flex:none}.profile-avatar-placeholder{display:grid;place-items:center;background:#e3f2e7;color:#17693b;font-size:42px;font-weight:700}.profile-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:24px;margin:20px 0}.profile-sections section{min-width:0}.profile-sections h3{margin-top:0}.profile-note{color:#728678;font-size:13px}.account-avatar{width:30px;height:30px;object-fit:cover;border-radius:50%;display:inline-grid;place-items:center;flex:none}.account-avatar-fallback{background:#e0f0e3;color:#17693b;font-weight:800}

/* 0.7.7 member area lists */
.member-table{width:100%;border-collapse:collapse;margin-top:12px}.member-table th,.member-table td{padding:12px;text-align:left;border-bottom:1px solid #e5ece7;vertical-align:middle}.member-table th{font-size:12px;color:#667c6c;background:#f6faf7}.member-table td .button{margin:2px}.member-table td form{display:inline-block}@media(max-width:720px){.auth-panel{overflow-x:auto}.member-table{min-width:580px}}

/* 0.8.0: jednotná typografia členských formulárov */
.auth-panel .auth-form label,.auth-panel label{font-size:12px;font-weight:650;color:#536174;line-height:1.45}
.auth-panel .auth-form input,.auth-panel .auth-form select,.auth-panel .auth-form textarea,.auth-panel input,.auth-panel select,.auth-panel textarea{font-family:inherit;font-size:14px;font-weight:400;line-height:1.45}
.auth-panel .auth-form{max-width:950px}

/* 0.8.1 – read-only member awards */
.member-awards{display:grid;gap:12px;margin-top:18px}
.member-award{display:flex;align-items:flex-start;gap:18px;border:1px solid #dce8df;border-radius:14px;padding:18px;background:#fbfdfb}
.member-award-icon{font-size:36px;line-height:1.2;min-width:48px;text-align:center}
.member-award-content{flex:1;min-width:0;line-height:1.6}
.member-award-heading{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:1.08rem}
.member-award-year{color:#53725e;font-size:.86rem;font-weight:600}
.member-award-placement{color:#195d39;font-weight:700}
.member-award-content p{margin:4px 0 0}
@media(max-width:600px){.member-award{padding:12px;gap:10px}.member-award-icon{font-size:28px;min-width:34px}}

/* 0.8.4 – member profile visual consistency */
.member-status-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;font-size:12px;font-weight:700;margin-top:8px;background:#edf0ed;color:#4d6153}
.member-status-chip.is-active{background:#dff2e6;color:#16643a}
.member-status-chip.is-inactive{background:#fff0df;color:#9b5516}
.member-readonly-grid{margin-top:16px;margin-bottom:10px}
.member-readonly-grid input:disabled{background:#edf0f1!important;color:#69777b!important;border-color:#d8dfe1!important;opacity:1;cursor:not-allowed}
.auth-panel .auth-form label,.auth-panel .auth-form input,.auth-panel .auth-form select,.auth-panel .auth-form textarea{font-size:inherit}

/* 0.9.2: cohesive member/dog forms, photo previews and separated account actions */
.club-photo-preview{margin:14px 0;display:flex;align-items:center;min-height:90px}
.club-photo-preview img{width:148px;height:148px;object-fit:cover;border-radius:16px;border:1px solid #d7e6d9;box-shadow:0 5px 18px #12391f13}
.member-tab-panel[data-panel="data"]>.panel:first-child,.club-photo-panel{border-radius:16px;box-shadow:0 6px 20px #12391f0b}
.member-tab-panel[data-panel="data"]>.panel:first-child form,.club-photo-panel form{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.member-tab-panel[data-panel="data"]>.panel:first-child input[type=file],.club-photo-panel input[type=file]{max-width:340px;padding:10px;border:1px dashed #b8d0bf;border-radius:10px;background:#f7faf7}
.club-users-panel{max-width:none;width:100%;box-sizing:border-box;overflow-x:auto}
.club-users-table{min-width:1050px;table-layout:auto}
.club-users-table td{vertical-align:middle;white-space:normal}
.club-users-table td:nth-child(4),.club-users-table td:nth-child(5),.club-users-table td:nth-child(6){white-space:nowrap}
.club-users-table .club-toggle{background:#edf3ed;color:#205b38;border:1px solid #d3e4d5}
.club-users-table .club-delete{background:#fff4f2;color:#a73f35;border:1px solid #f0d2cc}
.club-users-table .club-delete:hover{background:#fce7e3}
@media(min-width:1000px){.club-users-panel{max-width:1450px}.club-users-table th:nth-child(5){min-width:105px}}

/* 0.9.3 — Responsive full-width workspace */
main{max-width:none;width:calc(100% - 245px);min-width:0;padding-left:clamp(18px,2.7vw,52px);padding-right:clamp(18px,2.7vw,52px)}
main>.panel,main>.form-panel,main>.member-map-panel,main>.club-photo-panel,main>.auth-panel,main>.member-tab-panel{width:100%;max-width:none;min-width:0}
.form-panel,.member-map-panel,.profile-panel,.mail-compose-card,.auth-panel .auth-form{max-width:none;width:100%}
.member-tab-panel{width:100%;min-width:0}
.member-tab-panel>.panel{max-width:none;width:100%;min-width:0}
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(14px,2vw,28px);row-gap:17px}
.form-grid label{min-width:0}
.form-grid input,.form-grid select,.form-grid textarea{width:100%;max-width:100%}
.panel .table-wrap{max-width:100%;overflow-x:auto}
.panel table{width:100%}
.club-photo-panel,.member-tab-panel[data-panel="data"]>.panel:first-child{max-width:none}
@media(max-width:1000px){main{width:calc(100% - 205px);padding-left:24px;padding-right:24px}}
@media(max-width:700px){main{width:100%;margin-left:0;padding:24px 16px}.form-grid{grid-template-columns:minmax(0,1fr)}.form-grid .wide{grid-column:auto}.panel,.form-panel{padding:16px}.member-tabs{gap:6px}.member-tab{padding:9px 11px}}

/* 0.9.4 – unified link styling in club tables */
main .table-wrap td a:not(.button), main .table-wrap td a:visited:not(.button),
main .table-wrap .actions a, main .table-wrap .actions a:visited {color:var(--as-green, #176b3a)!important;text-decoration:underline!important;text-underline-offset:3px;text-decoration-thickness:1px;font-weight:650}
main .table-wrap td a:hover:not(.button), main .table-wrap .actions a:hover {color:#0d4d2a!important;text-decoration-thickness:2px!important}
main .table-wrap td a:focus-visible {outline:2px solid #176b3a;outline-offset:3px;border-radius:2px}

/* 0.9.5 – kompaktne editacne karty: fotografia vedla formulara */
.club-edit-split{display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr);gap:18px;align-items:start;margin-bottom:18px}
.club-edit-split>.panel{margin:0!important;min-width:0}
.club-edit-split .club-edit-photo{position:sticky;top:72px;padding:20px}
.club-edit-split .club-edit-photo h2{font-size:1.06rem;margin:0 0 14px}
.club-edit-split .club-photo-preview img,.club-edit-split .club-edit-photo>img{display:block;width:100%;max-width:190px;max-height:220px;height:auto;object-fit:cover;border-radius:12px;margin-bottom:12px}
.club-edit-split .club-edit-photo form{display:flex!important;flex-direction:column;align-items:stretch!important;gap:10px!important}
.club-edit-split .club-edit-photo input[type=file]{width:100%;min-width:0;font-size:.82rem}
.club-edit-split .club-edit-photo button{align-self:flex-start}
.club-edit-split .club-edit-fields{width:100%;max-width:none}
@media(max-width:850px){.club-edit-split{grid-template-columns:1fr}.club-edit-split .club-edit-photo{position:static}.club-edit-split .club-edit-photo form{flex-direction:row;flex-wrap:wrap;align-items:center!important}}
@media(max-width:520px){.club-edit-split .club-edit-photo form{flex-direction:column;align-items:stretch!important}}

/* 0.9.6 – large full-height portraits and polished upload controls */
.club-edit-split{align-items:stretch;grid-template-columns:clamp(245px,22vw,340px) minmax(0,1fr);gap:16px}
.club-edit-split .club-edit-photo{position:static;display:flex;flex-direction:column;align-self:stretch;padding:20px;min-height:0}
.club-edit-split .club-edit-photo h2{margin:0 0 12px;font-size:1rem}
.club-edit-split .club-photo-preview{display:flex;flex:1 1 auto;min-height:230px;max-height:none;margin:0 0 12px;align-items:stretch;position:relative;overflow:hidden;border-radius:14px;background:#e9f1eb;border:1px solid #dce8de}
.club-edit-split .club-photo-preview img,.club-edit-split .club-edit-photo>img{width:100%;height:100%;max-width:none;max-height:none;min-height:230px;object-fit:cover;object-position:center;border-radius:14px;margin:0;box-shadow:none;border:0}
.club-edit-split .club-photo-preview img{position:absolute;inset:0}
.club-edit-split .club-photo-placeholder{display:none;align-items:center;justify-content:center;text-align:center;padding:20px;color:#658372;font-weight:650}
.club-edit-split .club-photo-preview.is-empty img{display:none}
.club-edit-split .club-photo-preview.is-empty .club-photo-placeholder{display:flex;width:100%}
.club-edit-split .club-edit-photo .muted{font-size:.78rem;line-height:1.45;margin:0 0 12px}
.club-edit-split .club-edit-photo form{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;margin-top:auto!important}
.club-edit-split .club-upload-picker{display:flex;flex-direction:column;gap:6px;cursor:pointer;min-width:0;font-size:inherit;font-weight:inherit}
.club-edit-split .club-upload-picker input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;pointer-events:none}
.club-edit-split .club-upload-label{display:block;padding:11px 12px;border:1px dashed #86b69a;background:#f3faf5;border-radius:9px;color:#17693b;font-size:.86rem;font-weight:750;text-align:center;transition:background .15s,border-color .15s}
.club-edit-split .club-upload-picker:hover .club-upload-label{background:#e5f4e9;border-color:#17693b}
.club-edit-split .club-upload-picker:focus-within .club-upload-label{outline:2px solid #17693b;outline-offset:2px}
.club-edit-split .club-upload-filename{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;color:#73877b;text-align:center;font-weight:400}
.club-edit-split .club-edit-photo button{width:100%;align-self:stretch;min-height:40px;font-weight:750;border-radius:9px}
@media(max-width:900px){.club-edit-split{grid-template-columns:1fr}.club-edit-split .club-edit-photo{display:grid;grid-template-columns:minmax(130px,210px) minmax(0,1fr);grid-template-rows:auto 1fr;gap:12px 18px}.club-edit-split .club-edit-photo h2{grid-column:1/-1}.club-edit-split .club-photo-preview{grid-column:1;grid-row:2;min-height:210px;margin:0}.club-edit-split .club-edit-photo .muted{grid-column:2;grid-row:2;align-self:start}.club-edit-split .club-edit-photo form{grid-column:2;grid-row:2;align-self:end;margin:0!important}}
@media(max-width:520px){.club-edit-split .club-edit-photo{display:flex}.club-edit-split .club-photo-preview{min-height:260px;height:260px;flex:none}.club-edit-split .club-edit-photo form{width:100%}}

/* 0.9.7 – square profile/dog photo and linked record names */
.club-edit-split .club-edit-photo{justify-content:flex-start}
.club-edit-split .club-photo-preview{flex:0 0 auto;aspect-ratio:1/1;width:100%;height:auto;min-height:0;max-height:none;align-self:center;margin-bottom:14px}
.club-edit-split .club-photo-preview img,.club-edit-split .club-edit-photo>img{min-height:0;height:100%;width:100%;object-fit:cover;object-position:center}
.club-edit-split .club-edit-photo form{margin-top:8px!important}
a.club-record-link,a.club-record-link:visited{color:var(--as-green,#17693b);font-weight:750;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
a.club-record-link:hover{color:#0a4a29;text-decoration-thickness:2px}
@media(max-width:900px){.club-edit-split .club-photo-preview{width:min(100%,240px);min-height:0;height:auto;aspect-ratio:1/1;align-self:start}}
@media(max-width:520px){.club-edit-split .club-photo-preview{width:min(100%,320px);height:auto;min-height:0;aspect-ratio:1/1}}

/* 0.9.8 – larger square photos; fluid responsive photo column */
@media(min-width:901px){
 .club-edit-split{grid-template-columns:clamp(340px,30vw,510px) minmax(0,1fr);gap:18px}
 .club-edit-split .club-edit-photo{padding:22px}
 .club-edit-split .club-photo-preview{width:100%;aspect-ratio:1/1;max-width:none}
}
@media(min-width:901px) and (max-width:1150px){.club-edit-split{grid-template-columns:minmax(285px,35%) minmax(0,1fr)}}

/* 0.9.10 – rovnaký editor fotografie a údajov pre MEMBER/TRAINER a ADMIN */
.member-self-edit{width:100%;max-width:none}
.member-self-edit .club-edit-photo{min-width:0}
.member-self-edit .club-photo-preview{aspect-ratio:1/1;width:100%;min-height:0;height:auto;flex:0 0 auto;position:relative}
.member-self-edit .club-photo-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.member-self-edit .club-edit-photo .club-upload-picker{width:100%}
.member-self-edit .club-edit-photo button{width:100%;align-self:stretch}
.member-self-edit .club-edit-photo form+form{margin-top:10px!important}
.member-self-edit .club-edit-fields h2{margin-top:0}
.member-account-security{margin-top:18px;width:100%;max-width:none}
.member-account-security .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.member-logout{margin-top:16px}
@media(max-width:900px){.member-self-edit{grid-template-columns:1fr}.member-self-edit .club-photo-preview{max-width:360px}.member-account-security .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.member-self-edit .form-grid,.member-account-security .form-grid{grid-template-columns:1fr}.member-self-edit .club-photo-preview{max-width:100%}}

/* 0.9.14 – prominent next training in member profile */
.member-training-highlight{display:flex;align-items:center;gap:20px;padding:22px 26px;margin:0 0 18px;border:1px solid #cde2d2;border-left:5px solid #147343;border-radius:16px;background:linear-gradient(110deg,#eef8f0 0%,#ffffff 76%);box-shadow:0 6px 22px rgba(17,67,41,.06)}
.member-training-icon{width:62px;height:62px;flex:none;display:grid;place-items:center;border-radius:16px;background:#dcefe2;font-size:29px}
.member-training-content{flex:1;min-width:0}
.member-training-content .eyebrow{margin:0 0 5px;color:#297b51;letter-spacing:.13em;font-size:11px;font-weight:800}
.member-training-content h2{margin:0 0 10px;font-size:clamp(18px,1.45vw,25px);line-height:1.25;color:#163d2c}
.member-training-details{display:flex;flex-wrap:wrap;gap:10px}
.member-training-details span{display:inline-flex;align-items:center;gap:6px;border-radius:9px;padding:7px 11px;background:white;border:1px solid #d7e9dc;color:#214a34;font-size:14px;font-weight:700}
.member-training-link{flex:none;white-space:nowrap}
@media(max-width:750px){.member-training-highlight{align-items:flex-start;flex-wrap:wrap;gap:12px;padding:18px}.member-training-icon{width:48px;height:48px;font-size:23px}.member-training-content{flex-basis:calc(100% - 65px)}.member-training-link{margin-left:60px}}
@media(max-width:480px){.member-training-icon{display:none}.member-training-content{flex-basis:100%}.member-training-link{margin-left:0;width:100%;text-align:center}}

/* Modular settings and login branding */
.login-brand{display:flex;align-items:center;gap:14px;margin-bottom:12px}.login-brand img{width:68px;height:68px;object-fit:contain}.login-brand h1{margin:0;font-size:24px}.settings-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}.settings-nav a{padding:9px 14px;background:#fff;border:1px solid #d6e2d9;border-radius:10px;text-decoration:none;color:#215b3d;font-weight:600}.settings-nav a.selected{background:#176c42;color:#fff;border-color:#176c42}.settings-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.settings-overview a{padding:18px;border:1px solid #d9e5dc;border-radius:12px;text-decoration:none;display:flex;flex-direction:column;gap:8px;color:inherit}.settings-overview small{color:#64766b}.legal-copy{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;background:#f5f8f5;padding:18px;border-radius:10px}.shop-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.shop-form-grid label{display:flex;flex-direction:column;gap:6px}.shop-form-grid input,.shop-form-grid select{width:100%;box-sizing:border-box}

/* Custom theme: retain original presets */
body[data-theme="custom"]{background:var(--custom-background)}
body[data-theme="custom"] .sidebar{background:var(--as-green-dark)}
body[data-theme="custom"] .sidebar a.active,body[data-theme="custom"] .sidebar a:hover{background:var(--as-green)}
body[data-theme="custom"] .button:not(.secondary){background:var(--as-green)}
body[data-theme="custom"] .eyebrow,body[data-theme="custom"] .actions a{color:var(--as-green)}
body[data-theme="custom"] h1,body[data-theme="custom"] h2,body[data-theme="custom"] h3{color:var(--as-ink)}
.color-picker-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:18px 0}.color-picker-grid label{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #dfe8df;border-radius:9px;padding:12px;font-size:13px}.color-picker-grid input[type=color]{width:55px;height:38px;padding:2px;cursor:pointer}.favorite-row form{margin:0}

.shop-category{padding:15px;margin:12px 0;border:1px solid #dce8dd;border-radius:10px}.shop-category form{padding:12px 0;border-top:1px solid #e9efe8;display:grid;gap:8px;max-width:620px}.shop-category textarea,.shop-edit-form textarea{width:100%;display:block}.shop-option-picker{display:flex;flex-direction:column;gap:8px;margin:12px 0}.shop-option-picker label[hidden]{display:none}.shop-edit-form{display:grid;gap:8px;min-width:260px;max-width:420px;padding:12px}.shop-edit-form label{display:grid;gap:4px}td details{white-space:normal;margin-top:8px}details summary{cursor:pointer;color:var(--as-green);padding:7px 0}

/* Shop storefront and cart */
.shop-store-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}.shop-store-card{display:flex;flex-direction:column;gap:10px}.shop-store-card form{display:grid;gap:12px;margin-top:auto}.shop-store-card label{display:grid;gap:5px}.shop-store-photo,.shop-store-placeholder{width:100%;height:210px;object-fit:cover;border-radius:10px}.shop-store-placeholder{display:grid;place-items:center;background:#eef4ed;font-size:64px}.shop-store-price{font-size:22px}.shop-cart-line{display:flex;align-items:center;gap:18px;padding:15px 0;border-bottom:1px solid #dce5dd;flex-wrap:wrap}.shop-cart-line>div{flex:1;min-width:180px}.shop-cart-photo{width:84px;height:84px;object-fit:cover;border-radius:8px}.shop-cart-line form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.shop-cart-line input{max-width:75px}

/* v5: full-width modern product cards, dedicated product detail, global cart */
.topbar-cart{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #d6e6db;border-radius:11px;background:#f3f9f4;color:var(--as-green,#176b3a);font-weight:750;text-decoration:none;white-space:nowrap}
.topbar-cart:hover{background:#e4f2e8}.topbar-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 5px;border-radius:20px;background:var(--as-green,#176b3a);color:#fff;font-size:12px}
.shop-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:28px}.shop-page-heading h1{margin-bottom:6px}.shop-heading-links{display:flex;flex-wrap:wrap;gap:9px}
.shop-modern-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:24px;align-items:stretch;width:100%}
.shop-modern-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #dce8df;border-radius:18px;background:#fff;text-decoration:none;color:inherit;box-shadow:0 5px 20px rgba(17,60,35,.045);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.shop-modern-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(17,60,35,.11);border-color:#a4c9b1}.shop-modern-media{aspect-ratio:4/3;background:#f2f5f0;overflow:hidden;display:grid;place-items:center}.shop-modern-media img{width:100%;height:100%;object-fit:contain;padding:12px;box-sizing:border-box;transition:transform .25s}.shop-modern-card:hover .shop-modern-media img{transform:scale(1.04)}.shop-modern-placeholder{font-size:72px}.shop-modern-info{display:flex;flex:1;flex-direction:column;gap:11px;padding:20px}.shop-category-tag{display:inline-flex;align-self:flex-start;border-radius:30px;padding:6px 11px;background:#eaf5ed;color:#216a42;font-size:12px;font-weight:750}.shop-modern-info h2{margin:0;font-size:21px;line-height:1.25}.shop-modern-desc{margin:0;color:#6b7d70;font-size:14px;line-height:1.5;min-height:40px}.shop-modern-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:14px;border-top:1px solid #edf1ed}.shop-modern-bottom strong{font-size:24px;color:#173e2b}.shop-modern-open{font-size:13px;font-weight:750;color:var(--as-green,#176b3a)}
.shop-breadcrumb{margin:0 0 24px}.shop-breadcrumb a{color:var(--as-green,#176b3a);font-weight:700}.shop-detail-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:clamp(24px,4vw,60px);align-items:start;max-width:1320px}.shop-detail-media{display:grid;place-items:center;min-height:380px;aspect-ratio:4/3;border:1px solid #e1eae1;border-radius:20px;background:#fff;overflow:hidden}.shop-detail-media img{width:100%;height:100%;object-fit:contain;padding:20px;box-sizing:border-box}.shop-detail-content{padding:12px 0}.shop-detail-content h1{font-size:clamp(27px,3vw,40px);line-height:1.18;margin:17px 0}.shop-detail-price{font-size:30px;font-weight:800;color:#155b35;margin:10px 0 22px}.shop-detail-description{white-space:pre-line;color:#4b6053;line-height:1.75;padding-bottom:24px;border-bottom:1px solid #e4ece6}.shop-detail-form{display:grid;gap:18px;margin-top:25px;max-width:520px}.shop-detail-form label{display:grid;gap:8px;font-weight:700}.shop-detail-form select,.shop-detail-form input{width:100%;box-sizing:border-box}.shop-detail-add{padding:14px 20px;font-size:16px}.shop-detail-note{font-size:13px;margin-top:16px}
@media(max-width:800px){.shop-detail-grid{grid-template-columns:1fr}.shop-detail-media{min-height:240px}.shop-modern-grid{gap:14px}.topbar-cart span:not(.topbar-cart-count){display:none}}

/* Rich product descriptions */
.shop-rich-editor{border:1px solid #cbdcd1;border-radius:12px;overflow:hidden;background:#fff;margin:8px 0 16px}
.shop-rich-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:9px;border-bottom:1px solid #e2eae4;background:#f6faf7}
.shop-rich-toolbar button{border:1px solid #cbdcd1;border-radius:6px;background:#fff;padding:6px 10px;cursor:pointer;color:#194d33;font-size:13px}
.shop-rich-toolbar button:hover{background:#e4f2e9}
.shop-rich-content{min-height:180px;max-height:550px;overflow-y:auto;padding:15px;outline:none;line-height:1.65}
.shop-rich-content:focus{box-shadow:inset 0 0 0 2px #3c9b66}
.shop-rich-content img,.shop-detail-description img{max-width:100%;height:auto;border-radius:8px;display:block;margin:12px 0}
.shop-detail-description{white-space:normal;overflow-wrap:anywhere}.shop-detail-description p{margin:0 0 14px}.shop-detail-description ul,.shop-detail-description ol{padding-left:25px}
.shop-rich-note{font-size:12px;color:#62766a;padding:0 12px 10px}

/* Product rich description: full width beneath product purchase panel. */
.shop-product-description-section{margin-top:28px;max-width:1320px;box-sizing:border-box;padding:clamp(18px,3vw,36px)}
.shop-product-description-section h2{margin:0 0 20px;font-size:clamp(20px,2vw,28px)}
.shop-product-description-section .shop-detail-description{white-space:normal;line-height:1.65;color:inherit;border:0;padding:0;overflow-wrap:anywhere}
.shop-product-description-section .shop-detail-description img{max-width:100%;width:auto;height:auto;object-fit:contain}
.shop-product-description-section .shop-detail-description a{overflow-wrap:anywhere}


/* v9: readable product detail, clear hierarchy, long-form editorial description */
.shop-detail-hero{grid-template-columns:minmax(0,1.1fr) minmax(340px,.78fr);gap:clamp(22px,3vw,48px);align-items:start;max-width:1380px}
.shop-detail-hero .shop-detail-media{min-height:330px;aspect-ratio:5/4;position:sticky;top:88px;box-shadow:0 8px 24px rgba(15,65,37,.035)}
.shop-detail-hero .shop-detail-media img{padding:clamp(12px,2vw,28px)}
.shop-buy-panel{background:#fff;border:1px solid #e0e9e2;border-radius:20px;padding:clamp(20px,2.4vw,36px);box-shadow:0 8px 24px rgba(15,65,37,.04)}
.shop-buy-panel h1{margin:15px 0 12px;line-height:1.2}
.shop-buy-panel .shop-detail-price{padding-bottom:20px;border-bottom:1px solid #e9efea;margin-bottom:22px}
.shop-buy-panel .shop-detail-form{max-width:none;margin-top:10px}
.shop-buy-panel .shop-detail-add{min-height:48px}
.shop-product-description-section{max-width:1380px;margin-top:32px;padding:clamp(22px,3vw,42px);border-radius:20px}
.shop-description-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:24px;border-bottom:1px solid #e5ece6;margin-bottom:30px}
.shop-description-heading h2{margin:7px 0 0;font-size:clamp(24px,2.2vw,32px)}
.shop-section-eyebrow{font-size:11px;font-weight:800;letter-spacing:.13em;color:var(--as-green,#176b3a)}
.shop-back-to-buy{font-size:13px;font-weight:700;color:var(--as-green,#176b3a);text-decoration:none}
.shop-description-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:clamp(30px,4vw,70px);align-items:start}
.shop-description-main{min-width:0;max-width:920px}
.shop-description-side{position:sticky;top:90px;display:flex;flex-direction:column;gap:12px;border-left:2px solid #dce9de;padding:10px 0 10px 18px;font-size:13px}
.shop-description-side strong{color:#244b34;font-size:13px}
.shop-description-side a{color:#46634e;text-decoration:none;line-height:1.45}
.shop-description-side a:hover{color:var(--as-green,#176b3a);text-decoration:underline}
.shop-description-side #shop-description-sections{display:flex;flex-direction:column;gap:12px}
.shop-description-main .shop-detail-description{font-size:15px;line-height:1.85;color:#354b3b}
.shop-description-main .shop-detail-description p{margin:0 0 18px}
.shop-description-main .shop-detail-description h1,.shop-description-main .shop-detail-description h2,.shop-description-main .shop-detail-description h3,.shop-description-main .shop-detail-description h4{color:#173e2b;line-height:1.35;scroll-margin-top:100px}
.shop-description-main .shop-detail-description h1,.shop-description-main .shop-detail-description h2{font-size:22px;margin:36px 0 16px;padding-top:20px;border-top:1px solid #e5ede6}
.shop-description-main .shop-detail-description h3,.shop-description-main .shop-detail-description h4{font-size:18px;margin:28px 0 12px}
.shop-description-main .shop-detail-description ul,.shop-description-main .shop-detail-description ol{padding-left:24px;margin:14px 0 24px}
.shop-description-main .shop-detail-description li{padding-left:4px;margin:0 0 12px}
.shop-description-main .shop-detail-description table{width:100%;border-collapse:collapse;margin:18px 0 28px;font-size:14px;line-height:1.5}
.shop-description-main .shop-detail-description th,.shop-description-main .shop-detail-description td{padding:12px 14px;border:1px solid #dce7de;text-align:left}
.shop-description-main .shop-detail-description th{background:#f0f6f1;color:#21452f}
.shop-description-main .shop-detail-description tr:nth-child(even) td{background:#f9fbf9}
.shop-description-main .shop-detail-description img{max-width:100%;height:auto;margin:20px auto;border-radius:12px}
@media(max-width:950px){.shop-description-layout{grid-template-columns:1fr}.shop-description-side{position:static;order:-1;border-left:0;border-bottom:1px solid #e5ece6;padding:0 0 18px}.shop-description-side #shop-description-sections{flex-direction:row;flex-wrap:wrap;gap:12px 18px}}
@media(max-width:800px){.shop-detail-hero{grid-template-columns:1fr}.shop-detail-hero .shop-detail-media{position:static;min-height:220px}.shop-description-heading{align-items:flex-start;flex-direction:column}.shop-product-description-section{margin-top:20px}.shop-description-main .shop-detail-description{font-size:14px}}

/* Product descriptions: independent, responsive content sections */
.shop-product-sections{max-width:1380px;display:grid;gap:20px;margin-top:30px}
.shop-product-sections .shop-product-description-section{max-width:none;width:100%;margin:0}
.shop-product-sections .shop-rich-section{font-size:15px;line-height:1.8;max-width:100%;overflow-x:auto;overflow-wrap:break-word}
.shop-product-sections .shop-rich-section table{border-collapse:collapse;width:100%;min-width:440px;margin:18px 0 25px;font-size:14px}
.shop-product-sections .shop-rich-section th,.shop-product-sections .shop-rich-section td{border:1px solid #dce7de;padding:11px 13px;text-align:left;vertical-align:top}
.shop-product-sections .shop-rich-section th{background:#eef5ef;color:#21452f;font-weight:700}
.shop-product-sections .shop-rich-section tr:nth-child(even) td{background:#f8faf8}
.shop-product-sections .shop-rich-section img{display:block;max-width:100%;height:auto;border-radius:10px;margin:16px 0}
.shop-product-sections .shop-rich-section p{margin:0 0 16px}
.shop-product-sections .shop-rich-section h2,.shop-product-sections .shop-rich-section h3{margin:22px 0 12px}
@media(max-width:700px){.shop-product-sections{gap:14px}.shop-product-sections .shop-rich-section{font-size:14px}}

/* Nastavenia – identita klubu: prehľadné polia a samostatné mapy */
.club-identity-panel{max-width:none}
.club-identity-form{margin-top:22px}
.club-identity-section{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:clamp(18px,3vw,42px);padding:24px 0;border-top:1px solid #e4ebe6}
.club-identity-section-title h3{margin:0 0 8px;font-size:17px;color:#193c2c}
.club-identity-section-title p{line-height:1.55}
.club-identity-fields{min-width:0}
.club-identity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}
.club-field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:650;color:#355445;min-width:0}
.club-field input{display:block;width:100%;min-height:43px;margin:0;box-sizing:border-box}
.club-field-wide{grid-column:1/-1}
.club-field-hint{font-size:12px;line-height:1.5;color:#738278;font-weight:400}
.club-map-card{margin-top:20px;border:1px solid #dce8df;border-radius:12px;overflow:hidden;background:#f9fbf9}
.club-map-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:14px 17px}
.club-map-heading strong{font-size:14px;color:#234c35}
.club-map-heading .muted{margin-top:5px;overflow-wrap:anywhere}
.club-map-heading a,.club-map-note a{font-size:13px;font-weight:650;color:#176b42;text-decoration:none}
.club-map-card .member-map{height:285px;border:0;border-top:1px solid #e1ebe4;border-radius:0}
.club-map-note{padding:12px 15px;background:#f3f7f3;border-radius:9px;font-size:13px}
.club-identity-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding-top:18px;border-top:1px solid #e4ebe6}
@media(max-width:850px){.club-identity-section{grid-template-columns:1fr;gap:14px}}
@media(max-width:560px){.club-identity-grid{grid-template-columns:1fr}.club-field-wide{grid-column:auto}.club-map-card .member-map{height:250px}}

/* V15: jednotna identita prihlasenia a registracie */
.auth-card .auth-brand-centered{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;margin:0 auto 24px;width:100%}
.auth-card .auth-brand-centered img{display:block;width:min(240px,75%);height:150px;max-width:100%;object-fit:contain;object-position:center}
.auth-card .auth-brand-centered h1{font-size:27px;line-height:1.2;margin:0;color:#205b38;text-align:center}
.auth-card .auth-brand-placeholder{display:grid;place-items:center;font-size:64px;height:130px}
.auth-card .auth-page-heading{text-align:center;margin:0 0 12px;color:#205b38;font-size:22px}
@media(max-width:480px){.auth-card .auth-brand-centered img{height:125px;width:min(210px,80%)}.auth-card .auth-brand-centered h1{font-size:24px}}

/* Legal/GDPR rich text editor */
.legal-editor-block{margin:18px 0 26px}.legal-editor-block>label{display:block;margin-bottom:8px}.legal-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:9px;background:#f4f8f5;border:1px solid #d5e4da;border-radius:10px 10px 0 0}.legal-toolbar button{border:1px solid #d5e4da;border-radius:6px;background:#fff;color:#1c573b;padding:6px 10px;cursor:pointer}.legal-toolbar button:hover{background:#e3f1e7}.legal-rich-editor{min-height:210px;padding:18px;border:1px solid #d5e4da;border-top:0;border-radius:0 0 10px 10px;background:#fff;line-height:1.65;outline:none;overflow-wrap:anywhere}.legal-rich-editor:focus{border-color:#228452;box-shadow:0 0 0 2px #22845220}.legal-rich-editor h2,.legal-copy h2{margin:18px 0 10px;font-size:1.4em}.legal-rich-editor p,.legal-copy p{margin:0 0 12px}.legal-rich-editor ul,.legal-copy ul,.legal-rich-editor ol,.legal-copy ol{padding-left:25px}.legal-copy{white-space:normal}.legal-copy a{color:#176c42;text-decoration:underline}
/* AllStars concurrent events + drag target */
.week-day-column.as-drop-target{outline:3px solid #16854c;outline-offset:-3px;background-color:#e7f7ec}
.week-event[draggable="true"]{cursor:grab}
.week-event[draggable="true"]:active{cursor:grabbing}

/* Theme consistency: shared controls */
body[data-theme]:not([data-theme="allstars"]) .button:hover{background:var(--as-green-dark)}
body[data-theme]:not([data-theme="allstars"]) .member-tab.active{background:var(--as-green);color:white}
body[data-theme]:not([data-theme="allstars"]) .sidebar-bottom form button{background:var(--as-green);color:#fff}

/* Theme polish for the shared app. Preserve original AllStars palette. */
body[data-theme]:not([data-theme="allstars"]) .settings-nav a{color:var(--as-green-dark);border-color:var(--as-green-soft)}
body[data-theme]:not([data-theme="allstars"]) .settings-nav a.selected,
body[data-theme]:not([data-theme="allstars"]) .settings-nav a.active{background:var(--as-green);border-color:var(--as-green);color:#fff}
body[data-theme]:not([data-theme="allstars"]) .settings-nav a:hover:not(.selected):not(.active){background:var(--as-green-soft)}
body[data-theme]:not([data-theme="allstars"]) .theme-option:has(input:checked){border-color:var(--as-green)}
body[data-theme]:not([data-theme="allstars"]) .settings-links a,
body[data-theme]:not([data-theme="allstars"]) .account-profile,
body[data-theme]:not([data-theme="allstars"]) .member-table td a:not(.button),
body[data-theme]:not([data-theme="allstars"]) .table-wrap td a:not(.button){color:var(--as-green)}
body[data-theme]:not([data-theme="allstars"]) main .table-wrap td a:hover:not(.button),
body[data-theme]:not([data-theme="allstars"]) main .table-wrap .actions a:hover{color:var(--as-green-dark)!important}
body[data-theme]:not([data-theme="allstars"]) .member-tab.active{background:var(--as-green);border-color:var(--as-green);color:white}
body[data-theme]:not([data-theme="allstars"]) .settings-overview a:hover{border-color:var(--as-green)}
