:root {
  --bee-olive: #b7adcf;
  --bee-forest: #535657;
  --bee-cream: #f4faff;
  --bee-brown: #dee7e7;
  --bee-copper: #4f646f;
  --bee-line: var(--bee-brown);
  --bee-grain-opacity: 0;
  --paper-bg: var(--bee-cream);
  --paper-bg-deep: var(--bee-brown);
  --paper-panel: var(--bee-cream);
  --paper-panel-strong: var(--bee-cream);
  --paper-stage: var(--bee-cream);
  --project-c-paper-bg: var(--bee-cream);
  --project-c-paper-ink: var(--bee-forest);
  --project-c-paper-accent: var(--bee-copper);
  --project-c-paper-accent-soft: var(--bee-brown);
  --project-c-paper-card-border: var(--bee-brown);
  --project-c-paper-input: var(--bee-cream);
  --project-c-app-bg: var(--bee-cream);
  --project-c-app-surface: var(--bee-cream);
  --project-c-app-header: var(--bee-brown);
  --project-c-app-card: var(--bee-cream);
  --project-c-app-card-border: var(--bee-brown);
  --project-c-app-card-border-strong: var(--bee-copper);
  --project-c-app-text: var(--bee-forest);
  --project-c-app-text-secondary: var(--bee-forest);
  --project-c-app-muted: var(--bee-forest);
  --project-c-app-placeholder: var(--bee-copper);
  --project-c-app-input: var(--bee-cream);
  --project-c-app-input-border: var(--bee-brown);
  --project-c-app-accent: var(--bee-forest);
  --project-c-app-accent-soft: var(--bee-brown);
  --project-c-app-accent-deep: var(--bee-forest);
  --paper-edge: var(--bee-brown);
  --ink-strong: var(--bee-forest);
  --ink-body: var(--bee-forest);
  --ink-muted: var(--bee-forest);
  --accent-ink: var(--bee-copper);
  --accent-soft: var(--bee-brown);
  --line: var(--bee-brown);
  --seal: var(--bee-olive);
  --seal-highlight: var(--bee-olive);
  --danger-soft: var(--bee-brown);
  --danger-ink: var(--bee-forest);
  --shadow: none;
  --surface-shadow-soft: none;
  --surface-shadow-lifted: none;
  --motion-standard: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --type-display-size: 4.25rem;
  --type-page-title: 2.4rem;
  --type-section-title: 1.35rem;
  --type-card-title: 1.05rem;
  --type-body: 1rem;
  --type-label: 0.74rem;
  --type-caption: 0.82rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper-bg-deep);
}

body.soultalk-body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink-strong);
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.55;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--paper-panel);
}

body.soultalk-body::before {
  content: "";
  display: none;
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: var(--bee-grain-opacity);
  mix-blend-mode: multiply;
  background: none;
  background-position: 0 0, 11px 17px, 0 0, 0 0;
  background-size: 18px 18px, 24px 24px, 100% 30px, 30px 100%;
}

body.soultalk-body a {
  color: var(--accent-ink);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

body.soultalk-body a:hover {
  color: #4f646f;
}

body.soultalk-body a.brand-button,
body.soultalk-body a.brand-button:hover {
  color: #f4faff;
}

body.soultalk-body button,
body.soultalk-body input,
body.soultalk-body textarea,
body.soultalk-body select {
  font: inherit;
}

body.soultalk-body main {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2.6rem) 0 clamp(2rem, 6vw, 4rem);
}

.brand-page__main {
  min-height: 100dvh;
  display: grid;
  align-items: center;
}

.brand-frame {
  display: grid;
  gap: 1.5rem;
}

.brand-frame--split {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
}

.brand-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper-panel);
  box-shadow: none;
}

.brand-card::after {
  content: "";
  display: none;
  position: absolute;
  inset: 13px;
  border: 1px solid var(--bee-line);
  border-radius: 8px;
  pointer-events: none;
}

.brand-card--hero {
  background: var(--paper-panel);
  box-shadow: none;
}

.brand-stage {
  min-height: 100dvh;
  display: grid;
  align-items: center;
}

.brand-stage__split {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.88fr);
  align-items: stretch;
}

.brand-stage__spotlight,
.brand-stage__aside,
.brand-stage__panel {
  min-height: min(100%, 35rem);
}

.brand-stage__spotlight {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.brand-stage__aside,
.brand-stage__panel {
  display: grid;
  align-content: start;
  gap: 0.95rem;
  background: var(--paper-panel);
}

.brand-stage--project-c-entry {
  color: var(--project-c-paper-ink);
}

.brand-stage--project-c-entry .brand-stage__split--app-card {
  max-width: 980px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.82fr);
  align-items: center;
}

.brand-stage--project-c-entry .brand-card {
  border-color: var(--project-c-paper-card-border);
  background: var(--paper-panel);
  box-shadow: none;
}

.brand-stage--project-c-entry .brand-card--hero {
  background: var(--paper-panel);
}

[data-design-surface="public-entry-rebaseline"] {
  --entry-minimal-accent: var(--bee-copper);
  --entry-minimal-paper: var(--bee-cream);
}

[data-design-surface="auth-entry-rebaseline"] {
  --entry-minimal-accent: var(--bee-brown);
  --entry-minimal-paper: var(--bee-cream);
}

[data-design-surface="consent-entry-rebaseline"] {
  --entry-minimal-accent: var(--bee-copper);
  --entry-minimal-paper: var(--bee-cream);
}

.brand-stage--project-c-entry .brand-stage__spotlight,
.brand-stage--project-c-entry .brand-stage__panel {
  position: relative;
  isolation: isolate;
  border-color: var(--bee-copper);
  background: var(--paper-panel);
  box-shadow: none;
}

.brand-stage--project-c-entry .brand-stage__spotlight > *,
.brand-stage--project-c-entry .brand-stage__panel > * {
  position: relative;
  z-index: 1;
}

.brand-stage--project-c-entry .brand-stage__spotlight::before {
  content: "SOULTALK";
  position: absolute;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 0;
  color: var(--bee-copper);
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.78;
  pointer-events: none;
  transform: rotate(-4deg);
}

.brand-stage--project-c-entry .brand-stage__spotlight::after {
  content: "";
  position: absolute;
  inset: 0.85rem;
  z-index: 0;
  border: 1px solid var(--bee-copper);
  border-radius: 8px;
  pointer-events: none;
}

.brand-stage--project-c-entry .brand-stage__panel::before {
  content: "SAFE ENTRY";
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 0;
  padding: 0.32rem 0.55rem;
  border: 1px solid var(--bee-copper);
  border-radius: 8px;
  color: var(--bee-copper);
  font-family: var(--font-heading);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  pointer-events: none;
  transform: rotate(-2deg);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.brand-mark__seal {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--paper-panel);
  color: var(--bee-cream);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: none;
}

.brand-mark__eyebrow,
.brand-mark__caption,
.brand-kicker {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--type-label);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
}

.brand-section-label,
.brand-field__label {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}

.brand-mark__eyebrow {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.brand-mark__caption {
  margin-top: 0.28rem;
  font-size: 0.72rem;
  color: var(--accent-ink);
}

.brand-kicker,
.brand-section-label,
.brand-field__label {
  color: var(--accent-ink);
  font-size: var(--type-label);
}

h2.brand-section-label {
  color: var(--ink-strong);
  font-family: var(--font-heading);
  font-size: var(--type-section-title);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.12;
  text-wrap: balance;
}

.brand-field__label {
  color: var(--ink-muted);
  font-size: var(--type-label);
  letter-spacing: 0.02em;
}

.brand-title {
  margin: 0.75rem 0 1rem;
  font-family: var(--font-display);
  font-size: var(--type-display-size);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
  text-shadow: none;
}

.brand-stage--project-c-entry .brand-title {
  color: var(--bee-forest);
}

.brand-title--compact {
  font-family: var(--font-heading);
  font-size: var(--type-page-title);
  font-weight: 850;
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: none;
}

.brand-lede,
.brand-note,
.brand-ledger span,
.brand-consent-list li {
  color: var(--ink-body);
  line-height: 1.65;
}

.brand-lede {
  margin: 0;
  max-width: 58ch;
  font-size: 1.08rem;
  color: var(--ink-body);
}

.brand-strip,
.brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand-strip {
  margin: 1.5rem 0;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.48rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--bee-line);
  background: var(--paper-panel);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-transform: none;
  color: var(--ink-strong);
  box-shadow: none;
  transition: var(--motion-standard);
}

.brand-note {
  margin: 0 0 1.25rem;
  padding-left: 1rem;
  border-left: 4px solid var(--bee-line);
}

.brand-actions form {
  margin: 0;
}

.brand-button,
body.soultalk-body input[type="submit"] {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.82rem 1.25rem;
  border: 1px solid var(--bee-line);
  border-radius: 8px;
  background: var(--bee-copper);
  color: #f4faff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  box-shadow: none;
  transition: var(--motion-standard);
}

.brand-button:hover,
body.soultalk-body input[type="submit"]:hover {
  background: var(--bee-forest);
  transform: translateY(-1px);
}

.brand-button--secondary {
  background: transparent;
  color: var(--ink-strong);
  box-shadow: none;
}

.brand-button--secondary:hover {
  background: var(--paper-panel);
}

.brand-ledger,
.brand-consent-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.brand-ledger li,
.brand-consent-list li {
  position: relative;
  padding: 0.95rem 1rem 0.95rem 1.15rem;
  border: 1px solid var(--bee-line);
  border-radius: 8px;
  background: var(--paper-panel);
}

.brand-ledger strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--ink-strong);
  font-family: var(--font-heading);
  font-size: var(--type-card-title);
  letter-spacing: 0;
  text-transform: none;
}

.brand-ledger--compact {
  margin-top: 1.4rem;
}

.brand-form {
  margin-top: 1.2rem;
}

.brand-field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.brand-field input[type="email"],
.brand-field input[type="password"],
.brand-field input[type="text"],
.brand-field textarea,
.brand-field select {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--bee-line);
  border-radius: 8px;
  background: var(--paper-panel);
  color: var(--ink-strong);
  transition: var(--motion-standard);
}

body.soultalk-body input:focus,
body.soultalk-body textarea:focus,
body.soultalk-body select:focus,
body.soultalk-body button:focus,
body.soultalk-body a:focus,
body.soultalk-body input[type="submit"]:focus {
  outline: 3px solid var(--bee-line);
  outline-offset: 3px;
}

.brand-alert {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: var(--danger-soft);
  color: var(--danger-ink);
  border: 1px solid var(--bee-line);
}

.auth-entry-methods {
  display: grid;
  gap: 0.85rem;
}

.auth-entry-card,
.consent-entry-card {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid var(--bee-line);
  border-radius: 8px;
  background: var(--paper-panel);
}

.auth-entry-card--primary {
  background: var(--paper-panel);
}

.auth-entry-card h3,
.consent-entry-card h2 {
  margin: 0;
  color: var(--project-c-paper-ink);
  font-family: var(--font-display);
  letter-spacing: 0;
  text-transform: none;
}

.auth-entry-card h3 {
  font-size: 1.2rem;
}

.auth-entry-card p,
.consent-entry-card p {
  margin: 0;
  color: var(--ink-body);
  line-height: 1.45;
}

.auth-entry-card__button,
.auth-entry-card__form {
  margin-top: 0.25rem;
}

