/* Crisp White & Royal Blue SaaS typography and layout. */
:root {
  --paper: #f8fafc;
  --white: #ffffff;
  --ink: #0f172a;
  --forest: #244de8;
  --muted: #475569;
  --line: #e2e8f0;
  --soft: #f1f5f9;
  --mint: #eff4ff;
  --radius: 20px;
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
:root[data-theme="dark"]:not([data-surface="public"]) {
  --paper: #0b1120;
  --white: #111c33;
  --ink: #f8fafc;
  --forest: #244de8;
  --muted: #94a3b8;
  --line: #1e293b;
  --soft: #16233f;
  --mint: #1e293b;
  --radius: 20px;
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
h1,
h2,
h3 {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 650;
  letter-spacing: -0.03em;
}
h1 {
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.13;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 24px;
}
button {
  font-size: inherit;
}
.brand {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
  white-space: nowrap;
}
.brand-note {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font:
    10px Arial,
    sans-serif;
  letter-spacing: 0.015em;
}
.shell {
  max-width: 1120px;
  padding-inline: 40px;
}
.header {
  min-height: 116px;
  border-bottom: 1px solid var(--line);
}
.header .theme-toggle {
  margin-left: auto;
}
.theme-toggle {
  border: 0;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 10px;
}
.edition,
.eyebrow {
  font:
    10px/1.6 ui-monospace,
    "SFMono-Regular",
    monospace;
  letter-spacing: 0.13em;
  color: var(--muted);
  font-weight: 400;
}
.edition {
  margin-bottom: 25px;
}
.journal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 38px 0 30px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.journal-nav nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 12px;
}
.journal-nav nav a {
  text-underline-offset: 5px;
}
.journal-nav nav a:hover {
  text-decoration: underline;
}
.journal-home {
  max-width: 1120px;
}
.journal-intro {
  padding: 95px 0 75px;
  max-width: 720px;
}
.journal-intro h1 {
  font-size: clamp(39px, 5vw, 65px);
  line-height: 1.13;
  margin-bottom: 28px;
}
.intro-note {
  max-width: 485px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 29px;
}
.plain-link {
  border: 0;
  background: none;
  padding: 0 0 4px;
  border-bottom: 1px solid currentColor;
  color: var(--forest);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  display: inline-block;
}
.plain-link span {
  padding-left: 16px;
}
.availability {
  margin-top: 22px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.journal-explainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.journal-explainer h2 {
  line-height: 1.25;
  font-size: 29px;
}
.explanation {
  max-width: 415px;
  font-size: 14px;
  line-height: 1.8;
}
.explanation p {
  margin-bottom: 18px;
}
.journal-sample {
  max-width: 690px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.journal-sample dl {
  margin: 0;
}
.journal-sample dl > div {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 18px;
  margin-bottom: 23px;
}
.journal-sample dt {
  font:
    11px/1.8 ui-monospace,
    monospace;
  color: var(--muted);
}
.journal-sample dd {
  margin: 0;
  font:
    17px/1.65 Georgia,
    serif;
  max-width: 525px;
}
.sample-caption {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  margin: 28px 0 0 83px;
}
.journal-founder {
  border-top: 1px solid var(--line);
  padding: 38px 0 25px;
  max-width: 690px;
}
.journal-founder > p:not(.edition) {
  max-width: 515px;
  font:
    17px/1.7 Georgia,
    serif;
}
.footer {
  margin-top: 55px;
  padding: 27px 0;
  font-size: 10px;
}
.btn,
.btn.small,
.btn.mint,
.btn.outline {
  border-radius: 3px;
  font-size: 12px;
  padding: 13px 20px;
  min-height: 42px;
  box-shadow: none;
}
.btn:hover {
  transform: none;
}
.tabs {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0;
  border-radius: 0;
  background: none;
  gap: 25px;
}
.tabs button {
  border-radius: 0;
  padding: 12px 0;
  font-size: 12px;
  color: var(--muted);
  background: none;
}
.tabs button.active {
  background: none;
  box-shadow: none;
  border-bottom: 1px solid var(--forest);
  color: var(--ink);
}
.user-avatar {
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 10px;
  color: var(--ink);
  background: var(--soft);
}
.card {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 23px 0;
}
.greeting {
  padding: 47px 0 27px;
  align-items: baseline;
}
.greeting h1 {
  font-size: 38px;
}
.greeting p {
  font-size: 13px;
  color: var(--muted);
}
.pill {
  border: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  font:
    10px ui-monospace,
    monospace;
}
.dashboard {
  gap: 48px;
  grid-template-columns: 1.45fr 1fr;
}
.metrics {
  gap: 30px;
}
.metric {
  min-height: 180px;
}
.number {
  font-family: Georgia, serif;
  font-size: 43px;
  letter-spacing: -0.04em;
}
progress {
  height: 2px;
  border-radius: 0;
}
.panel {
  margin-top: 15px;
}
.panel h3 {
  font-size: 26px;
}
.workout-card {
  color: var(--ink);
  background: transparent;
  display: block;
  min-height: auto;
}
.workout-card p,
.workout-card .eyebrow {
  color: var(--muted);
}
.workout-card h2 {
  font-size: 33px;
  margin: 16px 0;
}
.workout-card .spark {
  display: none;
}
.workout-card .btn {
  margin-top: 12px;
  background: none;
  border: 1px solid var(--line);
  color: var(--forest);
}
.weight-card {
  background: transparent;
  margin-top: 30px;
}
.gentle {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 19px 0;
  font-size: 11px;
  margin: 20px 0;
}
.gentle .mark {
  display: none;
}
.chat-layout {
  max-width: 780px;
  margin: 34px auto 0;
}
.chat-head {
  padding: 15px 0 24px;
  gap: 0;
}
.chat-head h2 {
  font-size: 31px;
}
.chat-head p {
  font-size: 11px;
}
.chat-feed {
  background: transparent;
  padding: 25px 0;
  min-height: 270px;
  max-height: 570px;
}
.message {
  box-shadow: none;
  border-radius: 0;
  max-width: 87%;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.message.in {
  background: var(--soft);
  color: var(--ink);
  border: 0;
}
.message.out {
  background: transparent;
  border: 0;
  border-left: 2px solid var(--line);
  padding-left: 20px;
}
.message-time {
  font-size: 9px;
  color: var(--muted);
  opacity: 1;
}
.chat-compose {
  border-radius: 0;
  padding: 9px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.chat-compose .btn {
  padding: 10px 18px;
}
.chip {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 6px 0;
  margin-right: 12px;
  color: var(--muted);
}
.suggestions {
  gap: 12px;
  padding: 15px 0;
}
.chat-progress {
  margin: 20px 0 5px;
  white-space: normal;
}
.chat-progress img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
}
.chat-progress figcaption {
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
}
.progress-page {
  padding: 45px 0;
}
.journal-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.journal-section-head h1 {
  margin-bottom: 14px;
}
.progress-figure {
  margin: 28px 0 40px;
}
.progress-figure img {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
}
.progress-figure figcaption {
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  max-width: 750px;
}
.progress-ledger {
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.ledger-scroll {
  overflow-x: auto;
}
.progress-ledger table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font:
    12px/1.6 Arial,
    sans-serif;
  font-variant-numeric: tabular-nums;
}
.progress-ledger td,
.progress-ledger th {
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  font-weight: 400;
}
.progress-ledger thead {
  color: var(--muted);
}
.progress-footnote {
  max-width: 670px;
  margin-top: 30px;
  font-size: 12px;
  color: var(--muted);
}
.auth {
  max-width: 560px;
  padding-top: 65px;
}
.auth h1 {
  font-size: 43px;
}
.field input,
.field select,
.field textarea {
  border-radius: 2px;
  background: transparent;
  border-color: var(--line);
  font-size: 14px;
}
.style-option {
  border-radius: 0;
  background: none;
  padding: 14px;
}
.style-option strong {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 19px;
}
.settings {
  max-width: 840px;
}
.settings h2 {
  font-size: 37px;
}
.settings .card {
  margin-bottom: 15px;
}
.admin-person {
  border-radius: 0;
  background: none;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.admin-person strong {
  font:
    23px Georgia,
    serif;
}
.admin-person > span {
  font-size: 11px;
}
.admin-status {
  display: flex;
  gap: 18px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
:root[data-theme="dark"] .message.in {
  color: var(--ink);
  background: var(--soft);
}
@media (max-width: 700px) {
  .settings {
    gap: 10px;
    margin-bottom: 36px;
  }
  .settings h2 {
    font-size: 30px;
  }
  .settings .card {
    padding: 18px 0;
    margin-bottom: 0;
  }
  .settings .card h3 {
    margin-bottom: 12px;
  }
  .settings .stack {
    gap: 14px;
  }
  .settings .setting-row {
    gap: 16px;
    margin: 14px 0;
  }
  .settings .setting-row input[type="checkbox"] {
    flex: 0 0 20px;
  }
  .settings .field input,
  .settings .field textarea,
  .settings .field select {
    font-size: 16px;
  }
  .settings .settings-actions {
    gap: 12px 20px;
  }
  .settings .settings-actions button {
    min-height: 44px;
  }
  .shell {
    padding-inline: 24px;
  }
  .journal-nav {
    align-items: flex-start;
    padding: 25px 0;
    gap: 22px;
  }
  .brand {
    font-size: 23px;
  }
  .brand-note {
    font-size: 8px;
  }
  .journal-nav nav {
    flex-direction: column;
    align-items: flex-end;
    gap: 13px;
    font-size: 11px;
  }
  .journal-intro {
    padding: 61px 0 47px;
  }
  .journal-intro h1 {
    font-size: 41px;
  }
  .intro-note {
    font-size: 15px;
  }
  .journal-explainer {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 34px 0;
  }
  .journal-sample {
    padding: 33px 0;
  }
  .journal-sample dl > div {
    grid-template-columns: 41px 1fr;
    gap: 15px;
  }
  .journal-sample dd {
    font-size: 16px;
  }
  .sample-caption {
    margin-left: 56px;
  }
  .header {
    padding: 27px 0 0;
    gap: 20px;
    min-height: 0;
  }
  .header .tabs {
    justify-content: space-between;
    gap: 15px;
  }
  .header .theme-toggle {
    margin-left: auto;
  }
  .header .user-avatar {
    display: none;
  }
  .greeting {
    display: block;
    padding-top: 32px;
  }
  .greeting h1 {
    font-size: 33px;
  }
  .greeting .pill {
    display: none;
  }
  .dashboard {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .metrics {
    gap: 24px;
  }
  .metric {
    min-height: 175px;
  }
  .number {
    font-size: 35px;
  }
  .chat-layout {
    margin-top: 20px;
  }
  .chat-head h2 {
    font-size: 29px;
  }
  .message {
    max-width: 96%;
    font-size: 13px;
  }
  .chat-feed {
    max-height: 480px;
  }
  .chat-compose input {
    font-size: 14px;
    min-width: 0;
  }
  .journal-section-head {
    display: block;
  }
  .journal-section-head .plain-link {
    margin-top: 8px;
  }
  .progress-page {
    padding-top: 32px;
  }
  .footer {
    display: block;
    font-size: 9px;
  }
  .footer > div {
    margin-top: 18px;
    flex-wrap: wrap;
  }
}
.journal-sample {
  padding: 26px 0;
}
.journal-sample summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--forest);
  font-size: 13px;
}
.journal-sample summary::-webkit-details-marker {
  display: none;
}
.journal-sample[open] summary {
  margin-bottom: 30px;
}
.journal-sample[open] summary span {
  transform: rotate(45deg);
}
.admin-progress {
  display: block;
  max-width: 100%;
  width: 650px;
  margin: 20px 0;
}
.progress-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 33px 0 0;
}
.progress-summary > div {
  border-top: 1px solid var(--line);
  padding-top: 17px;
}
.progress-summary dt {
  font-size: 11px;
  color: var(--muted);
}
.progress-summary dd {
  margin: 10px 0 7px;
  font:
    30px Georgia,
    serif;
}
.progress-summary span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 700px) {
  .progress-summary {
    gap: 12px;
  }
  .progress-summary dt {
    font-size: 10px;
    min-height: 28px;
  }
  .progress-summary dd {
    font-size: 24px;
  }
}

/* Conversation first: a readable transcript, not a phone simulation. */
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 5px;
}
input:focus,
select:focus,
textarea:focus {
  outline-color: var(--forest);
}
h1:focus,
h2:focus {
  outline: none;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 20;
  padding: 14px;
  background: var(--paper);
  border: 2px solid var(--forest);
}
.skip-link:focus {
  top: 12px;
}
.shell {
  min-width: 0;
}
.brand-note {
  font-size: 11px;
  letter-spacing: 0;
}
.edition,
.eyebrow {
  font-size: 11px;
}
.btn,
.btn.small,
.btn.mint,
.btn.outline {
  min-height: 44px;
  font-size: 14px;
}
.btn:hover,
.btn:focus-visible {
  background: #173abf;
  border-color: #173abf;
  color: #ffffff;
}
:root[data-theme="dark"] .btn {
  background: #244de8;
  border-color: #244de8;
  color: #ffffff;
}
:root[data-theme="dark"] .btn:hover,
:root[data-theme="dark"] .btn:focus-visible {
  background: #173abf;
  border-color: #173abf;
  color: #ffffff;
}
:root[data-theme="dark"] .btn.danger {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}
:root[data-theme="dark"] .btn.danger:hover,
:root[data-theme="dark"] .btn.danger:focus-visible {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #ffffff;
}
:root[data-theme="dark"] .btn.outline {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}
:root[data-theme="dark"] .btn.outline:hover,
:root[data-theme="dark"] .btn.outline:focus-visible {
  color: #ffffff;
  background: var(--soft);
  border-color: #60a5fa;
}
.text-btn,
.plain-link {
  font-size: 14px;
}
.theme-toggle {
  min-height: 44px;
  font-size: 11px;
}
.conversation-home {
  max-width: 1140px;
}
.conversation-home .journal-nav {
  padding-block: 32px;
}
.conversation-home .journal-nav nav {
  font-size: 13px;
}
.conversation-hero {
  max-width: 850px;
  padding: 72px 0 52px;
}
.conversation-hero .edition {
  margin-bottom: 23px;
}
.conversation-hero h1 {
  font-size: clamp(48px, 6.3vw, 78px);
  line-height: 1.07;
  letter-spacing: -0.045em;
  margin-bottom: 26px;
}
.conversation-hero h1 em {
  font-weight: 400;
  color: var(--forest);
}
.hero-summary {
  font-size: 18px;
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 25px;
}
.join-link {
  min-width: 178px;
  justify-content: space-between;
}
.conversation-hero .availability {
  max-width: 590px;
  font-size: 12px;
  line-height: 1.65;
  margin-top: 16px;
}
.story-anchor {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding-block: 12px;
  color: var(--muted);
  font-size: 13px;
}
.conversation-story {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 55px;
  padding-top: 48px;
}
.story-heading h2 {
  font-size: 35px;
  line-height: 1.2;
}
.story-heading > p:last-child {
  color: var(--muted);
  font-size: 13px;
  max-width: 250px;
}
.story-episode {
  padding-bottom: 43px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.episode-label {
  font:
    11px/1.7 ui-monospace,
    monospace;
  color: var(--forest);
  letter-spacing: 0.08em;
  margin: 0 0 30px;
}
.story-episode dl {
  margin: 0;
}
.story-line {
  margin: 0 0 27px;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 16px;
}
.story-line dt {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  padding-top: 3px;
}
.story-line dd {
  font:
    18px/1.65 Georgia,
    serif;
  margin: 0;
}
.story-you dd {
  color: var(--forest);
}
.story-coach dd {
  color: var(--ink);
}
.episode-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  margin: 28px 0 0 82px;
}
.sample-photo {
  display: inline-block;
  border: 1px dashed #86959e;
  padding: 13px 16px;
  background: var(--soft);
  font:
    13px/1.6 Arial,
    sans-serif;
}
.sample-record {
  margin: 26px 0 0 82px;
  border: 1px solid var(--line);
  padding: 22px;
}
.sample-record figcaption {
  font:
    10px/1.7 ui-monospace,
    monospace;
  color: var(--muted);
}
.sample-record dl {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 20px 0;
}
.sample-record dt {
  font-size: 12px;
  color: var(--muted);
}
.sample-record dd {
  margin: 8px 0 0;
  font:
    35px Georgia,
    serif;
}
.sample-record dd span {
  font:
    13px Arial,
    sans-serif;
}
.sample-record > p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.story-invitation {
  padding: 27px 0 58px;
  border-bottom: 1px solid var(--line);
}
.story-invitation h2 {
  font-size: 44px;
}
.story-invitation > p:not(.edition) {
  font-size: 15px;
  color: var(--muted);
}
.simple-faq {
  padding-top: 42px;
  max-width: 740px;
}
.simple-faq h2 {
  font-size: 29px;
  margin-bottom: 25px;
}
.simple-faq details {
  border-top: 1px solid var(--line);
  padding: 17px 0;
}
.simple-faq summary {
  cursor: pointer;
  font-size: 15px;
  padding: 5px 0;
}
.simple-faq details > p {
  font-size: 14px;
  color: var(--muted);
  margin: 17px 0 0;
}
.footer {
  font-size: 11px;
  line-height: 1.7;
  flex-wrap: wrap;
  gap: 16px;
}
.footer > div {
  flex-wrap: wrap;
  gap: 12px 22px;
}
.header {
  height: auto;
  min-height: 112px;
  flex-wrap: wrap;
}
.header .nav {
  font-size: 13px;
  gap: 22px;
}
.header .tabs {
  margin-left: auto;
  flex-wrap: wrap;
}
.header .theme-toggle {
  margin-left: 0;
}
.tabs button {
  min-height: 44px;
  font-size: 13px;
}
.auth {
  padding-top: 34px;
  margin-top: 20px;
}
.auth h1 {
  font-size: 42px;
}
.auth > p.muted {
  font-size: 16px;
}
.join-availability {
  font-size: 13px;
  color: var(--muted);
}
.auth-tabs .chip {
  font-size: 14px;
  min-height: 44px;
}
.field {
  font-size: 14px;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  font-size: 16px;
  border-color: #818b93;
  line-height: 1.5;
}
.field span {
  font-size: 12px;
  line-height: 1.6;
}
.check {
  font-size: 13px;
  line-height: 1.65;
}
.check input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}
.check a,
.legal a {
  text-decoration: underline;
}
.optional-profile > .stack {
  padding-top: 24px;
}
.auth details summary {
  font-size: 14px;
  min-height: 36px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend {
  font-size: 14px;
  margin-bottom: 16px;
}
fieldset .check {
  margin-bottom: 16px;
}
.chat-head h1 {
  font-size: 36px;
  margin: 0 0 10px;
}
.chat-head p {
  font-size: 13px;
}
.chat-feed {
  overflow-anchor: none;
}
.chat-compose {
  background: var(--paper);
}
.chat-compose input {
  font-size: 16px;
}
.chat-compose .file-label {
  position: relative;
  min-height: 44px;
  min-width: 36px;
}
.file-label input {
  display: block;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  padding: 0;
}
.file-label:focus-within {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}
.message {
  font-size: 15px;
}
.message-speaker {
  display: block;
  font:
    11px/1.6 Arial,
    sans-serif;
  margin-bottom: 5px;
  color: var(--muted);
}
.message-time {
  font-size: 11px;
  line-height: 1.6;
}
.photo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  margin-block: 12px;
}
.photo-controls p {
  margin: 0;
  overflow-wrap: anywhere;
}
#conversation-status {
  min-height: 20px;
  margin: 0;
}
.suggestions .chip {
  font-size: 13px;
  min-height: 44px;
  margin: 0 18px 0 0;
}
.settings {
  padding-top: 34px;
}
.settings h3 {
  font-size: 26px;
}
.settings .setting-row p {
  font-size: 13px;
}
.settings .setting-row strong {
  font-size: 14px;
}
.preference-pairs > div {
  padding-block: 14px;
  border-top: 1px solid var(--line);
}
.preference-pairs p {
  margin-bottom: 7px;
  font-size: 13px;
  color: var(--muted);
}
.sharing-preview-content {
  margin-top: 25px;
  padding: 25px;
  border: 1px solid var(--forest);
}
.sharing-preview-content h3 {
  overflow-wrap: anywhere;
}
.public-member {
  padding: 55px 0 30px;
}
.public-member > .plain-link {
  margin-top: 35px;
}
.member-progress h1 {
  overflow-wrap: anywhere;
}
.shared-weight {
  margin-top: 32px;
}
.member-progress table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.member-progress th,
.member-progress td {
  padding: 13px 12px 13px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.progress-summary dd small {
  font:
    14px Arial,
    sans-serif;
}
.progress-summary dt,
.progress-summary span {
  font-size: 12px;
}
.activity-ledger {
  margin-top: 34px;
}
.activity-ledger h2 {
  font-size: 28px;
}
.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.activity-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.activity-list li > span {
  overflow-wrap: anywhere;
}
.activity-list strong {
  white-space: nowrap;
  font-weight: 500;
}
.nutrition-details {
  margin-block: 34px;
}
.nutrition-details summary {
  cursor: pointer;
  color: var(--forest);
  font-size: 15px;
  padding-block: 12px;
}
.legal {
  max-width: 780px;
}
:root[data-theme="dark"] .notice {
  background: #253745;
  color: var(--ink);
}
:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field select,
:root[data-theme="dark"] .field textarea {
  border-color: #8b9ca8;
}
@media (max-width: 760px) {
  .conversation-story {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .story-heading {
    display: block;
  }
  .story-heading h2 br {
    display: none;
  }
  .story-heading h2 {
    font-size: 30px;
  }
  .story-heading > p:last-child {
    max-width: none;
  }
  .story-heading .edition {
    margin-bottom: 16px;
  }
  .header .tabs {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }
}
@media (max-width: 600px) {
  .shell {
    padding-inline: 22px;
  }
  .conversation-home .journal-nav {
    padding-block: 22px;
    align-items: center;
    gap: 14px;
  }
  .conversation-home .journal-nav nav {
    gap: 13px;
    font-size: 12px;
  }
  .brand {
    font-size: 23px;
  }
  .brand-note {
    font-size: 10px;
  }
  .conversation-hero {
    padding-top: 35px;
    padding-bottom: 31px;
  }
  .conversation-hero .edition {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .conversation-hero h1 {
    font-size: clamp(40px, 10.8vw, 56px);
    margin-bottom: 20px;
  }
  .hero-summary {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 21px;
  }
  .conversation-hero .availability {
    margin-top: 13px;
    font-size: 12px;
  }
  .story-anchor {
    margin-top: 12px;
    font-size: 12px;
  }
  .conversation-story {
    padding-top: 30px;
  }
  .story-line {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 25px;
  }
  .story-line dd {
    font-size: 17px;
  }
  .story-line dt {
    font-size: 10px;
  }
  .sample-record,
  .episode-note {
    margin-left: 68px;
  }
  .sample-record {
    padding: 17px;
  }
  .sample-record dl {
    gap: 20px;
  }
  .story-invitation h2 {
    font-size: 38px;
  }
  .header {
    padding-bottom: 20px;
    gap: 18px;
  }
  .header .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    font-size: 12px;
  }
  .header .theme-toggle {
    margin-left: auto;
  }
  .app-header .header {
    padding-bottom: 0;
  }
  .auth {
    margin-top: 10px;
    padding-top: 28px;
  }
  .auth h1 {
    font-size: 36px;
  }
  .auth .columns {
    grid-template-columns: 1fr;
  }
  .auth .stack {
    gap: 18px;
  }
  .message {
    font-size: 15px;
    padding: 13px;
  }
  .message.out {
    padding-left: 13px;
  }
  .chat-compose {
    gap: 5px;
  }
  .chat-compose .btn {
    padding: 10px 13px;
  }
  .chat-compose input {
    font-size: 16px;
    padding-inline: 5px;
  }
  .chat-head h1 {
    font-size: 31px;
  }
  .progress-summary {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .progress-summary dt {
    min-height: 0;
  }
  .progress-summary dd {
    font-size: 31px;
  }
  .sharing-preview-content {
    padding: 20px 16px;
  }
  .footer {
    font-size: 11px;
  }
  .settings .columns {
    grid-template-columns: 1fr;
  }
  .settings .setting-row {
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
/* Container width keeps the story readable when browser zoom reduces its room. */
.conversation-home {
  container-type: inline-size;
}
.story-heading,
.story-episodes {
  min-width: 0;
}
@container (max-width: 780px) {
  .conversation-story {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .story-heading h2 br {
    display: none;
  }
  .story-heading > p:last-child {
    max-width: none;
  }
}
@container (max-width: 440px) {
  .journal-nav {
    gap: 14px;
    align-items: center;
  }
  .journal-nav nav {
    flex-direction: column;
    align-items: flex-end;
    gap: 13px;
  }
  .story-line {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
  }
  .sample-record,
  .episode-note {
    margin-left: 68px;
  }
  .story-line dd {
    overflow-wrap: anywhere;
  }
  .sample-record {
    padding: 16px;
  }
}
/* Placeholder copy and the composer boundary stay readable in either theme. */
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.chat-compose {
  border-color: #818b93;
}
:root[data-theme="dark"] .chat-compose {
  border-color: #8b9ca8;
}

/* A quiet, phone-sized conversation. Only the transcript scrolls in chat. */
html { scroll-padding-top: 16px; }
body { overflow-wrap: break-word; }
img { max-width: 100%; }
.shell, main, .dashboard > *, .header > *, .chat-layout, .chat-compose { min-width: 0; }
.message, .entry-title, .entry-detail { overflow-wrap: anywhere; }
.field input, .field textarea, .field select { max-width: 100%; min-width: 0; }
.conversation-home { max-width: 1000px; }
.conversation-hero { padding: 64px 0 42px; }
.conversation-hero h1 { max-width: 850px; font-size: clamp(40px, 5.2vw, 66px); line-height: 1.08; }
.conversation-hero .hero-summary { max-width: 520px; margin-bottom: 24px; }
.conversation-hero .edition { margin-bottom: 22px; }
.home-example { max-width: 600px; margin: 0 0 50px auto; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--soft); }
.home-example .story-line { margin-bottom: 20px; grid-template-columns: 66px minmax(0,1fr); gap: 14px; }
.home-example .story-line dd { font-size: 17px; line-height: 1.55; }
.home-example .plain-link { margin-top: 12px; }
.simple-faq { max-width: 680px; padding-top: 0; padding-bottom: 36px; }
.conversation-shell { height: var(--app-height, 100dvh); display: flex; flex-direction: column; }
.conversation-shell .header { min-height: 86px; }
.conversation-shell main { flex: 1; min-height: 0; display: flex; padding: 0; }
.conversation-shell .footer { display: none; }
.chat-layout { width: 100%; max-width: 780px; margin: 0 auto; padding: 0; display: flex; flex-direction: column; min-height: 0; }
.chat-head { flex: 0 0 auto; padding: 20px 0 12px; margin: 0; }
.chat-head h1 { font-family: inherit; font-size: 21px; font-weight: 600; letter-spacing: -.035em; margin-bottom: 4px; }
.chat-head p { margin: 0; }
.chat-feed { flex: 1; min-height: 0; max-height: none; overflow-y: auto; overscroll-behavior: contain; padding: 20px 4px; scroll-padding-bottom: 10px; }
.message { max-width: 88%; font-size: 16px; line-height: 1.55; margin-bottom: 20px; }
.message.in { border-radius: 18px 18px 4px 18px; padding: 13px 16px; }
.message.out { border: 0; padding: 6px 0; }
.message-speaker { font-size: 10px; margin-bottom: 6px; }
.message-time { font-size: 10px; margin-top: 8px; }
.message-photos { display: flex; gap: 8px; flex-wrap: wrap; white-space: normal; margin-bottom: 8px; }
.message-photos a { display: block; max-width: 100%; }
.message-photos img { display: block; width: 240px; height: 240px; object-fit: contain; background: var(--paper); border-radius: 12px; }
.chat-compose { flex: 0 0 auto; width: 100%; border: 1px solid var(--line); background: var(--soft); border-radius: 24px; padding: 5px 8px; gap: 6px; }
.chat-compose input { min-width: 0; width: 0; flex: 1; font-size: 16px; padding: 12px 4px; background: transparent; }
.chat-compose .btn { border-radius: 18px; padding: 10px 14px; }
.chat-compose .file-label { width: 36px; height: 42px; display: flex; align-items: center; justify-content: center; font-size: 27px; }
.chat-disclaimer { flex: 0 0 auto; text-align: center; color: var(--muted); font-size: 10px; margin: 8px 0 12px; }
.chat-layout .suggestions { display: none; }
#conversation-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.photo-controls { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; max-width: 100%; }
.photo-controls:has(#photo-preview:not([hidden])) { order: 0; padding-top: 8px; }
#photo-preview { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; }
#photo-status { overflow-wrap: anywhere; margin: 0; font-size: 11px; }
.photo-controls .text-btn { flex-shrink: 0; font-size: 12px; }
[hidden] { display: none !important; }
body:has(.conversation-shell) { overflow: hidden; }
@media (max-width: 760px) {
  .app-shell .header { min-height: 66px; padding: 15px 0; }
  .app-shell .brand-note { display: none; }
  .app-shell .header .tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; width: 100%; padding: 10px 12px max(10px, env(safe-area-inset-bottom)); margin: 0; background: var(--paper); border-top: 1px solid var(--line); gap: 4px; }
  .app-shell .tabs button { padding: 12px 6px; font-size: 12px; flex: 1; margin: 0; border-radius: 10px; border: 0; }
  .app-shell .tabs button.active { background: #244de8; color: #ffffff; }
  .app-shell { padding-bottom: calc(67px + env(safe-area-inset-bottom)); }
  .app-shell:not(.conversation-shell) { min-height: 100dvh; }
  .chat-head { padding: 14px 0 4px; }
  .chat-feed { padding-top: 15px; }
  .message { max-width: 94%; }
}
@media (max-width: 600px) {
  .shell { padding-inline: 18px; }
  .conversation-home .journal-nav { padding-block: 24px; }
  .conversation-hero { padding-top: 40px; padding-bottom: 32px; }
  .conversation-hero h1 { font-size: clamp(37px, 10vw, 54px); }
  .conversation-hero .edition { font-size: 9px; margin-bottom: 18px; }
  .hero-summary { font-size: 16px; line-height: 1.6; }
  .conversation-hero .availability { max-width: 300px; font-size: 11px; }
  .home-example { padding: 22px 18px; margin-bottom: 30px; }
  .home-example .story-line { grid-template-columns: 52px minmax(0,1fr); gap: 10px; }
  .home-example .story-line dd { font-size: 15px; }
  .home-example .story-line dt { font-size: 9px; }
  .auth input, .auth select, .settings input, .settings textarea, .settings select { font-size: 16px; }
  .footer { overflow-wrap: anywhere; }
}

/* Keep swipe/scroll within the screen; leave pinch zoom available. */
html { overscroll-behavior-x: none; }
body { overscroll-behavior-x: none; }
.chat-feed { overscroll-behavior: contain; }
.chat-footer { display: flex; flex: 0 0 auto; justify-content: space-between; align-items: center; color: var(--muted); font-size: 11px; padding: 10px 1px 12px; gap: 12px; }
.photo-guide { position: relative; flex-shrink: 0; }
.photo-guide summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.photo-guide p { position: absolute; bottom: 20px; right: 0; width: min(280px, 80vw); padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font-size: 14px; line-height: 1.5; color: var(--ink); box-shadow: 0 4px 22px #0001; z-index: 20; }
.message a { overflow-wrap: anywhere; text-underline-offset: 3px; }
.quick-start { max-width: 460px; }
.quick-start .card { padding: 22px 0; }

/* Public landing: light, open and energetic, independent of the account theme. */
.experience-page {
  --experience-bg: #fffaf6;
  --experience-panel: #ffffff;
  --experience-text: #302b43;
  --experience-muted: #706479;
  --experience-accent: #c74632;
  --experience-violet: #684ba0;
  --experience-line: #eadfe6;
  min-height: 100dvh;
  color-scheme: light;
  color: var(--experience-text);
  background: radial-gradient(ellipse at 95% 12%, #f1e8fc 0, transparent 38%), radial-gradient(ellipse at 3% 38%, #ffe8d9 0, transparent 33%), var(--experience-bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.experience-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 48px; }
.experience-nav { display: flex; align-items: center; justify-content: space-between; min-height: 100px; gap: 20px; }
.experience-brand { display: flex; align-items: center; gap: 10px; font-size: 27px; font-weight: 650; letter-spacing: -.055em; }
.experience-page .moon-mark { width: 34px; height: 34px; flex: 0 0 auto; color: var(--experience-accent); }
.experience-brand-fit { color: var(--experience-violet); font-weight: 400; margin-left: 4px; }
.experience-signin { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 500; }
.experience-signin .arrow { width: 14px; height: 14px; }
.experience-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 68px; padding: 48px 0 68px; }
.experience-intro, .experience-proof { min-width: 0; }
.experience-kicker { display: flex; align-items: center; gap: 9px; color: var(--experience-violet); font-size: 10px; font-weight: 650; letter-spacing: .1em; line-height: 1.6; margin-bottom: 24px; }
.experience-kicker > span { width: 7px; height: 7px; border-radius: 50%; background: var(--experience-accent); flex-shrink: 0; }
.experience-intro h1 { font: 550 clamp(40px, 4.4vw, 58px)/1.12 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -.048em; margin: 0 0 24px; text-wrap: balance; }
.experience-premise, .experience-punchline { display: block; }
.experience-intro h1 > .experience-premise { color: var(--experience-text); }
.experience-intro h1 > .experience-punchline { color: var(--experience-accent); margin-top: 12px; }
.experience-summary { max-width: 440px; font-size: 17px; line-height: 1.65; color: var(--experience-muted); margin-bottom: 28px; }
.experience-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 54px; padding: 16px 23px; border-radius: 100px; background: var(--experience-accent); color: white; font-weight: 650; font-size: 15px; box-shadow: 0 6px 18px #c7463218; }
.experience-cta:hover { background: #ae3827; }
.experience-access { font-size: 12px; color: var(--experience-muted); line-height: 1.55; margin: 15px 0 0; }
.experience-access a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; color: var(--experience-violet); }
.experience-access .arrow { height: 12px; width: 12px; }
.experience-proof { background: var(--experience-panel); border: 1px solid var(--experience-line); border-radius: 28px; overflow: hidden; box-shadow: 0 18px 56px #6342580d; }
.experience-proof-head { display: flex; align-items: center; gap: 12px; padding: 22px 24px; border-bottom: 1px solid #f1eaf1; }
.experience-coach-symbol { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; background: #fff0e8; flex-shrink: 0; }
.experience-coach-symbol .moon-mark { width: 26px; height: 26px; }
.experience-proof-head strong { display: block; font-size: 14px; font-weight: 600; }
.experience-proof-head div > span { display: block; color: var(--experience-muted); font-size: 11px; line-height: 1.5; margin-top: 4px; }
.experience-example-choice { margin: 0; padding: 16px 24px 0; border: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.experience-example-choice legend { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.experience-example-choice label { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 14px; color: var(--experience-muted); font-size: 12px; border: 1px solid var(--experience-line); border-radius: 30px; cursor: pointer; }
.experience-example-choice label:has(input:checked) { background: #f0e8fb; color: #583688; border-color: #e3d4f5; }
.experience-example-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.experience-example-choice label:has(input:focus-visible) { outline: 2px solid var(--experience-violet); outline-offset: 3px; }
/* Shared grid space keeps the example switch from moving the page. */
.experience-example-panels { display: grid; }
.experience-thread { display: flex; flex-direction: column; gap: 16px; padding: 24px; grid-area: 1 / 1; visibility: hidden; }
.experience-proof:has(input[value="food"]:checked) .experience-food-thread,
.experience-proof:has(input[value="workout"]:checked) .experience-workout-thread,
.experience-proof:has(input[value="life"]:checked) .experience-life-thread { visibility: visible; }
.experience-bubble { max-width: 92%; }
.experience-bubble > span { display: block; font-size: 11px; color: var(--experience-muted); margin-bottom: 5px; }
.experience-bubble p { margin: 0; font-size: 14px; line-height: 1.55; }
.experience-you { align-self: flex-end; border-radius: 18px 18px 4px 18px; background: #f4eefb; padding: 12px 16px; }
.experience-coach { align-self: flex-start; padding: 0 2px; }
.experience-time { margin: 0; color: var(--experience-muted); font-size: 11px; text-align: center; }
.experience-desktop-sms { border: 0; font-family: inherit; cursor: pointer; }
.experience-mobile-sms { display: none; }
.experience-about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding: 48px 0 56px; border-top: 1px solid var(--experience-line); }
.experience-about .experience-kicker { margin-bottom: 16px; }
.experience-about h2 { font: 500 clamp(32px, 3.5vw, 44px)/1.15 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -.045em; margin: 0; }
.experience-description p { color: var(--experience-muted); font-size: 16px; line-height: 1.8; margin-bottom: 18px; }
.experience-description p:last-child { margin-bottom: 0; }
.experience-faq { padding-bottom: 48px; max-width: none; }
.experience-faq details { border-bottom: 1px solid var(--experience-line); }
.experience-faq summary { cursor: pointer; min-height: 52px; padding-block: 18px; font-size: 14px; }
.experience-faq p { max-width: 720px; color: var(--experience-muted); font-size: 14px; line-height: 1.7; padding-bottom: 12px; }
.experience-page .footer { color: var(--experience-muted); border-color: var(--experience-line); font-size: 12px; margin-top: 0; padding: 22px 0 28px; gap: 10px; }
.experience-page .footer > div { gap: 6px 18px; }
.experience-page .footer a { display: inline-flex; align-items: center; min-height: 44px; }
.experience-page a:focus-visible, .experience-page button:focus-visible, .experience-page summary:focus-visible { outline: 2px solid var(--experience-violet); outline-offset: 5px; }
.coach-qr-dialog { width: min(90vw, 360px); text-align: center; }
.coach-qr-dialog img { display: block; margin: 20px auto; max-width: 100%; background: white; }
.coach-qr-dialog .btn { display: block; margin: 14px auto 0; }
@media (max-width: 760px) {
  .experience-wrap { padding-inline: 24px; }
  .experience-nav { min-height: 80px; }
  .experience-brand { font-size: 24px; }
  .experience-hero { grid-template-columns: 1fr; gap: 32px; padding: 24px 0 38px; }
  .experience-kicker { margin-bottom: 19px; font-size: 9px; }
  .experience-intro h1 { font-size: clamp(36px, 10vw, 54px); margin-bottom: 20px; }
  .experience-intro h1 > .experience-punchline { margin-top: 10px; }
  .experience-summary { font-size: 16px; margin-bottom: 24px; }
  .experience-cta { min-height: 52px; padding: 15px 22px; }
  .experience-access { margin-top: 13px; }
  .experience-proof { max-width: 500px; width: 100%; justify-self: center; border-radius: 24px; }
  .experience-proof-head { padding: 18px; }
  .experience-example-choice { padding: 14px 18px 0; }
  .experience-example-choice label { padding-inline: 12px; }
  .experience-thread { padding: 20px 18px; gap: 15px; }
  .experience-bubble { max-width: 95%; }
  .experience-about { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .experience-about h2 br { display: none; }
  .experience-about h2 { max-width: 260px; }
  .experience-description p { font-size: 15px; line-height: 1.75; }
  .experience-faq { padding-bottom: 28px; }
  .experience-desktop-sms { display: none; }
  .experience-mobile-sms { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) { .experience-page *, .experience-page *::before, .experience-page *::after { animation: none !important; transition: none !important; } }

.accountability-card h2 { margin-bottom: 0; }
.action-status { margin-top: 20px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.action-proposal { border: 1px solid var(--line, #ddd); border-radius: 12px; padding: 16px; margin: 20px 0; }
.action-proposal p { margin: 0; }
.action-details { margin-top: 18px; }
.action-details > summary, .recap-card > summary, #share-moment-panel > summary, #partner-panel > summary { cursor: pointer; min-height: 44px; padding-block: 10px; font-weight: 600; }
.action-details > form { margin-top: 14px; }
.accountability-card input[type="datetime-local"] { min-width: 0; max-width: 100%; }
.share-fieldset { border: 1px solid var(--line, #ddd); border-radius: 10px; padding: 14px; min-width: 0; }
.share-fieldset legend { padding: 0 5px; font-size: 13px; }
.moment-choices { max-height: 360px; overflow-y: auto; overscroll-behavior: contain; }
.moment-choice { padding-block: 12px; border-bottom: 1px solid var(--line, #ddd); }
.moment-choice textarea { width: 100%; min-width: 0; font-size: 14px; line-height: 1.5; }
.moment-preview { padding: 20px; margin-block: 18px; border: 1px solid var(--line, #ddd); border-radius: 16px; }
.moment-line { margin-top: 16px; }
.moment-line strong { font-size: 12px; }
.moment-line p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 7px 0; }
.share-metrics p { margin: 12px 0; }
.share-metrics strong { font-size: 24px; }
.partner-row { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line, #ddd); }
.partner-row > form { margin-top: 12px; }
#moment-review, #moment-published, #partner-invite-output { overflow-wrap: anywhere; }
#share-moment-panel .notice, #partner-panel .notice { display: block; }
#share-moment-panel .notice .field, #partner-panel .notice .field { margin-top: 14px; }
@media (max-width: 760px) {
  .accountability-card .columns { grid-template-columns: 1fr; }
}
.settings-disclosure > summary { min-height: 48px; padding: 14px 0; cursor: pointer; font-weight: 600; }
.settings-disclosure:not(.card) { border-bottom: 1px solid var(--line, #ddd); }
.settings-disclosure:not(.card) > summary { padding-inline: 4px; }
.settings-disclosure > .card { margin-top: 6px; }

/* Optional per-reply feedback and the private founder review queue. */
.reply-feedback { display:flex; gap:16px; margin-top:8px; }
.reply-feedback button { background:none; border:0; color:var(--muted); font-size:11px; padding:8px 0; min-height:36px; text-decoration:underline; text-underline-offset:3px; }
#reply-feedback-dialog { width:min(92vw,460px); max-height:90dvh; overflow:auto; }
#reply-feedback-dialog h3 { font-family:inherit; font-size:22px; }
.feedback-list { display:grid; margin-top:16px; }
.feedback-item { text-align:left; background:transparent; color:var(--ink); border:0; border-top:1px solid var(--line); padding:16px 4px; display:grid; gap:6px; width:100%; overflow-wrap:anywhere; }
.feedback-item span,.feedback-item small { color:var(--muted); }
.feedback-report,.feedback-context p { white-space:pre-wrap; overflow-wrap:anywhere; }
.feedback-context { padding:14px 0; border-bottom:1px solid var(--line); }
#admin-feedback-detail .columns { grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); }
#admin-feedback-detail input,#admin-feedback-detail textarea { max-width:100%; min-width:0; }
