@font-face {
    font-family: 'Anton';
    src: url('fonts/Anton-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('fonts/SpaceGrotesk-Variable.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --cream: #F3EFE5;
    --ink: #090909;
    --accent-color: #3D5CE8;
    --accent-hover: #304AB9;
    --accent-rgb: 61, 92, 232;
    --panel: #090909;
    --surface: #171717;
    --input-surface: #111111;
    --surface-muted: #242422;
    --border-color: #3C3C39;
    --control-border: #77736C;
    --text-muted: #BCB9B2;
    --link-color: #B7C7FF;
    --display-accent: #6D8BFF;
    --page-pad: clamp(20px, 4.3vw, 72px);
    --danger-color: #FFAC98;
    --success-color: var(--link-color);
    --font-heading: 'Anton', Impact, sans-serif;
    --font-body: 'Space Grotesk', system-ui, sans-serif;
    --font-ui: var(--font-body);
    /* Color hook also used by existing booking confirmation markup. */
    --text-light: var(--cream);
    --transition-fast: 160ms;
    --radius-panel: 16px;
    --radius-control: 8px;
    --radius-composer: 12px;
    --radius-pill: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; }
body {
    min-height: 100vh;
    min-height: 100svh;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: var(--ink);
    color: var(--cream);
    font: 400 1rem/1.6 var(--font-body);
    -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--link-color); text-underline-offset: 3px; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button, .button, input, textarea { transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast); }
::selection { background: var(--accent-color); color: var(--cream); }
:focus-visible { outline: 2px solid var(--link-color); outline-offset: 4px; }
[hidden], .hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* The website's masthead, type and grid continue into the studio tools. */
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 12px 20px; background: var(--cream); color: var(--ink); }
.skip-link:focus { top: 12px; }
.site-header { width: 100%; padding: 0 var(--page-pad); border-bottom: 1px solid var(--border-color); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1120px; min-height: 88px; margin: 0 auto; }
.studio-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); text-decoration: none; flex-shrink: 0; }
.studio-brand img { display: block; width: 28px; height: 28px; }
.brand-name { font: 400 1.875rem/1 var(--font-heading); letter-spacing: -.015em; }
.brand-sub { font-size: .6875rem; font-weight: 500; letter-spacing: .055em; line-height: 1.5; }
.studio-nav { display: flex; align-items: center; gap: 28px; font-size: .875rem; font-weight: 500; }
.studio-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--cream); text-decoration: none; }
.studio-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.section-kicker { font-size: .6875rem; font-weight: 500; letter-spacing: .12em; color: var(--text-muted); }

/* One shared width and quiet, solid surfaces for chat and booking. */
.guide-container, .schedule-container {
    width: 100%;
    max-width: 1120px;
    background: var(--panel);
    border: 1px solid var(--border-color);
    border-radius: 0;
}

