:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#173647;background:#f4f7fa;font-size:15px;--ink:#153140;--blue:#007ca8;--line:#dce3ed;--muted:#526580}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button,.button{min-height:44px;border:1px solid #cbd6e5;border-radius:8px;padding:10px 15px;background:white;color:var(--ink);font-weight:600}button:hover,.button:hover{background:#eaf2fa}.primary{background:var(--blue);color:white;border-color:var(--blue)}.primary:hover{background:#173d65}.danger{color:#a12c31;border-color:#e5b6ba}.quiet{background:transparent;border-color:transparent}a{color:var(--blue)}:focus-visible{outline:3px solid #467ff7;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-.8px}h2{font-size:20px}h3{font-size:16px}.muted{color:var(--muted);font-size:14px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--blue);margin-bottom:10px}.skip{position:fixed;top:-80px;left:20px;background:white;padding:15px;z-index:100}.skip:focus{top:12px}.sidebar{width:230px;position:fixed;inset:0 auto 0 0;background:var(--ink);color:white;padding:28px 20px;display:flex;flex-direction:column;gap:30px}.brand{width:180px;background:white;padding:14px 30px;border-radius:6px}.brand img{width:100%;display:block}.sidebar nav{display:grid;gap:8px}.sidebar nav button{text-align:left;background:transparent;border:0;color:#cad6ea;padding:14px}.sidebar nav button.active{background:#ffffff13;box-shadow:inset 3px 0 #44c0ee;color:white}.club{margin-top:auto;display:flex;gap:12px;align-items:center;font-size:12px;line-height:1.7}.club img{width:38px;height:48px;object-fit:contain}.workspace{margin-left:230px}.topbar{height:76px;background:white;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 32px;gap:12px}.identity{display:flex;align-items:center;gap:16px}.identity small{display:block;font-size:11px;color:var(--muted);margin-top:3px}main{padding:32px;max-width:1700px;margin:auto}.page-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.page-title p{margin-top:9px}.filters{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.filter{display:flex;align-items:center;gap:8px;padding:10px 12px;background:white;border:1px solid var(--line);border-radius:7px;font-size:12px;cursor:pointer;min-height:44px}.filter input{accent-color:var(--blue)}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.toolbar{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;gap:14px;flex-wrap:wrap;border-bottom:1px solid var(--line)}.toolbar h2{font-size:19px}.tools{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.segmented{display:flex;gap:2px;background:#f3f5f8;border-radius:8px;padding:3px}.segmented button{border:0;background:transparent;min-height:38px;padding:8px 12px;font-weight:500}.segmented button.active{background:white;box-shadow:0 1px 4px #20325520;color:var(--blue)}.calendar-scroll{overflow-y:auto;max-height:calc(100vh - 330px);min-height:340px;position:relative;scrollbar-gutter:stable}.time-grid{display:grid;grid-template-columns:52px repeat(var(--cols),minmax(0,1fr));min-width:0}.day-head{position:sticky;top:0;z-index:3;background:white;border-bottom:1px solid var(--line);text-align:center;padding:12px 2px;font-size:11px;color:var(--muted);min-width:0;overflow-wrap:anywhere}.day-head b{display:block;font-size:20px;color:var(--ink);margin-top:3px}.time-column,.day-column{height:1152px;position:relative}.day-column{border-left:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent 47px,#e7edf5 47px,#e7edf5 48px)}.day-column.today{background-color:#f8fbff}.tick{position:absolute;left:8px;color:var(--muted);font-size:10px;transform:translateY(-50%)}.event{position:absolute;min-height:16px;overflow:hidden;text-align:left;padding:5px 7px;border-radius:5px;background:#e5f0ff;border:1px solid #b9d4f7;border-left:3px solid #3582bd;color:#19466e;display:flex;flex-direction:column;justify-content:center;gap:2px;font-size:11px;line-height:1.3;font-weight:400;overflow-wrap:anywhere}.event strong{font-size:12px}.event.lavvo{background:#fff5e5;border-color:#ead6b4;border-left-color:#b07720;color:#6b4815}.event.private{background:#eef1f5;border-color:#d5dce5;color:#5a6679}.calendar-foot{padding:14px 20px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}.empty{padding:32px;text-align:center;color:var(--muted);line-height:1.7}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.month-cell{min-height:130px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px;overflow:hidden}.month-cell>span{display:block;color:var(--muted);margin:2px 0 8px}.month-event{display:block;min-height:32px;font-size:11px;background:#eaf2ff;border:0;margin-bottom:4px;padding:5px;width:100%;text-align:left;overflow-wrap:anywhere}.agenda-row{padding:17px 20px;display:grid;grid-template-columns:145px minmax(0,1fr) auto;gap:16px;align-items:center;border-bottom:1px solid var(--line)}.agenda-row small{display:block;margin-top:5px;color:var(--muted)}.pill{font-size:11px;background:#e8f4ed;color:#246544;padding:4px 7px;border-radius:4px}.auth{max-width:450px;margin:8vh auto;padding:32px;background:white;border:1px solid var(--line);border-radius:15px;box-shadow:0 15px 60px #15254c08}.auth .logos{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.auth .logos img:first-child{width:125px}.auth .logos img:last-child{width:35px}.auth h1{font-size:26px;margin-bottom:10px}.auth p{line-height:1.6;margin-bottom:22px}.auth form{display:grid;gap:17px}.auth .primary{width:100%}.auth footer{margin-top:22px;font-size:13px;text-align:center}.field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:13px;font-weight:600}.field input,.field select,.field textarea{width:100%;min-height:44px;border:1px solid #bdcadb;padding:10px 12px;border-radius:7px;background:white;color:var(--ink);font-weight:400}.field select[multiple]{min-height:130px}.field textarea{min-height:80px;resize:vertical}.field small{font-weight:400;font-size:12px;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.full{grid-column:1/-1}.check{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px}.check input{width:18px;height:18px}.error{background:#fff0f0;color:#8d2932;padding:12px 15px;border:1px solid #e9bfc6;border-radius:7px;font-size:13px;line-height:1.5}.notice{background:#edf4fb;border:1px solid #cbdfef;border-radius:8px;padding:14px 16px;color:#254e70;font-size:13px;line-height:1.6}.notice p{margin:4px 0}.actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:22px}.actions.between{justify-content:space-between}dialog{padding:0;border:1px solid var(--line);border-radius:14px;width:min(680px,calc(100% - 28px));max-height:92dvh;color:var(--ink);box-shadow:0 25px 90px #12254740}dialog::backdrop{background:#12214390;backdrop-filter:blur(2px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line);gap:12px}.dialog-body{padding:24px}.dialog-head button{font-size:20px;line-height:1;width:44px}.dialog-body form{display:grid;gap:16px}.detail-list{display:grid;grid-template-columns:140px 1fr;gap:14px;font-size:14px}.detail-list dt{color:var(--muted)}.detail-list dd{margin:0;overflow-wrap:anywhere}.tabs{display:flex;gap:6px;margin-bottom:22px;flex-wrap:wrap}.tabs .active{background:var(--ink);color:white}.records{display:grid;gap:10px}.record{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 20px;background:white;border:1px solid var(--line);border-radius:9px}.record p{margin-top:5px;font-size:12px;color:var(--muted)}.record>div{min-width:0;overflow-wrap:anywhere}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{padding:12px;text-align:left;border-bottom:1px solid var(--line);overflow-wrap:anywhere}th{background:#f4f7fb;font-size:12px}code{overflow-wrap:anywhere;white-space:normal}.secret{padding:12px;background:#f2f5f9;user-select:all;text-align:center;font-family:monospace;overflow-wrap:anywhere}.footer{padding:22px 32px;color:var(--muted);font-size:11px;display:flex;justify-content:space-between;gap:14px}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:calc(100% - 30px);padding:14px 20px;background:var(--ink);color:white;border-radius:9px;font-size:13px;z-index:50;display:none}#toast.show{display:block}.loading{padding:30px}.inline-form{max-width:650px;display:grid;gap:18px}.busy{opacity:.6;pointer-events:none}
@media(max-width:1100px){.sidebar{width:200px;padding:24px 14px}.brand{width:172px}.workspace{margin-left:200px}main{padding:24px}.topbar{padding:0 24px}.event{padding:3px}.event small{display:none}}
@media(max-width:760px){.sidebar{position:static;width:auto;padding:14px 16px;gap:12px;display:grid;grid-template-columns:1fr auto}.brand{width:125px;padding:8px 20px}.sidebar nav{display:flex;gap:6px;grid-column:1/-1;grid-row:2}.sidebar nav button{padding:10px 14px}.club{margin:0;grid-row:1;grid-column:2}.club span{display:none}.club img{height:38px;width:31px}.workspace{margin-left:0}.topbar{height:64px;padding:8px 16px}.topbar>span{font-size:12px}.identity{gap:8px;font-size:12px}.identity button{font-size:12px;padding:8px}.identity small{font-size:10px}main{padding:24px 16px}h1{font-size:26px}.page-title{align-items:flex-start;gap:10px}.page-title .primary{font-size:12px;white-space:nowrap}.page-title p{font-size:13px;line-height:1.5}.filters{gap:6px}.filter{font-size:11px;padding:8px}.toolbar{padding:16px;gap:12px}.toolbar h2{font-size:17px}.toolbar .tools{width:100%;justify-content:space-between}.desktop-only{display:none!important}.calendar-scroll{max-height:620px}.event{padding:6px}.event small{display:block}.agenda-row{grid-template-columns:1fr auto;gap:10px;padding:15px}.agenda-row>div:first-child{grid-column:1/-1;font-size:12px}.agenda-row small{font-size:12px}.footer{padding:20px 16px;flex-direction:column;line-height:1.6}.auth{margin:24px 14px;padding:26px 22px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.dialog-body{padding:18px}.dialog-head{padding:16px 18px}.detail-list{grid-template-columns:1fr;gap:6px}.detail-list dd{margin-bottom:10px}.tabs{gap:5px}.tabs button{font-size:12px;padding:8px 10px}.record{padding:14px}.record{flex-direction:column;align-items:stretch}.record .actions{margin-top:6px;justify-content:flex-start}.record button{font-size:12px;white-space:nowrap;flex-shrink:0}.calendar-foot{padding:12px 16px}.time-grid{grid-template-columns:42px repeat(var(--cols),minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.person-picker{position:relative}.person-picker [role=listbox]{position:absolute;top:calc(100% + 4px);left:0;right:0;max-height:230px;overflow-y:auto;background:white;border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 25px #14294b20;z-index:8}.person-picker [role=option]{display:block;text-align:left;width:100%;border:0;border-radius:0;padding:12px 14px;overflow-wrap:anywhere}.person-picker [role=option]+[role=option]{border-top:1px solid var(--line)}.person-picker [role=option][aria-selected=true]{background:#e6effc;box-shadow:inset 3px 0 #215387}.person-picker [role=option] small{display:block;margin-top:5px}.picker-empty{padding:16px;font-weight:400;font-size:13px;color:var(--muted)}.settings-section{padding:24px;display:grid;gap:20px;margin-bottom:26px}.settings-section>.muted,.lavvo-product>.muted{font-size:12px;line-height:1.7}.settings-heading{margin:28px 0 20px}.lavvo-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.lavvo-product{margin:0;min-width:0;padding:20px;display:grid;gap:18px}.lavvo-product legend{font-size:17px;font-weight:650;padding:0 7px;max-width:100%;overflow-wrap:anywhere}.sidebar{overflow-y:auto}.sidebar nav,.sidebar .brand,.sidebar .club{flex-shrink:0}
@media(max-width:1100px){.lavvo-products{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.settings-section{padding:18px}.lavvo-product{padding:18px}.sidebar nav{flex-wrap:wrap}}

[hidden]{display:none!important}.commercial-fields{border:1px solid var(--line);border-radius:9px;padding:18px;min-width:0}.commercial-fields legend{font-weight:600;padding:0 6px}.booking-tags{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.booking-tag{display:inline-block;font-size:11px;background:#edf4fb;color:#254e70;padding:5px 9px;border-radius:5px;font-weight:600}.followup-filters{display:flex;gap:18px;align-items:end;flex-wrap:wrap;margin:24px 0}.followup-filters .field{flex:1;min-width:180px}#accounting-form,#followup-action{border-top:1px solid var(--line);padding-top:22px;margin-top:22px}.record h2{font-size:17px}

.followup-history{margin-top:24px;border-top:1px solid var(--line);padding-top:22px}.followup-history article{margin-top:14px;border-left:2px solid #cbdfef;padding-left:12px;font-size:13px;overflow-wrap:anywhere}.followup-history small{display:block;color:var(--muted);margin:5px 0}.followup-history p{line-height:1.5;white-space:pre-wrap}
.save-booking-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.conflict-list{padding-left:20px;margin:12px 0 0}.conflict-list li+li{margin-top:9px}.month-event small,.month-event b{display:block}.month-event small{margin-bottom:4px;font-weight:400}.booking-timeline{margin:22px 0;border-top:1px solid var(--line);padding-top:20px}.booking-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.booking-stages>div{background:#f2f6fb;border-radius:7px;padding:12px;overflow-wrap:anywhere}.booking-stages small{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.booking-stages b{font-size:12px}.planned-period{border:1px dashed #b7cbe0;padding:12px;font-size:12px;line-height:1.6;border-radius:7px}.booking-history{list-style:none;margin:20px 0;padding:0 0 0 9px}.booking-history li{position:relative;border-left:2px solid #cbdfef;padding:0 0 20px 20px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.booking-history li:last-child{padding-bottom:0}.booking-history li:before{content:'';position:absolute;left:-6px;top:4px;width:10px;height:10px;border-radius:50%;background:#215387;border:2px solid white;box-shadow:0 0 0 1px #215387}.booking-history span,.booking-history time{display:block;font-size:12px;color:var(--muted);margin-top:3px}.booking-history p{white-space:pre-wrap;margin-top:6px}.customer-lookup{padding:14px;border:1px solid var(--line);border-radius:8px;display:grid;gap:12px;min-width:0}.customer-search{display:flex;gap:8px;align-items:flex-end}.customer-search .field{flex:1}.customer-results{display:grid;gap:6px}.customer-results:empty{display:none}.customer-results button{text-align:left;font-weight:400;overflow-wrap:anywhere;white-space:pre-wrap}.customer-results small{display:block;margin-top:5px}.customer-lookup p:empty{display:none}@media(max-width:760px){.booking-stages{grid-template-columns:1fr}.booking-stages>div{display:flex;justify-content:space-between;gap:16px}.booking-stages small{margin:0}.booking-stages b{text-align:right}.save-booking-actions{width:100%}.save-booking-actions button{flex:1}.customer-search{flex-wrap:wrap}.customer-search .field{flex-basis:100%}.agenda-row>div:first-child{line-height:1.7}}

.dialog-head{position:sticky;top:0;z-index:5;background:white}
/* One navigation model, with a compact bottom bar and a modal menu on smaller screens. */
.sidebar .nav-group{display:grid;gap:4px}.nav-group h2{font-size:10px;line-height:1.5;text-transform:uppercase;letter-spacing:1.3px;margin:16px 12px 7px;color:#a6b8d4;font-weight:600}.nav-group:first-child h2{margin-top:0}.sidebar .nav-group button,.navigation-dialog .nav-group button{display:flex;align-items:center;gap:12px;min-height:44px;padding:11px 12px;font-size:13px;line-height:1.45;text-align:left}.nav-group button svg{height:20px;width:20px;flex:none}.nav-group button>span{flex:1}.nav-demo{font-size:8px;font-weight:600;letter-spacing:.5px;color:#bbcee8;border:1px solid #a6c5df55;border-radius:3px;padding:1px 4px}.sidebar{gap:22px}.sidebar nav{gap:12px}.sidebar .club{padding-top:8px}.bottom-nav,.mobile-brand,.mobile-menu-toggle{display:none}.test-environment{border-radius:0;border:0;font-size:11px}.menu-open{overflow:hidden}dialog.navigation-dialog{width:min(420px,100%);max-width:100%;height:100dvh;max-height:100dvh;margin:0 0 0 auto;border-radius:16px 0 0 16px;border:0;padding-bottom:env(safe-area-inset-bottom)}.navigation-dialog .dialog-head{padding-top:max(18px,env(safe-area-inset-top))}.navigation-dialog .dialog-body{padding:18px 22px 24px}.menu-identity{display:grid;gap:5px;padding:0 10px 20px;border-bottom:1px solid var(--line);margin-bottom:20px;overflow-wrap:anywhere}.menu-identity b{font-size:16px}.menu-identity span{font-size:12px;color:var(--muted)}.navigation-dialog .nav-group{display:grid;gap:5px;margin-bottom:23px}.navigation-dialog .nav-group h2{color:var(--muted);margin:0 12px 6px}.navigation-dialog .nav-group button{border:0;background:transparent;font-weight:500;border-radius:8px;color:var(--ink)}.navigation-dialog .nav-group button.active{background:#eaf2ff;color:#194e81;font-weight:700}.navigation-dialog .nav-group button:hover{background:#f0f4fa}.navigation-dialog .nav-demo{color:#526580;border-color:#c5d2e4}.menu-logout{width:100%;margin-top:4px}.bottom-nav svg,.mobile-menu-toggle svg{width:22px;height:22px;flex:none}
@media(max-width:1100px){.sidebar{display:none}.workspace{margin-left:0;padding-bottom:calc(78px + env(safe-area-inset-bottom))}.topbar{height:68px;padding:10px 22px;gap:16px}.page-context{display:none}.mobile-brand{display:flex;align-items:center;gap:16px;min-width:0}.mobile-brand img:first-child{width:90px;height:42px;object-fit:contain}.mobile-brand img:last-child{height:34px;width:27px;object-fit:contain}.mobile-menu-toggle{display:flex;align-items:center;gap:8px;min-width:44px;min-height:44px;border:0;background:#eef3f9;margin-left:auto;font-size:12px}.topbar .identity{margin-left:auto}.topbar #logout{display:none}.bottom-nav{position:fixed;z-index:10;inset:auto 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border-top:1px solid #dce3ed;box-shadow:0 -3px 20px #1c244b08;padding:5px max(8px,env(safe-area-inset-left)) max(5px,env(safe-area-inset-bottom));min-height:72px;gap:2px}.bottom-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:60px;padding:7px 2px;border:0;border-radius:10px;font-size:11px;font-weight:500;line-height:1.3;color:#526580;min-width:0}.bottom-nav button.active{background:#eaf2ff;color:#194e81;font-weight:700}.bottom-nav button:active{background:#e3edf9}.bottom-nav button span{max-width:100%;overflow-wrap:anywhere}.footer{padding-bottom:16px}#toast{bottom:calc(88px + env(safe-area-inset-bottom))}.calendar-scroll{max-height:calc(100dvh - 330px)}}
@media(max-width:760px){.topbar{height:64px;padding:9px 16px}.topbar .identity{display:none}.mobile-brand{gap:13px}.mobile-brand img:first-child{height:40px;width:84px}.mobile-brand img:last-child{height:30px;width:24px}.workspace{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.calendar-scroll{max-height:540px}.bottom-nav{padding-left:6px;padding-right:6px}.test-environment{font-size:10px;padding:8px 16px}.navigation-dialog .dialog-body{padding:18px}.navigation-dialog .nav-group button{font-size:14px;min-height:48px}.navigation-dialog .dialog-head{padding-left:22px;padding-right:18px}}

.signature-tests{margin:24px 0;padding-top:16px;border-top:1px solid var(--line,#dde4de)}
.signature-tests .notice,.signature-tests .error{margin:12px 0}.signature-test-card{padding:18px;margin:18px 0;border:1px solid #d9e2db;border-radius:12px;background:#f8faf8;overflow-wrap:anywhere}.signature-test-card p{margin:10px 0}.signature-test-steps{padding-left:20px;margin:18px 0}.signature-test-steps li{padding:4px 0}.signature-test-steps time{display:block;font-size:12px;color:#56675b}.signature-tests .button{display:inline-flex;align-items:center;padding:10px 14px;border:1px solid #bbc9be;border-radius:8px;color:#183b2d;background:white;text-decoration:none}.signature-tests .actions{flex-wrap:wrap}.signature-tests h4{margin:20px 0 14px}

.contract-preview{padding:24px;border:1px solid #cdd9d0;background:#fff;margin:16px 0;border-radius:12px;overflow-wrap:anywhere}.contract-preview h1,.contract-preview h2,.contract-preview h3{margin:18px 0 10px}.contract-preview ul,.contract-preview ol{padding-left:28px}.contract-preview p{margin:10px 0}.contract-editor textarea{font-family:ui-monospace,monospace;font-size:14px}.markup-toolbar{flex-wrap:wrap}.mail-body{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.6}.message-history{margin-top:20px}[data-booking-messages],[data-booking-payment]{border-top:1px solid #d4ded6;margin-top:24px;padding-top:24px}

#message-templates{scroll-margin-top:20px}#message-templates>.muted{margin:12px 0 20px}.message-template-editor{border:0;padding:0;margin:20px 0}.message-template-editor legend{font-size:1.1rem;font-weight:700}.message-template-editor>.field{margin:18px 0}.message-template-editor>.muted{margin:10px 0}.template-fields{margin:16px 0}.template-fields .actions{justify-content:flex-start;gap:6px}.template-fields button{font-size:.8rem;padding:8px 10px;min-height:38px}.message-template-editor [data-message-template-result]{margin-top:16px;overflow-wrap:anywhere}.message-template-editor .signature-test-card{min-width:0}.message-template-editor[hidden]{display:none}
.message-log-summary{display:flex;flex-wrap:wrap;gap:12px 24px;padding:24px 0}.message-log-records{margin-bottom:20px}.message-log-record{align-items:center;gap:16px}.message-log-record>div{min-width:0;overflow-wrap:anywhere}.message-log-record h2{font-size:16px;margin:10px 0 4px}.message-attention{background:#fff0dd;color:#793f00}.message-log-paging{justify-content:center;margin:20px 0}.message-log-detail{overflow-wrap:anywhere}.message-log-detail dl{display:grid;grid-template-columns:140px minmax(0,1fr);gap:10px;margin:20px 0}.message-log-detail dt{font-weight:600}.message-log-detail dd{margin:0}.message-log-detail .mail-body{margin:18px 0}@media(max-width:600px){.message-log-record{align-items:flex-start;flex-direction:column}.message-log-detail dl{grid-template-columns:1fr;gap:4px}.message-log-detail dd{margin-bottom:10px}}
/* Calendar overview can be switched back to the existing time grid per browser. */
.required-mark{color:#b42318;font-weight:800;display:inline}.required-help{font-size:12px;color:var(--muted);margin-bottom:18px}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}
.calendar-options{display:grid;grid-template-columns:minmax(240px,1fr) minmax(170px,.5fr) minmax(170px,.5fr);gap:14px;margin:0 0 18px}.calendar-options input,.calendar-options select{width:100%}.calendar-resources{margin-bottom:14px}.calendar-legend{display:flex;align-items:center;gap:12px 24px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:14px 0}.request-legend:before{content:'';display:inline-block;width:9px;height:9px;margin-right:6px;border:2px dashed #ab6800;background:#fff8e8;border-radius:3px}#calendar-count{margin-left:auto;font-weight:600}#calendar-date{max-width:145px;min-height:44px;border:1px solid #cbd6e5;border-radius:8px;padding:8px}.overview-scroll{overflow-x:auto}.overview-days{display:grid;gap:1px;background:var(--line)}.overview-week{grid-template-columns:repeat(7,minmax(130px,1fr))}.overview-month{grid-template-columns:repeat(7,minmax(130px,1fr))}.overview-day{grid-template-columns:1fr}.overview-date{background:#fafbfd;padding:10px;min-width:0;min-height:180px}.overview-date.today{background:#eff6fc}.overview-date-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:4px}.overview-date-heading button{border:0;background:transparent;text-align:left;padding:4px;min-width:0}.overview-date-heading small,.overview-date-heading b{display:block}.overview-date-heading small{font-weight:400;color:var(--muted);margin-bottom:4px;text-transform:uppercase}.day-count{font-size:11px;color:var(--muted);background:white;border:1px solid var(--line);border-radius:20px;min-width:23px;text-align:center;padding:3px}.reservation-card{display:flex;flex-direction:column;gap:6px;text-align:left;width:100%;border:1px solid #c5d5e7;border-left:3px solid #437599;background:white;border-radius:8px;padding:11px 9px;margin-bottom:9px;font-size:12px;line-height:1.45;font-weight:400;overflow-wrap:anywhere;white-space:normal;transition:box-shadow .12s,transform .12s}.reservation-card:hover,.reservation-card:focus-visible{box-shadow:0 3px 10px #1937561a;transform:translateY(-1px);background:#f4f9ff}.reservation-card strong{font-size:13px}.reservation-card small{font-size:11px;color:#536279}.reservation-status{font-size:10px;font-weight:700;color:#345c7a}.reservation-card.is-request,.month-event.is-request,.event.is-request{background:#fff8e8;border:1px dashed #b0771b;border-left:3px solid #b0771b}.is-request .reservation-status{color:#8a5500}.reservation-card.is-pending{background:#eef3ff;border-left-color:#666da9}.reservation-discipline{font-weight:600;color:#345c7a}.quick-booking{font-size:11px;background:transparent;border:1px dashed #bbc9d8;width:100%;margin-top:8px;color:#526782;padding:7px}.calendar-empty-day{font-size:11px;color:var(--muted);margin:20px 2px}.reservation-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;padding:18px}.reservation-list .reservation-card{margin:0}.overview-day .reservation-card{max-width:750px}.bottom-nav:has(>button:nth-child(2):last-child){grid-template-columns:repeat(2,1fr)}
@media(max-width:760px){.calendar-options{grid-template-columns:1fr 1fr;gap:10px}.calendar-options>label:first-child{grid-column:1/-1}.calendar-options .field{min-width:0}.calendar-options select{font-size:12px}.overview-week{grid-template-columns:1fr}.overview-week .overview-date{min-height:0;padding:14px}.overview-week .overview-date-heading{margin-bottom:9px}.overview-month{grid-template-columns:repeat(7,140px)}.calendar-legend{gap:8px;font-size:11px}#calendar-count{margin-left:0;width:100%}.calendar-resources{gap:6px}.calendar-resources .filter{font-size:11px;padding:6px 8px}.reservation-list{grid-template-columns:1fr;padding:12px}.overview-day .reservation-card,.overview-week .reservation-card{padding:13px}.overview-date-heading button b{font-size:16px}}

.calendar-filter-panel>summary{display:none}.calendar-filter-panel{margin-bottom:14px}@media(max-width:760px){.calendar-filter-panel>summary{display:list-item;cursor:pointer;min-height:44px;padding:12px 15px;background:#fff;border:1px solid var(--line);border-radius:8px;font-size:13px;font-weight:600}.calendar-filter-panel[open]>summary{margin-bottom:14px}.calendar-filter-panel .calendar-options{margin-top:12px}}

/* Protected cafe sales use their own styles and never borrow demo data. */
.cafe-page{max-width:1400px;margin:auto}.cafe-page .page-title{gap:18px}.cafe-page .page-title>button{flex:none;min-height:44px}.cafe-controls{display:flex;align-items:end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:12px}.cafe-controls .segmented{background:#e5ecf5;padding:4px}.cafe-controls .segmented button{min-height:44px;min-width:76px}.cafe-date-controls{display:flex;align-items:end;gap:7px}.cafe-date-controls .field{font-size:11px}.cafe-date-controls input{max-width:160px;min-height:44px}.cafe-date-controls>button{min-width:44px;min-height:44px}.cafe-fetch-status{min-height:18px;font-size:11px;color:var(--muted);margin:9px 0}.cafe-page [data-cafe-message]:not(:empty){margin:20px 0}.cafe-page [data-cafe-message] .error{line-height:1.7}.cafe-page [data-cafe-message] button{margin-left:10px;min-height:44px}.cafe-status{border:1px solid #cbdfd2;background:#edf5f0;border-radius:9px;padding:17px 20px;font-size:12px;line-height:1.7;color:#28543c;margin-bottom:22px}.cafe-status-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cafe-status-heading>b{display:flex;align-items:center;gap:8px;font-size:13px}.cafe-status-dot{width:8px;height:8px;border-radius:50%;background:#358653;flex:none}.cafe-status>p{margin-top:6px}.cafe-status small{display:block;margin-top:8px;overflow-wrap:anywhere}.cafe-status-pending{background:#edf4fb;color:#254e70;border-color:#c7d8eb}.cafe-status-pending .cafe-status-dot{background:#3d78b5}.cafe-status-warning{background:#fff5e7;color:#7b5318;border-color:#e9d3b1}.cafe-status-warning .cafe-status-dot{background:#b57925}.cafe-history-note{border-top:1px solid #bbcada88;padding-top:9px}.cafe-period-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 15px;flex-wrap:wrap;font-size:14px}.cafe-period-caption>span{font-size:11px;color:var(--muted)}.cafe-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.cafe-stat{padding:21px;background:white;border:1px solid var(--line);border-radius:10px;min-width:0}.cafe-stat p{font-size:12px;color:var(--muted);line-height:1.5}.cafe-stat strong{display:block;font-size:clamp(23px,2.3vw,33px);line-height:1.4;letter-spacing:-.7px;margin:10px 0 6px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.cafe-stat small{font-size:11px;color:var(--muted);line-height:1.7;display:block}.cafe-stat.featured{background:var(--ink);border-color:var(--ink);color:white}.cafe-stat.featured p,.cafe-stat.featured small{color:#cbd9f1}.cafe-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:24px}.cafe-source{padding:20px;border-top:3px solid #3d78b5;min-width:0}.cafe-source.disconnected{border-top-color:#a5afbe;background:#f8fafc}.cafe-source>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px}.cafe-source>div>span{font-size:11px;color:var(--muted)}.cafe-source>strong{display:block;font-size:24px;letter-spacing:-.4px;margin:14px 0 9px;overflow-wrap:anywhere}.cafe-source.disconnected>strong{font-size:18px;font-weight:500;color:#65758b}.cafe-source>p{font-size:12px;color:var(--muted);line-height:1.7}.cafe-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;margin-bottom:22px;align-items:start}.cafe-panel{min-width:0;overflow:hidden}.cafe-panel-heading{padding:22px 24px;border-bottom:1px solid var(--line);display:flex;gap:12px}.cafe-panel-heading h2{font-size:18px}.cafe-panel-heading p{margin-top:7px;font-size:12px;color:var(--muted);line-height:1.6}.cafe-panel .empty{padding:30px 24px;font-size:13px;line-height:1.7}.cafe-chart{display:grid;grid-template-columns:repeat(var(--cafe-bars),minmax(0,1fr));gap:5px;height:235px;margin:22px 24px 0;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent 48px,#eaf0f7 49px,#eaf0f7 50px)}.cafe-bar{display:flex;flex-direction:column;justify-content:end;gap:8px;background:transparent;border:0;border-radius:4px 4px 0 0;padding:0;min-width:0;min-height:0}.cafe-bar:hover{background:#dce8f655}.cafe-bar-track{height:100%;min-height:0;display:flex;align-items:end;justify-content:center}.cafe-bar-track>span{background:#3d78b5;width:80%;max-width:44px;border-radius:4px 4px 0 0;min-height:0}.cafe-bar small{font-size:10px;height:24px;flex:none;color:var(--muted);font-weight:400;text-align:center}.cafe-bar .cafe-sparse-label{visibility:hidden}.cafe-chart-table{border-top:1px solid var(--line);font-size:12px}.cafe-chart-table summary{min-height:44px;cursor:pointer;padding:15px 24px;color:#215387}.cafe-chart-table td:not(:first-child),.cafe-chart-table th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.cafe-ranking-controls{margin:16px 24px;width:fit-content;background:#eef3f9;padding:3px}.cafe-ranking-controls button{font-size:12px;min-height:40px}.cafe-product-table{font-variant-numeric:tabular-nums}.cafe-product-table td,.cafe-product-table th{padding:14px 18px;font-size:12px}.cafe-product-table td:first-child{overflow-wrap:anywhere}.cafe-product-table td:not(:first-child),.cafe-product-table th:not(:first-child){text-align:right;white-space:nowrap}.cafe-product-table td:first-child>span{display:inline-block;vertical-align:top;max-width:calc(100% - 29px)}.cafe-product-table small,.cafe-variant{display:block;font-size:10px;color:var(--muted);margin-top:5px}.cafe-product-table .cafe-rank{width:21px;font-size:10px;color:var(--muted);margin-right:8px;line-height:1.8}.cafe-panel-note{padding:16px 24px;color:var(--muted);font-size:11px;line-height:1.7}.cafe-payment-list{padding:24px;display:grid;gap:24px}.cafe-payment-list>div>div:first-child{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:11px;font-size:12px}.cafe-payment-list span{color:var(--muted);font-variant-numeric:tabular-nums}.cafe-payment-track{height:9px;background:#e7eef7;border-radius:5px;overflow:hidden}.cafe-payment-track>span{display:block;height:100%;background:#3d78b5;border-radius:5px}.cafe-latest{padding:0 24px}.cafe-latest>button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:17px 0;text-align:left;background:transparent;font-size:12px;min-width:0}.cafe-latest>button:hover{background:#f5f8fc}.cafe-latest>button>span{min-width:0;overflow-wrap:anywhere}.cafe-latest small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:5px;line-height:1.6}.cafe-latest strong{flex:none;font-variant-numeric:tabular-nums;font-size:13px}.cafe-data-details{padding:24px}.cafe-data-details h2{font-size:18px}.cafe-data-details dl{display:grid;grid-template-columns:180px minmax(0,1fr);gap:12px;font-size:12px;margin:20px 0}.cafe-data-details dt{color:var(--muted)}.cafe-data-details dd{margin:0;overflow-wrap:anywhere}.cafe-data-details p{font-size:12px;color:var(--muted);line-height:1.8;max-width:900px}.cafe-sale-summary{font-size:13px;line-height:1.8;margin:15px 0}.cafe-sale-summary>b{font-size:20px}
@media(max-width:1200px){.cafe-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.cafe-grid{grid-template-columns:minmax(0,1fr)}.cafe-stat strong{font-size:31px}}
@media(max-width:760px){.cafe-page .page-title{align-items:flex-start;flex-wrap:wrap}.cafe-page .page-title>button{font-size:12px;padding:10px 12px}.cafe-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:15px}.cafe-controls>.segmented{display:flex}.cafe-controls>.segmented>button{flex:1;min-width:0}.cafe-date-controls{justify-content:space-between;gap:6px}.cafe-date-controls .field{flex:1;min-width:0}.cafe-date-controls input{max-width:none;width:100%;font-size:12px;padding:9px 8px}.cafe-date-controls>button{font-size:12px;padding:10px}.cafe-status{padding:15px;font-size:11px}.cafe-status-heading{gap:7px}.cafe-status-heading>span{width:100%;font-size:11px}.cafe-period-caption{line-height:1.6;font-size:13px}.cafe-stats{gap:10px;margin-bottom:18px}.cafe-stat{padding:15px 12px}.cafe-stat p{font-size:11px}.cafe-stat strong{font-size:clamp(23px,6vw,29px);letter-spacing:-.7px}.cafe-stat small{font-size:10px}.cafe-sources{grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:18px}.cafe-source{padding:17px}.cafe-source>div{font-size:13px}.cafe-source>strong{font-size:25px;margin:11px 0 7px}.cafe-source>p{font-size:11px}.cafe-grid{gap:18px}.cafe-panel-heading{padding:18px}.cafe-panel-heading h2{font-size:17px}.cafe-chart{height:205px;margin:20px 16px 0;gap:3px}.cafe-bar small{font-size:9px}.cafe-chart-table summary{padding:15px 18px}.cafe-ranking-controls{margin:15px 18px}.cafe-product-table td,.cafe-product-table th{padding:13px 10px;font-size:11px}.cafe-product-table td:first-child>span{max-width:calc(100% - 22px)}.cafe-product-table .cafe-rank{width:16px;margin-right:6px;font-size:9px}.cafe-payment-list{padding:20px 18px}.cafe-panel-note{padding:15px 18px}.cafe-latest{padding:0 18px}.cafe-latest>button{gap:10px;font-size:11px}.cafe-latest strong{font-size:12px}.cafe-latest small{font-size:10px}.cafe-data-details{padding:18px}.cafe-data-details dl{grid-template-columns:1fr;gap:5px;font-size:11px}.cafe-data-details dd{margin-bottom:9px}.cafe-data-details p{font-size:11px}}
@media(max-width:380px){.cafe-page .page-title>button{width:100%}.cafe-stat strong{font-size:22px}.cafe-date-controls>button{padding:9px 7px}.cafe-product-table td,.cafe-product-table th{padding-left:7px;padding-right:7px;font-size:10px}}

.cafe-last-sale-note{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid #bbcada88}.cafe-last-sale-note button{min-height:44px;font-size:12px;background:#fff;color:#215387;border-color:#c0d0e0}@media(max-width:760px){.cafe-last-sale-note{align-items:flex-start}.cafe-last-sale-note button{width:100%;font-size:12px}}

/* Calendar labels, weekday trends and administration controls. */
.reservation-time{font-weight:700;font-size:12px;color:#244d70;font-variant-numeric:tabular-nums}.event-discipline{font-weight:600}.event strong{line-height:1.35}.month-event small{display:block;font-size:10px;font-weight:400}.cafe-season-note{font-size:12px;color:var(--muted);line-height:1.7;margin:-4px 0 18px}.cafe-weekday-chart{display:grid;gap:14px;padding:22px 24px}.cafe-weekday-row{min-width:0}.cafe-weekday-title{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:7px}.cafe-weekday-title strong{font-size:12px;font-variant-numeric:tabular-nums}.cafe-weekday-track{height:10px;background:#e7eef7;border-radius:6px;overflow:hidden}.cafe-weekday-track>span{height:100%;display:block;background:#3d78b5;border-radius:6px}.cafe-weekday-row.best .cafe-weekday-track>span{background:#267d59}.cafe-weekday-row>small{display:block;color:var(--muted);font-size:11px;margin-top:6px;line-height:1.6}.cafe-weekday-row.no-days{opacity:.6}.cafe-weekday-table{font-size:12px;border-top:1px solid var(--line)}.cafe-weekday-table summary{cursor:pointer;min-height:44px;padding:15px 24px;color:#215387}.cafe-grid>section:last-child:nth-child(odd){grid-column:1/-1}.notification-toggle{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap;margin:20px 0}.notification-toggle strong{font-size:20px}.notification-toggle button{min-height:44px}.notification-ready{color:#267d59}.notification-missing{color:#9b5a00}.admin-resource-readiness{overflow-wrap:anywhere}.catalog-help{margin:0 0 20px;font-size:12px;color:var(--muted);line-height:1.7}
@media(max-width:760px){.cafe-weekday-chart{padding:20px 18px}.cafe-weekday-title{font-size:11px}.cafe-weekday-title strong{font-size:11px}.cafe-weekday-table summary{padding:15px 18px}.reservation-time{font-size:13px}.notification-toggle{gap:12px}.notification-toggle>button{width:100%}.tabs{gap:5px}.tabs>button{font-size:12px;padding:10px 12px}}
