html.ns-gp body:has(.ns-public-live-profile) { background: var(--ns-bg); color: var(--ns-text); }
body:has(.ns-public-live-profile) .landing-bg { display: none; }
body:has(.ns-public-live-profile) :is(.landing-header, .landing-footer) { background: var(--ns-bg); color: var(--ns-text); border-color: var(--ns-border); }
body:has(.ns-public-live-profile) :is(.landing-brand, .landing-link-btn) { color: var(--ns-text); }
body:has(.ns-public-live-profile) .landing-footer :is(a, p) { color: var(--ns-text-2); }
.ns-public-live-profile { max-width: 760px; margin: 0 auto; padding: 32px 24px; color: var(--ns-text, #202124); background: var(--ns-bg, #fff); font-family: var(--ns-font, system-ui, sans-serif); }
.ns-public-live-profile h1 { color: inherit; font-size: clamp(26px, 4vw, 36px); line-height: 1.2; margin-bottom: 16px; }
.ns-public-live-profile p, .ns-public-live-profile li { font-size: 16px; line-height: 1.6; }
.ns-public-live-profile__tagline { color: var(--ns-text-2, #5f6368); }
.ns-public-live-profile .btn { min-height: 44px; padding: 10px 20px; }
@media (max-width: 767.98px) { .ns-public-live-profile { padding: 24px 20px; } }
/* Line 17207 (agent_home_alive_kit): the agent's own home page. 375 first: the live host on top, then who it is, what it
   can do on this page and how to reach it. Light and dark come from the .ns-gp tokens. */
.ns-agent-home__stage { display: flex; justify-content: center; margin: 0 auto 16px; }
/* Line 26109 (agent_page_draws_offer): the offer card she draws joins this row in the flow when no side of her has room
   (a phone, a narrow tablet); the row stacks so the card sits centred below her and she keeps her size. */
.ns-agent-home__stage { flex-wrap: wrap; }
.ns-agent-home__stage:has(> .ns-offer-card) { flex-direction: column; align-items: center; }
.ns-agent-home__stage > .ns-offer-card { flex: 0 0 auto; }
.ns-agent-home__stage alive-agent { --alive-agent-size: min(300px, 78vw); color: var(--ns-text, #202124); }
/* Line 20932: the host's square is held from first paint. Until the kit's deferred script defines <alive-agent> it is an
   empty inline tag, and the page jumped about 300 px when it arrived (CLS 0.4 to 0.7). The box is the kit's own container
   box (alive-kit.js STYLE), so nothing moves when the kit takes over. */
.ns-agent-home__stage alive-agent:not(:defined) { display: block; position: relative; width: 100%; max-width: var(--alive-agent-size); aspect-ratio: 1 / 1; }
/* Her whole greeting, key question included: three caption lines in the container (the kit clamps two). */
.ns-agent-home__stage alive-agent[data-mode="container"] > .ak-face { inset: 0 0 4.3em 0; }
.ns-agent-home__stage alive-agent[data-mode="container"] > .ak-caption { -webkit-line-clamp: 3; line-height: 1.35; font-size: 15px; min-height: 4.05em; max-height: 4.05em; }
.ns-agent-home h1 { text-align: center; }
.ns-agent-home > .ns-public-live-profile__tagline { text-align: center; }
.ns-agent-home__section { margin: 24px 0; padding: 16px 20px; border: 1px solid var(--ns-border, rgba(60, 64, 67, .14)); border-radius: var(--ns-radius, 12px); background: var(--ns-card, #fff); }
.ns-agent-home__section h2 { font-size: 18px; line-height: 1.3; margin: 0 0 12px; color: var(--ns-text, #202124); }
.ns-agent-home__skills { margin: 0; padding-left: 20px; }
.ns-agent-home__skills li + li { margin-top: 6px; }
.ns-agent-home__contact, .ns-agent-home__socials { list-style: none; margin: 0; padding: 0; }
.ns-agent-home__contact li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 44px; }
.ns-agent-home__label { min-width: 56px; color: var(--ns-text-2, #5f6368); font-size: 14px; }
.ns-agent-home__contact a { overflow-wrap: anywhere; }
.ns-agent-home__socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ns-agent-home__socials a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ns-border-strong, rgba(60, 64, 67, .26)); border-radius: 22px; text-decoration: none; }
.ns-agent-home__section a { color: #1a73e8; }
.ns-agent-home__note, .ns-agent-home__empty { margin: 12px 0 0; color: var(--ns-text-2, #5f6368); font-size: 14px; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-ns-theme-switch])) .ns-agent-home__section a { color: #8ab4f8; } }
/* theme-twin:begin dark (derived from the @media block above by App\Support\Ui\ThemeTwins; edit that block, then run php scripts/ui/theme-twins.php) */
 :where(:root[data-ns-theme-switch][data-bs-theme="dark"]) .ns-agent-home__section a { color: #8ab4f8; } /* theme-twin:end */
@media (min-width: 768px) { .ns-agent-home__stage alive-agent { --alive-agent-size: 340px; } }
/* Line 30979 (try_chat_one_look_accounts_soon): a card's Try -> Chat lands on #try-chat (the host's stage, or the pane's chat
   section) below the fixed header, and the section's one button opens this agent's own Chat box. 375 first. */
.ns-agent-home [id="try-chat"] { scroll-margin-top: calc(var(--landing-header-height, 72px) + 16px); }
.ns-agent-home__try-chat-door .btn { width: 100%; }
@media (min-width: 768px) { .ns-agent-home__try-chat-door .btn { width: auto; } }
/* Line 30334: the kit draws its mono ASCII and sketch looks in pale ink made for a dark stage (#D7DFFB); on a light page the host's face box is the house's dark screen (CharactersFirst #101215), so the character in those looks reads. */
@media (prefers-color-scheme: light) { :where(:root:not([data-ns-theme-switch])) .ns-agent-home__stage alive-agent[data-mode="container"]:is([data-look="ascii"], [data-look="ascii-sketch-line"], [data-look="sketch-line"]) > .ak-face { background: #101215; border-radius: 24px; } }
/* theme-twin:begin light (derived from the @media block above by App\Support\Ui\ThemeTwins; edit that block, then run php scripts/ui/theme-twins.php) */
 :where(:root[data-ns-theme-switch][data-bs-theme="light"]) .ns-agent-home__stage alive-agent[data-mode="container"]:is([data-look="ascii"], [data-look="ascii-sketch-line"], [data-look="sketch-line"]) > .ak-face { background: #101215; border-radius: 24px; } /* theme-twin:end */
/* Line 33112: her own page leads with her face. Wearing her house container (the pane's aside, line 31752), the profile holds
   her room at the top of its article under 900 px, one screen tall (under the site's header, over its bottom bar), and
   js/agents/profile-face-first.js stands her container in it whole: her open look (house.css .sc-house--open: her face big at the
   top, her one menu and caption, her words, voice bar and input under her), placed over the room so her element never moves in
   the page. Her name, intro and typing card come below her. From 900 px she is the rail and the room is not drawn. */
.ns-public-live-profile__face-first { display: none; }
@media (max-width: 899.98px) {
    :root[data-ns-face-first] body:has(aside#ns-content-live-host.sc-house) .ns-public-live-profile__face-first {
        display: block; margin: -16px 0 16px;
        height: max(480px, calc(100svh - var(--ns-face-first-vtop, 52px) - var(--ns-gbar-h, 0px) - env(safe-area-inset-bottom, 0px)));
    }
    :root[data-ns-face-first="stage"] aside#ns-content-live-host.ns-fp.sc-house.sc-house--open[data-ns-face-first-stage] {
        position: absolute !important; top: var(--ns-face-first-top, 52px) !important; right: 0 !important; bottom: auto !important; left: 0 !important;
        width: auto !important; height: var(--ns-face-first-h, 480px) !important; z-index: 20 !important; padding: 0 !important;
        border: 0 !important; border-radius: 0 !important; box-shadow: none !important; transform: none !important;
    }
    /* her words scroll inside her (house.css); past their end the page scrolls on */
    :root[data-ns-face-first="stage"] aside#ns-content-live-host[data-ns-face-first-stage] .sc-sheet__body { overscroll-behavior: auto; }
}