/* Chat: messages are the focus, with the composer always in the same column. */
.chat-page { height: 100dvh; min-height: 360px; }
.chat-page .site-header { flex-shrink: 0; }
.chat-page .site-header-inner { min-height: 76px; }
.guide-container {
    width: calc(100% - var(--page-pad) * 2);
    max-width: 760px;
    flex: 1;
    min-height: 0;
    margin: 24px 0 0;
    background: #10100F;
    border: 1px solid #2E2E2B;
    border-radius: var(--radius-panel);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.guide-header {
    padding: 20px 24px;
    border-bottom: 1px solid #2E2E2B;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
}
.header-identity { min-width: 0; }
.guide-header h1 { margin: 0 0 2px; font: 500 1.125rem/1.3 var(--font-body); letter-spacing: -.02em; }
.header-caption { color: var(--text-muted); font-size: .8125rem; line-height: 1.5; }
.header-actions { display: flex; align-items: center; }
#new-chat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 8px 12px;
    border: 0;
    border-radius: var(--radius-control);
    background: transparent;
    color: var(--text-muted);
    font-size: .8125rem;
    font-weight: 500;
}
#new-chat-btn:hover:not(:disabled) { background: var(--surface-muted); color: var(--cream); }
#new-chat-btn:disabled { opacity: .5; }
#new-chat-btn svg { width: 16px; height: 16px; }
#offline-banner {
    display: none;
    padding: 8px 16px;
    background: #35231E;
    color: var(--danger-color);
    text-align: center;
    font-size: .875rem;
    flex-shrink: 0;
}
#offline-banner.visible { display: block; }
.conversation-history {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}
.message {
    max-width: min(82%, 62ch);
    flex-shrink: 0;
    padding: 14px 16px;
    border-radius: var(--radius-panel);
    font-size: 1rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
    animation: fade-in 180ms ease-out;
}
.message.assistant { align-self: flex-start; background: #222220; border-bottom-left-radius: 4px; }
.message.user { align-self: flex-end; background: var(--accent-color); color: var(--cream); border-bottom-right-radius: 4px; }
.message.user .message-content { white-space: pre-wrap; }
.message-sender { margin-bottom: 4px; font-size: .75rem; font-weight: 600; color: var(--text-muted); }
.message.human .message-sender { color: var(--link-color); }
.message-time { margin-top: 8px; font-size: .6875rem; color: var(--text-muted); text-align: right; }
.message.user .message-time { color: var(--cream); }
.message.assistant p:not(:last-child) { margin-bottom: 12px; }
.message.assistant strong { font-weight: 600; }
.message.assistant ol, .message.assistant ul { padding-left: 20px; margin: 8px 0; }
.message.assistant li + li { margin-top: 4px; }
.message.assistant a { color: var(--link-color); font-weight: 500; }
.message.assistant a:hover { text-decoration-thickness: 2px; }
.message.assistant .booking-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: var(--radius-control);
    background: var(--accent-color);
    color: var(--cream);
    text-decoration: none;
    font-size: .9375rem;
    font-weight: 500;
}
.message.assistant .booking-link:hover { background: var(--accent-hover); }
.message.assistant pre { padding: 12px; margin: 8px 0; background: var(--surface-muted); overflow-x: auto; }
.message.assistant code { padding: 2px 4px; background: var(--surface-muted); font: .875em/1.5 ui-monospace, monospace; }
.message.assistant table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 12px 0; font-size: .875em; }
.message.assistant th, .message.assistant td { padding: 8px 12px; border: 1px solid var(--border-color); text-align: left; vertical-align: top; }
.typing-indicator { display: flex; gap: 6px; align-items: center; }
.typing-indicator span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: pulse 1s ease-in-out infinite; }
.typing-indicator span:nth-child(2) { animation-delay: 120ms; }
.typing-indicator span:nth-child(3) { animation-delay: 240ms; }
.suggestion-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 24px 12px; flex-shrink: 0; }
.chip {
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--text-muted);
    font-size: .8125rem;
}
.chip:hover:not(:disabled) { color: var(--cream); background: var(--surface-muted); border-color: var(--control-border); }
.chip:disabled { opacity: .5; }
.message-input-form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 8px;
    margin: 0 24px 20px;
    background: var(--input-surface);
    border: 1px solid var(--control-border);
    border-radius: var(--radius-composer);
    flex-shrink: 0;
}
#message-input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    max-height: 144px;
    padding: 10px 12px;
    background: transparent;
    color: var(--cream);
    border: 0;
    border-radius: 0;
    font-size: 1rem;
    line-height: 1.5;
    resize: none;
    overflow-y: hidden;
    caret-color: var(--link-color);
}
#message-input::placeholder, .form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); opacity: 1; }
#message-input:focus, .form-group input:focus, .form-group textarea:focus { border-color: var(--link-color); outline: 2px solid var(--link-color); outline-offset: 2px; }
.message-input-form:focus-within { border-color: var(--link-color); background: #161615; }
#message-input:focus { outline: 0; }
#message-input:disabled { background: var(--surface-muted); }
#send-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 0;
    border-radius: var(--radius-control);
    background: var(--accent-color);
    color: var(--cream);
}
#send-btn:hover:not(:disabled) { background: var(--accent-hover); }
#send-btn:disabled { background: transparent; color: var(--text-muted); }
#send-btn svg { width: 22px; height: 22px; }
.chat-notice { margin: 0 24px; padding: 12px 0; font-size: .875rem; color: var(--danger-color); }
.chat-notice button { min-height: 44px; background: transparent; border: 0; margin-left: 8px; color: var(--link-color); font-weight: 600; text-decoration: underline; }
.chat-notice.is-ended { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; padding: 16px 0 0; border-top: 1px solid var(--border-color); color: var(--text-muted); }
.chat-notice.is-ended button { margin: 0; padding: 10px 18px; background: var(--cream); color: var(--ink); border-radius: 8px; text-decoration: none; }
.message.failed { outline: 1px solid var(--danger-color); }

