:root{--regalis-black: #0b0b0d;--regalis-white: #ffffff;--accent: #c9a227;--accent-bright: #e3c767;--accent-strong: #a2831c;--accent-rgb: 201 162 39;--accent-contrast: #0b0b0d;--regalis-gold: var(--accent);--regalis-gold-light: var(--accent-bright);--regalis-gold-dark: var(--accent-strong);--neutral-50: #fafafa;--neutral-100: #f4f4f5;--neutral-200: #e4e4e7;--neutral-300: #d4d4d8;--neutral-400: #a1a1aa;--neutral-500: #71717a;--neutral-600: #52525b;--neutral-700: #3f3f46;--neutral-800: #27272a;--neutral-900: #18181b;--color-success: #16a34a;--color-warning: #d97706;--color-danger: #dc2626;--color-info: #2563eb;--surface-page: #f6f1e7;--surface-card: #fffdf8;--surface-inset: #f2ebdc;--surface-hover: #f6efe2;--surface-chrome: var(--regalis-black);--surface-chrome-raised: #17171b;--chrome-border: #26262c;--sidebar-bg: var(--surface-card);--sidebar-bg-raised: var(--surface-hover);--sidebar-border: var(--border-subtle);--sidebar-text: var(--text-primary);--sidebar-text-muted: var(--text-secondary);--text-primary: #2a2417;--text-secondary: #6b6250;--text-muted: #8b8270;--text-on-chrome: var(--neutral-100);--text-on-chrome-muted: var(--neutral-400);--text-on-gold: var(--accent-contrast);--border-subtle: #eadfc7;--border-strong: #d9caa8;--focus-ring: 0 0 0 3px rgb(var(--accent-rgb) / 35%);--shadow-color: 43 34 12;--shadow-sm: 0 1px 2px rgb(var(--shadow-color) / 6%);--shadow-md: 0 1px 2px rgb(var(--shadow-color) / 5%), 0 4px 12px rgb(var(--shadow-color) / 9%);--shadow-lg: 0 2px 4px rgb(var(--shadow-color) / 6%), 0 12px 32px rgb(var(--shadow-color) / 16%);--shadow-raised: 0 1px 1px rgb(var(--shadow-color) / 5%), 0 3px 8px rgb(var(--shadow-color) / 7%), 0 10px 24px rgb(var(--shadow-color) / 7%);--shadow-float: 0 2px 6px rgb(var(--shadow-color) / 8%), 0 10px 22px rgb(var(--shadow-color) / 12%), 0 24px 48px rgb(var(--shadow-color) / 14%);--card-sheen: linear-gradient(180deg, rgb(255 255 255 / 60%), transparent 32%);--glass-bg: rgb(255 253 248 / 78%);--radius-sm: 6px;--radius-md: 10px;--radius-lg: 16px;--radius-full: 999px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--space-10: 40px;--space-12: 48px;--font-sans:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI","Helvetica Neue",Arial,sans-serif;--font-display:"Inter Tight","Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;--font-size-xs: .75rem;--font-size-sm: .875rem;--font-size-md: 1rem;--font-size-lg: 1.125rem;--font-size-xl: 1.375rem;--font-size-2xl: 1.75rem;--sidebar-width: 264px;--sidebar-width-collapsed: 76px;--topbar-height: 64px;--transition-fast: .12s ease;--transition-base: .2s ease;color-scheme:light}:root[data-theme=dark]{--surface-page: #101014;--surface-card: #17171d;--surface-inset: #1f1f27;--surface-hover: #21212b;--surface-chrome: #0b0b0d;--surface-chrome-raised: #1a1a20;--chrome-border: #26262c;--text-primary: #efede5;--text-secondary: #b5b2a4;--text-muted: #8c897c;--border-subtle: #272730;--border-strong: #3a3a46;--accent-strong: var(--accent-bright);--text-on-gold: #0b0b0d;--shadow-color: 0 0 0;--shadow-sm: 0 1px 2px rgb(0 0 0 / 40%);--shadow-md: 0 1px 2px rgb(0 0 0 / 35%), 0 4px 12px rgb(0 0 0 / 45%);--shadow-lg: 0 2px 4px rgb(0 0 0 / 40%), 0 12px 32px rgb(0 0 0 / 55%);--shadow-raised: 0 1px 1px rgb(0 0 0 / 30%), 0 3px 8px rgb(0 0 0 / 35%), 0 10px 24px rgb(0 0 0 / 35%);--shadow-float: 0 2px 6px rgb(0 0 0 / 40%), 0 10px 22px rgb(0 0 0 / 50%), 0 24px 48px rgb(0 0 0 / 55%);--card-sheen: linear-gradient(180deg, rgb(255 255 255 / 5%), transparent 32%);--glass-bg: rgb(23 23 29 / 72%);color-scheme:dark}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:var(--font-sans);font-size:var(--font-size-md);color:var(--text-primary);background:radial-gradient(1100px 500px at 85% -10%,rgb(var(--accent-rgb) / 7%),transparent),var(--surface-page);background-attachment:fixed;-webkit-font-smoothing:antialiased;transition:background .25s ease,color .25s ease}h1,h2,h3,h4,p{margin:0}h1,h2{font-family:var(--font-display);letter-spacing:.01em}::selection{background:rgb(var(--accent-rgb) / 30%)}*{scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:var(--radius-full);border:2px solid transparent;background-clip:content-box}*::-webkit-scrollbar-track{background:transparent}a{color:var(--regalis-gold-dark);text-decoration:none}a:hover{text-decoration:underline}button{font-family:inherit}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.table-scroll{overflow-x:auto;max-width:100%}:focus-visible{outline:none;box-shadow:var(--focus-ring)}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);border:1px solid transparent;border-radius:var(--radius-md);font-size:var(--font-size-sm);font-weight:600;padding:10px 18px;cursor:pointer;transition:background var(--transition-fast),color var(--transition-fast),border-color var(--transition-fast),box-shadow var(--transition-fast),transform var(--transition-fast),filter var(--transition-fast);white-space:nowrap}.btn:disabled{opacity:.55;cursor:not-allowed}.btn--primary{background:linear-gradient(180deg,var(--accent-bright),var(--accent) 85%);color:var(--text-on-gold);box-shadow:inset 0 1px #ffffff4d,0 2px 6px rgb(var(--accent-rgb) / 30%)}.btn--primary:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px);box-shadow:inset 0 1px #ffffff4d,0 6px 14px rgb(var(--accent-rgb) / 35%)}.btn--primary:active:not(:disabled){transform:translateY(0);box-shadow:inset 0 2px 4px #0003}.btn--secondary{background:var(--surface-chrome);color:var(--text-on-chrome)}.btn--secondary:hover:not(:disabled){background:var(--surface-chrome-raised)}.btn--outline{background:transparent;border-color:var(--border-strong);color:var(--text-primary)}.btn--outline:hover:not(:disabled){border-color:var(--regalis-gold);color:var(--regalis-gold-dark)}.btn--danger{background:var(--color-danger);color:var(--regalis-white)}.btn--ghost{background:transparent;color:var(--text-secondary)}.btn--ghost:hover:not(:disabled){color:var(--text-primary);background:var(--surface-hover)}.btn--sm{padding:6px 12px;font-size:var(--font-size-xs)}.btn--lg{padding:12px 24px;font-size:var(--font-size-md)}.btn--block{width:100%}.field{display:flex;flex-direction:column;gap:var(--space-1)}.field__label{font-size:var(--font-size-sm);font-weight:600;color:var(--text-secondary)}.field__required{color:var(--color-danger)}.field__input{border:1px solid var(--border-strong);border-radius:var(--radius-md);padding:10px 12px;font-size:var(--font-size-sm);font-family:inherit;background:var(--surface-inset);color:var(--text-primary);transition:border-color var(--transition-fast),background var(--transition-fast);width:100%}.field__input::placeholder{color:var(--text-muted);opacity:1}.field__input:hover:not(:disabled):not(:focus){border-color:var(--regalis-gold)}.field__input:disabled{opacity:.6;cursor:not-allowed}.field__input:focus{border-color:var(--regalis-gold);box-shadow:var(--focus-ring);background:var(--surface-card);outline:none}.field__input--error{border-color:var(--color-danger)}.field__input:-webkit-autofill,.field__input:-webkit-autofill:hover,.field__input:-webkit-autofill:focus,.field__input:-webkit-autofill:active{box-shadow:inset 0 0 0 100px var(--surface-inset);-webkit-text-fill-color:var(--text-primary);caret-color:var(--text-primary)}.field__input:-webkit-autofill:focus{box-shadow:inset 0 0 0 100px var(--surface-inset),var(--focus-ring)}.field__input:autofill{box-shadow:inset 0 0 0 100px var(--surface-inset);caret-color:var(--text-primary)}.field__input:autofill:focus{box-shadow:inset 0 0 0 100px var(--surface-inset),var(--focus-ring)}.field__error{font-size:var(--font-size-xs);color:var(--color-danger);min-height:1em}.field__hint{font-size:var(--font-size-xs);color:var(--text-muted)}.card{background:var(--surface-card);background-image:var(--card-sheen);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-raised)}.card__header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding:var(--space-5) var(--space-6);border-bottom:1px solid var(--border-subtle)}.card__title{font-family:var(--font-display);font-size:var(--font-size-lg);font-weight:700;letter-spacing:.01em}.card__body{padding:var(--space-6)}.spinner{display:inline-block;border:3px solid var(--border-subtle);border-top-color:var(--regalis-gold);border-radius:var(--radius-full);animation:spinner-rotate .7s linear infinite}.spinner--sm{width:16px;height:16px;border-width:2px}.spinner--md{width:28px;height:28px}.spinner--lg{width:44px;height:44px}.spinner-center{display:flex;align-items:center;justify-content:center;padding:var(--space-12)}@keyframes spinner-rotate{to{transform:rotate(360deg)}}.badge{display:inline-flex;align-items:center;border-radius:var(--radius-full);font-size:var(--font-size-xs);font-weight:600;padding:3px 10px}.badge--neutral{background:var(--surface-inset);color:var(--text-secondary)}.badge--gold{background:rgb(var(--accent-rgb) / 15%);color:var(--regalis-gold-dark)}.badge--success{background:#16a34a1f;color:var(--color-success)}.badge--warning{background:#d977061f;color:var(--color-warning)}.badge--danger{background:#dc26261a;color:var(--color-danger)}.badge--info{background:#2563eb1a;color:var(--color-info)}.modal-overlay{position:fixed;inset:0;background:#0b0b0d8c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:var(--space-4);z-index:100}.modal{background:var(--surface-card);background-image:var(--card-sheen);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-float);animation:modal-in .18s ease;width:100%;max-width:520px;max-height:min(92vh,calc(100vh - var(--space-8)));display:flex;flex-direction:column}.modal__header{display:flex;align-items:center;justify-content:space-between;padding:var(--space-5) var(--space-6);border-bottom:1px solid var(--border-subtle)}.modal__title{font-family:var(--font-display);font-size:var(--font-size-lg);font-weight:700}@keyframes modal-in{0%{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.modal__header,.modal__footer{flex:0 0 auto}.modal__body{padding:var(--space-6);overflow-y:auto;flex:1 1 auto;min-height:0}.modal__footer{display:flex;justify-content:flex-end;gap:var(--space-3);padding:var(--space-4) var(--space-6);border-top:1px solid var(--border-subtle)}.toast-container{position:fixed;top:var(--space-4);right:var(--space-4);display:flex;flex-direction:column;gap:var(--space-2);z-index:200;max-width:min(380px,calc(100vw - var(--space-8)))}.toast{display:flex;align-items:flex-start;gap:var(--space-3);background:var(--surface-chrome);color:var(--text-on-chrome);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);padding:var(--space-3) var(--space-4);border-left:4px solid var(--regalis-gold);animation:toast-in .2s ease}.toast--success{border-left-color:var(--color-success)}.toast--error{border-left-color:var(--color-danger)}.toast--warning{border-left-color:var(--color-warning)}.toast__message{font-size:var(--font-size-sm);flex:1}.toast__close{background:none;border:none;color:var(--text-on-chrome-muted);cursor:pointer;padding:0;line-height:1}@keyframes toast-in{0%{opacity:0;transform:translate(12px)}to{opacity:1;transform:translate(0)}}.empty-state{display:flex;flex-direction:column;align-items:center;gap:var(--space-3);padding:var(--space-12) var(--space-6);text-align:center;color:var(--text-muted)}.empty-state__icon{color:var(--border-strong)}.empty-state__title{font-size:var(--font-size-md);font-weight:600;color:var(--text-secondary)}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4);flex-wrap:wrap}.page-header__title{font-family:var(--font-display);font-size:var(--font-size-xl);font-weight:800;letter-spacing:.01em}.page-header__description{color:var(--text-secondary);font-size:var(--font-size-sm);margin-top:var(--space-1)}.page-header__actions{display:flex;gap:var(--space-2)}.data-table{width:100%;border-collapse:collapse;font-size:var(--font-size-sm)}.data-table th{text-align:left;font-weight:700;color:var(--text-secondary);padding:var(--space-3) var(--space-4);border-bottom:2px solid var(--border-subtle);white-space:nowrap}.data-table td{padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border-subtle);vertical-align:middle}.data-table tbody tr{transition:background var(--transition-fast)}.data-table tbody tr:hover{background:var(--surface-hover)}.data-table__pager{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding-top:var(--space-4);flex-wrap:wrap}.data-table__pager-info{color:var(--text-muted);font-size:var(--font-size-xs)}.data-table__pager-buttons{display:flex;gap:var(--space-2)}.row-actions{display:flex;gap:var(--space-1);flex-wrap:wrap}.checkbox{display:inline-flex;align-items:center;gap:var(--space-2);font-size:var(--font-size-sm);cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox input{accent-color:var(--regalis-gold);width:16px;height:16px}.perm-matrix{display:flex;flex-direction:column;gap:var(--space-2);max-height:55vh;overflow-y:auto;padding-right:var(--space-2)}.perm-matrix__module{border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:var(--space-3) var(--space-4)}.perm-matrix__module-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--space-2)}.perm-matrix__module-name{font-weight:700;font-size:var(--font-size-sm)}.perm-matrix__actions{display:flex;gap:var(--space-4);flex-wrap:wrap}.toolbar{display:flex;gap:var(--space-3);align-items:flex-end;flex-wrap:wrap;margin-bottom:var(--space-4)}.toolbar .field{min-width:180px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--space-4);align-items:start}@media (max-width:560px){.form-grid{grid-template-columns:1fr}}.form-stack{display:flex;flex-direction:column;gap:var(--space-4)}.form-error{padding:var(--space-3) var(--space-4);border:1px solid var(--color-danger);border-radius:var(--radius-md);background:color-mix(in srgb,var(--color-danger) 8%,transparent);color:var(--color-danger);font-size:var(--font-size-sm)}.wizard-steps{display:flex;gap:var(--space-2);flex-wrap:wrap;margin-bottom:var(--space-4)}.wizard-step{display:inline-flex;align-items:center;gap:var(--space-2);font-size:var(--font-size-xs);font-weight:600;color:var(--text-muted);padding:4px 12px;border-radius:var(--radius-full);background:var(--surface-inset)}.wizard-step--active{background:rgb(var(--accent-rgb) / 15%);color:var(--regalis-gold-dark)}.wizard-step--done{background:#16a34a1a;color:var(--color-success)}.choice-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:var(--space-3)}.choice-card{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-card);background-image:var(--card-sheen);box-shadow:var(--shadow-sm);padding:var(--space-4);cursor:pointer;text-align:left;font-family:inherit;color:var(--text-primary);transition:border-color var(--transition-fast),box-shadow var(--transition-fast),transform var(--transition-fast)}.choice-card:hover:not(:disabled){border-color:var(--regalis-gold);box-shadow:var(--shadow-raised);transform:translateY(-2px)}.choice-card--selected{border-color:var(--regalis-gold);box-shadow:0 0 0 2px rgb(var(--accent-rgb) / 30%)}.choice-card:disabled{opacity:.5;cursor:not-allowed}.choice-card__title{font-weight:700;font-size:var(--font-size-sm)}.choice-card__meta{color:var(--text-muted);font-size:var(--font-size-xs);margin-top:var(--space-1)}.choice-card__price{margin-top:var(--space-2);font-weight:700;color:var(--regalis-gold-dark)}.slot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:var(--space-2)}.slot-chip{height:40px;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface-card);font-family:inherit;font-size:var(--font-size-sm);font-weight:600;color:var(--text-primary);cursor:pointer;transition:border-color var(--transition-fast),background var(--transition-fast)}.slot-chip:hover:not(:disabled){border-color:var(--regalis-gold)}.slot-chip--selected{background:var(--regalis-gold);border-color:var(--regalis-gold);color:var(--text-on-gold)}.slot-chip:disabled{opacity:.35;cursor:not-allowed;text-decoration:line-through}.summary-rows{display:flex;flex-direction:column;gap:var(--space-2);font-size:var(--font-size-sm)}.summary-rows>div{display:flex;justify-content:space-between;gap:var(--space-4)}.summary-rows .summary-total{border-top:1px solid var(--border-subtle);padding-top:var(--space-2);font-weight:700;font-size:var(--font-size-md)}.pay-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--space-3)}.cal{min-width:900px}.cal__row{display:flex;border-bottom:1px solid var(--border-subtle);min-height:56px}.cal__row--head{min-height:34px;border-bottom:2px solid var(--border-subtle)}.cal__label{width:160px;flex:none;padding:var(--space-2) var(--space-3);border-right:1px solid var(--border-subtle)}.cal__timeline{position:relative;flex:1}.cal__hour{position:absolute;top:6px;transform:translate(-50%);font-size:var(--font-size-xs);color:var(--text-muted)}.cal__grid-line{position:absolute;top:0;bottom:0;width:1px;background:var(--border-subtle)}.cal__item{position:absolute;top:8px;bottom:8px;border:none;border-radius:var(--radius-sm);font-size:var(--font-size-xs);font-weight:600;padding:0 var(--space-2);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;text-align:left}.cal__item--booking{background:rgb(var(--accent-rgb) / 22%);color:var(--regalis-gold-dark);border-left:3px solid var(--regalis-gold)}.cal__item--pending{background:#d9770626;color:var(--color-warning);border-left-color:var(--color-warning)}.cal__item--block{background:var(--surface-inset);color:var(--text-secondary);border-left:3px solid var(--text-muted)}.home__greeting h2{font-family:var(--font-display);font-size:var(--font-size-2xl);font-weight:800;letter-spacing:.01em}.home__greeting p{color:var(--text-secondary);margin-top:var(--space-1)}.hero{position:relative;min-height:280px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:stretch;border-radius:var(--radius-lg);overflow:hidden;background:radial-gradient(700px 300px at 85% -20%,rgb(var(--accent-rgb) / 30%),transparent),linear-gradient(120deg,var(--regalis-black),#1d1d24);color:var(--regalis-white);box-shadow:var(--shadow-md)}.hero__body{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:var(--space-8);min-width:0}.hero__figure{position:relative;min-height:100%;background:#101014}.hero__image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero__figure:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#0b0b0de5,#0b0b0d00 22%)}.hero__title{font-family:var(--font-display);font-size:clamp(1.375rem,1.7vw,1.5rem);font-weight:800;line-height:1.2;width:100%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.hero__subtitle{margin-top:var(--space-3);color:#ffffffd1;width:100%;max-width:42ch;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.hero__price{margin-top:var(--space-2);font-weight:700;color:var(--accent-bright)}.hero__body .btn{margin-top:var(--space-5)}.hero__controls{position:absolute;inset-block-end:var(--space-4);inset-inline-end:var(--space-5);z-index:3;display:flex;align-items:center;gap:var(--space-3)}.hero__arrow{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid rgb(255 255 255 / 28%);border-radius:var(--radius-full);background:#0b0b0d73;color:var(--regalis-white);cursor:pointer;transition:background var(--transition-fast)}.hero__arrow:hover{background:#0b0b0dbf}.hero__dots{display:flex;align-items:center;gap:6px}.hero__dot{width:8px;height:8px;padding:0;border:none;border-radius:var(--radius-full);background:#fff6;cursor:pointer;transition:width var(--transition-fast),background var(--transition-fast)}.hero__dot--active{width:20px;background:var(--accent-bright)}.home__quick{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:var(--space-4)}.home__tile{position:relative;display:flex;flex-direction:column;gap:2px;padding:var(--space-4);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-card);background-image:var(--card-sheen);box-shadow:var(--shadow-sm);color:var(--text-primary);transition:border-color var(--transition-fast),box-shadow var(--transition-fast),transform var(--transition-fast)}.home__tile:hover{border-color:var(--regalis-gold);box-shadow:var(--shadow-raised);transform:translateY(-2px);text-decoration:none}.home__tile-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin-bottom:var(--space-3);border-radius:var(--radius-md);background:rgb(var(--accent-rgb) / 14%);color:var(--accent-strong)}.home__tile-title{font-weight:700}.home__tile-meta{color:var(--text-muted);font-size:var(--font-size-xs)}.home__tile-arrow{position:absolute;top:var(--space-4);inset-inline-end:var(--space-4);color:var(--text-muted)}.home__columns{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:var(--space-4);align-items:start}.home__aside{display:flex;flex-direction:column;gap:var(--space-4)}.home__booking{display:flex;gap:var(--space-4);align-items:center;flex-wrap:wrap}.home__empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-2);padding:var(--space-6) var(--space-4)}.home__empty-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:var(--radius-full);background:var(--surface-inset);color:var(--accent-strong);margin-bottom:var(--space-1)}.home__empty p{color:var(--text-secondary);font-size:var(--font-size-sm);margin-bottom:var(--space-2)}.home__balance{font-family:var(--font-display);font-size:var(--font-size-2xl);font-weight:800}.home__glance{list-style:none;display:flex;flex-direction:column;gap:2px}.home__glance a{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-3);margin-inline:calc(var(--space-3) * -1);border-radius:var(--radius-md);color:var(--text-secondary);font-size:var(--font-size-sm);transition:background var(--transition-fast),color var(--transition-fast)}.home__glance a:hover{background:var(--surface-hover);color:var(--text-primary);text-decoration:none}.home__glance a>.badge{margin-inline-start:auto}.home__glance svg{color:var(--text-muted)}@media(max-width:900px){.home__columns,.hero{grid-template-columns:1fr}.hero__body{padding:var(--space-6) var(--space-5)}.hero__figure{min-height:170px}.hero__figure:before{background:linear-gradient(180deg,#0b0b0dd9,#0b0b0d00 30%)}}.passtabs{display:flex;flex-wrap:wrap;gap:var(--space-2)}.passtabs__tab{display:inline-flex;align-items:center;gap:var(--space-2);padding:8px var(--space-4);border:1px solid var(--border-subtle);border-radius:var(--radius-full);background:var(--surface-card);color:var(--text-secondary);font-family:inherit;font-size:var(--font-size-sm);font-weight:600;cursor:pointer;transition:border-color var(--transition-fast),background var(--transition-fast),color var(--transition-fast)}.passtabs__tab svg{color:var(--text-muted);transition:color var(--transition-fast)}.passtabs__tab:hover{border-color:var(--border-strong);color:var(--text-primary)}.passtabs__tab--active{border-color:var(--regalis-gold);background:rgb(var(--accent-rgb) / 14%);color:var(--accent-strong)}.passtabs__tab--active svg{color:var(--accent-strong)}.auth-layout{min-height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(1200px 600px at 80% -10%,rgb(var(--accent-rgb) / 14%),transparent),var(--regalis-black);padding:var(--space-6)}.auth-layout__panel{width:100%;max-width:420px;background:var(--surface-card);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);padding:var(--space-8);display:flex;flex-direction:column;gap:var(--space-6)}.auth-layout__brand{display:flex;flex-direction:column;align-items:center;gap:var(--space-2);text-align:center}.auth-layout__logo{width:56px;height:56px}.auth-layout__name{font-size:var(--font-size-xl);font-weight:800;letter-spacing:.02em}.auth-layout__name em{color:var(--regalis-gold-dark);font-style:normal}.auth-layout__tagline{color:var(--text-muted);font-size:var(--font-size-sm)}.portal{display:flex;min-height:100vh}.portal__sidebar{width:var(--sidebar-width);background:radial-gradient(480px 260px at 20% -5%,rgb(var(--accent-rgb) / 8%),transparent),linear-gradient(180deg,var(--sidebar-bg-raised),var(--sidebar-bg) 240px);color:var(--sidebar-text);display:flex;flex-direction:column;position:fixed;inset-block:0;inset-inline-start:0;z-index:50;border-right:1px solid var(--sidebar-border);box-shadow:2px 0 12px #0000000d;transition:transform var(--transition-base)}.portal__brand{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-4) var(--space-5);height:var(--topbar-height);font-family:var(--font-display);font-weight:800;letter-spacing:.04em}.portal__brand img{width:32px;height:32px}.portal__brand em{color:var(--accent-strong);font-style:normal}.portal__nav{flex:1;overflow-y:auto;padding:var(--space-3);display:flex;flex-direction:column;gap:2px}.portal__nav-link{display:flex;align-items:center;gap:var(--space-3);padding:10px var(--space-3);border-radius:var(--radius-md);color:var(--sidebar-text-muted);font-size:var(--font-size-sm);font-weight:500}.portal__nav-link:hover{color:var(--sidebar-text);background:var(--sidebar-bg-raised);text-decoration:none}.portal__nav-link.active{color:var(--accent-strong);background:linear-gradient(90deg,rgb(var(--accent-rgb) / 22%),rgb(var(--accent-rgb) / 8%));box-shadow:inset 2px 0 0 var(--accent);font-weight:600}.portal__nav-empty{color:var(--sidebar-text-muted);font-size:var(--font-size-xs);padding:var(--space-4);text-align:center}.portal__main{flex:1;margin-inline-start:var(--sidebar-width);display:flex;flex-direction:column;min-width:0}.portal__topbar{height:var(--topbar-height);background:radial-gradient(1100px 500px at 85% -10%,rgb(var(--accent-rgb) / 7%),transparent),var(--surface-page);background-attachment:fixed;display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding-inline:var(--space-6);position:sticky;top:0;z-index:40}.portal__user{display:flex;align-items:center;gap:var(--space-3)}.locpick{position:relative}.locpick__trigger{display:inline-flex;align-items:center;gap:var(--space-2);max-width:230px;padding:7px var(--space-3);border:1px solid var(--border-subtle);border-radius:var(--radius-full);background:var(--surface-card);color:var(--text-secondary);font-family:inherit;font-size:var(--font-size-sm);font-weight:600;cursor:pointer;transition:border-color var(--transition-fast),background var(--transition-fast),color var(--transition-fast)}.locpick__trigger:hover{border-color:var(--border-strong);background:var(--surface-hover);color:var(--text-primary)}.locpick__trigger>svg:first-child{flex:none;color:var(--accent-strong)}.locpick__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.locpick__chevron{flex:none;color:var(--text-muted)}.locpick__popover{position:absolute;top:calc(100% + var(--space-2));inset-inline-start:0;min-width:240px;padding:var(--space-2);background:var(--surface-card);background-image:var(--card-sheen);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-float);z-index:60;animation:modal-in .15s ease}.locpick__section{font-size:var(--font-size-xs);font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);padding:var(--space-2) var(--space-3)}.locpick__item{width:100%;display:flex;align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-3);border:none;border-radius:var(--radius-md);background:transparent;color:var(--text-primary);font-family:inherit;font-size:var(--font-size-sm);text-align:left;cursor:pointer;transition:background var(--transition-fast)}.locpick__item:hover{background:var(--surface-hover)}.locpick__item svg{flex:none;margin-inline-start:auto;color:var(--accent-strong)}.locpick__item-text{display:flex;flex-direction:column;min-width:0}.locpick__item-name{font-weight:600}.locpick__item-meta{font-size:var(--font-size-xs);color:var(--text-muted)}@media(max-width:780px){.locpick__name,.locpick__chevron{display:none}.locpick__trigger{padding:7px}}.account{position:relative}.account__trigger{display:flex;align-items:center;gap:var(--space-3);padding:6px 10px 6px 6px;border:1px solid var(--border-subtle);border-radius:var(--radius-full);background:var(--surface-card);color:inherit;font-family:inherit;cursor:pointer;transition:border-color var(--transition-fast),background var(--transition-fast)}.account__trigger:hover{border-color:var(--border-strong);background:var(--surface-hover)}.account__avatar{flex:none;width:34px;height:34px;border-radius:var(--radius-full);background:linear-gradient(135deg,var(--accent-bright),var(--accent-strong));color:var(--accent-contrast);font-size:var(--font-size-xs);font-weight:700;letter-spacing:.02em;display:inline-flex;align-items:center;justify-content:center}.account__identity{display:flex;flex-direction:column;align-items:flex-start;line-height:1.25;min-width:0}.account__name{font-size:var(--font-size-sm);font-weight:600;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account__email{font-size:var(--font-size-xs);color:var(--text-muted);max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account__chevron{flex:none;color:var(--text-muted)}.account__popover{position:absolute;top:calc(100% + var(--space-2));right:0;min-width:200px;padding:var(--space-2);background:var(--surface-card);background-image:var(--card-sheen);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-float);z-index:60;animation:modal-in .15s ease}.account__section{font-size:var(--font-size-xs);font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);padding:var(--space-2) var(--space-3)}.account__item{width:100%;display:flex;align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-3);border:none;border-radius:var(--radius-md);background:transparent;color:var(--text-primary);font-family:inherit;font-size:var(--font-size-sm);font-weight:500;text-align:left;cursor:pointer;transition:background var(--transition-fast),color var(--transition-fast)}.account__item:hover{background:var(--surface-hover);color:var(--text-primary)}.account__item svg{flex:none;color:var(--text-muted)}@media(max-width:640px){.account__identity,.account__chevron{display:none}.account__trigger{padding:5px;border-radius:var(--radius-full)}}.portal__content{flex:1;padding:var(--space-6);display:flex;flex-direction:column;gap:var(--space-6)}.portal__menu-toggle,.portal__collapse-toggle{display:none}@media(min-width:1024px){.portal__collapse-toggle{display:inline-flex}.portal--collapsed .portal__sidebar{width:var(--sidebar-width-collapsed)}.portal--collapsed .portal__main{margin-inline-start:var(--sidebar-width-collapsed)}.portal--collapsed .portal__brand{justify-content:center;padding-inline:0}.portal--collapsed .portal__brand-name{display:none}.portal--collapsed .portal__nav-link{justify-content:center;padding-inline:0}.portal--collapsed .portal__nav-label,.portal--collapsed .portal__nav-empty{display:none}}.portal__sidebar,.portal__main{transition:width var(--transition-base),margin-inline-start var(--transition-base),transform var(--transition-base)}@media(prefers-reduced-motion:reduce){.portal__sidebar,.portal__main{transition:none}}@media(max-width:1023px){.portal__sidebar{transform:translate(-100%)}.portal__sidebar--open{transform:translate(0)}.portal__main{margin-inline-start:0}.portal__menu-toggle{display:inline-flex}.portal__backdrop{position:fixed;inset:0;background:#0b0b0d73;z-index:45}}@media(max-width:767px){.portal__content{padding:var(--space-4)}}.dash-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:var(--space-4)}.dash-tile{display:flex;align-items:center;gap:var(--space-4);background:var(--surface-card);background-image:var(--card-sheen);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:var(--space-5);color:var(--text-primary);transition:border-color var(--transition-fast),box-shadow var(--transition-fast),transform var(--transition-fast)}.dash-tile:hover{border-color:var(--regalis-gold);box-shadow:var(--shadow-raised);transform:translateY(-2px);text-decoration:none}.dash-tile__icon{color:var(--regalis-gold-dark);display:inline-flex}.dash-tile__label{font-weight:600;font-size:var(--font-size-sm)}.error-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-4);text-align:center;padding:var(--space-6)}.error-page__code{font-size:4rem;font-weight:800;color:var(--regalis-gold);line-height:1}.portal__bell{position:relative;display:inline-flex;color:var(--text-secondary);padding:var(--space-2);border-radius:var(--radius-md);border:none;background:transparent;cursor:pointer;transition:background var(--transition-fast),color var(--transition-fast)}.portal__bell:hover{color:var(--text-primary);background:var(--surface-hover)}.portal__bell-badge{position:absolute;top:0;right:0;min-width:16px;height:16px;border-radius:var(--radius-full);background:var(--color-danger);color:#fff;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 4px}.auth{--auth-bg: #faf6ec;--auth-surface: #fdfbf6;--auth-surface-border: #f1e7d5;--auth-input-bg: #fffdf9;--auth-input-border: #e2d5ba;--auth-heading: #33291a;--auth-text: #514639;--auth-label: #3a3126;--auth-muted: #8d7c62;--auth-placeholder: #9c8f78;--auth-icon: #8d7c62;--auth-link: #b68235;--auth-link-hover: #96682a;--auth-gold-hi: #edc36a;--auth-gold: #e0ab3f;--auth-gold-shadow: #c4922e;--auth-btn-text: #3d2c0c;--auth-divider: #e8dcc4;--auth-required: #c0413c;--auth-wordmark: #1d4a9e;--auth-font-heading:"Inter Tight","Inter",ui-sans-serif,system-ui,sans-serif;--auth-font-body:"Inter",ui-sans-serif,system-ui,sans-serif;position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:40px 20px;background:var(--auth-bg);font-family:var(--auth-font-body);color:var(--auth-text);overflow:hidden}.auth a{color:var(--auth-link);font-weight:700;text-decoration:none}.auth a:hover{color:var(--auth-link-hover);text-decoration:none}.auth__dots{position:absolute;background-image:radial-gradient(#ecd7ad 2.2px,transparent 2.3px);background-size:16px 16px;pointer-events:none}.auth__dots--tl{top:30px;left:30px;width:80px;height:70px}.auth__dots--br{bottom:40px;right:36px;width:90px;height:150px;opacity:.75}.auth__ring{position:absolute;border-radius:50%;border:28px solid #f5ead4;pointer-events:none}.auth__ring--tr{top:-110px;right:-80px;width:250px;height:250px}.auth__ring--bl{bottom:-140px;left:-110px;width:290px;height:290px}.auth__panel{position:relative;width:100%;max-width:520px;background:var(--auth-surface);border:1px solid var(--auth-surface-border);border-radius:16px;box-shadow:0 2px 8px #5a42140d;padding:34px 44px 38px}.auth__panel--wide{max-width:880px}.auth__brand{display:flex;align-items:center;justify-content:center;gap:14px}.auth__crown{width:58px;height:46px;object-fit:contain;mix-blend-mode:multiply}.auth__wordmark{font-family:var(--auth-font-heading);font-size:29px;font-weight:600;letter-spacing:2px;color:var(--auth-wordmark)}.auth__title{margin:26px 0 0;text-align:center;font-family:var(--auth-font-heading);font-size:38px;font-weight:600;color:var(--auth-heading);line-height:1.1}.auth__subtitle{margin-top:10px;text-align:center;font-size:16px;color:var(--auth-text);line-height:1.6}.auth__seg{margin-top:26px;display:flex;border:1px solid var(--auth-input-border);border-radius:10px;background:var(--auth-input-bg);padding:4px;gap:4px}.auth__seg-opt{flex:1;height:42px;border:none;border-radius:8px;background:transparent;font-family:var(--auth-font-body);font-size:15px;font-weight:700;color:var(--auth-muted);cursor:pointer;transition:background .15s ease,color .15s ease}.auth__seg-opt:hover{background:#faf3e3}.auth__seg-opt--active,.auth__seg-opt--active:hover{background:linear-gradient(180deg,var(--auth-gold-hi),var(--auth-gold));color:var(--auth-btn-text);box-shadow:0 4px 10px -6px var(--auth-gold-shadow)}.auth__label{margin-top:20px;font-size:14.5px;font-weight:700;color:var(--auth-label)}.auth__label .auth__required{color:var(--auth-required)}.auth__optional{font-weight:400;color:var(--auth-muted);font-size:13.5px}.auth__input{margin-top:10px;height:52px;border:1px solid var(--auth-input-border);border-radius:10px;background:var(--auth-input-bg);display:flex;align-items:center;gap:14px;padding:0 17px;transition:border-color .15s ease,box-shadow .15s ease}.auth__input:focus-within{border-color:var(--auth-gold);box-shadow:0 0 0 3px #e0ab3f2e}.auth__input--error{border-color:var(--auth-required)}.auth__input svg{flex:none;color:var(--auth-icon)}.auth__input input{flex:1;min-width:0;border:none;background:transparent;font-family:var(--auth-font-body);font-size:15.5px;color:var(--auth-label);outline:none}.auth__input input::placeholder{color:var(--auth-placeholder)}.auth__input input:focus-visible{box-shadow:none}.auth__input input:-webkit-autofill,.auth__input input:-webkit-autofill:hover,.auth__input input:-webkit-autofill:focus,.auth__input input:-webkit-autofill:active{box-shadow:inset 0 0 0 100px var(--auth-input-bg);-webkit-text-fill-color:var(--auth-label);caret-color:var(--auth-label)}.auth__input input:autofill{box-shadow:inset 0 0 0 100px var(--auth-input-bg);caret-color:var(--auth-label)}.auth__eye{border:none;background:none;padding:0;display:inline-flex;color:var(--auth-icon);cursor:pointer}.auth__error{margin-top:6px;font-size:13px;color:var(--auth-required);min-height:1em}.auth__row-right{margin-top:12px;text-align:right;font-size:14px}.auth__btn{margin-top:24px;width:100%;height:54px;border:none;border-radius:10px;background:linear-gradient(180deg,var(--auth-gold-hi),var(--auth-gold));box-shadow:0 8px 16px -9px var(--auth-gold-shadow);font-family:var(--auth-font-body);font-size:17px;font-weight:700;color:var(--auth-btn-text);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;transition:filter .15s ease}.auth__btn:hover:not(:disabled){filter:brightness(1.04)}.auth__btn:disabled{opacity:.6;cursor:not-allowed}.auth__btn--ghost{background:var(--auth-input-bg);border:1px solid var(--auth-input-border);box-shadow:none;color:var(--auth-label);font-size:15px}.auth__btn--ghost:hover:not(:disabled){background:#faf3e3;filter:none}.auth__divider{display:flex;align-items:center;gap:16px;margin-top:24px}.auth__divider:before,.auth__divider:after{content:"";flex:1;height:1px;background:var(--auth-divider)}.auth__divider span{font-size:13px;color:var(--auth-muted);letter-spacing:1px}.auth__footer{margin-top:28px;text-align:center;font-size:15px;color:var(--auth-text)}.auth__back{display:inline-flex;align-items:center;gap:11px;font-size:15px}.auth__medallion-wrap{display:flex;flex-direction:column;align-items:center;margin-top:20px}.auth__medallion{position:relative;width:88px;height:88px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#fdf7ea,#fbf1de);box-shadow:0 0 0 1px #e6dac4,0 10px 20px -12px var(--auth-gold-shadow);display:flex;align-items:center;justify-content:center}.auth__medallion:before{content:"";position:absolute;inset:-8px;border-radius:50%;border:1.5px dashed var(--auth-gold);opacity:.55}.auth__medallion-badge{position:absolute;right:-2px;bottom:-2px;width:28px;height:28px;border-radius:50%;background:linear-gradient(180deg,#8a6423,#5b4318);display:flex;align-items:center;justify-content:center;border:2px solid var(--auth-surface);color:#fff}.auth__info{margin-top:24px;border:1px solid #ecd9b4;border-radius:10px;background:#fdf6e7;padding:14px 16px;display:flex;gap:13px;align-items:center}.auth__info svg{flex:none;color:#b57a1e}.auth__info-title{font-size:14.5px;font-weight:700;color:#3a2f1d}.auth__info-text{font-size:13px;color:#6f6451;margin-top:2px}.auth__grid{display:grid;grid-template-columns:1fr 1fr;column-gap:40px}@media(max-width:767px){.auth__panel{padding:26px 22px 30px}.auth__grid{grid-template-columns:1fr}.auth__title{font-size:32px}}
.toolbar--when{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--space-3)}.toolbar--when .field{flex:0 0 220px;min-width:0}.toolbar--when .field__input{height:40px}@media(max-width:767px){.toolbar--when .field{flex:1 1 100%}}

