*{box-sizing:border-box}body{margin:0;background:#f6f5f8;color:#242331;font:15px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}header{height:70px;background:#fff;border-bottom:1px solid #e8e5ee;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1200px)/2))}.brand{display:flex;align-items:center;gap:12px}.brandmark{display:grid;place-items:center;width:34px;height:34px;background:#57165c;color:white;border-radius:9px;font-weight:800;font-size:20px}.tag,.eyebrow{font-size:11px;letter-spacing:.08em;font-weight:750;color:#7a647f}.tag{padding:5px 8px;background:#f4eef5;border-radius:5px}main{max-width:1200px;margin:0 auto;padding:24px}.banner{padding:13px 16px;border:1px solid #e7d8e8;background:#faf5fa;border-radius:9px;color:#664b69;font-size:13px}.card{background:white;border:1px solid #e8e5ee;border-radius:12px;padding:24px}.login{max-width:470px;margin:8vh auto}.login form{display:grid;gap:14px;margin:24px 0}.login a{color:#57165c;font-size:13px}.page-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:34px 0 24px}h1,h2,p{margin:0}h1{font-size:32px;line-height:1.15;letter-spacing:-.03em}h2{font-size:20px;letter-spacing:-.02em}.eyebrow{margin-bottom:10px}.muted{color:#77717f;font-size:13px;margin-top:8px}.workspace{min-width:240px}.tabs{display:flex;gap:8px;margin-bottom:16px;overflow:auto}.tab{border:0;background:transparent;color:#665d69}.tab.selected{color:#57165c;background:#ede2ee}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.date-range{display:flex;align-items:end;gap:10px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:850px}.wide{grid-column:1/-1}label{display:grid;gap:5px;font-weight:650;font-size:12px}input,select{width:100%;border:1px solid #dbd7e1;border-radius:8px;padding:11px;font:inherit;background:white;color:#242331}button{border:1px solid #ded9e3;border-radius:8px;background:white;padding:10px 14px;color:#302b34;font:inherit;font-weight:650;cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.primary{color:white;background:#57165c;border-color:#57165c;justify-self:start}.quiet{border:0}.entries{border-top:1px solid #eeeaf1}.entry{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 0;border-bottom:1px solid #eeeaf1}.entry p{color:#77717f;font-size:13px;margin-top:3px}.entry-actions{display:flex;align-items:center;gap:12px}.slots,.days{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.slot{min-width:68px}.slot.selected{border-color:#57165c;color:#57165c;background:#f3e8f4}.days label{display:flex;align-items:center;gap:5px;border:1px solid #ded9e3;border-radius:7px;padding:7px 10px}.days input{width:auto}fieldset{border:1px solid #e5e0e9;border-radius:8px;padding:12px}legend{font-size:12px;font-weight:650}.message{min-height:0;margin:0 0 12px;color:#57165c}.message:empty{display:none}.error{color:#a2263c}.hidden{display:none!important}@media(max-width:680px){header{padding:0 16px}.tag{font-size:9px}main{padding:16px}.page-title,.section-head{align-items:stretch;flex-direction:column}.workspace{min-width:0}.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.date-range{display:grid;grid-template-columns:1fr 1fr}.date-range button{grid-column:1/-1}.entry{align-items:start;flex-direction:column;gap:10px}.card{padding:19px}}

.cart-panel{margin-top:16px}.cart-items{margin:18px 0}.subhead{margin:28px 0 12px;font-size:16px}.warning{color:#8e3150;font-size:13px}.entry strong{overflow-wrap:anywhere}

@media(max-width:680px){.tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.tab{white-space:normal}}

.workspace .compact{margin-top:5px;padding:3px 0;color:#57165c;font-size:12px}.form-gap{margin-top:18px}.form-actions{display:flex;gap:8px;flex-wrap:wrap}.check-label{display:flex;align-items:center;gap:8px}.check-label input{width:auto}.setup-list{margin-top:20px}.setup-group{padding:10px 0;border-bottom:1px solid #eeeaf1}.setup-group h3{margin:0 0 6px;font-size:14px}.setup-group p{margin:5px 0;color:#665d69;font-size:13px}.setup-details{border-bottom:1px solid #eeeaf1;padding:16px 0}.setup-details summary{cursor:pointer;font-weight:700}.schedule-hours{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.schedule-days{margin-top:8px}.resource-line{display:flex;justify-content:space-between;align-items:center;gap:12px}.resource-line button{font-size:12px;padding:6px 9px}

.cal-views{display:flex;gap:4px;padding:4px;background:#f4f1f5;border-radius:8px}.cal-views button{border:0;background:transparent;padding:7px 10px;font-size:12px}.cal-views button.selected{background:#fff;color:#57165c;box-shadow:0 1px 3px #20132422}.cal-toolbar{display:grid;grid-template-columns:1.6fr repeat(3,minmax(0,1fr));gap:10px;align-items:end;margin-bottom:18px}.cal-navigation{display:flex;align-items:end;gap:5px}.cal-navigation label{min-width:145px}.cal-navigation button{padding:10px}.calendar-scroll{overflow:auto;border:1px solid #e8e5ee;border-radius:8px}.calendar-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.calendar-table th,.calendar-table td{border-right:1px solid #eeeaf1;border-bottom:1px solid #eeeaf1;padding:8px;vertical-align:top}.calendar-table th:last-child,.calendar-table td:last-child{border-right:0}.calendar-table tr:last-child td{border-bottom:0}.calendar-table th{background:#faf9fb;color:#675d6a;text-align:left;font-weight:650}.month-table{min-width:600px}.month-day{width:100%;height:78px;text-align:left;border:0;border-radius:5px;padding:4px;display:grid;align-content:space-between;font-size:12px}.month-day.muted-day{color:#99939d}.month-day .cal-count{color:#57165c;font-weight:700;font-size:11px}.week-table{min-width:850px}.week-table th:first-child,.week-table td:first-child{width:150px}.week-table td{height:92px}.day-table{min-width:560px}.day-table th:first-child,.day-table td:first-child{width:60px}.cal-event{display:block;background:#f5eef6;border-left:3px solid #8a528e;border-radius:4px;padding:5px 6px;margin-bottom:5px;line-height:1.3;overflow-wrap:anywhere}.cal-event small{display:block;color:#716776}.calendar-list{margin-top:22px}.calendar-list summary{cursor:pointer;font-weight:700;font-size:13px}.calendar-list .entries{margin-top:12px}.cal-empty{color:#968f9a;font-size:11px}.cal-period{font-weight:700;font-size:13px;margin:0 0 10px}@media(max-width:850px){.cal-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.cal-navigation{grid-column:1/-1}.section-head{align-items:flex-start}}@media(max-width:500px){.cal-toolbar{grid-template-columns:1fr 1fr}.cal-navigation{flex-wrap:wrap}.cal-navigation label{flex:1}.cal-views{width:100%}.cal-views button{flex:1}}

@media(max-width:500px){.month-table{min-width:0}.month-table td,.month-table th{padding:3px}.month-day{height:60px;padding:2px}.month-day .cal-count{font-size:10px}}

/* Application shell: the same hierarchy as the agreed Webbusi prototype. */
.authenticated main{max-width:1450px;padding:20px 24px 48px}
.shell-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;margin-top:22px;align-items:start}
.shell-sidebar{position:sticky;top:20px;background:#f0eef2;border:1px solid #e6e2e8;border-radius:12px;padding:16px 12px;min-height:540px;display:flex;flex-direction:column}
.workspace{min-width:0}.workspace label{color:#544b59}.workspace select{font-weight:700}.sidebar-label{margin:28px 8px 8px;color:#625b66;font-size:11px;font-weight:700;letter-spacing:.04em}
.shell-sidebar .tabs{display:flex;flex-direction:column;gap:3px;margin:0;overflow:visible}.shell-sidebar .tab{display:flex;align-items:center;gap:11px;text-align:left;width:100%;padding:11px 10px;border-radius:7px;color:#514a55}.shell-sidebar .tab svg{width:18px;height:18px;flex:none}.shell-sidebar .tab.selected{color:#57165c;background:#e6dbe8}.shell-sidebar .tab:hover:not(.selected){background:#e8e5e9}.sidebar-prototype{margin:28px 9px 0;color:#57165c;font-size:12px;font-weight:650;text-decoration:none}.sidebar-prototype:hover{text-decoration:underline}
.shell-content{min-width:0}.shell-content .page-title{margin:8px 0 24px}.shell-content .page-title h1{font-size:28px}.shell-content .card{min-width:0}.muted,.entry p{color:#665f6b}.list-hint{margin:20px 0 10px;color:#665f6b;font-size:12px}
.order-search{max-width:480px}.order-search>div{display:flex;gap:8px}.order-search input{flex:1;min-width:0}.order-list{border-top:1px solid #e8e5ee}.order-item{border-bottom:1px solid #e8e5ee}.order-item summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 4px;cursor:pointer;list-style:none}.order-item summary::-webkit-details-marker{display:none}.order-item summary:after{content:'⌄';font-size:20px;color:#716776}.order-item[open] summary:after{transform:rotate(180deg)}.order-identity{display:grid;gap:3px;flex:1}.order-identity small{font-size:12px;color:#665f6b}.order-status{color:#57165c;background:#f4ebf4;padding:5px 9px;border-radius:6px;font-size:12px;font-weight:700;white-space:nowrap}.order-expanded{padding:0 12px 18px}.order-expanded .muted{margin:0 0 8px}.order-line{display:flex;align-items:start;justify-content:space-between;gap:18px;padding:13px 0;border-top:1px solid #eeeaf1}.order-line p{margin:3px 0 0;color:#665f6b;font-size:13px}.order-line-actions{display:flex;align-items:center;gap:12px;font-size:13px}.order-line-actions button{font-size:12px;padding:7px 10px}.order-open{margin-top:12px;font-size:13px}.back-link{padding:0;border:0;color:#57165c;font-size:13px}.order-detail-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:22px}.order-caption{font-weight:700;margin:26px 0 10px}.order-total{text-align:right;font-weight:700;margin-top:16px}.order-detail-lines{border-bottom:1px solid #eeeaf1}
button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #a369aa;outline-offset:3px}
@media(max-width:800px){.shell-grid{grid-template-columns:1fr;gap:18px}.shell-sidebar{position:static;min-height:0;padding:14px}.sidebar-label{margin:16px 4px 8px}.shell-sidebar .tabs{flex-direction:row;overflow-x:auto;padding-bottom:4px}.shell-sidebar .tab{width:auto;white-space:nowrap;flex:none}.sidebar-prototype{margin:10px 4px 0}.shell-content .page-title{margin:0 0 20px}}
@media(max-width:500px){.authenticated main{padding:16px 14px 36px}.shell-grid{margin-top:16px}.order-item summary{flex-wrap:wrap;gap:8px}.order-status{white-space:normal}.order-line{flex-direction:column;gap:9px}.order-line-actions{width:100%;justify-content:space-between}.order-detail-head{align-items:flex-start;flex-direction:column}.order-search>div{display:flex}.shell-content .page-title h1{font-size:25px}}

.client-site{background:#f8f7f5}.client-site header{max-width:none;padding-left:max(24px,calc((100vw - 1200px)/2));padding-right:max(24px,calc((100vw - 1200px)/2))}.client-site main{max-width:1200px}.client-nav{display:flex;align-items:center;gap:25px}.client-nav a,.client-footer a{color:#443a48;font-size:13px;font-weight:650;text-decoration:none}.client-nav a:hover,.client-footer a:hover{text-decoration:underline}.client-nav .client-cart-link{color:#57165c}.client-hero{margin:24px 0 30px;padding:48px;display:grid;grid-template-columns:1.3fr .7fr;gap:48px;align-items:end;background:#342638;color:#fff;border-radius:12px}.client-kicker{font-size:11px;font-weight:750;letter-spacing:.08em;color:#e2cbe3}.client-hero h1{font-size:clamp(34px,4vw,50px);line-height:1.1;margin:15px 0}.client-hero p:not(.client-kicker){max-width:48ch;color:#f0e9f1}.client-hero-link{display:inline-flex;align-items:center;gap:35px;margin-top:25px;padding:11px 16px;border-radius:7px;background:#fff;color:#342638;text-decoration:none;font-weight:700;font-size:13px}.client-steps{display:grid;gap:0}.client-steps span{display:flex;gap:20px;padding:15px 0;border-bottom:1px solid #ffffff44;color:#d9c8da;font-size:12px}.client-steps strong{color:#fff;font-size:13px}.client-booking{scroll-margin-top:20px}.price-preview{margin:12px 0 0;color:#57165c;font-weight:700;font-size:13px}.price-preview:empty{display:none}.client-footer{max-width:1152px;margin:12px auto 30px;padding:20px 0;border-top:1px solid #e8e5ee;display:flex;justify-content:space-between;color:#665f6b;font-size:12px}
@media(max-width:680px){.client-site header{padding:0 16px}.client-nav{gap:12px}.client-nav a{font-size:12px}.client-nav{flex-wrap:wrap;justify-content:flex-end}.client-hero{padding:28px 22px;grid-template-columns:1fr;gap:22px;margin:20px 0}.client-hero h1{font-size:34px}.client-steps span{padding:10px 0}.client-footer{margin:12px 16px 24px;gap:15px}}

.shell-sidebar{min-width:0}.shell-sidebar .tabs{max-width:100%;min-width:0}

.sidebar-site{display:block;margin:22px 8px 0;padding:9px 10px;border:1px solid #d5c6d7;border-radius:7px;color:#57165c;font-size:12px;font-weight:700;text-decoration:none}.sidebar-site:hover{background:#e8dfea}.sidebar-site + .sidebar-prototype{margin-top:14px}

.date-field{display:grid;align-content:start;gap:5px}.field-label{font-size:12px;font-weight:650}.field-hint{margin:4px 0 0;color:#625b66;font-size:12px;line-height:1.45}#date-picker,#booking-date-picker{position:relative;min-width:0}.date-trigger{width:100%;min-height:44px;text-align:left;background:#fff;border:1px solid #dbd7e1;font-weight:500;display:flex;justify-content:space-between;align-items:center}.date-trigger:after{content:'▦';font-size:16px;color:#62556a}.date-trigger:disabled{opacity:1;color:#756e79;background:#f7f6f7}.date-popover{position:absolute;z-index:20;top:calc(100% + 6px);left:0;width:min(330px,calc(100vw - 60px));padding:16px;background:#fff;border:1px solid #ddd6df;border-radius:12px;box-shadow:0 12px 30px #29202e26}.date-popover[hidden]{display:none}.date-toolbar{display:grid;grid-template-columns:34px 1fr 34px;gap:8px;align-items:center;text-align:center;margin-bottom:12px}.date-toolbar strong{font-size:14px;text-transform:capitalize}.date-toolbar button{padding:3px;font-size:22px;line-height:1.1;border-color:transparent}.date-toolbar button:hover:not(:disabled){background:#f4eef5}.date-week,.date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.date-week span{padding:5px 0;color:#675d6a;font-size:11px;font-weight:700}.date-day{height:36px;padding:0;border:1px solid transparent;border-radius:7px;background:#f8f3f8;color:#57165c;font-weight:700;font-size:13px}.date-day:hover:not(:disabled){border-color:#9c6a9f;background:#eddfef}.date-day.is-selected{background:#57165c;color:#fff}.date-day:disabled{opacity:1;color:#9b969e;background:#f3f2f3;cursor:not-allowed}.date-legend{margin:12px 0 0;color:#665f6b;font-size:11px}.date-content{font-size:13px;color:#665f6b}.date-content>button{margin-top:8px;font-size:12px}

/* Restored Aglaine-style workspace shell; business screens stay connected to the core. */
body.authenticated{background:#f3f3f4}body.authenticated>header{display:none}.authenticated main{max-width:none;padding:0}.authenticated .banner{padding:6px 16px;border:0;border-radius:0;text-align:center;background:#efedf0;color:#514c54;font-size:11px}
.shell-grid{grid-template-columns:240px minmax(0,1fr);gap:0;margin:0;min-height:100vh}.shell-sidebar{position:sticky;top:0;height:100vh;min-height:0;padding:16px 12px 12px;background:#f3f3f4;border:0;border-radius:0;display:flex;flex-direction:column}.project-head{display:flex;align-items:flex-start;gap:9px;padding:4px;margin-bottom:16px}.project-mark{width:34px;height:34px;flex:none;display:grid;place-items:center;background:#1f1f22;color:#fff;border-radius:8px;font-size:19px;font-weight:800}.project-head .workspace{min-width:0;flex:1}.project-head .workspace label{font-size:10px;color:#68666b;gap:2px}.project-head .workspace select{padding:4px 5px;border:0;background:transparent;font-size:13px;font-weight:700;max-width:100%}.project-head .workspace .compact{margin-top:3px;font-size:11px}
.shell-sidebar .tabs{display:grid;flex-direction:initial;gap:1px;overflow-y:auto;overflow-x:hidden;min-height:0;margin:0;max-width:none}.shell-sidebar .tab{width:100%;display:flex;align-items:center;gap:10px;padding:8px 10px;border:0;border-radius:7px;background:transparent;color:#3b3a3e;text-align:left;text-decoration:none;font-size:13px;font-weight:550;white-space:nowrap}.shell-sidebar .tab svg{width:17px;height:17px;flex:none}.shell-sidebar .tab.selected{background:#e3e3e5;color:#1e1e21;font-weight:700}.shell-sidebar .tab:hover:not(:disabled):not(.selected){background:#e9e9eb}.shell-sidebar .tab small{margin-left:auto;color:#777178;font-size:10px;font-weight:500}.shell-sidebar .tab:disabled{opacity:.52}.shell-profile{display:flex;align-items:center;gap:9px;padding:14px 5px 0;margin-top:auto}.profile-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#dddce0;color:#34323a;font-weight:700}.shell-profile strong,.shell-profile small{display:block;font-size:11px}.shell-profile small{color:#68666b;font-size:10px}
.shell-content{min-width:0;margin:8px 8px 0 0;background:#fff;border:1px solid #e6e5e7;border-radius:14px 14px 0 0}.shell-topbar{position:sticky;top:0;z-index:6;display:flex;align-items:center;gap:13px;height:57px;padding:0 22px;background:#fff;border-bottom:1px solid #e8e7e9;border-radius:14px 14px 0 0}.shell-topbar strong{font-size:14px}.shell-toggle{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;background:transparent}.shell-toggle:hover{background:#f0f0f1}.shell-toggle svg{width:19px;height:19px}.shell-top-actions{margin-left:auto;display:flex;align-items:center;gap:12px}.shell-env{font-size:11px;color:#69666b}.shell-mode,.shell-site{padding:7px 10px;border-radius:6px;background:#f4f4f5;font-size:11px;font-weight:700;color:#29272b;text-decoration:none}.shell-site:hover{background:#e9e9eb}.shell-top-actions #logout{padding:7px;font-size:12px}.shell-body{padding:27px 24px 60px}.shell-content .page-title{margin:0 0 24px}.shell-content .card{border-color:#e6e5e7}.shell-scrim{display:none}.resource-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.shell-grid.collapsed{grid-template-columns:68px minmax(0,1fr)}.shell-grid.collapsed .workspace,.shell-grid.collapsed .nav-text,.shell-grid.collapsed .tab small,.shell-grid.collapsed .shell-profile span:last-child{display:none}.shell-grid.collapsed .project-head,.shell-grid.collapsed .tab{justify-content:center}.shell-grid.collapsed .shell-sidebar .tab{padding-left:4px;padding-right:4px}
@media(max-width:760px){.shell-grid,.shell-grid.collapsed{display:block;min-height:0}.shell-sidebar{position:fixed;z-index:30;top:0;left:0;width:250px;height:100dvh;padding:15px 12px;background:#f3f3f4;transform:translateX(-105%);transition:transform .2s ease-out;box-shadow:none}.nav-open .shell-sidebar{transform:translateX(0);box-shadow:0 8px 30px #0003}.shell-grid.collapsed .workspace,.shell-grid.collapsed .nav-text,.shell-grid.collapsed .tab small,.shell-grid.collapsed .shell-profile span:last-child{display:initial}.shell-grid.collapsed .shell-sidebar .tab{justify-content:flex-start;padding:8px 10px}.shell-scrim{position:fixed;inset:0;z-index:25;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#17141a66}.nav-open .shell-scrim{display:block}.shell-content{margin:0;border-radius:0;border-left:0;border-right:0}.shell-topbar{border-radius:0;padding:0 14px}.shell-body{padding:22px 15px 44px}.shell-top-actions{gap:5px}.shell-env{display:none}.shell-site,.shell-mode{font-size:10px;padding:7px}.shell-top-actions #logout{font-size:11px}.shell-content .page-title h1{font-size:25px}}
@media(prefers-reduced-motion:reduce){.shell-sidebar{transition:none}}

.date-toolbar strong{text-transform:none}

.shell-sidebar .tabs{grid-template-columns:minmax(0,1fr)}

.weekly-schedule{display:grid;gap:.45rem;max-width:31rem}.weekly-schedule-row{display:grid;grid-template-columns:5.5rem minmax(0,1fr) minmax(0,1fr);align-items:center;gap:.65rem}.weekly-schedule-row label{display:flex;align-items:center;gap:.4rem;font-weight:600}.weekly-schedule-row input[type=text]{min-width:0}.weekly-schedule-row input:disabled{opacity:.55}

.reschedule-panel{margin-top:1.75rem;padding-top:1.25rem;border-top:1px solid #dedbe3}.reschedule-panel h3{margin:0 0 .4rem}.reschedule-panel .form-grid{margin-top:1rem}

.team-member{padding:1rem 0;border-bottom:1px solid #e4e0e8}.team-member p{margin:.25rem 0 .7rem}.team-controls{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}.team-controls select{max-width:16rem}.team-controls .check-label{margin:0}.team-controls button{white-space:nowrap}#invite-view button+button{margin-top:.7rem}

button.cal-event{text-align:left;width:100%;border:1px solid #e2d3e4;font-size:12px;font-weight:500;cursor:pointer}button.cal-event:hover{background:#eadbec}.day-timeline-head,.day-timeline-body{display:grid}.day-timeline-head>div{padding:9px 10px;background:#faf9fb;border-bottom:1px solid #e8e5ee;border-right:1px solid #eeeaf1;font-size:12px;font-weight:700;color:#675d6a}.day-time-axis{position:relative;border-right:1px solid #eeeaf1}.day-time-axis span{position:absolute;right:9px;font-size:11px;color:#625b66;transform:translateY(-2px)}.day-track{position:relative;border-right:1px solid #eeeaf1;background-image:linear-gradient(to bottom,#eeeaf1 1px,transparent 1px);background-size:100% var(--day-hour-height,120px)}.day-event{position:absolute;overflow:hidden;margin:0;padding:3px 6px;line-height:1.15;z-index:1}.day-event strong,.day-event small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.day-event small{font-size:11px}@media(max-width:680px){.client-site header{height:auto;min-height:70px;gap:10px;flex-wrap:wrap;padding:12px 16px}.client-nav{flex-wrap:wrap;justify-content:flex-end}}

.entry-actions{flex-wrap:wrap;justify-content:flex-end}.entry-actions button{font-size:12px;padding:7px 10px}@media(max-width:680px){.entry-actions{justify-content:flex-start}}

.day-time-axis{position:sticky;left:0;z-index:3;background:white}.day-timeline-head>div:first-child{position:sticky;left:0;z-index:4}.cal-scroll-hint{display:none;font-size:12px;color:#625b66;margin:0 0 10px}.day-event-short{display:flex;align-items:center;gap:4px}.day-event-short strong,.day-event-short small{min-width:0}.day-event-short small{white-space:nowrap}@media(max-width:680px){.cal-scroll-hint{display:block}.day-event{font-size:11px}.day-event small{font-size:11px}}

/* Full descriptions for short appointments, without compressing the timeline. */
.short-event-list{margin:0 0 12px;border:1px solid #e8e5ee;border-radius:8px;background:#faf9fb}.short-event-list summary{cursor:pointer;padding:11px 14px;font-size:13px;font-weight:650;color:#57165c}.short-event-rows{display:grid;gap:8px;padding:0 12px 12px}.short-event-rows>div{display:grid;grid-template-columns:minmax(90px,140px) minmax(0,1fr);align-items:start;gap:10px;font-size:12px}.short-event-rows>div>span{padding-top:7px;color:#625b66}.short-event-rows button.cal-event{margin:0;white-space:normal;overflow-wrap:anywhere}.form-feedback:not(:empty){padding:10px 12px;background:#f1f8f3;border-left:3px solid #28754e;border-radius:4px;margin:0;font-size:13px;color:#24573c}.form-feedback.error:not(:empty){background:#fff2f3;border-left-color:#a2263c;color:#a2263c}.form-feedback:empty{display:none}@media(max-width:500px){.short-event-rows>div{grid-template-columns:1fr;gap:3px}}

.overnight-hint:not([hidden]){grid-column:2 / -1;color:#6b4773;font-size:12px;margin-top:-.35rem}

.google-login{margin:18px 0;padding-top:12px;border-top:1px solid #e8e5ee}.google-login p{font-size:13px;color:#625b66}.google-login .error{color:#a2263c}.google-login .error:empty{display:none}

/* Project controls and the personal account stay distinct in the app shell. */
.shell-sidebar .project-nav{flex:1 1 auto;align-content:start;min-height:0;scrollbar-width:thin}
.nav-section-label{margin:10px 10px 5px;color:#77747b;font-size:10px;line-height:1.4;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.account-nav{flex:none;padding-top:8px;margin-top:8px;border-top:1px solid #dedde0}
.account-nav .nav-section-label{margin-top:0}
.shell-sidebar .account-profile{padding:7px 8px;min-width:0}
.profile-mark{width:32px;height:32px;flex:none;font-size:13px;background:#e4dae8;color:#57165c}
.account-copy{display:grid;min-width:0;text-align:left;line-height:1.3}
.account-copy strong,.account-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-copy strong{font-size:12px}.account-copy small{margin:2px 0 0!important;font-size:10px;color:#706b74}
.shell-sidebar .account-logout{margin-top:3px;color:#605a63}
.shell-sidebar .tab:focus-visible,.shell-toggle:focus-visible{outline:2px solid #76517d;outline-offset:2px}
.shell-grid.collapsed .nav-section-label,.shell-grid.collapsed .account-copy{display:none}
.shell-grid.collapsed .account-profile{justify-content:center}
.profile-card{max-width:760px}.profile-card .section-head{margin-bottom:20px}
.profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:18px 0;border-block:1px solid #eeeaf1}
.profile-details strong{display:block;font-size:14px;overflow-wrap:anywhere}.profile-label{display:block;color:#77717f;font-size:12px;margin-bottom:4px}
.profile-form{display:grid;gap:0;max-width:480px;margin-top:22px}.profile-form .primary{margin-top:16px}.profile-form .form-feedback{margin-top:12px}
.employee-actions{display:flex;gap:8px;flex-wrap:wrap}.employee-profile-back{margin-bottom:12px}
#employee-profile-slot .profile-card{padding:14px 0 0;border:0}
@media(max-width:760px){.shell-grid.collapsed .nav-section-label{display:block}.shell-grid.collapsed .account-copy{display:grid}.shell-grid.collapsed .account-profile{justify-content:flex-start}.account-nav{margin-top:8px}.profile-details{grid-template-columns:1fr}}

/* Project switcher and account popovers follow the shared Aglaine shell pattern. */
.shell-sidebar{z-index:10}.project-head,.account-nav{position:relative}
.project-head{display:block;padding:0;margin-bottom:16px}
.project-trigger,.account-trigger{display:flex;align-items:center;gap:9px;width:100%;min-width:0;padding:4px;border:0;border-radius:7px;background:transparent;text-align:left;color:#27262a}
.project-trigger:hover,.account-trigger:hover,.project-trigger[aria-expanded=true],.account-trigger[aria-expanded=true]{background:#e8e8ea}
.project-copy,.account-copy{display:grid;min-width:0;flex:1;line-height:1.3}
.project-copy strong,.project-copy small,.account-copy strong,.account-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-copy strong,.account-copy strong{font-size:12px}.project-copy small,.account-copy small{margin-top:2px;color:#77717f;font-size:10px;font-weight:500}
.menu-chevron{width:15px;height:15px;flex:none;color:#55515a}
.account-nav{padding:9px 0 0;margin-top:8px;border:0}.account-trigger{padding:5px 4px}
.shell-menu{position:absolute;left:calc(100% + 7px);top:0;z-index:45;width:250px;max-height:min(75vh,620px);overflow-y:auto;padding:5px;background:#fff;border:1px solid #e4e2e6;border-radius:10px;box-shadow:0 10px 28px #24202b1f}
.account-menu{top:auto;bottom:0}.shell-menu-heading{padding:6px 9px;color:#77717f;font-size:11px;font-weight:650}.shell-menu-divider{height:1px;background:#ecebee;margin:5px -5px}
.project-options{max-height:180px;overflow-y:auto}.project-empty{padding:8px 9px;color:#77717f;font-size:12px}
.project-choice{display:flex;align-items:center;gap:8px;width:100%;min-width:0;padding:8px 9px;border:0;border-radius:6px;background:transparent;text-align:left;font-size:12px;font-weight:550}
.project-choice:hover,.project-choice:focus-visible{background:#f1f0f2}.project-choice span:nth-child(2){min-width:0;white-space:normal;overflow-wrap:anywhere;flex:1}.project-choice-mark{width:14px;color:#67616b}.project-choice small{font-size:10px;font-weight:500;color:#77717f}
.shell-sidebar .shell-menu .tab{padding:8px 9px;font-size:12px;white-space:normal}.shell-sidebar .shell-menu .tab svg{width:16px;height:16px}.shell-menu .tab:disabled{opacity:.52}
.account-menu-heading{padding:7px 9px}.account-menu-heading strong,.account-menu-heading small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-menu-heading strong{font-size:12px}.account-menu-heading small{font-size:11px;color:#77717f}.shell-sidebar .shell-menu .account-logout{color:#a2263c}
.project-trigger:focus-visible,.account-trigger:focus-visible,.project-choice:focus-visible{outline:2px solid #76517d;outline-offset:1px}
.shell-grid.collapsed .project-copy,.shell-grid.collapsed .account-copy,.shell-grid.collapsed .menu-chevron{display:none}
.shell-grid.collapsed .project-trigger,.shell-grid.collapsed .account-trigger{justify-content:center}
.shell-grid.collapsed .shell-menu .nav-text{display:inline}.shell-grid.collapsed .shell-menu .tab{justify-content:flex-start;padding:8px 9px}
@media(max-width:760px){.shell-sidebar{z-index:30}.shell-grid.collapsed .project-copy,.shell-grid.collapsed .account-copy{display:grid}.shell-grid.collapsed .menu-chevron{display:block}.shell-grid.collapsed .project-trigger,.shell-grid.collapsed .account-trigger{justify-content:flex-start}.shell-menu{left:0;top:calc(100% + 5px);width:100%;max-height:min(72dvh,590px)}.account-menu{top:auto;bottom:calc(100% + 5px)}}

.workspace-loading{visibility:hidden}.setup-entity-link{display:block;min-width:0;color:#36313b;text-decoration:none;font-size:13px;overflow-wrap:anywhere}.setup-entity-link:hover{color:#57165c;text-decoration:underline}.setup-entity-link:focus-visible{outline:2px solid #76517d;outline-offset:3px}.setup-group .resource-line{gap:16px}.setup-group .resource-actions{flex:none}.setup-group .resource-line>a{flex:1}.setup-back{margin-bottom:10px}

.shell-topbar h1{margin:0;font-size:14px;line-height:1.3;letter-spacing:0;font-weight:700}.shell-content .page-title .dashboard-title{font-size:32px;line-height:1.15;letter-spacing:-.03em}@media(max-width:760px){.shell-content .page-title .dashboard-title{font-size:25px}}
