/* Shared additions are limited to newly introduced states and readable result data. */
.structured-result { margin: 0; }
.structured-result > div { margin: 0 0 16px; }
.structured-result dt { font-weight: 700; margin-bottom: 4px; }
.structured-result dd { margin: 0; }
.structured-result-list { margin: 0; padding-left: 24px; }
.structured-result-list > li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.structured-result-text, .long-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-structured-output:has(.structured-result), .ai-structured-output:has(.structured-result-list) { white-space: normal; }
.draft-status { color: #665744; font-size: .875rem; margin: 0 0 12px; }
.draft-recovery { padding: 16px; border: 1px solid #9b481c; }
.draft-recovery pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 40vh; overflow: auto; }
.chat-send-status { padding: 8px 12px; background: #f5f0e7; border-top: 1px solid var(--line); font-size: .875rem; }
.chat-send-status:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chat-send-status button { flex: 0 0 auto; }
.version-preview { margin-top: 12px; }
.version-preview .long-text { max-height: 55vh; overflow-y: auto; padding: 12px 0; line-height: 1.8; }
@media (max-width: 900px) {
  :root { --mobile-nav-space: calc(64px + env(safe-area-inset-bottom)); --mobile-touch: 44px; }
  body { --accent-readable: #a54220; }
  .app-topbar, .site-header, .admin-topbar { background: #f5f0e7; backdrop-filter: none; }
  .app-topbar { min-height: 52px; padding: 6px 12px; gap: 8px; }
  .app-topbar-title { min-width: 0; overflow-wrap: anywhere; font-size: 1rem; }
  .app-content, .creator-product-layout .app-content { padding: 16px 14px calc(var(--mobile-nav-space) + 18px); }
  .public-main:not(:has([data-chat-app])) { padding: 20px 14px calc(var(--mobile-nav-space) + 18px); }
  .page-heading { margin-bottom: 18px; gap: 12px; }
  .page-heading h1, .workspace-header h1 { font-size: 1.625rem; line-height: 1.3; letter-spacing: 0; word-break: normal; overflow-wrap: anywhere; }
  .page-heading p, .workspace-header p { margin: 6px 0; line-height: 1.6; }
  .page-heading .eyebrow, .workspace-header .section-kicker { margin: 0 0 5px; font-size: .75rem; color: #665744; }
  .workspace-header { display: flex; flex-wrap: wrap; margin-bottom: 12px; padding-bottom: 12px; gap: 8px; }
  .workspace-header > div { min-width: 0; }
  .workspace-progress-details { margin: 0 0 8px; }
  .workspace-progress-details summary { min-height: 44px; padding: 8px 10px; gap: 8px; flex-wrap: wrap; }
  .today-path-heading { display: none; }
  .mobile-task-details { margin: 8px 0 12px; border-block: 1px solid var(--line); min-width: 0; }
  .mobile-task-details > summary { display: list-item; cursor: pointer; padding: 12px 8px; min-height: 44px; box-sizing: border-box; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
  .mobile-task-details > :not(summary) { margin: 8px 0 12px; }
  .daily-step-path, .daily-step-path.daily-step-path--compact { margin: 0; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .daily-step-path__item { min-width: 0; padding: 10px 8px; min-height: 64px; }
  .daily-step-path__item strong { white-space: normal; font-size: .9375rem; }
  .workflow-outline-layout { display: block; }
  .workflow-step-directory { max-height: 50vh; overflow: auto; }
  .workflow-step-panel { padding: 14px; }
  .workflow-guidance { margin: 12px 0 18px; font-size: 1rem; }
  .workflow-checkpoint { min-height: 0; padding: 16px 0; gap: 16px; }
  .workflow-step-panel h2, .writing-column h2 { font-size: 1.375rem; line-height: 1.4; }
  .writing-column, .ai-column { padding: 16px 12px; }
  .step-screen-intro { margin: 8px 0 14px; line-height: 1.6; }
  .legacy-step-screen { scroll-margin-top: 68px; }
  .mobile-primary-nav { min-height: var(--mobile-nav-space); }
  .mobile-primary-nav a { min-width: 0; min-height: 54px; padding-inline: 1px; }
  .mobile-primary-nav span { font-size: .8125rem; white-space: nowrap; letter-spacing: 0; }
  .mobile-primary-nav a.active, .text-button, .text-link, .section-kicker, .eyebrow { color: var(--accent-readable); }
  .button, .text-button, .text-link, .step-companion-label, .interview-collapsible__toggle { --spark: #a54220; }
  button, .button, summary, .menu-button, .pagination a { min-height: var(--mobile-touch); }
  .button, button.text-button { min-width: 44px; }
  .dialog-close { min-width: 44px; min-height: 44px; }
  input:not([type=checkbox]):not([type=radio]), textarea, select { font-size: 1rem; min-width: 0; max-width: 100%; }
  .site-message { transform: none; transition: opacity .2s ease; bottom: calc(var(--mobile-nav-space) + 12px); max-width: calc(100vw - 24px); }
  .admin-product-layout ~ .site-message { transform: none; transition: opacity .2s ease; bottom: 84px; }
  dialog { max-height: calc(100dvh - 24px); max-width: calc(100vw - 24px); overflow-y: auto; }
  .admin-user-detail-dialog .dialog-close { position: sticky; top: 0; float: right; z-index: 2; background: #f5f0e7; }
  .admin-breadcrumb-list { flex-wrap: wrap; white-space: normal; overflow: visible; }
  .admin-breadcrumb-list li, .admin-breadcrumb-list a { min-width: 0; flex-shrink: 1; }
  .admin-breadcrumb-list li span { flex-shrink: 0; }
  .admin-breadcrumb-list li:not(:last-child):not(:nth-last-child(2)) { display: none; }
  .breadcrumb { flex-wrap: wrap; overflow-wrap: anywhere; }
  .auth-page { display: flex; flex-direction: column; min-height: auto; padding-bottom: var(--mobile-nav-space); }
  .auth-panel { order: 0; padding: 22px 16px; }
  .auth-story { order: 1; padding: 24px 16px; min-height: auto; }
  .auth-story h1 { font-size: 1.8rem; }
  .auth-card { padding: 0; width: 100%; }
  .auth-card h2 { font-size: 1.75rem; margin: 4px 0 8px; }
  .note-editor .page-heading h1, .note-editor .page-heading .eyebrow, body:has(.note-editor) .breadcrumb > span { display: none; }
  .note-editor .page-heading { margin-bottom: 10px; }
  .note-editor .paper-form { padding: 0; gap: 12px; }
  .note-editor textarea[name=content] { min-height: 42vh; }
  .note-editor-actions { position: static; padding: 8px 0; }
  .mobile-note-save { position: sticky; bottom: var(--mobile-nav-space); background: #f5f0e7; padding: 8px 0; z-index: 2; }
  .mobile-note-save .button { width: 100%; min-height: 44px; }
  .note-editor-actions__group { display: grid; grid-template-columns: 1fr 1fr; }
  .note-editor-actions__group .button { width: auto; margin: 0; }
  .note-type-badge { font-size: .8125rem; }
  .note-editor-actions__group { flex-wrap: wrap; gap: 8px; }
  .note-editor-actions .button { padding-inline: 10px; }
  body.is-mobile .chat-composer { grid-template-columns: minmax(0,1fr) max-content; }
  body.is-mobile .chat-composer .button { width: auto; min-width: 4.5em; white-space: nowrap; padding: 8px 12px; min-height: 44px; align-self: end; }
  body.is-mobile .chat-composer textarea { min-height: 64px; max-height: 148px; }
  .chat-stage-header > div { min-width: 0; flex-wrap: wrap; }
  .chat-stage-header .text-button { font-size: .875rem; padding: 8px 5px; }
  .chat-send-status { flex: 0 0 auto; }
  .chat-message__body { min-width: 0; overflow-wrap: anywhere; }
  .budget-table .data-table-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 0; }
  .budget-table .data-table-row > div:first-child { grid-column: 1 / -1; display: grid; gap: 4px; }
  .budget-table [data-label]::before { content: attr(data-label); display: block; font-size: .8125rem; color: #665744; margin-bottom: 4px; }
  .ledger-list > div { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 8px 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .ledger-list > div > span { overflow-wrap: anywhere; }
  .mobile-builder-actions { position: sticky; top: 52px; z-index: 3; background: #f5f0e7; padding: 8px 0; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
  .mobile-builder-actions p { flex: 1; margin: 0; }
  .mobile-builder-actions button { flex: 0 0 auto; }
  .builder-day-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); max-height: 180px; overflow-y: auto; }
  .builder-day-nav button { min-width: 0; white-space: normal; height: auto; min-height: 64px; padding: 8px; line-height: 1.5; }
  .template-builder-grid { grid-template-columns: minmax(0,1fr); }
  .mobile-section-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 18px; }
  .mobile-section-nav a { display: flex; align-items: center; min-height: 44px; padding: 8px; border: 1px solid var(--line); color: var(--ink); font-size: .875rem; }
  .growth-section { scroll-margin-top: 64px; }
  .governance-actions { display: grid; gap: 12px; }
  .governance-actions .danger-button { margin-top: 16px; border: 1px solid #8c3020; }
  .status-page { padding: 28px 0; min-height: 45vh; max-width: 100%; align-content: start; }
  .status-page h1 { font-size: 1.75rem; line-height: 1.4; word-break: normal; }
  .tutorial-landing-hero, .tutorial-mobile-guide-header { padding: 16px 0; margin-bottom: 16px; }
  .tutorial-landing-hero h1, .tutorial-mobile-guide-header h1 { font-size: 1.625rem; line-height: 1.4; }
  .tutorial-stage--mobile { padding: 0; }
  .tutorial-step--mobile > header { padding: 12px 0; margin-bottom: 12px; }
  .tutorial-step--mobile > header h2 { font-size: 1.375rem; }
  .tutorial-phone-shot { margin: 12px 0; }
  .version-list article { align-items: start; }
}

/* Feedback: small visual dots retain a separate 44px touch target. */
.home-carousel-dots { gap: 0; }
.home-carousel-dots button, .home-carousel-dots button[aria-selected="true"],
.home-carousel-dots button:hover {
 width: 44px; height: 44px; min-height: 44px; min-width: 44px;
 display: grid; place-items: center; background: transparent; border-radius: 0; transform: none;
}
.home-carousel-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.home-carousel-dots button[aria-selected="true"]::before { background: var(--spark); }
/* Full-width organization records; consistent heading, metrics, actions and form rows. */
.organization-admin-columns > .settings-panel { min-width: 0; justify-items: stretch; }
.organization-admin-columns .organization-admin-row { width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.organization-admin-columns .organization-admin-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.organization-admin-columns .organization-admin-row > p { margin: 0; min-height: 2.8em; }
.organization-admin-columns .organization-admin-row .button-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.organization-admin-columns .organization-admin-row .button { margin: 0; text-align: center; justify-content: center; }
.organization-admin-columns .organization-admin-row details { margin-top: auto; }
.organization-admin-columns .organization-admin-row .capacity-line { min-height: 3.8em; }
@media (min-width: 901px) {
 .organization-admin-columns .organization-admin-row { min-height: 300px; }
}
@media (max-width: 900px) {
 .workspace-header.daily-workspace-header { display: grid; grid-template-columns: minmax(0,1fr) max-content; align-items: start; gap: 8px; }
 .workspace-header .legacy-day-nav-buttons { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: 1fr; width: auto; gap: 6px; }
 .workspace-header .legacy-day-nav-buttons .button { width: auto; min-height: 44px; padding: 8px; font-size: .8125rem; white-space: nowrap; }
 .legacy-day-nav-placeholder { display: none; }
 .daily-step-path, .daily-step-path.daily-step-path--compact { margin: 12px 0 16px; }
 .workflow-step-directory { max-height: none; overflow: visible; margin-bottom: 16px; }
}

/* The composer owns its rows on both desktop and mobile. */
body .chat-composer.chat-composer--attachments { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px; flex: 0 0 auto; }
body .chat-composer.chat-composer--attachments > div { margin: 0; align-self: stretch; }
body .chat-composer.chat-composer--attachments .chat-input-row { display: grid; grid-template-columns: minmax(0,1fr) 44px max-content; gap: 8px; align-items: end; }
body .chat-composer.chat-composer--attachments textarea { display: block; width: 100%; grid-column: 1; grid-row: 1; min-height: 44px; max-height: 132px; height: 44px; resize: none; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fffdf9; font-size: 16px; line-height: 22px; overflow-y: auto; }
body .chat-composer.chat-composer--attachments .chat-input-row .button { grid-column: 3; grid-row: 1; min-height: 44px; height: 44px; width: auto; min-width: 56px; padding: 8px 12px; margin: 0; align-self: end; }
body .chat-composer.chat-composer--attachments .chat-attach-toggle { grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 6px; border: 0; color: var(--ink); background: transparent; }
.chat-composer--attachments svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
body .chat-composer.chat-composer--attachments .chat-attachment-menu { display: grid; grid-template-columns: 72px 72px minmax(0,1fr); align-items: start; gap: 12px; border-top: 1px solid var(--line); padding: 12px 0 4px; }
.chat-attachment-menu button { display: grid; justify-items: center; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: #fffdf9; font: inherit; min-height: 72px; }
.chat-attachment-menu p { font-size: .8125rem; line-height: 1.6; margin: 0; color: #665744; }
body .chat-composer.chat-composer--attachments .chat-attachment-tray { display: flex; flex-wrap: wrap; gap: 8px; max-height: 158px; overflow-y: auto; }
.chat-attachment-chip { display: flex; align-items: center; max-width: 100%; gap: 8px; padding: 4px 4px 4px 8px; border: 1px solid var(--line); background: #fffdf9; border-radius: 6px; min-width: 0; }
.chat-attachment-chip img { width: 48px; height: 48px; object-fit: cover; border-radius: 3px; }
.chat-attachment-chip > span { font-size: .8125rem; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-attachment-chip button { min-height: 44px; min-width: 44px; border: 0; background: transparent; color: var(--ink); font-size: 1.2rem; }
body .chat-composer.chat-composer--attachments [hidden] { display: none; }
.chat-composer--attachments .chat-input-privacy { display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: .6875rem; line-height: 1.5; color: #665744; margin: 0; }
.chat-message-attachments { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.chat-message-attachment { max-width: 100%; display: grid; gap: 4px; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 6px; padding: 8px; }
.chat-message-attachment img { width: auto; max-width: min(220px,100%); max-height: 220px; object-fit: contain; }
.chat-message-attachment span { overflow-wrap: anywhere; font-size: .8125rem; }
@media (max-width: 480px) {
 body .chat-composer.chat-composer--attachments .chat-attachment-menu { grid-template-columns: 72px 72px; }
 .chat-attachment-menu p { grid-column: 1 / -1; }
 .chat-message-attachment img { max-width: min(170px,100%); }
}

.organization-admin-columns .organization-admin-title,
.organization-admin-columns .organization-admin-row > strong { min-height: 32px; display: flex; align-items: center; }
.app-content:has(.organization-admin-columns) > .settings-panel { justify-items: stretch; }
.app-content:has(.organization-admin-columns) > .settings-panel > .dashboard-book { width: 100%; }
.app-content:has(.organization-admin-columns) > .settings-panel > .dashboard-book .button-row { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.app-content:has(.organization-admin-columns) > .settings-panel > .dashboard-book .button-row form { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.app-content:has(.organization-admin-columns) > .settings-panel > .dashboard-book .button-row .button { margin: 0; }

body .chat-composer.chat-composer--attachments .chat-attachment-menu { justify-content: start; }

/* A single, explicit layout contract; essential geometry also works without :has(). */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.daily-workspace-header > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.daily-step-path__item[aria-current="step"] > span { color: #fff; }
.daily-step-path__item--current:not([aria-current="step"]) { background: var(--paper-deep); color: var(--ink); }
.daily-step-path__item--current:not([aria-current="step"]) strong { color: var(--ink); }
.daily-step-path__item--current:not([aria-current="step"]) small { color: var(--muted); }

/* Notebook: a writing surface with a separate, compact utility area. */
.note-editor { width: 100%; max-width: 960px; margin: 0 auto; padding-bottom: 16px; }
.note-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.note-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #a54220; text-decoration: none; font-weight: 600; }
.note-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: .8125rem; }
.note-meta .note-type-badge { background: transparent; border: 0; padding: 0; color: #665744; font-weight: 600; }
.note-writing-form { display: grid; gap: 22px; border: 0; background: transparent; padding: 0; }
.note-writing-form label { display: block; margin-bottom: 8px; color: #665744; font-size: .875rem; font-weight: 500; }
.note-writing-form textarea { box-sizing: border-box; display: block; width: 100%; max-width: 100%; border: 0; border-radius: 0; font-weight: 400; color: var(--ink); background: #fffcf6; resize: vertical; }
.note-writing-form textarea:focus-visible { outline: 2px solid #a54220; outline-offset: 3px; }
.note-title-field textarea { padding: 12px 16px; min-height: 80px; font-family: var(--serif); font-size: 1.625rem; line-height: 1.45; border-bottom: 1px solid var(--line); background: transparent; }
.note-content-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.note-content-heading span { font-size: .8125rem; color: var(--muted); }
.note-content-field textarea { padding: 22px 24px; min-height: 400px; font-family: var(--sans); font-size: 1rem; line-height: 1.9; }
.note-savebar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; background: var(--paper); border-top: 1px solid var(--line); z-index: 5; }
.note-savebar .draft-status { margin: 0; font-size: .8125rem; line-height: 1.5; }
.note-savebar .button { flex: 0 0 auto; min-height: 44px; margin: 0; padding: 10px 22px; }
.note-tools { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.note-tools > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; min-height: 48px; cursor: pointer; font-size: .9375rem; font-weight: 600; }
.note-tools > summary::-webkit-details-marker { display: none; }
.note-tools > summary span { margin-left: auto; color: var(--muted); font-size: .8125rem; font-weight: 400; }
.note-tools > summary::after { content: ""; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin: 0 6px; }
.note-tools[open] > summary::after { transform: rotate(225deg); }
.note-tools-content { padding: 8px 0 16px; display: grid; gap: 20px; }
.note-export-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.note-export-actions .button { min-height: 44px; padding: 8px 14px; font-size: .875rem; margin: 0; }
.note-position-field { display: grid; grid-template-columns: max-content 76px minmax(0,1fr); align-items: center; gap: 12px; }
.note-position-field label { margin: 0; }
.note-position-field input { width: 76px; min-height: 44px; padding: 8px; }
.note-position-field small, .note-delete-row > span { color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.note-delete-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.note-delete-row button { min-height: 44px; padding: 8px 0 8px 12px; margin: 0; color: #963927; }

/* The same action names and grouping apply to every interview. */
.interview-progress { color: #665744; font-size: .875rem; margin: 0 0 16px; }
.interview-history { display: grid; gap: 0; margin-bottom: 20px; }
.interview-history:empty { display: none; }
.interview-history > details { border-bottom: 1px solid var(--line); }
.interview-history summary { min-height: 44px; padding: 12px 0; font-size: .875rem; cursor: pointer; color: var(--muted); }
.interview-history p { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; font-size: 1rem; }
.interview-session form > label { display: block; font-size: .875rem; font-weight: 500; margin: 14px 0 8px; }
.interview-current-title { font-size: 1.1875rem; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; font-weight: 600; }
.interview-session textarea { width: 100%; box-sizing: border-box; min-height: 140px; padding: 14px 16px; font-size: 1rem; line-height: 1.8; font-weight: 400; border: 1px solid var(--line); }
.interview-session textarea:disabled { display: none; }
.interview-feedback { margin: 10px 0 12px; font-size: .875rem; color: #665744; line-height: 1.6; min-height: 1.6em; }
.interview-feedback.is-error { color: #963927; }
.interview-answer-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.interview-answer-actions .button, .interview-answer-actions .text-button { min-height: 44px; padding: 10px 14px; margin: 0; font-size: .9375rem; }
.interview-action-help { font-size: .8125rem; line-height: 1.65; color: var(--muted); margin: 10px 0 16px; }
.interview-finish-row { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 12px; }
.interview-finish-row .button, .interview-finish-row .text-button { min-height: 44px; margin: 0; padding: 10px 12px; font-size: .9375rem; }
.interview-finish-row small { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.65; margin-top: 8px; max-width: 32em; }
.interview-finish-row > .text-button { flex: 0 0 auto; }
.interview-ended { padding: 20px 0; line-height: 1.7; }
.interview-session [hidden] { display: none; }

@media (max-width: 900px) {
  :root { --mobile-bottom-inset: env(safe-area-inset-bottom, 0px); --mobile-nav-space: calc(56px + var(--mobile-bottom-inset)); }
  html.native-safe-viewport { --mobile-bottom-inset: 0px; }
  body.has-primary-nav { padding-bottom: 0; }
  .mobile-primary-nav {
    box-sizing: border-box; min-height: var(--mobile-nav-space);
    padding: 2px max(8px, env(safe-area-inset-right, 0px)) calc(2px + var(--mobile-bottom-inset)) max(8px, env(safe-area-inset-left, 0px));
    border-top: 1px solid #d5cbbd; background: #f5f0e7;
  }
  .mobile-primary-nav a { min-height: 51px; padding: 3px 1px; gap: 3px; line-height: 1; }
  .mobile-primary-nav span { font-size: 12px; line-height: 1.15; font-family: var(--sans); font-weight: 400; }
  .mobile-primary-nav a.active span { font-weight: 600; }
  .mobile-primary-nav svg { width: 23px; height: 23px; }
  .has-primary-nav .public-main, .has-primary-nav .app-content, .has-primary-nav .creator-product-layout .app-content { padding-bottom: calc(var(--mobile-nav-space) + 20px); }
  .has-primary-nav .public-main { padding: 20px 14px calc(var(--mobile-nav-space) + 20px); }
  .has-primary-nav .site-footer { padding-bottom: calc(var(--mobile-nav-space) + 16px); }
  body.has-primary-nav .inspiration-shell { height: calc(100vh - 58px - var(--mobile-nav-space)); height: calc(100dvh - 58px - var(--mobile-nav-space)); }
  .has-chat-app .public-main { padding: 0; }
  .daily-workspace-header > div:first-child { grid-column: 1; grid-row: 1; }
  .workspace-header.daily-workspace-header h1 { font-size: 1.625rem; line-height: 1.35; overflow-wrap: anywhere; }
  .workspace-header.daily-workspace-header .legacy-day-nav-buttons { width: auto; }
  .daily-workspace-header .legacy-day-nav-buttons .button { min-width: 96px; white-space: normal; }
  .note-editor { max-width: 720px; padding-bottom: 0; }
  .note-heading { gap: 6px; margin-bottom: 22px; }
  .note-meta { width: 100%; gap: 8px; }
  .note-writing-form { gap: 18px; }
  .note-title-field textarea { padding: 8px 0 14px; min-height: 76px; font-size: 1.375rem; }
  .note-content-field textarea { padding: 16px; min-height: 46vh; font-size: 1rem; line-height: 1.85; }
  .note-savebar { bottom: var(--mobile-nav-space); padding: 10px 0; gap: 12px; }
  .note-savebar .button { min-width: 112px; padding: 10px 16px; font-size: .9375rem; }
  .note-position-field { grid-template-columns: max-content 76px; }
  .note-position-field small { grid-column: 1 / -1; }
  .interview-answer-actions { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); }
  .interview-answer-actions .text-button { grid-column: 1 / -1; justify-self: start; padding-left: 0; }
  .interview-answer-actions .button { width: 100%; padding-inline: 8px; }
  .interview-finish-row { flex-wrap: wrap; }
}

.interview-answer-actions .text-button, .interview-finish-row .text-button, .interview-ended .text-button { border: 0; background: transparent; box-shadow: none; }
.interview-ended .text-button { display: block; margin-top: 12px; min-height: 44px; }
