/* Club palette: deep navigation blue, clear blue actions and light court surround. */
:root{
 --court-inside:#245f80;
 --court-inside-hover:#1b4a66;
 --court-outside:#85aabd;
 --on-outside:#16384d;
 --on-court:#ffffff;
 --on-court-muted:#e4f0f7;
 --court-highlight:#dce9ed;
 --blue-ink:#245f80;
 --paper:#f3f7fa;
 --white:#fff;
 --ink:#193749;
 --muted:#5a6f7e;
 --line:#dbe5ed;
 --surface-soft:#edf4f8;
 --surface-accent:#e4f0f7;
 --accent-border:#bdd5e4;
 --red:#a7343d;
 --amber:#8a5707;
 --green:#1d6651;
 --navigation:#173b53;
 --navigation-hover:#224a64;
 --navigation-line:#365a70;
 --navigation-text:#edf5fa;
 --navigation-muted:#bfdae9;
 --day-surface:#e8f1f7;
 --free-surface:#e8f2f9;
 --free-ink:#285d7b;
 --partial-surface:#fff2dc;
 --partial-ink:#835516;
 --radius:14px;
 font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:16px;line-height:1.5;background:var(--paper);font-synthesis:none
}
/* Pale selections in the workspace; the sign-in page keeps a blue court surround. */
body.is-authenticated{
 --court-outside:#dbeef7;
 --on-outside:#183e57;
}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:var(--blue-ink)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #2e759e;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:2rem;line-height:1.2;letter-spacing:-.05em}h2{font-size:1.2rem;letter-spacing:-.025em}h3{font-size:1rem}p+p{margin-top:1rem}small,.small{font-size:.875rem}.muted{color:var(--muted)}.eyebrow{font-size:.8rem;font-weight:750;text-transform:uppercase;letter-spacing:.13em}.skip-link{position:fixed;top:-80px;left:10px;z-index:1000;background:white;padding:12px}.skip-link:focus{top:10px}.loading{padding:4rem;text-align:center}.btn{border:1px solid var(--line);border-radius:8px;padding:.64rem 1rem;background:var(--white);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:.5rem;text-decoration:none;font-weight:650;line-height:1.3;font-size:.9rem;min-height:42px;white-space:normal}.btn:hover{background:var(--surface-soft)}.btn.primary{background:var(--court-inside);border-color:var(--court-inside);color:var(--on-court)}.btn.primary:hover{background:var(--court-inside-hover)}.btn.lime{background:var(--court-outside);color:var(--on-outside);border-color:var(--court-outside)}.btn.danger{color:var(--red);border-color:#e9c2c4}.btn.text{background:transparent;border-color:transparent;color:var(--muted)}.btn.small{padding:.45rem .7rem;min-height:36px}.icon{width:20px;height:20px;flex-shrink:0}.flex{display:flex;align-items:center;gap:.75rem}.spread{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:1rem}.notice{padding:1rem 1.2rem;background:var(--surface-accent);border:1px solid var(--accent-border);border-radius:10px;font-size:.9rem}.error{color:var(--red);font-size:.9rem;white-space:pre-wrap}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem}.panel-head{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:1.2rem}.empty{padding:3rem 1.5rem;text-align:center;border:1px dashed #bccbd4;border-radius:var(--radius);color:var(--muted);background:white}.empty h2{color:var(--ink);margin-bottom:.5rem}.empty .btn{margin-top:1.2rem}.tag{display:inline-flex;gap:.3rem;align-items:center;border-radius:5px;padding:.22rem .55rem;font-size:.8rem;font-weight:650;white-space:nowrap;background:var(--surface-soft);color:var(--muted)}.tag.open{background:var(--free-surface);color:var(--free-ink)}.tag.partial{background:var(--partial-surface);color:var(--partial-ink)}.tag.full{background:var(--surface-soft);color:var(--muted)}.tag.mine{background:var(--surface-accent);color:var(--blue-ink)}.tag.bad{background:#f9e4e6;color:var(--red)}.tag.super{background:var(--court-inside);color:var(--on-court)}
.replacement-note{display:grid;gap:.55rem;padding:.8rem;background:var(--partial-surface);color:var(--partial-ink);border:1px solid #eed9b8;border-radius:8px;font-size:.85rem}
.assigned-edition{font-size:.9rem;overflow-wrap:anywhere}
.replacement-note p{font-size:.8rem}
.replacement-banner{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1.2rem}
.report-notice{margin-bottom:1.5rem}
.information-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:1.2rem}
.practical-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.95rem}
.tracking-period{margin-bottom:1.5rem}
.tracking-period .form-actions{margin-top:0;align-self:end;justify-content:flex-start}
.tracking-period .error:empty{display:none}
.tracking-list{display:grid;gap:.8rem}
.tracking-list>div{display:flex;justify-content:space-between;align-items:center;gap:.8rem;border-bottom:1px solid var(--line);padding-bottom:.8rem}
.coverage-value{display:flex;align-items:center;gap:.7rem;white-space:nowrap}
.coverage-value meter{width:90px;height:12px;accent-color:var(--court-inside)}
/* Access */
.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.auth-brand{padding:2.5rem 3rem;background:var(--court-outside);color:var(--on-outside);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.75rem;min-height:100vh;position:relative;text-align:center}.auth-brand .brand-plate{width:430px;padding:10px 16px;flex-shrink:0}.auth-message{width:100%;max-width:600px}.brand-plate{background:transparent;padding:16px 20px;width:245px;max-width:100%}.brand-plate img{display:block;width:100%;height:auto}.auth-brand .auth-title{font-size:clamp(2.25rem,3.6vw,3.5rem);letter-spacing:-.055em;line-height:1.12;max-width:600px;font-weight:750;margin:0 auto}.court-lines{display:block;width:100%;max-width:420px;height:auto;margin:0 auto}.auth-content{padding:3rem;display:flex;justify-content:center;align-items:center}.auth-form{width:100%;max-width:410px}.auth-form h1{font-size:2rem;margin:.5rem 0}.auth-form>.muted{margin-bottom:1.5rem}.auth-tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:1.6rem}.auth-tabs button{flex:1;background:transparent;border:0;border-bottom:3px solid transparent;padding:.85rem;font-weight:650;color:var(--muted)}.auth-tabs button.active{border-color:var(--court-inside);color:var(--court-inside)}label.field{display:grid;gap:.4rem;font-size:.9rem;font-weight:600}input:not([type=checkbox]),select,textarea{width:100%;border:1px solid #becdd5;border-radius:8px;background:#fff;color:var(--ink);padding:.7rem .8rem;min-height:44px}textarea{min-height:90px;resize:vertical}input[type=checkbox]{width:19px;height:19px;accent-color:var(--court-inside);flex-shrink:0}.check{display:flex;align-items:flex-start;gap:.6rem;font-size:.9rem;font-weight:400}.check input{margin-top:3px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.full-width{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:.7rem;margin-top:1.4rem;flex-wrap:wrap}.form-help{font-size:.85rem;color:var(--muted);font-weight:400}.auth-form .form-actions .btn{width:100%}.privacy-note{margin-top:1.6rem;color:var(--muted);font-size:.8rem}

.auth-form .error:empty{display:none}
.auth-form .form-actions{margin-top:.5rem}
.auth-form #forgot{width:100%;margin-top:.6rem;font-size:.85rem}
.password-control{position:relative;display:block;min-width:0}
.password-control input{padding-right:6rem}
.password-control button{position:absolute;right:1px;top:1px;bottom:1px;min-width:5.5rem;border:0;border-radius:0 7px 7px 0;background:transparent;color:var(--court-inside);font-size:.82rem;font-weight:600;cursor:pointer}
.password-control button:hover{background:var(--surface-soft)}

/* Workspace */
.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navigation);color:var(--navigation-text);padding:1.5rem 1rem;position:sticky;top:0;min-height:100vh;min-height:100dvh;align-self:start;display:flex;flex-direction:column}.sidebar .brand-plate{width:100%;padding:12px 15px;flex-shrink:0}.sidebar nav{display:grid;align-content:start;gap:.3rem;flex-shrink:0}.nav-btn{border:0;border-radius:8px;background:transparent;color:inherit;display:flex;align-items:center;gap:.75rem;text-align:left;padding:.8rem .85rem;font-size:.9rem;font-weight:550;min-height:44px}.nav-btn:hover{background:var(--navigation-hover)}.nav-btn.active{background:var(--court-outside);color:var(--on-outside);font-weight:750}.nav-separator{height:1px;background:var(--navigation-line);margin:1rem .8rem}.side-bottom{margin-top:auto;padding-top:1.4rem;flex-shrink:0}.side-bottom .nav-btn{width:100%;margin-top:.3rem}.avatar{border-radius:50%;background:var(--surface-soft);color:var(--blue-ink);width:34px;height:34px;display:inline-flex;justify-content:center;align-items:center;font-size:.8rem;font-weight:750;flex-shrink:0}.sidebar .avatar{background:var(--court-outside);color:var(--on-outside)}.user-name{font-size:.875rem;font-weight:650;overflow-wrap:anywhere}.user-role{font-size:.75rem;color:var(--navigation-muted)}.content-shell{min-width:0}.topbar{padding:1.1rem 2.4rem;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:74px}.topbar .breadcrumb{font-size:.9rem;color:var(--muted)}.edition-select{font-weight:600}.main-content{padding:2.2rem 2.4rem 3rem;max-width:1600px;margin:auto}.page-title{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:1.6rem}.page-title p{margin-top:.5rem;font-size:.95rem;color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:1.5rem}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:1.1rem 1.2rem;text-align:left;color:var(--ink)}.stat.selected{outline:2px solid var(--court-inside);outline-offset:-2px}.stat .count{font-size:1.8rem;font-weight:750;line-height:1.1;margin-bottom:.35rem;letter-spacing:-.05em}.stat .caption{font-size:.85rem;color:var(--muted)}.stat.mine{background:var(--court-inside);color:var(--on-court);border-color:var(--court-inside)}.stat.mine .caption{color:var(--on-court-muted)}.planning-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1.2rem}.date-navigation{display:flex;align-items:center;gap:.75rem}.date-navigation strong{min-width:180px;text-align:center;font-size:.95rem}.segmented{display:flex;padding:4px;background:var(--surface-soft);border-radius:9px;gap:3px}.segmented .btn{background:transparent;border-color:transparent;padding:.45rem .8rem;min-height:34px;color:var(--muted)}.segmented .btn.active{background:white;box-shadow:0 1px 3px #00000012;color:var(--blue-ink)}.day-row{display:grid;grid-template-columns:135px minmax(0,1fr);background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:12px;overflow:hidden}.day-label{padding:1.3rem 1.15rem;background:var(--day-surface);border-right:1px solid var(--line)}.day-label .weekday{text-transform:uppercase;font-size:.77rem;letter-spacing:.08em;font-weight:750;color:var(--muted)}.day-label .date-number{font-size:2rem;font-weight:750;letter-spacing:-.05em;line-height:1.3}.day-label .month{font-size:.85rem;color:var(--muted)}.day-row.today .day-label{background:var(--court-outside);color:var(--on-outside)}.day-row.today .weekday,.day-row.today .month{color:var(--on-outside)}.slots-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1px;background:var(--line)}.slot{padding:1.15rem;background:white;min-width:0;display:flex;flex-direction:column;gap:.85rem}.slot.mine{background:#f2f8fc}.slot.ongoing{background:#e8f5ec;box-shadow:inset 0 4px 0 #4d9568}.slot.ended{background:#edf0f2;filter:grayscale(1)}.slot.cancelled{opacity:.65}.slot-time{font-size:1rem;font-weight:750;white-space:nowrap}.slot-head{display:flex;align-items:center;justify-content:space-between;gap:.3rem;flex-wrap:wrap}.volunteers{display:grid;gap:.6rem;margin-bottom:auto}.volunteer{display:flex;align-items:center;gap:.55rem;min-height:29px;font-size:.875rem;overflow-wrap:anywhere}.volunteer .avatar{width:27px;height:27px;font-size:.65rem}.vacancy{color:var(--muted);font-size:.875rem;display:flex;align-items:center;gap:.55rem;min-height:29px}.vacancy:before{content:'+';display:flex;align-items:center;justify-content:center;border:1px dashed var(--accent-border);border-radius:50%;width:27px;height:27px;color:var(--muted)}.slot .btn{width:100%}.slot-note{font-size:.8rem;color:var(--muted);border-left:2px solid var(--accent-border);padding-left:.6rem}.slot-actions{display:flex;flex-wrap:wrap;gap:.4rem}.slot-actions .btn{width:auto;flex:1}.legend{display:flex;gap:1rem;flex-wrap:wrap;color:var(--muted);font-size:.8rem;margin-top:1.4rem}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.9rem;text-align:left}th{color:var(--muted);font-size:.8rem;font-weight:650;border-bottom:1px solid var(--line);padding:.75rem .6rem;background:#f7f9fa}td{padding:1rem .6rem;border-bottom:1px solid var(--line);vertical-align:middle}tr:last-child td{border-bottom:0}td .small{overflow-wrap:anywhere}.right{text-align:right}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem}.rights-list{display:grid;gap:.8rem}.rights-list .check{padding:.75rem;border:1px solid var(--line);border-radius:8px}.days-picker{display:flex;gap:.7rem;flex-wrap:wrap}.days-picker label{display:flex;align-items:center;gap:.35rem;background:var(--paper);padding:.5rem;border-radius:7px;font-size:.85rem}.section-space{margin-top:1.4rem}.profile-locked{padding:.8rem;background:var(--paper);border-radius:8px;font-size:.875rem;overflow-wrap:anywhere}.inline-status{color:var(--muted);font-size:.85rem}.audit-detail{max-width:480px;overflow-wrap:anywhere;font-size:.8rem;color:var(--muted)}
.day-presets .btn[aria-pressed=true]{background:var(--court-inside);border-color:var(--court-inside);color:var(--on-court)}.cancellation-dates{margin:0;padding-left:1.2rem;max-height:220px;overflow:auto}.cancellation-dates li+li{margin-top:.4rem}
/* Clear emphasis for selected filters and the current day. */
.stat.selected:not(.mine){background:#f5faff}
.stat.selected:not(.mine) .count{color:var(--blue-ink)}
.stat.mine.selected{outline-color:#a2c9de}
.day-label .date-number{color:var(--blue-ink)}
.day-row.today .day-label{box-shadow:inset 4px 0 var(--court-inside)}
.day-row.today .date-number{color:var(--on-outside)}
.volunteer>span:nth-child(2){min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.volunteer .btn{width:auto;flex:0 0 auto;min-height:30px;padding:.25rem .45rem}.past-planning-days{margin-top:0;margin-bottom:1.2rem}
.past-planning-days{margin-top:1.2rem;border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden}.past-planning-days>summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.15rem;cursor:pointer;list-style:none;font-weight:700;color:var(--blue-ink);background:var(--surface-soft)}.past-planning-days>summary::-webkit-details-marker{display:none}.past-planning-days>summary strong{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:25px;margin-left:.35rem;padding:0 .4rem;border-radius:999px;background:white;border:1px solid var(--line);font-size:.78rem}.past-planning-toggle{font-size:.82rem;color:var(--muted)}.past-planning-days[open] .past-planning-toggle{font-size:0}.past-planning-days[open] .past-planning-toggle:after{content:'Masquer';font-size:.82rem}.past-planning-content{padding:12px}.past-planning-content .day-row:last-child{margin-bottom:0}
.btn.danger:hover{background:#fff2f1}

/* Settings hub and account access */
.profile-link{display:flex;align-items:center;gap:.65rem;width:100%;padding:.9rem .65rem;background:transparent;color:inherit;border:0;border-radius:8px;text-align:left}
.side-bottom{border-top:1px solid var(--navigation-line);padding-top:.5rem}
.profile-link:hover,.profile-link.active{background:var(--navigation-hover)}
.profile-identity{display:grid;gap:.2rem;min-width:0}
.profile-label{display:flex;align-items:center;gap:.25rem;font-size:.875rem;color:var(--navigation-muted)}
.profile-label .icon{width:14px;height:14px}
.mobile-menu-footer .profile-link{margin-bottom:.4rem}
.mobile-menu-footer .avatar{background:var(--court-outside);color:var(--on-outside)}
.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:1rem}
.settings-card{display:flex;align-items:center;gap:1rem;min-width:0;padding:1.4rem;border:1px solid var(--line);border-radius:var(--radius);background:white;color:var(--ink);text-align:left}
.settings-card:hover{border-color:var(--court-inside);background:#f3f7f9}
.settings-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;border-radius:10px;background:var(--court-outside);color:var(--on-outside)}
.settings-copy{display:grid;gap:.4rem;flex:1;min-width:0}
.settings-title{font-size:1.1rem;font-weight:700}
.settings-description{font-size:.9rem;color:var(--muted);line-height:1.5}
.settings-back{margin-bottom:1.2rem}
@media(min-width:761px) and (max-height:700px){.sidebar{position:static}}

/* Mobile navigation */
/* The native picker overlays a wrapping label so long edition names stay readable. */
.topbar{flex-wrap:wrap}
.topbar .breadcrumb{min-width:0;overflow-wrap:anywhere}
.edition-control{display:flex;align-items:center;gap:.7rem;max-width:100%;min-width:0;margin-left:auto}
.edition-control>.small{flex-shrink:0}
.edition-picker{position:relative;display:inline-block;min-width:0;max-width:100%;border:1px solid #becdd5;border-radius:8px;background:white;font-weight:600}
.edition-selected{display:block;padding:.65rem 2.25rem .65rem .9rem;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.edition-picker select.edition-select{position:absolute;inset:0;width:100%;height:100%;min-height:44px;max-width:none;opacity:0;cursor:pointer;font-size:1rem}
.edition-picker-arrow{position:absolute;right:.65rem;top:50%;transform:translateY(-50%) rotate(90deg);display:flex;pointer-events:none}
.edition-picker:hover{border-color:var(--court-inside)}
.edition-picker:focus-within{outline:3px solid var(--court-outside);outline-offset:2px}
@media(max-width:760px){.edition-control{width:100%}.edition-picker{flex:1}}
.mobile-header{display:none}
dialog.mobile-navigation{inset:0 auto 0 0;margin:0;width:min(340px,calc(100% - 48px));max-width:none;height:100vh;height:100dvh;max-height:none;border:0;border-radius:0;padding:0;background:var(--navigation);color:var(--navigation-text);overflow:hidden}
dialog.mobile-navigation[open]{display:flex;flex-direction:column}
.mobile-menu-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:calc(1rem + env(safe-area-inset-top)) 1rem 1rem;flex-shrink:0;border-bottom:1px solid var(--navigation-line)}
.mobile-menu-head h2{color:var(--on-court);font-size:1.25rem}
.btn.mobile-menu-button{background:transparent;color:var(--on-court);border-color:#a1b4bf;min-height:44px;min-width:44px}
.btn.mobile-menu-button:hover{background:#ffffff12}
#mobile-menu-close{padding:.35rem .7rem;font-size:1.8rem;line-height:1}
.mobile-navigation nav{display:grid;align-content:start;gap:.3rem;padding:1rem;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.mobile-menu-footer{padding:1rem 1rem calc(1rem + env(safe-area-inset-bottom));border-top:1px solid var(--navigation-line);flex-shrink:0}
.mobile-menu-footer .nav-btn{width:100%}
/* Dialogs and feedback */
dialog{border:1px solid var(--line);border-radius:16px;padding:0;width:min(600px,calc(100% - 28px));max-height:90vh;box-shadow:0 24px 100px #0003;color:var(--ink)}dialog::backdrop{background:#23344080;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid var(--line)}.dialog-body{padding:1.5rem}.dialog-head h2{font-size:1.3rem}.close-dialog{border:0;background:transparent;font-size:1.8rem;color:var(--muted);line-height:1;padding:.4rem}#toast{position:fixed;bottom:24px;right:24px;max-width:min(500px,calc(100vw - 48px));padding:1rem 1.2rem;border-radius:10px;background:var(--court-inside);color:var(--on-court);box-shadow:0 6px 25px #0002;display:none;z-index:100}#toast.visible{display:block}#toast.failed{background:#842c35;color:white}#print-area{display:none}
@media(min-width:1650px){.main-content{padding-top:2.8rem}.slots-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}}
@media(max-width:1100px){.shell{grid-template-columns:210px minmax(0,1fr)}.main-content{padding:1.5rem}.topbar{padding:1rem 1.5rem}.two-columns{grid-template-columns:1fr}.day-row{grid-template-columns:105px minmax(0,1fr)}.day-label{padding:1rem .8rem}.stats{gap:.6rem}.stat{padding:1rem}.auth-brand{padding:2.5rem}.auth-content{padding:2rem}.slots-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}}
@media(max-width:760px){.auth-shell{grid-template-columns:1fr}.auth-brand{min-height:auto;padding:1.5rem;gap:1.25rem}.auth-brand .brand-plate{width:240px;padding:0}.auth-brand .auth-title{font-size:1.8rem;margin:0 auto}.court-lines{display:block;width:180px;max-width:100%}.auth-content{padding:2rem 1.3rem}.shell{display:block}.sidebar{display:none}.mobile-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:calc(.65rem + env(safe-area-inset-top)) 1rem .65rem;background:var(--navigation);position:sticky;top:0;z-index:20}body.mobile-nav-open{overflow:hidden}.mobile-header .brand-plate{width:145px;padding:6px 12px}.side-bottom,.nav-separator{display:none}.mobile-navigation .nav-btn{white-space:normal;padding:.75rem .85rem;font-size:.95rem;min-height:48px}.mobile-navigation .nav-btn .icon{width:20px;height:20px}.topbar{padding:.7rem 1rem;min-height:58px}.topbar .breadcrumb{display:none}.main-content{padding:1.3rem 1rem 2rem}h1{font-size:1.7rem}.page-title{margin-bottom:1.3rem;flex-wrap:wrap}.stats{grid-template-columns:repeat(2,1fr);gap:.65rem}.stat{padding:.8rem 1rem}.stat .count{font-size:1.5rem}.planning-toolbar{gap:.8rem}.date-navigation{width:100%;justify-content:space-between}.date-navigation strong{min-width:0}.day-row{display:block}.day-label{padding:.65rem 1rem;display:flex;align-items:baseline;gap:.5rem;border-right:0;border-bottom:1px solid var(--line)}.day-label .date-number{font-size:1.3rem}.slots-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.slot{padding:1rem}.panel{padding:1rem}.panel-head{align-items:flex-start;flex-wrap:wrap}.form-grid{grid-template-columns:1fr}.full-width{grid-column:auto}.dialog-body{padding:1.2rem}.dialog-head{padding:1rem 1.2rem}.two-columns{gap:1rem}.days-picker{gap:.4rem}.auth-form h1{font-size:1.6rem}#toast{bottom:15px;right:15px;max-width:calc(100vw - 30px)}}

@media(min-width:761px) and (max-height:800px){
 .auth-brand{padding:2rem;gap:1.25rem}
 .auth-brand .brand-plate{width:360px;padding:8px 12px}
 .auth-brand .auth-title{font-size:clamp(2.1rem,3.4vw,3rem)}
 .court-lines{width:320px}
}
@media(max-width:760px){
 .auth-brand{padding:1.4rem 1.25rem;gap:1rem}
 .auth-content{padding:1.5rem 1.25rem}
}

@media print{
 body{background:white;color:black}
 #app,dialog,#toast,.skip-link{display:none!important}
 #print-area{display:block;font-family:Arial,sans-serif;font-size:12px;color:black}
 .print-week{break-after:page}
 .print-week:last-child{break-after:auto}
 #print-area .print-week h1{border:2px solid black;text-align:center;font-size:18px;letter-spacing:0;margin:0 0 6mm;padding:1mm;font-weight:700}
 #print-area .print-schedule{border-collapse:collapse;table-layout:fixed;width:100%;margin:0 0 6mm;break-inside:avoid;font-size:12px}
 #print-area .print-schedule th,#print-area .print-schedule td{border:1px solid black;height:6.5mm;padding:1mm 1.5mm;text-align:center;vertical-align:middle;overflow-wrap:anywhere}
 #print-area .print-schedule thead th{background:white;color:black;border-top:2px solid black;border-bottom:2px solid black;font-size:13px;font-weight:700}
 #print-area .print-schedule .print-corner,#print-area .print-schedule .print-spacer{border:0!important;background:transparent}
 #print-area .print-schedule .print-day,#print-area .print-schedule .print-date{background:#984900;color:white;font-size:13px;font-weight:700;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 #print-area .print-day{border-left:2px solid black!important}
 #print-area .print-date{border-right:2px solid black!important}
 #print-area .print-schedule .print-slot-last{border-right:2px solid black}
 #print-area .print-schedule tbody tr:first-child th{border-top:2px solid black}
 #print-area .print-schedule tbody tr:last-child td,#print-area .print-schedule tbody tr:nth-last-child(2) th{border-bottom:2px solid black}
 #print-area .print-schedule thead th:nth-child(2){border-left:2px solid black}
 #print-area .print-schedule tr{break-inside:avoid}
 #print-area .print-notes{font-size:10px;line-height:1.4;margin-top:2mm}
 #print-area .print-notes p+p{margin-top:1mm}
 @page{size:A4 landscape;margin:12mm}
}

/* Keep keyboard focus visible on both court colors. */
.sales-table-wrap{overflow-x:auto;max-width:100%;border:1px solid var(--line);border-radius:12px;background:white}
.sales-table{width:100%;border-collapse:collapse;font-size:.9rem;text-align:left}
.sales-table th,.sales-table td{padding:.85rem 1rem;border-bottom:1px solid var(--line);vertical-align:middle}
.sales-table thead{background:var(--surface-soft)}.sales-table tbody tr:last-child>*{border-bottom:0}
.sales-table td{font-variant-numeric:tabular-nums}.sales-table input{min-width:85px;max-width:120px}.sales-table .field{font-size:.75rem}
.sales-stats .count{font-size:1.7rem;overflow-wrap:anywhere}.sales-fields{border:0;padding:0;margin:0;min-width:0}
.sales-stock-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:1rem}
.sales-stock{background:var(--surface-soft)}.sales-extra{display:grid;gap:1rem;background:var(--surface-soft)}
.sales-extra>.btn{justify-self:start}.sales-pos{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:1.4rem;align-items:start}
.pos-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:.8rem}
.pos-product{background:white;border:1px solid var(--accent-border);border-radius:12px;padding:1rem;min-height:112px;display:grid;gap:.5rem;color:var(--ink);text-align:center}
.pos-product:hover{background:var(--surface-accent);border-color:var(--court-inside)}.pos-product span{color:var(--blue-ink);font-weight:700}
.pos-basket{position:sticky;top:1rem}.pos-cart-line{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.7rem 0;border-bottom:1px solid var(--line)}
.pos-total{display:flex;justify-content:space-between;gap:1rem;font-size:1.6rem;padding:1rem 0;border-top:2px solid var(--line)}
.sales-pos [hidden]{display:none!important}.sales-fields details summary{cursor:pointer;min-height:44px;padding:.7rem 0}
.product-image,.product-placeholder{display:block;width:var(--product-image-size,80px);height:var(--product-image-size,80px);flex:0 0 auto;object-fit:contain;object-position:center;background:white;border-radius:8px}.product-placeholder{display:grid;place-items:center;color:var(--muted)}.product-placeholder .icon{width:40%;height:40%}
.image-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;max-height:320px;overflow-y:auto;margin:.75rem 0}.image-choice{display:grid;grid-template-rows:80px auto;justify-items:center;align-content:start;gap:.4rem;padding:.6rem;min-width:0;border:1px solid var(--line);border-radius:8px;background:white;font-size:.8rem;color:var(--ink);overflow-wrap:anywhere}
.image-bank-item{display:grid;grid-template-rows:1fr auto;min-width:0;border:1px solid var(--line);border-radius:8px;background:white;overflow:hidden}.image-bank-item .image-choice{width:100%;border:0;border-radius:0}.image-bank-delete{min-height:44px;width:100%;border-top:1px solid var(--line);border-radius:0}
.image-choice:hover{border-color:var(--court-inside)}.sales-image-chooser summary{cursor:pointer;padding:.6rem 0}
#product-image-preview{--product-image-size:96px;display:flex;align-items:center;gap:1rem}#product-image-preview>p{min-width:0;overflow-wrap:anywhere}
#pos-mobile-basket{display:none}.sales-table .field:has(input[type=number]){font-size:0;gap:0}.sales-table .field input[type=number]{font-size:1rem}
@media(max-width:1100px){.sales-pos{grid-template-columns:1fr}.pos-basket{position:static}}
@media(max-width:760px){.sales-table th,.sales-table td{padding:.7rem}.sales-stats .count{font-size:1.2rem}.pos-products{grid-template-columns:repeat(2,minmax(0,1fr))}#pos-mobile-basket{display:flex;position:fixed;bottom:calc(.7rem + env(safe-area-inset-bottom));left:1rem;right:1rem;z-index:15;box-shadow:0 4px 16px #173b5340}.sales-pos{padding-bottom:2.5rem}#pos-basket{scroll-margin-top:95px}}
.sidebar button:focus-visible,.mobile-navigation button:focus-visible,.mobile-header button:focus-visible{outline-color:var(--on-court)}
/* Daily register: compact product grid beside the current sale. */
[hidden]{display:none!important}
.cash-admin-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0 28px}
.cash-tabs{display:flex;gap:1.25rem;align-items:stretch;max-width:100%;overflow-x:auto;border-bottom:1px solid var(--line);margin:0 0 18px;overscroll-behavior-x:contain}.cash-tab{appearance:none;flex:0 0 auto;min-height:48px;padding:.8rem .25rem;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--muted);font:inherit;font-size:.9rem;font-weight:700;white-space:nowrap;cursor:pointer}.cash-tab[aria-selected=true]{border-bottom-color:var(--court-inside);color:var(--court-inside)}.cash-tab:focus-visible{outline:3px solid #83b7cc;outline-offset:-3px}
.cash-opening{max-width:650px;margin:36px auto}.cash-opening-amount{font-size:2.5rem}.cash-opening-status{font-size:.8rem;color:var(--muted);margin:0 0 12px}.cash-opening-status summary{cursor:pointer;width:fit-content;padding:5px 0}.cash-opening-status p{padding:6px 0}
.cash-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,330px);gap:16px;height:max(430px,var(--cash-available,calc(100dvh - 235px)))}.cash-products-panel{min-width:0;min-height:0;grid-template-rows:auto minmax(0,1fr);height:100%;padding:14px;gap:12px}.cash-product-grid{overflow:auto;align-content:start;padding:2px;scrollbar-width:thin}.cash-product-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.cash-product-toolbar .field{margin:0;flex:1;max-width:440px}.cash-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:10px}
.cash-product-grid .pos-product{position:relative;min-height:150px;height:100%;padding:10px 7px;gap:5px;touch-action:manipulation;border-radius:12px;display:flex;flex-direction:column;align-items:center}.cash-product-grid .pos-product>span:not(.cash-product-count):not(.product-placeholder){margin-top:auto}
.cash-product-grid{--product-image-size:68px}
.cash-product-grid .pos-product strong{font-size:.85rem;line-height:1.25;overflow-wrap:anywhere}.cash-product-grid .pos-product:active{transform:scale(.98)}
.cash-product-grid .cash-product-count{position:absolute;top:8px;right:8px;border-radius:50%;min-width:27px;height:27px;display:grid;place-items:center;background:#173b53;color:white;font-weight:800}
.cash-basket{display:flex;flex-direction:column;min-width:0;min-height:0;box-shadow:0 5px 30px #173b531a;border:1px solid #b7cad5;padding:16px}
.cash-basket-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.cash-basket-head h2{font-size:1.1rem;margin:0}
.cash-cart-lines{display:flex;flex-direction:column;gap:8px;margin:12px 0;min-height:50px;flex:1;overflow:auto}
.cash-cart-item{display:flex;align-items:center;justify-content:space-between;gap:8px;border-radius:9px;background:#edf3f6;padding:8px;flex-wrap:wrap}.cash-cart-item>span{min-width:0;overflow-wrap:anywhere;font-size:.85rem}.cash-quantity{margin-left:auto;flex-shrink:0}
.cash-cart-item small{display:block;color:#526b7b}.cash-quantity{display:flex;align-items:center;gap:6px}.cash-quantity button{border:0;background:#fff;color:#173b53;border-radius:7px;min-width:36px;min-height:38px;font-size:1.3rem;cursor:pointer}
.cash-checkout{display:flex;flex-direction:column;align-items:stretch;gap:10px;border-top:1px solid #dce6eb;padding-top:14px}.cash-total{display:flex;flex-direction:column;margin-right:auto;min-width:160px}.cash-total span{font-size:.85rem;color:#526b7b}.cash-total strong{font-size:2.2rem;line-height:1.25;font-variant-numeric:tabular-nums;white-space:nowrap}
.cash-pay-actions{display:flex;flex-wrap:wrap;gap:10px}.cash-pay-actions .btn{flex:1;min-width:0;min-height:50px;padding:10px;font-size:.9rem}.cash-pay-actions .cash-credit-button{flex-basis:100%;min-height:44px}
.cash-debt-toolbar,.cash-debt-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.cash-debt-toolbar form{align-items:flex-end;flex-wrap:wrap}.cash-debt-toolbar .tab-bar{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line)}.cash-debt-toolbar .tab{border:0;border-bottom:3px solid transparent;background:transparent;padding:12px 8px;color:var(--muted);font:inherit;font-weight:700;cursor:pointer}.cash-debt-toolbar .tab.active{border-bottom-color:var(--blue-ink);color:var(--blue-ink)}.cash-debt-card{max-width:1000px}.cash-debt-card h2{font-size:1.15rem;overflow-wrap:anywhere}.cash-debt-card p{margin:10px 0 0;overflow-wrap:anywhere}.cash-debt-card details{font-size:.95rem}.cash-debt-card summary{cursor:pointer}.cash-debt-remaining{font-size:1.1rem;color:var(--blue-ink)}.cash-debt-total{font-size:1.2rem}.cash-debt-toolbar .field{min-width:0}#debt-person{width:100%;min-width:0}.finance-report-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.finance-report-choice{padding:12px;border:1px solid var(--line);border-radius:10px;background:#f8fbfc}.finance-report-choice span{display:grid;gap:3px}.finance-report-choice small{color:var(--muted);font-weight:400;line-height:1.35}@media(max-width:760px){.finance-report-sections{grid-template-columns:1fr}}
@media(max-width:600px){.cash-debt-toolbar,.cash-debt-toolbar form{width:100%}.cash-debt-toolbar .field{flex:1}.cash-debt-head{align-items:flex-start;flex-direction:column;gap:8px}.cash-debt-card .form-actions .btn{width:100%}}
.cash-note-label{font-size:.8rem;margin-top:2px}.cash-notes{display:flex;gap:8px}.cash-notes .btn{flex:1;min-width:0;min-height:44px;padding:8px}.cash-notes .btn[aria-pressed="true"]{border-color:#245f80;background:#e2f0f7;color:#173b53;box-shadow:inset 0 0 0 1px #245f80}.cash-change{font-size:1.05rem;font-variant-numeric:tabular-nums}.cash-change:empty{display:none}
.cash-errors{color:#a32437}.cash-errors [data-tone="neutral"]{color:var(--blue-ink)}.cash-errors p:empty{display:none}.cash-errors .btn{margin:8px 8px 0 0}.cash-ticket{display:flex;align-items:center;justify-content:space-between;gap:20px}.cash-ticket p{margin:8px 0 0}.cash-ticket-void{background:#f7f9fa;color:#5d6c75}.cash-ticket-void strong{text-decoration:line-through}
.cash-edit-row{display:grid;grid-template-columns:1fr 100px;gap:16px;align-items:center;margin-bottom:10px}.cash-edit-row .field{margin:0}.cash-edit-row small{color:#526b7b}
#cash-jump-basket{display:none}
body.cash-screen #toast{bottom:12px;top:auto;pointer-events:none;padding:10px 16px;font-size:.85rem}

.cash-screen .main-content{max-width:none;padding:16px 20px 12px}
.cash-page-heading{display:flex;align-items:center;gap:16px;min-width:0}
.cash-page-heading h1{font-size:1.4rem;line-height:1.15;margin:0}
.cash-page-heading p{font-size:.8rem;color:var(--muted);margin-top:4px}
.cash-edition-name{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-size:.8rem;max-width:45%;overflow-wrap:anywhere}
.cash-edition-name .demo-label{background:#fff1d4;color:#725010}
.cash-products-empty{grid-column:1/-1;line-height:1.6}
.cash-workspace~.section-space{font-size:.7rem;margin-top:8px;display:inline}
.cash-workspace~a{font-size:.7rem;margin-left:8px}
.cash-screen .topbar{padding:12px 20px}
@media(min-width:900px) and (max-width:1200px){
 .cash-workspace{grid-template-columns:minmax(0,1fr) 300px;gap:12px}
 .cash-product-grid{grid-template-columns:repeat(auto-fill,minmax(95px,1fr));gap:7px}
 .cash-product-grid .pos-product{min-height:132px;padding:8px 5px}
 .cash-product-grid{--product-image-size:52px}
 .cash-product-grid .pos-product strong{font-size:.8rem}
}
@media(max-width:899px){
 .cash-workspace{grid-template-columns:1fr;height:auto}
 .cash-products-panel{height:auto;grid-template-rows:auto auto}
 .cash-product-grid{overflow:visible;grid-template-columns:repeat(auto-fill,minmax(115px,1fr))}
 .cash-cart-lines{max-height:250px;min-height:70px;flex:auto}
 .cash-basket{min-height:250px}
 .cash-checkout{display:flex;flex-direction:column;align-items:stretch}
 
 #cash-jump-basket{display:flex;position:fixed;bottom:calc(10px + env(safe-area-inset-bottom));left:16px;right:16px;z-index:12;box-shadow:0 4px 20px #173b5333}
 .cash-workspace{padding-bottom:10px}
}
@media(max-width:600px){
 .cash-screen .main-content{padding:12px}
 .cash-screen .topbar{padding:10px 12px;gap:8px}
 .cash-page-heading{gap:8px}.cash-page-heading h1{font-size:1.15rem}.cash-page-heading p{font-size:.75rem}
 .cash-header-back{padding:8px;min-width:42px}.cash-header-back span{display:none}
 .cash-edition-name{max-width:100%;align-items:flex-start;font-size:.7rem}
 .cash-admin-intro{align-items:stretch;flex-direction:column}
 .cash-tabs{gap:.75rem}.cash-tab{min-height:44px;padding:.65rem .15rem;font-size:.8rem}
 .cash-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .cash-products-panel{padding:10px}.cash-product-grid .pos-product{min-height:137px;padding:8px 5px}
 .cash-product-grid{--product-image-size:56px}
 .cash-product-grid .pos-product strong,.cash-product-grid .pos-product>span{font-size:.8rem}
 .cash-product-toolbar{gap:10px}.cash-product-toolbar .field{font-size:.8rem}.cash-product-toolbar input{padding:10px;min-width:0}
 .cash-basket{padding:14px}.cash-total{min-width:100px}.cash-total strong{font-size:1.9rem}
 .cash-pay-actions .btn{min-height:48px;font-size:.85rem}.cash-ticket{align-items:flex-start;flex-direction:column}
 .cash-opening{margin:20px 0}.cash-cart-item{flex-wrap:nowrap}.cash-quantity button{min-width:34px}
}

.cash-history-table .sales-table{min-width:720px}
.cash-history-table th:not(:first-child):not(:last-child){text-align:right}
.cash-history-table tbody th{background:white;color:var(--ink);font-size:.9rem;font-weight:600}
.cash-history-table td{white-space:nowrap}
.cash-history-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.cash-count-row{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}.cash-count-row .field{width:calc(10ch + 28px);flex:0 0 auto}.cash-count-row input{width:100%;min-width:0}.cash-count-row input,.cash-count-row .btn{height:44px;min-height:44px}
.cash-history-layout>section{min-width:0}.cash-product-summary{position:sticky;top:16px}
.cash-history-layout .cash-ticket{align-items:flex-start;flex-wrap:wrap;gap:12px}
.cash-product-summary td:not(:first-child){white-space:nowrap}.cash-summary-total>*{font-weight:750;border-top:2px solid var(--line);background:var(--surface-soft)}
@media(max-width:899px){.cash-history-layout{grid-template-columns:1fr}.cash-product-summary{position:static}}

.cash-product-toolbar>#pos-other,.cash-product-toolbar>#cash-perk{margin-left:auto}.cash-product-toolbar>#cash-perk+#pos-other{margin-left:0}

.notification-recipients,.notification-thresholds{border:1px solid var(--line);border-radius:8px;padding:12px;min-width:0}.notification-recipients>.stack{max-height:240px;overflow:auto}.notification-recipients span{overflow-wrap:anywhere;min-width:0}.cash-mail-preview{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:.9rem}

/* Committee minutes belong to the club, outside the Open selector. */
.meeting-search{display:flex;gap:1rem;align-items:end;flex-wrap:wrap}
.meeting-search .field{flex:1;max-width:520px;min-width:min(100%,240px)}
.meeting-list{display:grid;gap:1rem}
.meeting-card{display:flex;align-items:center;gap:1rem;text-align:left;color:var(--ink);width:100%;cursor:pointer}
.meeting-card>div{flex:1;min-width:0}.meeting-card h2{margin:.4rem 0;overflow-wrap:anywhere}.meeting-card p{margin:0}
.meeting-card:hover{border-color:var(--court-inside);background:var(--surface-soft)}
.meeting-card .tag,.meeting-card>.icon{flex-shrink:0}
.meeting-document{max-width:1100px}.meeting-document .flex{overflow-wrap:anywhere}
.meeting-section{margin-top:2rem}.meeting-section h2{margin-bottom:.75rem}
#meeting-form textarea{resize:vertical;min-height:100px}
#meeting-merge-form fieldset{min-width:0;padding:1rem;border:1px solid var(--line);border-radius:8px}
@media(max-width:760px){.meeting-card{flex-wrap:wrap;padding:1rem}.meeting-card>div{flex-basis:100%}.meeting-search button{width:100%}}
@page committee{size:A4 portrait;margin:18mm}
@media print{
 .committee-print{page:committee;font-size:11pt;line-height:1.5}
 .committee-print h1{font-size:22pt;margin:4mm 0}.committee-print h2{font-size:14pt;break-after:avoid}
 .committee-print .meeting-section{margin-top:7mm}.committee-print .practical-text{white-space:pre-wrap;overflow-wrap:anywhere;orphans:3;widows:3}
 .committee-print .meeting-print-credit{font-size:9pt;margin-top:8mm;color:#555}
}

.article-list{display:grid;gap:14px;margin-top:24px}.article-row{display:grid;grid-template-columns:minmax(190px,1.35fr) 100px minmax(170px,1fr) minmax(220px,1.3fr);gap:22px;align-items:center;background:var(--surface,#fff);border:1px solid var(--line);border-radius:14px;padding:20px}.article-row>div{min-width:0}.article-identity{--product-image-size:64px;display:flex;align-items:center;gap:16px}.article-identity>div{min-width:0;flex:1}.article-identity h2{font-size:1.08rem;margin:0 0 8px;overflow-wrap:anywhere}.article-identity small,.article-quantity small{display:block;margin-top:6px;overflow-wrap:anywhere}.article-price,.article-quantity{display:flex;flex-direction:column;gap:5px}.article-quantity strong{font-size:1.2rem}.article-additions,.article-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.article-actions{margin-top:8px}.article-additions .btn{min-width:46px}.article-actions .btn{padding:7px 4px}.article-controls .small{font-size:.82rem}
@media(max-width:1200px){.article-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.article-price{text-align:right}.article-controls{justify-self:end}}
@media(max-width:550px){.article-row{padding:16px;gap:16px;grid-template-columns:minmax(0,1fr) auto}.article-quantity,.article-controls{grid-column:1/-1;justify-self:stretch}.article-actions{justify-content:space-between}.article-identity{--product-image-size:48px;gap:10px}.image-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.article-price{max-width:85px}}

/* Meeting invitations and attendance. */
.meeting-invitation .panel-head{flex-wrap:wrap;gap:12px}.meeting-invitation .tag{white-space:normal}.meeting-participants{min-width:0;border:1px solid var(--line);border-radius:10px;padding:16px}.meeting-participants legend{font-weight:700;padding:0 6px}.meeting-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:8px 16px;margin-top:14px}.meeting-people .check{align-items:center;min-height:44px;overflow-wrap:anywhere}.meeting-people input{flex-shrink:0}.meeting-email,.meeting-recipients{overflow-wrap:anywhere}.meeting-recipients{padding-left:20px}.meeting-recipients li{margin:8px 0}#invitation-form textarea{resize:vertical;min-height:180px}


.club-house-brand{--club-house-accent:#e2ee87;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff}
.club-house-name{font-size:25px;font-weight:850;font-style:italic;line-height:1.1;letter-spacing:-.045em;white-space:nowrap}
.club-house-name em{font-style:inherit;color:var(--club-house-accent)}
.brand-signature-trigger{display:inline-flex;border:0;padding:0;margin:0;background:transparent;color:inherit;user-select:none}
.brand-signature-trigger:focus-visible{outline-color:#e2ee87;border-radius:4px}
.event-surprise-trigger{border:0;padding:0;min-height:44px;background:transparent;text-align:left}
.event-surprise-trigger,.dashboard-surprise-trigger{touch-action:manipulation;user-select:none}
dialog:has(.event-surprise){width:min(360px,calc(100% - 28px))}
.event-surprise{padding:16px;border-radius:12px;background:radial-gradient(circle at 50% 40%,var(--court-inside),var(--navigation));color:#fff;text-align:center;animation:event-surprise-appear .24s ease-out}
.event-surprise img{display:block;width:220px;max-width:100%;height:auto;max-height:60vh;object-fit:contain;margin:0 auto}
.event-surprise p{margin:16px 0 0;font-size:.9rem}
.dashboard-surprise-trigger{font:inherit;color:inherit;border:0;padding:0;min-height:44px;background:transparent;text-align:left}
dialog:has(.dashboard-surprise){width:min(760px,calc(100% - 28px))}
.dashboard-surprise{padding:0;background:var(--navigation);overflow:hidden}
.dashboard-surprise img{width:100%;max-height:65vh;object-fit:contain}
@keyframes event-surprise-appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.event-surprise{animation:none}}
.developer-signature{padding:30px 20px;border-radius:12px;background:var(--navigation);text-align:center;color:#fff}
.developer-signature>.eyebrow{color:var(--navigation-muted);font-size:.72rem;margin-bottom:18px}
.developer-signature .club-house-name{font-size:42px}
.developer-signature-line{display:block;width:44px;height:3px;margin:22px auto;background:#e2ee87}
.developer-signature-intro{font-size:.9rem;color:var(--navigation-muted)}
.developer-signature .developer-signature-author{margin-top:5px;font-size:clamp(1.5rem,5vw,2rem);font-weight:750;letter-spacing:-.035em}
.developer-signature .developer-signature-club{margin-top:8px;font-size:.85rem;color:var(--navigation-muted)}
.developer-signature .developer-signature-secret{margin-top:28px;font-size:.75rem;color:var(--navigation-muted)}
@media(forced-colors:active){.developer-signature{border:1px solid CanvasText}.developer-signature-line{background:CanvasText}}

.sidebar{padding-top:6px}
.sidebar .brand-plate{padding:0 15px}
.sidebar .club-house-brand{position:relative;margin:0 .4rem 8px;padding-bottom:6px}
.sidebar .club-house-brand::after{content:'';position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:38px;height:2px;background:var(--club-house-accent)}
.mobile-menu-head .club-house-brand{justify-content:flex-start;gap:10px;margin:0}
.mobile-menu-head .club-house-name{font-size:26px}
@media(forced-colors:active){.club-house-brand,.club-house-name em{color:CanvasText}.sidebar .club-house-brand::after{background:CanvasText}}

.information-editor{border:0;padding:0;margin:0;min-width:0}
.page-tools:has([form="information-form"]) .page-description{font-size:.8rem;max-width:none}
#information-form>.error:empty,#information-order-status:empty{display:none}
.information-grid{align-items:start;grid-template-columns:repeat(2,minmax(0,1fr))}
.information-card{min-width:0;display:grid;gap:1rem}
.information-card h2{overflow-wrap:anywhere;margin:0}
.information-card .section-space{margin-top:0}
.information-card-tools{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.information-card-tools>.flex{margin-left:auto}
.information-handle{cursor:grab;font-size:1.3rem}
.information-handle:active{cursor:grabbing}
.information-drop-target{outline:3px solid var(--primary,#246482);outline-offset:3px}
.information-comparison{display:grid;gap:.7rem}
.information-comparison .panel{padding:1rem}
@media(max-width:1100px){.information-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.information-card-tools>.flex{gap:.25rem}}

dialog:has(#user-edit-form){width:min(680px,calc(100% - 24px))}
dialog:has(#user-edit-form) .dialog-head{padding:.85rem 1.2rem}
dialog:has(#user-edit-form) .dialog-body{padding:1rem 1.2rem}
.user-account-editor{gap:.75rem}
.user-account-editor .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.user-account-editor input:not([type=checkbox]),.user-account-editor select{min-width:0;min-height:40px;padding:.5rem .65rem}
.user-account-editor .profile-locked{padding:.6rem .75rem;overflow-wrap:anywhere;margin:0}
.user-account-committee,.user-account-edition{display:grid;gap:.4rem}
.user-account-editor .form-help{font-size:.8rem;line-height:1.4;margin:0}
.user-account-editor>.error:empty{display:none}
.user-account-actions{display:grid;grid-template-columns:1.15fr .8fr 1fr;gap:.5rem;margin-top:.25rem}
.user-account-actions .btn{min-width:0;padding:.55rem .65rem;font-size:.85rem}


.settings-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;align-items:start;max-width:1200px}
.settings-category{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--white,#fff)}
.settings-category-heading{display:flex;align-items:center;gap:.7rem;padding:1rem 1.25rem;background:#eaf3f8;border-bottom:1px solid var(--line)}
.settings-category-heading h2{font-size:1.05rem;line-height:1.35;margin:0}
.settings-category-icon{display:flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;color:var(--ink)}
.settings-links{padding:0 1.25rem}
.settings-link{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;min-height:52px;padding:.85rem .25rem;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--ink);font:inherit;font-size:.95rem;font-weight:550;text-align:left;cursor:pointer}
.settings-link:last-child{border-bottom:0}
.settings-link>span:first-child{min-width:0;overflow-wrap:anywhere}
.settings-link-arrow{display:flex;flex:0 0 18px;align-items:center;justify-content:center;color:var(--muted)}
.settings-link-arrow svg{width:16px;height:16px}
.settings-link:hover{background:#f4f8fa;color:var(--court-inside)}
.settings-link:focus-visible{outline:2px solid var(--court-inside);outline-offset:-2px;border-radius:4px}
@media(max-width:900px){.settings-categories{grid-template-columns:1fr}}
@media(max-width:480px){.settings-category-heading{padding:.85rem 1rem}.settings-links{padding:0 1rem}}


.topbar,.cash-screen .topbar{padding:1.1rem 2.4rem;gap:1rem;min-height:78px;align-items:center}
.page-heading{display:flex;align-items:center;gap:1rem;flex:1 1 260px;min-width:0}
.page-heading-copy{min-width:0}
#page-heading-title{font-size:2rem;line-height:1.2;margin:0;overflow-wrap:anywhere}
#page-heading-subtitle{font-size:.85rem;color:var(--muted);margin:.3rem 0 0}
#page-back{flex:0 0 auto}
.page-back-button{white-space:nowrap}
#page-back[hidden],#page-heading-subtitle[hidden],#page-context[hidden]{display:none}
#page-context{flex:0 1 auto;max-width:100%}
.topbar .cash-edition-name{max-width:100%;font-size:.875rem}
.main-content{padding-top:1.3rem}
.page-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem 1.25rem;margin-bottom:1.2rem}
.page-description{margin:0;font-size:.9rem;color:var(--muted);flex:1 1 260px;max-width:75ch}
.page-actions{margin-left:auto;justify-content:flex-end}
@media(max-width:1100px){.topbar,.cash-screen .topbar{padding:1rem 1.5rem}}
@media(max-width:760px){
 .topbar,.cash-screen .topbar{padding:.85rem 1rem;gap:.75rem;min-height:0}
 .page-heading{flex-basis:100%;gap:.75rem}
 #page-heading-title{font-size:1.7rem}
 #page-context{width:100%}
 .topbar .cash-edition-name{align-items:flex-start}
 .page-tools{gap:.75rem;margin-bottom:1rem}
 .page-actions{width:100%;margin-left:0;justify-content:flex-start}
 .page-actions .btn{min-height:44px}
}
/* Private work groups and shared documents. */
.work-groups{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:1rem}
.work-group-card{display:flex;align-items:center;gap:1rem;min-width:0;min-height:124px;margin:0;padding:1.1rem;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);text-align:left;font:inherit;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.work-group-card:hover{border-color:var(--court-inside);box-shadow:0 4px 14px #193c5010}
.work-group-card:focus-visible{outline:3px solid var(--court-inside);outline-offset:3px}
.work-group-thumbnail{width:88px;height:88px;flex:0 0 88px;object-fit:contain;border-radius:10px;background:#f3f8fb}
.work-group-card-content{display:flex;flex-direction:column;gap:.35rem;min-width:0}
.work-group-name{font-size:1.08rem;line-height:1.35;overflow-wrap:anywhere}
.work-group-summary{color:var(--muted);font-size:.85rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.work-image-editor{grid-column:1/-1;display:flex;align-items:center;gap:1rem;border:1px solid var(--line);border-radius:12px;padding:1rem;min-width:0}
.work-image-preview{flex:0 0 88px;display:grid;place-items:center;width:88px;height:88px;border-radius:10px;background:#f3f8fb;overflow:hidden}
.work-image-preview img{width:88px;height:88px;object-fit:contain}
.work-image-empty{font-size:.8rem;color:var(--muted)}
.work-image-controls{min-width:0;flex:1}
.work-image-controls input{max-width:100%;min-width:0;font-size:.85rem}
.work-image-controls .field,.work-image-controls p{margin:0}
.work-image-controls .btn{padding:.2rem 0;min-height:32px}
.work-image-error{color:var(--red);font-size:.9rem}
.work-image-error:empty,.work-image-controls [role=status]:empty{display:none}
@media(max-width:600px){.work-image-editor{align-items:flex-start;flex-wrap:wrap}.work-image-controls{flex-basis:210px}}
.work-description{white-space:pre-wrap;overflow-wrap:anywhere}
.work-storage progress,.work-upload-status progress{display:block;width:100%;height:10px;accent-color:var(--court-inside);margin:.65rem 0}
.work-storage .flex{justify-content:space-between;gap:.4rem}
.work-group-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:1.2rem;align-items:start}
.work-group-sidebar{display:grid;gap:1.2rem;min-width:0}
.work-group-layout .panel{margin:0;min-width:0}
.work-group-layout h2{margin:0 0 1rem;font-size:1.15rem}
.work-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem}
.work-upload{display:flex;align-items:flex-end;flex-wrap:wrap;gap:.75rem;padding:1rem;background:#f3f8fb;border-radius:12px;margin:.3rem 0 1rem}
.work-upload>.field{flex:1 1 240px;margin:0;min-width:0}
.work-upload input[type=file]{padding:.55rem;font-size:.85rem;max-width:100%;min-width:0}
.work-upload>.form-help,.work-upload>.error,.work-upload-status{width:100%;margin:0}
.work-upload>.error:empty{display:none}
.work-upload-status[hidden]{display:none}
.work-document-list,.work-members{list-style:none;padding:0;margin:0}
.work-document-list>li{display:flex;align-items:center;justify-content:space-between;gap:.8rem;border-bottom:1px solid var(--line);padding:1rem 0}
.work-document-list>li:last-child{border-bottom:0;padding-bottom:0}
.work-document-copy{min-width:0}
.work-document-copy a{font-weight:700;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}
.work-document-copy p{margin:.4rem 0 0}
.work-document-list .btn{flex:0 0 auto}
.work-no-files{padding:1rem 0;margin:0}
.work-members li{display:flex;align-items:center;gap:.6rem;padding:.5rem 0;overflow-wrap:anywhere}
.work-members small{display:block;color:var(--muted);font-size:.75rem}
.work-members .avatar{flex:0 0 32px;width:32px;height:32px}
.work-people{padding:1rem;border:1px solid var(--line);border-radius:12px;min-width:0}
.work-people .check{margin:.6rem 0;display:flex}
.work-people .form-help{margin-top:0}
.work-delete-group{margin-top:1rem;border-top:1px solid var(--line);padding-top:.7rem}
.work-request{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}
.work-request h2{margin:0;font-size:1.2rem}
.work-request p{margin:.65rem 0 0}
.work-request>div{min-width:0}
@media(max-width:900px){.work-group-layout{grid-template-columns:minmax(0,1fr)}.work-group-nav{display:flex}.work-group-nav button{flex:1}.work-group-admin-buttons{display:flex;flex-wrap:wrap}.work-group-meta>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}}
@media(max-width:600px){.work-groups,.work-group-sidebar{grid-template-columns:minmax(0,1fr)}.work-document-list>li{align-items:flex-start;flex-wrap:wrap}.work-document-copy{width:100%}.work-upload>.btn{width:100%}.work-group-layout{gap:1rem}}

.work-nav-count{margin-left:auto;min-width:1.35rem;padding:.05rem .35rem;border-radius:999px;background:#eff481;color:#173b53;font-size:.75rem;text-align:center}

.work-main{display:grid;gap:1.2rem;min-width:0}
.work-member-setting{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:1rem;align-items:center;padding:.45rem 0;border-bottom:1px solid var(--line)}
.work-member-setting:last-child{border-bottom:0}
.work-member-setting select{min-width:0;width:100%;padding:.5rem}
.work-member-setting .check{margin:0}
.work-member-setting .tag{justify-self:start}
.work-role-help{background:var(--paper);padding:.7rem .9rem;border-radius:8px;font-size:.8rem;margin-bottom:.75rem;color:var(--muted)}
.work-role-help p{margin:.3rem 0}
.work-document-list>li{flex-wrap:wrap}
.work-document-copy{flex:1 1 240px}
.work-document-copy>.tag{display:table;margin-top:.5rem}
.work-document-copy{display:flex;align-items:center;gap:12px}
.work-document-thumbnail-link{display:block;width:128px;height:128px;flex:0 0 128px;border-radius:8px}
.work-document-thumbnail-link:hover,.work-document-thumbnail-link:focus-visible{outline:2px solid var(--court-inside);outline-offset:3px}
.work-document-thumbnail{display:block;width:128px;height:128px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}
.work-image-dialog{width:min(1100px,calc(100vw - 32px));max-width:1100px}
.work-image-lightbox{text-align:center}
.work-image-lightbox img{display:block;max-width:100%;max-height:65vh;width:auto;height:auto;object-fit:contain;margin:auto;border-radius:8px}
.work-pdf-dialog{width:min(1100px,calc(100vw - 32px));max-width:1100px}
.work-pdf-name{margin:0 0 12px;overflow-wrap:anywhere}
.work-pdf-frame{display:block;width:100%;height:65vh;min-height:260px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}
.work-pdf-dialog .form-actions{margin-top:16px;flex-wrap:wrap}
@media(max-width:600px){.work-pdf-frame{height:calc(100dvh - 350px);min-height:180px}}
.work-document-text{min-width:0}
.work-document-text>.tag{display:table;margin-top:.5rem}
.work-post{padding:1.25rem 0;border-bottom:1px solid var(--line)}
.work-post:last-child{border-bottom:0;padding-bottom:0}
.work-post h3{font-size:1.05rem;margin:0;overflow-wrap:anywhere}
.work-post .work-description{margin:1rem 0}
.work-post-actions:empty{display:none}
.work-reactions{padding-top:.5rem}
.work-reactions button[aria-pressed=true]{background:#e4f0f7;border-color:var(--court-inside);color:var(--court-inside)}
.work-comments{margin-top:.85rem}
.work-comments summary,.work-delivery summary{cursor:pointer;font-weight:600;padding:.5rem 0}
.work-comment{border-left:3px solid var(--line);padding:.65rem .8rem;margin:.6rem 0;background:var(--paper);border-radius:0 8px 8px 0}
.work-comment p{white-space:pre-wrap;overflow-wrap:anywhere;margin:.5rem 0 0}
.work-comments form{margin-top:1rem}
.work-comments .form-actions{margin-top:0}
.work-delivery{margin:1rem 0}
.work-delivery ul{padding-left:1.2rem}
.work-delivery li{margin:.5rem 0;display:flex;gap:.6rem;flex-wrap:wrap;overflow-wrap:anywhere}
.work-publications>.work-section-head{flex-wrap:wrap}
.work-publications{display:grid;gap:18px;width:100%;max-width:820px;margin:0 auto;min-width:0}
.work-publications>.work-section-head{margin:0}
.work-publications>.work-section-head h2{margin:0}
.work-composer,.work-post{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 2px 5px #173b5305}
.work-composer{display:flex;align-items:center;gap:12px;padding:16px}
.work-composer>.avatar,.work-post-header>.avatar{width:42px;height:42px;flex:0 0 42px}
.work-composer>button{flex:1;min-width:0;border:0;border-radius:22px;background:#f0f5f8;padding:11px 16px;color:var(--ink);text-align:left}
.work-composer>button:hover{background:#e5f0f6}
.work-composer>button:focus-visible{outline:2px solid var(--court-inside)}
.work-composer>button span,.work-composer>button small{display:block}
.work-composer>button span{font-size:.88rem}
.work-composer>button small{font-size:.73rem;color:var(--muted);margin-top:3px}
.work-post,.work-post:last-child{padding:0;border-bottom:1px solid var(--line);overflow:hidden;min-width:0}
.work-post-header{display:flex;align-items:center;gap:10px;padding:18px 18px 14px}
.work-post-author{min-width:0;flex:1;display:grid;gap:2px}
.work-post-author strong{font-size:.9rem;overflow-wrap:anywhere}
.work-post-author time{font-size:.73rem;color:var(--muted)}
.work-post-header>.btn{padding:5px;min-height:32px;font-size:.72rem}
.work-post-status{padding:0 18px 12px}
.work-post-content{padding:0 18px 16px}
.work-post-content h3{font-size:1.05rem;margin:0}
.work-post .work-post-content .work-description{margin:8px 0 0;line-height:1.6;font-size:.92rem}
.work-post-moderation{margin:0 18px 16px}
.post-image-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;background:var(--paper)}
.post-image-grid.multiple{grid-template-columns:repeat(2,minmax(0,1fr))}
.post-image{display:block;min-width:0;background:#edf3f6}
.post-image:focus-visible{outline:3px solid var(--court-inside);outline-offset:-3px}
.post-image img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}
.post-image-grid.multiple img{height:260px;max-height:35vh}
.work-post>.post-attachments{padding:0 18px;margin:14px 0 16px}
.work-post>.post-attachments .post-attachment{flex:1 1 220px}
.work-post-footer{padding:0 18px}
.work-post-counts{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;font-size:.78rem;color:var(--muted)}
.work-post-counts>span{display:flex;align-items:center;gap:6px}
.work-post-counts .icon{width:16px;height:16px;color:var(--court-inside)}
.work-post-counts>button{border:0;background:none;color:inherit;font-size:inherit;padding:8px 0}
.work-post-counts>button:hover{text-decoration:underline}
.work-social-actions{display:flex;gap:5px;padding:5px 0;border-top:1px solid var(--line)}
.work-social-actions:empty{display:none}
.work-social-actions>button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:8px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:.84rem;font-weight:600}
.work-social-actions>button:hover{background:var(--surface-soft)}
.work-social-actions>button[aria-pressed=true]{color:var(--court-inside)}
.work-social-actions>button[aria-pressed=true] .icon{fill:#dceef7}
.work-social-actions .icon{width:20px;height:20px}
.work-post .work-comments{margin:0;padding:4px 0 16px;border-top:1px solid var(--line)}
.work-post .work-comment{display:flex;align-items:flex-start;gap:8px;border:0;padding:0;margin:12px 0;background:none}
.work-comment>.avatar{width:32px;height:32px;flex:0 0 32px;font-size:.7rem}
.work-comment-main{min-width:0;flex:1}
.work-comment-bubble{display:table;max-width:100%;padding:9px 12px;border-radius:15px;background:#f0f4f7;font-size:.85rem}
.work-comment-bubble strong{font-size:.78rem}
.work-comment-bubble p{margin:3px 0 0;line-height:1.5}
.work-comment-meta{display:flex;align-items:center;gap:12px;padding:2px 10px;font-size:.7rem;color:var(--muted)}
.work-comment-meta .btn{padding:2px;min-height:24px;font-size:.7rem}
.work-post .work-comment-form{display:grid;gap:8px;margin-top:12px}
.work-comment-form>.field{margin:0}
.work-comment-form textarea{border-radius:16px;background:#f6f9fb;font-size:.86rem;padding:10px 12px}
.work-comment-form .form-actions{margin:0}
.work-comment-form .form-actions>.btn{min-height:36px;padding:7px 16px;font-size:.8rem}
.work-comment-form>.error:empty{display:none}
.work-feed-empty{background:white;border:1px solid var(--line);border-radius:14px}
@media(max-width:600px){.work-publications{gap:12px}.work-composer{padding:12px;gap:8px}.work-composer>button{padding:10px 12px}.work-composer>.avatar{width:34px;height:34px;flex-basis:34px}.work-post-header{padding:14px 12px 12px;gap:8px}.work-post-header>.avatar{width:36px;height:36px;flex-basis:36px}.work-post-content{padding:0 12px 14px}.work-post-footer{padding:0 12px}.work-post>.post-attachments{padding:0 12px}.work-post-moderation{margin:0 12px 14px}.post-image-grid.multiple img{height:180px}.work-social-actions>button{font-size:.8rem}}
@media(max-width:600px){.work-member-setting{grid-template-columns:minmax(0,1fr) 135px;gap:.4rem}.work-member-setting .check{font-size:.85rem}.work-member-setting select{font-size:.8rem}.work-group-card{max-width:none}}

dialog.work-settings-dialog{width:960px;max-width:calc(100vw - 2rem)}
.work-settings-dialog #work-group-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;align-items:start}
.work-settings-dialog #work-group-form>.error,.work-settings-dialog #work-group-form>.form-actions,.work-settings-dialog #work-group-form>.form-help{grid-column:1/-1;margin:0}
.work-settings-dialog #work-group-form>.error:empty{display:none}
.work-settings-dialog .work-role-help{font-size:.75rem}
.work-settings-dialog .work-member-setting{grid-template-columns:minmax(0,1fr) 140px;gap:.5rem}
@media(max-width:760px){.work-settings-dialog #work-group-form{grid-template-columns:minmax(0,1fr)}dialog.work-settings-dialog{max-width:calc(100vw - 1rem)}}


.sidebar nav.sidebar-menu{display:flex;flex-direction:column;flex:1;gap:.3rem}
.sidebar-entry{flex-shrink:0;min-width:0}
.sidebar-entry>.nav-btn{width:100%}
.sidebar-modules>summary{width:100%;cursor:pointer;list-style:none}.sidebar-modules>summary::-webkit-details-marker{display:none}.sidebar-modules>summary::marker{content:''}.sidebar-modules-chevron{margin-left:auto;font-size:1.4rem;line-height:1;transition:transform .15s}.sidebar-modules[open]>.nav-btn .sidebar-modules-chevron{transform:rotate(90deg)}.sidebar-modules-active{background:var(--navigation-hover);font-weight:750}.sidebar-module-links{display:grid;gap:.25rem;margin:.3rem 0 .3rem .8rem;padding-left:.45rem;border-left:1px solid var(--navigation-line)}.sidebar-module-links>.nav-btn{width:100%;font-size:.85rem}.sidebar summary:focus-visible,.mobile-navigation summary:focus-visible{outline:2px solid var(--on-court);outline-offset:2px}
.sidebar-menu .sidebar-account-start{margin-top:auto;padding-top:.6rem;border-top:1px solid var(--navigation-line)}
.menu-organize{display:flex;align-items:center;justify-content:center;gap:.4rem;border:0;background:transparent;color:var(--navigation-muted);font-size:.75rem;padding:.5rem .2rem;min-height:36px;margin:-.5rem 0 .65rem;border-radius:6px}
.menu-organize:hover{background:var(--navigation-hover);color:var(--navigation-text)}
.menu-organize .icon{width:15px;height:15px}
.mobile-navigation>.menu-organize{flex-shrink:0;margin:.5rem 1rem 0}
.mobile-navigation nav.sidebar-menu{display:flex;flex-direction:column}
.mobile-navigation .sidebar-menu .avatar{background:var(--court-outside);color:var(--on-outside)}
.navigation-order-list{list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:.3rem}
.navigation-order-list li{display:flex;align-items:center;justify-content:space-between;gap:.6rem;border-bottom:1px solid var(--line);padding:.35rem 0}
.navigation-order-label{display:flex;align-items:center;gap:.6rem;min-width:0;font-size:.9rem;font-weight:600}
.navigation-order-buttons{display:flex;gap:.3rem;flex-shrink:0}
.navigation-order-buttons .btn{width:40px;min-height:40px;padding:.3rem;font-size:1.2rem}
.navigation-order-actions{display:flex;align-items:center;justify-content:space-between;gap:.7rem;flex-wrap:wrap;margin-top:1rem}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.auth-logo{max-width:100%}
.auth-logo .brand-plate{padding-bottom:0}
.auth-logo .club-house-brand{position:relative;padding-bottom:18px;margin-top:0}
.auth-logo .club-house-name{font-size:clamp(32px,3.4vw,48px)}
.auth-logo .club-house-brand::after{content:'';position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:60px;height:3px;background:var(--club-house-accent)}
@media(max-width:760px){.auth-logo .club-house-name{font-size:30px}.auth-logo .club-house-brand{padding-bottom:14px}.auth-logo .club-house-brand::after{width:40px;height:2px}}
@media(forced-colors:active){.auth-logo .club-house-brand::after{background:CanvasText}}

.site-common-settings .form-actions{margin-top:.25rem}
.site-registration-toggle{align-self:end;min-height:44px;align-items:center}
.site-registration-toggle input{margin-top:0}
.site-editions .panel-head{flex-wrap:wrap;gap:.75rem}
.site-editions-table .edition-name{width:40%;overflow-wrap:anywhere}
.site-editions-table td[data-label]{white-space:nowrap}
.edition-management-actions{display:flex;justify-content:flex-end;gap:.7rem;flex-wrap:wrap;padding-top:1.1rem;margin-top:1.1rem;border-top:1px solid var(--line)}
@media(max-width:760px){
 .site-editions-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .site-editions-table tbody{display:grid;gap:.9rem}
 .site-editions-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.65rem 1rem;padding:.9rem;border:1px solid var(--line);border-radius:9px}
 .site-editions-table td{display:block;min-width:0;border:0;padding:0}
 .site-editions-table .edition-name{width:auto;grid-column:1/-1}
 .site-editions-table td[data-label]::before{content:attr(data-label);display:block;font-size:.75rem;color:var(--muted);margin-bottom:.15rem}
 .site-editions-table td:nth-last-child(2){align-self:center}
 .edition-management-actions .btn{flex:1}
}

.event-list-actions{justify-content:flex-end}
.dashboard-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}
.dashboard-section-head h2{margin:0;font-size:1.18rem}
.dashboard-information{margin-bottom:18px}
.information-strip{display:flex;align-items:center;gap:18px;padding:0 16px 0 0;border:1px solid #d8e5ed;border-radius:12px;background:#fff}
.information-strip h2{display:flex;align-items:center;align-self:stretch;gap:9px;flex-shrink:0;margin:0;padding:12px 16px;border-radius:11px 0 0 11px;background:#ddecf6;color:#173b53;font-size:.9rem;line-height:1.4}
.information-strip h2>.icon{width:20px;height:20px;color:currentColor;flex-shrink:0}
.information-topics{display:flex;align-items:stretch;gap:4px;flex-wrap:wrap;min-width:0;flex:1;margin:12px 0;border-bottom:1px solid #dce7ee}
.information-topic{display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:44px;max-width:100%;padding:9px 10px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#5a7180;font:inherit;font-size:.86rem;font-weight:650;text-align:center;cursor:pointer}
.information-topic>span{overflow-wrap:anywhere}
.information-topic{position:relative}
.information-topic .information-update-dot{position:absolute;top:3px;right:3px;width:7px;height:7px;border-radius:50%;background:#bd6415;box-shadow:0 0 0 2px #fff;pointer-events:none}
.information-topic:hover{background:#f0f5f8;color:#173b53}
.information-topic[aria-expanded=true]{background:transparent;color:#173b53;border-bottom-color:#245f80}
.information-strip #dashboard-edit-info{margin-left:auto;flex-shrink:0;font-size:.8rem;padding:7px 2px;color:#647b88}
.dashboard-information .dashboard-empty{margin:10px 16px;font-size:.88rem}
.information-detail{margin-top:8px;padding:18px 20px;border:1px solid #d8e5ed;border-radius:12px;background:#fff}
.information-detail-body{max-width:80ch;font-size:.94rem;line-height:1.6}
.dashboard-personal-actions{display:flex;gap:10px;flex-wrap:wrap}
.dashboard-personal-actions .btn{padding:9px 14px;font-size:.86rem}
.rich-information{white-space:normal;overflow-wrap:anywhere}
.rich-information p,.rich-information div{margin:0 0 .35em}
.rich-information p:last-child,.rich-information div:last-child{margin-bottom:0}
.rich-information ul,.rich-information ol{margin:.25em 0;padding-left:1.5em}
.rich-information a{color:#246481;text-decoration:underline}
.rich-information strong{font-weight:750}
.information-text-field{min-width:0}
.information-text-field>span{display:block;margin-bottom:8px;font-weight:600}
.information-format-tools{display:flex;gap:4px;flex-wrap:wrap;padding:7px;background:#f1f6f9;border:1px solid #baceda;border-bottom:0;border-radius:8px 8px 0 0}
.information-format-tools .btn{padding:5px 9px;font-size:.82rem;min-width:32px;min-height:32px;background:#fff}
.information-rich-editor{border:1px solid #baceda;border-radius:0 0 8px 8px;padding:12px;min-height:160px;max-height:380px;overflow-y:auto;background:#fff;font-size:1rem;line-height:1.5}
.information-rich-editor:focus{outline:2px solid #246481;outline-offset:1px}
.information-rich-editor[contenteditable=false]{background:#f1f6f9}
.information-text-field .form-help{font-size:.8rem;margin-top:7px}
.dashboard-personal-head{margin-bottom:14px}
#page-heading-actions{flex-shrink:0}
#page-heading-actions[hidden]{display:none}
#page-heading-title .dashboard-surprise-trigger{min-height:0;line-height:inherit}
.dashboard-options{position:relative}
.dashboard-options>summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;list-style:none;cursor:pointer;border:1px solid transparent;border-radius:10px;color:#587282}
.dashboard-options>summary::-webkit-details-marker{display:none}
.dashboard-options>summary:hover,.dashboard-options[open]>summary{background:#edf3f8;border-color:#d8e5ed}
.dashboard-options.is-editing>summary{color:#285775;background:#ddecf6;border-color:#99bed3}
.dashboard-options-panel{position:absolute;right:0;top:calc(100% + 6px);z-index:60;width:260px;max-width:calc(100vw - 28px);padding:6px;background:#fff;border:1px solid #d8e5ed;border-radius:12px;box-shadow:0 8px 28px #193e5022}
.dashboard-options-panel>button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px;border:0;border-radius:6px;background:transparent;color:#193e50;text-align:left;font-size:.86rem}
.dashboard-options-panel>button:hover,.dashboard-options-panel>button[aria-pressed=true]{background:#eaf3f8}
.dashboard-options-panel .icon{width:19px;height:19px;flex-shrink:0}
.dashboard-grid:not(.dashboard-editing) .dashboard-widget-move{visibility:hidden;pointer-events:none}
.dashboard-editing .dashboard-widget{outline:1px dashed #85aabd;outline-offset:2px}
.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.dashboard-widget{--widget-pastel:#ddecf6;--widget-icon-bg:#c7e2ef;--widget-icon-ink:#285775;display:grid;grid-template-rows:auto minmax(0,1fr);height:var(--dashboard-widget-height,280px);padding:0;min-width:0;overflow:clip}
@media(max-width:1400px){.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}}
.dashboard-widget:is([data-widget="my_tasks"],[data-widget="favorites"],[data-widget="shortcuts"]){--widget-pastel:#eae5f6;--widget-icon-bg:#dcd2ef;--widget-icon-ink:#55437b}
.dashboard-widget:is([data-widget="meeting"],[data-widget="news"]){--widget-pastel:#f8e8da;--widget-icon-bg:#f0d7c1;--widget-icon-ink:#794b2b}
.dashboard-widget:is([data-widget="training"],[data-widget="cash"]){--widget-pastel:#dfeee4;--widget-icon-bg:#c7e2d1;--widget-icon-ink:#355f49}
.dashboard-widget:is([data-widget="tasks"],[data-widget="stocks"],[data-widget="activity"]){--widget-pastel:#f8efcd;--widget-icon-bg:#efe1ab;--widget-icon-ink:#6c5720}
.dashboard-widget-head{display:flex;align-items:center;gap:8px;padding:0 14px;background:var(--widget-pastel);color:var(--widget-heading-ink,#173b53);border-bottom:1px solid var(--widget-pastel)}
.dashboard-widget-head>.icon{color:var(--widget-heading-ink,#173b53);background:none;padding:0;width:20px;height:20px;flex-shrink:0}
.dashboard-widget-head h3{margin:0;min-width:0;overflow-wrap:anywhere;font-size:.9rem;line-height:1.3}
.dashboard-widget .dashboard-widget-move{margin-left:auto;flex-shrink:0;touch-action:none;cursor:grab;font-size:1.3rem;min-width:44px;min-height:44px;user-select:none}
.dashboard-widget-move:active{cursor:grabbing}
.dashboard-widget.widget-moving{opacity:.5}
.dashboard-widget.widget-drop-before{box-shadow:inset 0 4px #246481;outline:2px dashed #246481;outline-offset:2px}
.dashboard-widget.widget-drop-after{box-shadow:inset 0 -4px #246481;outline:2px dashed #246481;outline-offset:2px}
.dashboard-drag-label{position:fixed;z-index:2000;pointer-events:none;max-width:calc(100vw - 24px);padding:12px 18px;border:1px solid #b8d1df;border-radius:10px;background:#fff;color:#193e50;box-shadow:0 5px 18px #193e5033;font-weight:700}
.dashboard-widget-body{display:flex;flex-direction:column;gap:4px;min-height:0;padding:8px 14px;font-size:.875rem;line-height:1.4}
.dashboard-widget-preview{flex:1;min-height:0;overflow:clip}
.dashboard-widget[data-widget="tournament"] .dashboard-widget-preview{display:flex;flex-direction:column}
.dashboard-tournament{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;gap:5px}
.dashboard-tournament-tabs{display:flex;border-bottom:1px solid var(--line);flex-shrink:0}
.dashboard-tournament-tabs button{flex:1;min-width:0;min-height:36px;padding:6px 3px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font:inherit;font-weight:650;cursor:pointer}
.dashboard-tournament-tabs button[aria-selected="true"]{color:#005fb8;border-bottom-color:#005fb8}
.dashboard-tournament-tabs button:focus-visible{outline:2px solid #005fb8;outline-offset:-2px}
.dashboard-tournament-matches{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.dashboard-tournament-match{padding:7px 2px;overflow-wrap:anywhere}
.dashboard-tournament-match+.dashboard-tournament-match{border-top:1px solid var(--line)}
.dashboard-tournament-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--muted);font-size:.75rem;margin-bottom:4px}
.dashboard-tournament-score{color:var(--ink);white-space:nowrap}
.dashboard-tournament-player{line-height:1.3;margin-top:4px}
.dashboard-tournament-player strong{display:block;font-size:.82rem}
.dashboard-tournament-player strong span{font-weight:500}
.dashboard-tournament-player small{display:block;font-size:.75rem;color:var(--muted)}
.dashboard-widget-full .dashboard-tournament-matches{overflow:visible}
.dashboard-widget-preview .dashboard-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:clip}
.dashboard-widget-preview .dashboard-link strong,.dashboard-widget-preview .dashboard-link small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:clip}
.dashboard-widget-footer{display:flex;align-items:center;justify-content:space-between;gap:4px 10px;flex-wrap:wrap;flex-shrink:0}
.dashboard-widget-footer:has(>button:only-child[hidden]){display:none}
.dashboard-widget-footer>.btn{color:#005fb8;border-color:#005fb8;font-size:.8rem;min-height:36px;padding:5px 10px}
.dashboard-widget-footer>.btn.text{border-color:transparent;padding:4px 0;text-align:left}
.dashboard-widget-footer>.btn .icon{width:15px;height:15px}
.dashboard-widget-footer>.btn:hover{background:#eef5fc}
.dashboard-widget-preview [hidden],.dashboard-widget-footer [hidden]{display:none!important}
.dashboard-widget .document-favorite[aria-pressed=true]{color:#b77900;background:transparent;border-color:transparent}
.dashboard-inline-action{display:block;color:#005fb8;font-size:.85rem;margin-top:2px}
.dashboard-link:hover .dashboard-inline-action{text-decoration:underline}
.dashboard-context.dashboard-attention{color:#bc2040;font-weight:650}
.dashboard-widget-full .dashboard-excerpt{display:block;overflow:visible;-webkit-line-clamp:unset}
.dashboard-empty{color:var(--muted,#647d8b);line-height:1.6;margin:14px 0;font-size:.95rem}
.dashboard-list{list-style:none;padding:0;margin:0}
.dashboard-list>li+li{border-top:1px solid #e5edf2}
.dashboard-link{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:13px 0;text-align:left;border:0;background:none;color:inherit;text-decoration:none;cursor:pointer;font:inherit;min-width:0}
.dashboard-link>span{min-width:0;overflow-wrap:anywhere}
.dashboard-link strong{display:block;font-size:.95rem;line-height:1.45}
.dashboard-link small{display:block;font-size:.82rem;color:var(--muted,#647d8b);margin-top:4px;line-height:1.4}
.dashboard-link>.icon{width:17px;height:17px;flex-shrink:0;color:#658797}
.dashboard-link:hover strong{text-decoration:underline;color:#246481}
.dashboard-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0 16px}
.dashboard-shortcuts .btn{justify-content:flex-start;font-size:.82rem;padding:8px;white-space:normal;text-align:left;min-width:0}
.dashboard-shortcuts .btn .icon{flex-shrink:0;width:22px;height:22px}
.dashboard-shortcuts .btn span{overflow-wrap:anywhere}
.dashboard-context{font-size:.8rem;color:var(--muted,#647d8b);margin:8px 0 14px}
.dashboard-feature{font-weight:750;font-size:1.65rem;line-height:1.2;margin:17px 0}
.dashboard-feature span{display:block;font-weight:400;font-size:.87rem;color:var(--muted,#647d8b);margin-top:8px}
.dashboard-cash-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));font-size:.82rem;margin:12px 0;background:#edf3f8;border-radius:6px}
.dashboard-cash-details>span{padding:8px 12px;overflow-wrap:anywhere;text-align:center}
.dashboard-cash-details>span+span{border-left:1px solid #cad8e4}
.dashboard-cash-details strong{display:block;margin-top:5px}
.dashboard-cash-status{display:flex;align-items:center;justify-content:center;gap:6px;font-size:.85rem;color:#637785;margin:8px 0}
.dashboard-cash-status:before{content:'';width:9px;height:9px;border-radius:50%;background:currentColor;flex-shrink:0}
.dashboard-cash-status.is-open{color:#288343}
.dashboard-cash-status.is-pending{color:#85600c;background:#fff8df;border:1px solid #ead79b;border-radius:10px;padding:10px 12px;gap:12px;justify-content:flex-start;text-align:left}
.dashboard-cash-status.is-pending:before{display:none}
.dashboard-cash-icon{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#f9edbc}
.dashboard-cash-icon svg{width:25px;height:25px}
.dashboard-cash-message{min-width:0;border-left:1px solid #e3cf94;padding-left:12px;line-height:1.35}
.dashboard-cash-message strong{display:block;font-weight:650}
.dashboard-cash-message small{display:block;margin-top:3px;font-size:.75rem;color:#827044}
.dashboard-widget[data-widget="cash"] .dashboard-widget-footer,.dashboard-widget[data-widget="meeting"] .dashboard-widget-footer{justify-content:center}
.dashboard-excerpt{white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;font-size:.93rem;line-height:1.5}
/* Compact previews keep the full reading view at its normal text size. */
.dashboard-widget-preview .dashboard-link{padding:8px 0;gap:10px;min-height:44px}
.dashboard-widget-preview .dashboard-link strong{font-size:.875rem;line-height:1.3}
.dashboard-widget-preview .dashboard-link small{font-size:.78rem;line-height:1.35;margin-top:2px}
.dashboard-widget-preview .dashboard-inline-action{font-size:.78rem}
.dashboard-widget-preview .dashboard-context{font-size:.78rem;line-height:1.3;margin:0 0 4px}
.dashboard-widget-preview .dashboard-feature{font-size:1.35rem;line-height:1.2;margin:4px 0}
.dashboard-widget-preview .dashboard-feature span{font-size:.8rem;margin-top:2px}
.dashboard-widget-preview .dashboard-cash-details{font-size:.78rem;margin:4px 0}
.dashboard-widget-preview .dashboard-cash-details>span{padding:4px 8px}
.dashboard-widget-preview .dashboard-cash-details strong{margin-top:2px}
.dashboard-widget-preview .dashboard-cash-status{font-size:.78rem;margin:2px 0}
.dashboard-widget-preview .dashboard-excerpt,.dashboard-widget-preview .dashboard-empty{font-size:.85rem;line-height:1.4}
.dashboard-meeting-date{margin:0 0 8px;font-size:.85rem;font-weight:600;line-height:1.4;white-space:nowrap;color:var(--muted,#647d8b)}
.dashboard-widget-preview .dashboard-meeting-agenda{margin:0;white-space:normal}
.dashboard-meeting-agenda>ol{margin-top:0}
.committee-invitation-form{display:grid;gap:24px;min-width:0}
.committee-invitation-form>.error:empty{display:none}
.main-content:has(.committee-invitation-page){padding-inline:32px}
.topbar:has(.committee-invitation-heading-actions){min-height:66px;padding-block:10px}
.topbar:has(.committee-invitation-heading-actions) .page-back-button{border-color:transparent;background:transparent}
.committee-invitation-when{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;max-width:520px;margin:6px 0 4px}
.committee-invitation-when .field,.committee-invitation-when input{min-width:0;max-width:100%}
.committee-invitation-heading-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
#page-heading-actions:has(.committee-invitation-heading-actions){margin-left:auto;min-width:0;flex-shrink:1}
.topbar:has(.committee-invitation-heading-actions) #page-heading-title{font-size:1.5rem;letter-spacing:-.025em}
.committee-invitation-help{font-size:.8rem;color:var(--muted)}
.committee-invitation-help summary{cursor:pointer;width:fit-content}
.committee-invitation-help p{max-width:900px;margin-top:8px}
.committee-agenda-editor{display:grid;gap:8px;min-width:0}
.committee-agenda-editor>[hidden]{display:none}
.committee-agenda-heading{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.committee-agenda-heading h2{font-size:1.3rem;margin:0}
.committee-agenda-count{color:var(--muted);font-size:.9rem}
.committee-agenda-workspace{display:grid;grid-template-columns:minmax(0,41fr) minmax(0,59fr);gap:12px;margin-top:16px;min-width:0;align-items:stretch}
.committee-agenda-outline,.committee-agenda-detail{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px 16px;min-width:0}
.committee-agenda-outline>h3{font-size:1.15rem;margin:2px 0 18px}
.committee-agenda-points{list-style:none;margin:0;padding:0;min-width:0}
.committee-agenda-point{display:flex;align-items:center;gap:8px;min-width:0;min-height:80px;border-bottom:1px solid var(--line);padding:12px 8px}
.committee-agenda-point.is-selected{background:#e7f4fc;border-color:transparent;border-radius:8px}
.committee-agenda-select{display:flex;align-items:center;gap:16px;align-self:stretch;flex:1;min-width:0;padding:0;border:0;background:transparent;text-align:left;color:var(--ink);font-size:1rem;line-height:1.45}
.committee-agenda-select [data-point-label]{overflow-wrap:anywhere}
.committee-agenda-number{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;border-radius:50%;background:#cfebfc;color:#174d77;font-size:1.15rem;font-weight:700}
[data-agenda-color="1"] .committee-agenda-number{background:#d9f2df;color:#245d3b}
[data-agenda-color="2"] .committee-agenda-number{background:#fff0c9;color:#73551e}
[data-agenda-color="3"] .committee-agenda-number{background:#ede1fa;color:#694093}
.committee-agenda-point-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.committee-agenda-point-actions .btn{width:34px;min-width:34px;height:36px;min-height:36px;padding:6px;border-radius:6px;font-weight:400}
.committee-agenda-point-actions .icon{width:17px;height:17px}
.committee-agenda-point-actions [data-point-remove]{background:#fff0f2;border-color:#efc8cf;color:#b4233e}
.committee-agenda-point-actions .btn:disabled{background:transparent;opacity:.35}
.committee-agenda-add{width:100%;margin-top:18px;min-height:50px;background:#eff8fe;border-color:#a1cee9;color:#1c6591}
.committee-agenda-add:hover{background:#e1f1fc}
.committee-agenda-outline>[data-agenda-empty]{font-size:.9rem;padding:8px}
.committee-agenda-panels{display:grid;min-width:0}
.committee-agenda-detail{display:flex;flex-direction:column;min-height:clamp(540px,calc(100dvh - 320px),740px);padding:18px 20px 24px;scroll-margin-top:80px}
.committee-agenda-detail[hidden]{display:none!important}
.committee-agenda-detail-heading{display:flex;align-items:center;gap:16px;margin-bottom:24px;min-width:0}
.committee-agenda-detail-heading h3{font-size:1.2rem;overflow-wrap:anywhere}
.committee-agenda-detail>.field{margin-bottom:24px}
.committee-agenda-detail input,.committee-invitation-when input{font-size:1rem}
.committee-agenda-detail .information-text-field{display:flex;flex-direction:column;flex:1;min-width:0}
.committee-agenda-detail .information-text-field>span{font-size:.9rem}
.committee-agenda-detail .information-format-tools{gap:2px;padding:7px 6px;background:#f5f9fc;border-color:var(--line);align-items:center}
.committee-agenda-detail .information-format-tools>.btn,.committee-agenda-detail .information-color-toggle{padding:5px;min-width:32px;min-height:34px;background:transparent;border-color:transparent;border-radius:4px;font-size:1rem}
.committee-agenda-detail .information-format-tools .btn:hover{background:#e7f1f8}
.committee-agenda-detail .information-format-tools>.btn[data-format-command=insertUnorderedList],.committee-agenda-detail .information-format-tools>.btn[data-format-command=link],.committee-agenda-detail .information-format-tools>.btn[data-format-command=undo]{border-left:1px solid var(--line);border-radius:0}
.committee-agenda-detail .information-format-tools .icon{width:18px;height:18px}
.committee-agenda-detail .information-rich-editor{flex:1;min-height:300px;max-height:none;padding:16px 18px;font-size:1rem;border-color:var(--line)}
.committee-agenda-detail .committee-agenda-character-count{text-align:right;font-size:.75rem;margin-top:8px;color:var(--muted)}
.committee-agenda-block{position:relative;font-size:.85rem;margin-right:6px;border-right:1px solid var(--line)}
.committee-agenda-block>summary{display:flex;align-items:center;gap:14px;padding:7px 10px 7px 6px;cursor:pointer;list-style:none}
.committee-agenda-block>summary::-webkit-details-marker{display:none}
.committee-agenda-block>div{position:absolute;top:calc(100% + 6px);left:0;z-index:20;display:grid;width:180px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 6px 18px #183b5020}
.committee-agenda-block .btn{border:0;justify-content:flex-start}
.committee-agenda-placeholder{justify-content:center;align-items:center;text-align:center;color:var(--muted);gap:12px}
@media(max-width:1200px){
 .committee-agenda-workspace{grid-template-columns:minmax(0,1fr)}
 .committee-agenda-detail{min-height:520px}
 .committee-agenda-point{min-height:72px}
}
@media(max-width:760px){
 .main-content:has(.committee-invitation-page){padding-inline:16px}
 .topbar:has(.committee-invitation-heading-actions) .page-heading{flex-wrap:wrap;gap:8px}
 .topbar:has(.committee-invitation-heading-actions) .page-heading-copy{flex:1;min-width:150px}
 #page-heading-actions:has(.committee-invitation-heading-actions){flex-basis:100%}
 .committee-invitation-heading-actions{justify-content:flex-start}
 .committee-invitation-heading-actions .btn{flex:1}
 .committee-invitation-when{gap:12px}
 .committee-agenda-outline,.committee-agenda-detail{padding:14px 12px}
 .committee-agenda-select{gap:8px}
 .committee-agenda-point{padding:10px 0;gap:6px}
 .committee-agenda-point-actions{gap:4px}
 .committee-agenda-number{width:32px;height:32px;flex-basis:32px;font-size:1rem}
 .committee-agenda-point-actions .btn,.committee-agenda-detail .information-format-tools>.btn,.committee-agenda-detail .information-color-toggle{min-width:44px;min-height:44px}
 .committee-agenda-detail-heading{gap:10px}
 .committee-agenda-detail .information-rich-editor{padding:12px}
}
@media(max-width:400px){
 .committee-agenda-point{flex-wrap:wrap}
 .committee-agenda-select{flex-basis:100%;min-height:40px}
 .committee-agenda-point-actions{margin-left:auto}
}
.dashboard-widget-preview .dashboard-empty{margin:8px 0}
.dashboard-widget-preview>p+p{margin-top:6px}
.dashboard-widget-preview .dashboard-shortcuts{margin:4px 0 8px;gap:6px}
.dashboard-favorite{display:flex;align-items:center;gap:10px}
.document-favorite{font-size:1.4rem!important;flex-shrink:0;color:#246481;padding:5px 10px!important}
.document-favorite[aria-pressed=true]{color:#8b640a;background:#fff7dd}
#dashboard-controls{border:0;padding:0;margin:0;min-width:0}
#dashboard-controls>legend{font-weight:700;margin-bottom:10px}
.dashboard-order-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #e3edf2}
.dashboard-order-row>span{flex:1;min-width:0}
.dashboard-order-row small{display:block;color:var(--muted,#647d8b);font-size:.8rem;line-height:1.4;margin-top:4px}
.dashboard-order-row strong{font-size:.95rem}
.dashboard-order-row>.flex{gap:5px}
.dashboard-order-row .btn{padding:7px 10px;min-width:34px}
.dashboard-handle{cursor:grab}
.dashboard-handle:active{cursor:grabbing}
.dashboard-add{margin-top:20px!important;margin-bottom:10px}
.dashboard-shortcut-options{margin-top:22px;border-top:1px solid #e3edf2;padding-top:16px}
.dashboard-shortcut-options summary{font-weight:700;cursor:pointer}
.dashboard-shortcut-options .check{margin-top:10px}
@media(max-width:760px){
 .dashboard-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .dashboard-information{margin-bottom:20px}
 .information-strip{gap:12px;padding:12px;flex-wrap:wrap}
 .information-strip h2{font-size:.86rem}
 .information-topics{order:3;flex-basis:100%;border-left:0;padding-left:0}
 .information-topic{padding:8px 10px}
 .information-strip #dashboard-edit-info{margin-left:auto}
 .information-detail{padding:14px}
 .dashboard-personal-head{gap:10px}
 .dashboard-personal-actions{gap:6px}
 .dashboard-personal-actions .btn{padding:8px 10px;font-size:.8rem}
 .dashboard-widget-head{padding:0 16px}
 .dashboard-widget-body{padding:8px 14px}
 .dashboard-personal-head>span{display:none}
 .dashboard-order-row{flex-wrap:wrap}
 .dashboard-order-row>.flex{margin-left:auto}
 .dashboard-order-row>span{flex-basis:calc(100% - 56px)}

}

/* Group navigation and folder deposits. */
.work-group-sidebar{gap:12px}
.work-group-nav{padding:6px;background:#fff;border:1px solid var(--line);border-radius:12px}
.work-group-nav button{display:flex;align-items:center;gap:10px;width:100%;border:0;border-radius:8px;padding:12px;text-align:left;background:transparent;color:var(--ink);font-size:.9rem;font-weight:650}
.work-group-nav button[aria-current=page]{background:#dceef7;color:#205e7c}
.work-group-nav button:hover{background:#edf5f9}
.work-group-admin-buttons{display:grid;gap:3px}
.work-group-admin-buttons .btn{justify-content:flex-start;text-align:left;min-height:36px;font-size:.8rem;padding:7px 12px}
.work-group-meta{padding:13px;background:#fff;border:1px solid var(--line);border-radius:12px}
.work-group-meta>summary{font-weight:650;font-size:.85rem;cursor:pointer}
.work-group-meta section{margin-top:18px;min-width:0}
.work-group-meta section h2{font-size:.85rem;margin-bottom:10px}
.work-group-meta .work-storage{font-size:.76rem}
.work-group-meta .work-storage .flex{align-items:flex-start}
.work-group-meta p{font-size:.76rem;margin-top:8px}
.work-group-meta .btn{font-size:.76rem;padding:7px 9px;margin-top:8px;min-height:34px}
.work-group-meta .work-members{font-size:.8rem}
.work-folder-path{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0 0 18px;color:var(--muted);font-size:.85rem}
.work-folder-path button{border:0;background:transparent;color:var(--blue-ink);padding:4px;overflow-wrap:anywhere;text-align:left}
.work-folder-path button[aria-current=page]{font-weight:700;color:var(--ink)}
.work-folder-grid{display:flex;flex-direction:column;gap:2px;margin:12px 0}
.work-folder-card{display:flex;align-items:center;gap:10px;padding:9px 10px;border:1px solid transparent;border-radius:5px;background:#fff;text-align:left;color:var(--ink);min-width:0}
.work-folder-card:hover,.work-folder-card:focus-visible{background:#f0f7fb;border-color:#93b8cc}
.work-folder-card>.icon:first-child{width:23px;height:23px;flex-shrink:0;color:#a98329;fill:#f9dc85}
.work-folder-card>.icon:last-child{margin-left:auto;width:15px}
.work-folder-card span{display:flex;flex:1;align-items:center;justify-content:space-between;gap:12px;min-width:0;overflow-wrap:anywhere}
.work-folder-card strong{display:block;font-size:.9rem;font-weight:500}
.work-folder-card small{display:block;flex-shrink:0;font-size:.74rem;color:var(--muted)}
.work-folder-browser{min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
.work-folder-browser>summary{padding:10px 12px;font-size:.82rem;font-weight:700;cursor:pointer}
.work-folder-browser[open]>summary{border-bottom:1px solid var(--line)}
.work-folder-tree,.work-folder-tree [role=group]{list-style:none;padding:0;margin:0}
.work-folder-tree{padding:6px;max-height:55vh;overflow:auto;min-width:0}
.work-folder-tree [role=group]{margin-left:14px}
.work-folders-more{margin:0 6px 6px;text-align:left}
.work-tree-empty{padding:0 12px 10px}
.rich-information img[data-work-image]{display:block;max-width:100%;height:auto;margin:10px 0;border-radius:6px}
.work-document-lock{display:inline-flex;align-items:center;vertical-align:middle;color:var(--blue-ink)}
.work-document-lock .icon{width:17px;height:17px}
.work-text-editor{width:100%;min-height:300px;resize:vertical;font-family:Consolas,monospace;white-space:pre;tab-size:4}
.work-folder-tree [role=treeitem]{margin:0;padding:0;outline:none}
.work-tree-row{display:flex;align-items:center;gap:4px;min-height:34px;padding:3px 5px 3px 0;border:1px solid transparent;border-radius:4px;cursor:pointer;font-size:.82rem}
.work-tree-row:hover{background:var(--surface-soft)}
.work-folder-tree [aria-selected=true]>.work-tree-row{background:#dceef7;border-color:#b6d7e8;font-weight:700}
.work-folder-tree [role=treeitem]:focus-visible>.work-tree-row{outline:2px solid var(--court-inside);outline-offset:-2px}
.work-tree-toggle{display:grid;place-items:center;width:18px;height:24px;flex:0 0 18px;border-radius:3px}
.work-tree-toggle[data-tree-toggle]:hover{background:#c9e1ee}
.work-tree-toggle>.icon{width:12px;height:12px}
.work-folder-tree [aria-expanded=true]>.work-tree-row>.work-tree-toggle>.icon{transform:rotate(90deg)}
.work-tree-icon{display:flex;flex:0 0 19px}
.work-tree-icon>.icon{width:19px;height:19px;color:#a98329;fill:#f9dc85}
.work-tree-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.work-upload{border:1px dashed #a1c2d3;background:#f5fafc;padding:12px 14px;align-items:center;gap:8px 12px}
.work-drop-intro{display:flex;align-items:center;gap:8px;flex:1 1 205px;min-width:0}
.work-drop-intro>.icon{width:22px;height:22px;flex-shrink:0;color:#407c99}
.work-drop-intro strong{font-size:.9rem}
.work-drop-intro p{font-size:.75rem;color:var(--muted);margin:2px 0 0;overflow-wrap:anywhere}
.work-upload>.field{flex:2 1 220px}
.work-upload input[type=file]{padding:6px;font-size:.8rem}
.work-upload>.btn{min-height:38px;padding:7px 14px;font-size:.85rem}
.work-upload>.form-help{font-size:.75rem}
@media(max-width:600px){.work-upload>.work-drop-intro{flex-basis:100%}.work-upload>.field{flex:1 1 150px}.work-upload>.btn{width:auto}}
.work-upload>.field{font-size:.83rem}
.work-drop-active{outline:3px solid #2e759e;outline-offset:2px;background:#e2f2fa}
.work-upload-queue{width:100%;max-height:240px;overflow:auto;list-style:none;padding:0;margin:0;font-size:.8rem}
.work-upload-queue li{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.work-upload-queue li>span{min-width:0}
.work-upload-queue li>span:last-child{color:var(--muted)}
.work-file-actions{display:flex;justify-content:flex-end;align-items:center;gap:4px;flex-wrap:wrap}
.work-documents>.work-section-head{align-items:center;flex-wrap:wrap;margin-bottom:14px}
.work-documents>.work-section-head h2{margin:0}
@media(max-width:900px){.work-group-admin-buttons{display:flex}.work-group-sidebar{gap:8px}.work-group-layout{gap:16px}}
@media(max-width:600px){.work-group-meta>div{grid-template-columns:minmax(0,1fr)}.work-group-nav button{padding:10px;font-size:.84rem}.work-documents>.work-section-head .btn{font-size:.8rem;padding:8px}.work-upload{padding:14px}.work-file-actions{justify-content:flex-start}.work-upload-queue li{display:block}}

.training-player-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #e3edf2}
.training-presence{display:flex;gap:8px;border:0;padding:0;margin:0;flex-wrap:wrap}
.training-status-completed{background:#e6f3ea;color:#28603a}.training-status-cancelled{background:#fceaea;color:#9a3030}
.training-presence:disabled{opacity:.65}
.training-presence label{position:relative;cursor:pointer;margin:0}
.training-presence input{position:absolute;opacity:0;width:100%;height:100%;margin:0}
.training-presence span{display:block;border:1px solid #ccdee8;border-radius:8px;padding:9px 12px;font-size:.9rem}
.training-presence input:checked+span{background:#246481;color:white;border-color:#246481}
.training-presence input[value=absent]:checked+span{background:#a63838;border-color:#a63838}
.training-presence input[value=present]:checked+span{background:#28714d;border-color:#28714d}
.training-presence input:focus-visible+span{outline:3px solid #62a6d0;outline-offset:2px}
.school-holiday-row{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr)) auto;align-items:end;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.school-holiday-row .field{min-width:0;margin:0}
.school-holiday-row input{min-width:0;width:100%}
.training-series-dates{max-height:220px;overflow:auto;margin:0;padding-left:24px}
.training-series-dates li{padding:4px 0}
.rights-categories{display:block;column-count:2;column-gap:16px}
.user-role-tags{display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px;min-width:160px;max-width:360px}
.user-role-tags .tag{white-space:normal;overflow-wrap:anywhere;text-align:left}
.rights-category{display:inline-block;vertical-align:top;width:100%;min-width:0;margin:0 0 16px;padding:8px 16px 12px;border:1px solid var(--line);border-radius:12px;break-inside:avoid}.rights-bulk-users{max-height:320px;overflow:auto;border:1px solid var(--line);border-radius:8px;padding:8px 12px}.rights-bulk-users .check{padding:8px 0}.rights-bulk-users .check>span{min-width:0;overflow-wrap:anywhere}.rights-bulk-users small{display:block}
.rights-category legend{padding:0 6px;font-weight:700;font-size:1rem}
.rights-category legend .icon{vertical-align:middle;width:20px;height:20px;margin-right:4px}
.rights-category .check{padding:10px 0;min-height:44px}
.rights-category .check+.check{border-top:1px solid var(--line)}
.rights-category .check>span{min-width:0;overflow-wrap:anywhere}
.rights-category .form-help{display:block;margin-top:4px}
.rights-category .check:has(input:disabled){color:var(--muted)}
@media(max-width:760px){.rights-categories{column-count:1}}
@media(max-width:760px){.school-holiday-row{grid-template-columns:repeat(2,minmax(0,1fr))}.school-holiday-row>.field:first-child{grid-column:1/-1}.school-holiday-row>button{grid-column:1/-1;justify-self:end}}
@media(max-width:760px){.training-player-row{align-items:flex-start;flex-direction:column;gap:10px}.training-presence{gap:5px}.training-presence span{padding:9px;font-size:.8rem}}
.planning-tabs{display:flex;gap:1.25rem;border-bottom:1px solid var(--line);margin-bottom:1.2rem}
.day-row{--day-label-width:135px;width:100%;max-width:calc(var(--day-label-width) + var(--slot-count,4)*340px)}
.day-row[data-slot-count="1"]{--slot-count:1}
.day-row[data-slot-count="2"]{--slot-count:2}
.day-row[data-slot-count="3"]{--slot-count:3}
.slot-actions [data-close-slot],.slot-actions [data-reopen-slot],.slot-actions [data-cancel-slot],.slot-actions [data-assign]{flex-basis:100%}
.slot-actions [data-close-slot],.slot-actions [data-reopen-slot]{white-space:nowrap}
.slot-actions [data-capacity]{white-space:nowrap}
#sales-ranking .sales-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:0}
.sales-ranking-quantity{font-size:1.1rem;font-weight:750;white-space:nowrap}
.sales-ranking-share{display:grid;gap:.3rem;min-width:85px;font-variant-numeric:tabular-nums}
.sales-ranking-track{display:block;height:6px;border-radius:4px;background:var(--surface-soft);overflow:hidden}
.sales-ranking-track>span{display:block;height:100%;background:var(--blue-ink);border-radius:inherit}
#sales-ranking-results th[scope=row]{font-size:.9rem;color:var(--ink);background:transparent;overflow-wrap:anywhere}
@media(max-width:480px){#sales-ranking .sales-stats{grid-template-columns:1fr}.sales-catalogue-tabs{gap:.6rem}.sales-catalogue-tabs .planning-tab{font-size:.85rem}}
@media(max-width:1100px){.day-row{--day-label-width:105px}}
@media(max-width:760px){.day-row{--day-label-width:0px}}
@media(max-width:480px){.day-row{max-width:none}}
html:has(.planning-header){scrollbar-gutter:stable}
.main-content:has(.planning-header){padding-top:0}
.planning-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.65rem 1rem;border-bottom:1px solid var(--line);margin-bottom:1.2rem}
.planning-header>.planning-tabs{margin:0;border-bottom:0;align-self:stretch;min-width:0}
.planning-header-actions{display:flex;flex-wrap:wrap;gap:.65rem;padding:.2rem 0;max-width:100%}
.planning-tab{background:transparent;border:0;border-bottom:3px solid transparent;color:var(--muted);padding:.8rem .2rem;font-weight:650;min-height:44px}
.planning-tab:hover{color:var(--ink);background:var(--surface-soft)}
.planning-tab[aria-selected=true]{color:var(--blue-ink);border-bottom-color:var(--court-inside)}
@media(max-width:760px){.planning-tabs{gap:.6rem}.planning-tab{flex:1;min-width:0;padding:.7rem .2rem;font-size:.85rem}.planning-header>.planning-tabs{width:100%}.planning-header-actions{padding:0 0 .65rem}}

.information-table-tools{display:flex;gap:4px;flex-wrap:wrap;padding:6px 7px;border:1px solid #baceda;border-bottom:0;background:#e9f3f8}
.information-table-tools[hidden]{display:none}
.information-table-tools .btn{font-size:.8rem;padding:5px 8px;min-height:32px}
.rich-information:has(table){overflow-x:auto;max-width:100%}
.rich-information table{table-layout:auto;width:100%;border-collapse:collapse;margin:.6rem 0;font-size:inherit}
.rich-information th,.rich-information td{min-width:12ch;border:1px solid #baceda;padding:.5em .65em;text-align:left;vertical-align:top;color:var(--ink);font-size:inherit;overflow-wrap:anywhere}
.rich-information th{font-weight:750;background:#e9f3f8}
.rich-information tr:last-child td{border-bottom:1px solid #baceda}
.rich-information caption{text-align:left;font-weight:650;margin-bottom:.35em}
.rich-information td:empty::after,.rich-information th:empty::after{content:'\00a0'}
@media print{.rich-information:has(table){overflow:visible;max-width:none}.rich-information table{table-layout:fixed;break-inside:auto}.rich-information th,.rich-information td{min-width:0}.rich-information tr{break-inside:avoid}.rich-information thead{display:table-header-group}}

/* Keep group navigation inside the viewport, including narrow phones. */
@media(max-width:900px){
 .work-group-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 .work-group-nav button{min-width:0;overflow-wrap:anywhere;min-height:44px}
}
.dialog-head{gap:12px}
.dialog-head h2{min-width:0;overflow-wrap:anywhere}
.close-dialog{flex:0 0 44px;min-height:44px}
@media(max-width:760px){
 dialog:not(.mobile-navigation){max-height:calc(100dvh - 24px)}
 .dialog-head{position:sticky;top:0;z-index:2;background:var(--white)}
 .field,input,select,textarea{min-width:0}
 .user-account-editor .form-grid{grid-template-columns:minmax(0,1fr)}
}
/* Readable form controls and touch targets without disabling browser zoom. */
@media(pointer:coarse){
 input:not([type=checkbox]):not([type=radio]),select,textarea,[contenteditable=true]{font-size:16px!important}
 .btn,.btn.small,.information-format-tools .btn,.information-table-tools .btn,.dashboard-widget-move{min-height:44px;min-width:44px}
 .work-tree-row,.work-tree-toggle{min-height:44px}
 .work-tree-toggle{flex-basis:32px;width:32px}
}

/* Shared text editor and approved text colors. */
@media(min-width:761px){
 .shell{grid-template-columns:max-content minmax(0,1fr)}
 .sidebar{min-width:260px;width:max-content}
 .sidebar .nav-btn{white-space:nowrap}
 .sidebar .brand-plate{width:220px;margin-inline:auto}
 .sidebar .profile-link{max-width:228px}
}
.rich-information .text-color-ink,.information-color-picker .text-color-ink{color:#183b50}
.rich-information .text-color-black,.information-color-picker .text-color-black{color:#000000}
.rich-information .text-color-gray,.information-color-picker .text-color-gray{color:#596f7a}
.rich-information .text-color-red,.information-color-picker .text-color-red{color:#b4233e}
.rich-information .text-color-orange,.information-color-picker .text-color-orange{color:#a54800}
.rich-information .text-color-gold,.information-color-picker .text-color-gold{color:#806000}
.rich-information .text-color-green,.information-color-picker .text-color-green{color:#237a48}
.rich-information .text-color-teal,.information-color-picker .text-color-teal{color:#087e8b}
.rich-information .text-color-blue,.information-color-picker .text-color-blue{color:#246787}
.rich-information .text-color-indigo,.information-color-picker .text-color-indigo{color:#4146a3}
.rich-information .text-color-purple,.information-color-picker .text-color-purple{color:#823f9d}
.rich-information .text-color-pink,.information-color-picker .text-color-pink{color:#b13475}

.rich-form-field,.information-text-field{min-width:0;max-width:100%}
/* Retail layout keeps its exit in the sticky heading, including browser fallbacks. */
.cash-fullscreen .shell{display:block}
.cash-fullscreen .sidebar,.cash-fullscreen .mobile-header,.cash-fullscreen #activity-bell{display:none}
.cash-fullscreen .topbar{position:sticky;top:0;z-index:25;background:var(--white);padding:10px 16px;min-height:64px}
.cash-fullscreen .main-content{padding:12px 16px;max-width:none}
.cash-fullscreen .topbar-actions{min-width:0;flex:1;justify-content:flex-end}
.cash-fullscreen .cash-fullscreen-toggle{border-color:var(--court-inside);color:var(--court-inside);background:white;min-height:44px;flex-shrink:0}
.cash-fullscreen .cash-workspace{scroll-margin-top:80px}
/* Leave room for the native fullscreen close button on touch screens (iPad). */
@media(pointer:coarse){
 .cash-fullscreen .topbar .page-heading{padding-left:calc(64px + env(safe-area-inset-left,0px))}
}
@media(max-width:760px){
 .cash-fullscreen.cash-screen .topbar{gap:8px;padding:10px 12px;flex-wrap:nowrap;min-height:64px}
 .cash-fullscreen .topbar .page-heading{flex:1}
 .cash-fullscreen .topbar .page-heading h1{font-size:1.2rem}
 .cash-fullscreen #page-heading-subtitle,.cash-fullscreen .cash-edition-name{display:none}
 .cash-fullscreen .topbar .topbar-actions{flex:0 1 auto;width:auto}
 .cash-fullscreen #page-context{width:auto}
 .cash-fullscreen .cash-fullscreen-toggle{font-size:.82rem;padding:8px 10px}
}
.rich-form-field>textarea[hidden]{display:none}
.rich-form-field .information-rich-editor{min-height:120px;max-height:50vh;overflow:auto}
.information-rich-editor:empty:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}
.information-color-picker{position:relative;margin-inline-start:auto}
.information-format-tools .information-color-toggle{min-width:48px;gap:6px;min-height:36px}
.information-color-mark{position:relative;display:inline-block;width:18px;padding-bottom:4px;font-size:17px;font-weight:800;line-height:20px}
.information-color-line{position:absolute;inset:auto 0 0;height:3px;border-radius:1px;background:currentColor}
.information-color-panel{position:absolute;inset:calc(100% + 6px) 0 auto auto;width:224px;max-width:calc(100vw - 48px);padding:10px;z-index:20;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 8px 24px rgb(24 59 80 / .18)}
.information-color-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:6px}
.information-format-tools .information-color-default{width:100%;min-height:40px;justify-content:flex-start}
.information-format-tools .information-color-swatch{display:grid;place-items:center;width:100%;min-height:44px;padding:8px;border:2px solid transparent;background:#fff}
.information-color-sample{position:relative;display:block;width:22px;height:22px;border-radius:4px;background:currentColor;box-shadow:inset 0 0 0 1px rgb(0 0 0 / .12)}
.information-format-tools .information-color-swatch[aria-pressed=true]{border-color:var(--ink)}
.information-color-swatch[aria-pressed=true] .information-color-sample:after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:16px;font-weight:800}
.information-color-picker button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.rich-editor-dialog{width:min(560px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:1px solid var(--line);border-radius:16px;padding:20px;color:var(--ink)}
.rich-editor-dialog::backdrop{background:rgb(0 0 0 / .35)}
.rich-information{overflow-wrap:anywhere;min-width:0;white-space:normal}
@media(max-width:760px){.information-format-tools .information-color-toggle{min-height:44px}.rich-form-field .information-format-tools{gap:4px}.rich-form-field .information-rich-editor{min-height:110px}}

.dashboard-widget-head h3,.dashboard-widget-head .dashboard-widget-move{color:var(--widget-heading-ink,#173b53)}
.dashboard-color-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin:12px 0}
.dashboard-color-choice{display:flex;align-items:center;gap:10px;font-size:.85rem}
.dashboard-color-choice input[type=color]{width:48px;min-width:48px;height:36px;padding:2px;cursor:pointer}

@media(max-width:760px){
 .cash-tabs{gap:.6rem}
}

/* Full-width stock management: all current articles remain visible. */
.dashboard-widget[data-widget="stock_management"]{grid-column:1/-1}
.dashboard-stock-content{width:100%;min-width:0}
.dashboard-stock-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px}
.dashboard-stock-row{display:grid;grid-template-columns:minmax(0,1fr) auto 32px;align-items:center;gap:8px;min-height:36px;border-bottom:1px solid var(--line);font-size:.85rem}
.dashboard-stock-row>strong{min-width:0;overflow-wrap:anywhere;font-weight:600}
.dashboard-stock-amount{font-variant-numeric:tabular-nums;white-space:nowrap}
.dashboard-stock-row>.btn{min-width:32px;min-height:30px;padding:2px 6px}
@media(max-width:1050px){.dashboard-widget[data-widget="stock_management"]{height:auto;min-height:var(--dashboard-widget-height,280px)}.dashboard-stock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.dashboard-stock-grid{grid-template-columns:minmax(0,1fr)}}
@media(pointer:coarse){.dashboard-stock-row{min-height:48px}.dashboard-stock-row>.btn{min-height:44px}}
.dashboard-grid:not(.dashboard-editing) .dashboard-stock-layout-toggle{display:none}
.dashboard-stock-layout-toggle{flex-shrink:0;white-space:nowrap}
.dashboard-widget[data-widget="stock_management"][data-stock-layout="vertical"]{grid-column:auto;height:auto;min-height:var(--dashboard-widget-height,280px)}
.dashboard-widget[data-stock-layout="vertical"] .dashboard-stock-grid{grid-template-columns:minmax(0,1fr)}

/* Stamp from the approved cashier preview: only the image is faded. */
.cash-product-grid .pos-product.is-sold-out{opacity:1;background:white;border-color:var(--accent-border);cursor:not-allowed}
.cash-product-grid .pos-product.is-sold-out:active{transform:none}
.cash-product-grid .is-sold-out .product-image,.cash-product-grid .is-sold-out .product-placeholder{opacity:.4}
.cash-product-grid .pos-product>.cash-sold-out-stamp{position:absolute;z-index:2;top:calc(10px + var(--product-image-size,68px) * .45);left:50%;width:88%;max-width:112px;margin:0;padding:4px 2px;border:3px double #ed0000;border-radius:0;background:rgba(255,255,255,.88);color:#ed0000;font-family:Arial,sans-serif;font-size:clamp(16px,1.1vw,20px);font-weight:800;line-height:1;letter-spacing:.02em;text-align:center;white-space:nowrap;transform:translateX(-50%) rotate(-14deg);pointer-events:none}

.cash-product-grid .pos-product>.cash-keg-count,.cash-product-grid .pos-product>.cash-stock-count{position:absolute;top:7px;right:7px;z-index:3;display:flex;align-items:center;gap:2px;min-width:32px;height:23px;margin:0;padding:2px 5px;border:1px solid #cbdfe9;border-radius:12px;background:#eef6fa;color:#245f80;font-size:11px;font-weight:700;line-height:1}
.cash-keg-count svg,.cash-stock-count svg{width:9px;height:13px;flex:none}
.cash-product-grid .has-stock-count .cash-product-count{right:auto;left:7px}

.login-email-control{position:relative;min-width:0}
.login-email-suggestions{position:absolute;top:100%;left:0;right:0;z-index:30;max-height:220px;overflow-y:auto;border:1px solid var(--line);border-radius:8px;background:white;box-shadow:0 6px 18px rgba(0,0,0,.14);padding:4px}
.login-email-suggestions button{display:block;width:100%;min-height:44px;border:0;border-radius:5px;background:white;padding:10px 12px;text-align:left;font:inherit;color:var(--ink);overflow-wrap:anywhere;cursor:pointer}
.login-email-suggestions button:hover,.login-email-suggestions button[aria-selected="true"]{background:#eef6fa}


dialog:has(.sales-poster-preview){width:min(1000px,calc(100vw - 28px))}.sales-poster-preview{display:grid;place-items:center;margin:1rem auto 0;max-width:760px;background:var(--surface-soft)}.sales-poster-preview img{display:block;width:auto;height:auto;max-width:100%;max-height:65vh;margin:auto;box-shadow:0 3px 12px #193b5014}
@media(max-width:600px){.sales-poster-preview img{width:100%;max-height:none}}

.keg-history th:first-child{min-width:220px;max-width:300px}.keg-history td:nth-child(2){min-width:175px}.keg-history td{vertical-align:top}.keg-history ul{padding-left:20px;font-weight:normal}.keg-history p.small{font-weight:normal}
#keg-history-page{grid-template-columns:minmax(0,1fr)}#keg-history-content{min-width:0}.keg-history-summary{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:600px){.keg-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.keg-history-summary .stat:last-child{grid-column:1/-1}}
.keg-mobile-counts{display:none}@media(max-width:600px){.keg-mobile-counts{display:block;font-weight:normal;margin:8px 0}}

.cash-product-toolbar{flex-wrap:wrap}#pos-tournament-entry{white-space:nowrap}
#cash-tournament-entry-form fieldset{min-width:0;padding:12px 16px;border:1px solid var(--line);border-radius:10px}
#cash-tournament-entry-form .check{align-items:center;min-height:44px;cursor:pointer}
.tournament-entry-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:28px;align-items:start}dialog:has(#cash-tournament-entry-form){width:min(1120px,calc(100vw - 28px))}.tournament-entries-panel{min-width:0;grid-template-columns:minmax(0,1fr);border-left:1px solid var(--line);padding-left:24px}#tournament-entry-list{min-width:0}.tournament-entries-panel .sales-table-wrap{max-height:52vh;overflow:auto}.tournament-entries-panel th{overflow-wrap:anywhere;max-width:220px}.tournament-entries-panel td:last-child{white-space:nowrap}@media(max-width:800px){.tournament-entry-layout{grid-template-columns:minmax(0,1fr)}.tournament-entries-panel{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}.tournament-entries-panel .sales-table-wrap{max-height:50vh}}
#cash-tournament-entry-form input[type=radio]{width:19px;height:19px;min-height:19px;padding:0;margin:0;flex:0 0 19px;accent-color:var(--court-inside)}
#cash-tournament-entry-form .check span{white-space:nowrap}
.cash-other-help{line-height:1.5}.cash-other-help ol{margin:.75rem 0;padding-left:1.4rem}.cash-other-help li+li{margin-top:.5rem}.cash-other-help p{font-size:.85rem}

.cash-receipt-reminder{border:3px solid #ad6200;border-radius:12px;padding:20px;background:#fff6df;color:#442900;text-align:center}.cash-receipt-number{font-size:clamp(1.6rem,7vw,3rem);font-weight:800;line-height:1.3;overflow-wrap:anywhere;margin:12px 0;user-select:all}.cash-receipt-reminder .btn{white-space:normal}

.match-photo-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.match-photo-gallery img{width:100%;height:160px;object-fit:cover;border-radius:10px}

/* Keep the start and finish time inputs aligned when the closing checkbox is present. */
.slot-time-fields{align-items:start}.slot-end-fields{align-content:start;gap:.5rem}

.slot-time-fields input[name="start"],.slot-end-fields input[name="end"]{height:48px}

.tracking-tabs{flex-wrap:wrap;gap:.5rem 1.25rem}.tracking-tabs .planning-tab{flex:0 1 auto}@media(max-width:760px){.tracking-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 .75rem}.tracking-tabs .planning-tab{width:100%}}
#tracking-scope-field{margin-bottom:1rem}


#tracking-volunteer-mode-field{margin-bottom:1rem}

/* Unknown daily programming: keep all volunteer actions and reservations. */
.slots-grid:has(>.schedule-pending){border:1px solid #b86708;border-radius:0 11px 11px 0;overflow:hidden;background:#b86708}
.slot.schedule-pending{border:0;background:#fff8e8;box-shadow:none}
@media(max-width:760px){.slots-grid:has(>.schedule-pending){border-radius:0 0 11px 11px}}
.slot.schedule-pending .schedule-pending-notice{color:#7a4100;background:#fff0cf;border-radius:8px;padding:.65rem .4rem;font-size:clamp(10px,2.8vw,12px);white-space:nowrap}
