/* Product workspaces use the same components as the live app, with a task-focused shell. */
#app-sidebar, #app-topbar, #drawer-backdrop { display:none; }
.app-shell #site-header { display:none; }
.app-shell { padding-left:252px; }
.app-shell #app-sidebar { display:flex; flex-direction:column; position:fixed; inset:0 auto 0 0; width:252px; background:var(--surface,#fff); border-right:1px solid var(--line); z-index:80; overflow-y:auto; overscroll-behavior:contain; padding:20px 16px; }
.app-shell #main .container { max-width:1440px; width:100%; padding:32px clamp(18px,3vw,48px); }
.app-shell .side-brand { display:flex; text-decoration:none; color:inherit; }
/* Sidebar type scale (rem, Inter from the page): product name 1.3125, navigation 0.9375, workspace and
   profile name 0.875, labels and descriptions 0.75. Colours come from the page tokens. */
#app-sidebar { font-size:0.9375rem; line-height:1.4; color:var(--ink); }
#app-sidebar .lockup-name { font-size:1.3125rem; font-weight:650; letter-spacing:-0.01em; }
.app-shell .lockup-name small, #app-sidebar .lockup-name small { display:block; font-size:0.6875rem; font-weight:450; letter-spacing:0; color:var(--muted); margin-top:2px; }
.side-workspace { margin:16px 0 4px; padding:10px 12px; background:var(--surface-2); border-radius:10px; min-width:0; }
.side-label,.side-group,.side-workspace label { display:block; font-size:0.75rem; font-weight:500; color:var(--muted); margin:0; }
/* Long names stay whole for assistive technology (and in the hover title); visually two lines at most. */
.side-workspace-name { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; font-size:0.875rem; font-weight:600; overflow-wrap:anywhere; }
.side-workspace select { margin-top:4px; min-height:40px; font-size:0.875rem; }
.side-group { margin:18px 10px 4px; font-weight:600; }
#app-sidebar ul { list-style:none; margin:0; padding:0; }
.side-link { display:flex; align-items:center; gap:12px; padding:8px 10px; border-left:3px solid transparent; border-radius:8px; text-decoration:none; color:var(--ink); min-height:42px; font-size:0.9375rem; font-weight:450; }
.side-link .ds-icon { width:20px; height:20px; margin:0; }
.side-link .ds-icon img { width:20px; height:20px; object-fit:contain; }
.side-link[aria-current=page] { background:var(--accent-tint); border-left-color:var(--accent); font-weight:600; }
.side-link:hover { background:var(--surface-2); }
.side-link[aria-current=page]:hover { background:var(--accent-tint); }
.side-link:focus-visible, .side-apps-toggle:focus-visible, .side-app:focus-visible { outline:3px solid var(--focus); outline-offset:-1px; }
.side-bottom { margin-top:auto; padding-top:20px; }
.side-bottom nav { padding-bottom:12px; border-bottom:1px solid var(--line); }
.side-person { display:flex; align-items:center; gap:10px; margin:14px 4px 0; min-width:0; }
.side-person .ds-icon { width:20px; height:20px; margin:0; }
.side-person .ds-icon img { width:20px; height:20px; }
.side-person > span { min-width:0; }
.side-person strong, .side-person small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.side-person strong { font-size:0.875rem; font-weight:500; }
.side-person small { font-size:0.75rem; color:var(--muted); }
/* "Schedora apps": compact disclosure under the product name, in normal flow so it is never clipped. */
.side-apps { margin-top:12px; }
.side-apps-toggle { display:flex; align-items:center; gap:8px; width:100%; min-height:40px; padding:8px 10px; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--ink); font:inherit; font-size:0.875rem; font-weight:500; text-align:left; cursor:pointer; }
.side-apps-toggle:hover { background:var(--surface-2); }
.side-apps-toggle > img { width:18px; height:18px; object-fit:contain; flex:none; }
.side-apps-toggle > span:first-of-type { flex:1; }
.side-apps-chevron { width:8px; height:8px; margin:0 4px 3px 0; border-right:2px solid var(--muted); border-bottom:2px solid var(--muted); transform:rotate(45deg); transition:transform .15s; }
.side-apps-toggle[aria-expanded=true] .side-apps-chevron { transform:rotate(-135deg); margin-bottom:-3px; }
.side-apps-panel { margin-top:6px; padding:6px; border:1px solid var(--line); border-radius:10px; background:var(--surface); box-shadow:0 8px 24px #10251b14; }
.side-app { display:flex; align-items:flex-start; gap:10px; padding:8px; border-radius:8px; text-decoration:none; color:var(--ink); border-left:3px solid transparent; }
.side-app:hover { background:var(--surface-2); }
.side-app > img { width:22px; height:22px; object-fit:contain; flex:none; margin-top:1px; }
.side-app > span { min-width:0; }
.side-app strong { font-size:0.875rem; font-weight:600; }
.side-app small { display:block; font-size:0.75rem; line-height:1.35; color:var(--muted); }
.side-app[data-app=meet] { border-left-color:color-mix(in srgb, var(--meet) 45%, transparent); }
.side-app[data-app=forms] { border-left-color:color-mix(in srgb, var(--forms) 45%, transparent); }
.side-app[data-app=flow] { border-left-color:color-mix(in srgb, var(--flow) 45%, transparent); }
.side-app[data-app=suite] { border-left-color:var(--line-strong); }
.side-app[aria-current] { background:var(--accent-tint); }
.side-app-current { font-size:0.6875rem; font-weight:600; color:var(--accent); text-transform:none; margin-left:2px; }
.side-apps-note { margin:6px 8px 2px; font-size:0.75rem; color:var(--muted); line-height:1.4; }
.side-close { display:none; }
.auth-cards { max-width:620px; margin:auto; }
.auth-alternative { margin-top:20px; }
.auth-alternative>summary { padding:15px; cursor:pointer; }
.auth-alternative .card { margin-top:12px; }
body:not(.app-shell) .header-tools { flex-wrap:wrap; }
.app-shell #site-footer .container { max-width:none; padding-inline:24px; }
.app-shell .ds-icon { flex-shrink:0; }
.google-signin-button img { width:20px; height:20px; margin-right:10px; }
@media(max-width:899px) {
 .app-shell { padding-left:0; }
 .app-shell #app-sidebar { display:none; width:min(300px,85vw); }
 .app-shell #app-topbar { display:flex; align-items:center; gap:12px; padding:12px 16px; background:var(--surface); border-bottom:1px solid var(--line); }
 .app-shell .topbar-section { margin-left:auto; font-size:13px; }
 .app-shell .drawer-open { overflow:hidden; }
 .app-shell.drawer-open { overflow:hidden; }
 .app-shell.drawer-open #app-sidebar { display:flex; }
 .app-shell.drawer-open #drawer-backdrop { display:block; position:fixed; inset:0; z-index:79; background:#10251b80; border:0; width:100%; height:100%; }
 .app-shell .side-close { display:inline-flex; margin-left:auto; }
 .app-shell .side-top { display:flex; align-items:center; gap:6px; }
 .app-shell #main .container { padding:24px 16px; }
 .header-inner { flex-wrap:wrap; gap:12px; }
 .header-inner .site-nav { order:3; width:100%; flex-wrap:wrap; }
}
@media(prefers-reduced-motion:reduce) { #app-sidebar { transition:none; } }
/* Real authentication uses the selected /start composition with actual account controls. */
body.auth-page { font-family: 'Inter', system-ui, sans-serif; background:#fff; --ink:#202d27; --muted:#627168; --line:#e2e8e3; --line-strong:#7c8e81; --surface:#fff; }
body.auth-page > #site-header, body.auth-page > #site-footer { display:none; }
.auth-layout { font-size:14px; }
.auth-layout h1 { margin:0; }
.auth-layout .ds-brand { color:#fff; }
.auth-layout .ds-signup-benefit small { line-height:1.6; }
.auth-layout .auth-content { max-width:432px; margin:64px auto 0; }
.auth-layout .auth-content > h2 { font-size:34px; line-height:1.2; margin:16px 0; font-weight:600; }
.auth-layout .auth-content > p { margin-block:16px; }
.auth-layout .auth-fields { border:0; padding:0; background:transparent; }
.auth-layout form { max-width:none; margin:0; }
.auth-layout .auth-fields label { display:block; margin-top:18px; }
.auth-layout input { min-height:44px; width:100%; }
.auth-layout .actions { margin-top:20px; }
.auth-layout .actions .btn, .auth-layout .google-signin-button { width:100%; justify-content:center; }
.auth-layout .auth-google { margin-top:24px; }
.auth-layout .auth-google .hint { font-size:12px; margin:8px 0; }
.auth-layout .auth-divider { text-align:center; font-size:12px; color:var(--muted); border-block-start:1px solid var(--line); padding-top:16px; }
.auth-layout .hint { font-size:12px; line-height:1.6; }
.auth-layout .auth-sso { border-top:1px solid var(--line); margin-top:24px; padding-top:16px; }
.auth-layout summary { font-size:13px; cursor:pointer; }
.auth-layout .auth-sso button { margin-top:12px; }
.auth-layout .auth-legal { display:flex; flex-wrap:wrap; gap:16px; margin-top:28px; font-size:12px; }
.auth-layout a:focus-visible, .auth-layout summary:focus-visible, .auth-layout button:focus-visible { outline:3px solid #538cbd; outline-offset:4px; }
.auth-layout .ds-signin-link { font-size:12px; }
@media(max-width:760px) {
 .auth-layout > aside { padding:24px; gap:12px; }
 .auth-layout > aside > .ds-eyebrow, .auth-layout > aside > p:not(.ds-eyebrow) { display:none; }
 .auth-layout > aside > h1 { font-size:28px; line-height:1.2; }
 .auth-layout > section { padding:24px; }
 .auth-layout .auth-content { margin:28px auto 0; }
 .auth-layout .auth-content > h2 { font-size:28px; }
 .auth-layout .ds-signin-link { text-align:left; margin:0; }
}

/* ---- Shared shell, matched to the demo's hierarchy (9 November 2026) ----
   Type scale: switcher trigger, product names and workspace name 15px/600; navigation 15px/500 (600 when
   current); section labels 12px/600 uppercase; descriptions 13px/400; "Current" 12px/600. Dashboard pages
   share one header: an uppercase eyebrow, a 32px/680 title and the page's actions. Form builder and
   respondent typography are separate and not set here. */
.side-workspace { display:grid; grid-template-columns:32px minmax(0,1fr); align-items:center; gap:10px; margin:12px 0 4px; padding:10px 12px; }
.side-workspace-avatar { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--surface); border:1px solid var(--line); font-size:0.75rem; font-weight:650; color:var(--ink); }
.side-workspace-text { min-width:0; }
.side-workspace-name { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; font-size:0.9375rem; font-weight:600; line-height:1.3; overflow-wrap:anywhere; }
.side-workspace select { margin-top:2px; min-height:36px; font-size:0.9375rem; font-weight:600; width:100%; text-overflow:ellipsis; }
.side-group { margin:20px 10px 6px; font-size:0.75rem; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:var(--muted); }
.side-link { border-left:0; font-weight:500; }
.side-link[aria-current=page] { color:var(--accent); font-weight:600; }
.side-workspace-toggle { display:-webkit-box; width:100%; padding:0; border:0; background:none; color:var(--ink); font:inherit; font-size:0.9375rem; font-weight:600; text-align:left; cursor:pointer; border-radius:4px; }
.side-workspace-toggle.is-expanded { display:block; -webkit-line-clamp:unset; overflow:visible; }
.side-workspace-toggle:focus-visible { outline:3px solid var(--focus); outline-offset:2px; }
/* "Schedora apps" floats over the sidebar, so opening it never moves the workspace or navigation. */
.side-apps { position:relative; }
.side-apps-toggle { min-height:44px; font-size:0.9375rem; font-weight:600; }
.side-apps-panel { position:absolute; left:0; right:0; top:calc(100% + 6px); z-index:5; margin:0; max-height:min(72vh, calc(100dvh - 150px)); overflow-y:auto; overscroll-behavior:contain; box-shadow:0 12px 32px #10251b29; }
.side-app { gap:12px; padding:10px; border-left:3px solid transparent; }
.side-app[data-app] { border-left-color:transparent; }
.side-app[aria-current] { background:var(--accent-tint); border-left-color:var(--accent); }
.side-app > img { width:24px; height:24px; }
.side-app strong { font-size:0.9375rem; font-weight:600; }
.side-app small { margin-top:2px; font-size:0.8125rem; font-weight:400; line-height:1.4; }
.side-app-current { display:inline-block; margin-left:6px; padding:1px 7px; border-radius:99px; background:var(--surface); font-size:0.75rem; font-weight:600; color:var(--accent); vertical-align:1px; }
.side-apps-note { font-size:0.8125rem; }
/* Dashboard header shared by Forms, Meet and Flow. */
.app-shell .page-head { display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:12px 16px; margin-bottom:20px; }
.app-shell .page-head-text { min-width:0; flex:1 1 320px; }
.app-shell .page-eyebrow { margin:0 0 6px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:0.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
.app-shell .page-head h1 { margin:0; font-size:2rem; font-weight:680; line-height:1.15; letter-spacing:-0.02em; }
@media(max-width:899px) { .app-shell .page-head h1 { font-size:1.625rem; } .side-apps-panel { max-height:calc(100dvh - 140px); } }