.consent-entry-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.consent-entry-card__badge {
  width: fit-content;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  background: var(--paper-panel);
  color: var(--project-c-paper-ink);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.consent-entry-card__badge--optional {
  background: var(--paper-panel);
}

.public-entry__headline {
  display: grid;
  gap: 0.35rem;
}

.public-entry__proof-grid {
  margin-top: 0.2rem;
  grid-template-columns: 1fr;
}

.public-entry__proof-card {
  position: relative;
  overflow: hidden;
  min-height: 7.25rem;
  border-color: var(--bee-copper);
  background: var(--paper-panel);
}

.public-entry__proof-card::before {
  content: "";
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 8px;
  background: var(--entry-minimal-accent, var(--bee-copper));
  box-shadow: none;
  pointer-events: none;
}

.auth-entry-methods--google-first {
  gap: 1rem;
}

.auth-entry-card--google-first {
  position: relative;
  padding: 1.15rem;
  border-color: var(--bee-olive);
  background: var(--paper-panel);
  box-shadow: none;
}

.auth-entry-card--google-first::before {
  content: "";
  position: absolute;
  inset: 0.7rem auto 0.7rem 0.7rem;
  width: 0.24rem;
  border-radius: 8px;
  background: var(--accent-soft);
  pointer-events: none;
}

.auth-entry-card--secondary {
  background: var(--paper-panel);
}

.consent-entry-card {
  position: relative;
  overflow: hidden;
}

.consent-entry-card[data-consent-kind="required"] {
  padding-top: 2.25rem;
  border-color: var(--bee-copper);
  background: var(--paper-panel);
}

.consent-entry-card[data-consent-kind="required"]::before {
  content: "REQUIRED";
  position: absolute;
  top: 0.75rem;
  left: 0.85rem;
  padding: 0.26rem 0.52rem;
  border-radius: 8px;
  background: var(--bee-copper);
  color: var(--bee-cream);
  font-family: var(--font-heading);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
}

.consent-checkpoint-card {
  display: grid;
  gap: 0.6rem;
  padding: 0.95rem;
  border: 1px solid var(--bee-line);
  border-radius: 8px;
  background: var(--paper-panel);
}

.consent-checkpoint-card .brand-note {
  margin: 0;
}

.consent-entry-list--grouped {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.workspace-shell__content--entry-rebaseline {
  align-items: stretch;
}

.workspace-entry-status-strip,
.workspace-entry-next-step {
  border-color: var(--ink-body);
  background: var(--paper-panel);
}

.workspace-entry-status-strip .workspace-data-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.65rem;
  padding: 0;
  list-style: none;
}

.workspace-entry-status-strip .workspace-data-list li {
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--bee-line);
  border-radius: 8px;
  background: var(--paper-panel);
}

.workspace-entry-next-step {
  box-shadow: none;
}

.workspace-entry-checklist .workspace-onboarding-grid,
.workspace-entry-activity .workspace-onboarding-grid {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.workspace-entry-launchpad .workspace-launch-grid {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.workspace-shell--entry-rebaseline {
  --entry-minimal-accent: var(--bee-forest);
}

.workspace-shell--entry-rebaseline .workspace-shell__hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: var(--bee-copper);
  background: var(--paper-panel);
  box-shadow: none;
}

.workspace-shell--entry-rebaseline .workspace-shell__hero > * {
  position: relative;
  z-index: 1;
}

.workspace-shell--entry-rebaseline .workspace-shell__hero::before {
  content: "ENTRY";
  position: absolute;
  right: clamp(1rem, 4vw, 2rem);
  bottom: clamp(0.75rem, 3vw, 1.4rem);
  z-index: 0;
  color: var(--bee-copper);
  font-family: var(--font-display);
  font-size: 5.25rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.78;
  pointer-events: none;
  transform: rotate(-5deg);
}

.workspace-entry-destination-card {
  position: relative;
  overflow: hidden;
  border-color: var(--ink-body);
  background: var(--paper-panel);
  transition: transform var(--motion-standard), box-shadow var(--motion-standard), border-color var(--motion-standard);
}

.workspace-entry-destination-card > * {
  position: relative;
  z-index: 1;
}

.workspace-entry-destination-card::before {
  content: "";
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 8px;
  background: var(--bee-olive);
  box-shadow: none;
  pointer-events: none;
}

.workspace-entry-destination-card:hover {
  border-color: var(--ink-body);
  box-shadow: none;
  transform: translateY(-2px);
}

[data-design-surface="rooms-index-rebaseline"] {
  --workspace-minimal-accent: var(--bee-copper);
  --workspace-minimal-paper: var(--bee-cream);
}

[data-design-surface="room-detail-rebaseline"] {
  --workspace-minimal-accent: var(--bee-olive);
  --workspace-minimal-paper: var(--bee-cream);
}

[data-design-surface="friends-relations-rebaseline"] {
  --workspace-minimal-accent: var(--bee-brown);
  --workspace-minimal-paper: var(--bee-cream);
}

[data-design-surface="containers-evidence-rebaseline"] {
  --workspace-minimal-accent: var(--bee-copper);
  --workspace-minimal-paper: var(--bee-cream);
}

[data-design-surface="dss-history-rebaseline"],
[data-design-surface="dss-detail-rebaseline"] {
  --workspace-minimal-accent: var(--bee-copper);
  --workspace-minimal-paper: var(--bee-cream);
}

[data-design-surface="settings-control-rebaseline"] {
  --workspace-minimal-accent: var(--bee-brown);
  --workspace-minimal-paper: var(--bee-cream);
}

[data-design-surface="subscription-billing-rebaseline"] {
  --workspace-minimal-accent: var(--bee-olive);
  --workspace-minimal-paper: var(--bee-cream);
}

.workspace-shell__content[data-design-surface] .workspace-app-surface,
.workspace-shell__content[data-design-surface] .rooms-index__app-list-shell,
.workspace-shell__content[data-design-surface] .room-detail__chat-surface {
  border-color: var(--workspace-minimal-accent, var(--bee-copper));
  background: var(--paper-panel);
  box-shadow: none;
}

.workspace-shell__content[data-design-surface] .workspace-app-row {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.workspace-shell__content[data-design-surface] .workspace-app-row > * {
  position: relative;
  z-index: 1;
}

.workspace-shell__content[data-design-surface] .workspace-app-row::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 0;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 8px;
  background: var(--workspace-minimal-accent, var(--bee-copper));
  box-shadow: none;
  pointer-events: none;
}

.workspace-shell__content[data-design-surface] .brand-section-label::after {
  content: "";
  display: inline-block;
  width: 0.74rem;
  height: 0.74rem;
  margin-left: 0.45rem;
  border: 1px solid var(--bee-copper);
  border-radius: 8px;
  background: var(--workspace-minimal-accent, var(--bee-copper));
  vertical-align: middle;
  transform: rotate(-2deg);
}

.workspace-shell {
  display: grid;
  gap: 1rem;
}

.workspace-shell--docked {
  --workspace-shell-dock-clearance: 5.5rem;
}

.workspace-shell__hero {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2.35rem);
}

.workspace-shell__masthead {
  display: grid;
  gap: 1rem;
}

.workspace-shell__headline {
  display: grid;
  gap: 0.45rem;
}

.workspace-shell__lede {
  max-width: 42rem;
}

.workspace-nav,
.workspace-backlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.workspace-nav {
  margin-top: 0.25rem;
}

.workspace-nav--rail {
  padding-bottom: 0.2rem;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: thin;
}

.workspace-nav--dock {
  display: none;
}

.workspace-nav--app-tab {
  direction: ltr;
}

.workspace-nav__link {
  text-decoration: none;
  background: var(--paper-panel);
  min-height: 3rem;
  white-space: nowrap;
}

.workspace-nav__link--app-tab {
  display: grid;
  gap: 0.18rem;
  place-items: center;
  min-height: 3.6rem;
  padding: 0.48rem 0.35rem;
  border-radius: 8px;
}

.workspace-nav__icon {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 8px;
  background: var(--paper-panel);
  color: var(--project-c-paper-ink);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.workspace-nav__label {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.68rem;
  line-height: 1.1;
  text-overflow: ellipsis;
}

.workspace-nav__link--active {
  background: var(--paper-panel);
  border-color: var(--ink-body);
  color: #f4faff;
}

.workspace-nav__link--active .workspace-nav__icon {
  background: var(--paper-panel);
  color: #f4faff;
}

.workspace-nav__link--active:hover {
  color: #f4faff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only--focusable:focus {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.8rem 1rem;
  overflow: visible;
  clip: auto;
  white-space: normal;
  z-index: 10;
  border-radius: 8px;
  background: var(--paper-panel);
  color: #f4faff;
  font-family: var(--font-display);
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}

.workspace-shell__content {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: start;
}

.workspace-shell__viewport {
  display: grid;
  gap: 1rem;
  padding: clamp(0.2rem, 1vw, 0.5rem);
  border-radius: 8px;
  background: var(--paper-panel);
  border: 1px solid var(--bee-line);
}

.workspace-shell__viewport--docked {
  scroll-margin-bottom: var(--workspace-shell-dock-clearance, 0);
}

.workspace-shell__dock {
  display: none;
}

.workspace-shell__content--columns {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.workspace-panel {
  display: grid;
  gap: 0.9rem;
}

.workspace-section {
  position: relative;
}

.workspace-panel--full {
  grid-column: 1 / -1;
}

.workspace-list {
  display: grid;
  gap: 1rem;
}

.workspace-onboarding-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.workspace-launch-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.workspace-item {
  display: grid;
  gap: 0.5rem;
}

.workspace-launch-card {
  min-height: 100%;
}

.workspace-item h2,
.workspace-item h3,
.workspace-panel h2,
.workspace-panel h3 {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
}

.workspace-item h2,
.workspace-panel h2 {
  font-size: var(--type-section-title);
  font-weight: 850;
  line-height: 1.15;
}

.workspace-item h3,
.workspace-panel h3 {
  font-size: var(--type-card-title);
  font-weight: 780;
  line-height: 1.22;
}

.workspace-item p,
.workspace-panel p,
.workspace-panel li,
.workspace-panel pre {
  margin: 0;
  color: var(--ink-body);
  line-height: 1.62;
}

.workspace-copy-list,
.workspace-data-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-body);
}

.workspace-data-list {
  display: grid;
  gap: 0.45rem;
}

.workspace-copy-list li + li,
.workspace-data-list li + li {
  margin-top: 0.3rem;
}

.workspace-empty {
  color: var(--ink-muted);
}

.workspace-note {
  color: var(--ink-body);
}

.workspace-backlinks {
  margin: 0;
}

.workspace-backlinks a {
  text-decoration: none;
}

.workspace-card-stack {
  display: grid;
  gap: 1rem;
}

.uploaded-knowledge-search__match {
  background: var(--project-c-app-accent-soft);
  color: var(--project-c-ink-strong);
  border-radius: 4px;
  padding: 0 0.18rem;
}

.workspace-app-surface {
  background: var(--paper-panel);
  border-color: var(--project-c-paper-card-border);
  box-shadow: none;
}

.workspace-app-row {
  background: var(--paper-panel);
  border-color: var(--project-c-paper-card-border);
  border-radius: 8px;
  box-shadow: none;
}

.workspace-app-row + .workspace-app-row {
  margin-top: 0.65rem;
}

.rooms-index__overview,
.rooms-index__list {
  display: grid;
  gap: 1rem;
}

.rooms-index__app-list-shell {
  display: grid;
  gap: 1rem;
  background: var(--paper-panel);
  border-color: var(--project-c-paper-card-border);
}

.rooms-index__app-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--project-c-paper-card-border);
}

