/* Production shell; the guest booking surface keeps Studio Focus components. */
body{background:#09090b;font-family:Manrope,Arial,sans-serif}
html{scrollbar-gutter:stable}
.studio-app.shell{--shell-gutter:24px;display:block;width:620px;max-width:none;min-height:var(--app-height,100dvh);margin:0 0 0 auto;padding:var(--app-safe-top,0px) var(--shell-gutter) 110px;border:0;border-radius:0;overflow:visible;background:#09090b}
.studio-header,.admin-mode .studio-header{height:95px;padding:0;align-items:center}
.studio-header{--line:#303038;--text:#f5f1f3}
.studio-header .wordmark{font:700 25px 'Barlow Condensed',Oswald,sans-serif;letter-spacing:6px;color:#f5f1f3;line-height:normal}
.studio-header .wordmark span{display:block;font:8px Manrope,Arial,sans-serif;letter-spacing:3.7px;margin-top:3px}
.brand-panel{--muted:#a6a3ac;--text:#f5f1f3;--accent:#f03a85;--line:#303038}
.brand-panel .wordmark{font:700 25px 'Barlow Condensed',Oswald,sans-serif;letter-spacing:6px}
.view-toolbar{height:58px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 22px}
.view-toolbar h1{font:600 31px/1.25 Oswald,sans-serif;letter-spacing:-.6px;margin:0;white-space:nowrap;outline:none}
.view-toolbar .preview-role{margin:0 0 0 auto;flex-shrink:0;font-family:'Roboto Condensed',sans-serif}
#guest-pages{font:17px/1.5 'Roboto Condensed',sans-serif}
#guest-pages main{padding:0 0 18px}
#guest-pages h2{font-family:'Roboto Condensed',sans-serif;margin:0}
#guest-pages p{margin:0}
#guest-pages .service-copy p{margin-top:4px}
#guest-pages .client-card-service p{margin-top:6px}
#guest-pages .record-outcome{margin-top:14px}
#client-records .records-intro{margin:0 2px 24px}
#client-dock,#admin-nav{position:fixed;bottom:calc(12px + var(--safe-bottom));right:var(--shell-gutter);left:auto;transform:none;width:calc(620px - 2 * var(--shell-gutter));max-width:none;border:1px solid var(--border);border-radius:16px;overflow:hidden;margin:0;background:var(--background);box-shadow:0 8px 24px #0004}
#client-dock{font-family:'Roboto Condensed',sans-serif}
#client-dock .booking-action{border-top:0}
#client-dock .bottom-nav{position:static;width:auto;max-width:none;transform:none;background:var(--background);border:0;padding:5px 16px 7px}
#client-dock p{margin:0;color:var(--text)}
.studio-app.shell #admin-bookings{padding:0 0 18px;font:17px/1.5 'Roboto Condensed',sans-serif}
#admin-bookings h2,#admin-bookings p{margin:0}
#admin-bookings #admin-day-meta{margin-top:4px}
.admin-agenda-actions{display:flex;justify-content:flex-end;margin:-8px 0 16px}
.admin-agenda-actions .schedule-button{min-height:40px;font-size:17px;padding:6px 12px;gap:8px}
.studio-app.shell:not(.admin-mode){padding-bottom:calc(190px + var(--safe-bottom))}
.studio-app.shell.client-records-mode{padding-bottom:calc(110px + var(--safe-bottom))}
#admin-tools{width:100%;min-width:0}
#admin-tools-frame{display:block;border:0;width:calc(100% + 2 * var(--shell-gutter));margin-left:calc(-1 * var(--shell-gutter));height:calc(var(--app-height,100dvh) - 285px - var(--app-safe-top,0px) - var(--safe-bottom));min-height:80px;background:#09090b}
#admin-nav{font:14px/1.5 Manrope,Arial,sans-serif;--muted:#a6a3ac;--text:#f5f1f3;--accent:#f03a85;padding:8px 4px 12px}
#admin-nav button{font:10px Manrope,Arial,sans-serif;letter-spacing:normal}
#admin-legal{display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:16px 0 8px;margin:0;font:11px/1.5 Manrope,Arial,sans-serif;color:#a6a3ac}
#sheet,#runtime-popup{font-family:'Roboto Condensed',sans-serif}
#sheet h2{margin:0;font-family:Oswald,sans-serif}
#sheet p{color:var(--muted)}
@media(min-width:1500px){.studio-app.shell{margin-right:7vw}#client-dock,#admin-nav{right:calc(7vw + var(--shell-gutter))}}
@media(max-width:1050px){.studio-app.shell{--shell-gutter:16px;width:540px}#client-dock,#admin-nav{width:calc(540px - 2 * var(--shell-gutter))}}
@media(max-width:800px){.studio-app.shell{--shell-gutter:12px;width:100%;max-width:540px;margin:0 auto}.studio-header,.admin-mode .studio-header{height:82px}#client-dock,#admin-nav{width:calc(min(100%,540px) - 2 * var(--shell-gutter));right:50%;transform:translateX(50%)}#admin-tools-frame{height:calc(var(--app-height,100dvh) - 272px - var(--app-safe-top,0px) - var(--safe-bottom))}}
@media(max-width:370px){.studio-app.shell{--shell-gutter:8px}.view-toolbar h1{font-size:28px}#admin-nav button{font-size:9px;letter-spacing:-.15px}}

/* Shared titles stay beside the switch, including nested admin pages. */
.view-toolbar h1{min-width:0}
.view-toolbar h1.long-title{font-size:26px;line-height:1.1;white-space:normal}
@media(max-width:370px){.view-toolbar h1.long-title{font-size:22px}}

/* Three guest destinations, with one continuous sliding marker in each menu. */
#client-dock .bottom-nav{grid-template-columns:repeat(3,minmax(0,1fr));position:relative;padding-inline:6px}
#client-dock .bottom-nav button{font-size:14px;min-width:0}
#client-dock .bottom-nav button+button::before,#client-dock .bottom-nav .active::after,#admin-nav .active::after,#admin-nav .current::after{display:none}
.menu-indicator{position:absolute;left:0;bottom:6px;height:3px;border-radius:3px;background:var(--pink,#fa2f82);pointer-events:none;transition:transform 220ms cubic-bezier(.77,0,.175,1)}
@media(prefers-reduced-motion:reduce){.menu-indicator{transition:none}}
#client-settings-frame{display:block;border:0;width:calc(100% + 2 * var(--shell-gutter));margin-left:calc(-1 * var(--shell-gutter));height:calc(var(--app-height,100dvh) - 285px - var(--app-safe-top,0px) - var(--safe-bottom));min-height:80px;background:#09090b}
#guest-pages #client-settings{padding:0}
@media(max-width:800px){#client-settings-frame{height:calc(var(--app-height,100dvh) - 272px - var(--app-safe-top,0px) - var(--safe-bottom))}}
#sheet{padding:16px;width:calc(100% - 20px)}
.sheet-content{margin-right:-12px;padding-right:12px;scrollbar-gutter:auto;max-height:calc(100dvh - 74px)}
#runtime-popup{width:calc(100% - 16px);height:min(780px,calc(100dvh - 16px));max-height:calc(100dvh - 16px)}

/* Stable three-column toolbar: role stays centered, agenda action is on the right. */
.view-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px}
.view-heading{min-width:0;display:flex;align-items:center;gap:8px}
.view-toolbar h1{white-space:normal;line-height:1.1;font-size:28px}
.view-toolbar .preview-role{margin:0;justify-self:center}
.view-toolbar .schedule-button{justify-self:end;min-height:40px;font-size:16px;padding:6px 8px;gap:6px}
.view-toolbar .schedule-button .icon{width:18px;height:18px}
#client-count{flex-shrink:0;color:var(--muted);font:18px 'Roboto Condensed',sans-serif}
#client-dock .booking-action{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:12px 16px}
#client-dock .booking-action p{display:flex;flex-direction:row;justify-content:center;align-items:baseline;gap:8px;font-size:20px}
#client-dock .booking-action #total-price{font-size:24px}
#client-dock .booking-action .summary-separator{display:inline}
#client-dock .booking-action .primary{width:100%;min-height:44px;padding:8px 16px;font-size:20px}
.studio-app.shell:not(.admin-mode):not(.client-records-mode){padding-bottom:calc(220px + var(--safe-bottom))}
#guest-booking .legal-footer{flex-direction:column;align-items:center;text-align:center}
.documents-open{display:block;min-height:32px;padding:6px 8px;color:var(--pink-light);background:transparent;border-radius:8px;font:13px 'Roboto Condensed',sans-serif}
.documents-check{display:flex;align-items:flex-start;gap:12px;margin:16px 0;font-size:17px;line-height:1.5;cursor:pointer}
.documents-check input{flex:none;width:22px;height:22px;margin:2px 0;accent-color:var(--pink)}
.documents-check a{color:var(--pink-light);text-decoration:underline;text-underline-offset:3px}
.documents-error{color:#ff91bd;font-size:15px;line-height:1.4;margin-bottom:12px}
@media(max-width:430px){.view-toolbar h1{font-size:26px}.view-toolbar h1.long-title{font-size:22px}.view-heading{gap:4px}}
@media(max-width:370px){.view-toolbar h1{font-size:22px}.view-toolbar h1.long-title{font-size:18px}.view-toolbar .preview-role button{font-size:12px;padding:7px 9px}#client-count{font-size:15px}}