/* ===== Billing & Finance: collapsible sidebar group ===== */
.portal__nav-group{position:relative;display:flex;flex-direction:column;gap:2px}
.portal__nav-parent{display:flex;align-items:center;gap:var(--space-3);width:100%;padding:10px var(--space-3);border:0;background:transparent;border-radius:var(--radius-md);color:var(--sidebar-text-muted);font-family:inherit;font-size:var(--font-size-sm);font-weight:500;text-align:left;cursor:pointer;transition:background var(--transition-fast),color var(--transition-fast)}
.portal__nav-parent:hover{color:var(--sidebar-text);background:var(--sidebar-bg-raised);text-decoration:none}
.portal__nav-parent.is-active{color:var(--accent-strong);background:linear-gradient(90deg,rgb(var(--accent-rgb) / 22%),rgb(var(--accent-rgb) / 8%));box-shadow:inset 2px 0 0 var(--accent);font-weight:600}
.portal__nav-parent>svg{flex:none}
.portal__nav-chevron{margin-inline-start:auto;flex:none;transition:transform var(--transition-base)}
.portal__nav-group.is-open .portal__nav-chevron{transform:rotate(180deg)}
.portal__subnav{display:grid;grid-template-rows:0fr;transition:grid-template-rows var(--transition-base)}
.portal__nav-group.is-open .portal__subnav{grid-template-rows:1fr}
.portal__subnav-clip{overflow:hidden;min-height:0}
.portal__subnav-list{display:flex;flex-direction:column;gap:2px;margin:2px 0 var(--space-2);margin-inline-start:calc(var(--space-3) + 9px);padding-inline-start:var(--space-3);border-inline-start:1px solid var(--border-subtle)}
.portal__subnav-link{display:flex;align-items:center;gap:var(--space-2);padding:7px var(--space-3);border-radius:var(--radius-sm);color:var(--sidebar-text-muted);font-size:var(--font-size-xs);font-weight:500}
.portal__subnav-link:hover{color:var(--sidebar-text);background:var(--sidebar-bg-raised);text-decoration:none}
.portal__subnav-link.active{color:var(--accent-strong);background:rgb(var(--accent-rgb) / 12%);font-weight:600}
.portal__subnav-link>svg{flex:none;opacity:.85}
@media(prefers-reduced-motion:reduce){.portal__subnav,.portal__nav-chevron{transition:none}}
@media(min-width:1024px){
.portal--collapsed .portal__nav-parent{justify-content:center;padding-inline:0}
.portal--collapsed .portal__nav-chevron{display:none}
.portal--collapsed .portal__subnav{position:fixed;z-index:60;grid-template-rows:1fr;min-width:214px;padding:var(--space-2);background:var(--surface-card);border:1px solid var(--border-subtle);border-radius:var(--radius-md);box-shadow:var(--shadow-float);opacity:0;visibility:hidden;transition:opacity var(--transition-fast),visibility var(--transition-fast)}
.portal--collapsed .portal__nav-group:hover .portal__subnav,.portal--collapsed .portal__nav-group:focus-within .portal__subnav{opacity:1;visibility:visible}
.portal--collapsed .portal__subnav-list{margin:0;padding-inline-start:0;border-inline-start:0}
.portal--collapsed .portal__subnav-link{font-size:var(--font-size-sm)}
}