.rooms-index__app-header h2,
.rooms-index__app-header p {
  margin: 0;
}

.rooms-index__search {
  display: grid;
  gap: 0.55rem;
}

.rooms-index__search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
}

.rooms-index__search input[type="search"] {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--project-c-paper-card-border);
  border-radius: 8px;
  background: var(--project-c-paper-input);
  color: var(--project-c-paper-ink);
}

.rooms-index__hero {
  display: grid;
  gap: 0.85rem;
}

.rooms-index__hero h2,
.rooms-index__hero p {
  margin: 0;
}

.rooms-index__quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rooms-index__native-actions {
  display: grid;
  gap: 0.6rem;
}

.rooms-index__new-chat {
  display: grid;
  gap: 0.75rem;
}

.rooms-index__new-chat-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--project-c-paper-accent);
  color: #f4faff;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
  list-style: none;
  text-transform: none;
}

.rooms-index__new-chat-trigger::-webkit-details-marker {
  display: none;
}

.rooms-index__new-chat-menu {
  display: grid;
  gap: 0.65rem;
}

.rooms-index__new-chat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rooms-index__stats {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.rooms-index__stat {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 8px;
  background: var(--paper-panel);
  border: 1px solid var(--bee-line);
}

.rooms-index__stat strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0;
  text-transform: none;
}

.rooms-index__cards {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.room-card {
  min-height: 100%;
  display: grid;
  gap: 0.9rem;
}

.room-card--app-row {
  min-height: auto;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  background: var(--paper-panel);
  border-color: var(--project-c-paper-card-border);
  box-shadow: none;
}

.room-card__avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--project-c-paper-accent);
  color: #f4faff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.room-card__hit-area {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.room-card__hit-area:hover .room-card__title {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.room-card__body {
  min-width: 0;
  display: grid;
  gap: 0.55rem;
}

.room-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.room-card__title-stack {
  display: grid;
  gap: 0.35rem;
}

.room-card__title {
  margin: 0;
}

.room-card__badge {
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: var(--paper-panel);
  color: var(--ink-strong);
  font-size: 0.82rem;
  line-height: 1.2;
  white-space: nowrap;
}

.room-card__kind,
.room-card__participants {
  margin: 0;
}

.room-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.workspace-shell--rooms-rebaseline .workspace-shell__content,
.workspace-shell--room-detail-rebaseline .workspace-shell__content,
.workspace-shell--friends-rebaseline .workspace-shell__content,
.workspace-shell--containers-rebaseline .workspace-shell__content,
.workspace-shell--dss-history-rebaseline .workspace-shell__content,
.workspace-shell--dss-detail-rebaseline .workspace-shell__content,
.workspace-shell--settings-rebaseline .workspace-shell__content,
.workspace-shell--subscription-rebaseline .workspace-shell__content {
  gap: clamp(0.9rem, 2vw, 1.35rem);
}

.rooms-index__scan-surface {
  position: relative;
}

.rooms-index__scan-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--paper-panel);
}

.rooms-index__scan-surface > * {
  position: relative;
}

.rooms-index__app-header[data-design-zone="rooms-header"] {
  align-items: flex-start;
}

.rooms-index__search[data-design-zone="rooms-search"] {
  padding: 0.85rem;
  border: 1px solid var(--bee-line);
  border-radius: 8px;
  background: var(--paper-panel);
}

.rooms-index__list[data-design-zone="rooms-list"] {
  gap: 0.75rem;
}

.room-card--design-row {
  border-color: var(--ink-body);
  transition: transform var(--motion-standard), border-color var(--motion-standard), background var(--motion-standard);
}

.room-card--design-row:hover {
  border-color: var(--ink-body);
  background: var(--paper-panel);
  transform: translateY(-1px);
}

.room-card--design-row .room-card__hit-area {
  min-height: 4rem;
}

.rooms-index__native-actions[data-design-zone="rooms-create"] {
  padding-top: 0.25rem;
}

.rooms-index__overview[data-design-zone="rooms-overview"] {
  border-color: var(--ink-body);
}

.room-detail__chat-focus {
  overflow: visible;
}

.room-detail__chat-focus[data-design-zone="room-chat-focus"] {
  box-shadow: none;
}

.room-detail__chat-header[data-design-zone="room-chat-header"] {
  align-items: flex-start;
}

.room-detail__native-toolbar[data-design-zone="room-toolbar"] {
  padding: 0.2rem;
  border: 1px solid var(--bee-line);
  border-radius: 8px;
  background: var(--paper-panel);
}

.room-detail__message-stream[data-design-zone="room-message-stream"] {
  padding: 0.35rem 0 0.2rem;
}

.room-detail__bottom-composer[data-design-zone="room-composer"] {
  border-color: var(--ink-body);
}

.room-detail__auxiliary-actions[data-design-zone="room-tool-tray"] {
  padding: 1rem;
  border: 1px solid var(--bee-line);
  border-radius: 8px;
  background: var(--paper-panel);
}

.room-detail__compose-cluster[data-design-zone="room-primary-tools"],
.room-detail__compose-cluster[data-design-zone="room-supporting-tools"] {
  padding: 0.85rem;
  border: 1px solid var(--bee-line);
  border-radius: 8px;
  background: var(--paper-panel);
}

.room-detail__history-priority[data-design-zone="room-review-switcher"] {
  padding: 1rem;
  border: 1px solid var(--bee-line);
  border-radius: 8px;
  background: var(--paper-panel);
}

.room-detail__dss-context[data-design-zone="room-dss-review"],
.room-detail__files[data-design-zone="room-file-review"] {
  padding: 1rem;
  border: 1px solid var(--bee-line);
  border-radius: 8px;
  background: var(--paper-panel);
}

.room-detail__file-search-links {
  margin-top: 0.75rem;
}

.room-detail__file-card--search-focus {
  border-color: var(--project-c-app-card-border-strong);
  background: var(--project-c-app-accent-soft);
}

.room-detail__file-search-focus {
  display: inline-flex;
  margin-bottom: 0.55rem;
}

.friends-index__overview[data-design-zone="friends-relation-overview"],
.containers-index__overview[data-design-zone="containers-evidence-overview"] {
  position: relative;
  overflow: hidden;
  border-color: var(--ink-body);
}

.friends-index__overview[data-design-zone="friends-relation-overview"]::before,
.containers-index__overview[data-design-zone="containers-evidence-overview"]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--paper-panel);
}

.friends-index__overview[data-design-zone="friends-relation-overview"] > *,
.containers-index__overview[data-design-zone="containers-evidence-overview"] > * {
  position: relative;
}

.friends-index__native-controls[data-design-zone="friends-search-tabs"],
.containers-index__native-controls[data-design-zone="containers-search"] {
  padding: 0.85rem;
  border: 1px solid var(--bee-line);
  border-radius: 8px;
  background: var(--paper-panel);
}

.friends-index__sections[data-design-zone="friends-relation-lanes"],
.containers-index__groups[data-design-zone="containers-evidence-lanes"] {
  border-color: var(--ink-body);
}

.friends-index__request[data-design-zone="friends-add-lane"],
.friends-index__incoming[data-design-zone="friends-request-lane"],
.friends-index__sent[data-design-zone="friends-sent-lane"],
.friends-index__accepted[data-design-zone="friends-direct-room-lane"],
.containers-index__linked[data-design-zone="containers-linked-lane"],
.containers-index__activation[data-design-zone="containers-activation-lane"],
.containers-index__shared[data-design-zone="containers-shared-lane"] {
  border-radius: 8px;
  background: var(--paper-panel);
}

.friends-index__relation-row,
.containers-index__evidence-row {
  border-color: var(--ink-body);
  transition: transform var(--motion-standard), border-color var(--motion-standard), background var(--motion-standard);
}

.friends-index__relation-row:hover,
.containers-index__evidence-row:hover {
  border-color: var(--ink-body);
  background: var(--paper-panel);
  transform: translateY(-1px);
}

.dss-index__overview[data-design-zone="dss-history-overview"],
.dss-detail__overview[data-design-zone="dss-detail-overview"],
.settings-page__overview[data-design-zone="settings-control-overview"],
.subscription-page__overview[data-design-zone="subscription-overview"] {
  position: relative;
  overflow: hidden;
  border-color: var(--ink-body);
}

.dss-index__overview[data-design-zone="dss-history-overview"]::before,
.dss-detail__overview[data-design-zone="dss-detail-overview"]::before,
.settings-page__overview[data-design-zone="settings-control-overview"]::before,
.subscription-page__overview[data-design-zone="subscription-overview"]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--paper-panel);
}

.dss-index__overview[data-design-zone="dss-history-overview"] > *,
.dss-detail__overview[data-design-zone="dss-detail-overview"] > *,
.settings-page__overview[data-design-zone="settings-control-overview"] > *,
.subscription-page__overview[data-design-zone="subscription-overview"] > * {
  position: relative;
}

.dss-index__sessions[data-design-zone="dss-history-sessions"],
.dss-detail__runtime[data-design-zone="dss-runtime-lane"],
.dss-detail__results[data-design-zone="dss-results-lane"],
.settings-page__sections[data-design-zone="settings-control-lanes"],
.subscription-page__billing[data-design-zone="subscription-status-lane"],
.subscription-page__lane[data-design-zone="subscription-web-lane"],
.subscription-page__lane[data-design-zone="subscription-mobile-lane"] {
  border-color: var(--ink-body);
}

.dss-index__decision-row,
.dss-detail__decision-row,
.subscription-page__billing-row {
  border-color: var(--ink-body);
  transition: transform var(--motion-standard), border-color var(--motion-standard), background var(--motion-standard);
}

.dss-index__decision-row:hover,
.dss-detail__decision-row:hover,
.subscription-page__billing-row:hover {
  border-color: var(--ink-body);
  background: var(--paper-panel);
  transform: translateY(-1px);
}

.settings-page__profile[data-design-zone="settings-profile-lane"],
.settings-page__preferences[data-design-zone="settings-preference-lane"],
.settings-page__account-management[data-design-zone="settings-account-lane"] {
  border-color: var(--ink-body);
}

.settings-page__native-section[data-design-zone$="-control"] {
  padding: 0.85rem;
  border: 1px solid var(--bee-line);
  border-radius: 8px;
  background: var(--paper-panel);
}

.room-detail__overview,
.room-detail__compose,
.room-detail__dss-context,
.room-detail__messages,
.room-detail__files {
  display: grid;
  gap: 1rem;
}

.room-detail__chat-surface {
  display: grid;
  gap: 0.9rem;
  background: var(--paper-panel);
  border-color: var(--project-c-paper-card-border);
}

.room-detail__chat-header {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--project-c-paper-card-border);
}

.room-detail__chat-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--project-c-paper-accent);
  color: #f4faff;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.room-detail__chat-title {
  min-width: 0;
  display: grid;
  gap: 0.25rem;
}

.room-detail__chat-title h2,
.room-detail__chat-title p {
  margin: 0;
}

.room-detail__native-toolbar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  justify-content: flex-end;
}

.room-detail__native-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--project-c-paper-card-border);
  border-radius: 8px;
  background: var(--paper-panel);
  color: var(--project-c-paper-ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

.room-detail__native-action--ai {
  background: var(--project-c-paper-accent);
  color: #f4faff;
}

.room-detail__ai-status-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--project-c-paper-card-border);
  background: var(--paper-panel);
  color: var(--project-c-paper-ink);
  font-size: 0.9rem;
}

.room-detail__message-stream {
  padding: 0;
  background: transparent;
}

.room-detail__message-list {
  gap: 0.65rem;
}

