@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');
:root{font-family:'Outfit',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#25272b;background:#f5f6f8;font-synthesis:none;text-rendering:optimizeLegibility;font-smooth:always;font-weight:400;--ink:#171329;--muted:#858a94;--line:#e9eaed;--panel:#fff;--brand-primary:#3900F2;--brand-on-primary:#fff;--brand-primary-dark:color-mix(in srgb,var(--brand-primary) 82%,black);--navy:#171329;--blue:#3900F2;--green:#319b72;--shadow:0 8px 24px rgba(25,27,32,.045)}
*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid color-mix(in srgb,var(--brand-primary) 26%,transparent);outline-offset:2px}button{cursor:pointer}#app{min-height:100vh}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:var(--navy);color:#f8f8f8;display:flex;flex-direction:column;padding:25px 15px 15px;z-index:5}.brand{display:flex;align-items:center;gap:12px;padding:0 11px 27px;font:800 15px/1 'Outfit',sans-serif;letter-spacing:.1em}.brand small{display:block;margin-top:6px;color:#8e9199;font:600 9px/1 'Outfit',sans-serif;letter-spacing:.13em}.brand-mark{width:31px;height:31px;border-radius:9px;background:var(--brand-primary);display:flex;align-items:center;justify-content:center;gap:2px;flex:none}.brand-mark i{width:3px;height:15px;border-radius:2px;background:#fff}.brand-mark i:nth-child(2){height:19px}.brand-mark i:nth-child(3){height:12px}.shop-switch{display:flex;align-items:center;gap:10px;padding:12px 10px;margin-bottom:32px;background:#24262c;border:1px solid #303239;border-radius:10px}.shop-avatar{width:33px;height:33px;display:grid;place-items:center;border-radius:8px;background:#35383f;color:var(--brand-primary);font:700 14px 'Outfit',sans-serif}.shop-switch>span:nth-child(2){flex:1;min-width:0}.shop-switch strong,.shop-switch small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-switch strong{font-size:12px;font-weight:600}.shop-switch small{margin-top:4px;font-size:10px;color:#9598a1}.shop-switch>svg{color:#898c95}.nav-caption{padding:0 11px 10px;color:#767a83;font-size:10px;font-weight:700;letter-spacing:.12em}.main-nav{display:grid;gap:4px}.nav-item{height:43px;padding:0 11px;border:0;border-radius:8px;background:transparent;color:#a9abb2;display:flex;align-items:center;gap:12px;text-align:left;font-size:13px;font-weight:500;transition:background .16s,color .16s}.nav-item:hover{background:#25272e;color:#fff}.nav-item.active{background:#2c2e35;color:#fff}.nav-item.active>svg{color:var(--brand-primary)}.nav-item span:nth-child(2){flex:1}.nav-count{font-size:10px;border-radius:20px;background:#3a3c44;padding:3px 7px;color:#ddd}.sidebar-bottom{margin-top:auto}.online-card{display:flex;align-items:center;gap:10px;padding:12px 11px;border:1px solid #303239;border-radius:9px;margin-bottom:15px}.online-dot{width:7px;height:7px;border-radius:50%;background:#4fce9a;box-shadow:0 0 0 3px rgba(79,206,154,.13)}.online-card>span:nth-child(2){flex:1}.online-card strong,.online-card small{display:block}.online-card strong{font-size:11px;font-weight:600}.online-card small{color:#91949c;font-size:10px;margin-top:3px}.toggle{width:30px;height:17px;border:0;border-radius:20px;background:#484a51;padding:2px;display:flex;align-items:center}.toggle i{display:block;width:13px;height:13px;border-radius:50%;background:#fff;transition:transform .16s}.toggle.on{background:#3baf82}.toggle.on i{transform:translateX(13px)}.profile{display:flex;align-items:center;gap:9px;border-top:1px solid #303239;padding:15px 7px 2px}.profile-avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#3c3e46;color:#fff;font-size:10px;font-weight:700}.profile>span:nth-child(2){flex:1}.profile strong,.profile small{display:block}.profile strong{font-size:11px;font-weight:600}.profile small{margin-top:3px;color:#8f929a;font-size:10px}.icon-button{display:inline-grid;place-items:center;width:34px;height:34px;border:0;border-radius:7px;background:transparent;color:#767b86;flex:none}.icon-button:hover{background:#f1f2f4;color:#25272b}.side-more{color:#868991}.workspace{min-height:100vh;margin-left:244px}.topbar{height:66px;background:rgba(255,255,255,.93);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 35px;position:sticky;top:0;z-index:4;backdrop-filter:blur(12px)}.page-title{color:#303238;font:700 14px/1.2 'Outfit',sans-serif;letter-spacing:-.02em}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:12px;color:#8b8f98}.breadcrumb .slash{color:#c2c4c9}.breadcrumb strong{color:#303238;font-weight:600}.top-actions{display:flex;align-items:center;gap:18px}.demo-label{color:#acafb6;font-size:9px;font-weight:700;letter-spacing:.14em}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:7px;padding:10px 14px;min-height:39px;border:1px solid transparent;font-size:12px;font-weight:600;transition:background .16s,transform .16s,border .16s}.button:active{transform:translateY(1px)}.button-dark{background:#202227;color:white}.button-dark:hover{background:#35373e}.button-primary{background:var(--brand-primary);color:var(--brand-on-primary);box-shadow:0 4px 10px color-mix(in srgb,var(--brand-primary) 13%,transparent)}.button-primary:hover{background:var(--brand-primary)}.button-primary:disabled{background:var(--brand-primary);box-shadow:none;cursor:not-allowed}.button-quiet{background:#f2f3f5;color:#626772}.button-quiet:hover{background:#e9eaed}.button-outline{background:#fff;border-color:#e5e6e9;color:#5a5e66}.button-outline:hover{background:#f8f8f9}.page-content{max-width:1500px;margin:0 auto;padding:29px 35px 40px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:22px}.eyebrow{margin:0 0 7px;color:#a0a3aa;font-size:9px;line-height:1.4;font-weight:700;letter-spacing:.16em}.page-heading h1,.booking-heading h1{margin:0;color:#202227;font:700 25px/1.2 'Outfit',sans-serif;letter-spacing:-.045em}.heading-note{margin:6px 0 0;color:#838791;font-size:12px}.metric-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:21px}.metric-card{min-height:113px;position:relative;display:grid;grid-template-columns:38px 1fr;grid-template-rows:18px 31px 16px;column-gap:10px;align-content:center;padding:14px 16px;background:var(--panel);border:1px solid #eaebee;border-radius:9px;box-shadow:0 2px 5px rgba(20,22,26,.015)}.metric-icon{grid-row:1/4;width:36px;height:36px;border-radius:8px;display:grid;place-items:center;align-self:start}.metric-icon.accent-soft{background:color-mix(in srgb,var(--brand-primary) 10%,white);color:var(--brand-primary)}.metric-icon.blue-soft{background:#edf2ff;color:#5278df}.metric-icon.green-soft{background:#e9f6f0;color:#319b72;font:700 17px 'Outfit',sans-serif}.metric-icon.dark-soft{background:#f0f0f2;color:#525761}.metric-label{color:#828690;font-size:11px}.metric-card>strong{font:700 21px/1 'Outfit',sans-serif;letter-spacing:-.04em;color:#24262b;align-self:center}.metric-card>small{font-size:10px;color:#a0a3aa}.agenda-team-kpis{margin:-6px 0 21px}.agenda-team-kpis-title{display:flex;align-items:end;justify-content:space-between;margin:0 2px 9px}.agenda-team-kpis-title .eyebrow{margin:0 0 3px}.agenda-team-kpis-title strong{font:700 13px/1.2 'Outfit',sans-serif;color:#303238}.agenda-team-kpi-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:10px}.agenda-team-kpi{min-height:68px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:11px 13px;border:1px solid #e7e8eb;border-radius:9px;background:#fff;text-align:left;box-shadow:0 2px 5px rgba(20,22,26,.015)}.agenda-team-kpi:hover{border-color:color-mix(in srgb,var(--brand-primary) 38%,#e7e8eb)}.agenda-team-kpi.selected{border-color:var(--brand-primary);box-shadow:0 0 0 1px color-mix(in srgb,var(--brand-primary) 18%,transparent)}.agenda-team-kpi .avatar{width:34px;height:34px}.agenda-team-kpi>span{min-width:0}.agenda-team-kpi>span strong,.agenda-team-kpi>span small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agenda-team-kpi>span strong{color:#3d4047;font-size:11px}.agenda-team-kpi>span small{margin-top:4px;color:#969aa2;font-size:9px}.agenda-team-kpi>b{color:var(--brand-primary);font:700 18px/1 'Outfit',sans-serif}.calendar-card,.table-card{background:var(--panel);border:1px solid #e9eaed;border-radius:10px;box-shadow:var(--shadow);overflow:hidden}.calendar-toolbar{height:72px;border-bottom:1px solid #ececef;display:flex;justify-content:space-between;align-items:center;padding:0 18px}.calendar-title,.calendar-tools,.date-switch{display:flex;align-items:center}.calendar-title{gap:15px}.date-switch{gap:3px}.date-switch .icon-button{width:29px;height:29px}.today-button{border:1px solid #e7e8eb;border-radius:6px;height:29px;padding:0 9px;background:#fff;font-size:10px;font-weight:600;color:#565a63}.today-button:hover{background:#f6f6f7}.calendar-title h2{margin:0;text-transform:capitalize;font:700 14px 'Outfit',sans-serif;letter-spacing:-.02em}.calendar-title p{margin:4px 0 0;color:#9a9da5;font-size:10px}.calendar-tools{gap:10px}.barber-select-label{height:33px;display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid #e7e8eb;border-radius:6px;color:#858994}.barber-select-label select{max-width:150px;border:0;outline:0;background:transparent;color:#454851;font-size:10px;cursor:pointer}.segmented{display:flex;padding:3px;border:1px solid #e8e9ec;background:#f7f7f8;border-radius:7px}.segmented button{height:24px;padding:0 10px;border:0;background:transparent;color:#858993;border-radius:5px;font-size:10px}.segmented button.selected{background:white;box-shadow:0 1px 4px #16171a18;color:#303238;font-weight:600}.calendar-tools .light{border:1px solid #e8e9ec;width:32px;height:32px}.calendar-scroll{overflow:auto}.day-calendar{display:grid;grid-template-columns:61px repeat(var(--staff-count,1),minmax(165px,1fr));grid-auto-rows:74px;min-width:600px}.day-calendar:has(.staff-head:nth-child(3):last-child){grid-template-columns:61px 1fr}.day-calendar:has(.staff-head:nth-child(4):last-child){grid-template-columns:61px repeat(3,minmax(165px,1fr))}.day-calendar:has(.staff-head:nth-child(2):last-child){grid-template-columns:61px 1fr}.time-head{grid-row:1;height:51px;border-bottom:1px solid #eeeff1}.staff-head{height:51px;display:flex;align-items:center;gap:9px;padding:0 11px;border-bottom:1px solid #eeeff1;border-left:1px solid #f0f0f2}.staff-head strong,.staff-head small{display:block}.staff-head strong{font-size:10px;font-weight:600;color:#464950}.staff-head small{margin-top:3px;color:#a0a3aa;font-size:9px}.avatar{width:27px;height:27px;display:inline-grid;place-items:center;flex:none;border-radius:50%;background:color-mix(in srgb,var(--avatar) 13%,white);color:var(--avatar);font-size:9px;font-weight:700}.time-cell{height:74px;position:relative;text-align:center;padding-top:0;color:#a3a6ad;font-size:9px;transform:translateY(-6px)}.time-cell::after{content:"";position:absolute;top:7px;left:48px;right:0;height:1px;background:#f0f0f2;z-index:0}.slot-cell{height:74px;position:relative;width:100%;border-top:0;border-right:0;border-left:1px solid #f0f0f2;border-bottom:1px solid #f0f0f2;padding:3px 5px;background:transparent}.slot-cell-empty:hover,.week-slot-empty:hover{background:color-mix(in srgb,var(--brand-primary) 5%,white)}.booking-block{position:relative;z-index:1;width:100%;min-height:65px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:7px 8px 6px 10px;border:1px solid color-mix(in srgb,var(--booking-color) 20%,white);border-left:3px solid var(--booking-color);border-radius:5px;background:color-mix(in srgb,var(--booking-color) 7%,white);overflow:hidden}.booking-block:hover{filter:saturate(1.15);box-shadow:0 3px 8px #10111412;z-index:2}.booking-time{font-size:9px;color:#757982;font-weight:500}.booking-time i{font-style:normal;color:#c1c2c6}.booking-block strong{font-size:10px;line-height:1.1;color:#383b41;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.booking-block small{color:#858892;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.booking-status{display:none}.calendar-legend{height:44px;display:flex;align-items:center;gap:18px;padding:0 17px;border-top:1px solid #efeff1;color:#777b84;font-size:9px}.calendar-legend>span:not(.legend-hint){display:flex;align-items:center;gap:6px}.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.legend-dot.confirmed{background:#5278df}.legend-dot.completed{background:#45aa7e}.legend-dot.waiting{background:var(--brand-primary)}.legend-hint{margin-left:auto;color:#a9abb1}.week-calendar{overflow:auto}.week-header,.week-body{min-width:700px;display:grid;grid-template-columns:53px repeat(7,minmax(85px,1fr))}.week-header{height:54px;border-bottom:1px solid #ececef}.week-day{display:flex;align-items:center;justify-content:center;gap:7px;border-left:1px solid #f0f0f2}.week-day small{text-transform:capitalize;color:#90939c;font-size:9px}.week-day strong{width:24px;height:24px;display:grid;place-items:center;font-size:10px;font-weight:600}.week-day.today strong{background:color-mix(in srgb,var(--brand-primary) 10%,white);color:var(--brand-primary);border-radius:50%}.week-body{height:760px}.week-times>div{height:69px;padding-top:0;text-align:center;transform:translateY(-6px);color:#a3a6ad;font-size:9px}.week-column{border-left:1px solid #f0f0f2}.week-slot{display:block;width:100%;height:69px;border:0;border-bottom:1px solid #f0f0f2;padding:2px;background:transparent}.week-event{width:100%;height:60px;text-align:left;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:5px 6px;border:0;border-left:2px solid var(--event-color);border-radius:4px;background:color-mix(in srgb,var(--event-color) 9%,white);overflow:hidden}.week-event strong,.week-event small{display:block;font-size:8px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.week-event strong{color:#41434a}.week-event small{color:#848791}
.client-stats{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid #eaebee;border-radius:9px;margin-bottom:17px;box-shadow:var(--shadow)}.client-stats>div{padding:15px 19px;display:flex;align-items:center;gap:10px}.client-stats>div+div{border-left:1px solid #eeeeF0}.client-stats strong{font:700 19px 'Outfit',sans-serif;letter-spacing:-.04em}.client-stats span{font-size:10px;color:#8b8f98}.table-toolbar{min-height:76px;padding:14px 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ececef}.table-toolbar h2{margin:0;font:700 13px 'Outfit',sans-serif;letter-spacing:-.02em}.table-toolbar p{margin:4px 0 0;color:#999ca4;font-size:10px}.searchbox{display:flex;align-items:center;gap:8px;width:255px;height:34px;padding:0 10px;border:1px solid #e6e7ea;border-radius:6px;color:#989ba3}.searchbox input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#454851;font-size:10px}.searchbox input::placeholder{color:#a4a6ad}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}thead{height:38px;background:#fafafb}th{padding:0 15px;text-align:left;color:#a0a3aa;font-size:8px;letter-spacing:.1em;font-weight:700}th:first-child,td:first-child{padding-left:19px}td{height:63px;padding:0 15px;border-top:1px solid #f0f0f2;color:#696d76;font-size:10px}tbody tr[data-action]{cursor:pointer}tbody tr[data-action]:hover{background:#fbfbfc}.customer-cell{display:flex;align-items:center;gap:9px}.customer-avatar{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#f0f1f4;color:#6c707a;font-size:9px;font-weight:700;flex:none}.customer-cell strong,.customer-cell small{display:block}.customer-cell strong{color:#3e4148;font-size:10px;font-weight:600}.customer-cell small{margin-top:4px;color:#a0a3aa;font-size:9px}.barber-cell{display:flex;align-items:center;gap:7px}.small-avatar{width:22px;height:22px;font-size:8px}.table-money{color:#42454c;font-weight:600}.table-foot{height:39px;display:flex;align-items:center;padding:0 18px;border-top:1px solid #ececef;color:#a0a3aa;font-size:9px}.empty-state{text-align:center;height:95px;color:#92959e}.service-name{display:flex;align-items:center;gap:10px}.service-name strong{font-size:10px;font-weight:600;color:#3f4249}.service-mark{width:29px;height:29px;border-radius:7px;background:color-mix(in srgb,var(--brand-primary) 10%,white);display:grid;place-items:center;color:var(--brand-primary)}.status-pill{padding:4px 8px;border-radius:20px;font-size:9px;font-weight:600}.status-pill.active{background:#e9f6f0;color:#308963}.status-pill.inactive{background:#f1f1f2;color:#8f9299}.service-note{display:flex;align-items:center;gap:9px;padding:13px 18px;border-top:1px solid #ececef;color:#81858e;font-size:10px}.note-icon,.info-mark{width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#eff2fb;color:#5976cf;font-weight:700;font-size:11px;flex:none}.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.team-card{padding:17px;background:#fff;border:1px solid #e9eaed;border-radius:9px;box-shadow:var(--shadow)}.team-top{display:flex;align-items:center;justify-content:space-between}.team-avatar{width:46px;height:46px;font-size:12px}.team-card h2{margin:15px 0 3px;font:700 14px 'Outfit',sans-serif;letter-spacing:-.025em}.team-card>p{margin:0;color:#93969e;font-size:10px}.team-divider{height:1px;background:#ececef;margin:15px 0 8px}.team-stat{display:flex;justify-content:space-between;padding:7px 0;color:#858992;font-size:10px}.team-stat strong{color:#41444b;font-weight:600}.team-tags{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0 14px}.team-tags span,.client-tags span{padding:4px 7px;border:1px solid #e9eaed;border-radius:4px;color:#737781;background:#fafafb;font-size:9px}.text-button{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;color:var(--brand-primary);font-size:10px;font-weight:600;text-decoration:none}.team-info{margin-top:17px;padding:15px 17px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e9eaed;border-radius:8px}.team-info>span:nth-child(2){flex:1}.team-info strong,.team-info small{display:block}.team-info strong{font-size:10px;color:#454850}.team-info small{margin-top:4px;font-size:9px;color:#92959d}.booking-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:21px}.booking-preview{max-width:620px;margin:0 auto;background:#fff;border:1px solid #e7e8eb;border-radius:12px;box-shadow:0 12px 40px rgba(21,23,28,.065);overflow:hidden}.booking-brand{height:74px;padding:0 25px;display:flex;align-items:center;gap:11px;border-bottom:1px solid #ececef}.brand-mark.mini{width:28px;height:28px;border-radius:8px}.booking-brand>span:nth-child(2){flex:1}.booking-brand strong,.booking-brand small{display:block}.booking-brand strong{font:700 12px 'Outfit',sans-serif}.booking-brand small{margin-top:3px;color:#9598a0;font-size:9px}.secure-label{display:flex;align-items:center;gap:4px;color:#308963;font-size:9px}.booking-form-wrap{max-width:410px;margin:0 auto;padding:24px 0 27px}.booking-step-head{display:flex;align-items:center;gap:10px;margin-bottom:19px}.booking-step-head>span{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:color-mix(in srgb,var(--brand-primary) 10%,white);color:var(--brand-primary);font-size:10px;font-weight:700}.booking-step-head strong,.booking-step-head small{display:block}.booking-step-head strong{font-size:11px;font-weight:700}.booking-step-head small{margin-top:4px;color:#999ca4;font-size:9px}.public-booking-form,.modal form{display:grid;gap:12px}.public-booking-form>label,.modal form>label,.form-pair>label{display:grid;gap:6px;color:#555962;font-size:10px;font-weight:600}.public-booking-form input,.public-booking-form select,.modal form input:not([type=checkbox]),.modal form select{width:100%;height:38px;padding:0 10px;border:1px solid #e5e6e9;border-radius:6px;background:#fff;color:#44474f;font-size:11px}.time-choice-wrap{display:grid;gap:8px}.field-label{color:#555962;font-size:10px;font-weight:600}.field-hint{margin:0;color:#9a9da5;font-size:10px}.time-choices{display:flex;flex-wrap:wrap;gap:6px}.time-choice{min-width:56px;height:30px;padding:0 8px;border:1px solid #e6e7ea;border-radius:5px;background:#fff;color:#696d76;font-size:10px}.time-choice:hover,.time-choice.chosen{border-color:var(--brand-primary);background:color-mix(in srgb,var(--brand-primary) 10%,white);color:var(--brand-primary-dark);font-weight:600}.form-divider{height:1px;background:#ececef;margin:8px 0 0}.booking-step-head.second{margin:1px 0 0}.booking-submit{width:100%;height:43px;margin-top:4px}.booking-terms,.booking-foot{margin:0;text-align:center;color:#a0a3aa;font-size:9px}.booking-foot{padding:12px;border-top:1px solid #ececef;background:#fbfbfc}.booking-demo{text-align:center;color:#999ca4;font-size:10px;margin:14px 0}.booking-page{padding-bottom:20px}
.modal-backdrop,.panel-backdrop{position:fixed;inset:0;background:rgba(19,21,25,.46);z-index:20;display:grid;place-items:center;padding:18px;animation:fade-in .15s ease}.modal{width:min(100%,440px);max-height:min(90vh,820px);overflow:auto;background:#fff;border-radius:12px;padding:23px;box-shadow:0 18px 60px #0003;animation:pop-in .18s ease}.wide-modal{width:min(100%,560px)}.modal-topline,.panel-header{display:flex;justify-content:space-between;align-items:center}.modal-kicker{color:#a1a4ab;font-size:9px;font-weight:700;letter-spacing:.13em}.modal h2{margin:15px 0 5px;font:700 21px 'Outfit',sans-serif;letter-spacing:-.04em}.modal-subtitle{margin:0 0 19px;color:#92959d;font-size:11px}.modal form{gap:13px}.modal form>label .optional{display:inline;color:#a3a5ab;font-weight:400}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.service-fields>label{gap:3px}.service-fields .field-hint{margin-top:2px;line-height:1.25}.full-button{width:100%;margin-top:5px}.check-row{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px!important;font-size:10px!important;font-weight:500!important}.check-row input{accent-color:var(--brand-primary)}.service-checks{display:flex;gap:8px;flex-wrap:wrap}.service-checks .check-row{border:1px solid #e7e8eb;border-radius:5px;padding:7px 9px}.service-checks .check-row input{margin:0}.detail-list{display:grid;gap:13px;padding:16px 0;border-top:1px solid #ececef;border-bottom:1px solid #ececef}.detail-list>div{display:flex;align-items:center;gap:10px;color:#71757e;font-size:11px}.detail-list>div>svg{color:#999da6}.detail-payment{display:flex;align-items:center;justify-content:space-between;padding:13px 0;color:#62666e;font-size:10px}.payment-switch{border:0;border-radius:20px;padding:6px 10px;background:color-mix(in srgb,var(--brand-primary) 12%,white);color:var(--brand-primary-dark);font-size:9px;font-weight:700}.payment-switch.paid{background:#eaf6f0;color:#308963}.modal-actions{display:grid;gap:8px;margin-top:7px}.panel-backdrop{display:block;padding:0}.client-panel{position:absolute;right:0;top:0;bottom:0;width:min(100%,440px);overflow:auto;background:#fff;padding:22px 24px;box-shadow:-12px 0 38px #0002;animation:slide-in .18s ease}.client-profile-head{display:flex;align-items:center;gap:13px;margin:25px 0 14px}.customer-avatar.large{width:51px;height:51px;font-size:13px}.client-profile-head h2{margin:0;font:700 17px 'Outfit',sans-serif;letter-spacing:-.03em}.client-profile-head p{margin:5px 0 0;color:#989ba3;font-size:9px}.phone-link{display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:#686c74;font-size:11px}.client-metrics{display:grid;grid-template-columns:repeat(3,1fr);margin:20px 0;border:1px solid #ececef;border-radius:8px}.client-metrics>div{padding:12px 7px;text-align:center}.client-metrics>div+div{border-left:1px solid #ececef}.client-metrics strong,.client-metrics small{display:block}.client-metrics strong{font:700 15px 'Outfit',sans-serif}.client-metrics small{margin-top:4px;color:#989ba3;font-size:9px}.panel-section{padding:17px 0;border-top:1px solid #ececef}.panel-section-title{display:flex;align-items:center;justify-content:space-between}.panel-section-title h3{margin:0;font:700 11px 'Outfit',sans-serif}.panel-section-title>span{color:#a1a4ab;font-size:9px}.notes-copy{margin:11px 0;color:#767a83;font-size:10px;line-height:1.6}.client-tags{display:flex;gap:5px}.history-list{display:grid;margin-top:13px}.history-item{position:relative;display:grid;grid-template-columns:15px 1fr auto;gap:9px;align-items:start;padding:0 0 15px}.history-line{width:7px;height:7px;margin:4px;border-radius:50%;background:var(--brand-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand-primary) 10%,white)}.history-item:not(:last-child)::before{content:"";position:absolute;top:12px;bottom:0;left:7px;width:1px;background:#ececef}.history-item strong,.history-item small{display:block}.history-item strong{font-size:10px;color:#53565e;font-weight:600}.history-item small{margin-top:4px;color:#999ca4;font-size:9px}.history-status{font-size:9px;color:#348c68}.history-status.cancelada{color:#a0a3aa}.history-status.falta{color:#cc613d}.client-panel>.full-button{margin-top:10px}.toast{position:fixed;left:50%;bottom:24px;z-index:35;transform:translate(-50%,20px);display:flex;align-items:center;gap:8px;padding:11px 15px;background:#25272b;color:white;border-radius:8px;box-shadow:0 8px 24px #0002;font-size:11px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;white-space:nowrap}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast svg{color:#6ad4a2}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes pop-in{from{opacity:0;transform:translateY(6px) scale(.99)}to{opacity:1;transform:none}}@keyframes slide-in{from{transform:translateX(20px);opacity:.8}to{transform:none;opacity:1}}
@media(max-width:1100px){.sidebar{width:210px}.workspace{margin-left:210px}.topbar{padding:0 24px}.page-content{padding:25px 24px 35px}.metric-row{grid-template-columns:repeat(2,minmax(0,1fr))}.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-toolbar{padding:0 12px}.calendar-tools{gap:6px}}
@media(max-width:760px){.sidebar{width:62px;padding:18px 8px 11px;align-items:center}.brand{padding:0 0 23px}.brand>span:last-child,.shop-switch>span:not(.shop-avatar),.shop-switch>svg,.nav-caption,.nav-item>span,.sidebar-bottom .online-card,.profile>span:not(.profile-avatar),.side-more{display:none}.shop-switch{padding:7px;margin:0 0 22px}.shop-avatar{width:32px;height:32px}.main-nav{width:100%}.nav-item{justify-content:center;padding:0;width:44px;margin:0 auto}.nav-item>svg{width:19px;height:19px}.sidebar-bottom{width:100%;display:flex;justify-content:center}.profile{border:0;padding:0}.profile-avatar{width:33px;height:33px}.workspace{margin-left:62px}.topbar{height:58px;padding:0 14px}.breadcrumb{font-size:10px;gap:7px}.top-actions{gap:8px}.demo-label{display:none}.top-actions .button{width:36px;min-width:36px;padding:0}.top-actions .button span{display:none}.page-content{padding:20px 14px 28px}.page-heading{align-items:flex-start;gap:9px}.page-heading h1,.booking-heading h1{font-size:21px}.page-heading>.button{margin-top:14px;padding:9px 10px;font-size:10px;white-space:nowrap}.heading-note{font-size:10px}.metric-row{gap:8px;margin-bottom:13px}.metric-card{min-height:96px;padding:11px;grid-template-columns:31px 1fr;column-gap:7px;grid-template-rows:15px 27px 13px}.metric-icon{width:29px;height:29px}.metric-icon svg{width:15px;height:15px}.metric-label{font-size:9px}.metric-card>strong{font-size:17px}.metric-card>small{font-size:8px}.agenda-team-kpis{margin-top:0}.agenda-team-kpis-title{align-items:center}.agenda-team-kpi-list{display:flex;overflow:auto;padding-bottom:3px}.agenda-team-kpi{min-width:180px}.calendar-toolbar{height:auto;min-height:66px;padding:10px;align-items:flex-start;gap:8px;flex-direction:column}.calendar-title{gap:9px}.calendar-title h2{font-size:12px}.calendar-title p{font-size:9px}.calendar-tools{width:100%;justify-content:space-between}.barber-select-label{flex:1}.barber-select-label select{max-width:unset;flex:1}.segmented button{padding:0 8px}.day-calendar{grid-auto-rows:72px;min-width:510px;grid-template-columns:48px repeat(var(--staff-count,1),minmax(145px,1fr))}.day-calendar:has(.staff-head:nth-child(3):last-child){grid-template-columns:48px 1fr}.day-calendar:has(.staff-head:nth-child(4):last-child){grid-template-columns:48px repeat(3,minmax(145px,1fr))}.day-calendar:has(.staff-head:nth-child(2):last-child){grid-template-columns:48px 1fr}.staff-head{padding:0 6px;gap:5px}.staff-head .avatar{width:23px;height:23px}.staff-head strong{font-size:9px}.staff-head small{font-size:8px}.time-cell::after{left:38px}.slot-cell{padding:2px}.booking-block{padding:5px 5px 4px 7px}.booking-block strong{font-size:9px}.booking-block small{font-size:8px}.calendar-legend{gap:9px;padding:0 9px;font-size:8px;flex-wrap:wrap;height:auto;min-height:44px}.legend-hint{display:none}.client-stats>div{padding:12px 7px;display:flex;align-items:flex-start;flex-direction:column;gap:4px}.client-stats strong{font-size:17px}.client-stats span{font-size:8px}.table-toolbar{align-items:flex-start;flex-direction:column;gap:10px;padding:13px}.searchbox{width:100%}.table-scroll table{min-width:680px}.team-grid{grid-template-columns:1fr}.team-card{padding:14px}.team-info{align-items:flex-start;flex-wrap:wrap}.team-info>span:nth-child(2){min-width:75%}.team-info .text-button{margin-left:31px}.booking-heading{align-items:flex-start;gap:10px}.booking-heading .button{font-size:9px;padding:8px}.booking-preview{margin:0 -3px}.booking-brand{padding:0 13px}.secure-label{font-size:8px}.booking-form-wrap{padding:20px 16px}.booking-brand strong{font-size:11px}.client-panel{padding:17px}.modal{padding:18px}.form-pair{gap:8px}.form-pair>label{font-size:9px}.toast{max-width:calc(100vw - 25px);white-space:normal;line-height:1.4}}
@media(max-width:390px){.metric-row{grid-template-columns:1fr 1fr}.page-heading>.button{font-size:0;width:38px;padding:0}.page-heading>.button svg{flex:none}.breadcrumb>span:first-child{display:none}.breadcrumb .slash{display:none}.top-actions .button{min-height:34px}.form-pair{grid-template-columns:1fr}}
.booking-status{display:inline-flex;align-items:center;max-height:16px;margin-top:2px;padding:2px 5px;border-radius:4px;font-size:8px;line-height:1;font-weight:600;background:#edf2ff;color:#5278df}.booking-status.concluida{background:#e9f6f0;color:#319b72}.booking-status.falta{background:#fff0ec;color:#d94e31}
.booking-paused{max-width:620px;margin:0 auto;padding:62px 24px;text-align:center;background:#fff;border:1px solid #e7e8eb;border-radius:12px;box-shadow:var(--shadow)}.paused-icon{width:48px;height:48px;margin:0 auto 15px;display:grid;place-items:center;border-radius:12px;background:color-mix(in srgb,var(--brand-primary) 10%,white);color:var(--brand-primary)}.booking-paused h2{margin:0;font:700 17px 'Outfit',sans-serif}.booking-paused p{max-width:340px;margin:8px auto 20px;color:#888c95;font-size:11px;line-height:1.6}
.booking-confirmed{max-width:530px;margin:12px auto;padding:35px;background:#fff;border:1px solid #e7e8eb;border-radius:12px;box-shadow:var(--shadow)}.confirmed-icon{width:45px;height:45px;margin-bottom:23px;display:grid;place-items:center;border-radius:50%;background:#e9f6f0;color:#319b72}.booking-confirmed>.eyebrow{color:#319b72}.booking-confirmed h2{margin:0;font:700 23px 'Outfit',sans-serif;letter-spacing:-.04em}.confirmed-copy{margin:7px 0 20px;color:#888c95;font-size:11px}.confirmed-details{display:grid;gap:0;margin-bottom:19px;border:1px solid #ececef;border-radius:7px}.confirmed-details>div{display:flex;justify-content:space-between;gap:12px;padding:12px 13px}.confirmed-details>div+div{border-top:1px solid #ececef}.confirmed-details span{color:#8d9098;font-size:10px}.confirmed-details strong{text-align:right;color:#42454d;font-size:10px;font-weight:600;text-transform:capitalize}
.team-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.schedule-summary{margin:7px 0 0;color:#a0a3aa;font-size:9px}.day-picker{border:0;padding:0;margin:0}.day-picker legend{margin-bottom:7px;color:#555962;font-size:10px;font-weight:600}.day-picker>div{display:flex;gap:6px;flex-wrap:wrap}.day-picker label{display:grid;place-items:center}.day-picker input{position:absolute;opacity:0}.day-picker span{padding:7px 9px;border:1px solid #e5e6e9;border-radius:5px;color:#696d76;font-size:9px;cursor:pointer}.day-picker input:checked+span{border-color:var(--brand-primary);background:color-mix(in srgb,var(--brand-primary) 10%,white);color:var(--brand-primary-dark);font-weight:600}.modal form select:disabled,.modal form button:disabled{opacity:.55;cursor:not-allowed}
.storage-state{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center;background:#f7f7f8}.storage-state .brand-mark{margin-bottom:17px}.storage-state h1{margin:0;font:700 21px 'Outfit',sans-serif;letter-spacing:-.04em;color:#282a2e}.storage-state p{max-width:430px;margin:9px 0 18px;color:#838790;font-size:12px;line-height:1.6}
.shop-switch select{min-width:0;width:100%;padding:9px 5px;border:0;outline:0;background:transparent;color:#f4f4f5;font-size:10px;font-weight:600}.shop-switch select option{color:#25272b}.empty-calendar{padding:30px}.empty-calendar h2{margin:0 0 8px;font:700 17px 'Outfit',sans-serif}.empty-calendar p{color:#858a94;font-size:11px}.empty-calendar .button{margin:8px 8px 0 0}.team-access{margin-top:22px;padding:20px;background:#fff;border:1px solid #e8e9ec;border-radius:8px}.team-access-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.team-access-heading h2{margin:6px 0 0;font:700 17px 'Outfit',sans-serif}.team-access-heading>span{color:#898d95;font-size:9px}.team-access-grid{display:grid;grid-template-columns:minmax(220px,.72fr) 1.28fr;gap:25px}.team-access-grid form{display:grid;align-content:start;gap:12px}.team-access-grid form>label,.settings-card label{display:grid;gap:6px;color:#555962;font-size:10px;font-weight:600}.team-access-grid input,.team-access-grid select,.settings-card input,.settings-card textarea,.settings-card select{min-width:0;width:100%;min-height:39px;padding:9px 10px;border:1px solid #e1e2e5;border-radius:5px;background:#fff;color:#2b2d32;font:400 11px 'Outfit',sans-serif}.team-access-grid label small,.settings-card label small{color:#92969e;font-size:9px;font-weight:400}.team-access-grid .button{justify-content:center}.team-access-grid .auth-message{margin:0;overflow-wrap:anywhere}.team-access-grid .auth-message a{color:var(--brand-primary)}.team-access-grid [hidden]{display:none}.member-list{display:grid;gap:0}.member-row{min-height:52px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #f0f0f1}.member-row:last-child{border:0}.member-row>span:nth-child(2){min-width:0;flex:1}.member-row strong,.member-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-row strong{color:#3b3e45;font-size:10px}.member-row small{margin-top:4px;color:#888c94;font-size:9px}.member-status{color:#7f858e;font-size:9px;white-space:nowrap}.member-remove{border:0;background:transparent;color:#b44d38;font-size:9px}.settings-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);align-items:start;gap:18px}.settings-card{display:grid;gap:14px;padding:20px;background:#fff;border:1px solid #e8e9ec;border-radius:8px}.settings-card h2{margin:0;font:700 15px 'Outfit',sans-serif}.settings-card .eyebrow{margin:0}.settings-card>p:not(.eyebrow){margin:0;color:#858a94;font-size:10px;line-height:1.7}.settings-card textarea{min-height:78px;resize:vertical}.settings-card .form-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.color-setting{grid-template-columns:1fr 54px!important;align-items:center}.color-setting input{height:35px;min-height:35px;padding:3px}.settings-side{display:grid;gap:14px}.settings-side .button{width:max-content}.calendar-feed{display:grid;gap:9px;padding:12px;border:1px solid #e7e8eb;border-radius:5px}.calendar-feed a{overflow-wrap:anywhere;color:var(--brand-primary);font-size:10px}.calendar-feed small{color:#8a8e96;font-size:9px;line-height:1.5}.calendar-feed button{width:max-content;border:0;background:transparent;color:#a44b37;font-size:9px;padding:0}.platform-shell{min-height:100vh;display:grid;grid-template-columns:240px 1fr;background:#f6f7f8}.platform-sidebar{position:fixed;inset:0 auto 0 0;width:240px;display:flex;flex-direction:column;padding:25px 17px;background:#191b20;color:white}.platform-brand{display:flex;align-items:center;gap:10px;color:white;text-decoration:none;font:700 10px 'Outfit',sans-serif;letter-spacing:.08em}.platform-brand small{display:block;margin-top:5px;color:#969aa2;font:600 8px 'Outfit',sans-serif}.platform-nav-label{margin:43px 10px 12px;color:#858992;font-size:8px;font-weight:700;letter-spacing:.14em}.platform-nav{display:block;padding:11px 12px;border:0;border-radius:5px;background:transparent;color:#d0d1d4;text-align:left;text-decoration:none;font:500 10px 'Outfit',sans-serif}.platform-nav.active{background:#2a2c31;color:white}.platform-user{display:grid;gap:10px;margin-top:auto;padding-top:14px;border-top:1px solid #303238;color:#c2c3c8;font-size:9px;overflow-wrap:anywhere}.platform-user button{width:max-content;border:0;background:transparent;color:#9da1a9;padding:0;text-align:left;font-size:9px}.platform-main{grid-column:2;max-width:1250px;padding:48px 5vw}.platform-main>header{display:flex;align-items:end;justify-content:space-between}.platform-main h1{margin:9px 0 0;font:700 31px 'Outfit',sans-serif;letter-spacing:-.05em}.platform-count{color:#828790;font-size:10px}.platform-toolbar{display:flex;gap:10px;margin:24px 0 12px}.platform-toolbar input,.platform-toolbar select{height:38px;padding:0 11px;border:1px solid #e1e3e6;border-radius:5px;background:white;color:#454952;font:400 10px 'Outfit',sans-serif}.platform-toolbar input{width:min(380px,70vw)}.platform-table{overflow:auto;background:white;border:1px solid #e6e7ea;border-radius:8px}.platform-table table{width:100%;border-collapse:collapse;min-width:770px;text-align:left}.platform-table th{padding:13px 14px;border-bottom:1px solid #e8e9ec;color:#92969e;font-size:8px;letter-spacing:.1em}.platform-table td{padding:14px;border-bottom:1px solid #f0f0f1;color:#51555d;font-size:10px}.platform-table td strong,.platform-table td small{display:block}.platform-table td strong{color:#2b2e33}.platform-table td small{margin-top:4px;color:#92969e;font-size:9px}.platform-state{padding:5px 7px;border-radius:12px;background:#eaf5ef;color:#338563;font-size:8px}.platform-state.suspended{background:#fff1e9;color:#b56534}.platform-action{border:1px solid #e4e5e8;border-radius:4px;background:#fff;padding:6px 8px;color:#666b74;font-size:9px}.platform-privacy{margin-top:13px;color:#969aa1;font-size:9px}@media(max-width:800px){.team-access-grid,.settings-layout{grid-template-columns:1fr}.platform-shell{grid-template-columns:62px 1fr}.platform-sidebar{width:62px;align-items:center;padding:18px 6px}.platform-brand>span:last-child,.platform-nav-label,.platform-nav:not(.active),.platform-nav.active,.platform-user span,.platform-user button{display:none}.platform-user{width:100%;justify-items:center}.platform-main{padding:28px 16px}.team-access-heading{align-items:flex-start;flex-direction:column}}@media(max-width:500px){.team-access{padding:14px}.member-row{gap:7px}.member-status{max-width:85px;white-space:normal;text-align:right}.settings-card{padding:15px}.settings-card .form-pair{grid-template-columns:1fr}.platform-main h1{font-size:25px}}
.sidebar .brand{height:85px;min-height:85px;padding:0 11px 24px;color:#fff;text-decoration:none;letter-spacing:0}
.sidebar .brand-with-logo{justify-content:flex-start}
.sidebar .brand-shop-logo{display:block;width:100%;max-width:198px;height:56px;object-fit:contain;object-position:left center;background:transparent;border:0;border-radius:0}
.sidebar .brand-with-name strong{display:block;max-width:198px;font:800 19px/1.08 'Outfit',sans-serif;letter-spacing:-.035em;overflow-wrap:anywhere}
@media(max-width:760px){.sidebar .brand{height:61px;min-height:61px;padding:0 0 18px;justify-content:center}.sidebar .brand-shop-logo{width:42px;max-width:42px;height:42px;object-fit:contain}.sidebar .brand-with-name strong{font-size:13px;max-width:46px;max-height:39px;overflow:hidden;text-align:center}}
.logo-setting{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:10px}.logo-preview{width:68px;height:68px;display:grid;place-items:center;overflow:hidden;border:1px dashed #d9dce1;border-radius:9px;background:#f8f9fa;color:#9a9ea5;text-align:center;font-size:9px}.logo-preview img{max-width:100%;max-height:100%;object-fit:contain}.logo-setting .text-button{grid-column:2;justify-self:start;padding:0}.logo-setting .text-button:disabled{opacity:.45;cursor:not-allowed}.logo-setting input[type=file]{padding:8px;font-size:10px}
.profile-logout{display:inline-flex;align-items:center;gap:5px;padding:6px;border:0;border-radius:6px;background:transparent;color:#a9abb2;font-size:10px;font-weight:600;white-space:nowrap}.profile-logout:hover{background:#2c2e35;color:#fff}@media(max-width:760px){.profile{flex-direction:column;gap:3px}.profile-logout{padding:5px}.profile-logout span{display:none}}

.top-actions a.text-button,.top-actions a.text-button:visited{color:var(--brand-primary-dark);text-decoration:none}.top-actions a.text-button:hover{text-decoration:underline}
.logo-upload-control{position:relative}.logo-upload-control input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.logo-picker{display:flex;align-items:center;gap:10px;min-height:40px}.logo-picker .button{min-height:34px;white-space:nowrap}.logo-picker>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#777b83;font-size:10px}.logo-upload-control:focus-within .logo-picker .button{outline:3px solid color-mix(in srgb,var(--brand-primary) 26%,transparent);outline-offset:2px}
.shop-current{cursor:default}.shop-current>span:last-child{flex:1;min-width:0}.avatar{overflow:hidden}.avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.barber-photo-field{display:grid;grid-template-columns:84px minmax(0,1fr);gap:14px;align-items:start;margin:3px 0 12px}.barber-photo-preview{width:84px;height:84px;display:grid;place-items:center;overflow:hidden;border:1px dashed #d5d8dd;border-radius:12px;background:#f7f8f9;color:#8b9099;text-align:center;font-size:10px}.barber-photo-preview img{width:100%;height:100%;object-fit:cover}.barber-photo-controls{display:grid;gap:5px;min-width:0}.barber-photo-controls>label{display:grid;gap:6px}.barber-photo-controls input[type=file]{width:100%;min-width:0;padding:8px;background:#fff;font-size:10px}.barber-photo-controls>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#858a94;font-size:10px}.barber-photo-controls .text-button{justify-self:start;padding:2px 0}.barber-photo-controls .text-button:disabled{color:#a7aab0;cursor:default}.barber-photo-controls .field-hint{margin:0}@media(max-width:500px){.barber-photo-field{grid-template-columns:70px minmax(0,1fr)}.barber-photo-preview{width:70px;height:70px}}
.remote-update-banner{position:fixed;top:14px;right:16px;z-index:32;display:flex;align-items:center;gap:16px;max-width:min(440px,calc(100vw - 32px));padding:12px 14px;border:1px solid #d7e4dd;border-radius:10px;background:#fff;box-shadow:0 12px 36px #0002;color:#25272b}.remote-update-banner[hidden]{display:none}.remote-update-banner span{display:grid;gap:3px;min-width:0}.remote-update-banner strong{font-size:11px;line-height:1.3}.remote-update-banner small{font-size:9px;color:#69717a;line-height:1.4}.remote-update-banner .button{flex:none;min-height:33px;padding:0 11px;font-size:10px}@media(max-width:600px){.remote-update-banner{top:8px;right:8px;left:8px;max-width:none;gap:8px}.remote-update-banner .button{padding:0 8px}}
.modal form textarea{width:100%;min-height:105px;padding:10px;border:1px solid #e5e6e9;border-radius:6px;background:#fff;color:#44474f;font:400 11px 'Outfit',sans-serif;resize:vertical}
.crm-history-note{margin:0 0 12px;padding:9px 11px;border:1px solid #e8dfc5;border-radius:6px;background:#fffaf0;color:#776335;font-size:10px;line-height:1.5}

.brand{justify-content:center;text-align:center}.sidebar .brand.brand-with-logo{justify-content:center}.sidebar .brand-shop-logo{display:block;max-width:190px;max-height:56px;width:auto;height:auto;margin-inline:auto;object-fit:contain;object-position:center}.text-button{color:var(--blue)}.text-button:hover{color:#315dc8}.top-actions{gap:14px}.account-menu{position:relative}.account-menu summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer}.account-menu summary::-webkit-details-marker{display:none}.account-menu summary>span:last-child strong,.account-menu summary>span:last-child small{display:block}.account-menu summary>span:last-child strong{font-size:11px;color:#373a41}.account-menu summary>span:last-child small{margin-top:3px;color:#858992;font-size:9px}.account-menu>div{position:absolute;right:0;top:calc(100% + 9px);min-width:165px;padding:6px;background:#fff;border:1px solid #e6e7ea;border-radius:8px;box-shadow:0 10px 24px #17191d1c}.account-menu:not([open])>div{display:none}.account-menu button{display:flex;align-items:center;gap:8px;width:100%;padding:9px;border:0;background:transparent;color:#4d525c;text-align:left;font-size:11px}.account-menu button:hover{background:#f3f4f6}.action-menu{display:grid;gap:4px;margin-top:17px}.action-menu button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:42px;padding:0 11px;border:0;border-radius:6px;background:#f5f6f8;color:#444850;text-align:left;font-size:12px;font-weight:600}.action-menu button:hover{background:#eceef2}.action-menu button.danger{color:#b33c32}.compact-modal{max-width:380px}
.service-actions-cell{width:54px;text-align:right;overflow:visible}.kebab-menu{position:relative;display:inline-block}.kebab-menu summary{list-style:none}.kebab-menu summary::-webkit-details-marker{display:none}.kebab-menu[open] summary{background:#f1f2f4;color:#25272b}.kebab-menu>div{position:absolute;z-index:8;top:calc(100% + 5px);right:0;display:grid;min-width:130px;padding:5px;border:1px solid #e4e6ea;border-radius:8px;background:#fff;box-shadow:0 10px 25px #16181c20;text-align:left}.kebab-menu button{width:100%;padding:9px 10px;border:0;border-radius:5px;background:transparent;color:#42464e;text-align:left;font-size:10px;font-weight:600}.kebab-menu button:hover{background:#f2f3f5}.kebab-menu button:last-child{color:#b33c32}
.entity-panel{width:min(100%,500px);max-height:none;border-radius:0;padding:24px 27px}.entity-panel h2{margin-top:25px}.entity-panel .modal-subtitle{margin-bottom:22px}.entity-panel form{padding-bottom:24px}.entity-panel-backdrop{z-index:22}
.platform-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.platform-edit-modal{width:min(100%,520px)}.platform-edit-modal form{display:grid;gap:13px}.platform-edit-modal form>label,.platform-edit-modal .form-pair>label{display:grid;gap:6px;color:#555962;font-size:10px;font-weight:600}.platform-edit-modal input,.platform-edit-modal select{width:100%;height:38px;padding:0 10px;border:1px solid #e5e6e9;border-radius:6px;background:#fff;color:#44474f;font-size:11px}.platform-edit-modal input:disabled{background:#f5f6f7;color:#8d9198}.platform-edit-modal label small{color:#969aa2;font-size:9px;font-weight:400}
@media(min-width:761px){.sidebar .brand{margin-bottom:30px}}

.payment-connection{display:grid;justify-items:start;gap:11px}.payment-connection p{margin:0;color:#626772;font-size:12px;line-height:1.6}.connection-state{display:inline-flex;align-items:center;min-height:27px;padding:4px 9px;border-radius:20px;font-size:11px;font-weight:700}.connection-state.pending{background:#fff4e8;color:#8a5421}.connection-state.ready{background:#e8f6ef;color:#237653}.connection-state.unavailable{background:#f0f1f3;color:#626772}.connection-checks{display:flex;flex-wrap:wrap;gap:7px 14px;color:#525760;font-size:12px}.payment-settings-card .auth-message{margin:0;color:#a43c36;font-size:12px}
.stripe-connect-backdrop{z-index:34}.stripe-connect-panel{width:min(100%,620px);padding:24px 28px}.stripe-connect-panel h2{margin:24px 0 6px;font:700 22px 'Outfit',sans-serif;letter-spacing:-.04em}.stripe-connect-panel .modal-subtitle{margin-bottom:22px}.stripe-connect-panel stripe-connect-account-onboarding,.stripe-connect-panel stripe-connect-account-management{display:block;width:100%}.stripe-connect-panel>.auth-message{margin-top:14px;color:#a43c36}
.payment-policy{display:grid;gap:12px;margin-top:18px;padding-top:18px;border-top:1px solid #ececef}.payment-policy label{display:grid;gap:6px;color:#555962;font-size:12px;font-weight:600}.payment-policy select,.payment-policy input{width:100%;height:40px;padding:0 10px;border:1px solid #e5e6e9;border-radius:6px;background:#fff;color:#44474f;font-size:14px}.payment-policy [hidden]{display:none}

/* Accessibility: keep operational text readable without flattening the hierarchy. */
textarea:focus-visible,summary:focus-visible{
  outline:3px solid color-mix(in srgb,var(--blue) 38%,transparent);
  outline-offset:2px;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline-color:#315dc8}
.eyebrow,.nav-caption,.demo-label{font-size:11px}
.eyebrow,.demo-label{color:#60656f}.nav-caption{color:#9ca0a9}.account-menu summary>span:last-child small{color:#626772}
.heading-note,.metric-label,.table-toolbar p,.service-note,.team-card>p,.team-stat,.team-info strong,.booking-paused p,.confirmed-copy{font-size:12px}
.metric-card>small,.agenda-team-kpi>span small,.calendar-title p,.staff-head small,.booking-time,.booking-block small,.calendar-legend,.week-day small,.week-event small,.client-stats span,.customer-cell small,.table-foot,.status-pill,.team-tags span,.client-tags span,.team-info small,.schedule-summary,.field-hint,.settings-card>p:not(.eyebrow),.settings-card label small,.calendar-feed small,.member-row small,.member-status,.platform-privacy,.platform-table td small,.remote-update-banner small,.crm-history-note,.account-menu summary>span:last-child small,.platform-edit-modal label small{font-size:11px}
.agenda-team-kpi>span strong,.staff-head strong,.booking-block strong,.week-event strong,.table-toolbar h2,.searchbox input,td,.customer-cell strong,.service-name strong,.text-button,.settings-card label,.member-row strong,.account-menu summary>span:last-child strong,.account-menu button,.kebab-menu button,.platform-count,.platform-toolbar input,.platform-toolbar select,.platform-table td,.platform-action,.platform-edit-modal form>label,.platform-edit-modal .form-pair>label,.platform-edit-modal input,.platform-edit-modal select{font-size:12px}
th,.platform-table th,.platform-nav-label,.platform-brand small{font-size:10px}
.platform-nav,.platform-brand,.platform-user,.platform-user button,.platform-state{font-size:11px}
.time-cell{font-size:10px}
.booking-status{font-size:10px;max-height:none}
.day-picker legend{font-size:12px;margin-bottom:8px}
.day-picker .field-hint{margin:0 0 13px;line-height:1.5}
.day-picker span{font-size:11px;min-width:38px;min-height:34px}
.day-picker input{width:1px!important;height:1px!important;min-height:0!important;clip-path:inset(50%)}
.day-picker input:focus-visible+span{outline:3px solid color-mix(in srgb,var(--blue) 38%,transparent);outline-offset:2px}
.settings-card input,.settings-card textarea,.settings-card select,.team-access-grid input,.team-access-grid select,.platform-edit-modal input,.platform-edit-modal select{font-size:14px}
.text-button,.member-remove,.calendar-feed button,.platform-action,.kebab-menu button{min-height:32px;padding-block:6px}
.kebab-menu summary,.account-menu summary{min-width:34px;min-height:34px}
.text-button,.calendar-feed a{color:#315dc8}
.top-actions a.text-button,.top-actions a.text-button:visited{color:#315dc8}

.heading-note,.metric-label,.metric-card>small,.agenda-team-kpi>span small,.calendar-title p,.staff-head small,.booking-time,.booking-block small,.calendar-legend,.week-day small,.week-event small,.client-stats span,.table-toolbar p,.customer-cell small,.table-foot,.service-note,.team-card>p,.team-stat,.team-info small,.schedule-summary,.field-hint,.settings-card>p:not(.eyebrow),.settings-card label small,.calendar-feed small,.member-row small,.member-status,.platform-count,.platform-privacy,.platform-table td small,.remote-update-banner small{color:#626772}
th,.platform-table th{color:#60656f}
@media(max-width:760px){
  .metric-label,.calendar-title p,.staff-head strong,.booking-block strong,.client-stats span,.form-pair>label,.booking-heading .button{font-size:11px}
  .metric-card>small,.staff-head small,.booking-block small,.calendar-legend{font-size:10px}
  .settings-card input,.settings-card textarea,.settings-card select,.team-access-grid input,.team-access-grid select,.modal input,.modal select,.modal textarea{font-size:16px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
.notification-options{border:0;padding:0;margin:24px 0 18px;display:grid;gap:10px}.notification-options legend{font-size:14px;font-weight:700;margin-bottom:10px}.notification-options label{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--line);border-radius:10px;padding:12px;cursor:pointer}.notification-options input{width:18px;height:18px;margin-top:2px}.notification-options span{display:grid;gap:3px}.notification-options small{color:var(--muted);font-size:13px}.notification-statuses{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.notification-history-title{margin:22px 0 8px}.notification-history{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--line);font-size:13px}.notification-history strong{font-size:12px}.notification-history strong.sent{color:#16835d}.notification-history strong.failed{color:#b42318}.notification-history strong.pending{color:#8a642c}

/* 2026 interface refresh: neutral gray workspace, light navigation and compact CRM surfaces. */
:root{--ink:#171717;--muted:#737373;--line:#dddddd;--panel:#fff;--canvas:#f6f6f6;--navy:#fff;--shadow:none}
body,.app-shell{background:var(--canvas);color:var(--ink)}
.sidebar{width:252px;padding:18px 14px 14px;border-right:1px solid var(--line);background:#fff;color:var(--ink);transition:width .2s ease,padding .2s ease}
.sidebar .brand{height:76px;min-height:76px;justify-content:center;margin:0 4px 20px;padding:4px 12px 20px;border-bottom:1px solid #ebebeb;color:var(--ink);text-align:center}
.sidebar .brand.brand-with-logo{height:136px;min-height:136px;justify-content:center;padding-bottom:16px}.sidebar .brand-shop-logo{width:auto;max-width:100%;max-height:108px;margin:0 auto;object-position:center}.sidebar .brand-with-name strong{max-width:178px;color:var(--ink);font-size:18px}
.sidebar-collapse{position:absolute;top:66px;right:-14px;z-index:2;width:28px;height:28px;display:grid;place-items:center;padding:0;border:1px solid #dddddd;border-radius:50%;background:#fff;color:#616161;box-shadow:0 4px 12px #1c1c1812}.sidebar-collapse:hover{background:#171717;color:#fff}
.shop-switch{margin:0 2px 25px;padding:10px;border-color:#e4e4e4;border-radius:12px;background:#f5f5f5;color:var(--ink)}.shop-switch select{color:var(--ink)}.shop-avatar{background:#e8e8e8;color:var(--ink)}
.nav-caption{padding:0 12px 9px;color:#999999;font-size:10px;letter-spacing:.09em}.main-nav{gap:3px}.nav-item{height:42px;padding:0 12px;border-radius:11px;color:#545454;font-size:13px;font-weight:500}.nav-item:hover{background:#efefef;color:#171717}.nav-item.active{background:var(--brand-primary);color:var(--brand-on-primary)}.nav-item.active>svg{color:inherit}.nav-count{background:#eeeeee;color:#646464}.nav-item.active .nav-count{background:color-mix(in srgb,var(--brand-on-primary) 12%,transparent);color:inherit}
.online-card{margin:0 2px;padding:12px;border-color:#e3e3e3;border-radius:12px;background:#f6f6f6;color:var(--ink)}.online-card strong{font-size:12px}.online-card small{color:#767676;font-size:11px}.toggle{background:#d0d0d0}.toggle.on{background:#171717}
.workspace{margin-left:252px;background:var(--canvas);transition:margin-left .2s ease}.topbar{height:72px;padding:0 32px;border-bottom:0;background:rgba(242,242,242,.94);backdrop-filter:blur(16px)}.page-title{color:var(--ink);font:700 20px/1.2 'Outfit',sans-serif;letter-spacing:-.04em}.top-actions{gap:12px}
.top-actions a.text-button,.top-actions a.text-button:visited{min-height:36px;padding:0 12px;border-radius:999px;color:#4c4c4c;text-decoration:none}.top-actions a.text-button:hover{background:#e7e7e7;color:#171717;text-decoration:none}
.account-menu summary{min-height:42px;padding:4px 16px 4px 4px;border:1px solid transparent;border-radius:999px}.account-menu summary:hover,.account-menu[open] summary{border-color:#dddddd;background:#fff}.account-menu summary>span:last-child strong{color:#252525;font-size:12px}.account-menu summary>span:last-child small{color:#767676;font-size:11px}.profile-avatar{width:34px;height:34px;background:var(--brand-primary);color:var(--brand-on-primary);font-size:11px}.account-menu>div{top:calc(100% + 7px);border-color:#dddddd;border-radius:12px;box-shadow:0 16px 40px rgba(28,28,28,.1)}
.page-content{max-width:none;padding:8px 32px 42px}.page-heading{margin:12px 0 24px;align-items:center}.page-heading h1,.booking-heading h1{font-size:29px;letter-spacing:-.055em}.heading-note{margin-top:7px;color:#6e6e6e;font-size:13px}.eyebrow{color:#838383;font-size:10px;letter-spacing:.1em}
.button{min-height:40px;padding:9px 16px;border-radius:7px;font-size:12px;box-shadow:none}.button-primary,.button-dark{border-color:var(--brand-primary);background:var(--brand-primary);color:var(--brand-on-primary);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand-on-primary) 12%,transparent)}.button-primary:hover,.button-dark:hover{border-color:var(--brand-primary);background:var(--brand-primary)}.button-primary:hover:not(:disabled),.button-dark:hover:not(:disabled){box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand-on-primary) 35%,transparent),0 2px 5px #00000014}.button-outline{border-color:#d8d8d8;background:#fff;color:#3e3e3e}.button-outline:hover,.button-quiet:hover{background:#ededed}.button-quiet{background:#e8e8e8;color:#4c4c4c}.icon-button{border-radius:999px}.icon-button:hover{background:#ebebeb;color:#171717}
@media (hover: hover) {
  .button-primary:hover:not(:disabled) {
    background-color: color-mix(in srgb, var(--brand-primary) 90%, black);
    border-color: color-mix(in srgb, var(--brand-primary) 90%, black);
  }
}
.metric-row{gap:10px;margin-bottom:22px}.metric-card{min-height:108px;border-color:#dedede;border-radius:14px;background:rgba(255,255,255,.88);box-shadow:none}.metric-icon{border-radius:10px}.metric-label{color:#6c6c6c;font-size:12px}.metric-card>strong{color:#1e1e1e;font-size:22px}.metric-card>small{color:#767676;font-size:11px}
.agenda-team-kpis{margin-bottom:22px}.agenda-team-kpis-title{margin-bottom:10px}.agenda-team-kpis-title strong{font-size:14px}.agenda-team-kpi-list{gap:9px}.agenda-team-kpi{min-height:72px;padding:11px 14px;border-color:#dedede;border-radius:13px;box-shadow:none}.agenda-team-kpi:hover{border-color:#a9a9a9;background:#fcfcfc}.agenda-team-kpi.selected{border-color:#171717;box-shadow:inset 0 0 0 1px #171717}.agenda-team-kpi>b{color:#171717}
.calendar-card,.table-card,.client-stats,.team-card,.team-info,.settings-card,.team-access{border-color:#dedede;border-radius:15px;box-shadow:none}.calendar-card,.table-card{background:#fff}.calendar-toolbar{height:68px;padding:0 16px;border-color:#e6e6e6}.today-button,.barber-select-label,.segmented,.calendar-tools .light{border-color:#dadada;border-radius:999px;background:#fff}.today-button{height:34px;padding:0 13px;font-size:11px}.date-switch .icon-button{width:34px;height:34px}.calendar-title h2{font-size:15px}.calendar-title p{color:#737373;font-size:11px}.barber-select-label{height:36px;padding:0 12px}.barber-select-label select{font-size:11px}.segmented{padding:3px}.segmented button{height:28px;border-radius:999px;font-size:11px}.segmented button.selected{background:var(--brand-primary);color:var(--brand-on-primary);box-shadow:none}.calendar-tools .light{width:36px;height:36px}
.time-head,.staff-head,.slot-cell,.week-header,.week-column,.week-slot{border-color:#ebebeb}.staff-head{height:55px;padding-inline:14px}.staff-head strong{color:#3a3a3a;font-size:11px}.staff-head small{color:#767676;font-size:10px}.time-cell,.week-times>div{color:#848484}.booking-block,.week-event{border-radius:8px}.calendar-legend{border-color:#e6e6e6;color:#686868}
.client-stats{overflow:hidden}.client-stats>div{padding:17px 20px}.client-stats>div+div{border-color:#e7e7e7}.table-toolbar{min-height:72px;padding:14px 18px;border-color:#e6e6e6}.table-toolbar h2{font-size:14px}.table-toolbar p{color:#737373;font-size:11px}.searchbox{width:min(310px,36vw);height:38px;padding:0 13px;border-color:#dadada;border-radius:999px;background:#fafafa}.searchbox input{font-size:12px}thead{height:40px;background:#f6f6f6}th{color:#767676;font-size:10px;letter-spacing:.04em}td{height:60px;border-color:#ebebeb;color:#656565;font-size:12px}tbody tr[data-action]:hover{background:#f7f7f7}.customer-cell strong,.service-name strong{color:#292929;font-size:12px}.customer-cell small{color:#767676;font-size:11px}.customer-avatar{background:#eeeeee;color:#545454}.status-pill{font-size:10px}.table-foot{height:43px;border-color:#e6e6e6;color:#737373;font-size:11px}
.team-grid{gap:12px}.team-card{padding:18px;background:#fff}.team-card h2{font-size:15px}.team-card>p,.team-stat{font-size:12px}.team-divider{background:#e7e7e7}.team-tags span,.client-tags span{border-color:#dedede;border-radius:999px;background:#f6f6f6;font-size:10px}.team-info{background:#fff}.text-button{color:#315dc8;font-size:12px}
.settings-layout{gap:14px}.settings-card{gap:16px;padding:22px;background:#fff}.settings-card h2{font-size:16px}.settings-card>p:not(.eyebrow){color:#656565;font-size:12px}.settings-card input,.settings-card textarea,.settings-card select,.team-access-grid input,.team-access-grid select{border-color:#dadada;border-radius:9px;background:#fff}.settings-card input:focus,.settings-card textarea:focus,.settings-card select:focus{border-color:#898989}.notification-options label{border-color:#dedede;border-radius:12px;background:#fafafa}.connection-state{font-size:11px}
.kebab-menu>div{border-color:#dddddd;border-radius:11px;box-shadow:0 16px 36px rgba(28,28,28,.11)}.action-menu button{border-radius:9px;background:#f3f3f3}.modal{border-radius:16px;box-shadow:0 24px 70px rgba(20,20,20,.18)}.entity-panel{border-radius:16px 0 0 16px}.client-panel{border-left-color:#dddddd;background:#fff;box-shadow:-18px 0 55px rgba(25,25,25,.12)}.toast{border:1px solid #363636;border-radius:999px;background:#171717}

/* Desktop collapse keeps every destination available through its icon. */
.sidebar-collapsed .sidebar{width:76px;padding-inline:10px}.sidebar-collapsed .workspace{margin-left:76px}.sidebar-collapsed .sidebar .brand{height:62px;min-height:62px;justify-content:center;margin:0 0 22px;padding:0 0 18px}.sidebar-collapsed .sidebar .brand-shop-logo{width:44px;max-width:44px;height:42px;object-fit:contain;object-position:center}.sidebar-collapsed .sidebar .brand-with-name strong{max-width:44px;max-height:38px;overflow:hidden;font-size:12px;text-align:center}.sidebar-collapsed .sidebar-collapse{top:53px}.sidebar-collapsed .shop-switch{justify-content:center;padding:7px;margin-bottom:22px}.sidebar-collapsed .shop-switch select{position:absolute;width:1px;height:1px;opacity:0}.sidebar-collapsed .shop-avatar{width:34px;height:34px}.sidebar-collapsed .nav-caption,.sidebar-collapsed .nav-item>span,.sidebar-collapsed .online-card>span:nth-child(2),.sidebar-collapsed .online-card .toggle{display:none}.sidebar-collapsed .main-nav{width:100%}.sidebar-collapsed .nav-item{justify-content:center;width:46px;margin-inline:auto;padding:0}.sidebar-collapsed .nav-item svg{width:19px;height:19px}.sidebar-collapsed .online-card{justify-content:center;width:46px;min-height:42px;margin-inline:auto;padding:0}.sidebar-collapsed .online-dot{width:9px;height:9px}

@media(max-width:1100px){.sidebar{width:220px}.workspace{margin-left:220px}.topbar{padding-inline:24px}.page-content{padding-inline:24px}.sidebar-collapsed .sidebar{width:76px}.sidebar-collapsed .workspace{margin-left:76px}}
@media(max-width:760px){.sidebar,.sidebar-collapsed .sidebar{width:68px;padding:14px 8px 10px}.workspace,.sidebar-collapsed .workspace{margin-left:68px}.sidebar .brand,.sidebar-collapsed .sidebar .brand{height:60px;min-height:60px;margin:0 0 16px;padding:0 0 16px;justify-content:center}.sidebar .brand-shop-logo,.sidebar-collapsed .sidebar .brand-shop-logo{width:42px;max-width:42px;height:40px;object-position:center}.sidebar-collapse{display:none}.nav-item{width:46px;height:44px}.topbar{height:62px;padding-inline:16px}.page-title{font-size:17px}.account-menu summary{padding-right:4px}.page-content{padding:8px 14px 30px}.page-heading{margin-top:9px}.page-heading h1,.booking-heading h1{font-size:23px}.metric-card{border-radius:12px}.calendar-card,.table-card,.client-stats,.team-card,.team-info,.settings-card,.team-access{border-radius:12px}.searchbox{width:100%}.entity-panel{border-radius:0}}

/* The navigation sits inside the canvas, matching the framed reference layout. */
@media(min-width:761px){.sidebar{inset:14px auto 14px 14px;width:224px;height:auto;border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 34px rgba(24,24,24,.045)}.sidebar-collapsed .sidebar{inset:10px auto 10px 8px;width:60px}.sidebar-collapsed .sidebar-collapse{right:-15px}.workspace{margin-left:252px}.sidebar-collapsed .workspace{margin-left:76px}}
@media(min-width:761px) and (max-width:1100px){.sidebar{inset:12px auto 12px 12px;width:196px}.workspace{margin-left:220px}.sidebar-collapsed .sidebar{inset:10px auto 10px 8px;width:60px}.sidebar-collapsed .workspace{margin-left:76px}}
@media(max-width:760px){.sidebar,.sidebar-collapsed .sidebar{inset:6px auto 6px 6px;width:56px;height:auto;border:1px solid var(--line);border-radius:16px}.workspace,.sidebar-collapsed .workspace{margin-left:68px}}
@media(max-width:760px){.sidebar .brand.brand-with-logo{height:60px;min-height:60px;padding-bottom:16px}}

/* Shared surface geometry. Pills and circular controls keep their own shape. */
.sidebar,.nav-item,.shop-switch,.online-card,.metric-card,.agenda-team-kpi,.calendar-card,.table-card,.client-stats,.team-card,.team-info,.settings-card,.team-access{border-radius:12px}
@media(max-width:760px){.sidebar,.sidebar-collapsed .sidebar{border-radius:12px}}

/* Loading surfaces mirror the dashboard while its data is requested. */
.app-initial-skeleton{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh;background:#f6f6f6}
.app-skeleton-shape{display:block;background:linear-gradient(100deg,#e8e8e8 20%,#f6f6f6 40%,#e8e8e8 60%);background-size:200% 100%;animation:app-skeleton-shimmer 1.5s ease-in-out infinite;border-radius:8px}
@keyframes app-skeleton-shimmer{to{background-position-x:-200%}}
.app-skeleton-sidebar{display:grid;align-content:start;gap:18px;padding:35px 22px;background:#fff}
.app-skeleton-sidebar .app-skeleton-shape{width:100%;height:38px}
.app-skeleton-sidebar .app-skeleton-shape:first-child{width:70%;height:48px;margin-bottom:30px}
.app-skeleton-content{padding:52px 35px}
.app-skeleton-heading{width:min(300px,55%);height:34px;margin-bottom:36px}
.app-skeleton-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}
.app-skeleton-metrics .app-skeleton-shape{height:112px;background-color:#fff}
.app-skeleton-calendar{width:100%;height:360px;background-color:#fff}
.admin-count-skeleton{width:94px;height:15px}
.admin-metric-line{width:80%;height:13px}
.admin-metric-value{width:45%;height:26px}
.admin-activity .admin-activity-skeleton{align-self:end;width:100%;height:35%;min-height:24px}
.admin-table-skeleton{display:grid;gap:14px;padding:22px}
.admin-table-skeleton .app-skeleton-shape{height:44px}
.stripe-form-skeleton{display:grid;gap:14px;padding:20px 0}
.stripe-form-skeleton .app-skeleton-shape{height:54px;width:100%}
.stripe-form-skeleton .app-skeleton-shape:first-child{width:72%;height:20px}
@media(max-width:760px){.app-initial-skeleton{grid-template-columns:68px minmax(0,1fr)}.app-skeleton-sidebar{padding:20px 9px}.app-skeleton-sidebar .app-skeleton-shape:first-child{width:100%;height:42px}.app-skeleton-content{padding:32px 16px}.app-skeleton-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.app-skeleton-metrics .app-skeleton-shape{height:78px}}
@media(prefers-reduced-motion:reduce){.app-skeleton-shape{animation:none}}

/* Keep the collapse control inside the navigation instead of overlapping its edge. */
@media(min-width:761px){.sidebar .sidebar-collapse{top:auto;right:14px;bottom:14px;width:34px;height:34px;border-color:#e2e2e2;background:#f6f6f6;box-shadow:none}.sidebar .sidebar-collapse:hover{background:#171717}.sidebar-collapsed .sidebar-collapse{top:auto;right:50%;bottom:12px;transform:translateX(50%)}}
.agenda-actions{display:flex;align-items:center;justify-content:space-between;margin:12px 0 20px}.agenda-actions h1{margin:0;font:700 24px/1.2 'Outfit',sans-serif;letter-spacing:-.04em;color:#171717}.day-calendar{grid-template-rows:55px;grid-auto-rows:74px}
.barber-filter-menu{position:relative}.barber-filter-trigger{height:36px;min-width:166px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #dadada;border-radius:999px;background:#fff;color:#545454;font-size:11px}.barber-filter-trigger>span{flex:1;white-space:nowrap}.barber-filter-trigger>svg:last-child{transform:rotate(90deg);transition:transform .16s ease}.barber-filter-menu.open .barber-filter-trigger>svg:last-child{transform:rotate(-90deg)}.barber-filter-menu>div{position:absolute;z-index:25;top:calc(100% + 7px);right:0;width:210px;padding:6px;border:1px solid #dddddd;border-radius:12px;background:#fff;box-shadow:0 16px 36px rgba(28,28,28,.12)}.barber-filter-menu>div button{width:100%;min-height:38px;display:flex;align-items:center;padding:7px 12px;border:0;border-radius:8px;background:transparent;color:#444444;text-align:left;font-size:12px}.barber-filter-menu>div button:hover{background:#f4f4f4}.barber-filter-menu>div button.selected{background:#eeeeee;color:#171717;font-weight:600}
@media(max-width:760px){.barber-filter-menu{flex:1}.barber-filter-trigger{width:100%;min-width:0}.barber-filter-menu>div{left:0;right:auto;width:min(230px,calc(100vw - 100px))}}

/* Align every management page title with the Agenda title row. */
@media(min-width:761px){.page-content{padding-left:20px;padding-right:20px}.page-heading{margin:12px 0 20px}.page-heading h1{margin:0;font:700 24px/1.2 'Outfit',sans-serif;letter-spacing:-.04em;color:#171717}.entity-panel{border-radius:0}}

/* Booking panel separates client identity from appointment details. */
.booking-panel{padding-bottom:0}.booking-panel-header{align-items:center}.booking-panel-header h2{margin:0;font:700 22px/1.2 'Outfit',sans-serif;letter-spacing:-.04em}.booking-panel .modal-subtitle{margin-top:7px}.booking-panel .booking-form{display:flex;min-height:calc(100dvh - 120px);flex-direction:column;gap:18px;padding-bottom:0}.booking-client-choice{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border:1px solid #dddddd;border-radius:12px;background:#f2f2f2}.booking-client-choice button{min-height:38px;border:0;border-radius:9px;background:transparent;color:#656565;font-size:12px;font-weight:600}.booking-client-choice button.selected{background:#fff;color:#171717;box-shadow:0 1px 4px rgba(20,20,20,.08)}.booking-client-choice button:disabled{opacity:.45;cursor:not-allowed}.booking-form-section{display:grid;grid-template-columns:minmax(0,1fr);gap:13px;padding-top:2px}.booking-form-section+.booking-form-section{padding-top:18px;border-top:1px solid #e6e6e6}.booking-form-section h3{margin:0;font:700 13px/1.3 'Outfit',sans-serif;color:#292929}.booking-panel-footer{position:sticky;bottom:0;z-index:3;margin-top:auto;margin-right:-27px;margin-left:-27px;padding:16px 27px 24px;border-top:1px solid #e6e6e6;background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}.booking-panel-footer .button{margin:0}
.booking-panel-footer .button-primary:disabled{border-color:var(--brand-primary);background:var(--brand-primary);color:var(--brand-on-primary);opacity:1;box-shadow:none;cursor:wait}
.booking-payment-choice{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;padding:0;border:0}.booking-payment-choice legend{grid-column:1/-1;margin:0 0 7px;color:#49454f;font-size:12px;font-weight:500}.booking-payment-choice label{position:relative;display:block}.booking-payment-choice input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.booking-payment-choice span{min-height:44px;display:flex;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #dedede;border-radius:8px;background:#fff;color:#545454;text-align:center;font-size:11px;font-weight:600;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.booking-payment-choice span:hover{border-color:#1d1b20}.booking-payment-choice input:checked+span{border-color:#1d1b20;background:#eeeeee;color:#171717}.booking-payment-choice input:focus-visible+span{border-color:#1d1b20;box-shadow:0 0 0 3px rgba(29,27,32,.16)}
.booking-payment-choice>.field-hint{grid-column:1/-1;margin:2px 0 0}
@media(max-width:520px){.booking-payment-choice{grid-template-columns:1fr}}
.booking-detail-panel{display:flex;min-height:100dvh;flex-direction:column}.booking-detail-panel .panel-header h2{margin:0;font:700 22px/1.2 'Outfit',sans-serif;letter-spacing:-.04em}.booking-detail-panel>.modal-subtitle{margin-top:7px}.booking-detail-content{display:grid;gap:0}.booking-detail-panel .detail-list{padding:18px 0}.booking-detail-panel .detail-list>div{font-size:12px}.booking-detail-footer{position:sticky;bottom:0;z-index:3;margin:auto -27px -24px;padding:16px 27px 24px;border-top:1px solid #e6e6e6;background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}.booking-detail-footer .modal-actions{margin:0}.booking-detail-footer .full-button{margin-top:0}
.booking-customer-comment{padding:16px 0;border-top:1px solid #e6e6e6}.booking-customer-comment strong{display:block;margin-bottom:7px;font-size:12px}.booking-customer-comment p{margin:0;color:#535353;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.service-icon-picker{min-width:0;margin:0;padding:0;border:0}.service-icon-picker legend{margin-bottom:10px;font-size:12px;font-weight:700}.service-icon-trigger{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:8px 12px;border:1px solid #dedede;border-radius:10px;background:#fff;color:var(--ink);text-align:left;cursor:pointer}.service-icon-trigger:hover{border-color:var(--brand-primary)}.service-icon-trigger:focus-visible{outline:3px solid #0969da;outline-offset:2px}.service-icon-trigger>.service-icon-preview{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:9px;background:color-mix(in srgb,var(--brand-primary) 10%,white);color:var(--brand-primary)}.service-icon-trigger-copy{display:grid;gap:3px;flex:1}.service-icon-trigger-copy strong{font-size:13px}.service-icon-trigger-copy small{color:var(--muted);font-size:11px}.service-icon-trigger>svg{flex:none;color:var(--muted)}.service-icon-dialog{width:min(520px,calc(100vw - 28px));max-width:none;max-height:min(80dvh,680px);padding:22px;border:1px solid #e5e5e5;border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 24px 70px #0003}.service-icon-dialog::backdrop{background:rgba(20,20,20,.52)}.service-icon-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.service-icon-dialog-heading h3{margin:0;font:700 21px/1.2 'Outfit',sans-serif}.service-icon-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.service-icon-option{display:flex;min-width:0;min-height:66px;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:7px 3px;border:1px solid #dedede;border-radius:10px;background:#fff;color:#4b4b4b;text-align:center;cursor:pointer}.service-icon-option small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.service-icon-option:hover{border-color:var(--brand-primary)}.service-icon-option[aria-pressed=true]{border-color:var(--brand-primary);background:color-mix(in srgb,var(--brand-primary) 9%,#fff);color:var(--brand-primary)}.service-icon-option:focus-visible{outline:3px solid #0969da;outline-offset:2px}@media(max-width:440px){.service-icon-dialog{padding:18px}.service-icon-options{grid-template-columns:repeat(4,minmax(0,1fr))}}
.service-icon-dialog{overflow-y:auto}.service-icon-search{display:block;margin-bottom:18px}.service-icon-search input{width:100%;min-height:42px;padding:9px 12px;border:1px solid #dedede;border-radius:10px;background:#fff;color:var(--ink);font:500 13px 'Outfit',sans-serif}.service-icon-search input:focus-visible{outline:3px solid #0969da;outline-offset:2px}.service-icon-groups{display:grid;gap:20px}.service-icon-group h4{margin:0 0 9px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.035em;text-transform:uppercase}.service-icon-option[hidden],.service-icon-group[hidden],.service-icon-empty[hidden]{display:none}.service-icon-empty{margin:4px 0;color:var(--muted);font-size:13px}
.service-icon-options{grid-template-columns:repeat(4,minmax(0,1fr))}.service-icon-option{min-height:74px}.service-icon-option small{white-space:normal;line-height:1.2}@media(max-width:440px){.service-icon-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
.service-icon-dialog .service-icon-search input{font-size:16px}
.service-icon-dialog .service-icon-option small,.service-icon-dialog .service-icon-group h4{font-size:12px}
.service-icon-trigger-copy small{font-size:12px}
.client-data-head{display:flex;align-items:center;justify-content:space-between;margin:19px 0 9px}.client-data-head h3{margin:0;font:700 11px/1.3 'Outfit',sans-serif;color:#292929}.client-contact-list{display:grid;gap:7px}.client-contact-list>a,.client-contact-list>div{min-height:48px;display:flex;align-items:center;gap:11px;padding:8px 11px;border:1px solid #e6e6e6;border-radius:9px;background:#f9f9f9;color:#585858;text-decoration:none}.client-contact-list svg{flex:none;color:#767676}.client-contact-list span{min-width:0}.client-contact-list small,.client-contact-list strong{display:block}.client-contact-list small{margin-bottom:3px;color:#8b8b8b;font-size:9px;font-weight:500}.client-contact-list strong{overflow:hidden;color:#343434;font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.client-contact-list>a:hover{border-color:#1d1b20;background:#fff}

/* Keep one 20px outer gutter around the navigation and page modules. */
@media(min-width:761px){.sidebar{inset:20px auto 20px 20px;width:224px}.workspace{margin-left:244px}.page-content{padding:20px}.sidebar-collapsed .sidebar{inset:20px auto 20px 20px;width:60px}.sidebar-collapsed .workspace{margin-left:80px}}
@media(min-width:761px) and (max-width:1100px){.sidebar{inset:20px auto 20px 20px;width:196px}.workspace{margin-left:216px}.sidebar-collapsed .sidebar{inset:20px auto 20px 20px;width:60px}.sidebar-collapsed .workspace{margin-left:80px}}

/* Material 3 outlined text fields for management forms. */
.md-outlined-field{position:relative;display:block!important;padding-top:8px;color:#49454f!important;font-size:14px!important;font-weight:400!important}
.md-outlined-field>.md-field-label{position:absolute;top:8px;left:12px;z-index:1;max-width:calc(100% - 24px);padding:0 4px;background:#fff;color:#49454f;font-size:12px;line-height:16px;letter-spacing:.4px;font-weight:400;transform:translateY(-50%);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;transition:color .15s ease}
.md-outlined-field>.md-field-label .optional{margin-left:4px;color:#79747e;font-size:11px;font-weight:400}
.md-outlined-field>input:where(:not([type=checkbox],[type=radio],[type=file],[type=color],[type=hidden])),.md-outlined-field>select,.md-outlined-field>textarea,.md-outlined-field>.md-prefix-shell{width:100%;min-width:0;height:48px!important;min-height:48px!important;margin:0;padding:0 12px!important;border:1px solid #dedede!important;border-radius:6px!important;outline:0!important;background:#fff!important;color:#1d1b20!important;font:400 14px/1.4 'Outfit',sans-serif!important;transition:border-color .15s ease,box-shadow .15s ease}
.md-outlined-field>select{-webkit-appearance:none;appearance:none;padding-right:42px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2349454f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;background-size:18px 18px!important}
.md-outlined-field>textarea{height:auto!important;min-height:96px!important;padding-top:20px!important;resize:vertical}
.md-outlined-field>input::placeholder,.md-outlined-field>textarea::placeholder{color:#79747e;opacity:1}
.md-outlined-field:hover>.md-prefix-shell:not(:has([aria-invalid=true])),
.md-outlined-field:hover>:is(input,select,textarea):where(:not(:disabled,[aria-invalid=true])),
.md-outlined-field:hover>:is(.md-select-shell,.md-date-shell)>button:where(:not(:disabled,[aria-invalid=true])){border-color:#1d1b20!important}
.md-outlined-field:focus-within>.md-field-label{color:#1d1b20}
.md-outlined-field>.md-prefix-shell:focus-within,.md-outlined-field>input:focus,.md-outlined-field>select:focus,.md-outlined-field>textarea:focus{border-color:#1d1b20!important;box-shadow:0 0 0 3px rgba(29,27,32,.16)!important}
.md-outlined-field.is-invalid,
.md-outlined-field:has(>[aria-invalid=true]){--field-error:#b3261e}
.md-outlined-field>.md-prefix-shell:has(>[aria-invalid=true]),
.md-outlined-field>:is(input,select,textarea)[aria-invalid=true],
.md-outlined-field :is(.md-select-trigger,.md-date-trigger)[aria-invalid=true]{border-color:var(--field-error)!important;box-shadow:none!important;caret-color:var(--field-error)}
.md-outlined-field:focus-within>.md-prefix-shell:has(>[aria-invalid=true]),
.md-outlined-field:focus-within>:is(input,select,textarea)[aria-invalid=true],
.md-outlined-field:focus-within :is(.md-select-trigger,.md-date-trigger)[aria-invalid=true]{box-shadow:inset 0 0 0 1px var(--field-error)!important}
.md-outlined-field.is-invalid>.md-field-label{color:var(--field-error)}
.md-outlined-field.is-invalid>.md-prefix-shell,.md-outlined-field.is-invalid>:is(input,textarea):not(.md-native-date){padding-inline-end:44px!important}
.md-outlined-field.is-invalid :is(.md-select-value,.md-date-value){padding-inline-end:28px}
.md-outlined-field>.md-field-error-icon{position:absolute;top:32px;right:12px;display:grid;width:18px;height:18px;place-items:center;transform:translateY(-50%);border-radius:50%;background:var(--field-error);color:white;font:700 13px/1 sans-serif;pointer-events:none}
.md-outlined-field:has(>.md-select-shell,>.md-date-shell)>.md-field-error-icon{top:29px;right:42px}
.weekly-pair .md-outlined-field>.md-field-error-icon{top:24px}
.md-outlined-field>.md-field-error{display:block;margin:4px 16px 0;color:var(--field-error);font-size:12px;font-weight:400;line-height:16px;letter-spacing:.4px}
.md-outlined-field>input:disabled,.md-outlined-field>select:disabled,.md-outlined-field>textarea:disabled{border-color:#c9c5ca!important;background:#f2f0f2!important;color:#79747e!important}
.md-outlined-field>small,.md-outlined-field>.field-hint{display:block;margin:6px 16px 0;line-height:1.4}
@media(max-width:760px){.md-outlined-field>input:where(:not([type=checkbox],[type=radio],[type=file],[type=color],[type=hidden])),.md-outlined-field>select,.md-outlined-field>textarea,.md-outlined-field>.md-prefix-shell{font-size:16px!important}}

.md-prefix-shell { display: flex; align-items: center; cursor: text; }
.md-prefix-shell > span { flex: none; color: #626772; white-space: nowrap; }
#shop-settings .md-prefix-shell > input {
  flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0;
  border: 0; outline: 0; box-shadow: none; background: transparent; color: inherit; font: inherit;
}

/* Custom select menu keeps combo boxes consistent across browsers. */
.md-outlined-field>.md-native-select{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important}
.md-select-shell{position:relative;width:100%}.md-select-trigger{width:100%;height:42px;display:flex;align-items:center;gap:10px;padding:0 14px 0 12px;border:1px solid #dedede;border-radius:6px;background:#fff;color:#1d1b20;text-align:left;font:400 14px/1.4 'Outfit',sans-serif;transition:border-color .15s ease,box-shadow .15s ease}.md-select-trigger:hover:where(:not(:disabled,[aria-invalid=true])){border-color:#1d1b20}.md-select-trigger:focus-visible,.md-select-shell.open>.md-select-trigger{border-color:#1d1b20;outline:0;box-shadow:0 0 0 3px rgba(29,27,32,.16)}.md-select-value{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.md-select-chevron{width:8px;height:8px;flex:none;margin-top:-3px;border-right:1.5px solid #49454f;border-bottom:1.5px solid #49454f;transform:rotate(45deg);transition:transform .15s ease}.md-select-shell.open .md-select-chevron{margin-top:4px;transform:rotate(225deg)}
.md-select-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:45;width:100%;max-height:280px;overflow:auto;padding:8px;border:1px solid #dddddd;border-radius:12px;background:#fff;box-shadow:0 14px 36px rgba(20,20,20,.12)}.md-select-menu[hidden]{display:none}.md-select-option{width:100%;min-height:48px;display:flex;align-items:center;padding:9px 16px;border:0;border-radius:9px;background:#fff;color:#444444;text-align:left;font:400 14px/1.35 'Outfit',sans-serif}.md-select-option:hover,.md-select-option:focus-visible{outline:0;background:#f4f4f4}.md-select-option.selected{background:#eeeeee;color:#171717;font-weight:600}.md-select-option:disabled{color:#a7a7a7;cursor:not-allowed}
@media(max-width:760px){.md-select-trigger,.md-select-option{font-size:16px}}

/* Custom date picker follows the same neutral interaction language. */
.md-outlined-field>.md-native-date{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important}.md-date-shell{position:relative;width:100%}.md-date-trigger{width:100%;height:42px;display:flex;align-items:center;gap:10px;padding:0 14px 0 12px;border:1px solid #dedede;border-radius:6px;background:#fff;color:#1d1b20;text-align:left;font:400 14px/1.4 'Outfit',sans-serif;user-select:none;transition:border-color .15s ease,box-shadow .15s ease}.md-date-trigger::selection,.md-date-value::selection{background:transparent;color:inherit}.md-date-trigger:hover:where(:not(:disabled,[aria-invalid=true])){border-color:#1d1b20}.md-date-trigger:focus-visible,.md-date-shell.open>.md-date-trigger{border-color:#1d1b20;outline:0;box-shadow:0 0 0 3px rgba(29,27,32,.16)}.md-date-value{min-width:0;flex:1}.md-date-icon{position:relative;width:15px;height:15px;flex:none;border:1.6px solid #49454f;border-radius:2px}.md-date-icon::before{content:"";position:absolute;left:-1.6px;right:-1.6px;top:3px;border-top:1.6px solid #49454f}.md-date-icon::after{content:"";position:absolute;left:3px;right:3px;top:-3px;height:4px;border-right:1.6px solid #49454f;border-left:1.6px solid #49454f}
.md-date-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:46;width:300px;max-width:calc(100vw - 40px);padding:12px;border:1px solid #dddddd;border-radius:12px;background:#fff;box-shadow:0 14px 36px rgba(20,20,20,.12)}.md-date-menu[hidden]{display:none}.md-date-header{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 4px 6px}.md-date-month{text-transform:capitalize;font-size:14px}.md-date-header>span{display:flex;gap:4px}.md-date-header button{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent}.md-date-header button:hover,.md-date-header button:focus-visible{outline:0;background:#f4f4f4}.md-date-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.md-date-weekday{height:28px;display:grid;place-items:center;color:#767676;font-size:11px;font-weight:600}.md-date-day{aspect-ratio:1;border:0;border-radius:50%;background:transparent;color:#333333;font-size:12px}.md-date-day:hover,.md-date-day:focus-visible{outline:0;background:#f4f4f4}.md-date-day.outside{color:#a7a7a7}.md-date-day.today{box-shadow:inset 0 0 0 1px #a7a7a7}.md-date-day.selected{background:#171717;color:#fff;font-weight:700;box-shadow:none}.md-date-footer{display:flex;justify-content:flex-end;padding-top:8px}.md-date-footer button{min-height:32px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:#333333;font-size:12px;font-weight:600}.md-date-footer button:hover,.md-date-footer button:focus-visible{outline:0;background:#f4f4f4}
@media(max-width:760px){.md-date-trigger{font-size:16px}.md-date-menu{right:0;left:auto}}

/* Shared, readable side-panel language. */
.standard-panel,.client-profile-panel{display:flex;min-height:100dvh;flex-direction:column;font-size:14px}
.standard-panel:has(>form[data-entity="service"]),.standard-panel>form[data-entity="service"]{scroll-padding-bottom:128px}
.standard-panel>.panel-header h2,.client-profile-panel>.panel-header h2{margin:0;font:700 22px/1.2 'Outfit',sans-serif;letter-spacing:-.04em;color:#171717}
.standard-panel>.modal-subtitle{margin:7px 0 22px;font-size:13px;line-height:1.5}
.standard-panel form{display:flex;min-height:calc(100dvh - 115px);flex-direction:column;gap:16px;padding-bottom:0;scroll-padding-bottom:112px}
.standard-panel form>*:nth-last-child(2){margin-bottom:96px}
.standard-panel-footer{position:sticky;bottom:0;z-index:3;margin-top:auto;margin-right:-27px;margin-left:-27px;padding:16px 27px 24px;border-top:1px solid #e6e6e6;background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}
.standard-panel-footer .button{min-height:48px;margin:0;font-size:14px}
.client-profile-panel .client-profile-head{margin:24px 0 18px}
.client-profile-panel .client-profile-head h3{margin:0;font:700 20px/1.25 'Outfit',sans-serif;letter-spacing:-.03em;color:#171717}
.client-profile-panel .client-profile-head p{margin:6px 0 0;font-size:12px;line-height:1.45}
.client-profile-panel .client-data-head h3,.client-profile-panel .panel-section-title h3{font-size:14px}
.client-profile-panel .text-button{min-height:40px;font-size:13px}
.client-profile-panel .client-contact-list small{font-size:12px}
.client-profile-panel .client-contact-list strong{font-size:14px}
.client-profile-panel .client-metrics strong{font-size:18px}
.client-profile-panel .client-metrics small,.client-profile-panel .notes-copy,.client-profile-panel .history-item small,.client-profile-panel .history-status,.client-profile-panel .panel-section-title>span{font-size:12px}
.client-profile-panel .history-item strong{font-size:14px}
.client-profile-panel>.full-button{min-height:48px;font-size:14px}
.service-actions-cell .icon-button{margin-left:auto}
.category-picker{margin:0;padding:0;border:0}.category-picker legend{margin-bottom:4px;color:#49454f;font-size:14px;font-weight:500}.category-picker>.field-hint{margin:0 0 10px;font-size:12px}.category-picker>.category-options{display:flex;flex-wrap:wrap;gap:8px}.category-picker label{position:relative}.category-picker input{position:absolute;width:1px!important;height:1px!important;min-height:0!important;clip-path:inset(50%);opacity:0}.category-picker span{min-height:38px;display:flex;align-items:center;padding:8px 13px;border:1px solid #dedede;border-radius:999px;background:#fff;color:#545454;font-size:13px;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease}.category-picker span:hover{border-color:#1d1b20}.category-picker input:checked+span{border-color:#1d1b20;background:#eeeeee;color:#171717;font-weight:600}.category-picker input:focus-visible+span{outline:3px solid rgba(29,27,32,.16);outline-offset:2px}
.category-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}.category-picker-heading strong{color:#49454f;font-size:14px;font-weight:500}.category-picker-heading button{display:inline-flex;align-items:center;gap:2px;padding:3px 0;border:0;background:transparent;color:var(--brand-primary);font-size:12px;font-weight:700;cursor:pointer}.category-picker-heading button:hover{text-decoration:underline}.category-picker-heading button:focus-visible{outline:2px solid var(--brand-primary);outline-offset:3px}.category-manager-backdrop,.category-manager{animation:none}.category-manager-list{display:grid;border:1px solid var(--line);border-radius:12px;overflow:hidden}.category-manager-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:68px;padding:12px 16px}.category-manager-row+.category-manager-row{border-top:1px solid var(--line)}.category-manager-row strong,.category-manager-row small{display:block}.category-manager-row strong{font-size:14px}.category-manager-row small{margin-top:3px;color:var(--muted);font-size:12px}.category-manager-row .button{min-height:34px;padding:0 12px;font-size:12px}.category-confirm-backdrop{position:fixed;inset:0;z-index:25;display:grid;place-items:center;padding:18px;background:rgba(20,20,20,.48)}.category-confirm-modal{width:min(100%,440px);padding:24px;border:1px solid #e5e5e5;border-radius:18px;background:#fff;box-shadow:0 24px 70px #0003}.category-confirm-modal h2{margin:0;color:var(--ink);font:700 22px/1.2 'Outfit',sans-serif}.category-confirm-modal>p{margin:12px 0 20px;color:var(--muted);font-size:14px;line-height:1.5}.category-confirm-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.category-confirm-actions .button{min-height:42px;font-size:13px}

.client-nested-panel{width:min(100%,440px)}
.nested-panel-title{min-width:0;display:flex;align-items:center;gap:8px}.nested-panel-title>.icon-button{flex:none;margin-left:-7px}.nested-panel-title h2{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.client-profile-footer{position:sticky;bottom:-22px;z-index:3;margin-top:auto;margin-right:-24px;margin-bottom:-22px;margin-left:-24px;padding:16px 24px 22px;border-top:1px solid #e6e6e6;background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}
.client-profile-footer .button{min-height:48px;margin:0;font-size:14px}
/* Visual team profiles keep the card focused on identity. */
.team-profile-grid{grid-template-columns:repeat(auto-fill,minmax(210px,260px));gap:16px}.team-profile-card{padding:0;overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.team-profile-card:hover{border-color:#c7c7c7;box-shadow:0 12px 28px rgba(28,28,28,.08);transform:translateY(-2px)}.team-profile-card:focus-within{border-color:#1d1b20;box-shadow:0 0 0 3px rgba(29,27,32,.14)}.team-profile-card.inactive{opacity:.6}.team-profile-action{width:100%;min-height:220px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;padding:24px;border:0;background:#fff;color:#171717;cursor:pointer}.team-profile-action:focus-visible{outline:0}.team-profile-photo{width:104px;height:104px;border-radius:22px;font-size:24px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.team-profile-photo img{width:100%;height:100%;object-fit:cover}.team-profile-copy{display:grid;gap:5px;text-align:center}.team-profile-copy strong{font:700 17px/1.25 'Outfit',sans-serif;letter-spacing:-.025em}.team-profile-copy>span{color:#737373;font-size:13px}
@media(max-width:760px){.team-profile-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}.team-profile-action{min-height:200px;padding:20px}.team-profile-photo{width:88px;height:88px}}
/* Thirty-minute calendar rhythm in both views. */
:root{--calendar-slot-height:44px}.day-calendar{grid-template-rows:55px;grid-auto-rows:var(--calendar-slot-height)}.time-cell,.slot-cell{height:var(--calendar-slot-height)}.time-cell{display:flex;align-items:flex-start;justify-content:center;padding-top:0;transform:translateY(-6px)}.time-cell::after{top:6px}.slot-cell{padding:2px 5px}.slot-cell-booked,.week-slot-booked{overflow:visible}.slot-cell-occupied,.week-slot-occupied{background:#f9f9f9}.booking-block{height:calc(var(--booking-span,1) * var(--calendar-slot-height) - 4px);min-height:calc(var(--calendar-slot-height) - 4px);padding:5px 8px 5px 10px}.week-body{height:auto}.week-times>div,.week-slot{height:var(--calendar-slot-height)}.week-times>div{display:flex;align-items:flex-start;justify-content:center;padding-top:0;transform:translateY(-6px)}.week-slot{position:relative;padding:2px}.week-event{position:relative;z-index:2;height:calc(var(--event-span,1) * var(--calendar-slot-height) - 4px);min-height:calc(var(--calendar-slot-height) - 4px);padding:4px 6px}.week-slot.has-multiple{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:2px}.week-slot.has-multiple .week-event{min-width:0}.week-event:hover{z-index:4;box-shadow:0 4px 10px rgba(20,20,20,.12)}
.day-calendar>.time-head{height:100%;border-bottom:0}
.booking-block,.week-event{justify-content:center}.calendar-booking-summary{width:100%;min-width:0;display:flex;align-items:stretch;flex-direction:column;justify-content:center;gap:4px}.calendar-booking-summary>strong{width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-booking-meta{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px}.calendar-booking-barber{min-width:0;display:flex;align-items:center;gap:5px;color:#3f413e;font-size:12px;line-height:1.15;font-weight:400}.calendar-booking-barber>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.booking-barber-avatar{width:16px;height:16px;font-size:6px}.calendar-booking-meta>time{flex:none;color:#555752;font-size:10px;line-height:1;font-weight:400}.week-event .calendar-booking-summary>strong{font-size:9px}.week-event .calendar-booking-barber{font-size:9px}.week-event .calendar-booking-meta>time{font-size:8px}.week-event .booking-barber-avatar{width:12px;height:12px;font-size:4px}
.client-metric-row{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){.client-metric-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.client-metric-row{grid-template-columns:1fr}}

/* Horizontal identity cards for the team. */
.page-content{container-type:inline-size}.team-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.team-profile-action{min-height:144px;align-items:stretch;justify-content:flex-start;flex-direction:row;gap:18px;padding:22px;text-align:left}.team-profile-photo{width:92px;height:auto;min-height:92px;align-self:stretch;border-radius:12px;font-size:20px}.team-profile-copy{min-width:0;align-self:center;text-align:left}.team-profile-copy strong{font-size:17px;overflow-wrap:anywhere}.team-profile-copy>span{font-size:13px}.team-profile-copy .team-profile-meta{display:flex;align-items:flex-start;gap:7px;margin-top:7px;color:#6e6e6e;font-size:12px;line-height:1.35;font-weight:500;overflow-wrap:anywhere}.team-profile-meta+.team-profile-meta{margin-top:5px}.team-profile-meta svg{flex:none;margin-top:1px;color:#171717}.team-profile-copy .team-profile-inactive{display:block;margin-top:7px;color:#8a3d38;font-size:12px;font-weight:600}
@container (max-width:1010px){.team-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width:650px){.team-profile-grid{grid-template-columns:1fr}.team-profile-action{min-height:112px;padding:18px}.team-profile-photo{width:82px;height:auto;min-height:82px}}

/* Booking notifications live beside the account control and open as a side panel. */
.notifications-trigger{position:relative;width:42px;height:42px;display:grid;place-items:center;border:1px solid transparent;border-radius:50%;background:transparent;color:#3c3c3c;cursor:pointer}.notifications-trigger:hover,.notifications-trigger[aria-expanded="true"]{border-color:#dddddd;background:#fff}.notifications-badge{position:absolute;top:-2px;right:-2px;min-width:19px;height:19px;display:grid;place-items:center;padding:0 5px;border:2px solid var(--canvas);border-radius:999px;background:#d92d20;color:#fff;font-size:10px;font-weight:700}.notifications-panel{display:flex;flex-direction:column;padding:0;overflow:hidden}.notifications-panel .panel-header{flex:none;padding:22px 24px;border-bottom:1px solid #e7e7e7}.notifications-panel .panel-header h2{display:flex;align-items:center;gap:9px;margin:0;font:700 22px/1.25 'Outfit',sans-serif}.notifications-title-count{min-width:22px;height:22px;display:inline-grid;place-items:center;padding:0 6px;border-radius:999px;background:#d92d20;color:#fff;font:700 11px/1 'Outfit',sans-serif}.notifications-read-all{align-self:flex-end;margin:13px 24px 5px}.notifications-list{flex:1;min-height:0;overflow:auto}.notification-item{position:relative;width:100%;min-height:88px;display:grid;grid-template-columns:8px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:14px 24px;border:0;border-bottom:1px solid #eeeeee;background:#fff;text-align:left}.notification-item:hover,.notification-item:focus-visible{background:#f7f7f7}.notification-item>span:nth-child(2){min-width:0}.notification-item strong,.notification-item small,.notification-item time{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notification-item strong{color:#252525;font-size:14px}.notification-item small{margin-top:4px;color:#616161;font-size:12px}.notification-item time{margin-top:5px;color:#767676;font-size:12px}.notification-item>svg{color:#767676}.notification-dot{width:8px;height:8px;border-radius:50%;background:#d2d2d2}.notification-item.unread .notification-dot{background:var(--brand-primary)}.notification-item.unread strong{font-weight:700}.notifications-empty{margin:0;padding:32px 24px;color:#616161;text-align:center;font-size:14px}.notifications-panel-footer{flex:none;padding:16px 24px 20px;border-top:1px solid #e7e7e7;background:#fff}.notifications-panel-footer .button{margin:0}
@media(max-width:760px){.notifications-trigger{width:40px;height:40px}.account-menu summary>span:last-child{display:none}}
/* Keep the collapsed navigation aligned to the sidebar's visual centre. */
.sidebar-collapsed .sidebar{align-items:center;padding-inline:7px}.sidebar-collapsed .sidebar>.brand,.sidebar-collapsed .main-nav{width:100%}.sidebar-collapsed .main-nav{justify-items:center}.sidebar-collapsed .nav-item{width:100%;max-width:44px;margin-inline:0;justify-content:center;justify-self:center}
.calendar-tooltip-popover{position:fixed;z-index:1000;width:max-content;max-width:min(270px,calc(100vw - 16px));display:grid;gap:3px;padding:10px 12px;border-radius:8px;background:#171717;color:#fff;text-align:left;box-shadow:0 8px 24px rgba(0,0,0,.22);pointer-events:none}.calendar-tooltip-popover strong{font:700 12px/1.3 'Outfit',sans-serif}.calendar-tooltip-popover span{color:#d8d8d8;font-size:10px;line-height:1.35}.calendar-tooltip-popover span:nth-of-type(1){color:#fff;font-weight:600}
.service-checks .service-history-locked{cursor:help}
.service-checks .service-history-locked:focus-visible{outline:3px solid color-mix(in srgb,var(--brand-primary) 30%,transparent);outline-offset:2px}
.service-history-tooltip-popover{position:fixed;z-index:1000;width:max-content;max-width:min(300px,calc(100vw - 16px));padding:10px 12px;border-radius:8px;background:#171717;color:#fff;font:400 12px/1.4 'Outfit',sans-serif;text-align:left;box-shadow:0 8px 24px rgba(0,0,0,.22);pointer-events:none}

/* Settings use one clear save action and consistent content rhythm. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.settings-page-heading{align-items:center}.settings-page-heading>div{min-width:0}.settings-page-heading .heading-note{margin-top:7px}.settings-layout{grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);gap:18px}.settings-primary-card{gap:0;padding:0;overflow:hidden}.settings-card-header{display:grid;gap:5px;padding:22px 24px;border-bottom:1px solid #e6e6e6}.settings-card-header .eyebrow{margin:0}.settings-card-header h2{margin:0}.settings-card-header p:not(.eyebrow),.settings-section-heading p{margin:0;color:#717171;font-size:12px;line-height:1.55}.settings-section{display:grid;gap:16px;padding:24px}.settings-section+.settings-section{border-top:1px solid #e6e6e6}.settings-section-heading{display:grid;gap:5px;margin-bottom:2px}.settings-section-heading h3{margin:0;color:#292929;font:700 14px/1.35 'Outfit',sans-serif}.settings-section .day-picker{margin:0}.settings-section .day-picker>div{margin-top:0}.settings-primary-card>#settings-feedback{margin:0;padding:0 24px 22px}.settings-side{gap:18px}.settings-side .settings-card{gap:14px;padding:20px}.settings-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.notification-settings-card #notification-settings{display:grid;gap:14px}.notification-settings-card .notification-options{margin:4px 0 0}.notification-settings-card #notification-feedback:empty{display:none}
.settings-closure-card .button{justify-self:start}.settings-closure-card .settings-closure-contact{margin-top:0}.settings-closure-contact a{color:var(--brand-primary);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.settings-closure-card>p:not(.eyebrow){color:#555962;font-size:12px;line-height:1.55}.settings-closure-card .text-button{justify-self:start;font-size:12px}.shop-closure-modal{width:min(100%,500px)}.shop-closure-modal .modal-subtitle{font-size:13px;line-height:1.55}.shop-closure-modal form{margin-top:18px}.shop-closure-modal form>label{font-size:13px}.shop-closure-modal form>label strong{font-weight:700;color:#292929}.shop-closure-modal input[name="confirmName"]{height:44px;font-size:14px}.shop-closure-modal .modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.shop-closure-modal .modal-actions .button{margin:0}.shop-closure-modal .button-danger:disabled{opacity:.55;cursor:not-allowed}.shop-closure-modal .shop-closure-feedback:empty{display:none}.shop-closure-preview-note{padding:10px 12px;border-radius:8px;background:#f2f2f5;color:#4e5057;font-size:12px;line-height:1.45}.shop-closure-export-link{margin-top:4px}.shop-closure-export-note{margin:6px 0 0;color:#555962;font-size:12px;line-height:1.45}.shop-closure-export-note a{color:#3900f2;text-decoration:underline;text-underline-offset:2px}.shop-closure-success{gap:4px}.shop-closure-success p{max-width:540px;margin:5px 0;color:#555962;font-size:14px}.shop-closure-success p+p{margin-bottom:17px}.shop-closure-success p a{color:#3900f2;text-decoration:underline;text-underline-offset:2px}
@media(max-width:520px){.shop-closure-modal .modal-actions{grid-template-columns:1fr}.shop-closure-modal .modal-actions .button{width:100%}}
.settings-card .settings-index-control{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #dedede;border-radius:12px;background:#f9f9f9;color:#292929;cursor:pointer}.settings-card .settings-index-control:focus-within{border-color:var(--brand-primary)}.settings-index-control span{display:grid;gap:6px}.settings-card .settings-index-control strong{font:700 14px/1.35 'Outfit',sans-serif}.settings-card .settings-index-control small{color:#646464;font:400 13px/1.5 'Outfit',sans-serif}

/* Shared image picker for logo, favicon and social image. */
.settings-upload{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:14px;padding:13px;border:1px solid #dedede;border-radius:12px;background:#f9f9f9}.settings-upload-preview{width:76px;height:76px;display:grid;place-items:center;overflow:hidden;border:1px dashed #cfcfcf;border-radius:10px;background:#fff;color:#838383;text-align:center;font-size:10px;line-height:1.25}.settings-upload-preview img{width:100%;height:100%;object-fit:contain}.settings-upload-content{min-width:0;display:grid;justify-items:start;gap:7px}.settings-upload-label{color:#353535;font-size:12px;font-weight:700}.settings-upload-control{position:relative;width:100%}.settings-upload-control input[type=file]{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;opacity:0;overflow:hidden;pointer-events:none}.settings-upload-picker{width:100%;min-width:0;display:flex;align-items:center;gap:10px;cursor:pointer}.settings-upload-picker .button{min-height:34px;padding:7px 12px;white-space:nowrap;pointer-events:none}.settings-upload-picker>span:last-child{min-width:0;overflow:hidden;color:#646464;font-size:11px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.settings-upload-control:focus-within .settings-upload-picker .button{outline:3px solid rgba(29,27,32,.16);outline-offset:2px}.settings-upload-content>small{color:#717171;font-size:10px;line-height:1.45}.settings-upload-content .text-button:disabled{opacity:.45;cursor:not-allowed}

@media(max-width:980px){.settings-layout{grid-template-columns:1fr}.settings-side{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-side .notification-settings-card,.settings-side .payment-settings-card{grid-column:span 2}}
@media(max-width:650px){.settings-card-header,.settings-section{padding:19px 16px}.settings-primary-card>#settings-feedback{padding-inline:16px}.settings-side{grid-template-columns:1fr}.settings-side .notification-settings-card,.settings-side .payment-settings-card{grid-column:auto}.settings-upload{grid-template-columns:62px minmax(0,1fr)}.settings-upload-preview{width:62px;height:62px}.settings-upload-picker{align-items:flex-start;flex-direction:column;gap:6px}}

/* Back-office accessibility baseline: readable type, strong contrast and clear keyboard focus. */
:root{--muted:#646464;--accessible-focus:#175cd3}
body{font-size:14px;color:#232323}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--accessible-focus);outline-offset:2px}
.icon-button{width:40px;height:40px}.text-button{min-height:40px;padding-inline:6px}.button{min-height:44px;font-size:14px}
.metric-card>small,.agenda-team-kpi>span small,.calendar-title p,.staff-head small,.table-toolbar p,.table-foot,.field-hint,.modal-subtitle{font-size:12px;color:#646464}
.metric-label,.agenda-team-kpi>span strong,.staff-head strong,.searchbox input,td,.customer-cell strong,.service-name strong{font-size:14px}
th{font-size:12px;color:#5d5d5d}.customer-cell small{font-size:13px;color:#646464}.status-pill{font-size:12px}.settings-card label,.standard-panel label,.booking-form label{font-size:14px}.settings-card input,.settings-card textarea,.settings-card select,.standard-panel input,.standard-panel textarea,.standard-panel select{font-size:14px}
.time-cell{font-size:11px;color:#646464}.calendar-legend{font-size:12px}.legend-dot{width:9px;height:9px}.history-status{font-weight:700}.history-status::before{content:"•";margin-right:5px}
.history-section-title h3{display:flex;align-items:center;gap:8px}.history-count{min-width:22px;height:22px;display:inline-grid;place-items:center;padding:0 6px;border-radius:999px;background:var(--brand-primary);color:var(--brand-on-primary);font:700 11px/1 'Outfit',sans-serif}
.client-nested-panel>.modal-subtitle{margin-left:41px;text-align:left}
.notifications-badge{top:0;right:1px}

/* Weekly agenda keeps every booking readable, including parallel appointments. */
.day-calendar .slot-cell-booked{z-index:1}.day-calendar .slot-cell-booked .booking-block{position:absolute;top:calc(var(--booking-offset,0%) + 2px);left:5px;width:calc(100% - 10px);height:calc(var(--booking-duration,100%) - 4px);min-height:0}
.day-calendar .booking-block.is-short{padding-block:2px}.day-calendar .booking-block.is-short .calendar-booking-summary{flex-direction:row;align-items:center;gap:5px}.day-calendar .booking-block.is-short .calendar-booking-summary>strong{width:auto;flex:1}.day-calendar .booking-block.is-short .calendar-booking-barber{display:none}.day-calendar .booking-block.is-short .calendar-booking-meta{flex:none}
.week-calendar{--week-slot-height:80px}.week-times{height:calc(var(--week-slot-count) * var(--week-slot-height));background:#fff;border-right:1px solid #ebebeb}.week-times>div{height:var(--week-slot-height);font-size:12px;line-height:1.2;color:#686868;transform:translateY(-6px)}
.week-column{position:relative;height:calc(var(--week-slot-count) * var(--week-slot-height));border-left:1px solid #ebebeb;background:#fff}.week-slot-layer{position:absolute;inset:0;display:grid;grid-template-rows:repeat(var(--week-slot-count),var(--week-slot-height))}.week-slot{height:var(--week-slot-height);border-color:#ebebeb}.week-slot-occupied{background:#f9f9f9}
.week-event{position:absolute;top:calc(var(--event-top) + 2px);left:calc(var(--event-left) + 2px);width:calc(var(--event-width) - 4px);height:calc(var(--event-height) - 4px);min-height:0;z-index:2;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:3px;padding:6px 7px;border:1px solid color-mix(in srgb,var(--event-color) 30%,white);border-left:3px solid var(--event-color);border-radius:7px;background:color-mix(in srgb,var(--event-color) 9%,white);color:#232323;text-align:left;overflow:hidden}
.week-event:hover,.week-event:focus-visible{z-index:5;box-shadow:0 4px 12px rgba(20,20,20,.18);background:color-mix(in srgb,var(--event-color) 15%,white)}
.week-event time{display:block;flex:none;font-size:12px;line-height:1.15;font-weight:700;white-space:nowrap}.week-event strong{display:block;width:100%;font-size:12px;line-height:1.2;color:#232323;white-space:normal;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.week-event-service{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#4d4d4d;font-size:12px;line-height:1.2}.week-event-professional{display:flex;align-items:center;gap:4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#646464;font-size:12px;line-height:1.2}.week-event-professional .booking-barber-avatar{width:16px;height:16px;font-size:6px}.week-event-status{display:inline-block;max-width:100%;padding:2px 5px;border-radius:4px;background:#eaf0ff;color:#385ec2;font-size:12px;line-height:1.1;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.week-event-status.concluida{background:#e7f4ed;color:#278056}.week-event-status.aguardar_pagamento{background:color-mix(in srgb,var(--brand-primary) 12%,white);color:var(--brand-primary)}.week-event-status.falta{background:#fff0e7;color:#a34b16}
.week-event.compact{gap:1px;padding:4px 5px}.week-event.compact strong{font-size:12px;-webkit-line-clamp:1}.week-event.compact .week-event-service,.week-event.compact .week-event-professional,.week-event.compact .week-event-status{display:none}.week-event.dense{padding-inline:5px}.week-day,.week-column{scroll-snap-align:start}
/* The weekly view displays all seven dates together, with overlaps in separate lanes. */
.week-calendar{max-height:760px;overflow-y:auto;overflow-x:hidden;background:#fff}
.week-day-strip,.week-grid{width:100%;min-width:0;display:grid;grid-template-columns:64px repeat(7,minmax(0,1fr))}
.week-day-strip{position:sticky;top:0;z-index:6;height:76px;background:#fff}
.week-time-head{border-right:1px solid #ebebeb;border-bottom:1px solid #ebebeb;background:#fff}
.week-day{height:76px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:7px 8px;border:0;border-left:1px solid #ebebeb;border-bottom:1px solid #ebebeb;background:#fff;text-align:left}
.week-day.today{background:color-mix(in srgb,var(--brand-primary) 7%,white)}.week-day.today strong{border-radius:50%;background:var(--brand-primary);color:var(--brand-on-primary)}
.week-day>span:first-child{display:flex;align-items:center;gap:5px;min-width:0}
.week-day small{font-size:12px;font-weight:600;white-space:nowrap}.week-day strong{width:25px;height:25px;font-size:13px}.week-day-count{font-size:12px;line-height:1.2;white-space:nowrap}
.week-grid{height:auto;align-items:start;overflow:visible}
.week-grid .week-times{position:relative;left:auto;height:calc(var(--week-slot-count) * var(--week-slot-height))}
.week-grid .week-times>div:first-child{transform:none;padding-top:6px}
.week-grid .week-column{min-width:0;height:calc(var(--week-slot-count) * var(--week-slot-height));border-left:1px solid #ebebeb}
.week-event{min-width:0}.week-event.compact{padding:4px 5px;gap:2px}.week-event.compact time{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.week-event.compact strong{font-size:12px;line-height:1.15}
.week-event.overlap{padding-inline:4px}.week-event.overlap time{font-size:12px}.week-event.overlap strong{font-size:12px}
.week-mobile-day-heading,.week-mobile-events{display:none}
/* Below 1200px, a seven-column grid would leave too little room for parallel bookings. */
@media(max-width:1200px){
  .calendar-card .week-calendar{max-height:none;overflow:visible;scroll-snap-type:none}
  .week-day-strip,.week-grid>.week-times,.week-column>.week-slot-layer,.week-column>.week-event{display:none}
  .week-grid{display:block}
  .week-grid .week-column{height:auto;min-height:0;border:0;border-bottom:1px solid #ebebeb;background:#fff}
  .week-mobile-day-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px 9px}
  .week-mobile-day-heading h3{margin:0;font-size:14px;line-height:1.25;text-transform:capitalize}
  .week-mobile-day-heading span{flex:none;color:#646464;font-size:12px}
  .week-mobile-events{display:grid;gap:8px;padding:0 16px 16px}
  .week-mobile-events>p{margin:0;padding:8px 0 4px;color:#646464;font-size:12px}
  .week-mobile-group{position:relative;min-height:20px}
  .week-mobile-event{position:absolute;top:calc(var(--mobile-top) + 2px);left:calc(var(--mobile-left) + 2px);width:calc(var(--mobile-width) - 4px);height:calc(var(--mobile-height) - 4px);min-width:0;min-height:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:6px;border:1px solid color-mix(in srgb,var(--event-color) 30%,white);border-left:3px solid var(--event-color);border-radius:8px;background:color-mix(in srgb,var(--event-color) 9%,white);text-align:left;overflow:hidden}
  .week-mobile-event:hover,.week-mobile-event:focus-visible{background:color-mix(in srgb,var(--event-color) 15%,white);box-shadow:0 3px 9px rgba(20,20,20,.12)}
  .week-mobile-event time{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}
  .week-mobile-event strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.2}
  .week-mobile-event .week-event-service,.week-mobile-event .week-event-professional{font-size:12px;line-height:1.2}
  .week-mobile-event .week-event-status{font-size:12px}
  .week-mobile-event.compact{gap:2px;padding:4px}.week-mobile-event.compact .week-event-service,.week-mobile-event.compact .week-event-professional,.week-mobile-event.compact .week-event-status{display:none}
  .week-mobile-event.tiny{padding:1px 3px;border-radius:4px}.week-mobile-event.tiny strong,.week-mobile-event.tiny .week-event-service,.week-mobile-event.tiny .week-event-professional,.week-mobile-event.tiny .week-event-status{display:none}
}
@media(max-width:420px){.week-mobile-day-heading{padding-inline:12px}.week-mobile-events{padding-inline:12px}.week-mobile-event{padding:5px}.week-mobile-event.compact{padding:3px}.week-mobile-event .week-event-professional{display:none}}
/* Month calendar provides a compact overview while preserving access to each booking. */
.month-calendar{overflow:auto}.month-weekdays,.month-grid{min-width:760px;display:grid;grid-template-columns:repeat(7,minmax(105px,1fr))}.month-weekdays{border-bottom:1px solid #e6e6e6;background:#f7f7f7}.month-weekdays span{min-height:42px;display:grid;place-items:center;color:#5d5d5d;font-size:12px;font-weight:700}.month-day{min-height:128px;padding:7px;border:0;border-right:1px solid #ebebeb;border-bottom:1px solid #ebebeb;background:#fff}.month-day:nth-child(7n){border-right:0}.month-day.outside{background:#f9f9f9}.month-day.outside .month-day-number{color:#979797}.month-day-number{width:32px;height:32px;display:grid;place-items:center;margin:0 0 4px auto;border:0;border-radius:50%;background:transparent;color:#333333;font-size:13px}.month-day-number:hover{background:#eeeeee}.month-day.today .month-day-number{background:#171717;color:#fff;font-weight:700}.month-events{display:grid;gap:4px}.month-event{width:100%;min-height:28px;display:flex;align-items:center;gap:6px;padding:4px 7px;border:0;border-left:3px solid var(--event-color);border-radius:6px;background:color-mix(in srgb,var(--event-color) 8%,white);text-align:left}.month-event time{flex:none;color:#535353;font-size:11px}.month-event strong{min-width:0;overflow:hidden;color:#282828;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.month-more{min-height:28px;padding:3px 7px;border:0;background:transparent;color:#315dc8;text-align:left;font-size:11px;font-weight:700}
@media(max-width:760px){.month-weekdays,.month-grid{min-width:700px}.month-day{min-height:112px}.icon-button{min-width:44px;min-height:44px}}

/* Shared form controls */
.barber-settings-upload{margin:3px 0 12px}.barber-settings-upload .settings-upload-preview img{object-fit:cover}
.app-shell input[type="checkbox"],.app-shell input[type="radio"]{accent-color:var(--brand-primary)}
:root{--backoffice-checkbox-size:20px}
.app-shell .settings-index-control input[type="checkbox"],.app-shell .check-row input[type="checkbox"],.app-shell .notification-options input[type="checkbox"],.platform-shell input[type="checkbox"]{box-sizing:border-box;flex:0 0 var(--backoffice-checkbox-size);width:var(--backoffice-checkbox-size);min-width:var(--backoffice-checkbox-size);max-width:var(--backoffice-checkbox-size);height:var(--backoffice-checkbox-size);min-height:var(--backoffice-checkbox-size);max-height:var(--backoffice-checkbox-size);margin:0;padding:0;border-radius:4px}
.app-shell .settings-index-control input[type="checkbox"]{margin-top:1px}
.platform-shell input[type="checkbox"]{accent-color:var(--admin-blue,#3900f2)}
.app-shell .category-picker input:checked+span,.app-shell .day-picker input:checked+span,.app-shell .booking-payment-choice input:checked+span{border-color:var(--brand-primary);background:var(--brand-primary);color:var(--brand-on-primary)}
.app-shell .booking-client-choice button.selected{background:var(--brand-primary);color:var(--brand-on-primary);box-shadow:none}
.app-shell input[type="time"],.app-shell .md-outlined-field>input[type="time"]{height:48px!important;min-height:48px!important;padding:11px 14px;border:1px solid #dddddd;border-radius:8px;background:#fff;color:#171717;font:inherit;font-variant-numeric:tabular-nums;color-scheme:light}
.app-shell input[type="time"]::-webkit-calendar-picker-indicator{width:18px;height:18px;margin:0;padding:0;cursor:pointer;opacity:.9}
.app-shell input[type="time"]:hover{border-color:#a4a4a4}.app-shell input[type="time"]:focus-visible{border-color:#171717;outline:3px solid rgba(23,92,211,.22);outline-offset:1px}

/* Mobile and portrait-tablet back office */
.app-shell .mobile-more-trigger{display:none}
.mobile-more-panel{width:min(100%,440px);padding:20px}
.mobile-more-handle{display:grid;place-items:center;width:100%;height:26px;margin:-7px 0 14px;padding:0;border:0;background:transparent}
.mobile-more-handle span{width:42px;height:5px;border-radius:999px;background:#d5d5d5}
.mobile-more-options{display:grid;gap:0;margin-top:4px}
.mobile-more-options button{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:12px 4px;border:0;border-radius:0;background:transparent;color:#242424;text-align:left;font-weight:600}
.mobile-more-options button+button{border-top:1px solid #e1e1df}
.mobile-more-options button:hover{color:var(--brand-primary)}
.mobile-more-options button>svg:first-child{color:var(--brand-primary);flex:none}
.mobile-more-options button>span{flex:1}
.mobile-more-options button>svg:last-child{color:#6c6c6c;flex:none}
.app-shell .settings-upload-content .text-button[hidden]{display:none!important}
@media(max-width:980px){
  body{padding-bottom:0}.app-shell{padding-bottom:76px}
  .sidebar,.sidebar-collapsed .sidebar{inset:auto auto 8px 50%;width:min(calc(100% - 16px),760px);height:64px;display:block;padding:6px;border:1px solid #dddddd;border-radius:18px;background:rgba(255,255,255,.97);box-shadow:0 12px 34px rgba(24,24,24,.16);backdrop-filter:blur(16px);transform:translateX(-50%)}
  .sidebar>.brand,.sidebar>.sidebar-collapse,.sidebar>.shop-switch,.sidebar>.nav-caption{display:none!important}
  .main-nav,.sidebar-collapsed .main-nav{width:100%;height:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}
  .app-shell .main-nav>.nav-item[data-view="plano"],.app-shell .main-nav>.nav-item[data-view="definicoes"]{display:none}
  .app-shell .mobile-more-trigger{display:flex}
  .mobile-more-backdrop{align-items:end;justify-items:stretch;padding:0}
  .mobile-more-panel{width:100%;max-height:calc(100dvh - 16px);border-radius:24px 24px 0 0;padding:17px 20px calc(28px + env(safe-area-inset-bottom))}
  .app-shell .settings-upload-logo{align-items:start}
  .nav-item,.sidebar-collapsed .nav-item{position:relative;width:100%;max-width:none;height:52px;margin:0;padding:4px 2px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border-radius:12px;color:#686868;font-size:10px;line-height:1}
  .nav-item>svg,.sidebar-collapsed .nav-item>svg{width:20px;height:20px}.nav-item>span:nth-child(2),.sidebar-collapsed .nav-item>span:nth-child(2){display:block!important;flex:none}
  .nav-item.active{background:var(--brand-primary);color:var(--brand-on-primary)}.nav-count{position:absolute;top:3px;left:calc(50% + 7px);min-width:16px;padding:2px 4px;background:#d92d20!important;color:#fff!important;font-size:9px}
  .workspace,.sidebar-collapsed .workspace{margin-left:0;padding-bottom:8px}.topbar{height:56px;padding:0 14px;border-bottom:0;background:rgba(246,246,246,.92)}.page-title{display:none}.top-actions{width:100%;justify-content:flex-end}
  .page-content{width:100%;padding:10px 12px 24px}.page-heading,.agenda-actions{min-height:48px;margin:5px 0 16px;align-items:center;gap:10px}.page-heading h1,.booking-heading h1,.agenda-actions h1{font-size:24px}.page-heading>.button,.agenda-actions>.button{width:auto;min-width:0;min-height:44px;margin:0;padding:9px 14px;font-size:12px;white-space:nowrap}
  .metric-row,.client-metric-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}.metric-card{min-height:116px;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:9px;row-gap:4px;align-content:center;padding:13px 12px}.metric-icon{grid-row:1/4;width:32px;height:32px}.metric-label{align-self:end;font-size:11px;line-height:1.25}.metric-card>strong{align-self:center;font-size:21px;line-height:1.05}.metric-card>small{font-size:10px;line-height:1.25}
  .calendar-card{border-radius:14px}.calendar-toolbar{height:auto;min-height:0;padding:12px;gap:12px}.calendar-title{width:100%;justify-content:space-between;gap:8px}.calendar-title>.date-switch{flex:none}.calendar-title>div:last-child{min-width:0;text-align:right}.calendar-title h2{font-size:14px}.calendar-title p{font-size:11px}.calendar-tools{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.barber-filter-menu{width:100%;min-width:0}.barber-filter-trigger{width:100%;min-width:0}.barber-filter-menu>div{width:min(260px,calc(100vw - 48px))}.segmented{min-width:0}.segmented button{min-width:42px;padding:0 9px}.calendar-scroll,.week-calendar,.month-calendar{overscroll-behavior-inline:contain;scroll-snap-type:x proximity}.day-calendar{min-width:720px;grid-template-columns:48px repeat(var(--staff-count,1),224px)!important}.staff-head,.slot-cell{scroll-snap-align:start}.calendar-legend{padding:8px 10px;gap:10px;font-size:10px}.month-weekdays,.month-grid{min-width:700px}
  .table-toolbar{padding:15px;gap:12px}.table-toolbar h2{font-size:16px}.table-toolbar p{font-size:11px}.table-scroll{overflow:visible;padding:10px;background:#f6f6f6}.table-scroll table{min-width:0;white-space:normal}.table-scroll table,.table-scroll tbody{display:block}.table-scroll thead{display:none}.table-scroll tbody{display:grid;gap:9px}.table-scroll tbody tr{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,.72fr);gap:12px;padding:14px;border:1px solid #dedede;border-radius:12px;background:#fff}.table-scroll tbody td{height:auto;min-width:0;padding:0;border:0;font-size:12px}.table-scroll tbody td:first-child{padding-left:0}.table-scroll tbody td:last-child{position:absolute;top:9px;right:8px}.table-scroll tbody td:not(:first-child):not(:last-child)::before{display:block;margin-bottom:4px;color:#767676;font-size:9px;font-weight:700;letter-spacing:.05em}.table-scroll .empty-state{display:block!important;min-height:80px;padding:26px 14px!important;text-align:center}
  .clients-card tbody td:first-child,.services-card tbody td:first-child{grid-column:1/-1;padding-right:38px}.clients-card tbody td:nth-child(2)::before{content:attr(data-label)}.clients-card tbody td:nth-child(3)::before{content:"ÚLTIMA VISITA"}.clients-card tbody td:nth-child(4)::before{content:"VISITAS"}.clients-card tbody td:nth-child(5)::before{content:"TOTAL GASTO"}.services-card tbody td:nth-child(2)::before{content:"CATEGORIA"}.services-card tbody td:nth-child(3)::before{content:"DURAÇÃO"}.services-card tbody td:nth-child(4)::before{content:"PREÇO"}.services-card tbody td:nth-child(5)::before{content:"ESTADO"}.table-foot{height:auto;min-height:43px;padding:11px 15px}.service-note{align-items:flex-start;padding:14px 15px;line-height:1.45}
  .team-profile-grid{grid-template-columns:1fr}.team-profile-action{min-height:120px;padding:16px}.team-profile-photo{width:86px;min-height:86px}.team-profile-copy strong{font-size:17px}
  .settings-layout{grid-template-columns:1fr;gap:12px}.settings-card-header,.settings-section{padding:18px 15px}.settings-side{grid-template-columns:1fr}.settings-side .notification-settings-card,.settings-side .payment-settings-card{grid-column:auto}.settings-side .settings-card{padding:17px}.settings-upload{grid-template-columns:64px minmax(0,1fr);padding:11px}.settings-upload-preview{width:64px;height:64px}.settings-upload-picker{align-items:flex-start;flex-direction:column;gap:6px}.settings-card-actions{align-items:stretch;flex-direction:column}.settings-card-actions .button,.settings-side .button{width:100%}
  .client-panel,.entity-panel{width:100%;padding:18px 16px;border-radius:0}.panel-header{position:sticky;top:-18px;z-index:4;margin:-18px -16px 0;padding:16px;background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}.standard-panel>.modal-subtitle{margin-top:10px}.form-pair{grid-template-columns:1fr;gap:14px}.standard-panel-footer,.booking-panel-footer{margin-right:-16px;margin-left:-16px;padding:14px 16px max(18px,env(safe-area-inset-bottom))}.toast{bottom:86px}
}
@media(max-width:420px){
  .page-heading>.button,.agenda-actions>.button{padding-inline:12px}.calendar-tools{grid-template-columns:1fr}.segmented{width:100%}.segmented button{flex:1}.metric-card{min-height:122px;padding-inline:10px}.metric-label{font-size:10px}.metric-card>small{font-size:9px}.settings-upload{grid-template-columns:54px minmax(0,1fr)}.settings-upload-preview{width:54px;height:54px}.nav-item,.sidebar-collapsed .nav-item{font-size:9px}
}

/* Native dialogs share the same mobile frame as the other management sheets. */
:is(.plan-picker-dialog,.service-icon-dialog) > .mobile-more-handle {display:none}
@media (max-width:980px) {
  :is(.plan-picker-dialog,.service-icon-dialog)[open] {
    display:flex;
    flex-direction:column;
    inset:auto 0 0;
    width:100%;
    max-width:100%;
    max-height:calc(100dvh - max(48px,env(safe-area-inset-top)));
    margin:0;
    padding-inline:env(safe-area-inset-left) env(safe-area-inset-right);
    border:0;
    border-radius:24px 24px 0 0;
    overflow:hidden;
  }
  :is(.plan-picker-dialog,.service-icon-dialog) > .mobile-more-handle {
    display:grid;
    flex:none;
    height:44px;
    margin:0;
  }
  .service-icon-dialog[open] {
    padding:0 max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));
  }
  .service-icon-dialog :is(.service-icon-dialog-heading,.service-icon-search) {flex:none}
  .service-icon-dialog .service-icon-groups {min-height:0;overflow:auto;overscroll-behavior:contain}
}

/* A filtered single-professional agenda fills a phone screen and keeps bookings legible. */
@media(max-width:760px){
  .day-calendar:has(> .staff-head:nth-child(2)):not(:has(> .staff-head:nth-child(3))){
    --calendar-slot-height:50px;
    width:100%;
    min-width:0;
    grid-template-columns:48px minmax(0,1fr)!important;
  }
  .day-calendar:has(> .staff-head:nth-child(2)):not(:has(> .staff-head:nth-child(3))) .staff-head strong{font-size:18px}
  .day-calendar:has(> .staff-head:nth-child(2)):not(:has(> .staff-head:nth-child(3))) .staff-head small,
  .day-calendar:has(> .staff-head:nth-child(2)):not(:has(> .staff-head:nth-child(3))) .time-cell{font-size:14px}
  .day-calendar:has(> .staff-head:nth-child(2)):not(:has(> .staff-head:nth-child(3))) .calendar-booking-summary>strong{font-size:18px;line-height:1.2}
  .day-calendar:has(> .staff-head:nth-child(2)):not(:has(> .staff-head:nth-child(3))) .calendar-booking-barber,
  .day-calendar:has(> .staff-head:nth-child(2)):not(:has(> .staff-head:nth-child(3))) .calendar-booking-meta>time{font-size:14px}
}

/* Mobile follow-up: safe fixed areas, stable navigation and unobstructed panels. */
body.dialog-open{overflow:hidden}
/* A single close control for backoffice dialogs and side panels. */
.overlay-close{display:inline-grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border:1px solid #dcdcdc;border-radius:50%;background:#fff;color:#565656;transition:background .16s,border-color .16s,color .16s,transform .16s}
.overlay-close svg{width:18px;height:18px}
.overlay-close:hover{border-color:#c9c9c9;background:#f2f2f2;color:#171717}
.overlay-close:active{transform:scale(.96)}
.overlay-close:focus-visible{outline:3px solid var(--accessible-focus);outline-offset:2px}
.category-confirm-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
@media(max-width:760px){.overlay-close{min-width:44px;min-height:44px;width:44px;height:44px}}
@media(max-width:980px){
  .app-shell{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
  .sidebar,.sidebar-collapsed .sidebar{bottom:max(8px,env(safe-area-inset-bottom))}
  .page-content{padding-bottom:32px}
  .settings-page-heading {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:6px 10px;
  }
  .settings-page-heading > div {display:contents}
  .settings-page-heading h1 {grid-column:1;grid-row:1}
  .settings-page-heading > .button {grid-column:2;grid-row:1}
  .settings-page-heading .heading-note {grid-column:1/-1;grid-row:2;margin:0}
  .settings-save-detail {display:none}
  .panel-backdrop{overscroll-behavior:contain}
  .client-panel,.entity-panel{height:100dvh;max-height:100dvh;overscroll-behavior:contain;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:0}
  .client-panel .panel-header,.entity-panel .panel-header{top:calc(-1 * max(18px,env(safe-area-inset-top)));margin-top:calc(-1 * max(18px,env(safe-area-inset-top)));padding-top:max(16px,env(safe-area-inset-top))}
  .client-profile-footer,.standard-panel-footer,.booking-panel-footer,.notifications-panel-footer{padding-bottom:max(18px,env(safe-area-inset-bottom))}
}
@media(max-width:360px){
  .page-heading:not(.agenda-actions,.settings-page-heading){align-items:stretch;flex-direction:column}
  .page-heading:not(.agenda-actions,.settings-page-heading)>.button{width:100%}
  .agenda-actions h1,.settings-page-heading h1{font-size:22px}
  .agenda-actions>.button{padding-inline:11px;font-size:11px}
  .metric-card{grid-template-columns:28px minmax(0,1fr);column-gap:7px;padding-inline:9px}
  .metric-icon{width:28px;height:28px}.metric-icon svg{width:16px;height:16px}
}

.admin-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:22px}.admin-metric{min-width:0;min-height:90px;display:flex;flex-direction:column;justify-content:space-between;padding:15px;background:#fff;border:1px solid #e6e7ea;border-radius:7px}.admin-metric span{color:#747983;font-size:10px;line-height:1.45}.admin-metric strong{color:#22252b;font:700 25px/1 'Outfit',sans-serif;letter-spacing:-.04em}.admin-activity-card{margin-top:14px;padding:18px;background:#fff;border:1px solid #e6e7ea;border-radius:7px}.admin-activity-card>div:first-child h2{margin:7px 0 0;font:700 15px 'Outfit',sans-serif}.admin-activity{height:130px;display:grid;grid-template-columns:repeat(14,minmax(14px,1fr));align-items:end;gap:8px;margin-top:18px;padding:0 3px}.admin-activity-day{height:100%;display:grid;grid-template-rows:16px 1fr 17px;justify-items:center;align-items:end;gap:4px;min-width:0}.admin-activity-day strong{font-size:9px;color:#686d76;font-weight:600}.admin-activity-day>span{width:min(24px,100%);height:var(--activity-height);min-height:4px;background:#b44d38;border-radius:3px 3px 0 0;align-self:end}.admin-activity-day small{color:#8b9098;font-size:8px;white-space:nowrap}.admin-activity-summary{margin:13px 0 0;color:#858a93;font-size:9px}.platform-state.active{background:#eaf5ef;color:#338563}@media(max-width:1050px){.admin-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:17px}.admin-metric{min-height:79px;padding:12px}.admin-metric span{font-size:9px}.admin-metric strong{font-size:22px}.admin-activity-card{padding:14px}.admin-activity-card>div:first-child h2{font-size:13px}.admin-activity{grid-template-columns:repeat(14,minmax(10px,1fr));gap:3px;overflow:hidden}.admin-activity-day small{font-size:7px;letter-spacing:-.03em}}

/* Brand color control and save action. */
.brand-color-settings{display:grid;gap:18px}
.brand-color-settings .color-setting{display:grid;gap:14px;margin:0}
.brand-color-settings .color-setting>span{display:grid;gap:5px;min-width:0}
.brand-color-settings .color-setting small{font-size:12px;font-weight:400;line-height:1.5;color:#656565}


/* Apply foreground and background together while previewing a brand color. */
.nav-item.active,.button-primary,.button-dark,.profile-avatar,.segmented button.selected,.day-picker input:checked+span{transition-property:transform,box-shadow}

/* The desktop sidebar fills the viewport edge; its inner spacing stays intact. */
@media(min-width:981px){
  .sidebar,.sidebar-collapsed .sidebar{inset:0 auto 0 0;border:0;border-radius:0;box-shadow:none}
  .workspace{margin-left:224px}
  .sidebar-collapsed .workspace{margin-left:60px}
  .sidebar .main-nav{min-height:0;overflow-y:auto;overscroll-behavior:contain}
  .topbar{display:none}
}
@media(min-width:981px) and (max-width:1100px){.workspace{margin-left:196px}}
@media(max-width:980px){.topbar{background:rgba(246,246,246,.94)}}
.mobile-business{display:none}
@media(max-width:980px){
  .topbar{gap:12px}
  .mobile-business{display:flex;align-items:center;gap:9px;min-width:0;max-width:65%;color:#242632;text-decoration:none}
  .mobile-business img{width:30px;height:30px;flex:none;border-radius:8px;object-fit:contain}
  .mobile-business strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
  .mobile-business-switch{flex:1;max-width:65%}
  .mobile-business-switch select{min-width:0;width:100%;min-height:44px;padding:0 2px;border:0;background:transparent;color:#242632;font-size:12px;font-weight:700;text-overflow:ellipsis;cursor:pointer}
  .mobile-business-switch select:focus-visible{border-radius:6px}
  .top-actions{width:auto;margin-left:auto}
}
.billing-banner{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:16px;overflow:hidden;margin:0 0 18px;padding:15px 18px;border:1px solid #3900f2;border-radius:14px;background:linear-gradient(120deg,#3900f2,#7c3aed);color:#fff;box-shadow:0 15px 35px #3900f223}
.billing-banner::before{content:"";position:absolute;top:-32px;right:85px;width:440px;height:132px;opacity:.08;background:#fff;mask:url('/zokkly-logo.svg') center/contain no-repeat;-webkit-mask:url('/zokkly-logo.svg') center/contain no-repeat;pointer-events:none}
.billing-banner>*{position:relative}
.billing-banner p{margin:0;font-size:13px;line-height:1.5;font-weight:600}
.billing-banner .button{flex:none}
.billing-banner .button-primary{border-color:#fff;background:#fff;color:#3900f2;box-shadow:none}
.billing-banner .button-primary:hover:not(:disabled){border-color:#fff;background:#f5f2ff;color:#3900f2}
.billing-banner .button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.billing-banner--free{padding:11px 14px;border-color:color-mix(in srgb,var(--brand-primary) 18%,white);background:color-mix(in srgb,var(--brand-primary) 5%,white);color:#343434;box-shadow:none}
.billing-banner--free::before{display:none}
.app-shell .billing-banner--free p{font-weight:500}
.billing-banner--free .button-primary{min-height:34px;border-color:color-mix(in srgb,var(--brand-primary) 28%,#bbb);background:#fff;color:color-mix(in srgb,var(--brand-primary) 35%,#000);box-shadow:none}
.billing-banner--free .button-primary:hover:not(:disabled){border-color:color-mix(in srgb,var(--brand-primary) 50%,#777);background:color-mix(in srgb,var(--brand-primary) 8%,white);color:color-mix(in srgb,var(--brand-primary) 35%,#000);box-shadow:none}
.billing-banner--free .button:focus-visible{outline-color:color-mix(in srgb,var(--brand-primary) 35%,#000)}
@media(max-width:650px){.billing-banner{align-items:stretch;flex-direction:column}.billing-banner .button{width:100%}}

/* Account actions sit together at the bottom of the desktop navigation. */
.sidebar-footer{width:100%;margin-top:auto;margin-bottom:48px}
.sidebar-upgrade-link{display:flex;align-items:center;gap:12px;width:100%;min-height:42px;margin:0 0 10px;padding:0 12px;border:0;border-radius:11px;background:transparent;color:#545454;text-align:left;font-size:14px;font-weight:500}
.sidebar-upgrade-link:hover{background:#efefef;color:#171717}
.sidebar-upgrade-link svg{flex:none}
.sidebar-booking-link{display:flex;align-items:center;gap:2px;margin:0 0 9px;border-radius:10px;background:color-mix(in srgb,var(--brand-primary) 10%,white);transition:background-color .15s ease}
.sidebar-booking-link>a{display:flex;align-items:center;gap:8px;flex:1;min-width:0;min-height:42px;padding:0 4px 0 9px;border-radius:10px;color:#454545;text-decoration:none;font-size:13px;font-weight:600}
.sidebar-booking-link>a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar-booking-link>a svg{flex:none}
.sidebar-booking-link>button{display:grid;place-items:center;flex:none;width:30px;height:36px;margin-right:2px;padding:0;border:0;border-radius:9px;background:transparent;color:#555;cursor:pointer}
.sidebar-booking-link:hover{background:color-mix(in srgb,var(--brand-primary) 16%,white)}
.sidebar-booking-link :is(a,button):hover{background:transparent;color:#171717}
.sidebar-booking-link :is(a,button):focus-visible{outline:2px solid var(--brand-primary);outline-offset:2px}
.sidebar-account-menu{border-top:1px solid #e6e6e6;padding-top:9px}
.sidebar-account-menu summary{width:100%;min-height:46px;padding:5px 4px;border-radius:10px}
.sidebar-account-menu summary>span:last-child{min-width:0}
.sidebar-account-menu summary strong,.sidebar-account-menu summary small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar-account-menu>div{z-index:10;top:auto;right:auto;bottom:0;left:calc(100% + 10px);min-width:205px}
.mobile-account-menu{display:none}
.sidebar-collapsed .sidebar-footer{display:grid;justify-items:center}
.sidebar-collapsed .sidebar-upgrade-link{justify-content:center;width:44px;margin-bottom:10px;padding:0}
.sidebar-collapsed .sidebar-upgrade-link span{display:none}
.sidebar-collapsed .sidebar-booking-link{width:44px;justify-content:center}
.sidebar-collapsed .sidebar-booking-link>a{flex:none;justify-content:center;width:44px;min-height:42px;padding:0}
.sidebar-collapsed .sidebar-booking-link>a span,.sidebar-collapsed .sidebar-booking-link>button{display:none}
.sidebar-collapsed .sidebar-account-menu{width:44px}
.sidebar-collapsed .sidebar-account-menu summary{justify-content:center;padding:5px}
.sidebar-collapsed .sidebar-account-menu summary>span:last-child{display:none}
@media(max-width:980px){
  .sidebar-footer,.sidebar-collapsed .sidebar-footer{display:none}
  .mobile-account-menu{display:block}
}
.mobile-account-menu>div>a{display:flex;align-items:center;gap:8px;width:100%;padding:9px;color:#4d525c;text-decoration:none;font-size:11px}
.mobile-account-menu>div>a:hover{background:#f3f4f6}

/* Perfil individual do personal trainer */
.trainer-profile-card{max-width:1000px;border:1px solid #e6e6e6;border-radius:16px;background:#fff;box-shadow:0 12px 32px rgba(28,28,28,.045)}
.trainer-profile-card{overflow:hidden}
.trainer-profile-intro{display:flex;align-items:center;gap:28px;padding:32px}
.trainer-profile-avatar{width:140px;height:140px;flex:none;border-radius:18px;font-size:32px;overflow:hidden}
.trainer-profile-avatar img{width:100%;height:100%;object-fit:cover}
.trainer-profile-intro h2{margin:8px 0;font:700 clamp(25px,3vw,38px)/1.12 'Outfit',sans-serif}
.trainer-profile-intro p{max-width:610px;margin:0 0 16px;color:#626262;line-height:1.6}
.trainer-profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #ebebeb}
.trainer-profile-details section{min-width:0;padding:25px 32px;border-bottom:1px solid #ebebeb}
.trainer-profile-details section:nth-child(odd){border-right:1px solid #ebebeb}
.trainer-profile-details h3{margin:0 0 12px;font:700 15px 'Outfit',sans-serif}
.trainer-profile-details p,.trainer-profile-details li{margin:0;color:#616161;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.trainer-profile-details p+p{margin-top:6px}
.trainer-profile-details ul{margin:0;padding-left:18px}
.trainer-profile-details li+li{margin-top:6px}
.trainer-profile-details .trainer-profile-muted{color:#8e8e8e}
@media(max-width:650px){.trainer-page-heading{align-items:flex-start;flex-direction:column}.trainer-page-heading .button{width:100%;margin-top:5px}.trainer-profile-intro{align-items:flex-start;flex-direction:column;gap:18px;padding:22px}.trainer-profile-avatar{width:112px;height:112px}.trainer-profile-details{grid-template-columns:1fr}.trainer-profile-details section{padding:20px 22px}.trainer-profile-details section:nth-child(odd){border-right:0}}
.trainer-records .panel-section-title{gap:12px}.trainer-records .panel-section-title h3{display:flex;align-items:center;gap:7px}.trainer-records .panel-section-title .text-button{display:inline-flex;align-items:center;gap:5px;flex:none}.trainer-section-help{margin:0 0 12px;color:#777a83;font-size:12px;line-height:1.5}.trainer-empty{margin:0;padding:14px;border:1px dashed #d9dce4;border-radius:10px;background:#f8f9fc;color:#686d78;font-size:12px;line-height:1.5}.trainer-record-list{display:grid;gap:10px}.trainer-record{min-width:0;padding:14px;border:1px solid #e3e6ee;border-radius:12px;background:#fafbfe}.trainer-record-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.trainer-record-head strong{color:#1c2030;font-size:14px;line-height:1.35}.trainer-record-head time{flex:none;color:#697085;font-size:11px;white-space:nowrap}.trainer-record p{margin:10px 0 0;color:#515a69;font-size:12px;line-height:1.55;white-space:pre-line;overflow-wrap:anywhere}.trainer-record p b{display:block;margin-bottom:2px;color:#293044;font-size:11px}.trainer-record>.text-button{margin-top:8px;margin-left:-6px}
@media(max-width:420px){.trainer-record-head{display:grid;gap:3px}.trainer-record-head time{font-size:11px}}

/* Packs e acompanhamento individual do personal trainer */
.trainer-packages{margin-top:24px;padding:clamp(20px,3vw,30px);border:1px solid #e4e6ee;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(31,37,67,.04)}
.trainer-packages-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}
.trainer-packages-heading .eyebrow{display:block;margin-bottom:5px;color:var(--brand-primary);font-size:11px;font-weight:800;letter-spacing:.08em}
.trainer-packages-heading h2{margin:0;color:#1c2030;font:700 clamp(20px,2.2vw,27px)/1.2 'Outfit',sans-serif}
.trainer-packages-heading p,.trainer-package-footnote{margin:6px 0 0;color:#687083;font-size:13px;line-height:1.5}
.trainer-package-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:12px}
.trainer-package-card{display:flex;flex-direction:column;gap:12px;min-width:0;padding:18px;border:1px solid #e4e7ef;border-radius:14px;background:#fafbfe}
.trainer-package-card>div:first-child,.trainer-client-package-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.trainer-package-card strong,.trainer-client-package-card strong{color:#222638;font-size:15px;line-height:1.3}
.trainer-package-card p,.trainer-client-package-card p{margin:0;color:#586173;font-size:13px;line-height:1.5}
.trainer-package-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:8px;border-top:1px solid #e4e7ef}
.trainer-package-card-foot span{font-weight:700;color:#30394e;font-size:13px}
.trainer-package-footnote{margin-top:16px}
.trainer-client-packages .panel-section-title{gap:12px}
.trainer-client-package-list{display:grid;gap:10px}
.trainer-client-package-card{display:grid;gap:9px;padding:15px;border:1px solid #e4e7ef;border-radius:12px;background:#fafbfe}
.trainer-client-package-card .trainer-client-package-balance{font-size:13px}
.trainer-client-package-card small{color:#687083;font-size:12px;line-height:1.4}
.trainer-client-package-card .button{justify-self:start;margin-top:2px}
.trainer-client-package-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.trainer-client-package-actions .text-button{min-height:36px}
.trainer-selected-pack-summary{display:grid;gap:4px;min-width:0;margin:0;padding:12px 14px;border:1px solid #e3e6ee;border-radius:10px;background:#fafbfe;color:#293044;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.trainer-selected-pack-summary strong{font-weight:700}
.trainer-selected-pack-summary span{color:#586173}
.trainer-no-show-actions{display:grid;gap:10px}
.trainer-privacy-hint{padding:10px 12px;border-radius:10px;background:#f4f6fb;color:#586173;font-size:12px;line-height:1.5}
.trainer-movement{display:grid;gap:10px;margin:0;padding:14px;border:1px solid #e3e6ee;border-radius:10px;min-width:0}
.trainer-movement legend{padding:0 5px;color:#293044;font-size:12px;font-weight:700}
.trainer-movement-remove{justify-self:end;padding:0;font-size:12px}
.trainer-movement-add{width:100%}
.trainer-movement>label,.trainer-movement .form-pair>label{display:grid;gap:5px;color:#555962;font-size:11px;font-weight:600}
.trainer-movement .form-pair{min-width:0}
@media(max-width:420px){.trainer-movement{padding:10px}.trainer-movement .form-pair{gap:8px}}
.trainer-booking-pack-label{margin:14px 0 0;padding:10px 12px;border-radius:10px;background:#eef5ed;color:#315633;font-size:13px;font-weight:700}
.trainer-record .trainer-record-session{color:#4656ee;font-weight:600}
@media(max-width:650px){.trainer-packages-heading{align-items:stretch;flex-direction:column}.trainer-packages-heading .button{width:100%}.trainer-package-grid{grid-template-columns:1fr}.trainer-package-card-foot{flex-wrap:wrap}}
.client-export-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:16px 18px;border:1px solid #e6e6e6;border-radius:12px;background:#fff}
.client-export-card h2{margin:0 0 5px;color:#292929;font:700 14px/1.3 'Outfit',sans-serif}
.client-export-card p{margin:0;color:#737373;font-size:12px;line-height:1.5}
.client-export-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;flex:none}
@media(max-width:900px){.client-export-card{align-items:stretch;flex-direction:column}.client-export-actions{justify-content:flex-start}}
@media(max-width:520px){.client-export-actions{display:grid;grid-template-columns:1fr}.client-export-actions .button{width:100%}}
.team-setup-note{margin:-7px 0 18px;padding:12px 15px;border:1px solid #e6e6e6;border-radius:9px;background:#fff;color:#626772;font-size:12px;line-height:1.5}
.storage-state .zokkly-symbol{display:block;width:36px;height:36px;margin-bottom:17px}

/* Readable type across every business backoffice; keep compact status metadata distinct. */
.app-shell .nav-item,.app-shell .shop-switch strong,.app-shell .online-card strong,.app-shell .account-menu summary>span:last-child strong,.app-shell .account-menu button,.app-shell .action-menu button,.app-shell .kebab-menu button,.app-shell .mobile-business strong,.app-shell .mobile-business-switch select{font-size:14px}
.app-shell .nav-label-mobile{display:none}
.app-shell .mobile-plan-button{font-size:14px}
.app-shell .nav-caption,.app-shell .eyebrow,.app-shell .account-menu summary>span:last-child small,.app-shell .online-card small,.app-shell .shop-switch small{font-size:12px}
.app-shell .page-heading>.button,.app-shell .agenda-actions>.button,.app-shell .text-button,.app-shell .today-button,.app-shell .barber-filter-trigger,.app-shell .barber-filter-menu>div button,.app-shell .segmented button{font-size:14px}
.app-shell .heading-note,.app-shell .metric-label,.app-shell .metric-card>small,.app-shell .table-toolbar p,.app-shell .team-card>p,.app-shell .team-stat,.app-shell .team-info strong,.app-shell .team-info small,.app-shell .settings-card-header p:not(.eyebrow),.app-shell .settings-section-heading p,.app-shell .billing-banner p,.app-shell .client-export-card p,.app-shell .team-setup-note{font-size:14px;line-height:1.45}
.app-shell .calendar-title p,.app-shell .calendar-legend,.app-shell .table-foot,.app-shell .status-pill,.app-shell .team-tags span,.app-shell .client-tags span,.app-shell .schedule-summary,.app-shell .notification-item time,.app-shell .notification-item small{font-size:12px}
.app-shell .table-toolbar h2,.app-shell .team-card h2,.app-shell .settings-section-heading h3{font-size:16px}
.app-shell .searchbox input,.app-shell .table-scroll td,.app-shell .table-scroll tbody td,.app-shell .customer-cell strong,.app-shell .service-name strong,.app-shell .team-profile-copy>span,.app-shell .member-row strong,.app-shell .client-contact-list strong{font-size:14px}
.app-shell .table-scroll th,.app-shell .table-scroll tbody td:not(:first-child):not(:last-child)::before,.app-shell .customer-cell small,.app-shell .member-row small,.app-shell .member-status,.app-shell .team-profile-copy .team-profile-meta,.app-shell .team-profile-copy .team-profile-inactive,.app-shell .client-contact-list small{font-size:12px}
.app-shell .modal-subtitle,.app-shell .field-hint,.app-shell .crm-history-note,.app-shell .payment-connection p,.app-shell .connection-checks,.app-shell .settings-card>p:not(.eyebrow){font-size:14px;line-height:1.5}
.app-shell .standard-panel form>label,.app-shell .standard-panel .form-pair>label,.app-shell .standard-panel .service-list-label,.app-shell .standard-panel .color-setting,.app-shell .settings-card label,.app-shell .team-access-grid form>label,.app-shell .payment-policy label,.app-shell .settings-upload-label{font-size:14px}
.app-shell .standard-panel .check-row{font-size:14px!important}
.app-shell .standard-panel .availability-label{font-size:12px!important}
.app-shell .standard-panel form[data-entity="service"] .availability-label{font-size:14px!important}
.service-meeting-options{display:contents}
.service-meeting-options[hidden]{display:none}
.app-shell .day-picker legend{font-size:14px;font-weight:600}
.app-shell .day-picker span,.app-shell .settings-card label small,.app-shell .settings-upload-content>small,.app-shell .barber-photo-controls>small{font-size:12px}
.app-shell .settings-upload-seo,.app-shell .settings-upload-logo,.app-shell .settings-upload-booking-hero,.app-shell .settings-card .settings-index-control{background:#f2f3f5;border-color:#dfe2e7}
.app-shell .settings-upload-booking-hero .settings-upload-preview img{object-fit:cover}
.app-shell .settings-upload-preview,.app-shell .settings-upload-picker>span:last-child{font-size:12px}
.settings-booking-copy{display:grid;gap:16px}.settings-booking-copy .settings-section-heading h4{margin:0;color:#292929;font:700 16px/1.35 'Outfit',sans-serif}.settings-booking-copy-preview{display:grid;gap:7px;min-width:0;padding:18px;border:1px solid #dfe2e7;border-radius:12px;background:#f2f3f5;overflow-wrap:anywhere}.settings-booking-copy-preview>span{margin-bottom:5px;color:#666;font-size:12px;font-weight:700}.settings-booking-copy-preview [data-hero-preview=eyebrow]{margin:0;color:#5a5a5a;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.settings-booking-copy-preview [data-hero-preview=title]{color:#1d1d1d;font:800 26px/1.1 'Outfit',sans-serif;letter-spacing:-.04em}.settings-booking-copy-preview [data-hero-preview=description]{margin:0;color:#555;font-size:14px;line-height:1.5}
.app-shell .standard-panel input:not([type="checkbox"]):not([type="radio"]),.app-shell .standard-panel select,.app-shell .standard-panel textarea,.app-shell .modal form textarea,.app-shell .settings-card input:not([type="checkbox"]),.app-shell .settings-card select,.app-shell .settings-card textarea,.app-shell .team-access-grid input,.app-shell .team-access-grid select,.app-shell .payment-policy input,.app-shell .payment-policy select{font-size:14px}
.app-shell .client-profile-head p,.app-shell .client-profile-panel .client-profile-head p,.app-shell .client-profile-panel .notes-copy,.app-shell .client-profile-panel .history-item strong,.app-shell .client-profile-panel .history-item small,.app-shell .client-profile-panel .detail-list>div,.app-shell .history-item strong,.app-shell .history-item small,.app-shell .notification-history,.app-shell .notification-history strong{font-size:14px;line-height:1.45}
.app-shell .client-profile-panel .client-metrics small,.app-shell .client-profile-panel .history-status,.app-shell .client-metrics small,.app-shell .history-status{font-size:12px}
.app-shell .trainer-section-help,.app-shell .trainer-empty,.app-shell .trainer-record p,.app-shell .trainer-packages-heading p,.app-shell .trainer-package-footnote,.app-shell .trainer-package-card p,.app-shell .trainer-client-package-card p,.app-shell .trainer-record-head time,.app-shell .trainer-record p b,.app-shell .trainer-client-package-card small,.app-shell .trainer-movement legend,.app-shell .trainer-movement-remove{font-size:12px}
.app-shell .month-weekdays span,.app-shell .month-event time,.app-shell .month-more{font-size:12px}
.app-shell .month-day-number,.app-shell .month-event strong{font-size:14px}
@media(max-width:980px){
  .app-shell .nav-item,.app-shell.sidebar-collapsed .nav-item{font-size:12px;line-height:1.1}
  .app-shell .nav-item .nav-label-full{display:none!important}
  .app-shell .nav-item .nav-label-mobile{display:block!important;max-width:100%;min-width:0;text-align:center}
}
@media(max-width:420px){
  .app-shell .sidebar,.app-shell.sidebar-collapsed .sidebar{height:72px}
  .app-shell .nav-item,.app-shell.sidebar-collapsed .nav-item{height:60px}
}
@media(max-width:760px){
  .app-shell .searchbox input,.app-shell .standard-panel input:not([type="checkbox"]):not([type="radio"]),.app-shell .standard-panel select,.app-shell .standard-panel textarea,.app-shell .modal form textarea,.app-shell .settings-card input:not([type="checkbox"]),.app-shell .settings-card select,.app-shell .settings-card textarea,.app-shell .team-access-grid input,.app-shell .team-access-grid select,.app-shell .payment-policy input,.app-shell .payment-policy select{font-size:16px}
}

/* Shared form headings across every business sector. Keep values and help text regular. */
.app-shell .standard-panel .service-icon-picker>legend,
.app-shell .standard-panel .category-picker-heading>strong,
.app-shell .standard-panel .day-picker>legend,
.app-shell .booking-form-section>h3,
.app-shell .booking-payment-choice>legend,
.app-shell .standard-panel .trainer-movement>legend,
.app-shell .standard-panel form>label:not(.check-row):not(.md-outlined-field),
.app-shell .standard-panel .form-pair>label:not(.md-outlined-field),
.app-shell .standard-panel .service-icon-search,
.app-shell .settings-upload-label{font-size:14px;font-weight:700;line-height:1.35;color:#232323}
.app-shell .standard-panel .field-hint,.app-shell .standard-panel .optional{font-weight:400}
.app-shell .settings-side [data-action="create-calendar-feed"]:disabled,
.app-shell .settings-side #calendar-barber:disabled{background:#f4f4f4;color:#616161;cursor:not-allowed;box-shadow:none}

.settings-upload-picker button.button-tertiary{pointer-events:auto;padding-inline:0}
.settings-upload-control:focus-within .settings-upload-picker button.button-tertiary:not(:focus-visible){outline:none}
.button-warning {
  --action-accent: #EE8300;
}
.button-danger { --action-accent: #b3261e; }
.button-warning, .button-danger {
  color: var(--action-accent);
  border-color: var(--action-accent);
  background: #fff;
}
.button-warning:focus-visible, .button-danger:focus-visible {
  outline: 2px solid var(--action-accent);
  outline-offset: 2px;
}
.button-warning:hover:not(:disabled), .button-danger:hover:not(:disabled) {
  background: color-mix(in srgb, var(--action-accent) 8%, white);
}
.button-tertiary,.button-tertiary:visited{background:transparent;border-color:transparent;box-shadow:none;color:#315dc8;text-decoration:none}
.button-tertiary:hover:not(:disabled),a.button.button-tertiary:hover{background:transparent;border-color:transparent;box-shadow:none;color:#315dc8;text-decoration:underline;text-underline-offset:3px}

.panel-sheet-handle {display:none}
@media (max-width:980px) {
  body:has(.panel-backdrop > .panel-sheet) {overflow:hidden}
  .panel-backdrop > .panel-sheet {
    --sheet-gutter:max(20px,env(safe-area-inset-left),env(safe-area-inset-right));
    --sheet-handle-height:44px;
    display:block;
    inset:auto 0 0;
    width:100%;
    height:auto;
    min-height:0;
    max-height:calc(100dvh - max(48px,env(safe-area-inset-top)));
    padding:0 var(--sheet-gutter) max(16px,env(safe-area-inset-bottom));
    overflow:auto;
    overscroll-behavior:contain;
    scroll-padding-block:112px 90px;
    border:0;
    border-radius:24px 24px 0 0;
    animation:pop-in .18s ease;
  }
  .panel-sheet > .panel-sheet-handle {
    position:sticky;
    top:0;
    z-index:5;
    display:grid;
    width:calc(100% + 2 * var(--sheet-gutter));
    height:var(--sheet-handle-height);
    margin:0 calc(-1 * var(--sheet-gutter));
    background:#fff;
  }
  .panel-sheet > .panel-header {
    position:sticky;
    top:var(--sheet-handle-height);
    z-index:4;
    margin:0 calc(-1 * var(--sheet-gutter));
    padding:0 var(--sheet-gutter) 12px;
    background:#fff;
  }
  .panel-sheet > form,.panel-sheet > .booking-form {min-height:0}
  .panel-backdrop > .panel-sheet.professional-panel {
    --panel-gutter:var(--sheet-gutter);
    display:flex;
    height:100dvh;
    overflow:hidden;
  }
  .panel-sheet .notifications-list {overflow:visible}
  .panel-sheet:has(.standard-panel-footer,.booking-panel-footer,.client-profile-footer,.notifications-panel-footer) {padding-bottom:0}
  .panel-sheet :is(.standard-panel-footer,.booking-panel-footer,.client-profile-footer,.notifications-panel-footer) {
    bottom:0;
    margin:12px calc(-1 * var(--sheet-gutter)) 0;
    padding:14px var(--sheet-gutter) max(16px,env(safe-area-inset-bottom));
  }
}
@media (max-width:980px) and (max-height:480px) {
  .panel-sheet :is(.standard-panel-footer,.booking-panel-footer,.client-profile-footer,.notifications-panel-footer) {position:static}
}
@media (max-width:980px) and (prefers-reduced-motion:reduce) {
  .panel-backdrop > .panel-sheet {animation:none}
}

.app-shell.desktop-top-navigation:has(.page-content > .record-empty-card:last-child) {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.desktop-top-navigation .workspace:has(> .page-content > .record-empty-card:last-child),
.desktop-top-navigation .page-content:has(> .record-empty-card:last-child) {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}
.desktop-top-navigation .page-content > .record-empty-card:last-child {
  display: grid;
  flex: 1;
}
.desktop-top-navigation .page-content:has(> .record-empty-card:last-child) {
  width: 100%;
}
.desktop-top-navigation .page-content > .record-empty-card:last-child > .record-empty-state {
  align-content: center;
}
.record-empty-state {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(32px, 6vw, 56px) 20px;
  text-align: center;
}
.record-empty-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--brand-primary) 12%, white);
  color: var(--brand-primary);
}
.record-empty-state > h2 {margin: 0; font-size: 20px; line-height: 1.25}
.record-empty-state > p {max-width: 46ch; margin: 0; color: #62656d; font-size: 14px; line-height: 1.5}
.record-empty-actions {display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px}

/* RecordActionsMenu and RecordDeleteDialog use the shared button and sheet variants. */
.team-profile-card:has(.record-actions-trigger) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}
.team-profile-card:has(.record-actions-trigger) .team-profile-action {padding-right: 0}
.team-profile-card > .record-actions-trigger {margin: 10px 8px 0 0}
.trainer-profile-actions {display: flex; align-items: center; gap: 8px}
.client-profile-trigger {
  max-width: 100%;
  border: 0;
  border-radius: 4px;
  padding: 0;
  background: transparent;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.client-profile-trigger:focus-visible {outline: 2px solid var(--accessible-focus); outline-offset: 2px}
@media (max-width: 980px) {
  .clients-card tbody td:first-child {padding-right: 44px}
}
.record-actions-trigger.button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
}
.record-actions-menu {
  position: fixed;
  z-index: 80;
  box-sizing: border-box;
  min-width: min(168px, calc(100vw - 16px));
  max-width: calc(100vw - 16px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 4px;
  border: 1px solid var(--border, #ddd);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 20, 20, .14);
}
.record-actions-menu > button:not(.mobile-more-handle) {
  display: block;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 8px 12px;
  text-align: start;
  background: transparent;
  color: var(--text, #202124);
  font: inherit;
}
.record-actions-menu button.danger, .record-delete-error {color: #a3312c}
.record-actions-menu button:not(:disabled):is(:hover, :focus-visible) {background: #f3f3f3}
.record-actions-menu button:focus-visible {outline: 2px solid var(--accessible-focus); outline-offset: -2px}
.record-actions-menu button:disabled {opacity: .55}
.record-delete-dialog .modal-actions {display: flex; flex-wrap: wrap; gap: 8px}
:is(.client-actions-dialog,.record-actions-dialog) .action-menu > button {min-height: 44px; background: transparent}
.record-actions-dialog .action-menu > button {font-size:14px}
:is(.client-actions-dialog,.record-actions-dialog) .modal-topline {justify-content: flex-end}

/* Keep the search field neutral across pointer and keyboard states. */
.app-shell .searchbox {border-color:#171717;background:#fff}
.app-shell .searchbox:hover {border-color:#171717;background:#fff}
.app-shell .searchbox:focus-within {border-color:#171717;box-shadow:0 0 0 1px #171717}
.app-shell .searchbox input:focus-visible {outline:0}

@media (min-width:981px), (min-width:761px) and (max-width:980px) and (orientation:portrait) {
  .clients-card .searchbox {width:min(360px, 48vw)}
}

/* The panel content scrolls under its title on desktop, as it does on mobile. */
@media (min-width:981px) {
  .client-panel > .panel-header {
    position:sticky;
    top:0;
    z-index:4;
    flex:none;
    margin:-22px -24px 0;
    padding:22px 24px 16px;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(12px);
  }
  .entity-panel > .panel-header {
    top:0;
    margin:-24px -27px 0;
    padding:24px 27px 16px;
  }
  .standard-panel:has(> form:is([data-entity="service"], [data-entity="client"], [data-entity="barber"])) > .panel-header {margin-top:0}
}
@media (max-width:980px) {
  .client-panel > .panel-header,.entity-panel > .panel-header {top:0}
}


/* Reserve the full sticky header height before the recovery description. */
.client-recovery-panel > .panel-header { margin-top:0; }
.client-recovery-trigger { grid-column:2; justify-self:start; text-align:left; min-height:44px; }
.client-recovery-list { list-style:none; padding:0; }
.client-recovery-list li { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid #e6e6e6; }
.client-recovery-list li div { min-width:0; overflow-wrap:anywhere; }
.client-recovery-list small { display:block; margin-top:4px; }
.client-recovery-list .button { min-height:44px; }

/* Optional grouped search variant of the shared select. */
.md-select-searchable .md-select-menu{display:flex;flex-direction:column;overflow:hidden;max-height:360px}
.md-select-searchable .md-select-menu[hidden]{display:none}
.md-select-search-bar{position:relative;flex:none;padding:0 0 8px}
.md-select-searchable .md-select-search{display:block;width:100%;min-width:0;height:48px;margin:0;padding:11px 46px 11px 12px;border:1px solid #dedede;border-radius:7px;background:#fff;color:#1d1b20;font:400 16px/1.4 'Outfit',sans-serif;appearance:none}
.md-select-searchable .md-select-search::-webkit-search-cancel-button{display:none}
.md-select-searchable .md-select-search:focus{border-color:#3900f2;outline:2px solid #3900f2;outline-offset:-2px}
.md-select-searchable .md-select-search-clear{position:absolute;top:2px;right:2px;width:44px;height:44px;padding:0;border:0;border-radius:6px;background:transparent;color:#49454f;font:400 25px/1 sans-serif;cursor:pointer}
.md-select-searchable .md-select-search-clear[hidden]{display:none}
.md-select-searchable .md-select-options{min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding:4px}
.md-select-searchable .md-select-group-label{padding:12px 12px 5px;color:#626772;font:600 13px/1.4 'Outfit',sans-serif}
.md-select-searchable .md-select-group+.md-select-group{margin-top:5px;border-top:1px solid #efeee9}
.md-select-searchable .md-select-empty{margin:0;padding:14px 12px;color:#626772;font:400 15px/1.5 'Outfit',sans-serif}
.md-select-searchable .md-select-empty[hidden]{display:none}