/* ===== Breadcrumbs ===== */
.crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-2);font-size:var(--font-size-xs);color:var(--text-muted)}
.crumbs a{color:var(--text-secondary)}
.crumbs a:hover{color:var(--regalis-gold-dark)}
.crumbs__sep{opacity:.45}
.crumbs__current{color:var(--text-primary);font-weight:600}

/* ===== Billing & Finance landing ===== */
.bill-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(208px,1fr));gap:var(--space-4)}
.bill-kpi{display:flex;flex-direction:column;gap:var(--space-2);padding:var(--space-4);background:var(--surface-card);background-image:var(--card-sheen);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}
.bill-kpi__top{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-3)}
.bill-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:none;border-radius:var(--radius-md);background:rgb(var(--accent-rgb) / 12%);color:var(--regalis-gold-dark)}
.bill-kpi__value{font-family:var(--font-display);font-size:var(--font-size-2xl);font-weight:800;line-height:1.1;color:var(--text-primary);overflow-wrap:anywhere}
.bill-kpi__label{font-size:var(--font-size-xs);color:var(--text-muted)}
.bill-kpi__hint{font-size:var(--font-size-xs);color:var(--text-muted)}
.bill-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-4)}
@media(max-width:1023px){.bill-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.bill-nav{grid-template-columns:minmax(0,1fr)}}
.bill-nav__card{display:flex;flex-direction:column;gap:var(--space-2);padding:var(--space-4);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-card);background-image:var(--card-sheen);box-shadow:var(--shadow-sm);color:var(--text-primary);transition:border-color var(--transition-fast),box-shadow var(--transition-fast),transform var(--transition-fast)}
.bill-nav__card:hover{border-color:var(--regalis-gold);box-shadow:var(--shadow-raised);transform:translateY(-2px);text-decoration:none}
.bill-nav__top{display:flex;align-items:center;gap:var(--space-3)}
.bill-nav__title{font-weight:700;font-size:var(--font-size-sm);flex:1;min-width:0}
.bill-nav__desc{font-size:var(--font-size-xs);color:var(--text-muted)}
.bill-txn__row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-3) 0;border-bottom:1px solid var(--border-subtle)}
.bill-txn__row:last-child{border-bottom:0;padding-bottom:0}
.bill-txn__row:first-child{padding-top:0}
.bill-txn__main{min-width:0}
.bill-txn__title{font-size:var(--font-size-sm);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bill-txn__meta{font-size:var(--font-size-xs);color:var(--text-muted);margin-top:2px}
.bill-txn__amt{font-weight:700;font-size:var(--font-size-sm);white-space:nowrap}
.bill-txn__amt--in{color:var(--color-success)}
.bill-txn__amt--out{color:var(--color-danger)}
.bill-empty{color:var(--text-muted);font-size:var(--font-size-sm);text-align:center;padding:var(--space-6) var(--space-2)}
.bill-section__head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap}
.bill-section__title{font-family:var(--font-display);font-size:var(--font-size-lg);font-weight:700}
.dash-hello{margin-bottom:var(--space-4)}.stat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:var(--space-3)}.stat-card{display:block;background:var(--surface-card);background-image:var(--card-sheen);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:var(--space-4);text-decoration:none;color:var(--text-primary);transition:border-color var(--transition-fast),box-shadow var(--transition-fast),transform var(--transition-fast)}a.stat-card:hover{border-color:var(--regalis-gold);box-shadow:var(--shadow-raised);transform:translateY(-2px)}a.stat-card:focus-visible{outline:2px solid var(--regalis-gold);outline-offset:2px}.stat-card__top{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);margin-bottom:var(--space-3)}.stat-card__icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:var(--radius-md);background:rgb(var(--accent-rgb) / 13%);color:var(--regalis-gold-dark);flex:none}.stat-card__badge{flex:none;border-radius:var(--radius-full);background:rgb(var(--accent-rgb) / 13%);color:var(--regalis-gold-dark);font-size:var(--font-size-xs);font-weight:600;padding:2px 9px;white-space:nowrap}.stat-card__value{font-family:var(--font-display);font-size:var(--font-size-2xl);font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums}.stat-card__label{color:var(--text-secondary);font-size:var(--font-size-sm);margin-top:var(--space-1)}.stat-card__hint{color:var(--text-muted);font-size:var(--font-size-xs);margin-top:var(--space-1)}.dash-link{font-size:var(--font-size-sm);font-weight:600;color:var(--regalis-gold-dark);text-decoration:none}.dash-link:hover{text-decoration:underline}.booking-list{display:flex;flex-direction:column}.booking-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding:var(--space-3) 0;border-bottom:1px solid var(--border-subtle);text-decoration:none;color:var(--text-primary)}.booking-row:last-child{border-bottom:0}.booking-row:hover{background:var(--surface-hover)}.booking-row__who{font-weight:600;font-size:var(--font-size-sm)}.booking-row__what{color:var(--text-muted);font-size:var(--font-size-xs);margin-top:2px}.booking-row__when{color:var(--text-secondary);font-size:var(--font-size-sm);white-space:nowrap;font-variant-numeric:tabular-nums}.avail{display:flex;flex-direction:column;gap:var(--space-4)}.avail__head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-2)}.avail__name{font-weight:600;font-size:var(--font-size-sm)}.avail__count{color:var(--text-muted);font-size:var(--font-size-xs);white-space:nowrap;font-variant-numeric:tabular-nums}.avail__bar{display:block;height:6px;border-radius:var(--radius-full);background:var(--surface-inset);overflow:hidden}.avail__fill{display:block;height:100%;border-radius:var(--radius-full);background:var(--regalis-gold-dark);min-width:0}.stat-card--flat{cursor:default}.avail__row{min-width:0}.portal__nav-section{flex:none;padding:var(--space-4) var(--space-3) var(--space-1);font-size:10px;line-height:1.6;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--sidebar-text-muted);opacity:.75;pointer-events:none;white-space:nowrap}.portal__nav-section:first-child{padding-top:var(--space-1)}.portal--collapsed .portal__nav-section{padding:var(--space-3) 0 var(--space-1);text-align:center;font-size:0;letter-spacing:0}.portal--collapsed .portal__nav-section::after{content:"";display:block;height:1px;margin:0 auto;width:18px;background:var(--sidebar-text-muted);opacity:.35}.auth__google{display:flex;justify-content:center;margin-top:var(--space-4);min-height:44px}
/* Admin -> customer profile (AdminCustomerDetailPage) */
.custp-id{display:flex;align-items:center;gap:var(--space-4);flex-wrap:wrap}
.custp-id__avatar{flex:none;width:76px;height:76px;border-radius:var(--radius-lg);background:rgb(var(--accent-rgb) / 15%);color:var(--regalis-gold-dark);display:inline-flex;align-items:center;justify-content:center;font-family:var(--font-display);font-size:var(--font-size-2xl);font-weight:800;letter-spacing:.02em}
.custp-id__main{flex:1 1 220px;min-width:0}
.custp-id__name{font-family:var(--font-display);font-size:var(--font-size-2xl);font-weight:800;line-height:1.15;letter-spacing:.01em}
.custp-id__meta{margin-top:var(--space-1);color:var(--text-secondary);font-size:var(--font-size-sm)}
.custp-id__actions{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}
.custp-id__actions .badge{margin-inline-start:0}
.custp-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-5) var(--space-8)}
.custp-field__label{display:flex;align-items:center;gap:var(--space-2);color:var(--text-muted);font-size:var(--font-size-xs);font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.custp-field__label svg{flex:none;color:var(--regalis-gold-dark)}
.custp-field__value{margin-top:var(--space-1);font-weight:600;color:var(--text-primary);overflow-wrap:anywhere}
.custp-field__value--muted{font-weight:400;font-style:italic;color:var(--text-muted)}
.custp-badges{display:inline-flex;align-items:center;gap:var(--space-2)}
.custp-badges .badge{margin-inline-start:0}
.custp-tabs{display:flex;flex-wrap:wrap;gap:var(--space-1);width:fit-content;max-width:100%;padding:var(--space-1);border:1px solid var(--border-subtle);border-radius:var(--radius-full);background:var(--surface-inset)}
.custp-tabs__tab{border:0;background:transparent;border-radius:var(--radius-full);padding:8px var(--space-4);font-family:inherit;font-size:var(--font-size-sm);font-weight:600;color:var(--text-secondary);cursor:pointer;transition:background var(--transition-fast),color var(--transition-fast),box-shadow var(--transition-fast)}
.custp-tabs__tab:hover{color:var(--text-primary)}
.custp-tabs__tab:focus-visible{outline:2px solid var(--regalis-gold);outline-offset:2px}
.custp-tabs__tab--active{background:var(--surface-card);color:var(--text-primary);box-shadow:var(--shadow-sm)}
.custp-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:var(--space-4)}
.custp-tile{padding:var(--space-5);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-card);background-image:var(--card-sheen);box-shadow:var(--shadow-sm)}
.custp-tile__value{font-family:var(--font-display);font-size:var(--font-size-2xl);font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums}
.custp-tile__label{margin-top:var(--space-1);color:var(--text-secondary);font-size:var(--font-size-sm)}
.custp-standing{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:var(--space-4)}
.custp-standing__label{color:var(--text-muted);font-size:var(--font-size-xs)}
.custp-standing__value{margin-top:2px;font-weight:600}
.custp-standing__value .badge{margin-inline-start:0}
@media (max-width:720px){.custp-fields{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){.custp-id{align-items:flex-start}.custp-id__actions{width:100%;justify-content:space-between}.custp-tabs{width:100%;justify-content:flex-start}}
/* Admin -> customers list (AdminCustomersPage) */
.custl-toolbar{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}
.custl-search{position:relative;flex:1 1 320px;min-width:0;display:flex;align-items:center}
.custl-search svg{position:absolute;inset-inline-start:var(--space-4);color:var(--text-muted);pointer-events:none}
.custl-search .field__input{padding:13px var(--space-4) 13px 44px;border-color:var(--border-subtle);box-shadow:var(--shadow-sm)}
.custl-search .field__input::-webkit-search-cancel-button{cursor:pointer}
.custl-select{flex:0 0 auto;width:auto;min-width:160px;padding:13px var(--space-4);border-color:var(--border-subtle);box-shadow:var(--shadow-sm);cursor:pointer}
.custl-table th{text-transform:uppercase;letter-spacing:.06em;font-size:var(--font-size-xs);font-weight:700;color:var(--text-muted);border-bottom:1px solid var(--border-subtle)}
.custl-table tbody tr:last-child td{border-bottom:0}
.custl-row{cursor:pointer}
.custl-row:focus-visible{outline:2px solid var(--regalis-gold);outline-offset:-2px}
.custl-who{display:flex;align-items:center;gap:var(--space-3)}
.custl-avatar{flex:none;width:38px;height:38px;border-radius:var(--radius-md);background:rgb(var(--accent-rgb) / 15%);color:var(--regalis-gold-dark);display:inline-flex;align-items:center;justify-content:center;font-size:var(--font-size-xs);font-weight:700;letter-spacing:.04em}
.custl-who__name{font-weight:700}
.custl-who__code{color:var(--text-muted);font-size:var(--font-size-xs)}
.custl-muted{color:var(--text-muted)}
.custl-foot{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap;padding-top:var(--space-4)}
.custl-foot__info{color:var(--text-muted);font-size:var(--font-size-xs)}
.custl-pages{display:flex;gap:var(--space-2)}
.custl-page{min-width:34px;height:34px;padding:0 var(--space-2);border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-card);color:var(--text-secondary);font-family:inherit;font-size:var(--font-size-sm);font-weight:600;cursor:pointer;transition:border-color var(--transition-fast),background var(--transition-fast),color var(--transition-fast)}
.custl-page:hover:not(:disabled){border-color:var(--regalis-gold);color:var(--regalis-gold-dark)}
.custl-page:focus-visible{outline:2px solid var(--regalis-gold);outline-offset:2px}
.custl-page:disabled{opacity:.5;cursor:not-allowed}
.custl-page--active{background:linear-gradient(180deg,var(--accent-bright),var(--accent) 85%);border-color:var(--accent-strong);color:var(--text-on-gold);box-shadow:inset 0 1px #ffffff4d}
@media (max-width:640px){.custl-select{flex:1 1 140px;min-width:0;width:100%}}
/* Tinted outline buttons for row actions that change or destroy a record */
.btn--warning-outline{background:transparent;border-color:#d9770659;color:var(--color-warning)}
.btn--warning-outline:hover:not(:disabled){background:#d977061f;border-color:var(--color-warning)}
.btn--success-outline{background:transparent;border-color:#16a34a59;color:var(--color-success)}
.btn--success-outline:hover:not(:disabled){background:#16a34a1f;border-color:var(--color-success)}
.btn--danger-outline{background:transparent;border-color:#dc262659;color:var(--color-danger)}
.btn--danger-outline:hover:not(:disabled){background:#dc26261f;border-color:var(--color-danger)}
.btn--warning-outline:focus-visible,.btn--success-outline:focus-visible,.btn--danger-outline:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.row-actions{gap:var(--space-2)}
/* Admin -> calendar: filter bar, type bands, NOW marker */
.calbar{display:flex;align-items:flex-end;gap:var(--space-5);flex-wrap:wrap}
.calbar__field{display:flex;flex-direction:column;gap:var(--space-2)}
.calbar__label{text-transform:uppercase;letter-spacing:.08em;font-size:var(--font-size-xs);font-weight:700;color:var(--text-muted)}
.calbar__date{display:flex;align-items:center;gap:var(--space-2)}
.calbar__step{flex:none;width:36px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-card);color:var(--text-secondary);cursor:pointer;transition:border-color var(--transition-fast),color var(--transition-fast)}
.calbar__step:hover{border-color:var(--regalis-gold);color:var(--regalis-gold-dark)}
.calbar__step:focus-visible{outline:2px solid var(--regalis-gold);outline-offset:2px}
.calbar .field__input{min-width:168px;border-color:var(--border-subtle)}
.cal-legend{margin-inline-start:auto;display:flex;align-items:center;gap:var(--space-4);flex-wrap:wrap;padding-bottom:var(--space-2)}
.cal-legend__item{display:inline-flex;align-items:center;gap:var(--space-2);font-size:var(--font-size-xs);font-weight:600;color:var(--text-secondary)}
.cal-legend__dot{width:11px;height:11px;border-radius:3px;flex:none}
.cal-legend__dot--booking{background:var(--accent-strong)}
.cal-legend__dot--block{background:var(--text-secondary)}
.cal-legend__dot--free{background:var(--surface-inset);border:1px solid var(--border-strong)}
.cal{position:relative}
.cal__group{background:var(--surface-inset);border-bottom:1px solid var(--border-subtle);padding:7px var(--space-3);text-transform:uppercase;letter-spacing:.08em;font-size:var(--font-size-xs);font-weight:700;color:var(--regalis-gold-dark)}
.cal__now{position:absolute;top:0;bottom:0;width:2px;background:#c0392b;z-index:2;pointer-events:none}
.cal__now-label{position:absolute;top:-1px;left:50%;transform:translate(-50%);background:#c0392b;color:var(--regalis-white);font-size:10px;font-weight:700;letter-spacing:.06em;line-height:1;border-radius:3px;padding:3px 5px}
.cal__item--booking{background:var(--accent-strong);color:var(--regalis-white);border-left:0}
.cal__item--pending{background:#e3b341;color:var(--text-primary);border-left:0}
.cal__item--block{background:var(--text-secondary);color:var(--regalis-white);border-left:0}
.cal__item:hover{filter:brightness(1.08)}
.cal__item:focus-visible{outline:2px solid var(--regalis-gold);outline-offset:1px}
/* Admin -> reports & analysis.
   --viz-1..5 are a validated categorical set (adjacent-pair CVD dE >= 8 in light,
   >= 3:1 on the surface in dark); the legend direct-labels every slice, which is
   the relief the aqua step needs for its 2.8:1 contrast on the light surface.
   Dark carries its own steps, not a flip. Re-run the dataviz validator before
   changing any value here. */
:root{--viz-1: #a2831c;--viz-2: #2a78d6;--viz-3: #1baf7a;--viz-4: #4a3aa7;--viz-5: #e34948;--viz-other: #8b8270}
:root[data-theme=dark]{--viz-1: #ad8824;--viz-2: #3987e5;--viz-3: #199e70;--viz-4: #9085e9;--viz-5: #e66767;--viz-other: #8c897c}
.rep-filters{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}
.rep-filters__select{width:auto;min-width:160px;padding:10px var(--space-4);border-color:var(--border-subtle);cursor:pointer}
.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:var(--space-4)}
.kpi{padding:var(--space-5);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-card);background-image:var(--card-sheen);box-shadow:var(--shadow-sm)}
.kpi__top{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);margin-bottom:var(--space-4)}
.kpi__icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:var(--radius-md);background:rgb(var(--accent-rgb) / 13%);color:var(--regalis-gold-dark)}
.kpi__delta{font-size:var(--font-size-xs);font-weight:700;font-variant-numeric:tabular-nums}
.kpi__delta--up{color:var(--color-success)}
.kpi__delta--down{color:var(--color-danger)}
.kpi__value{font-family:var(--font-display);font-size:var(--font-size-2xl);font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums}
.kpi__label{margin-top:var(--space-1);color:var(--text-secondary);font-size:var(--font-size-sm)}
.kpi__hint{margin-top:var(--space-1);color:var(--color-warning);font-size:var(--font-size-xs)}
.rep-row{display:grid;gap:var(--space-4)}
.rep-row--trend{grid-template-columns:minmax(0,1.9fr) minmax(0,1fr)}
.rep-row--split{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}
@media (max-width:1000px){.rep-row--trend,.rep-row--split{grid-template-columns:minmax(0,1fr)}}
.seg{display:inline-flex;gap:2px;padding:3px;border-radius:var(--radius-full);background:var(--surface-inset);border:1px solid var(--border-subtle)}
.seg__opt{border:0;background:transparent;border-radius:var(--radius-full);padding:5px var(--space-4);font-family:inherit;font-size:var(--font-size-xs);font-weight:600;color:var(--text-secondary);cursor:pointer}
.seg__opt:hover{color:var(--text-primary)}
.seg__opt--active{background:var(--surface-card);color:var(--text-primary);box-shadow:var(--shadow-sm)}
.seg__opt:focus-visible{outline:2px solid var(--regalis-gold);outline-offset:2px}
.viz{position:relative}
.viz-plot{position:relative}
.viz-grid{stroke:var(--border-subtle);stroke-width:1}
.viz-area{fill:rgb(var(--accent-rgb) / 13%)}
.viz-line{fill:none;stroke:var(--viz-1);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.viz-crosshair{stroke:var(--border-strong);stroke-width:1}
.viz-dot{fill:var(--viz-1);stroke:var(--surface-card);stroke-width:2}
.viz-axis{position:relative;height:18px;margin-top:var(--space-1)}
.viz-axis span{position:absolute;font-size:var(--font-size-xs);color:var(--text-muted);white-space:nowrap}
.viz-ytick{fill:var(--text-muted);font-size:10px;font-family:var(--font-sans)}
.viz-max{margin-top:var(--space-2);font-size:var(--font-size-xs);color:var(--text-muted)}
.viz-empty{padding:var(--space-6) 0;color:var(--text-muted);font-size:var(--font-size-sm);text-align:center}
.viz-tip{position:absolute;transform:translate(-50%,-140%);background:var(--surface-chrome);color:var(--text-on-chrome);border-radius:var(--radius-md);padding:6px 10px;font-size:var(--font-size-xs);pointer-events:none;white-space:nowrap;box-shadow:var(--shadow-md);z-index:3}
.viz-tip__label{color:var(--text-on-chrome-muted)}
.viz-tip__value{font-weight:700;font-variant-numeric:tabular-nums}
.viz-tip--centre{left:50%;top:50%;transform:translate(-50%,-50%);text-align:center}
.viz-tip--bar{left:50%;top:0;transform:translate(-50%,-115%)}
.viz-donut{display:flex;align-items:center;gap:var(--space-5);flex-wrap:wrap}
.viz-plot--donut{position:relative;flex:none}
.viz-arc{transition:stroke-width var(--transition-fast)}
.viz-legend{flex:1 1 170px;min-width:0;list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-3)}
.viz-legend__row{display:flex;align-items:center;gap:var(--space-2);font-size:var(--font-size-sm)}
.viz-legend__dot{width:10px;height:10px;border-radius:3px;flex:none}
.viz-legend__label{color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.viz-legend__value{margin-inline-start:auto;font-weight:700;font-variant-numeric:tabular-nums}
.viz-bars{display:flex;align-items:flex-end;gap:var(--space-4);padding-top:var(--space-2)}
.viz-bars__col{flex:1 1 0;min-width:0;display:flex;flex-direction:column;height:100%}
.viz-bars__track{position:relative;flex:1;display:flex;align-items:flex-end}
.viz-bars__bar{width:100%;max-width:24px;margin:0 auto;background:var(--viz-1);border-radius:4px 4px 0 0;transition:filter var(--transition-fast)}
.viz-bars__col:hover .viz-bars__bar{filter:brightness(1.1)}
.viz-bars__label{margin-top:var(--space-2);text-align:center;font-size:var(--font-size-xs);color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.occ-table th{text-transform:uppercase;letter-spacing:.06em;font-size:var(--font-size-xs);color:var(--text-muted);border-bottom:1px solid var(--border-subtle)}
.occ-table tbody tr:last-child td{border-bottom:0}
.meter{display:flex;align-items:center;gap:var(--space-3)}
.meter__track{flex:1 1 120px;max-width:160px;height:7px;border-radius:var(--radius-full);background:var(--surface-inset);overflow:hidden}
.meter__fill{height:100%;border-radius:var(--radius-full);background:var(--viz-1)}
.meter__value{font-variant-numeric:tabular-nums;font-weight:600;font-size:var(--font-size-sm)}
.rep-library__head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap}
.rep-library__title{font-family:var(--font-display);font-size:var(--font-size-lg);font-weight:800}
.rep-library__count{color:var(--text-muted);font-size:var(--font-size-xs)}
.rep-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:var(--space-4)}
.rep-card{display:flex;gap:var(--space-3);padding:var(--space-5);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-card);background-image:var(--card-sheen);box-shadow:var(--shadow-sm);transition:border-color var(--transition-fast),box-shadow var(--transition-fast)}
.rep-card:hover{border-color:var(--regalis-gold);box-shadow:var(--shadow-raised)}
.rep-card--soon{opacity:.6}
.rep-card--soon:hover{border-color:var(--border-subtle);box-shadow:var(--shadow-sm)}
.rep-card__icon{flex:none;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--radius-md);background:rgb(var(--accent-rgb) / 13%);color:var(--regalis-gold-dark)}
.rep-card__body{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-1)}
.rep-card__title{font-weight:700;color:var(--text-primary);text-decoration:none}
a.rep-card__title:hover{color:var(--regalis-gold-dark)}
.rep-card__desc{margin:0 0 var(--space-2);color:var(--text-secondary);font-size:var(--font-size-sm)}
.rep-card__open{font-size:var(--font-size-sm);font-weight:600;color:var(--regalis-gold-dark)}
.rep-card__soon{font-size:var(--font-size-xs);color:var(--text-muted)}
.custl-actions-col{width:1%;white-space:nowrap;text-align:right}
/* Regalis date+time picker. The panel is portalled to <body> and positioned fixed
   from the trigger's rect: .modal__body sets overflow-y:auto, which makes BOTH axes
   clip, so a panel rendered inside the modal would be cut off. Every colour is a
   token so the picker follows dark mode and any accent. */
.rg-dt{position:relative}
.rg-dt__trigger{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);width:100%;cursor:pointer;text-align:left;font-family:inherit}
.rg-dt__trigger[aria-expanded=true]{border-color:var(--regalis-gold);box-shadow:0 0 0 2px rgb(var(--accent-rgb) / 25%)}
.rg-dt__ph{color:var(--text-muted)}
.rg-dt__pop{position:fixed;z-index:200;width:290px;max-width:calc(100vw - 16px);background:var(--surface-card);background-image:var(--card-sheen);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-float);padding:var(--space-3);color:var(--text-primary)}
.rg-dt__head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);margin-bottom:var(--space-3)}
.rg-dt__title{font-weight:700;font-size:var(--font-size-sm);color:var(--text-primary)}
.rg-dt__grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.rg-dt__dow{text-align:center;font-size:var(--font-size-xs);color:var(--text-muted);font-weight:700;padding:4px 0}
.rg-dt__day{display:block;width:100%;border:1px solid transparent;background:transparent;border-radius:var(--radius-md);padding:7px 0;font-size:var(--font-size-xs);font-family:inherit;font-weight:600;color:var(--text-primary);cursor:pointer;transition:background var(--transition-fast),color var(--transition-fast),border-color var(--transition-fast)}
.rg-dt__day:hover:not(:disabled){background:var(--surface-hover);border-color:var(--border-strong)}
.rg-dt__day:focus-visible{outline:none;border-color:var(--regalis-gold);box-shadow:0 0 0 2px rgb(var(--accent-rgb) / 25%)}
.rg-dt__day:disabled{color:var(--text-muted);opacity:.4;cursor:not-allowed}
.rg-dt__day--today{border-color:var(--regalis-gold)}
.rg-dt__day--sel,.rg-dt__day--sel:hover:not(:disabled){background:linear-gradient(180deg,var(--accent-bright),var(--accent) 85%);color:var(--text-on-gold);border-color:transparent;box-shadow:inset 0 1px #ffffff4d}
.rg-dt__time{display:flex;align-items:center;gap:var(--space-2);margin-top:var(--space-3);padding-top:var(--space-3);border-top:1px solid var(--border-subtle)}
.rg-dt__time-label{font-size:var(--font-size-xs);color:var(--text-muted);font-weight:700}
.rg-dt__sel{flex:1;min-width:0;font-family:inherit;font-size:var(--font-size-sm);font-weight:600;padding:8px 10px;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-inset);color:var(--text-primary);cursor:pointer}
.rg-dt__sel:focus-visible{outline:none;border-color:var(--regalis-gold);box-shadow:0 0 0 2px rgb(var(--accent-rgb) / 25%)}
.rg-dt__foot{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);margin-top:var(--space-3);padding-top:var(--space-3);border-top:1px solid var(--border-subtle)}
.rg-dt__foot-r{display:flex;gap:var(--space-2)}
/* month arrows: same .btn treatment as the modal's own buttons, squared off */
.rg-dt__pop .btn{margin-top:0}
.rg-dt__nav{min-width:30px;padding:6px 9px;line-height:1}
/* Assets / inventory screens: search field, toolbar and stat cards. All colours
   are tokens so the screens follow dark mode and any accent. */