.room-detail__message-bubble {
  width: min(88%, 42rem);
  min-height: auto;
  padding: 0.9rem 1rem;
  border-radius: 18px 18px 18px 6px;
  background: var(--paper-panel);
  border-color: var(--project-c-paper-card-border);
  box-shadow: none;
}

.room-detail__message-bubble[data-message-role="user"] {
  justify-self: end;
  border-radius: 18px 18px 6px 18px;
  background: var(--project-c-paper-accent-soft);
}

.room-detail__bottom-composer {
  position: sticky;
  bottom: calc(var(--workspace-shell-dock-clearance, 0rem) + 0.65rem);
  z-index: 4;
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem;
  border: 1px solid var(--project-c-paper-card-border);
  border-radius: 8px;
  background: var(--paper-panel);
  box-shadow: none;
}

.room-detail__bottom-composer h2 {
  margin: 0;
}

.room-detail__message-form {
  display: grid;
  gap: 0.55rem;
  margin-top: 0;
}

.room-detail__message-form .brand-field {
  margin-bottom: 0;
}

.room-detail__native-input-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
}

.room-detail__native-message-field {
  min-width: 0;
}

.room-detail__native-input-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.7rem;
  min-height: 2.7rem;
  border: 1px solid var(--project-c-paper-card-border);
  border-radius: 8px;
  background: var(--paper-panel);
  color: var(--project-c-paper-ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: none;
}

.room-detail__message-form textarea {
  min-height: 3rem;
  resize: vertical;
}

.room-detail__composer-anchor {
  position: relative;
  top: -1rem;
}

.room-detail__mobile-header,
.room-detail__hero,
.room-detail__jump-links {
  display: grid;
  gap: 0.75rem;
}

.room-detail__hero h2,
.room-detail__hero p {
  margin: 0;
}