.contact-card {
    align-self: flex-start;
    flex-shrink: 0;
    width: min(100%, 580px);
    padding: 16px;
    border: 1px solid var(--control-border);
    border-radius: 16px 16px 16px 4px;
    background: #1b1b1a;
    line-height: 1.5;
}
.contact-title { margin-bottom: 8px; font-size: 1rem; font-weight: 600; }
.contact-description { margin-bottom: 12px; color: var(--text-muted); font-size: .875rem; }
#contact-input { display: block; width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--control-border); border-radius: 8px; background: var(--input-surface); color: var(--cream); font-size: 1rem; }
#contact-input::placeholder { color: var(--text-muted); opacity: 1; }
#contact-input:focus { outline: 2px solid var(--link-color); outline-offset: 2px; }
#contact-input[aria-invalid="true"] { border-color: var(--danger-color); }
.contact-error { margin-top: 8px; color: var(--danger-color); font-size: .8125rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.contact-actions button { min-height: 44px; padding: 10px 14px; border: 0; border-radius: 8px; font-size: .8125rem; font-weight: 500; }
.contact-save { background: var(--accent-color); color: var(--cream); }
.contact-save:hover:not(:disabled) { background: var(--accent-hover); }
.contact-skip { background: transparent; color: var(--text-muted); }
.contact-skip:hover:not(:disabled) { color: var(--cream); background: var(--surface-muted); }
.contact-card button:disabled { opacity: .5; }
.contact-card.is-saved { padding-block: 14px; }
.conversation-history.is-collecting-contact { gap: 12px; padding-block: 20px; }
.conversation-history.is-collecting-contact .message:first-child .message-time { display: none; }
.contact-confirmation { font-size: .875rem; }
.contact-reminder { flex-shrink: 0; margin: 0 24px 8px; }
.contact-reminder button { min-height: 32px; padding: 4px 0; background: transparent; border: 0; color: var(--text-muted); font-size: .75rem; text-decoration: underline; text-underline-offset: 3px; }
.contact-reminder button:hover { color: var(--cream); }

/* Booking: a short introduction, contact fields, then available times. */
.booking-content { display: flex; flex-direction: column; align-items: center; width: 100%; }
.schedule-container { width: calc(100% - var(--page-pad) * 2); padding: 0; border: 0; margin: 64px 0; }
#booking-view { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
#details-step, #availability-step {
    min-width: 0;
    padding: 32px;
    background: #10100F;
    border: 1px solid #2E2E2B;
    border-radius: var(--radius-panel);
}
.session-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; color: var(--text-muted); font-size: .75rem; font-weight: 500; letter-spacing: .08em; }
.session-duration { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.session-duration svg { width: 14px; height: 14px; }
.schedule-header { margin: 0; padding: 0; }
.schedule-header h1 { font: 400 clamp(4rem, 7vw, 6.5rem)/1.04 var(--font-heading); letter-spacing: -.005em; margin-bottom: 24px; }
.schedule-header h1 span { display: block; color: var(--display-accent); }
.schedule-header p { max-width: 32ch; color: var(--text-muted); font-size: 1.25rem; line-height: 1.6; }
.form-group { width: 100%; min-width: 0; margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 8px; font-size: .9375rem; font-weight: 500; }
.form-group input, .form-group textarea {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 13px 14px;
    background: var(--input-surface);
    color: var(--cream);
    border: 1px solid var(--control-border);
    border-radius: var(--radius-control);
    font-size: 1rem;
    line-height: 1.5;
}
.form-group textarea { min-height: 112px; resize: vertical; }
.error-text { display: none; color: var(--danger-color); font-size: .875rem; margin-top: 8px; }
.input-error { border-color: var(--danger-color) !important; }
.button, a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 20px;
    border: 1px solid var(--cream);
    border-radius: var(--radius-control);
    background: var(--cream);
    color: var(--ink);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: none;
    text-align: center;
}
.button:hover:not(:disabled) { background: var(--accent-color); border-color: var(--accent-color); color: var(--cream); }
.booking-page .button { background: var(--accent-color); border-color: var(--accent-color); color: var(--cream); }
.booking-page .button:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); }
.button:disabled { background: var(--surface-muted); color: var(--text-muted); border-color: var(--border-color); }
.button.secondary-button, a.button.secondary-button { background: transparent; color: var(--cream); border-color: var(--control-border); }
.button.secondary-button:hover:not(:disabled), a.button.secondary-button:hover { background: var(--surface-muted); border-color: var(--cream); }
.timezone-header { color: var(--text-muted); font-size: .875rem; overflow-wrap: anywhere; }
.booking-step-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 24px; }
.booking-step-label { font-size: .8125rem; font-weight: 500; color: var(--text-muted); }
.details-step-label { margin-bottom: 24px; }
.booking-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 0; border-radius: var(--radius-control); padding: 8px 12px; background: transparent; color: var(--cream); font-size: .875rem; }
.booking-back:hover:not(:disabled) { background: var(--surface-muted); color: var(--link-color); }
.booking-back:disabled { color: var(--text-muted); }
.slot-label { margin-bottom: 12px; font-size: 1rem; font-weight: 500; }
.booking-context { margin: 24px 0 16px; padding-top: 16px; border-top: 1px solid var(--border-color); }
.selection-summary { min-height: 24px; margin-top: 12px; color: var(--cream); font-size: .875rem; font-weight: 500; }
.booking-timezone-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.booking-clock-format { display: inline-flex; gap: 2px; }
.booking-clock-option { min-height: 32px; padding: 4px 8px; border: 1px solid transparent; border-radius: var(--radius-control); background: transparent; color: var(--text-muted); font-size: .75rem; }
.booking-clock-option[aria-pressed="true"] { border-color: var(--border-color); background: var(--surface); color: var(--cream); }
.booking-clock-option:hover:not(:disabled) { color: var(--link-color); }
.booking-clock-option:disabled { opacity: .5; }
.booking-edit { min-height: 32px; padding: 4px 0; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--text-muted); font-size: .75rem; text-decoration: underline; text-underline-offset: 3px; }
.booking-edit:hover:not(:disabled) { color: var(--link-color); }
.booking-edit:disabled { opacity: .5; }
.booking-timezone-picker { margin-top: 12px; }
.booking-timezone-picker label { display: block; margin-bottom: 6px; color: var(--text-muted); font-size: .8125rem; }
.booking-timezone-picker select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--control-border); border-radius: var(--radius-control); background: var(--input-surface); color: var(--cream); font-size: .875rem; }
#date-pills-container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 24px; }
.date-pill, .time-slot {
    min-height: 52px;
    padding: 10px 8px;
    border: 1px solid var(--control-border);
    border-radius: var(--radius-control);
    background: var(--input-surface);
    color: var(--cream);
    font-size: .9375rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}