.inv-toolbar{display:flex;gap:var(--space-3);align-items:center;flex-wrap:wrap;margin-bottom:var(--space-4)}
.inv-search{position:relative;flex:1 1 260px;min-width:0}
.inv-search .field__input{padding-left:38px;width:100%}
.inv-search__icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--text-muted);pointer-events:none}
.inv-filter{flex:0 0 auto;min-width:150px;font-family:inherit;font-size:var(--font-size-sm);padding:10px 12px;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-inset);color:var(--text-primary);cursor:pointer}
.inv-filter:focus-visible{outline:none;border-color:var(--regalis-gold);box-shadow:0 0 0 2px rgb(var(--accent-rgb) / 25%)}
.inv-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:var(--space-4);margin-bottom:var(--space-4)}
.inv-stat{display:flex;align-items:center;gap:var(--space-4);background:var(--surface-card);background-image:var(--card-sheen);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:var(--space-4) var(--space-5)}
.inv-stat__icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--radius-md);background:rgb(var(--accent-rgb) / 14%);color:var(--regalis-gold-dark);flex:0 0 auto}
.inv-stat__v{font-size:var(--font-size-xl);font-weight:700;line-height:1.15;color:var(--text-primary)}
.inv-stat__l{font-size:var(--font-size-xs);color:var(--text-muted)}
.inv-pos{color:var(--color-success);font-weight:700}
.inv-neg{color:var(--color-danger);font-weight:700}
.inv-kv{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:var(--space-4)}
.inv-kv__k{font-size:var(--font-size-xs);color:var(--text-muted)}
.inv-kv__v{font-weight:600;color:var(--text-primary)}