.room-detail__jump-links {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.room-detail__compose-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.room-detail__compose-cluster,
.room-detail__history-priority {
  display: grid;
  gap: 0.85rem;
}

.room-detail__cluster-copy {
  display: grid;
  gap: 0.45rem;
}

.room-detail__cluster-copy h2,
.room-detail__cluster-copy h3,
.room-detail__cluster-copy p {
  margin: 0;
}

.room-detail__history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.room-detail__compose-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.room-detail__compose-card {
  min-height: 100%;
}

.room-detail__compose-card--primary {
  border-color: var(--ink-body);
}

.room-detail__compose-card--secondary {
  background: var(--paper-panel);
}

.room-detail__dss-mode-stack,
.room-detail__dss-field-grid {
  display: grid;
  gap: 0.85rem;
}

.room-detail__dss-mode-panel {
  display: grid;
  gap: 0.35rem;
}

.room-detail__dss-mode-panel[hidden],
.room-detail__dss-field-grid > .brand-field[hidden] {
  display: none;
}

.room-detail__dss-guidance-list {
  margin: 0;
}

.room-detail__dss-field-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.room-detail__dss-field-grid > .brand-field {
  min-width: 0;
}

.room-detail__dss-field-note {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
}

.friends-index__overview,
.friends-index__sections,
.containers-index__overview,
.containers-index__groups,
.container-detail__overview,
.container-detail__grid,
.container-detail__dss,
.container-detail__share-access,
.container-detail__shared-access {
  display: grid;
  gap: 1rem;
}

.friends-index__hero {
  display: grid;
  gap: 0.85rem;
}

.friends-index__hero h2,
.containers-index__hero h2,
.friends-index__hero p {
  margin: 0;
}

.containers-index__hero {
  display: grid;
  gap: 0.85rem;
}

.container-detail__hero {
  display: grid;
  gap: 0.85rem;
}

.container-detail__section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.friends-index__section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.containers-index__section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.friends-index__jump-links,
.containers-index__jump-links,
.container-detail__jump-links,
.friends-index__accepted-actions,
.friends-index__request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.friends-index__native-controls,
.containers-index__native-controls {
  display: grid;
  gap: 0.75rem;
}

.friends-index__native-search,
.containers-index__native-search {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.friends-index__native-search input[type="search"],
.containers-index__native-search input[type="search"] {
  width: 100%;
}

.friends-index__native-tabs {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.friends-index__native-tabs .brand-chip {
  justify-content: center;
}

.containers-index__native-group-heading {
  margin: 0;
}

.friends-index__request-form,
.friends-index__request-meta,
.friends-index__accepted-card-meta,
.containers-index__card-meta {
  display: grid;
  gap: 0.75rem;
}

.friends-index__request-actions {
  align-items: center;
}

.containers-index__card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.container-detail__linkage-meta,
.container-detail__grant-meta {
  display: grid;
  gap: 0.75rem;
}

.container-detail__linkage-actions,
.container-detail__grant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.friends-index__stats,
.containers-index__stats,
.container-detail__stats {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.friends-index__stat,
.containers-index__stat,
.container-detail__stat {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 8px;
  background: var(--paper-panel);
  border: 1px solid var(--bee-line);
}

.friends-index__stat strong,
.containers-index__stat strong,
.container-detail__stat strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0;
  text-transform: none;
}

.friends-index__grid,
.containers-index__grid,
.container-detail__grid-inner {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.friends-index__request,
.friends-index__incoming,
.friends-index__sent,
.friends-index__accepted,
.containers-index__linked,
.containers-index__activation,
.containers-index__shared,
.container-detail__linkage,
.container-detail__participants {
  min-height: 100%;
}

.friends-index__accepted-card {
  display: grid;
  gap: 0.7rem;
}

.friends-index__accepted-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.friends-index__incoming-card,
.friends-index__sent-card,
.containers-index__linked-card,
.containers-index__activation-card,
.containers-index__shared-card,
.container-detail__dss-session,
.container-detail__grant-row {
  display: grid;
  gap: 0.8rem;
}

.friends-index__status-pill,
.containers-index__status-pill {
  white-space: nowrap;
}

.friends-index__accepted-room-state {
  white-space: nowrap;
}

.friends-index__accepted-room-note {
  margin: 0;
  color: var(--ink-muted);
}

.dss-index__overview,
.dss-index__sessions,
.dss-detail__overview,
.dss-detail__runtime,
.dss-detail__results,
.settings-page__overview,
.settings-page__sections,
.subscription-page__overview,
.subscription-page__billing {
  display: grid;
  gap: 1rem;
}

.dss-index__hero,
.dss-detail__hero {
  display: grid;
  gap: 0.85rem;
}

.settings-page__hero,
.subscription-page__hero {
  display: grid;
  gap: 0.85rem;
}

.dss-index__jump-links,
.dss-detail__jump-links,
.dss-index__session-actions,
.settings-page__jump-links,
.subscription-page__jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.dss-index__session-card,
.dss-index__session-meta,
.dss-detail__runtime-status,
.dss-detail__result-card,
.dss-detail__result-meta,
.dss-detail__result-output {
  display: grid;
  gap: 0.8rem;
}

.dss-detail__section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.dss-detail__result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.dss-evidence-summary__sections {
  display: grid;
  gap: 0.7rem;
}

.dss-evidence-summary__section {
  display: grid;
  gap: 0.35rem;
}

.dss-evidence-summary__section + .dss-evidence-summary__section {
  padding-top: 0.7rem;
  border-top: 1px solid var(--bee-line);
}

.dss-index__stats,
.dss-detail__stats,
.settings-page__stats,
.subscription-page__stats {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.dss-index__stat,
.dss-detail__stat,
.settings-page__stat,
.subscription-page__stat {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 8px;
  background: var(--paper-panel);
  border: 1px solid var(--bee-line);
}

.dss-index__stat strong,
.dss-detail__stat strong,
.settings-page__stat strong,
.subscription-page__stat strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0;
  text-transform: none;
}

.settings-page__grid,
.settings-page__form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.settings-page__subscription-entry,
.subscription-page__status-card,
.subscription-page__lane-card {
  display: grid;
  gap: 0.75rem;
}

.subscription-page__lane {
  display: grid;
  gap: 0.9rem;
}

.subscription-page__lane--web {
  background: var(--paper-panel);
}

.subscription-page__lane--mobile {
  background: var(--paper-panel);
}

.subscription-page__section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.subscription-page__billing-status,
.subscription-page__billing-detail {
  margin: 0;
}

.subscription-page__billing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.settings-page__section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.settings-page__native-section,
.settings-page__account-management {
  display: grid;
  gap: 0.75rem;
}

.settings-page__native-section h3 {
  margin: 0;
}

.settings-page__profile-group,
.settings-page__preference-group,
.settings-page__identity-status,
.settings-page__identity-summary {
  display: grid;
  gap: 0.75rem;
}

.settings-page__identity-pill {
  justify-self: flex-start;
}

.settings-page__identity-inline-chip {
  justify-self: flex-start;
}

.settings-page__identity-pill--connected {
  background: var(--paper-panel);
  border-color: var(--ink-body);
}

.settings-page__identity-pill--linked {
  background: var(--paper-panel);
  border-color: var(--ink-body);
}

.settings-page__identity-pill--unlinked {
  background: var(--paper-panel);
  border-color: var(--ink-body);
}

.settings-page__identity-detail {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 8px;
  background: var(--paper-panel);
  border: 1px solid var(--bee-line);
}

.settings-page__identity-detail strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.settings-page__form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.settings-page__activation,
.settings-page__profile,
.settings-page__preferences {
  min-height: 100%;
}

.admin-dashboard__overview,
.admin-dashboard__runtime,
.admin-dashboard__knowledge {
  display: grid;
  gap: 1rem;
}

.admin-dashboard__hero {
  display: grid;
  gap: 0.85rem;
}

.admin-dashboard__section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.admin-dashboard__jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-dashboard__knowledge-form,
.admin-dashboard__knowledge-result-meta {
  display: grid;
  gap: 0.75rem;
}

.admin-dashboard__knowledge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-dashboard__stats {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.admin-dashboard__stat {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 8px;
  background: var(--paper-panel);
  border: 1px solid var(--bee-line);
}

.admin-dashboard__stat strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0;
  text-transform: none;
}

.admin-dashboard__knowledge-result {
  display: grid;
  gap: 0.45rem;
}

.admin-dashboard__knowledge-match-group {
  display: grid;
  gap: 0.35rem;
}

.admin-dashboard__knowledge-context-group {
  display: grid;
  gap: 0.35rem;
}

.admin-dashboard__knowledge-summary-group {
  display: grid;
  gap: 0.35rem;
}

.admin-dashboard__knowledge-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-dashboard__knowledge-term {
  align-self: flex-start;
}

.admin-dashboard__knowledge-provenance {
  margin: 0;
}

.admin-dashboard__knowledge-context {
  margin: 0;
}

.admin-dashboard__knowledge-summary,
.admin-dashboard__knowledge-empty {
  margin: 0;
}

.workspace-inline-label {
  color: var(--ink-strong);
  font-family: var(--font-heading);
  font-size: var(--type-label);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}

.workspace-item__status {
  color: var(--ink-strong);
  font-family: var(--font-heading);
  letter-spacing: 0;
  text-transform: none;
}

.workspace-alert--notice {
  background: var(--paper-panel);
  color: var(--seal);
  border-color: var(--ink-body);
}

@media (max-width: 820px) {
  body.soultalk-body.brand-page--project-c-native,
  body.soultalk-body.workspace-page--project-c-native {
    color: var(--project-c-app-text);
    font-family: var(--font-body);
    background: var(--project-c-app-bg);
  }

  body.soultalk-body.brand-page--project-c-native::before,
  body.soultalk-body.workspace-page--project-c-native::before {
    opacity: 0.08;
  }

  body.soultalk-body.brand-page--project-c-native main,
  body.soultalk-body.workspace-page--project-c-native main {
    width: 100%;
    min-height: 100dvh;
    padding: 0;
  }

  body.soultalk-body.brand-page--project-c-native a,
  body.soultalk-body.workspace-page--project-c-native a {
    color: var(--project-c-app-accent-deep);
  }

  .workspace-shell--docked {
    padding-bottom: var(--workspace-shell-dock-clearance);
  }

  .brand-frame--split {
    grid-template-columns: 1fr;
  }

  .brand-stage__split {
    grid-template-columns: 1fr;
  }

  .brand-stage--project-c-entry {
    align-items: start;
  }

  .brand-stage--project-c-entry .brand-stage__split--app-card {
    max-width: 520px;
    gap: 0.75rem;
  }

  .brand-stage--project-c-entry .brand-card {
    padding: 1rem;
    border-radius: 8px;
  }

  .brand-stage--project-c-entry .brand-card::after {
    inset: 9px;
    border-radius: 8px;
  }

  .brand-stage--project-c-entry .brand-mark {
    margin-bottom: 0.35rem;
  }

  .brand-stage--project-c-entry .brand-mark__seal {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: var(--bee-copper);
    color: var(--project-c-paper-ink);
    box-shadow: none;
  }

  .brand-stage--project-c-entry .brand-lede,
  .brand-stage--project-c-entry .brand-note,
  .auth-entry-card p,
  .consent-entry-card p {
    line-height: 1.45;
  }

  .brand-title {
    font-size: 3rem;
  }

  .brand-stage--project-c-entry .brand-title {
    margin: 0.35rem 0 0.55rem;
    font-size: 2.7rem;
    line-height: 0.86;
  }

  body.soultalk-body main {
    width: min(100%, calc(100% - 1.2rem));
  }

  .workspace-shell__content {
    grid-template-columns: 1fr;
  }

  .workspace-shell__hero {
    border-radius: 8px;
  }

  .workspace-shell--project-c-mobile {
    color: var(--project-c-paper-ink);
  }

  .workspace-shell--project-c-mobile .workspace-shell__app-header {
    gap: 0.7rem;
    padding: 1rem;
    border-radius: 8px;
    background: var(--paper-panel);
    border-color: var(--project-c-paper-card-border);
  }

  .workspace-shell--project-c-mobile .workspace-shell__app-header .brand-mark {
    margin-bottom: 0.25rem;
  }

  .workspace-shell--project-c-mobile .workspace-shell__app-header .brand-mark__seal {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--project-c-paper-accent);
    color: var(--project-c-paper-ink);
    box-shadow: none;
  }

  .workspace-shell--project-c-mobile .workspace-shell__app-header .brand-title--compact {
    margin: 0.25rem 0 0;
    font-size: 1.8rem;
    line-height: 1;
  }

  .workspace-shell--project-c-mobile .workspace-shell__app-header .brand-lede {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .workspace-app-surface {
    border-radius: 8px;
  }

  .workspace-app-row {
    border-radius: 8px;
  }

  .workspace-shell__viewport {
    padding: 0;
    background: transparent;
    border: 0;
  }

  .workspace-nav--rail {
    display: none;
  }

  .workspace-shell__viewport--docked {
    padding-bottom: 0.25rem;
  }

  .workspace-shell__dock {
    position: sticky;
    bottom: 0.85rem;
    z-index: 6;
    display: block;
  }

  .workspace-nav--dock {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    align-items: stretch;
    padding: 0.8rem;
    border-radius: 8px;
    background: var(--paper-panel);
    border: 1px solid var(--project-c-paper-card-border);
    box-shadow: none;
    backdrop-filter: blur(18px);
  }

  .workspace-nav--dock .workspace-nav__link {
    justify-content: center;
    min-width: 0;
    min-height: 3.6rem;
    padding-inline: 0.5rem;
    text-align: center;
  }

  .workspace-nav--app-tab .workspace-nav__link {
    background: transparent;
    border-color: transparent;
    color: var(--project-c-paper-ink);
    box-shadow: none;
  }

  .workspace-nav--app-tab .workspace-nav__link--active {
    background: var(--project-c-paper-accent);
    color: #f4faff;
  }

  .rooms-index__hero {
    gap: 0.75rem;
  }

  .rooms-index__overview--mobile-stack,
  .rooms-index__list--mobile-stack {
    gap: 0.85rem;
  }

  .rooms-index__stats--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .rooms-index__stats--compact .rooms-index__stat {
    padding: 0.8rem 0.7rem;
    border-radius: 8px;
  }

  .rooms-index__stats--compact .workspace-inline-label {
    font-size: 0.68rem;
  }

  .rooms-index__cards--stacked {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .rooms-index__quick-actions,
  .room-card__actions {
    gap: 0.45rem;
  }

  .rooms-index__search-control {
    grid-template-columns: 1fr;
  }

  .room-card--compact {
    gap: 0.7rem;
  }

  .room-card--compact.room-card {
    border-radius: 8px;
  }

  .room-card--compact .room-card__header {
    flex-direction: column;
    align-items: stretch;
  }

  .room-card--app-row.room-card--compact .room-card__header {
    flex-direction: row;
    align-items: flex-start;
  }

  .room-card--compact .room-card__badge {
    width: fit-content;
  }

  .room-card--compact .room-card__participants {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .room-detail__overview--mobile-entry {
    gap: 0.85rem;
  }

  .room-detail__chat-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .room-detail__chat-header > .brand-chip {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .room-detail__message-bubble {
    width: min(92%, 38rem);
  }

  .room-detail__bottom-composer {
    bottom: calc(var(--workspace-shell-dock-clearance, 5.5rem) + 0.35rem);
    border-radius: 8px;
  }

  .room-detail__jump-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .room-detail__jump-links .brand-chip {
    justify-content: center;
  }

  .room-detail__compose-actions {
    gap: 0.45rem;
  }

  .room-detail__history-actions {
    gap: 0.45rem;
  }

  .room-detail__compose-grid {
    grid-template-columns: 1fr;
  }

  .friends-index__hero {
    gap: 0.75rem;
  }

  .containers-index__hero {
    gap: 0.75rem;
  }

  .container-detail__hero {
    gap: 0.75rem;
  }

  .friends-index__section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .friends-index__accepted-card-header {
    align-items: stretch;
    flex-direction: column;
  }

  .containers-index__section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .container-detail__section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .friends-index__jump-links,
  .containers-index__jump-links,
  .container-detail__jump-links,
  .friends-index__accepted-actions,
  .friends-index__request-actions {
    gap: 0.45rem;
  }

  .containers-index__card-actions,
  .container-detail__linkage-actions,
  .container-detail__grant-actions {
    gap: 0.45rem;
  }

  .dss-index__hero,
  .dss-detail__hero {
    gap: 0.75rem;
  }

  .dss-detail__section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .dss-index__jump-links,
  .dss-detail__jump-links,
  .dss-index__session-actions,
  .settings-page__jump-links,
  .subscription-page__jump-links {
    gap: 0.45rem;
  }

  .settings-page__hero,
  .subscription-page__hero {
    gap: 0.75rem;
  }

  .subscription-page__section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .subscription-page__billing-actions {
    gap: 0.45rem;
  }

  .settings-page__section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .settings-page__form-actions {
    gap: 0.45rem;
  }

  .dss-detail__result-actions {
    gap: 0.45rem;
  }

  .admin-dashboard__hero {
    gap: 0.75rem;
  }

  .admin-dashboard__section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-dashboard__jump-links {
    gap: 0.45rem;
  }

  .admin-dashboard__knowledge-actions {
    gap: 0.45rem;
  }

  .brand-stage--project-c-native {
    align-items: center;
    min-height: 100dvh;
    padding: 1rem;
    color: var(--project-c-app-text);
    background: var(--project-c-app-bg);
  }

  .brand-stage--project-c-native .brand-stage__split--app-card {
    width: min(100%, 500px);
    max-width: 500px;
    gap: 0.85rem;
    grid-template-columns: 1fr;
  }

  .brand-stage--project-c-native .brand-card {
    padding: 1.25rem;
    border-radius: 8px;
    border-color: var(--project-c-app-card-border);
    background: var(--project-c-app-card);
    box-shadow: none;
  }

  .brand-stage--project-c-native .brand-card::after,
  .workspace-shell--project-c-native .brand-card::after {
    display: none;
  }

  .brand-stage--project-c-native .brand-stage__spotlight {
    min-height: auto;
    text-align: center;
    background: transparent;
    border-color: transparent;
  }

  .brand-stage--project-c-entry.brand-stage--project-c-native .brand-stage__spotlight::before {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.55rem;
    width: auto;
    font-size: clamp(3.4rem, 18vw, 4.8rem);
    line-height: 0.84;
    text-align: center;
    transform: rotate(-4deg);
  }

  .brand-stage--project-c-native .brand-stage__panel,
  .brand-stage--project-c-native .brand-stage__aside {
    min-height: auto;
  }

  .brand-stage--project-c-native .brand-mark {
    justify-content: center;
    margin-bottom: 0.75rem;
  }

  .brand-stage--project-c-native .brand-mark__seal {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: var(--project-c-app-header);
    color: var(--project-c-app-accent);
  }

  .brand-stage--project-c-native .brand-mark__eyebrow,
  .brand-stage--project-c-native .brand-title,
  .brand-stage--project-c-native .auth-entry-card h3,
  .brand-stage--project-c-native .consent-entry-card h2 {
    color: var(--project-c-app-text);
  }

  .brand-stage--project-c-native .brand-mark__caption,
  .brand-stage--project-c-native .brand-kicker,
  .brand-stage--project-c-native .brand-section-label,
  .brand-stage--project-c-native .brand-field__label {
    color: var(--project-c-app-muted);
  }

  .brand-stage--project-c-native .brand-title {
    margin: 0.35rem 0 0.45rem;
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.86;
    text-transform: none;
  }

  .brand-stage--project-c-entry.brand-stage--project-c-native .brand-title {
    color: var(--bee-forest);
    text-shadow: none;
  }

  .brand-stage--project-c-native .brand-lede,
  .brand-stage--project-c-native .brand-note,
  .brand-stage--project-c-native .brand-ledger span,
  .brand-stage--project-c-native .auth-entry-card p,
  .brand-stage--project-c-native .consent-entry-card p {
    color: var(--project-c-app-muted);
    line-height: 1.45;
  }

  .brand-stage--project-c-native .brand-ledger {
    display: none;
  }

  .brand-stage--project-c-native .public-entry__proof-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-top: 0.85rem;
  }

  .brand-stage--project-c-native .public-entry__proof-card {
    min-height: auto;
    padding: 0.75rem;
    text-align: left;
  }

  .brand-stage--project-c-native .auth-entry-methods--google-first,
  .brand-stage--project-c-native .consent-entry-list--grouped {
    gap: 0.65rem;
  }

  .brand-stage--project-c-native .auth-entry-card,
  .brand-stage--project-c-native .consent-entry-card {
    border-color: var(--project-c-app-card-border);
    background: var(--project-c-app-input);
  }

  .brand-stage--project-c-native .auth-entry-card--google-first::before {
    display: none;
  }

  .brand-stage--project-c-native .auth-entry-card--primary {
    background: var(--paper-panel);
    border-color: var(--ink-body);
  }

  .brand-stage--project-c-native .brand-field input[type="email"],
  .brand-stage--project-c-native .brand-field input[type="password"],
  .brand-stage--project-c-native .brand-field input[type="text"],
  .brand-stage--project-c-native .brand-field textarea,
  .brand-stage--project-c-native .brand-field select,
  .workspace-shell--project-c-native .brand-field input[type="email"],
  .workspace-shell--project-c-native .brand-field input[type="password"],
  .workspace-shell--project-c-native .brand-field input[type="text"],
  .workspace-shell--project-c-native .brand-field textarea,
  .workspace-shell--project-c-native .brand-field select,
  .workspace-shell--project-c-native .rooms-index__search input[type="search"],
  .workspace-shell--project-c-native .friends-index__native-search input[type="search"],
  .workspace-shell--project-c-native .containers-index__native-search input[type="search"] {
    min-height: 48px;
    border-radius: 8px;
    border-color: var(--project-c-app-input-border);
    background: var(--project-c-app-input);
    color: var(--project-c-app-text);
  }

  .brand-stage--project-c-native .brand-button,
  .brand-stage--project-c-native input[type="submit"],
  .workspace-shell--project-c-native .brand-button,
  .workspace-shell--project-c-native input[type="submit"] {
    min-height: 48px;
    border-radius: 8px;
    border-color: var(--ink-body);
    background: var(--project-c-app-accent);
    color: #f4faff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: none;
  }

  body.soultalk-body .brand-stage--project-c-native .brand-button,
  body.soultalk-body .brand-stage--project-c-native input[type="submit"],
  body.soultalk-body .workspace-shell--project-c-native .brand-button,
  body.soultalk-body .workspace-shell--project-c-native input[type="submit"] {
    background: var(--project-c-app-accent);
    color: #f4faff;
    box-shadow: none;
  }

  .workspace-shell--project-c-native {
    --workspace-shell-safe-bottom: env(safe-area-inset-bottom, 0px);
    --workspace-shell-dock-clearance: calc(7.25rem + var(--workspace-shell-safe-bottom));
    display: grid;
    gap: 0;
    min-height: 100dvh;
    color: var(--project-c-app-text);
    background: var(--project-c-app-surface);
    overscroll-behavior-y: contain;
  }

  .workspace-shell--project-c-native .workspace-shell__content--entry-rebaseline {
    gap: 0.75rem;
  }

  .workspace-shell--project-c-native .workspace-entry-status-strip,
  .workspace-shell--project-c-native .workspace-entry-next-step {
    border-radius: 8px;
    border-color: var(--project-c-app-card-border);
    background: var(--project-c-app-card);
    box-shadow: none;
  }

  .workspace-shell--project-c-native .workspace-entry-status-strip .workspace-data-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .workspace-shell--project-c-native .workspace-entry-status-strip .workspace-data-list li {
    padding: 0.65rem;
    border-color: var(--project-c-app-card-border);
    border-radius: 8px;
    background: var(--project-c-app-input);
  }

  .workspace-shell--project-c-native .workspace-entry-checklist .workspace-onboarding-grid,
  .workspace-shell--project-c-native .workspace-entry-activity .workspace-onboarding-grid,
  .workspace-shell--project-c-native .workspace-entry-launchpad .workspace-launch-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .workspace-shell--project-c-native .workspace-entry-destination-card:hover {
    box-shadow: none;
    transform: none;
  }

  .workspace-shell--project-c-native .workspace-shell__app-header {
    min-height: 96px;
    height: 96px;
    gap: 0;
    padding: 12px 16px;
    border: 0;
    border-bottom: 1px solid var(--project-c-app-card-border);
    border-radius: 0;
    background: var(--project-c-app-header);
    box-shadow: none;
  }

  .workspace-shell--project-c-native .brand-card.workspace-shell__app-header {
    background: var(--project-c-app-header);
  }

  .workspace-shell--project-c-native.workspace-shell--chat-detail .workspace-shell__app-header {
    display: none;
  }

  .workspace-shell--project-c-native .workspace-shell__masthead {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .workspace-shell--project-c-native .workspace-shell__app-header .brand-mark {
    flex: 0 0 auto;
    margin: 0;
  }

  .workspace-shell--project-c-native .workspace-shell__app-header .brand-mark__seal {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--paper-panel);
    color: var(--project-c-app-accent);
    font-size: 1rem;
  }

  .workspace-shell--project-c-native .workspace-shell__app-header .brand-mark__copy {
    display: none;
  }

  .workspace-shell--project-c-native .workspace-shell__headline {
    min-width: 0;
    gap: 0.1rem;
  }

  .workspace-shell--project-c-native .workspace-shell__app-header .brand-kicker {
    display: none;
  }

  .workspace-shell--project-c-native .workspace-shell__app-header .brand-title--compact {
    margin: 0;
    color: var(--project-c-app-accent);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: none;
  }

  .workspace-shell--project-c-native .workspace-shell__app-header .brand-lede {
    max-width: none;
    overflow: hidden;
    color: var(--ink-body);
    font-size: 0.875rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .workspace-shell--project-c-native .workspace-shell__viewport {
    min-height: calc(100dvh - 96px);
    overflow-x: hidden;
    padding: 0;
    background: var(--project-c-app-surface);
  }

  .workspace-shell--project-c-native .workspace-shell__content {
    gap: 0;
    padding-bottom: var(--workspace-shell-dock-clearance);
  }

  .workspace-shell--project-c-native .workspace-shell__content--columns {
    grid-template-columns: 1fr;
  }

  .workspace-shell--project-c-native .brand-card,
  .workspace-shell--project-c-native .workspace-app-surface,
  .workspace-shell--project-c-native .rooms-index__app-list-shell,
  .workspace-shell--project-c-native .room-detail__chat-surface {
    border-color: var(--project-c-app-card-border);
    background: var(--project-c-app-card);
    box-shadow: none;
  }

  .workspace-shell--project-c-native .workspace-app-row,
  .workspace-shell--project-c-native .room-card--app-row {
    border-radius: 0;
    border-width: 0 0 1px;
    border-color: var(--project-c-app-card-border);
    background: transparent;
  }

  .workspace-shell--project-c-native .room-card--app-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 16px 0;
    text-align: left;
  }

  .workspace-shell--project-c-native .room-card__hit-area {
    grid-column: 1 / -1;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    min-height: 56px;
  }

  .workspace-shell--project-c-native .room-card--app-row .room-card__body {
    gap: 0.25rem;
  }

  .workspace-shell--project-c-native .room-card--app-row .room-card__header {
    align-items: center;
    flex-direction: row;
  }

  .workspace-shell--project-c-native .room-card--app-row .room-card__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
  }

  .workspace-shell--project-c-native .room-card--app-row .room-card__kind,
  .workspace-shell--project-c-native .room-card--app-row .room-card__participants {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .workspace-shell--project-c-native .room-card--app-row .workspace-inline-label {
    display: none;
  }

  .workspace-shell--project-c-native .room-card__actions {
    grid-column: 2;
    justify-self: start;
    margin-top: -0.15rem;
  }

  .workspace-shell--project-c-native .rooms-index__app-list-shell,
  .workspace-shell--project-c-native .room-detail__chat-surface,
  .workspace-shell--project-c-native .workspace-app-surface {
    padding: 16px;
    border-width: 0 0 1px;
    border-radius: 0;
  }

  .workspace-shell--project-c-native .rooms-index__app-list-shell {
    gap: 8px;
    padding-top: 8px;
  }

  .workspace-shell--project-c-native .rooms-index__scan-surface::before {
    display: none;
  }

  .workspace-shell--project-c-native .rooms-index__search[data-design-zone="rooms-search"] {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .workspace-shell--project-c-native .rooms-index__app-header {
    display: none;
  }

  .workspace-shell--project-c-native .rooms-index__search {
    gap: 0;
  }

  .workspace-shell--project-c-native .rooms-index__search .brand-field__label,
  .workspace-shell--project-c-native .rooms-index__list > .brand-section-label {
    display: none;
  }

  .workspace-shell--project-c-native .rooms-index__search-control {
    grid-template-columns: 1fr;
  }

  .workspace-shell--project-c-native .rooms-index__search input[type="submit"] {
    display: none;
  }

  .workspace-shell--project-c-native .rooms-index__cards--stacked {
    gap: 0;
  }

  .workspace-shell--project-c-native .room-card--design-row {
    transition: none;
  }

  .workspace-shell--project-c-native .room-card--design-row:hover {
    border-color: var(--project-c-app-card-border);
    background: transparent;
    transform: none;
  }

  .workspace-shell--project-c-native .rooms-index__native-actions {
    padding-top: 8px;
  }

  .workspace-shell--project-c-native .rooms-index__new-chat {
    gap: 0;
  }

  .workspace-shell--project-c-native .rooms-index__new-chat-trigger {
    min-height: 48px;
    border-radius: 8px;
    background: var(--project-c-app-accent);
    color: #f4faff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: none;
  }

  .workspace-shell--project-c-native .rooms-index__new-chat-trigger::before,
  .workspace-shell--project-c-native .rooms-index__new-chat-trigger::after {
    content: "";
    display: block;
    width: 14px;
    height: 2px;
    border-radius: 8px;
    background: currentColor;
  }

  .workspace-shell--project-c-native .rooms-index__new-chat-trigger::after {
    margin-left: -22px;
    transform: rotate(90deg);
  }

  .workspace-shell--project-c-native .rooms-index__new-chat-icon {
    display: none;
  }

  .workspace-shell--project-c-native .rooms-index__new-chat-menu {
    margin-top: 8px;
    padding: 12px;
    border: 1px solid var(--project-c-app-card-border);
    border-radius: 8px;
    background: var(--paper-panel);
  }

  .workspace-shell--project-c-native .rooms-index__new-chat-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .workspace-shell--project-c-native .rooms-index__new-chat-links .brand-chip {
    justify-content: center;
    min-height: 40px;
    border-radius: 8px;
  }

  .workspace-shell--project-c-native .rooms-index__overview,
  .workspace-shell--project-c-native .room-detail__overview,
  .workspace-shell--project-c-native .room-detail__auxiliary-actions,
  .workspace-shell--project-c-native .room-detail__history-priority,
  .workspace-shell--project-c-native .room-detail__dss-context,
  .workspace-shell--project-c-native .room-detail__files {
    margin-top: 12px;
  }

  .workspace-shell--project-c-native .rooms-index__overview {
    display: none;
  }

  .workspace-shell--project-c-native .room-detail__chat-focus[data-design-zone="room-chat-focus"] {
    box-shadow: none;
  }

  .workspace-shell--project-c-native .room-detail__chat-header {
    border-color: var(--project-c-app-card-border);
  }

  .workspace-shell--project-c-native .room-detail__chat-surface {
    min-height: calc(100dvh - 96px - var(--workspace-shell-dock-clearance));
    gap: 0;
    padding-top: 0;
  }

  .workspace-shell--project-c-native .room-detail__chat-header {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    margin: 0 -16px;
    padding: 10px 16px;
    background: var(--project-c-app-header);
    border-bottom: 1px solid var(--project-c-app-card-border);
  }

  .workspace-shell--project-c-native .room-detail__chat-header > .brand-chip {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    background: transparent;
    color: var(--project-c-app-accent);
    font-size: 0;
    text-decoration: none;
  }

  .workspace-shell--project-c-native .room-detail__chat-header > .brand-chip::before {
    content: "←";
    font-size: 1.35rem;
    line-height: 1;
  }

  .workspace-shell--project-c-native .room-detail__chat-title {
    gap: 0.05rem;
  }

  .workspace-shell--project-c-native .room-detail__chat-title .workspace-inline-label {
    display: none;
  }

  .workspace-shell--project-c-native .room-detail__chat-title h2 {
    overflow: hidden;
    max-width: 9.25rem;
    color: var(--project-c-app-accent);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .workspace-shell--project-c-native .room-detail__chat-title p {
    color: var(--ink-body);
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .workspace-shell--project-c-native .room-detail__native-toolbar {
    gap: 8px;
    justify-content: flex-end;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .workspace-shell--project-c-native .room-detail__native-action {
    width: 52px;
    min-height: 52px;
    padding: 7px 6px;
    border-radius: 8px;
    border-color: var(--ink-body);
    background: var(--paper-panel);
    color: var(--project-c-app-accent);
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.15;
    text-align: center;
    text-transform: none;
  }

  .workspace-shell--project-c-native .room-detail__native-action--ai {
    background: var(--paper-panel);
    color: #f4faff;
  }

  .workspace-shell--project-c-native .room-detail__native-action--more {
    width: 32px;
    min-width: 32px;
    border-color: transparent;
    background: transparent;
    color: #f4faff;
    font-size: 0;
  }

  .workspace-shell--project-c-native .room-detail__native-action--more::before {
    content: "⋮";
    font-size: 1.25rem;
    line-height: 1;
  }

  .workspace-shell--project-c-native .room-detail__ai-status-strip {
    margin: 0 -16px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--project-c-app-card-border);
    background: var(--paper-panel);
    color: var(--project-c-app-text-secondary);
    font-family: var(--font-body);
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .workspace-shell--project-c-native .room-detail__message-stream {
    min-height: 48dvh;
    padding-top: 12px;
  }

  .workspace-shell--project-c-native .room-detail__auxiliary-actions[data-design-zone="room-tool-tray"],
  .workspace-shell--project-c-native .room-detail__compose-cluster[data-design-zone="room-primary-tools"],
  .workspace-shell--project-c-native .room-detail__compose-cluster[data-design-zone="room-supporting-tools"],
  .workspace-shell--project-c-native .room-detail__history-priority[data-design-zone="room-review-switcher"],
  .workspace-shell--project-c-native .room-detail__dss-context[data-design-zone="room-dss-review"],
  .workspace-shell--project-c-native .room-detail__files[data-design-zone="room-file-review"] {
    border-color: var(--project-c-app-card-border);
    border-radius: 8px;
    background: var(--project-c-app-card);
  }

  .workspace-shell--project-c-native .room-card__avatar,
  .workspace-shell--project-c-native .room-detail__chat-avatar {
    background: var(--paper-panel);
    color: var(--project-c-app-text);
    font-family: var(--font-body);
  }

  .workspace-shell--project-c-native .brand-title,
  .workspace-shell--project-c-native .workspace-item h2,
  .workspace-shell--project-c-native .workspace-item h3,
  .workspace-shell--project-c-native .workspace-panel h2,
  .workspace-shell--project-c-native .workspace-panel h3,
  .workspace-shell--project-c-native .room-card__title,
  .workspace-shell--project-c-native .room-card__title a,
  .workspace-shell--project-c-native .room-detail__chat-title h2 {
    color: var(--project-c-app-text);
    font-family: var(--font-heading);
    letter-spacing: 0;
    text-transform: none;
  }

  .workspace-shell--project-c-native .workspace-item p,
  .workspace-shell--project-c-native .workspace-panel p,
  .workspace-shell--project-c-native .workspace-panel li,
  .workspace-shell--project-c-native .workspace-copy-list,
  .workspace-shell--project-c-native .workspace-data-list,
  .workspace-shell--project-c-native .workspace-note,
  .workspace-shell--project-c-native .workspace-empty,
  .workspace-shell--project-c-native .room-card__participants,
  .workspace-shell--project-c-native .room-detail__chat-title p {
    color: var(--project-c-app-muted);
  }

  .workspace-shell--project-c-native .workspace-inline-label,
  .workspace-shell--project-c-native .brand-section-label,
  .workspace-shell--project-c-native .brand-field__label {
    color: var(--project-c-app-muted);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0;
    text-transform: none;
  }

  .workspace-shell--project-c-native h2.brand-section-label {
    color: var(--project-c-app-text);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.15;
  }

  .workspace-shell--project-c-native .brand-chip,
  .workspace-shell--project-c-native .room-card__badge {
    min-height: 32px;
    border-color: var(--project-c-app-card-border);
    background: var(--project-c-app-input);
    color: var(--project-c-app-text-secondary);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0;
    text-transform: none;
  }

  .workspace-shell--project-c-native .room-detail__message-bubble {
    border-color: var(--project-c-app-card-border);
    background: var(--paper-panel);
    color: var(--project-c-app-text);
  }

  .workspace-shell--project-c-native .room-detail__message-bubble[data-message-role="user"] {
    background: var(--paper-panel);
  }

  .workspace-shell--project-c-native .room-detail__bottom-composer {
    bottom: calc(var(--workspace-shell-dock-clearance) + 0.5rem);
    border-radius: 8px;
    border-color: var(--project-c-app-card-border);
    background: var(--paper-panel);
    box-shadow: none;
  }

  .workspace-shell--project-c-native .room-detail__bottom-composer h2 {
    display: none;
  }

  .workspace-shell--project-c-native .room-detail__message-form {
    margin-top: 0;
  }

  .workspace-shell--project-c-native .room-detail__native-input-row {
    grid-template-columns: 36px minmax(0, 1fr) 48px;
    gap: 8px;
  }

  .workspace-shell--project-c-native .room-detail__native-input-button {
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--project-c-app-muted);
    font-size: 0;
  }

  .workspace-shell--project-c-native .room-detail__native-input-button::before {
    content: "⌕";
    font-size: 1.5rem;
    line-height: 1;
    transform: rotate(-45deg);
  }

  .workspace-shell--project-c-native .room-detail__native-message-field .brand-field__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .workspace-shell--project-c-native .room-detail__message-form textarea {
    min-height: 48px;
    max-height: 6rem;
    padding: 12px 14px;
    border-radius: 8px;
    resize: vertical;
  }

  .workspace-shell--project-c-native .room-detail__native-send input[type="submit"] {
    width: 48px;
    min-width: 48px;
    padding: 0;
    font-size: 0;
  }

  .workspace-shell--project-c-native .room-detail__native-send {
    position: relative;
  }

  .workspace-shell--project-c-native .room-detail__native-send::before {
    content: "›";
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    color: #f4faff;
    font-size: 1.8rem;
    font-weight: 700;
    pointer-events: none;
  }

  .workspace-shell--project-c-native .friends-index__overview,
  .workspace-shell--project-c-native .containers-index__overview,
  .workspace-shell--project-c-native .dss-index__overview,
  .workspace-shell--project-c-native .dss-detail__overview,
  .workspace-shell--project-c-native .settings-page__overview,
  .workspace-shell--project-c-native .subscription-page__overview {
    gap: 0;
    padding: 12px 16px;
    border-width: 0 0 1px;
    border-radius: 0;
    background: var(--project-c-app-card);
  }

  .workspace-shell--project-c-native .friends-index__overview[data-design-zone="friends-relation-overview"]::before,
  .workspace-shell--project-c-native .containers-index__overview[data-design-zone="containers-evidence-overview"]::before,
  .workspace-shell--project-c-native .dss-index__overview[data-design-zone="dss-history-overview"]::before,
  .workspace-shell--project-c-native .dss-detail__overview[data-design-zone="dss-detail-overview"]::before,
  .workspace-shell--project-c-native .settings-page__overview[data-design-zone="settings-control-overview"]::before,
  .workspace-shell--project-c-native .subscription-page__overview[data-design-zone="subscription-overview"]::before {
    display: none;
  }

  .workspace-shell--project-c-native .friends-index__hero,
  .workspace-shell--project-c-native .containers-index__hero,
  .workspace-shell--project-c-native .dss-index__hero,
  .workspace-shell--project-c-native .dss-detail__hero,
  .workspace-shell--project-c-native .settings-page__hero,
  .workspace-shell--project-c-native .subscription-page__hero {
    gap: 0;
  }

  .workspace-shell--project-c-native .friends-index__hero > p,
  .workspace-shell--project-c-native .friends-index__hero > h2,
  .workspace-shell--project-c-native .containers-index__hero > p,
  .workspace-shell--project-c-native .containers-index__hero > h2,
  .workspace-shell--project-c-native .dss-index__hero > p,
  .workspace-shell--project-c-native .dss-index__hero > h2,
  .workspace-shell--project-c-native .dss-detail__hero > .workspace-note,
  .workspace-shell--project-c-native .dss-detail__hero .workspace-item,
  .workspace-shell--project-c-native .settings-page__hero .workspace-item,
  .workspace-shell--project-c-native .subscription-page__hero .workspace-item {
    display: none;
  }

  .workspace-shell--project-c-native .friends-index__stats,
  .workspace-shell--project-c-native .containers-index__stats,
  .workspace-shell--project-c-native .dss-index__stats,
  .workspace-shell--project-c-native .dss-detail__stats,
  .workspace-shell--project-c-native .settings-page__stats,
  .workspace-shell--project-c-native .subscription-page__stats {
    display: none;
  }

  .workspace-shell--project-c-native .friends-index__jump-links,
  .workspace-shell--project-c-native .containers-index__jump-links,
  .workspace-shell--project-c-native .dss-index__jump-links,
  .workspace-shell--project-c-native .dss-detail__jump-links,
  .workspace-shell--project-c-native .settings-page__jump-links,
  .workspace-shell--project-c-native .subscription-page__jump-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .workspace-shell--project-c-native .friends-index__jump-links .brand-chip,
  .workspace-shell--project-c-native .containers-index__jump-links .brand-chip,
  .workspace-shell--project-c-native .dss-index__jump-links .brand-chip,
  .workspace-shell--project-c-native .dss-detail__jump-links .brand-chip,
  .workspace-shell--project-c-native .settings-page__jump-links .brand-chip,
  .workspace-shell--project-c-native .subscription-page__jump-links .brand-chip {
    justify-content: center;
    min-height: 44px;
    border-width: 0 0 2px;
    border-radius: 0;
    background: transparent;
  }

  .workspace-shell--project-c-native .settings-page__subscription-entry {
    display: flex;
    margin-top: 10px;
    justify-content: center;
  }

  .workspace-shell--project-c-native .settings-page__subscription-entry .brand-chip {
    min-height: 36px;
    border-radius: 8px;
    background: var(--project-c-app-input);
  }

  .workspace-shell--project-c-native .friends-index__native-controls,
  .workspace-shell--project-c-native .containers-index__native-controls {
    gap: 10px;
    padding: 12px 16px;
    border-width: 0 0 1px;
    border-radius: 0;
    background: var(--project-c-app-card);
  }

  .workspace-shell--project-c-native .friends-index__native-controls[data-design-zone="friends-search-tabs"],
  .workspace-shell--project-c-native .containers-index__native-controls[data-design-zone="containers-search"] {
    border-radius: 0;
  }

  .workspace-shell--project-c-native .friends-index__native-search,
  .workspace-shell--project-c-native .containers-index__native-search {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .workspace-shell--project-c-native .friends-index__native-search input[type="search"],
  .workspace-shell--project-c-native .containers-index__native-search input[type="search"] {
    min-height: 44px;
    border-radius: 8px;
    background: var(--project-c-app-input);
  }

  .workspace-shell--project-c-native .friends-index__native-search input[type="submit"],
  .workspace-shell--project-c-native .containers-index__native-search input[type="submit"] {
    min-height: 44px;
    padding-inline: 14px;
    border-radius: 8px;
  }

  .workspace-shell--project-c-native .friends-index__native-tabs {
    gap: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--project-c-app-input);
  }

  .workspace-shell--project-c-native .friends-index__native-tabs .brand-chip {
    min-height: 40px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .workspace-shell--project-c-native .friends-index__grid,
  .workspace-shell--project-c-native .containers-index__grid,
  .workspace-shell--project-c-native .settings-page__grid,
  .workspace-shell--project-c-native .settings-page__form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .workspace-shell--project-c-native .friends-index__accepted {
    order: 1;
  }

  .workspace-shell--project-c-native .friends-index__incoming {
    order: 2;
  }

  .workspace-shell--project-c-native .friends-index__request {
    order: 3;
  }

  .workspace-shell--project-c-native .friends-index__sent {
    order: 4;
  }

  .workspace-shell--project-c-native .friends-index__sections,
  .workspace-shell--project-c-native .containers-index__groups,
  .workspace-shell--project-c-native .dss-index__sessions,
  .workspace-shell--project-c-native .dss-detail__results,
  .workspace-shell--project-c-native .settings-page__sections,
  .workspace-shell--project-c-native .subscription-page__lane[data-design-zone="subscription-mobile-lane"] {
    padding-bottom: 108px;
  }

  .workspace-shell--project-c-native .friends-index__request[data-design-zone="friends-add-lane"],
  .workspace-shell--project-c-native .friends-index__incoming[data-design-zone="friends-request-lane"],
  .workspace-shell--project-c-native .friends-index__sent[data-design-zone="friends-sent-lane"],
  .workspace-shell--project-c-native .friends-index__accepted[data-design-zone="friends-direct-room-lane"],
  .workspace-shell--project-c-native .containers-index__linked[data-design-zone="containers-linked-lane"],
  .workspace-shell--project-c-native .containers-index__activation[data-design-zone="containers-activation-lane"],
  .workspace-shell--project-c-native .containers-index__shared[data-design-zone="containers-shared-lane"],
  .workspace-shell--project-c-native .dss-detail__runtime[data-design-zone="dss-runtime-lane"],
  .workspace-shell--project-c-native .subscription-page__billing[data-design-zone="subscription-status-lane"],
  .workspace-shell--project-c-native .subscription-page__lane[data-design-zone="subscription-web-lane"],
  .workspace-shell--project-c-native .subscription-page__lane[data-design-zone="subscription-mobile-lane"] {
    border-radius: 0;
    background: var(--project-c-app-card);
  }

  .workspace-shell--project-c-native .friends-index__relation-row,
  .workspace-shell--project-c-native .containers-index__evidence-row,
  .workspace-shell--project-c-native .dss-index__decision-row,
  .workspace-shell--project-c-native .dss-detail__decision-row,
  .workspace-shell--project-c-native .subscription-page__billing-row {
    transition: none;
  }

  .workspace-shell--project-c-native .friends-index__relation-row:hover,
  .workspace-shell--project-c-native .containers-index__evidence-row:hover,
  .workspace-shell--project-c-native .dss-index__decision-row:hover,
  .workspace-shell--project-c-native .dss-detail__decision-row:hover,
  .workspace-shell--project-c-native .subscription-page__billing-row:hover {
    border-color: var(--project-c-app-card-border);
    background: transparent;
    transform: none;
  }

  .workspace-shell--project-c-native .containers-index__native-group-heading {
    padding: 14px 16px 8px;
    color: var(--project-c-app-text);
    font-size: 1rem;
    font-weight: 700;
  }

  .workspace-shell--project-c-native .settings-page__preferences,
  .workspace-shell--project-c-native .settings-page__identity {
    gap: 12px;
  }

  .workspace-shell--project-c-native .settings-page__native-section {
    padding: 14px;
    border: 1px solid var(--project-c-app-card-border);
    border-radius: 8px;
    background: var(--project-c-app-input);
  }

  .workspace-shell--project-c-native .settings-page__account-management {
    border-color: var(--project-c-app-card-border);
  }

  .workspace-shell--project-c-native a.brand-chip,
  .workspace-shell--project-c-native button.brand-chip,
  .workspace-shell--project-c-native summary,
  .workspace-shell--project-c-native .workspace-nav__link,
  .workspace-shell--project-c-native .room-card__hit-area,
  .workspace-shell--project-c-native .room-detail__native-input-button {
    min-height: 48px;
    touch-action: manipulation;
  }

  .workspace-shell--project-c-native .workspace-shell__dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    padding: 12px 12px calc(12px + var(--workspace-shell-safe-bottom));
    background: transparent;
  }

  .workspace-shell--project-c-native .workspace-nav--dock {
    gap: 8px;
    padding: 12px 8px;
    border-radius: 8px;
    border-color: var(--project-c-app-card-border);
    background: var(--paper-panel);
    box-shadow: none;
    touch-action: manipulation;
  }

  .workspace-shell--project-c-native .workspace-nav--app-tab .workspace-nav__link {
    min-height: 48px;
    border-radius: 8px;
    color: var(--project-c-app-muted);
  }

  .workspace-shell--project-c-native .workspace-nav--app-tab .workspace-nav__link--active {
    background: var(--paper-panel);
    color: var(--project-c-app-text);
  }

  .workspace-shell--project-c-native .workspace-nav__icon {
    position: relative;
    background: transparent;
    color: currentColor;
    font-family: var(--font-body);
    font-size: 0;
  }

  .workspace-shell--project-c-native .workspace-nav__icon::before,
  .workspace-shell--project-c-native .workspace-nav__icon::after {
    content: "";
    position: absolute;
    inset: auto;
    display: block;
  }

  .workspace-shell--project-c-native .workspace-nav__link[data-mobile-nav-id="chat"] .workspace-nav__icon::before {
    width: 18px;
    height: 14px;
    border: 1.8px solid currentColor;
    border-radius: 2px;
  }

  .workspace-shell--project-c-native .workspace-nav__link[data-mobile-nav-id="chat"] .workspace-nav__icon::after {
    bottom: 3px;
    left: 6px;
    width: 6px;
    height: 6px;
    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    transform: rotate(45deg);
  }

  .workspace-shell--project-c-native .workspace-nav__link[data-mobile-nav-id="friends"] .workspace-nav__icon::before {
    top: 5px;
    left: 6px;
    width: 7px;
    height: 7px;
    border: 1.8px solid currentColor;
    border-radius: 8px;
    box-shadow: none;
  }

  .workspace-shell--project-c-native .workspace-nav__link[data-mobile-nav-id="friends"] .workspace-nav__icon::after {
    right: 4px;
    bottom: 4px;
    left: 4px;
    height: 8px;
    border: 1.8px solid currentColor;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom: 0;
  }

  .workspace-shell--project-c-native .workspace-nav__link[data-mobile-nav-id="containers"] .workspace-nav__icon::before {
    width: 16px;
    height: 17px;
    border: 1.8px solid currentColor;
    border-radius: 50% / 18%;
  }

  .workspace-shell--project-c-native .workspace-nav__link[data-mobile-nav-id="containers"] .workspace-nav__icon::after {
    top: 6px;
    width: 16px;
    height: 1.8px;
    background: currentColor;
    box-shadow: none;
  }

  .workspace-shell--project-c-native .workspace-nav__link[data-mobile-nav-id="settings"] .workspace-nav__icon::before {
    width: 17px;
    height: 17px;
    border: 1.8px solid currentColor;
    border-radius: 8px;
  }

  .workspace-shell--project-c-native .workspace-nav__link[data-mobile-nav-id="settings"] .workspace-nav__icon::after {
    width: 5px;
    height: 5px;
    border: 1.8px solid currentColor;
    border-radius: 8px;
  }

  /* Overflow guards keep the mobile app shell legible when labels or cards run long. */
  .workspace-shell--project-c-native {
    --workspace-shell-dock-clearance: calc(8.75rem + var(--workspace-shell-safe-bottom));
  }

  .workspace-nav--dock .workspace-nav__link,
  .workspace-shell--project-c-native .workspace-nav--app-tab .workspace-nav__link {
    white-space: normal;
  }

  .workspace-nav--dock .workspace-nav__link {
    align-content: start;
    gap: 0.32rem;
    padding-inline: 0.38rem;
  }

  .workspace-nav--dock .workspace-nav__label {
    display: block;
    min-width: 0;
    min-height: calc(1.2em * 2);
    overflow: visible;
    font-size: 0.66rem;
    line-height: 1.2;
    text-align: center;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }

  .workspace-shell--project-c-native .workspace-entry-status-strip .workspace-data-list {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .workspace-shell--project-c-native .workspace-entry-status-strip .workspace-data-list li {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .workspace-shell--project-c-native .workspace-shell__app-header {
    height: auto;
    gap: 8px;
    padding-block: 14px;
  }

  .workspace-shell--project-c-native .workspace-shell__masthead {
    align-items: flex-start;
  }

  .workspace-shell--project-c-native .workspace-shell__app-header .brand-title--compact {
    line-height: 1.12;
  }

  .workspace-shell--project-c-native .workspace-shell__app-header .brand-lede {
    overflow: visible;
    line-height: 1.35;
    text-overflow: clip;
    white-space: normal;
  }

  .workspace-shell--project-c-native.workspace-shell--entry-rebaseline .workspace-shell__hero {
    padding-bottom: 4.6rem;
  }

  .workspace-shell--project-c-native.workspace-shell--entry-rebaseline .workspace-shell__hero::before {
    right: 0.75rem;
    bottom: 0.2rem;
    font-size: clamp(3rem, 15vw, 3.9rem);
    opacity: 0.2;
    transform: rotate(-4deg);
  }

  .workspace-shell--project-c-native .room-card--app-row .room-card__header {
    align-items: flex-start;
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }

  .workspace-shell--project-c-native .room-card--app-row .room-card__title-stack {
    min-width: 0;
  }

  .workspace-shell--project-c-native .room-card__actions {
    margin-top: 0.15rem;
  }

  .workspace-shell--project-c-native .room-card__badge,
  .workspace-shell--project-c-native .rooms-index__new-chat-links .brand-chip,
  .workspace-shell--project-c-native .friends-index__jump-links .brand-chip,
  .workspace-shell--project-c-native .containers-index__jump-links .brand-chip,
  .workspace-shell--project-c-native .dss-index__jump-links .brand-chip,
  .workspace-shell--project-c-native .dss-detail__jump-links .brand-chip,
  .workspace-shell--project-c-native .settings-page__jump-links .brand-chip,
  .workspace-shell--project-c-native .subscription-page__jump-links .brand-chip,
  .workspace-shell--project-c-native .friends-index__native-tabs .brand-chip {
    min-width: 0;
    padding-inline: 0.55rem;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }

  .workspace-shell--project-c-native .rooms-index__new-chat-links .brand-chip,
  .workspace-shell--project-c-native .friends-index__jump-links .brand-chip,
  .workspace-shell--project-c-native .containers-index__jump-links .brand-chip,
  .workspace-shell--project-c-native .dss-index__jump-links .brand-chip,
  .workspace-shell--project-c-native .dss-detail__jump-links .brand-chip,
  .workspace-shell--project-c-native .settings-page__jump-links .brand-chip,
  .workspace-shell--project-c-native .subscription-page__jump-links .brand-chip,
  .workspace-shell--project-c-native .friends-index__native-tabs .brand-chip {
    min-height: 48px;
    line-height: 1.2;
  }
}
