  /* ---------- login ---------- */
  #login-view .login-card, #verify-view .login-card { justify-content: flex-start; }
  .login-card {
    width: 100%; max-width: 360px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
    padding: 28px; display: flex; flex-direction: column; gap: 14px;
  }
  .login-card h1 { font-size: 20px; }
  .login-card p { margin: 0; color: var(--text-muted); font-size: 13px; }
  .login-card p.signin-lead { font-size: 12.5px; }
  .login-card .forgot-link { align-self: flex-end; font-size: 12.5px; margin-top: 2px; }
  #login-form .login-msg { min-height: 52px; display: flex; flex-direction: column; justify-content: center; }   /* room for a message, kept free */
  #login-form .login-note { font-size: 13px; font-weight: 500; color: var(--text); padding: 6px 10px; border-radius: 6px; }
  #login-view #login-form { gap: 7px; }   /* closer together, so the kept room costs no height: the row stays as tall as before */
  #login-view #login-form .google-or { gap: 5px; }
  /* one height for the boxes and buttons in the row's two forms (sign in, Ask Sum 1): Google's 40px */
  #login-view #login-form input, #login-view #login-form .btn-primary, .ask-guest .ag-row input, .ask-guest .ag-send, .ask-guest .ag-clear { height: 40px; box-sizing: border-box; }
  #login-view #login-form input:focus, .ask-guest .ag-row input:focus { outline-offset: -2px; }   /* the focus ring inside the box, so a box with the cursor doesn't look bigger than the others */
  #login-form .login-new { text-align: right; }   /* New here? at the right, as Forgot password? above it */
  #login-form .label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }   /* Forgot password? on the Password label's line */
  #login-form .label-row .forgot-link { margin: 0; }
  .login-card .reset-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }   /* "Sign in with your registered email." on one line */

  /* ---------- page frame: the banner, then the screen ---------- */
  /* The scroll bar's room is always kept: a page short enough to lose it (a visitor's try)
     would otherwise shift the whole page sideways by its width, and back again */
  html { scrollbar-gutter: stable; }
  .page {
    max-width: 1240px; margin: 0 auto; padding: 20px 20px 40px;
    display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); gap: 20px; align-items: start;
  }
  .frame-top { align-self: stretch; display: flex; }
  .frame-main { min-width: 0; }

  /* A shared desktop frame; each service keeps its natural content height. */
  @media (min-width: 761px) {
    .page.in-studio > .frame-left:not(.frame-top) { align-self: stretch; display: flex; flex-direction: column; }
    .page.in-studio > .frame-left:not(.frame-top) > .sidebar { flex: 1; position: static; }
    .page.in-studio > .frame-main { align-self: stretch; display: flex; flex-direction: column; }
    .page.in-studio #app-view { flex: 1; display: flex; flex-direction: column; }
    .page.in-studio #app-view > main { flex: 1; min-height: calc(100dvh - 180px); }
    /* A visitor trying a service (three columns): the grey box runs down to the AI Studio card's foot */
    .page.visitor:not(.lobby-stack) > .frame-main { align-self: stretch; display: flex; flex-direction: column; }
    .page.visitor:not(.lobby-stack) #app-view { flex: 1; display: flex; flex-direction: column; }
    .page.visitor:not(.lobby-stack) #app-view > main { flex: 1; }
  }
  /* The service area (signed in, or a visitor's try): a green-to-blue strip along its top, the
     banner's teal into the Back button's blue -- the partner of the gold one on the left */
  .page.in-studio #app-view > main, .page.visitor #app-view > main, #about-view, #pick-view, #confirm-view, #tour-view {
    border-top: 4px solid transparent; border-color: var(--border); border-top-color: transparent;
    background: linear-gradient(var(--surface-alt), var(--surface-alt)) padding-box, linear-gradient(90deg, #1f8f8a, #3b5bab) border-box;
  }
  /* the home lab before sign-in, and the first sign-in's three steps: the same frame as a service being tried (main's box) */
  #about-view, #pick-view, #confirm-view, #tour-view { border-style: solid; border-width: 4px 1px 1px; border-radius: 16px; padding: 18px; }
  @media (max-width: 760px) { #about-view, #pick-view, #confirm-view, #tour-view { padding: 14px; } }
  /* ...and the left column ends there: AI trends and Get in touch wait until Back */
  .page.visitor #trends-card, .page.visitor #connect-card { display: none; }

  /* The left column is always there. Outside the Studio it holds the
     important notice; in the Studio, My services and the service menu. */
  .page.in-studio .frame-left > .notice, .page.in-studio .frame-left > .lobby-left,
  .page:not(.in-studio) .frame-left > :not(.notice):not(.lobby-left) { display: none; }
  .page.onboarding .frame-left > .notice-body { display: none; }   /* the first sign-in setup: the sign-in pages' left column only */
  .notice-head {
    width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
    background: var(--notice-bg); border: 1px solid var(--notice-border); color: var(--notice-text);
    font-family: "Sora", sans-serif; font-weight: 600; font-size: 15px;
  }
  .notice-head svg { width: 22px; height: 22px; flex-shrink: 0; align-self: flex-start; margin-top: 1px; }   /* on the title's line */
  /* the status dot sits in the icon's column, under the sign, so its words line up with "Please read" */
  .notice-head .svc-status { position: relative; }
  .notice-head .svc-status::before { position: absolute; left: -26px; top: calc(0.5lh - 4.5px); margin: 0; }   /* centred under the warning sign */
  /* "● 9 of 12 AI services are online now" under the title: green all, half green and half red some
     (as the menu's legend), red none */
  .notice-title { display: flex; flex-direction: column; gap: 2px; }
  .services-btn .svc-status { font-size: 11.5px; line-height: 1.45; }
  .notice-read { font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 12px; font-weight: 500; color: var(--text); margin-top: 7px; }
  .notice-read + .svc-status { margin-top: 7px; }
  /* Share the Studio: the phone's share sheet, or the link copied (nothing is sent from here) */
  .notice-share { font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 12px; font-weight: 500; color: var(--text); margin-top: 7px; border-radius: 6px; }
  .notice-share-btn, .svc-status a.svc-book, .notice-read a { all: unset; cursor: pointer; color: #315bb5; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }   /* the sign-in page's blue link */
  :root[data-theme="dark"] .notice-share-btn, :root[data-theme="dark"] .notice-read a, :root[data-theme="dark"] .svc-status a.svc-book { color: #a8c2ff; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .notice-share-btn, :root:not([data-theme="light"]) .notice-read a, :root:not([data-theme="light"]) .svc-status a.svc-book { color: #a8c2ff; } }
  .notice-share + .svc-status { margin-top: 7px; }
  .notice-share-btn:focus-visible, .notice-read a:focus-visible, .svc-status a.svc-book:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }   /* a line's space between the heading, the note and the status */
  .svc-status { font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 12px; font-weight: 500; color: var(--text-muted); cursor: default; }
  .svc-status::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: middle; background: #1f9c5a; }
  .svc-status.some::before { background: linear-gradient(90deg, #1f9c5a 50%, #d64545 50%); }   /* some online, some offline: as the menu */
  .svc-status.none::before { background: var(--error); }
  .notice-body {
    background: var(--surface); border: 1px solid var(--notice-border); border-radius: 14px;
    padding: 14px 16px; font-size: 13px; line-height: 1.55; color: var(--text-muted); position: sticky; top: 20px;
  }
  .notice-body p { margin: 0 0 10px; }
  .notice-body .notice-heading { margin: 0 0 10px; font-size: 18px; }   /* like "What you can do here" beside it */
  .notice-body p:last-child { margin-bottom: 0; }
  .notice-body strong { color: var(--text); font-weight: 600; }
  .lab, .legend { gap: 10px; }
  .lab h3, .legend h3 { font-family: "Sora", sans-serif; font-size: 15px; margin: 14px 0 2px; }
  .lab p, .legend p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text-muted); }
  .lab b, .legend b { color: var(--text); font-weight: 600; }
  .lab .lab-lede, .legend .lab-lede { font-size: 14.5px; color: var(--text); }
  .legend .lg-row { display: inline-flex; align-items: center; gap: 10px; }
  /* The page at a glance: wireframes of the Studio and the sign-in pages, in the page's own colours */
  .legend .wire { margin: 0 0 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 10px 12px 12px; overflow-x: auto; }
  .legend .wire figcaption { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
  .legend .wire svg { display: block; width: 100%; min-width: 560px; height: auto; }
  .legend .wire .wf { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.3; }
  .legend .wire .wf.hi { fill: color-mix(in srgb, var(--accent) 6%, var(--surface)); stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: 1.6; }
  .legend .wire .wf.note { fill: var(--notice-bg); stroke: var(--notice-border); stroke-width: 1.6; }
  .legend .wire .wf.col { fill: none; stroke: var(--border-strong); stroke-dasharray: 5 4; }
  .legend .wire .wf.in { fill: var(--surface-alt); }
  .legend .wire .wf.form { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }
  .legend .wire .wf.btn { fill: var(--surface-alt); }
  .legend .wire text { font-family: "IBM Plex Sans", sans-serif; }
  .legend .wire .wl { font-family: "Sora", sans-serif; font-weight: 600; font-size: 13px; fill: var(--text); }
  .legend .wire .ws { font-size: 11px; fill: var(--text-muted); }
  .legend .wire .wa { font-size: 11px; fill: var(--accent-strong); font-weight: 600; }
  .legend .wire .wmoon { fill: none; stroke: var(--text-muted); stroke-width: 1.4; }
  .legend .wire .wc { font-size: 10px; font-weight: 700; letter-spacing: .08em; fill: var(--text-faint); }
  .legend .lg-three td:first-child, .legend .lg-three td:nth-child(2) { white-space: nowrap; width: 1%; }
  .legend .lg-row .cap-icon { width: 26px; height: 26px; border-radius: 8px; }
  .legend .lg-row .cap-icon svg { width: 15px; height: 15px; }
  .legend .lg-row .session-mark, .legend .lg-row .lock { display: inline-grid; place-items: center; margin: 0; }
  .legend .lg-row .session-mark svg, .legend .lg-row .lock svg { width: 16px; height: 16px; stroke-width: 2.4; }
  .legend .lg-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
  .legend .lg-dot.none { background: transparent; box-shadow: inset 0 0 0 1.5px var(--text-faint); }   /* no dot: an empty circle */
  .legend .lg-marks .lg-mark { width: 1%; white-space: nowrap; text-align: center; }
  .legend .lg-marks .lg-mark .session-mark { display: inline-grid; place-items: center; margin: 0; }
  .legend .lg-marks .lg-mark .session-mark svg { width: 16px; height: 16px; stroke-width: 2.4; }
  .legend .lg-marks th[scope=row] { white-space: nowrap; width: 1%; }
  .legend .lg-marks .lg-mark .cap-icon { width: 26px; height: 26px; border-radius: 8px; vertical-align: middle; }
  .legend .lg-marks .lg-mark .cap-icon svg { width: 15px; height: 15px; }
  .legend .lg-parts th[scope=row] { white-space: nowrap; width: 1%; }
  .legend .lg-note { font-size: 13px; color: var(--text-muted); margin: 8px 0 0; line-height: 1.55; }
  /* First sign-in setup */
  /* amber, fading in, so it's the first thing read on the page */
  .pick-steps { padding: 12px 16px; border: 1px solid var(--notice-border); border-left: 4px solid var(--notice-border); border-radius: 12px; background: var(--notice-bg); color: var(--notice-text); font-size: 13.5px; line-height: 1.5; animation: pick-in .9s ease-out both; }
  .onboard-card .pick-steps .pick-lead { color: inherit; margin: 0 0 4px; font-weight: 700; font-size: 14.5px; }
  .pick-steps ol, .pick-steps ul { margin: 0; padding-left: 20px; display: grid; gap: 2px; }
  .pick-steps b { color: inherit; }
  @keyframes pick-in { from { opacity: 0; transform: translateY(-6px); box-shadow: 0 0 0 6px var(--notice-border); } to { opacity: 1; transform: none; box-shadow: 0 0 0 0 transparent; } }
  @media (prefers-reduced-motion: reduce) { .pick-steps { animation: none; } }
  .setup-step { flex-wrap: wrap; row-gap: 6px; white-space: nowrap; }
  .setup-step .step-chip, .setup-step .setup-skip { white-space: nowrap; }
  @media (max-width: 560px) { .onboard-card .setup-step { font-size: 19px; } }
  .tour-wire { margin-top: 4px; }
  .tour-wire .wire { margin: 0; }
  .setup-step .setup-nav { margin-left: auto; display: inline-flex; gap: 8px; font-family: "IBM Plex Sans", sans-serif; }   /* Back and Next, top right */
  .setup-step .setup-nav button { font-size: 13px; font-weight: 600; white-space: nowrap; }
  @media (max-width: 560px) { .setup-step .setup-nav { flex-wrap: wrap; justify-content: flex-end; } .setup-step .setup-nav button { white-space: normal; } }
  .onboard-card .pick-steps p { color: inherit; margin: 0; }
  .setup-step .setup-skip { margin-left: auto; font-family: "IBM Plex Sans", sans-serif; font-size: 13px; font-weight: 600; }   /* top right, on the Step 1 of 3 line */
  .pick-go { display: inline-flex; align-items: center; gap: 12px; }
  /* The setup pages' headings cascade: Getting set up (the page), then the question, then the list's group labels */
  .onboard-card .setup-step, .setup-step { margin: 0 0 6px; display: flex; align-items: center; gap: 10px; font-family: "Sora", sans-serif; font-size: 22px; font-weight: 700; color: var(--text); }
  .setup-step .step-chip { font-family: "IBM Plex Sans", sans-serif; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); background: var(--accent-soft, rgba(31,138,80,.1)); border-radius: 999px; padding: 3px 10px; }
  #pick-view .onboard-card h1, #confirm-view .onboard-card h1, #tour-view .onboard-card h1 { font-size: 17px; font-weight: 600; margin-top: 4px; }   /* under the amber box: the question, the result, the tour */
  #pick-view .service-group-label { font-size: 12px; color: var(--text-muted); }
  .tour-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 6px 0 4px; }
  @media (max-width: 760px) { .tour-grid { grid-template-columns: minmax(0, 1fr); } }
  .tour-card { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--border); border-radius: 14px; padding: 14px; background: var(--surface); }
  .tour-card b { font-family: "Sora", sans-serif; font-size: 14px; }
  .tour-card p { margin: 4px 0 0; font-size: 13px; line-height: 1.55; color: var(--text-muted); }
  .tour-card i { font-style: normal; font-weight: 600; color: var(--text); }
  .tour-card > .cap-icon { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; }
  .tour-card > .cap-icon svg { width: 18px; height: 18px; }
  .tour-marks { display: grid; grid-template-columns: repeat(2, 12px); gap: 6px; align-items: center; justify-items: center; flex-shrink: 0; padding: 4px; }
  .tour-marks .lg-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
  .tour-marks svg { width: 16px; height: 16px; stroke-width: 2.4; } .tour-marks .session-mark { margin: 0; }
  .refresh-mine { padding: 5px 12px; font-size: 12px; text-transform: none; letter-spacing: 0; }
  .lab-table-wrap { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
  .lab-table { width: 100%; border-collapse: collapse; font-size: 13px; }
  .lab-table th, .lab-table td { text-align: left; vertical-align: top; padding: 11px 14px; border-top: 1px solid var(--border); }
  .lab-table thead th { border-top: 0; background: var(--surface-alt); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
  .lab-table tbody th { font-family: "Sora", sans-serif; font-weight: 600; font-size: 13.5px; color: var(--accent-strong); white-space: nowrap; }
  .lab-table td b { display: block; }
  .lab-what { display: block; color: var(--text-muted); font-size: 12.5px; margin-top: 2px; }
  .lab-caps span { display: inline-block; margin: 0 4px 4px 0; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-weight: 500; }
  .lab-caps span.all { background: var(--surface-alt); color: var(--text-muted); }
  @media (max-width: 760px) {
    /* phones: each row becomes a small card */
    .lab-table thead { display: none; }
    .lab-table, .lab-table tbody, .lab-table tr, .lab-table th, .lab-table td { display: block; width: 100%; }
    .lab-table tr { border-top: 1px solid var(--border); padding: 10px 12px; }
    .lab-table tr:first-child { border-top: 0; }
    .lab-table th, .lab-table td { border: 0; padding: 2px 0; }
    .lab-table td.lab-caps { padding-top: 6px; }
  }
  .lab-steps { margin: 0; padding-left: 20px; font-size: 13.5px; line-height: 1.7; color: var(--text-muted); }
  .lab i, .legend i { font-style: normal; font-weight: 600; color: var(--accent-strong); }
  /* Your visit, step by step: one box, a bullet per step, the services indented under it. */
  .journey { border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px 12px 4px; background: var(--surface-alt); }
  .journey ul { margin: 0; padding-left: 22px; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
  .journey > ul > li { margin: 5px 0; }
  .journey > ul > li::marker { color: var(--accent-strong); }
  .journey ul ul { margin: 4px 0 2px; padding-left: 22px; list-style: circle; font-size: 12.5px; }
  .journey ul ul li { margin: 2px 0; }
  .lab .flow-note { font-size: 12.5px; margin-top: 8px; }
  .flow-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; font-size: 12.5px; color: var(--text-muted); }
  .flow-line > span { position: relative; padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-alt); }
  .flow-line > span + span { margin-left: 24px; }
  .flow-line > span + span::before { content: "→"; position: absolute; left: -18px; top: 50%; transform: translateY(-50%); color: var(--text-faint); }
  .lab-chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .lab-chips span { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--surface-alt); border: 1px solid var(--border); color: var(--text-muted); }
  .built { display: flex; flex-direction: column; gap: 10px; }
  .built-row { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 10px; align-items: baseline; }
  .built-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); padding-top: 4px; }
  @media (max-width: 600px) { .built-row { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
  /* How the system is wired: one drawing, coloured from the page's own tokens (both themes) */
  .lab-arch { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
  .lab-arch svg { display: block; width: 100%; min-width: 640px; height: auto; }
  .lab-arch text { font-family: "IBM Plex Sans", sans-serif; fill: var(--text); font-size: 12.5px; }
  .lab-arch .at { font-family: "Sora", sans-serif; font-weight: 600; font-size: 14px; }
  .lab-arch .as { fill: var(--text-muted); font-size: 12px; }
  .lab-arch .ag { fill: var(--text-faint); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; }
  .lab-arch .ab { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.4; }
  .lab-arch .ab.on { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.8; }
  .lab-arch .ab.gpu { fill: var(--surface-alt); }
  .lab-arch .ac { fill: var(--surface); stroke: var(--border); stroke-width: 1; }
  .lab-arch .acl { fill: none; stroke: var(--text-faint); stroke-width: 1.4; stroke-dasharray: 6 5; }
  .lab-arch .ac.vm { stroke-dasharray: 4 3; stroke: var(--text-muted); }
  .lab-arch .ab.zone { fill: var(--surface); stroke: var(--border-strong); }
  .lab-arch .ab.k { fill: var(--surface-alt); stroke: var(--text-muted); }
  .lab-arch .ab.plan { fill: var(--surface); stroke: var(--text-muted); stroke-dasharray: 5 4; }
  .lab-arch .aw.k { stroke: var(--text-faint); stroke-width: 1.2; stroke-dasharray: 3 3; }
  .lab-arch .ah.k { fill: var(--text-faint); }
  .lab-arch .aw { fill: none; stroke: var(--text-muted); stroke-width: 1.6; }
  .lab-arch .aw.on { stroke: var(--accent); stroke-width: 2; }
  .lab-arch .ah { fill: var(--text-muted); } .lab-arch .ah.on { fill: var(--accent); }
  .sys-arch { border: 0; background: none; overflow: visible; }
  .sys-arch svg { min-width: 0; }
  .lab-arch .num { font-family: "IBM Plex Sans", sans-serif; font-weight: 400; font-size: 12px; fill: var(--text-muted); }
  .lab-arch .ab.client { fill: color-mix(in srgb, #f08a24 10%, var(--surface)); stroke: color-mix(in srgb, #f08a24 60%, transparent); }   /* orange (owner 2026-11-04): apart from the good cop's blue */
  .lab-arch .ab.cop    { fill: color-mix(in srgb, #1f8fe0 10%, var(--surface)); stroke: color-mix(in srgb, #1f8fe0 55%, transparent); }
  .lab-arch .ab.door   { fill: color-mix(in srgb, #e5484d 9%, var(--surface)); stroke: color-mix(in srgb, #e5484d 50%, transparent); }
  .lab-arch .ab.stage  { fill: color-mix(in srgb, #0aa3c2 12%, var(--surface)); stroke: color-mix(in srgb, #0891b2 55%, transparent); }   /* cyan (owner 2026-11-04) */
  .lab-arch .ab.change { fill: color-mix(in srgb, #7c5cff 9%, var(--surface)); stroke: color-mix(in srgb, #7c5cff 45%, transparent); }
  .lab-arch .ab.backup { fill: color-mix(in srgb, #19a974 9%, var(--surface)); stroke: color-mix(in srgb, #19a974 45%, transparent); }
  .sys-arch .ab.gpu    { fill: color-mix(in srgb, #d6409f 8%, var(--surface)); stroke: color-mix(in srgb, #d6409f 45%, transparent); }   /* the model servers, apart from the conductor's grey */
  .lab-arch .lan { fill: none; stroke: var(--text-muted); stroke-width: 1.4; }
  .lab-arch .router circle { fill: var(--surface-alt); stroke: var(--text-muted); stroke-width: 1.6; }
  .lab-arch .router path { fill: none; stroke: var(--text-muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  #lab-arch-slot .sys-arch svg { max-width: 560px; margin: 0 auto; }
  .lab-table .lab-num { font-weight: 400; color: var(--text-muted); white-space: nowrap; }
  .lab .lab-contact { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--text); }
  .lab a { color: var(--accent-strong); font-weight: 600; }
  #about-view { display: flex; flex-direction: column; gap: 12px; }
  #about-view[hidden] { display: none; }
  .about-back { display: flex; }
  .about-back:empty { display: none; }   /* its Back sits on the page's heading line while shown */
  #about-slot .panel.lab > .panel-title { display: flex; align-items: center; gap: 8px; }
  [data-panel="lab"] #about-back { display: none; }   /* never inside the Studio, signed in */
  #about-back { margin-left: auto; white-space: nowrap; text-transform: none; letter-spacing: normal; font-family: "IBM Plex Sans", sans-serif; }   /* right on the heading line; looks like the try page's Back (.vb-back) */
  .notice-body .notice-about { border-top: 1px solid var(--notice-border); padding-top: 10px; }
  .notice-body a { color: var(--accent-strong); font-weight: 600; }
  @media (max-width: 760px) {
    .page { grid-template-columns: minmax(0, 1fr); }
    .notice-head { padding: 8px 12px; font-size: 14px; }
    .notice-body { position: static; padding: 12px 14px; }
    .frame-top { order: 1; }        /* phones: banner, left column (notice, or My services and menu), screen */
    .page > .frame-left:not(.frame-top) { order: 2; }
    .frame-main { order: 3; }
  }
  .site-banner {
    display: flex; align-items: center; gap: 12px; padding: 20px 24px; border-radius: 16px; min-width: 0;
    background: #1f8f8a url("../banner.svg?v=2.80.2") center / cover no-repeat; color: #fff;   /* the green banner (back, owner 2026-11-04): until the banner picture has loaded; ?v= changes with a new banner, so browsers fetch it (the picture has no no-cache rule) */
    position: relative; overflow: hidden;
    min-height: 120px;   /* the top row's height everywhere: My services with its rows and My services (request more services) fits; the banner stretches to it */
  }
  .site-banner { align-self: stretch; }   /* as tall as the AI services box beside it */
  .site-banner > * { position: relative; z-index: 1; }
  /* The model drawings, oldest to newest, in the title's row (from just above it to its
     foot): from the end of the title to the mode button, or to the buttons when they show
     (--art-*, set by script). Drawn in the page, so the lines stay crisp at any size. */
  .site-banner > .banner-art { position: absolute; z-index: 0; top: var(--art-top, 8px); bottom: var(--art-bottom, 50%); right: var(--art-right, 18px); left: var(--art-left, 55%);
    width: calc(100% - var(--art-left, 55%) - var(--art-right, 18px)); height: calc(100% - var(--art-top, 8px) - var(--art-bottom, 50%));
    overflow: visible; pointer-events: none; }
  .banner-art .art { fill: none; stroke: #eef4f5; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; opacity: .5; pointer-events: bounding-box; }
  .banner-art .art * { vector-effect: non-scaling-stroke; }
  .banner-art .thin { stroke-width: 1; }
  .banner-art .fill { fill: #eef4f5; fill-opacity: .3; }
  .banner-art .dot { fill: #eef4f5; stroke: none; }
  .banner-art .art:hover { opacity: .9; }   /* hover names it (its title) */
  /* Once, the first time the page loads in a tab: each drawing brightens in place and settles
     back, left to right -- how the models came, one after another. */
  .banner-art.wave .art { animation: art-wave 2.8s ease-in-out both; animation-delay: calc(.6s + var(--i) * .85s); }
  @keyframes art-wave { 0%, 100% { opacity: .5; } 40% { opacity: 1; } }
  .site-banner.art-off > .banner-art { display: none; }   /* too little room to show them properly */
  @media (max-width: 600px) { .site-banner > .banner-art { display: none; } }
  .site-banner .brand-mark { width: 52px; height: 52px; border-radius: 13px; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
  .banner-copy { min-width: 0; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
  .banner-copy h1 { font-size: 24px; white-space: nowrap; }   /* one line: the drawings sit beside it */
  .banner-copy p { margin: 4px 0 0; font-size: 13px; opacity: .95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .site-banner .theme-btn { align-self: flex-end; margin-left: 4px; flex-shrink: 0;   /* with the banner's 12px gap: Sign out sits 16px from each neighbour */ width: 34px; height: 34px; display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.14); color: #fff; border-radius: 8px; cursor: pointer; padding: 0; }
  .site-banner .theme-btn:hover { background: rgba(255,255,255,.28); }
  .banner-actions[hidden] ~ .banner-corner .theme-btn { margin-left: auto; }
  /* Signed out, only the mode button shows (the envelope and Admin are for signed-in people) */
  .banner-actions[hidden] ~ .banner-corner .msg-btn, .banner-actions[hidden] ~ .banner-corner #admin-link, .banner-actions[hidden] ~ .banner-corner #app-pick { display: none; }
  /* The top line, on the right: the envelope, the mode button and (admins) Admin. Signed out and on
     phones the corner isn't a box of its own: its buttons sit in the banner as before. */
  .banner-corner { display: contents; }
  .banner-corner #admin-link { height: 34px; padding: 0 13px; }
  /* Admins: the app picker (our other apps, each in a new tab): Select the app, then Go */
  .app-pick { display: inline-flex; gap: 8px; flex: 1 1 auto; }
  .app-pick[hidden] { display: none; }
  .app-pick .app-select { flex: 1 1 auto; min-width: 150px; height: 34px; margin: 0; border: 1px solid rgba(255,255,255,.6); border-radius: 8px; cursor: pointer;
    background: rgba(255,255,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 11px center / 11px 8px;
    color: #fff; font: inherit; font-size: 13px; font-weight: 500; padding: 0 32px 0 12px; appearance: none; -webkit-appearance: none; }
  .app-pick .app-select:hover { background-color: rgba(255,255,255,.28); }
  .app-pick .app-select option { color: #1d2533; background: #fff; }
  .app-pick .app-go { height: 34px; padding: 0 16px; }
  .app-pick .app-go:not(:disabled) { color: #ffe082; }   /* an app picked: Go in Admin's colour */
  .app-pick .app-go:disabled { opacity: .55; cursor: default; }
  .app-pick .app-go:disabled:hover { background: rgba(255,255,255,.14); }
  @media (min-width: 761px) {
    /* the corner on its own line at the top right, signed in or not. Signed in: the drawings below
       it, the buttons' row below them; the banner grows so the drawings keep their size (3 rows:
       14 + 34 + 6 + 43 + 6 + 34 + 20). Signed out: the same height, the title, tagline and
       drawings where they always were (centred), the mode button alone in the corner. */
    .site-banner { min-height: 158px; }
    .site-banner > :is(.brand-mark, .banner-copy) { top: 2px; }   /* the logo, title and tagline (and the drawings, which follow the title) 2px lower; the buttons stay */
    .banner-corner { display: flex; gap: 8px; position: absolute; top: 14px; right: 24px; z-index: 2; }
    .banner-corner .theme-btn { align-self: auto; margin-left: 0; }
    /* computers: Admin, Career site and Recruiter site on the top line, before the envelope (the owner's choice; in the
       buttons' row they cut the welcome short) */
    #admin-link-row, #app-pick-row { display: none; }
    /* the buttons' row starts and ends level with the top line when that is the wider (admins; --row-width, set by
       script): the extra room shared out among the buttons (the owner's choice) */
    .banner-actions { min-width: var(--row-width, 0); }
    .banner-actions .banner-link { flex: 1 0 auto; }
  }
  /* Messages: the envelope beside the mode button, with a red count of unread replies */
  .site-banner .msg-btn[hidden], .site-banner .msg-btn.in-row { display: none; }
  .site-banner .msg-btn { position: relative; flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; padding: 0;
    border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.14); color: #fff; border-radius: 8px; cursor: pointer; }
  .site-banner .msg-btn:hover, .site-banner .msg-btn.active { background: rgba(255,255,255,.28); }
  .site-banner .msg-btn svg { width: 17px; height: 17px; }
  .msg-count { position: absolute; top: -7px; right: -7px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 999px;
    background: #d93025; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px rgba(0,0,0,.15); }
  .site-banner .theme-btn svg { width: 17px; height: 17px; }
  /* Home (signed in): the house beside the envelope, the same look; the landing page, still signed in */
  .site-banner .home-btn { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; padding: 0;
    border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.14); color: #fff; border-radius: 8px; cursor: pointer; }
  .site-banner .home-btn:hover, .site-banner .home-btn.active { background: rgba(255,255,255,.28); }
  .site-banner .home-btn svg { width: 17px; height: 17px; }
  /* My settings: the gear, the house's look (its own class: the house's clicks open the home page); signed out: not shown */
  .site-banner .settings-btn { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; padding: 0;
    border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.14); color: #fff; border-radius: 8px; cursor: pointer; }
  .site-banner .settings-btn:hover, .site-banner .settings-btn.active { background: rgba(255,255,255,.28); }
  .site-banner .settings-btn svg { width: 17px; height: 17px; }
  .banner-actions[hidden] ~ .banner-corner .settings-btn { display: none; }
  .site-banner .home-btn.in-row, .banner-actions[hidden] ~ .banner-corner .home-btn { display: none; }
  /* on the home page the house becomes an arrow into a box: back into the Studio (the owner's choice) */
  .site-banner .home-btn .hb-back, .site-banner .home-btn.back > svg:first-child { display: none; }
  .site-banner .home-btn.back .hb-back { display: block; }
  /* the home page, signed in: the visitors' banner and the house beside the mode button, the one difference (back) */
  .page.home-view .site-banner .banner-corner .home-btn { display: grid; }
  .page.home-view .site-banner .theme-btn { margin-left: 0; }
  @media (min-width: 761px) { .page.home-view .banner-corner .home-btn { order: 0; } }
  /* the signed-in box in the sign-in box's place */
  .home-rows { display: flex; flex-direction: column; gap: 10px; margin: 2px 0 4px; font-size: 13px; }
  .home-rows .svc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .home-rows .link-btn { font-size: 12.5px; }
  .home-rows .home-next { text-align: right; }   /* your next booking: when, on the right */
  .home-rows .home-next.muted { color: var(--text-muted); font-size: 12.5px; }
  .banner-actions { margin-left: auto; display: flex; gap: 8px; flex-shrink: 0; align-self: flex-end; }   /* level with the second line, under the drawings */
  .banner-actions #signout-button { margin-left: 8px; }   /* a little apart from the others: the one not to hit by accident */
  .banner-link {
    border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.14); color: #fff;
    border-radius: 8px; padding: 7px 13px; font-size: 13px; font-weight: 500; cursor: pointer;
  }
  .banner-link:hover, .banner-link.active { background: rgba(255,255,255,.28); }
  /* Admin shares the banner controls' background, with gold text. */
  .admin-btn { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); color: #ffe082; font-weight: 700; }
  .admin-btn:hover { background: rgba(255,255,255,.28); }
  #services-request { color: #2563eb; }
  @media (max-width: 760px) {
    .site-banner { flex-wrap: wrap; padding: 14px 16px; gap: 12px; }
    .site-banner .brand-mark { width: 42px; height: 42px; }
    .banner-copy { flex: 1; }
    .banner-copy h1 { font-size: 20px; white-space: normal; }
    .banner-copy p { white-space: normal; }   /* one line on computers; phones wrap rather than cut it off */
    .banner-actions { margin-left: 0; width: 100%; flex-wrap: wrap; }
    /* two rows: My dashboard and My folder, then My bookings, Sign out and the envelope */
    .banner-actions .banner-link { flex: 1 1 40%; white-space: nowrap; }
    .banner-actions #sessions-link, .banner-actions #signout-button { flex-basis: 30%; }
    #msg-btn { display: none; }   /* phones: the envelope at the end of the buttons' row instead, so the title keeps its line */
    #home-btn { display: none; }   /* ... and the house beside it */
    .page.home-view .site-banner #home-btn { display: grid; order: 1; align-self: center; margin-left: auto; }   /* the home page: beside the mode button */
    .site-banner .home-btn.in-row { display: grid; flex: 0 0 auto; align-self: stretch; height: auto; min-height: 34px; margin-left: 0; }
    .site-banner #admin-link, .site-banner #app-pick { display: none; }
    .banner-actions #admin-link-row { order: -3; } .banner-actions #app-pick-row { order: -2; flex: 1 1 100%; }   /* Admin, then the app picker, first */   /* phones: Admin and My career first in the buttons' rows instead */
    .site-banner .msg-btn.in-row { display: grid; flex: 0 0 auto; align-self: stretch; height: auto; min-height: 34px; margin-left: 0; }
    .banner-actions #signout-button { margin-left: 0; }
    /* the mode button on the title's line, its right edge level with Sign out's; the buttons below */
    .site-banner .theme-btn { order: 1; align-self: center; margin-left: 0; }
    .banner-actions { order: 2; }
  }
  #jump-signin { display: none; }
  #login-view .login-card { scroll-margin-top: 12px; }   /* where "Sign in ↓" lands: a little space above the form */
  .page.lobby-stack:not(.in-studio):has(#login-view:not([hidden])) #jump-signin { display: block; order: 3; width: 100%; }
  .page.home-view #jump-signin { display: none !important; }   /* the home page, signed in: nothing to sign in to */