/* ── Quotations (specification SS3.1–SS3.7) ──────────────────────────────── */
.qtn-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:var(--space-4);margin-bottom:var(--space-4)}
.qtn-stat{display:flex;flex-direction:column;gap:var(--space-1);text-align:left;padding:var(--space-4) var(--space-5);background:var(--surface-card);background-image:var(--card-sheen);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);cursor:pointer;font:inherit;color:inherit;transition:border-color .15s ease,box-shadow .15s ease}
.qtn-stat:hover{border-color:var(--regalis-gold)}
.qtn-stat--active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.qtn-stat__l{font-size:var(--font-size-xs);color:var(--text-muted)}
.qtn-stat__v{font-size:var(--font-size-xl);font-weight:700;line-height:1.15;color:var(--text-primary)}
.qtn-stat__h{font-size:var(--font-size-xs);color:var(--regalis-gold-dark)}

.qtn-tabs{display:flex;flex-wrap:wrap;gap:var(--space-4);border-bottom:1px solid var(--border-subtle);margin-bottom:var(--space-4)}
.qtn-tab{display:inline-flex;align-items:center;gap:var(--space-2);padding:var(--space-2) 0;background:none;border:0;border-bottom:2px solid transparent;font:inherit;font-size:var(--font-size-sm);color:var(--text-muted);cursor:pointer}
.qtn-tab:hover{color:var(--text-primary)}
.qtn-tab--active{color:var(--regalis-gold-dark);border-bottom-color:var(--accent);font-weight:600}
.qtn-tab__count{display:inline-block;min-width:1.4rem;padding:0 .35rem;border-radius:var(--radius-full);background:var(--surface-inset);font-size:var(--font-size-xs);text-align:center}
.qtn-tab--active .qtn-tab__count{background:rgb(var(--accent-rgb) / 16%);color:var(--regalis-gold-dark)}