.date-pill:hover, .time-slot:hover { border-color: var(--link-color); background: var(--surface-muted); }
.date-pill { border-radius: var(--radius-pill); }
.date-pill.active, .time-slot.selected { background: var(--accent-color); color: var(--cream); border-color: var(--accent-color); }
.time-panel { display: none; }
.time-panel.active { display: block; }
.time-panel-header { margin-bottom: 16px; font-size: 1rem; font-weight: 500; }
.time-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.booking-for-text { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; margin-bottom: 4px; font-size: .875rem; color: var(--text-muted); overflow-wrap: anywhere; }
.booking-for-text strong { font-weight: 500; color: var(--cream); }
.divider { border-top: 1px solid var(--border-color); margin: 32px 0 24px; }
.custom-request-box { padding: 20px; background: var(--surface); border: 1px solid var(--border-color); border-radius: var(--radius-composer); }
.custom-request-box h3 { font-size: 1.125rem; font-weight: 500; }
.custom-request-box p { margin: 8px 0 16px; color: var(--text-muted); }
#confirmation-view { max-width: 720px; padding: 48px 32px; margin-block: 80px; background: #10100F; border: 1px solid #2E2E2B; border-radius: var(--radius-panel); align-items: center; text-align: center; }
#confirmation-view .schedule-header { width: 100%; margin-bottom: 24px; border: 0; padding: 0; }
#confirmation-view p { max-width: 46ch; margin: 0 auto; color: var(--text-muted); overflow-wrap: anywhere; }
#confirmation-view strong { color: var(--cream); font-weight: 600; }
.confirmation-actions { display: flex; flex-direction: column; gap: 12px; margin: 32px auto 0; max-width: 350px; width: 100%; }
.checkmark-circle { display: block; width: 56px; height: 56px; margin: 0 auto 24px; stroke: var(--success-color); stroke-width: 2; }
.checkmark-circle .checkmark-circle { margin: 0; }
.skeleton-container { display: flex; flex-direction: column; gap: 12px; }
.skeleton-bar { height: 48px; background: var(--surface-muted); border-radius: 8px; animation: pulse 1s ease-in-out infinite; }
.skeleton-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.skeleton-pill { height: 48px; }
.fade-in { animation: fade-in 180ms ease-out; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 50% { opacity: .5; } }

