:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f7f8fb;background:#0d1b2e;font-synthesis:none;--muted:#aebdd0;--orange:#ffae7b;--line:#ffffff20;--panel:#ffffff07}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f9b17d;outline-offset:3px}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1.2px;margin-bottom:10px}h2{font-size:20px;letter-spacing:-.5px}h3{font-size:16px}small,.muted{color:var(--muted)}.skip-link{position:fixed;left:16px;top:-100px;background:#fff;color:#14243a;padding:12px;z-index:20000}.skip-link:focus{top:16px}.loading{display:grid;place-content:center;justify-items:center;gap:16px;min-height:80vh;color:var(--muted)}.workspace{max-width:1550px;margin:auto;padding:0 38px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:100px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;align-items:center}.brand img{width:43px;height:43px}.brand strong{font-size:23px;font-weight:500;letter-spacing:-1px}.brand strong b{font-weight:800;color:var(--orange)}.brand small{display:block;font-size:11px;letter-spacing:1.2px;margin-top:4px;text-transform:uppercase}.top-actions{display:flex;align-items:center;gap:10px}.top-actions>span{font-size:12px;color:var(--muted);margin-right:12px}.icon-button{display:grid;place-items:center;min-width:42px;height:42px;border:1px solid var(--line);border-radius:12px;color:#e8eef7;background:#ffffff06}.nav{display:flex;gap:6px;padding:17px 0;border-bottom:1px solid var(--line);overflow:auto}.nav button{display:flex;align-items:center;gap:9px;white-space:nowrap;border:0;border-radius:10px;padding:12px 17px;background:none;color:#b9c6d7;font-size:13px;font-weight:650}.nav button.active{background:#ffad771b;color:#ffd2b2}.nav button:hover{background:#ffffff0a}.nav .count{background:#ffffff14;padding:3px 6px;border-radius:5px;font-size:10px}main.content{padding:30px 0 40px}.page-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--orange);font-weight:750;display:block;margin-bottom:10px}.page-title p{margin:0;font-size:13px;color:var(--muted);line-height:1.7}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:10px 16px;border:1px solid transparent;border-radius:10px;font-size:12px;font-weight:750;line-height:1.4}.primary{color:#251c17;background:#ffad77}.primary:hover{background:#ffc49b}.secondary{border-color:#ffffff25;background:#ffffff08;color:#e4ebf5}.danger{border-color:#ff999944;background:#ff999913;color:#ffc2bd}.text-button{display:inline-flex;align-items:center;gap:7px;border:0;background:none;color:var(--orange);font-size:12px;padding:6px 0}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:25px}.metric{position:relative;padding:20px 21px;background:linear-gradient(130deg,#ffffff0c,#ffffff03);border:1px solid var(--line);border-radius:16px}.metric span{display:block;color:#b9c5d6;font-size:12px;margin-bottom:13px}.metric strong{font-size:27px;letter-spacing:-.7px;display:block}.metric small{display:block;font-size:10px;margin-top:12px}.metric .metric-icon{position:absolute;top:17px;right:18px;display:grid;place-items:center;color:#ffbf93;background:#ffad7715;width:32px;height:32px;border-radius:9px}.metric-icon svg{width:18px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:22px;align-items:start}.panel{padding:24px;border:1px solid var(--line);border-radius:17px;background:var(--panel);min-width:0}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.panel-title h2{margin:0}.panel-title small{font-size:11px}.search{position:relative;flex:1;min-width:160px}.search svg{position:absolute;left:13px;top:12px;width:18px;color:var(--muted)}input,select,textarea{width:100%;color:#eef2f8;border:1px solid #ffffff28;border-radius:9px;background:#0c1b2dc9;min-height:43px;padding:11px 12px;font-size:13px}select option{background:#14243a}input::placeholder,textarea::placeholder{color:#8292a7}.search input{padding-left:40px}label{display:grid;gap:9px;font-size:12px;color:#c9d4e3}label small{font-size:10px}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.chips{display:flex;gap:8px;overflow:auto;padding:0 0 17px}.chips button{border:1px solid var(--line);background:none;color:#bfcada;border-radius:8px;padding:8px 12px;white-space:nowrap;font-size:11px}.chips .active{background:#ffad771b;border-color:#ffad7750;color:#ffd2b2}.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.product{position:relative;text-align:left;border:1px solid var(--line);border-radius:13px;padding:17px;background:#ffffff04;color:#fff;min-height:150px;display:flex;flex-direction:column;align-items:start}.product:hover{border-color:#ffad7780;background:#ffad7709}.product-symbol{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#b5cff010;color:#b9d1e9;margin-bottom:16px}.product-symbol svg{width:23px;height:23px}.product strong{font-size:13px;line-height:1.5;margin-bottom:7px}.product small{font-size:10px}.product .price{color:#ffbf93;font-weight:750;font-size:15px;margin-top:15px}.product .add{position:absolute;bottom:18px;right:15px;font-size:22px;color:#ffbf93}.cart-panel{position:sticky;top:18px}.cart-panel h2{font-size:19px}.cart-list{display:grid;gap:15px;margin:20px 0;max-height:300px;overflow:auto}.cart-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding-bottom:15px;border-bottom:1px solid var(--line)}.cart-item strong{font-size:12px;display:block;line-height:1.5}.cart-item small{font-size:11px;display:block;margin-top:5px}.quantity{display:flex;align-items:center;gap:10px}.quantity button{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--line);border-radius:7px;color:#dce5f2;background:#ffffff08}.quantity span{font-size:12px;min-width:12px;text-align:center}.cart-total{display:flex;justify-content:space-between;align-items:center;padding:18px 0}.cart-total strong{font-size:26px;color:#ffd0b0;letter-spacing:-.7px}.cart-total span{font-size:12px;color:var(--muted)}.cart-panel .button.primary{width:100%;min-height:49px}.payments{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:15px 0}.payments label{cursor:pointer;display:block;position:relative}.payments input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}.payments span{display:block;text-align:center;padding:11px 5px;border:1px solid var(--line);border-radius:8px;font-size:11px;color:#b8c6d8}.payments input:checked+span{border-color:#ffad7760;background:#ffad7718;color:#ffd0af}.payments input:focus-visible+span{outline:3px solid #ffad77}.hint{font-size:11px;line-height:1.75;color:var(--muted);margin:14px 0 0}.empty{text-align:center;padding:42px 18px;color:var(--muted)}.empty svg{width:35px;height:35px;margin-bottom:14px;color:#8ea8c5}.empty h3{color:#e2eaf5;margin-bottom:9px}.empty p{font-size:12px;line-height:1.8;max-width:420px;margin:0 auto 15px}.demo-banner,.connection-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;padding:13px 17px;background:#ffad7710;border:1px solid #ffad772e;border-radius:10px;margin-top:17px;line-height:1.7;color:#f1c6a8}.connection-banner{margin:0 0 20px;background:#ff999910;color:#ffd0ca}.demo-banner a{text-decoration:underline;white-space:nowrap}.footer{display:flex;align-items:center;justify-content:space-between;padding:0 0 28px;font-size:10px;color:#90a2b8;gap:15px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#7ad4a8;margin-right:6px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:#91a4bd;font-weight:600;padding:0 13px 15px}td{border-top:1px solid var(--line);padding:17px 13px;color:#d9e3f0}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{padding-right:0}td strong{display:block;font-size:12px}td small{display:block;font-size:10px;margin-top:6px}.badge{display:inline-flex;padding:5px 8px;border-radius:6px;font-size:10px;background:#ffffff10;color:#c3cfdf}.badge.green{background:#71cf9d19;color:#9fdfb7}.badge.orange{background:#ffad771b;color:#ffd1ad}.badge.red{background:#ff999918;color:#ffc1ba}.avatar{display:grid;place-items:center;background:#9fbefa1c;color:#c4dcff;border:1px solid #a4c0ff20;width:38px;height:38px;border-radius:11px;font-size:12px;font-weight:750;flex:none}.person{display:flex;align-items:center;gap:12px}.presence-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.presence-card{padding:20px}.presence-card .person{margin-bottom:19px}.presence-card strong{font-size:13px}.presence-card small{display:block;font-size:11px;margin-top:5px}.presence-card .visit-detail{font-size:11px;color:var(--muted);line-height:1.9;margin-bottom:16px}.presence-card .button{width:100%}.qr-callout{display:flex;align-items:center;gap:22px;padding:24px;background:linear-gradient(115deg,#ffad7718,#ffffff03);border:1px solid #ffad7730;border-radius:17px;margin-bottom:24px}.qr-callout>svg{width:42px;height:42px;color:#ffbe91}.qr-callout div{flex:1}.qr-callout h2{margin-bottom:8px}.qr-callout p{font-size:12px;line-height:1.8;color:var(--muted);margin:0}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid .wide{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.settings-panel{max-width:700px}.section-gap{margin-top:24px}.month-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.month-summary label{max-width:170px}.report-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.bars{display:flex;align-items:end;gap:7px;min-height:190px;padding-top:20px;overflow:auto}.bar-column{display:flex;flex-direction:column;align-items:center;justify-content:end;gap:9px;flex:1;min-width:22px;max-width:70px;height:180px}.bar-column .bar{width:100%;max-width:25px;min-height:3px;background:linear-gradient(#ffbf93,#e97b40);border-radius:4px 4px 0 0}.bar-column small{font-size:9px;white-space:nowrap}.chart-note{font-size:10px;line-height:1.8;color:var(--muted);margin:18px 0 0}.split-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.split-row:last-child{border:0}.split-row span{color:var(--muted)}.money-negative{color:#ffb4ac}.money-positive{color:#9bdbb3}.filter-date{max-width:160px}.student-list{display:grid;gap:0}.student-list .student-row{display:flex;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid var(--line)}.student-row .person{flex:1;min-width:0}.student-row strong{font-size:13px}.student-row small{font-size:10px;display:block;margin-top:5px}.student-row .button{min-height:36px;padding:7px 12px;font-size:11px}.auth-error{font-size:12px;line-height:1.8;color:#af3327}.demo-link{display:inline-flex;align-items:center;gap:8px;margin-top:20px;font-size:12px;color:#a24b25}dialog{width:min(560px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #ffffff35;border-radius:20px;background:#1c2c42;color:#edf2f8;padding:28px;box-shadow:0 25px 90px #0009}dialog::backdrop{background:#07111ed9;backdrop-filter:blur(5px)}dialog h2{font-size:22px;margin-bottom:10px}dialog>p{font-size:12px;color:var(--muted);line-height:1.9}.modal-header{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:22px}.modal-header h2{margin:0}.modal-header .icon-button{width:33px;height:33px;min-width:33px;font-size:23px}.dialog-actions{display:flex;justify-content:end;gap:10px;margin-top:24px}.scanner-video{width:100%;max-height:300px;aspect-ratio:4/3;object-fit:cover;background:#081321;border-radius:12px;margin-bottom:15px}.scan-status{font-size:11px;color:#ffcead;line-height:1.8;margin-bottom:16px}.qr-result{padding:20px;background:#ffffff07;border:1px solid var(--line);border-radius:13px;margin:16px 0}.qr-result .person{margin-bottom:17px}.qr-result .person strong{font-size:17px}.qr-result .person small{font-size:11px;display:block;margin-top:6px}.qr-result .entry-price{font-size:30px;color:#ffbf93;margin:12px 0}.qr-card{text-align:center}.qr-card canvas{max-width:100%;height:auto;background:white;padding:8px;border-radius:12px}.qr-card h3{margin:18px 0 7px;font-size:23px}.qr-card .hint{max-width:340px;margin:15px auto}.receipt{background:#fffefa;color:#14243a;padding:24px;border-radius:10px}.receipt h3{text-align:center;font-size:23px}.receipt .muted,.receipt small{color:#607084}.receipt table td{border-color:#14243a20;color:#14243a}.receipt .split-row{border-color:#14243a20}.receipt .split-row span{color:#607084}.receipt .total{font-size:23px;font-weight:800}.receipt-note{text-align:center;font-size:10px;line-height:1.8;color:#607084;margin-top:22px}.voided{text-decoration:line-through;opacity:.65}.toast-root{position:fixed;z-index:10000;top:max(20px,env(safe-area-inset-top));right:max(20px,env(safe-area-inset-right));display:grid;gap:10px;width:min(380px,calc(100vw - 32px));pointer-events:none}.oxen-toast{--toast-accent:#9cbbff;position:relative;display:grid;grid-template-columns:22px minmax(0,1fr) 24px;gap:13px;overflow:hidden;min-height:76px;padding:17px 12px 20px 17px;border:1px solid #ffffff25;border-left:3px solid var(--toast-accent);border-radius:15px;background:#2b3749;color:#f7f8fb;box-shadow:0 12px 40px #050b164d;font:13px/1.55 sans-serif;pointer-events:auto}.oxen-toast--success{--toast-accent:#69d9a5}.oxen-toast--warning{--toast-accent:#efc275}.oxen-toast--error{--toast-accent:#ff9696}.oxen-toast__symbol{display:grid;place-items:center;width:22px;height:22px;border:2px solid var(--toast-accent);border-radius:50%;color:var(--toast-accent);font-size:13px;font-weight:800}.oxen-toast__close{width:24px;height:24px;padding:0;border:0;background:transparent;color:#d6deea;font-size:23px;line-height:1}.oxen-toast__copy{overflow-wrap:anywhere}.oxen-toast__progress{position:absolute;left:0;bottom:0;height:3px;background:var(--toast-accent);animation:toast-count 5.5s linear forwards}@keyframes toast-count{from{width:100%}to{width:0}}[hidden]{display:none!important}
@media(min-width:1100px){.product:nth-child(5n+2) .product-symbol{color:#e5cba3;background:#e5cba313}.product:nth-child(5n+3) .product-symbol{color:#b5d2aa;background:#b5d2aa13}}@media(max-width:1150px){.workspace{padding:0 25px}.layout{grid-template-columns:minmax(0,1fr) 320px;gap:17px}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.presence-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric strong{font-size:24px}.metric .metric-icon{display:none}.panel{padding:20px}}@media(max-width:850px){.workspace{padding:0 20px}.top-actions>span{display:none}.topbar{min-height:85px}.nav button{padding:10px 13px;font-size:12px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.layout{grid-template-columns:1fr}.products{grid-template-columns:repeat(3,minmax(0,1fr))}.cart-panel{position:static}.two-columns,.report-grid{grid-template-columns:1fr}.page-title h1{font-size:29px}.qr-callout{flex-wrap:wrap}.qr-callout .button{margin-left:64px}.footer>span:last-child{display:none}}@media(max-width:550px){.workspace{padding:0 15px}.topbar{min-height:78px}.brand img{width:37px;height:37px}.brand strong{font-size:22px}.brand small{font-size:9px;letter-spacing:.6px}.top-actions{gap:6px}.top-actions .icon-button{min-width:35px;width:35px;height:36px;border-radius:9px}.top-actions .icon-button svg{width:18px}.nav{gap:2px;padding:12px 0}.nav button{gap:7px;padding:10px;font-size:11px}.nav svg{width:18px}.nav button .count{display:none}main.content{padding:24px 0}.page-title{align-items:start;flex-wrap:wrap;gap:15px}.page-title p{font-size:12px}.page-title h1{font-size:28px}.page-title .button{font-size:11px}.eyebrow{font-size:9px;letter-spacing:1.5px}.metric{padding:17px 15px}.metric span{font-size:11px}.metric strong{font-size:23px}.metric small{font-size:9px;line-height:1.7}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product{padding:14px;min-height:148px}.panel{padding:18px;border-radius:14px}.panel-title h2{font-size:18px}.presence-grid{grid-template-columns:1fr}.qr-callout{padding:20px;gap:14px}.qr-callout>svg{width:34px;height:34px}.qr-callout div{min-width:190px}.qr-callout .button{width:100%;margin:0}.qr-callout h2{font-size:18px}.qr-callout p{font-size:11px}.form-grid{grid-template-columns:1fr;gap:16px}.form-grid .wide{grid-column:auto}.toolbar{gap:10px}.toolbar .search{min-width:100%;order:2}input,select,textarea{font-size:16px}.student-row{flex-wrap:wrap}.student-row .person{min-width:160px}.student-row .button{font-size:10px;padding:6px 9px}.demo-banner{font-size:10px;align-items:start}.demo-banner a{white-space:normal;text-align:right}.dialog-actions{flex-wrap:wrap}.dialog-actions .button{flex:1}dialog{padding:22px}.footer{font-size:9px}.toast-root{top:12px;right:16px}.month-summary{width:100%;justify-content:space-between}.month-summary label{flex:1;max-width:none}.qr-result .entry-price{font-size:27px}}@media print{body{background:#fff;color:#14243a}.workspace,.toast-root,.skip-link,#confirm-dialog{display:none!important}dialog[open]{display:block!important;position:static;width:100%;max-width:100%;max-height:none;overflow:visible;border:0;background:#fff;color:#14243a;box-shadow:none;padding:0}dialog::backdrop{display:none}.modal-header,.dialog-actions,.no-print{display:none!important}.receipt{padding:0}.qr-card{padding:24px}.qr-card .hint{color:#607084}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

/* Same authenticated shell as OxenTest src/family-navigation.scss and OxenDers workspace-navigation. */
.family-workspace {
  display: block;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 28px clamp(12px, 1.5vw, 32px) 52px;
  background: #202938;
  color: #f7f8fb;
}

.family-workspace__header,
.family-workspace__nav {
  max-width: 1920px;
  margin-inline: auto;
  border: 1px solid #ffffff25;
  border-radius: 24px;
  background: linear-gradient(130deg, #3a485c, #344054);
  box-shadow: inset 0 1px 0 #ffffff12;
}

.family-workspace__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 138px;
  padding: 22px 30px;
}

.family-workspace__identity { display: flex; align-items: center; min-width: 0; gap: 18px; }
.family-workspace__avatar { display: grid; place-items: center; flex: none; width: 76px; height: 76px; border: 1px solid #ffffff24; border-radius: 20px; background: linear-gradient(145deg, #a9d6ff38, #a9d6ff12); color: #e4f4ff; font-size: 25px; font-weight: 800; text-transform: uppercase; }
.family-workspace__person { display: grid; min-width: 0; gap: 3px; }
.family-workspace__person > span { color: #ffad77; font-size: 12px; font-weight: 800; letter-spacing: .17em; }
.family-workspace__person strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 clamp(24px, 2.25vw, 37px) Manrope, sans-serif; letter-spacing: -.04em; }
.family-workspace__person small { color: #c2cbd7; font-size: 16px; }
.family-workspace__actions { display: flex; gap: 10px; flex: none; }
.family-workspace__actions :is(a, button) { display: grid; place-items: center; width: 66px; height: 66px; padding: 0; border: 1px solid #ffffff24; border-radius: 17px; background: #ffffff0b; color: #f8f3ef; }
.family-workspace__actions :is(a, button):hover { border-color: #ffad7780; background: #ffad7721; }
.family-workspace__actions svg { font-size: 25px; }

.family-workspace__nav { display: flex; gap: 12px; margin-top: 28px; padding: 14px; overflow-x: auto; scrollbar-width: thin; }
.family-workspace__nav :is(a, button) { position: relative; display: flex; flex: 1 0 0; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-width: 142px; min-height: 98px; padding: 10px; border: 1px solid #ffffff2a; border-radius: 16px; background: linear-gradient(180deg, #ffffff09, #0e1b2a12); color: #f0f2f6; font-size: 14px; font-weight: 750; text-align: center; }
.family-workspace__nav :is(a, button):hover, .family-workspace__nav .active { border-color: #ffad778e; background: linear-gradient(180deg, #ffad7729, #ffad770d); color: #ffe1ca; }
.family-workspace__nav svg { color: #ffad77; font-size: 23px; }
.family-workspace__nav small { position: absolute; top: 9px; right: 10px; min-width: 20px; padding: 2px 5px; border-radius: 6px; background: #ffad7736; font-size: 10px; }
.family-workspace__links { display: flex; justify-content: flex-end; gap: 18px; max-width: 1920px; margin: 10px auto 0; color: #aebed0; font-size: 12px; font-weight: 700; }
.family-workspace__links a:hover { color: #ffbf94; }
.family-workspace .page-host { min-height: 0; background: transparent; }
.family-workspace .page-container { max-width: 1920px; padding: 30px 0 60px; }
.family-workspace .page-heading h1 { font-size: clamp(32px, 3vw, 46px); }

.family-workspace :is(a, button):focus-visible { outline: 2px solid #ffbf94; outline-offset: 3px; }

@media (max-width: 950px) {
  .family-workspace__header { min-height: 105px; padding: 18px; }
  .family-workspace__avatar { width: 58px; height: 58px; font-size: 20px; }
  .family-workspace__actions :is(a, button) { width: 48px; height: 48px; }
  .family-workspace__nav { margin-top: 16px; }
}

@media (max-width: 600px) {
  .family-workspace { padding: 12px 12px 36px; }
  .family-workspace__header { gap: 10px; border-radius: 18px; padding: 12px; }
  .family-workspace__identity { gap: 9px; }
  .family-workspace__avatar { width: 43px; height: 43px; border-radius: 13px; font-size: 15px; }
  .family-workspace__person > span { font-size: 9px; }
  .family-workspace__person strong { font-size: 17px; }
  .family-workspace__person small { display: none; }
  .family-workspace__actions { gap: 5px; }
  .family-workspace__actions :is(a, button) { width: 37px; height: 37px; border-radius: 11px; }
  .family-workspace__actions svg { font-size: 19px; }
  .family-workspace__nav { gap: 8px; padding: 9px; border-radius: 18px; }
  .family-workspace__nav :is(a, button) { flex-basis: 120px; min-width: 120px; min-height: 77px; font-size: 12px; }
  .family-workspace__nav svg { font-size: 19px; }
  .family-workspace .page-container { padding-top: 22px; }
}


.workspace.family-workspace{max-width:none}.family-workspace .content,.family-workspace .footer,.family-workspace .demo-banner,.workspace-switcher{max-width:1920px;margin-inline:auto}.family-workspace .content{padding-top:28px}.family-workspace .panel,.family-workspace .metric{background:linear-gradient(145deg,#ffffff0b,#ffffff03),#323f52eb;border-color:#ffffff25;border-radius:20px}.family-workspace h1{font-size:clamp(30px,3vw,44px)}.family-workspace__nav svg{width:25px;height:25px}.workspace-switcher{display:flex;align-items:center;gap:18px;padding-top:20px;flex-wrap:wrap}.workspace-switcher label{display:flex;align-items:center;gap:12px;font-weight:700;font-size:13px}.workspace-switcher select{min-width:220px;max-width:400px;margin:0}.workspace-switcher .hint{margin:0}.family-quick-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.family-quick-menu :is(button,a){display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px 8px;border:1px solid #ffffff25;border-radius:16px;background:#ffffff08;color:inherit}.family-quick-menu svg{color:#ffad77}.family-workspace .family-workspace__nav{margin-bottom:8px}.family-workspace .product{background:#ffffff06}.family-workspace .product:hover{background:#ffad7718}.family-workspace .page-title{padding:8px 0 20px}.family-workspace__actions button:disabled{opacity:.45}@media(max-width:600px){.workspace-switcher{gap:10px;padding-top:16px}.workspace-switcher label{width:100%;display:grid;gap:7px}.workspace-switcher select{min-width:0;width:100%;max-width:none}.workspace-switcher .hint{font-size:11px}.family-workspace .content{padding-top:20px}.family-workspace__nav svg{width:21px;height:21px}.family-quick-menu{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Q822: 80 mm roll, 72 mm printable content; QR cards keep their own layout. */
.printer-model{display:grid;gap:6px;padding:16px;border:1px solid #ffad7745;background:#ffad7710;border-radius:12px;margin-bottom:22px}.printer-model strong{font-size:18px}.printer-model span{font-size:12px;color:var(--muted)}.printer-checkbox{display:flex;align-items:center;gap:10px}.printer-checkbox input{width:19px;height:19px;min-height:0;accent-color:var(--orange)}.printer-help{font-size:12px;line-height:1.8;margin-top:24px;border-top:1px solid var(--line);padding-top:20px;color:var(--muted)}.printer-help strong{color:#edf2f8}.printer-help a{color:var(--orange);text-decoration:underline}.printer-help p{margin:10px 0}.receipt{width:72mm;max-width:100%;margin:0 auto;border-radius:0;padding:0;color:#000;background:white;font-family:Arial,sans-serif;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.receipt h3{font-size:18px;padding:14px 0 7px;margin:0;color:#000}.receipt .split-row{padding:9px 0;font-size:11px;gap:10px;align-items:start;border-color:#999}.receipt .split-row span{color:#222;flex:0 1 40%}.receipt .split-row strong{text-align:right;min-width:0;overflow-wrap:anywhere}.receipt table{table-layout:fixed;white-space:normal;font-size:12px}.receipt table td{padding:11px 0;vertical-align:top;border-color:#999;color:#000}.receipt table td:first-child{width:70%;padding-right:8px;overflow-wrap:anywhere}.receipt table td:last-child{width:30%;text-align:right;white-space:nowrap}.receipt small{font-size:10px;color:#333}.receipt .total{font-size:17px}.receipt .total span{color:#000}.receipt-void{border:2px solid #000;padding:8px;text-align:center;font-weight:800;margin:10px 0;color:#000}.receipt-sale-note{border-top:1px dashed #555;font-size:11px;padding-top:10px;white-space:pre-wrap}.receipt-note{font-size:10px;color:#222;margin:14px 0;padding-bottom:14px}.receipt-ticket{border-top:1px dashed #333;margin-top:14px;padding-top:14px;text-align:center;color:#000}.receipt-ticket strong{display:block;font-size:12px}.receipt-ticket img{display:block;width:45mm;height:45mm;max-width:100%;margin:8px auto;image-rendering:pixelated}.receipt-ticket p{font-size:10px;line-height:1.5;margin:8px 0}.receipt-ticket p[role=status]{font-size:12px}.receipt .button{color:#14243a;border-color:#b8c2cf;background:#f0f3f6}.receipt-ticket .button{font-size:12px}.receipt .no-print{color:#14243a}#modal:has(.receipt){background:#fff;color:#14243a}#modal:has(.receipt) .modal-header .icon-button{color:#14243a;border-color:#14243a30}#modal:has(.receipt)>.hint{color:#536276}#modal:has(.receipt) .dialog-actions .secondary{color:#14243a;border-color:#14243a30;background:#f1f4f7}
@media print{body.printing-receipt{background:#fff;color:#000}body.printing-receipt dialog[open]{width:72mm!important;margin:0!important;padding:0!important;inset:auto!important}body.printing-receipt .receipt{width:72mm;max-width:none;padding:0;margin:0;font-size:12px;print-color-adjust:exact;-webkit-print-color-adjust:exact}body.printing-receipt .receipt h3{padding-top:0}body.printing-receipt .receipt tr,body.printing-receipt .receipt-ticket,body.printing-receipt .receipt .split-row{break-inside:avoid}body.printing-receipt .receipt .receipt-note{padding-bottom:0}}

/* Library occupancy: counts describe seats separately from students inside. */
.library-actions{display:flex;gap:10px;flex-wrap:wrap}.library-section{margin-top:30px}.library-section>.panel-title{align-items:start}.library-section .panel-title .hint{margin-top:7px}.library-tables{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.library-table{padding:20px}.library-table>header{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:18px}.library-table h3{font-size:18px;margin:0 0 6px;overflow-wrap:anywhere}.library-table header div>span{color:var(--muted);font-size:11px}.library-table .badge{white-space:nowrap}.library-seats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.library-seat{display:flex;align-items:start;gap:9px;text-align:left;min-height:82px;min-width:0;padding:12px 10px;border:1px dashed #75d2a64d;border-radius:11px;background:#69d9a509;color:#b3e7cd}.library-seat:hover{border-color:#9ee1be;background:#69d9a516}.library-seat.occupied{border-style:solid;border-color:#ffae7b45;background:#ffae7b0c;color:#ffe1c9}.library-seat.occupied:hover{background:#ffae7b1a;border-color:#ffae7b88}.seat-number{display:grid;place-items:center;flex:none;border:1px solid currentColor;border-radius:6px;min-width:24px;height:24px;font-size:11px;font-weight:700;opacity:.8}.library-seat>span:last-child{min-width:0}.library-seat strong{display:block;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.library-seat small{display:block;font-size:10px;color:inherit;opacity:.75;line-height:1.5;margin-top:6px}.presence-card .person{align-items:start}.presence-card .person>div{min-width:0;overflow-wrap:anywhere}.presence-actions{display:flex;gap:8px;flex-wrap:wrap}.presence-actions>.button{flex:1;min-width:120px}.library-policy{border:1px solid #ffae7b30;border-radius:12px;padding:18px;background:#ffae7b08}.library-policy p{font-size:12px;line-height:1.75;color:var(--muted)}.table-editor-row{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:14px;padding:16px;border:1px solid var(--line);border-radius:12px;margin:0 0 14px;min-width:0}.table-editor-row legend{padding:0 5px;color:var(--muted);font-size:11px}.table-editor-row .text-button{justify-self:end}.table-editor-row .printer-checkbox{font-size:11px}.table-editor-row input{min-width:0}#modal:has(#library-config-form){width:min(700px,calc(100% - 28px))}.library-metrics .metric small{line-height:1.6}
@media(max-width:1150px){.library-tables{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.library-tables{grid-template-columns:1fr}.library-table{padding:18px}.library-seat{min-height:80px}.library-section>.panel-title{gap:10px}.library-actions{width:100%}.library-actions>.button{flex:1}.presence-actions>.button{min-width:110px}.table-editor-row{grid-template-columns:minmax(0,1fr) 82px;padding:12px}.library-policy{padding:15px}.library-metrics .metric strong{font-size:28px}}
/* Library admission stays available alongside the cafe catalog. */
.sale-entry{margin-bottom:26px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.sale-entry-card{display:flex;align-items:center;gap:18px;width:100%;padding:22px;border:1px solid #ffad7766;border-radius:15px;background:linear-gradient(115deg,#ffad7720,#ffad7705);color:#f7f8fb;text-align:left}
.sale-entry-card:hover{border-color:#ffbf93;background:#ffad7724}
.sale-entry-icon{display:grid;place-items:center;flex:none;width:50px;height:50px;border-radius:13px;background:#ffad771c;color:#ffbf93}
.sale-entry-icon svg{width:28px;height:28px}
.sale-entry-copy{display:grid;gap:9px;flex:1;min-width:0}
.sale-entry-copy strong{font-size:18px;line-height:1.4}
.sale-entry-copy>span{font-size:12px;color:var(--muted);line-height:1.6}
.sale-entry-price{display:grid;gap:6px;text-align:right;flex:none}
.sale-entry-price small{font-size:10px;color:var(--muted)}
.sale-entry-price strong{font-size:23px;color:#ffd0af;line-height:1.4}
.sale-entry-price>span{display:flex;align-items:center;justify-content:flex-end;gap:7px;color:#ffbf93;font-size:11px}
.sale-entry-price svg{width:15px;height:15px}
.sale-entry>.hint{margin-top:11px}
@media(max-width:550px){.sale-entry-card{padding:16px;gap:12px;flex-wrap:wrap}.sale-entry-icon{width:40px;height:40px}.sale-entry-icon svg{width:23px;height:23px}.sale-entry-copy strong{font-size:16px}.sale-entry-price{width:100%;grid-template-columns:1fr auto;text-align:left;align-items:center;padding-top:12px;border-top:1px solid #ffad7728}.sale-entry-price small{grid-column:1}.sale-entry-price strong{grid-column:1;font-size:22px}.sale-entry-price>span{grid-column:2;grid-row:1/3}.sale-entry{margin-bottom:22px;padding-bottom:20px}}
.guest-entry-section h3,.registered-entry-section h3{margin:0;font-size:18px;color:#ffd0af}
.guest-entry-section>.hint,.registered-entry-section>.hint{margin:10px 0 18px}
.guest-entry-total{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:18px;padding:15px;border:1px solid #ffad7740;border-radius:11px;background:#ffad7710}
.guest-entry-total span{font-size:12px;color:var(--muted)}
.guest-entry-total strong{font-size:23px;color:#ffd0af;text-align:right}
.entry-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 0 24px;padding:5px;background:#0e1d2f;border:1px solid var(--line);border-radius:14px}
.entry-tabs [role="tab"]{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:48px;padding:10px 12px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted);font-size:14px;font-weight:650;line-height:1.4}
.entry-tabs [role="tab"]:hover{color:#f7f8fb;background:#ffffff08}
.entry-tabs [role="tab"][aria-selected="true"]{background:#ffad7726;border-color:#ffad7770;color:#ffd0af;box-shadow:0 2px 6px #0000001a}
.entry-tabs svg{width:19px;height:19px;flex:none}
.entry-no-students{padding:18px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:13px;line-height:1.7}
@media(max-width:550px){.entry-tabs{margin-bottom:20px}.entry-tabs [role="tab"]{gap:6px;padding:9px 6px;font-size:12px}.entry-tabs svg{width:17px;height:17px}}
@media(max-width:550px){.guest-entry-section .form-grid{gap:12px}.guest-entry-section .form-actions .button{width:100%;font-size:12px}.guest-entry-total{padding:12px}.guest-entry-total strong{font-size:21px}}

/* Member visits remain separate from the daily cash report. */
.library-monthly>.panel-title{align-items:flex-start}.library-monthly-toolbar{display:flex;align-items:end;gap:18px;margin:22px 0}.library-monthly-toolbar>label:first-child{flex:0 0 180px}.library-monthly-toolbar .search{max-width:460px}.library-monthly-toolbar .search>span{display:block;position:relative}.library-monthly-toolbar .search svg{top:12px}.library-monthly-summary{display:flex;flex-wrap:wrap;gap:10px 24px;border-radius:12px;background:#71cf9d0a;border:1px solid #71cf9d24;padding:16px 18px;margin:0 0 8px}.library-monthly-summary span{font-size:12px;color:var(--muted)}.library-monthly-summary strong{font-size:20px;font-variant-numeric:tabular-nums;color:#b1e6c5;margin-right:5px}.library-monthly-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0;border-bottom:1px solid var(--line)}.library-monthly-row:last-child{border-bottom:0}.library-monthly-row .person{min-width:0;flex:1}.library-monthly-row .person>div{min-width:0;overflow-wrap:anywhere}.library-monthly-row .person strong{font-size:13px}.library-monthly-row .person small{display:block;font-size:11px;margin-top:5px}.library-visit-counts{display:grid;grid-template-columns:70px 85px 110px;gap:16px;margin:0;text-align:center;flex:none}.library-visit-counts dt{font-size:11px;color:var(--muted)}.library-visit-counts dd{font-size:23px;line-height:1.25;font-weight:700;margin:7px 0 0;color:#edf2f8;font-variant-numeric:tabular-nums}.library-visit-counts>div:first-child dd{color:#ffbf93}
@media(max-width:650px){.library-monthly-toolbar{align-items:stretch;flex-direction:column;gap:14px}.library-monthly-toolbar>label:first-child{flex:auto;max-width:220px}.library-monthly-toolbar .search{max-width:none}.library-monthly-summary{gap:12px 20px;padding:15px}.library-monthly-row{align-items:stretch;flex-direction:column;gap:18px}.library-visit-counts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 6px;background:#ffffff04;border-radius:10px}.library-visit-counts dt{font-size:10px}.library-visit-counts dd{font-size:24px}.library-monthly>.panel-title{gap:10px}.library-monthly>.panel-title>.text-button{white-space:nowrap}.library-monthly .connection-banner{align-items:start}}

.library-daily{margin:30px 0}.library-daily>.panel-title{margin-bottom:16px;align-items:start}.library-daily>.panel-title>.hint{margin:0;text-align:right}.library-daily-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:13px}.library-daily-metrics .metric:first-child{background:linear-gradient(130deg,#69d9a50d,#ffffff03);border-color:#71cf9d30}.library-daily-metrics .metric:first-child>strong{color:#b1e6c5}.library-daily-note{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0;color:var(--muted);font-size:11px;line-height:1.8}.library-daily-note .badge{white-space:nowrap}.library-monthly-heading{margin:0}.library-monthly-heading>button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0;border:0;background:none;color:inherit;text-align:left;font:inherit;cursor:pointer}.library-monthly-heading .eyebrow{margin-bottom:8px}.library-monthly-chevron{font:25px/1 sans-serif;color:var(--orange);transition:transform .15s}.library-monthly-heading>button[aria-expanded=true] .library-monthly-chevron{transform:rotate(180deg)}.library-monthly-heading>button:focus-visible{outline:3px solid #ffad77;outline-offset:8px;border-radius:5px}#library-monthly-content{padding-top:20px}#library-monthly-content>.panel-title{align-items:start}#library-monthly-content>.panel-title .hint{margin:0}#library-monthly-content>.panel-title>.text-button{white-space:nowrap}
@media(max-width:550px){.library-daily>.panel-title{gap:10px}.library-daily>.panel-title>.hint{font-size:10px;max-width:115px}.library-daily-metrics .metric{padding:17px 13px}.library-daily-metrics .metric>span{font-size:11px;line-height:1.6;min-height:35px}.library-daily-metrics .metric>small{font-size:10px;line-height:1.7}.library-daily-note{gap:9px}.library-monthly-heading{font-size:19px;line-height:1.4}}

/* Library membership and the daily drink allowance. */
.membership-choice{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#ffad770b;margin:16px 0}.membership-choice input{width:20px;height:20px;min-height:20px;flex:none;margin:2px 0;accent-color:var(--orange)}.membership-choice span{display:grid;gap:7px}.membership-choice small{line-height:1.6}.drink-benefit{display:grid;gap:10px;margin:16px 0;padding:14px;background:#8ed6b412;border:1px solid #8ed6b444;border-radius:10px;font-size:12px;line-height:1.6}.drink-benefit strong{color:#b5e6ce}.student-row>.hint{max-width:180px;font-size:11px;line-height:1.5}.student-row{flex-wrap:wrap}

/* Multi-purpose student memberships share the existing form and badge styles. */
.member-group-fields{border:0;padding:0;margin:20px 0;min-width:0}.member-group-fields legend{font-weight:700;font-size:15px}.member-group-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.member-group-choices .membership-choice{margin:0;min-height:76px;align-items:center;cursor:pointer}.member-group-choices .membership-choice:has(input:checked){border-color:var(--orange);background:#ffad7714}.member-group-choices strong{overflow-wrap:anywhere}.student-groups{display:flex;flex-wrap:wrap;gap:6px;max-width:340px}.student-groups .badge{white-space:normal;overflow-wrap:anywhere}.student-toolbar{align-items:flex-end}.student-toolbar>label{min-width:240px;margin:0}.student-toolbar .search{flex:1;min-width:180px}.student-result-count{margin:12px 0}
@media(max-width:550px){.member-group-choices{grid-template-columns:1fr}.student-toolbar>label{width:100%;min-width:0}.student-groups{max-width:100%;width:100%}}

#membership-form>.person small{display:block;margin-top:5px;color:var(--muted)}