/* Status pill colours are fixed by the specification, not by the theme. */
.qtn-pill{display:inline-block;padding:.2rem .6rem;border-radius:var(--radius-full);font-size:var(--font-size-xs);font-weight:600;white-space:nowrap}
.qtn-pill--draft{background:#EEEAE3;color:#5B554C}
.qtn-pill--sent{background:#F5EBD0;color:#9A7A1C}
.qtn-pill--viewed{background:#E4ECF7;color:#2E5A99}
.qtn-pill--approved{background:#E3F3EA;color:#1E7B4F}
.qtn-pill--rejected{background:#FBE7E5;color:#B42318}
.qtn-pill--expired{background:#F1E9DF;color:#8A6A4A}
.qtn-pill--revised{background:#ECE7F5;color:#5B4A91}
.qtn-pill--cancelled{background:#FBE7E5;color:#B42318}

.qtn-due{font-size:var(--font-size-xs);color:var(--text-muted)}
.qtn-due--soon{color:#9A7A1C;font-weight:600}
.qtn-cell__strong{font-weight:600}
.qtn-cell__muted{font-size:var(--font-size-xs);color:var(--text-muted)}
.qtn-link{background:none;border:0;padding:0;font:inherit;color:var(--regalis-gold-dark);text-decoration:underline;cursor:pointer}
.qtn-filternote{margin-bottom:var(--space-3);font-size:var(--font-size-sm);color:var(--text-muted)}
.data-table__row--clickable{cursor:pointer}
.data-table__row--clickable:hover{background:var(--surface-hover)}

/* Row "more actions" menu */
.qtn-menu{position:relative;display:inline-block}
.qtn-menu__trigger{width:2rem;height:2rem;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-card);color:var(--text-secondary);font-size:1rem;line-height:1;cursor:pointer}
.qtn-menu__trigger:hover{border-color:var(--regalis-gold);color:var(--text-primary)}
.qtn-menu__list{position:absolute;right:0;top:calc(100% + 4px);z-index:30;min-width:190px;padding:var(--space-1);background:var(--surface-card);border:1px solid var(--border-subtle);border-radius:var(--radius-md);box-shadow:var(--shadow-lg)}
.qtn-menu__item{display:block;width:100%;padding:var(--space-2) var(--space-3);background:none;border:0;border-radius:var(--radius-sm);font:inherit;font-size:var(--font-size-sm);text-align:left;color:var(--text-primary);cursor:pointer}
.qtn-menu__item:hover{background:var(--surface-hover)}
.qtn-menu__item--danger{color:var(--color-danger)}

/* Create / edit form */
.qtn-form{padding-bottom:5.5rem}
.qtn-band{padding:var(--space-4) var(--space-5);margin-bottom:var(--space-4);background:rgb(var(--accent-rgb) / 8%);border:1px solid var(--border-subtle);border-radius:var(--radius-lg)}
.qtn-lines{display:flex;flex-direction:column;gap:var(--space-4)}
.qtn-line{padding:var(--space-3) var(--space-4);border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-card)}
.qtn-line--header{background:var(--surface-inset)}
.qtn-line__bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--space-2)}
.qtn-line__no{font-size:var(--font-size-xs);color:var(--text-muted);font-weight:600}
.qtn-line__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:var(--space-3)}
.qtn-line__service{grid-column:span 2}
.qtn-line__amount{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-end;gap:var(--space-1)}
.qtn-iconbtn{width:1.9rem;height:1.9rem;border:1px solid var(--border-subtle);border-radius:var(--radius-sm);background:var(--surface-card);color:var(--text-secondary);line-height:1;cursor:pointer}
.qtn-iconbtn:hover{border-color:var(--regalis-gold);color:var(--text-primary)}
.qtn-iconbtn--danger:hover{border-color:var(--color-danger);color:var(--color-danger)}

.qtn-closing{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-4);align-items:start}
.qtn-totals__row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-2) 0;font-size:var(--font-size-sm)}
.qtn-totals__row--input{gap:var(--space-2)}
.qtn-totals__row--grand{border-top:1px solid var(--border-subtle);margin-top:var(--space-2);padding-top:var(--space-3);font-size:var(--font-size-lg);font-weight:700}
.qtn-totals__control{display:flex;gap:var(--space-2)}
.qtn-totals__num{width:7rem;text-align:right}
.qtn-totals__unit{width:5rem}
.qtn-totals__tds{width:auto;max-width:14rem}
.qtn-totals__label{max-width:11rem}
.qtn-totals--read{border-top:1px solid var(--border-subtle);margin-top:var(--space-4);padding-top:var(--space-2)}
.qtn-terms{min-height:11rem;font-family:var(--font-sans)}
.qtn-advance{margin:var(--space-3) 0}

.qtn-files{display:flex;flex-direction:column;gap:var(--space-2)}
.qtn-chips{display:flex;flex-wrap:wrap;gap:var(--space-2)}
.qtn-chip{display:inline-flex;align-items:center;gap:var(--space-2);padding:var(--space-1) var(--space-3);background:var(--surface-inset);border:1px solid var(--border-subtle);border-radius:var(--radius-full);font-size:var(--font-size-xs);color:var(--text-primary);text-decoration:none}
.qtn-chip__name{font-weight:600}
.qtn-chip__size{color:var(--text-muted)}

.qtn-actionbar{position:sticky;bottom:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);flex-wrap:wrap;margin-top:var(--space-4);padding:var(--space-3) var(--space-5);background:var(--surface-card);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-float)}
.qtn-actionbar__meta{font-size:var(--font-size-xs);color:var(--text-muted)}