.page-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; width: calc(100% - var(--page-pad) * 2); max-width: 1120px; padding: 20px 0; margin-top: auto; border-top: 1px solid var(--border-color); font-size: .75rem; color: var(--text-muted); }
.page-footer a { display: inline-flex; align-items: center; min-height: 24px; color: var(--cream); text-decoration: none; }
.page-footer a:hover { text-decoration: underline; }
.product-credit { display: flex; flex-direction: column; gap: 2px; line-height: 1.5; }
.product-byline { color: var(--cream); font-size: .75rem; font-weight: 500; }
.product-credit .product-byline a { color: var(--cream); min-height: 0; }
.product-disclaimer { margin-top: 2px; }
.footer-links { margin-top: 0; align-self: flex-end; white-space: nowrap; }
.footer-links span { margin: 0 8px; }
.chat-page .page-footer { max-width: 760px; flex-shrink: 0; margin-top: 0; border: 0; font-size: .6875rem; }
.chat-page .page-footer a { color: var(--text-muted); }

@media (min-width: 768px) {
    .two-col-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
    .full-width { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    #booking-view { gap: 32px; }
    #details-step, #availability-step { padding: 24px; }
    .two-col-form { display: block; }
    .schedule-header p { font-size: 1.125rem; }
}
@media (max-width: 700px) {
    #booking-view { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .schedule-container { margin-block: 40px; }
    #details-step, #availability-step { padding: 24px; }
    .session-meta { margin-bottom: 20px; max-width: 360px; }
    .schedule-header h1 { font-size: clamp(3.5rem, 11vw, 4.5rem); margin-bottom: 16px; }
    .schedule-header h1 span { display: inline; }
    .schedule-header p { max-width: 38ch; }
    .studio-home { display: none; }
}
@media (max-width: 600px) {
    .site-header-inner { min-height: 72px; gap: 12px; }
    .studio-brand { gap: 8px; }
    .studio-brand img { width: 24px; height: 24px; }
    .brand-name { font-size: 1.625rem; }
    .brand-sub { font-size: .5625rem; }
    .studio-nav { gap: 16px; font-size: .75rem; }
    .chat-page .site-header-inner { min-height: 64px; }
    .chat-page .brand-sub { display: none; }
    .chat-page .brand-name { font-size: 1.5rem; }
    .chat-page .studio-brand img { width: 22px; height: 22px; }
    .guide-container { width: 100%; margin: 0; border: 0; border-radius: 0; }
    .guide-header { padding: 16px 20px; gap: 12px; }
    .guide-header h1 { font-size: 1rem; }
    .header-caption { font-size: .75rem; }
    #new-chat-btn { padding: 8px; font-size: .75rem; white-space: nowrap; }
    #new-chat-btn svg { width: 14px; height: 14px; }
    .conversation-history { padding: 20px; gap: 16px; }
    .message { max-width: 90%; padding: 12px 14px; }
    .contact-card { padding: 16px; }
    .contact-reminder { margin-inline: 20px; }
    .message-input-form { gap: 8px; margin: 0 16px 12px; padding: 6px; }
    #message-input { padding-inline: 8px; }
    .chat-notice { margin-inline: 20px; }
    .suggestion-chips { padding-inline: 20px; }
    .chip { padding-inline: 12px; }
    .chat-page .page-footer { padding-top: 10px; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
    .date-pill { font-size: .875rem; }
    #details-step, #availability-step { padding: 20px; }
    .custom-request-box { padding: 16px; }
    .time-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-footer { padding-block: 16px; gap: 8px; }
    #confirmation-view { margin-block: 40px; padding: 32px 20px; }
    #confirmation-view .schedule-header h1 { font-size: 3.5rem; }
}
@media (max-width: 360px) {
    .brand-sub { display: none; }
    .section-kicker { font-size: .625rem; letter-spacing: .08em; }
    .guide-header { padding-inline: 16px; }
    .conversation-history { padding-inline: 16px; }
    .suggestion-chips { padding-inline: 16px; }
    .schedule-header h1 { font-size: 3.125rem; }
    .page-footer { font-size: .6875rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