/* Detail */
.qtn-banner{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);margin-bottom:var(--space-4);border-radius:var(--radius-md);font-size:var(--font-size-sm);border:1px solid transparent}
.qtn-banner--approved{background:#E3F3EA;color:#1E7B4F;border-color:#C6E5D3}
.qtn-banner--rejected{background:#FBE7E5;color:#B42318;border-color:#F3CFCB}
.qtn-banner--expired{background:#F1E9DF;color:#8A6A4A;border-color:#E2D5C4}
.qtn-banner--revised{background:#ECE7F5;color:#5B4A91;border-color:#D8CFEA}
.qtn-banner--draft{background:#EEEAE3;color:#5B554C;border-color:#DED8CE}
.qtn-banner--sent{background:#F5EBD0;color:#9A7A1C;border-color:#E9DAB4}
.qtn-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:var(--space-4);margin-bottom:var(--space-3)}
.qtn-detail__label{font-size:var(--font-size-xs);color:var(--text-muted)}
.qtn-detail-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:var(--space-4);align-items:start}
.qtn-row-header{font-weight:700;color:var(--regalis-gold-dark);background:var(--surface-inset)}

.qtn-timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-3)}
.qtn-timeline__item{padding-left:var(--space-4);border-left:2px solid var(--border-subtle)}
.qtn-timeline__item--failed{border-left-color:var(--color-danger)}
.qtn-timeline__text{font-size:var(--font-size-sm);word-break:break-word}
.qtn-timeline__meta{font-size:var(--font-size-xs);color:var(--text-muted)}

/* Customer portal */
.qtn-portal__status{margin-bottom:var(--space-3)}
.qtn-portal--decidable{padding-bottom:5rem}
.qtn-decisionbar{position:fixed;left:0;right:0;bottom:0;z-index:25;display:flex;gap:var(--space-3);justify-content:flex-end;padding:var(--space-3) var(--space-5);background:var(--surface-card);border-top:1px solid var(--border-subtle);box-shadow:var(--shadow-float)}
.qtn-decisionbar .btn{flex:1 1 auto;justify-content:center}
.qtn-thanks{display:flex;flex-direction:column;align-items:center;gap:var(--space-3);text-align:center;padding:var(--space-8) var(--space-4)}
.qtn-thanks__mark{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:var(--radius-full);background:#E3F3EA;color:#1E7B4F;font-size:1.8rem}

@media (max-width:900px){
  .qtn-closing{grid-template-columns:1fr}
  .qtn-detail-layout{grid-template-columns:1fr}
}
@media (max-width:640px){
  .qtn-line__service{grid-column:auto}
  .qtn-line__grid{grid-template-columns:1fr}
  .qtn-line__amount{align-items:flex-start}
  .qtn-actionbar{flex-direction:column;align-items:stretch}
  .qtn-tabs{gap:var(--space-3);overflow-x:auto;flex-wrap:nowrap}
  .qtn-tab{white-space:nowrap}
  .qtn-totals__label{max-width:none}
  .qtn-decisionbar{justify-content:stretch}
}

/* ── Text contrast ──────────────────────────────────────────────────────────
   Audited against WCAG AA on the live pages. The light theme failed in four
   places; the dark theme already passed, so it is deliberately left alone. That
   is why these are token overrides in a bare :root rather than per-page fixes —
   :root[data-theme=dark] outranks :root, so dark keeps its own values and the
   palette stays theme-adaptive by construction.

   Measured on --surface-card #fffdf8 / --surface-page #f6f1e7:
     --text-muted    #8b8270  3.74:1  ->  #6f6654  5.58:1 card, 5.03:1 page
     --accent-strong #a2831c  3.22:1  ->  #85691a  5.13:1 card, 4.62:1 page
   --text-muted carries nearly every small label on the Passes page (plan
   descriptions, pass numbers, "Purchased … valid until", per-day prices), which
   is what made that screen look washed out. */
:root{
  --text-muted: #6f6654;
  --accent-strong: #85691a;
}

/* Status badges print their status colour on a ~12%-opacity wash of itself, so
   on a cream card the text lands at 3.1-3.2:1. Restated for the light theme
   only — on the dark card the same colours already clear AA. */
:root:not([data-theme=dark]) .badge--success{color:#166534}
:root:not([data-theme=dark]) .badge--warning{color:#92400e}
:root:not([data-theme=dark]) .badge--danger{color:#991b1b}
:root:not([data-theme=dark]) .badge--info{color:#1e40af}

/* Dark theme: the danger badge is the one status colour that does not clear AA
   on its own dark wash (#dc2626 lands at 3.70:1). The other three do, and are
   left as they are. */
:root[data-theme=dark] .badge--danger{color:#fca5a5}

/* ── Membership hero ────────────────────────────────────────────────────────
   The hero paints its own near-black gradient, so shared components on it
   inherit light-theme colours and vanish. Fixed values, not tokens: the hero is
   dark in BOTH themes, so a token that flips would break one of them.

   These must come after the badge rules above and match their specificity, or
   the light-theme badge colour would repaint this badge dark-on-dark. */
:root .mem-hero .badge--success{background:#22c55e38;color:#86efac}
:root .mem-hero .btn--outline{background:#ffffff14;border-color:#ffffff8c;color:var(--regalis-white)}
:root .mem-hero .btn--outline:hover:not(:disabled){background:#ffffff26;border-color:var(--accent-bright);color:var(--accent-bright)}
:root .mem-hero .btn--outline:focus-visible{outline:2px solid var(--accent-bright);outline-offset:2px}
/* customer-portal-1: amounts in the customer portal (span.rg-price) in a dark, bold price colour; inside dark banners and buttons they keep the surrounding colour */
:root{--price-text:#0b0b0d}[data-theme=dark]{--price-text:#ffffff}.rg-price{color:var(--price-text);font-weight:700;font-variant-numeric:tabular-nums}.hero .rg-price,.home__promo .rg-price,.mem-hero .rg-price,.btn .rg-price{color:inherit}

/* Admin -> Support & Contact (AdminSupportContactPage-SC1.js): Customer Profile fields with inputs */
.supc-form{display:contents}
.supc-field{display:flex;flex-direction:column;gap:var(--space-2);min-width:0}
.supc-field--wide{grid-column:1/-1}
.supc-field__control{display:flex;flex-direction:column}
.supc-field .field__input{height:auto}
.supc-hours{display:flex;align-items:center;gap:var(--space-3)}
.supc-hours .field__input{flex:1 1 0;min-width:0}
.supc-hours__to{color:var(--text-muted);font-size:var(--font-size-sm)}
.supc-textarea{resize:vertical;min-height:88px;line-height:1.5}
.supc-actions{display:flex;justify-content:flex-end;gap:var(--space-3);margin-top:var(--space-6);padding-top:var(--space-5);border-top:1px solid var(--border-subtle)}
.supc-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4) var(--space-8)}
.supc-preview__title{font-weight:700;font-size:var(--font-size-lg);color:var(--text-primary)}
.supc-preview__message{margin-top:var(--space-1);margin-bottom:var(--space-4);color:var(--text-secondary)}
.supc-preview__title+.supc-preview,.supc-preview__title+.custp-field__value{margin-top:var(--space-4)}
.supc-preview__row{display:flex;gap:var(--space-3);align-items:center}
.supc-preview__row svg{flex:none;color:var(--regalis-gold-dark)}
.supc-preview__label{font-size:var(--font-size-xs);color:var(--text-muted)}
.supc-preview__value{font-weight:600;overflow-wrap:anywhere}
@media (max-width:720px){.supc-preview{grid-template-columns:minmax(0,1fr)}}
@media (max-width:480px){.supc-actions{flex-direction:column-reverse}.supc-actions .btn{width:100%}.supc-hours{flex-wrap:wrap}.supc-hours .field__input{flex-basis:100%}.supc-hours__to{display:none}}

/* customer-ux-1 (6 Nov 2026): payment status on My Bookings and My Passes - PAID / TO PAY, a little larger than the text around it */
.pay-tag{display:inline-block;margin-top:var(--space-1);padding:2px 10px;border-radius:var(--radius-full);font-size:var(--font-size-sm);font-weight:800;letter-spacing:.06em;line-height:1.5;white-space:nowrap}
.pay-tag--paid{background:#16a34a1f;color:var(--color-success)}
.pay-tag--due{background:#d977061f;color:var(--color-warning)}
/* customer-ux-1: Membership page type one step larger */
.mem-page .choice-card__title{font-size:var(--font-size-md)}
.mem-page .choice-card__meta{font-size:var(--font-size-sm)}
.mem-page .choice-card__price{font-size:var(--font-size-lg)}
.mem-page .summary-rows{font-size:var(--font-size-md);gap:var(--space-3)}
.mem-page .summary-rows .summary-total{font-size:var(--font-size-lg)}
.mem-page .wizard-step{font-size:var(--font-size-sm)}
.mem-page .data-table{font-size:var(--font-size-md)}
.mem-page .card__title{font-size:var(--font-size-xl)}
/* admin-customer-1 (13 Nov 2026) ---------------------------------------------------------- */
/* Mobile number: country code + number (PhoneField-PH1.js) */
.rg-phone{display:flex;gap:var(--space-2);align-items:stretch}
.rg-phone .rg-phone__cc{flex:0 0 auto;width:auto;min-width:96px;max-width:118px}
.rg-phone .rg-phone__num{flex:1 1 auto;min-width:0}
.rg-phone--auth{gap:10px;align-items:center}
.rg-phone--auth .rg-phone__sep{height:24px;align-self:center;margin:0}
.rg-phone--auth .rg-phone__cc--auth{flex:0 0 auto;border:none;background:transparent;font-family:var(--auth-font-body);font-size:15px;color:var(--auth-label);outline:none;padding:0 2px;cursor:pointer;max-width:96px}
.rg-phone--auth .rg-phone__cc--auth option{color:#111}
.rg-phone--auth .rg-phone__sep{width:1px;align-self:stretch;margin:12px 0;background:var(--auth-input-border)}
.rg-phone--auth .rg-phone__num{flex:1;min-width:0;border:none;background:transparent;font-family:var(--auth-font-body);font-size:15.5px;color:var(--auth-label);outline:none}
/* Membership: What's included + Amenities, and the two-column payment step */
.mem-incl{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:var(--space-4);align-items:start}
.mem-pay{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:var(--space-5);align-items:start}
.mem-pay .pay-options{grid-template-columns:1fr;gap:var(--space-3)}
.mem-pay .pay-options .btn{width:100%;min-height:46px;justify-content:center;font-size:var(--font-size-md)}
.mem-pay__panel{line-height:1.5}
.mem-pay__due{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-3);padding-bottom:var(--space-3);border-bottom:1px solid var(--border-subtle);font-size:var(--font-size-md);font-weight:600}
.mem-pay__due .rg-price{font-size:var(--font-size-xl)}
.mem-page .summary-rows strong,.mem-page .summary-rows .summary-total span:last-child{font-variant-numeric:tabular-nums}
.mem-save .rg-price{color:inherit}
@media (max-width:900px){.mem-pay{grid-template-columns:1fr}}
/* Profile: photo on the left, name beside it */
.rg-prof-head__text{text-align:left}
@media (max-width:420px){.rg-prof-head{gap:14px!important}}
/* Admin header: location picker sits beside the theme toggle on narrow screens too */
@media (max-width:600px){.portal__user .locpick__name{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
/* Membership step headings: title and "Change ..." link on one line */
.mem-headrow{margin-bottom:var(--space-4)}
.mem-headrow h2{margin-bottom:0!important}
/* PhoneField must not widen its grid column (number input has an intrinsic width) */
.rg-phone-field{min-width:0}
.rg-phone .rg-phone__num{width:0}
/* admin-customer-3 (14 Nov 2026): Profile header centred, pencil badge on the photo */
.rg-prof-head{margin-top:24px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.rg-prof-head__text{display:flex;flex-direction:column;align-items:center;gap:4px;max-width:100%;text-align:center!important}
.rg-prof-head__role{font-size:15px;font-weight:600;color:var(--auth-label)}
.rg-prof-photo{position:relative;width:104px;height:104px;flex:none}
.rg-prof-photo .rg-prof-photo__img{width:104px!important;height:104px!important;transition:box-shadow .15s ease}
.rg-prof-photo .rg-prof-photo__img:hover,.rg-prof-photo .rg-prof-photo__img:focus-visible{box-shadow:0 0 0 3px rgb(var(--accent-rgb) / 35%)}
.rg-prof-photo__edit{position:absolute;right:0;bottom:2px;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer;border:3px solid var(--auth-surface,#fffdf8);background:linear-gradient(180deg,#e2be5a,#c79a22);color:#1b1608;box-shadow:0 2px 6px rgba(0,0,0,.18);transition:transform .12s ease}
.rg-prof-photo__edit svg{width:15px;height:15px}
.rg-prof-photo__edit:hover{transform:scale(1.06)}
.rg-prof-photo__edit:focus-visible{outline:2px solid #c79a22;outline-offset:2px}
.rg-prof-photo__edit:disabled{cursor:wait;opacity:.85}
.rg-prof-photo__spin{width:14px;height:14px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:rgspin .7s linear infinite}
@keyframes rgspin{to{transform:rotate(360deg)}}

/* ============================================================================
   Customer dashboard: full-bleed hero + frosted quick tiles (home-glass-1)
   16 Nov 2026. CSS only; CustomerHomePage markup is untouched.
   ========================================================================== */

/* --- Hero ------------------------------------------------------------------
   The banner photo used to sit in the right-hand grid column with a flat black
   panel beside it. It now fills the whole card: .hero__figure is lifted out of
   the grid and stretched behind the copy, and the scrim fades from solid under
   the words to clear over the picture, so there is no hard edge between them.
   With no banner image the figure is transparent and the hero's own gradient
   shows through, exactly as before. */
.hero{grid-template-columns:1fr;align-items:center;min-height:300px}
.hero__figure{position:absolute;inset:0;z-index:0;min-height:0;background:none}
.hero__image{object-position:center}
.hero__figure:before{background:linear-gradient(90deg,rgb(11 11 13 / 92%) 0%,rgb(11 11 13 / 85%) 28%,rgb(11 11 13 / 60%) 50%,rgb(11 11 13 / 20%) 74%,rgb(11 11 13 / 0%) 94%),linear-gradient(180deg,rgb(11 11 13 / 0%) 50%,rgb(11 11 13 / 40%) 100%)}
.hero__body{position:relative;z-index:2;max-width:min(60ch,56%)}

@media(max-width:900px){
  .hero{min-height:290px}
  .hero__body{max-width:100%}
  /* Narrow: the copy sits over the top of the photo, so the scrim runs down the
     card instead of across it. */
  .hero__figure:before{background:linear-gradient(180deg,rgb(11 11 13 / 90%) 0%,rgb(11 11 13 / 74%) 52%,rgb(11 11 13 / 58%) 100%),linear-gradient(90deg,rgb(11 11 13 / 55%) 0%,rgb(11 11 13 / 0%) 88%)}
}

/* --- Quick tiles -----------------------------------------------------------
   Frosted glass with a colour per destination, the way the reference tints each
   stat card. Each tile states its colour once through two custom properties:
   --tile-rgb drives the wash, the bloom and the edge, --tile-ink is the glyph
   on the white chip. The bloom is a z-index:-1 pseudo-element inside the tile's
   own stacking context (isolation:isolate), so the icon, text and arrow keep
   their own positioning untouched. */
.home__tile{--tile-rgb:var(--accent-rgb);--tile-ink:var(--accent-strong);isolation:isolate;overflow:hidden;padding:var(--space-5);border-radius:20px;border:1px solid rgb(var(--tile-rgb) / 30%);background:linear-gradient(155deg,rgb(var(--tile-rgb) / 15%) 0%,rgb(var(--tile-rgb) / 11%) 42%,rgb(var(--tile-rgb) / 27%) 100%),linear-gradient(var(--surface-card),var(--surface-card));-webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%);box-shadow:0 1px 1px rgb(var(--shadow-color) / 6%),0 14px 30px -16px rgb(var(--shadow-color) / 30%),inset 0 1px 0 rgb(255 255 255 / 85%)}

/* Champagne gold for booking, sage for the day pass, plum for membership,
   terracotta for a custom set-up. Muted enough to sit on the cream page and
   keyed off the link target, so re-ordering the tiles keeps each its colour. */
.home__tile[href="/book"]{--tile-rgb:201 162 39;--tile-ink:#8a6f15}
.home__tile[href="/day-pass"]{--tile-rgb:106 142 111;--tile-ink:#3f6a4a}
.home__tile[href="/membership"]{--tile-rgb:140 110 158;--tile-ink:#67497c}
.home__tile[href^="/book?"]{--tile-rgb:198 118 86;--tile-ink:#9a5130}

.home__tile:before{content:"";position:absolute;z-index:-1;pointer-events:none;inset-inline-end:-42px;inset-block-end:-58px;width:165px;height:165px;border-radius:var(--radius-full);background:radial-gradient(circle at 50% 50%,rgb(var(--tile-rgb) / 34%),rgb(var(--tile-rgb) / 0%) 68%)}
.home__tile:hover{border-color:rgb(var(--tile-rgb) / 62%);box-shadow:0 1px 1px rgb(var(--shadow-color) / 6%),0 20px 38px -18px rgb(var(--shadow-color) / 38%),inset 0 1px 0 rgb(255 255 255 / 92%)}
.home__tile-icon{border-radius:14px;border:1px solid rgb(255 255 255 / 85%);background:linear-gradient(140deg,rgb(255 255 255 / 94%),rgb(255 255 255 / 70%));box-shadow:0 8px 16px -10px rgb(var(--shadow-color) / 40%);color:var(--tile-ink)}
.home__tile-arrow{transition:transform var(--transition-fast),color var(--transition-fast)}
.home__tile:hover .home__tile-arrow{transform:translateX(3px);color:var(--tile-ink)}

[data-theme=dark] .home__tile{border-color:rgb(var(--tile-rgb) / 32%);background:linear-gradient(155deg,rgb(var(--tile-rgb) / 20%) 0%,rgb(var(--tile-rgb) / 13%) 42%,rgb(var(--tile-rgb) / 32%) 100%),linear-gradient(var(--surface-card),var(--surface-card));box-shadow:0 1px 1px rgb(0 0 0 / 30%),0 16px 32px -18px rgb(0 0 0 / 75%),inset 0 1px 0 rgb(255 255 255 / 12%)}
[data-theme=dark] .home__tile:hover{border-color:rgb(var(--tile-rgb) / 60%);box-shadow:0 1px 1px rgb(0 0 0 / 30%),0 22px 40px -20px rgb(0 0 0 / 80%),inset 0 1px 0 rgb(255 255 255 / 16%)}
/* A white chip would glare on the dark card, so there the chip is the tile's
   own colour at low strength and the glyph is the colour itself. */
[data-theme=dark] .home__tile-icon{border-color:rgb(var(--tile-rgb) / 32%);background:linear-gradient(140deg,rgb(var(--tile-rgb) / 26%),rgb(var(--tile-rgb) / 10%));box-shadow:0 8px 16px -10px rgb(0 0 0 / 60%);color:rgb(var(--tile-rgb))}
[data-theme=dark] .home__tile:hover .home__tile-arrow{color:rgb(var(--tile-rgb))}

/* --- Typeface --------------------------------------------------------------
   Inter and Inter Tight, the pair regalis.co.in uses (brand-font-1, 16 Nov
   2026). The four font variables above now point at them, and index.html loads
   both as variable fonts from Google Fonts.

   Headings carried +0.01em, which suited the old serif and leaves Inter Tight
   looking loose. The brand site sets -0.02em on its display text, so these do
   the same. The two wordmarks keep their wide tracking on purpose, so they are
   not in this list. Body weight follows the brand site at 450: Inter reads thin
   at 400 against the cream page, and the variable font covers the range. */
h1,h2,h3,h4,.hero__title,.auth__title,.modal__title,.page-header__title,.card__title,.home__greeting h2{letter-spacing:-.02em}
body{font-weight:450}

/* --- Sidebar navigation ----------------------------------------------------
   The pill treatment from the reference dashboard (sidebar-pills-1, 16 Nov
   2026): every item is its own rounded pill with a hairline edge, hover tints
   it, and the current page is a filled pill rather than a bar down its left
   side. Background, width, brand lockup and section labels are untouched, and
   the collapsed rail still wins on specificity, so it keeps centring its
   icons. Padding and gap were tightened on 17 Nov (11px/4px to 8px/3px): ten
   items plus the brand and the photograph wanted 484px of a rail that has
   about 448 to give at laptop height, so the nav scrolled and the last item
   hid behind the photo. */
.portal__nav{padding:var(--space-3) var(--space-3) var(--space-4);gap:3px}
.portal__nav-link,.portal__nav-parent{padding:8px var(--space-3);border-radius:14px;border:1px solid transparent;transition:background var(--transition-fast),color var(--transition-fast),border-color var(--transition-fast),box-shadow var(--transition-fast)}
.portal__nav-link:hover,.portal__nav-parent:hover{color:var(--sidebar-text);background:rgb(var(--accent-rgb) / 9%);border-color:rgb(var(--accent-rgb) / 20%)}
.portal__nav-link.active,.portal__nav-parent.is-active{color:var(--accent-strong);font-weight:600;background:linear-gradient(135deg,rgb(var(--accent-rgb) / 26%),rgb(var(--accent-rgb) / 13%));border-color:rgb(var(--accent-rgb) / 42%);box-shadow:0 8px 16px -12px rgb(var(--shadow-color) / 60%),inset 0 1px 0 rgb(255 255 255 / 55%)}

/* A group's children speak the same language, one step smaller. */
.portal__subnav-link{padding:6px var(--space-3);border-radius:10px;border:1px solid transparent;transition:background var(--transition-fast),color var(--transition-fast),border-color var(--transition-fast)}
.portal__subnav-link:hover{color:var(--sidebar-text);background:rgb(var(--accent-rgb) / 9%);border-color:rgb(var(--accent-rgb) / 18%)}
.portal__subnav-link.active{background:rgb(var(--accent-rgb) / 18%);border-color:rgb(var(--accent-rgb) / 34%)}

/* On the dark panel the gold carries further, and a white inner highlight
   would glare, so the fill is a touch stronger and the highlight nearly off. */
[data-theme=dark] .portal__nav-link.active,[data-theme=dark] .portal__nav-parent.is-active{background:linear-gradient(135deg,rgb(var(--accent-rgb) / 30%),rgb(var(--accent-rgb) / 14%));border-color:rgb(var(--accent-rgb) / 48%);box-shadow:0 8px 16px -12px rgb(0 0 0 / 70%),inset 0 1px 0 rgb(255 255 255 / 10%)}

/* --- Book a Workspace: glyphs on the step 1 cards --------------------------
   book-icons-1, 17 Nov 2026. Scoped to these two new classes, so the term,
   plan, slot and membership cards that share .choice-card are untouched. */
.choice-card__head{display:flex;align-items:center;gap:var(--space-2)}
.choice-card__icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border-radius:9px;background:rgb(var(--accent-rgb) / 14%);color:var(--accent-strong)}
.choice-card--selected .choice-card__icon{background:rgb(var(--accent-rgb) / 26%)}

/* --- Membership prices -----------------------------------------------------
   mem-price-size-1, 17 Nov 2026. The plan and term cards used to print their
   amount at clamp(1.4rem,2.3vw,1.8rem)/800 from an inline style, several times
   the size of a price anywhere else in the portal. The inline sizing is gone,
   so these cards now read at the same size as every other price and stay bold.
   The page keeps its one-step-larger titles and meta from customer-ux-1. */
.mem-page .choice-card__price{font-size:var(--font-size-md);font-weight:700}


/* --- Hero carousel: where each photo is cropped ----------------------------
   hero-photos-1, 17 Nov 2026. The banner strip is about 3.8:1 and the photos
   are 3:2, so cover shows a horizontal band through the middle of each one.
   Centre is right for most; these few are nudged so the thing worth seeing -
   the logo wall, the screen, the reception sign - lands inside the band. */
.hero__image[src$="regalis-coworking-floor.jpg"]{object-position:center 42%}
.hero__image[src$="regalis-boardroom.jpg"]{object-position:center 44%}
.hero__image[src$="regalis-lobby.jpg"]{object-position:center 40%}
.hero__image[src$="regalis-cabin-corridor.jpg"]{object-position:center 44%}
.hero__image[src$="regalis-private-cabin.jpg"]{object-position:center 54%}

/* --- Sidebar: one colour, edge to edge ------------------------------------
   sidebar-solid-1, 17 Nov 2026. The rail used to fade from cream into the
   photograph's colour, which left it looking like two materials stacked. It is
   one deep espresso now, top to bottom, the way the reference carries a single
   dark panel - and because the ink changes with it, every token the nav reads
   is re-stated here rather than overridden rule by rule: text, muted text,
   border, and the accent the active pill and the brand mark use, which has to
   lift off a dark ground instead of sitting on cream. */
.portal__sidebar{--sidebar-text:#f6efe0;--sidebar-text-muted:#cbb98f;--sidebar-border:rgb(255 255 255 / 10%);--accent-strong:#e9c66a;--surface-hover:rgb(255 255 255 / 7%);background:#3f2f12;border-right-color:rgb(255 255 255 / 8%)}

/* The photograph still closes the rail, dimmed to the panel's own depth and
   dissolving into it, so the foot reads as the same surface catching light. */
.portal__nav{flex:0 1 auto;min-height:0}
.portal__sidebar::after{content:"";flex:1 1 auto;min-height:90px;height:auto;margin:0;border:0;border-radius:0;box-shadow:none;background-image:linear-gradient(180deg,rgb(var(--accent-rgb) / 52%),rgb(170 130 46 / 60%) 60%,rgb(126 94 34 / 68%)),url("/samples/regalis-lobby-card.jpg");background-color:#3f2f12;background-blend-mode:color,normal;background-size:cover;background-position:center 55%;filter:contrast(1.04) brightness(.95) saturate(.95);-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 28%);mask-image:linear-gradient(180deg,transparent 0,#000 28%)}

/* Only a genuinely short window - a split screen, a netbook - gives the nav
   every pixel. A laptop at 100% keeps its photograph. */
@media (max-height:520px){.portal__sidebar::after{display:none}}

/* --- Page headers that lost their subtitle ---------------------------------
   header-space-1, 17 Nov 2026. The header has no bottom margin of its own: the
   subtitle's line box was the gap. Remove the subtitle and the title lands on
   top of the first card, which is what Membership and Payment History were
   doing. The margin goes only to headers with no subtitle left, so every page
   that still has one keeps the spacing it has today. */
.page-header:not(:has(.page-header__description)){margin-bottom:var(--space-5)}


/* --- Density: the portal one notch smaller at 100% zoom --------------------
   density-1, 17 Nov 2026. At native zoom on a 1366x768 screen the dashboard
   ran past the fold before the first card: 16px root type, a 264px rail, a
   290px hero and 16/24px gutters. Everything here is proportional rather than
   hand-picked - the root drops to 87.5%, which carries every rem in the type
   scale with it, and the pixel tokens (spacing, rail, topbar) are the same
   0.875 applied and rounded. A percentage, not a pixel value, so a reader who
   has raised their browser's base size still gets it. */
html{font-size:87.5%}
:root{--space-2:7px;--space-3:10px;--space-4:14px;--space-5:17px;--space-6:21px;--space-8:28px;--sidebar-width:236px;--sidebar-width-collapsed:68px;--topbar-height:56px}

/* --- Dashboard: the whole thing inside one window --------------------------
   home-fit-2, 17 Nov 2026. On a 1366x768 laptop the browser keeps roughly
   630px of viewport and the dashboard wanted ~820, so it always scrolled. Two
   things fix that. The blocks above the fold are trimmed and the hero is sized
   in vh, so it gives height back on a taller window instead of leaving a gap.
   And the page itself is capped at the viewport: the two cards at the foot take
   whatever is left and scroll inside their own row, so a customer with six
   bookings still gets a dashboard that fits the window. Every rule is scoped by
   :has(.home__quick) to the dashboard, and the whole cap is dropped below 900px
   where the layout stacks and scrolling is the right answer. */
.portal__content:has(.home__quick){height:calc(100dvh - var(--topbar-height));overflow:hidden;gap:var(--space-3);padding:var(--space-3) var(--space-5) var(--space-4)}
.portal__content:has(.home__quick) .hero{min-height:clamp(140px,24vh,250px)}
.portal__content:has(.home__quick) .home__quick{gap:var(--space-3)}
.portal__content:has(.home__quick) .home__tile{padding:var(--space-3) var(--space-4)}
.portal__content:has(.home__quick) .home__tile-icon{width:30px;height:30px;margin-bottom:var(--space-2)}
.portal__content:has(.home__quick) .home__tile-arrow{top:var(--space-3);inset-inline-end:var(--space-3)}
.portal__content:has(.home__quick) .card__header{padding:var(--space-2) var(--space-4)}
.portal__content:has(.home__quick) .card__body{padding:var(--space-3) var(--space-4)}
.portal__content:has(.home__quick) .home__empty{padding:var(--space-2) var(--space-3);gap:var(--space-1)}

/* The foot of the page absorbs what is left, and scrolls on its own. */
.portal__content:has(.home__quick) .home__columns{flex:1 1 auto;min-height:0;overflow:auto;padding-bottom:2px}

@media(max-width:900px){.portal__content:has(.home__quick){height:auto;overflow:visible}.portal__content:has(.home__quick) .home__columns{overflow:visible}}

/* The last of it: the hero was 185px tall against a 151px floor, because
   space-8 padding sat around the copy, and that was what pushed the cards past
   the window. The rail's half of this change lives with the pill rules above. */
.portal__content:has(.home__quick) .hero__body{padding:var(--space-4) var(--space-5)}
.portal__content:has(.home__quick) .hero__subtitle{margin-top:var(--space-2)}
.portal__content:has(.home__quick) .home__empty-icon{width:28px;height:28px;margin-bottom:0}

/* --- Sign in: one screen, no scroll ---------------------------------------
   auth-fit-1, 17 Nov 2026. The auth pages were drawn at fixed pixel sizes, so
   the density pass went past them: the login panel stood 730px tall inside
   80px of page padding, against the ~630px a 1366x768 laptop actually gives,
   and a sign-in form you have to scroll to submit is a poor first impression.
   The logo dropped to 92px in the bundle; the rest is here. Nothing is
   restyled - every value is the same design, one step tighter - and because
   these rules are on .auth they carry to register, forgot and verify too. */
.auth{padding:16px 20px;min-height:100dvh}
.auth__panel{padding:22px 40px 26px}
.auth__label{margin-top:14px}
.auth__input{margin-top:8px;height:46px}
.auth__error{margin-top:4px}
.auth__row-right{margin-top:10px}
.auth__btn{margin-top:16px;height:48px}
.auth__divider{margin-top:16px}
.auth__google{margin-top:var(--space-3);min-height:40px}
.auth__footer{margin-top:16px}
.auth__seg{margin-top:18px}

/* --- Hero: the greeting lives in the picture -------------------------------
   hero-greet-1, 17 Nov 2026. The greeting used to sit above the banner in its
   own strip; it is inside it now, fixed, while the slides turn underneath. The
   scrim that carried it flipped with it: a near-black wash reads as a bar
   stuck on the photo, so it is a warm white that the lit interiors in these
   pictures run into, and the type goes dark to match. With no call to action
   and no greeting strip above, the banner takes that height back. */
.portal__content:has(.home__quick) .hero{min-height:clamp(180px,31vh,310px);color:#241d10}
.hero__figure:before{background:linear-gradient(90deg,rgb(253 250 243 / 95%) 0%,rgb(253 250 243 / 88%) 26%,rgb(253 250 243 / 52%) 42%,rgb(253 250 243 / 12%) 58%,rgb(253 250 243 / 0%) 68%)}

/* The greeting leads, the slide's own words follow a step smaller. */
.hero__greet{margin:0 0 2px;font-family:var(--font-display);font-size:clamp(1.45rem,2.3vw,1.95rem);font-weight:800;letter-spacing:-.02em;line-height:1.15;color:#241d10}
.hero__title{font-size:clamp(1.05rem,1.5vw,1.2rem);font-weight:700;color:#3b3020;-webkit-line-clamp:1}
.hero__subtitle{margin-top:3px;color:#60523a;max-width:46ch}
.hero__price{color:var(--accent-strong)}

@media(max-width:900px){
  /* Narrow: the copy sits over the top of the photo, so the wash runs down. */
  .hero__figure:before{background:linear-gradient(180deg,rgb(253 250 243 / 93%) 0%,rgb(253 250 243 / 80%) 52%,rgb(253 250 243 / 62%) 100%),linear-gradient(90deg,rgb(253 250 243 / 60%) 0%,rgb(253 250 243 / 0%) 88%)}
}

/* --- The foot of the dashboard fills what is left --------------------------
   wallet-fill-1, 17 Nov 2026. The two cards sat at their natural heights with
   dead cream under the shorter one. The row stretches them instead, so the
   wallet card runs to the bottom of the page like the bookings card beside it. */
.portal__content:has(.home__quick) .home__columns{align-items:stretch}
.portal__content:has(.home__quick) .home__aside{height:100%}
.portal__content:has(.home__quick) .home__aside>.card{flex:1 1 auto}

/* The collapsed rail's fly-out is a child of the sidebar, so it inherits the
   rail's cream ink - on the light card it ships with, that is invisible. It
   takes the panel's colour instead. */
.portal--collapsed .portal__subnav{background:#4a3817;border-color:rgb(255 255 255 / 14%);box-shadow:0 18px 38px -20px rgb(0 0 0 / 70%)}

/* ws-menu-1 (18 Nov 2026): "My Workspace" is a chooser, not a page. The rail row
   opens a small floating menu beside it and picking an entry goes to that list
   page - the lists themselves stay where they already live. Fixed positioning
   (the coordinates come from the row's own rect) so the menu is never clipped by
   the sidebar, including when the rail is collapsed to icons. */
.portal__ws{position:relative}
.portal__ws-trigger{width:100%;background:none;font-family:inherit;text-align:left;cursor:pointer}
.portal__ws-menu{position:fixed;z-index:60;min-width:204px;padding:6px;display:grid;gap:2px;border-radius:14px;background:#4a3817;border:1px solid rgb(255 255 255 / 14%);box-shadow:0 18px 38px -20px rgb(0 0 0 / 70%)}
.portal__ws-item{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:10px;color:var(--sidebar-text,#f6efe0);font-size:var(--font-size-sm);font-weight:600}
.portal__ws-item>svg{flex:none;opacity:.85}
.portal__ws-item:hover,.portal__ws-item:focus-visible{background:rgb(255 255 255 / 10%);color:#fff;text-decoration:none}
.portal__ws-item.active{color:var(--accent-strong);background:rgb(var(--accent-rgb) / 16%)}
