:root {
  color-scheme: light;
  --bg: #f4f6f1;
  --paper: #fff;
  --ink: #152b20;
  --muted: #596b60;
  --line: #dce3d7;
  --green: #285736;
  --tint: #e9efdf;
  --lime: #c5e5a3;
  --amber: #86551b;
  --amber-bg: #fbf1df;
  --red: #a6372b;
  font-family:
    "Avenir Next",
    Avenir,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button {
  border: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -1.6px;
  font-weight: 600;
}
h2 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.65px;
  font-weight: 600;
}
h3 {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}
p {
  line-height: 1.65;
}
small,
.small {
  font-size: 12px;
  line-height: 1.5;
}
.muted {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.app {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  min-width: 0;
  background: #eaf0e3;
  border-right: 1px solid var(--line);
  padding: 29px 21px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.wordmark {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -1px;
  text-decoration: none;
  display: flex;
  gap: 10px;
  align-items: center;
}
.brand-path {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid #81947a;
  border-radius: 8px;
  font-size: 25px;
  font-weight: 400;
}
.brand-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: -16px;
  padding-left: 41px;
}
.new-button {
  padding: 13px 8px;
  background: #fff;
  border: 1px solid #cdd9c4;
  border-radius: 7px;
  text-align: left;
  font-size: 13px;
  color: var(--ink);
}
.sidebar-label,
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 600;
  color: var(--muted);
}
.workspace-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.workspace-link {
  background: transparent;
  color: var(--muted);
  text-align: left;
  line-height: 1.45;
  padding: 10px;
  border-radius: 7px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.workspace-link[aria-current] {
  background: #d9e5cd;
  color: var(--ink);
  font-weight: 600;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
  font-size: 11px;
  line-height: 2;
  color: var(--muted);
}
.sidebar-bottom a {
  display: block;
  margin-top: 10px;
}
.local-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
}
main {
  min-width: 0;
}
.topbar {
  min-height: 76px;
  padding: 20px 34px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}
.topbar-right {
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--muted);
}
#breadcrumb {
  overflow-wrap: anywhere;
}
.steps {
  display: flex;
  gap: 28px;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.step {
  padding: 20px 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 2px solid transparent;
}
.step span {
  font-size: 10px;
  opacity: 0.6;
  margin-right: 6px;
}
.step[aria-current] {
  border-color: var(--green);
  color: var(--ink);
  font-weight: 600;
}
#stage {
  max-width: 1320px;
  margin: auto;
  padding: 35px;
}
.stage-header {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: flex-start;
  margin-bottom: 30px;
}
.stage-header h2 {
  margin: 7px 0 8px;
}
.stage-header p {
  max-width: 680px;
  color: var(--muted);
  font-size: 14px;
}
.primary,
.secondary,
.plain,
.danger {
  border-radius: 6px;
  padding: 10px 16px;
  line-height: 1.4;
}
.primary {
  background: var(--green);
  color: #fff;
}
.primary:hover {
  background: #1c4529;
}
.secondary {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.secondary:hover {
  background: var(--tint);
}
.plain {
  background: transparent;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--muted);
  font-size: 12px;
}
.danger {
  background: var(--amber-bg);
  color: var(--amber);
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.panel {
  padding: 25px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
}
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 25px;
}
.section-title {
  margin-bottom: 16px;
}
.welcome {
  padding: 50px 0 25px;
  max-width: 920px;
}
.welcome .eyebrow {
  margin-bottom: 22px;
}
.welcome h1 {
  max-width: 610px;
}
.welcome p.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 24px 0 28px;
}
.quick-welcome {
  padding-top: 12px;
  max-width: 900px;
}
.quick-welcome .eyebrow {
  margin-bottom: 14px;
}
.quick-welcome p.lead {
  max-width: 710px;
  margin: 20px 0 25px;
}
.quick-form {
  padding: 24px;
}
.quick-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.quick-intake {
  border: 1px dashed transparent;
  border-radius: 7px;
}
.quick-intake.dragover {
  background: var(--tint);
  border-color: var(--green);
}
.quick-intake .section-title {
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 12px;
}
.quick-intake textarea {
  background: #f8faf5;
  margin: 0 0 14px;
  min-height: 175px;
  padding: 15px 17px;
  font-size: 15px;
}
.intake-footer,
.quick-submit {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.intake-footer .file-label {
  font-size: 12px;
  padding: 9px 12px;
}
.file-formats {
  font-size: 10px;
  margin-top: 6px;
}
.imported-files {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.imported-files p {
  flex-basis: 100%;
}
.quick-form .notice {
  margin: 16px 0 0;
}
.quick-context {
  margin: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quick-context summary {
  cursor: pointer;
  font-size: 13px;
  padding: 15px 0;
}
.quick-context label:first-of-type {
  margin-top: 5px;
}
.quick-submit {
  justify-content: flex-start;
}
.quick-submit .primary {
  padding: 13px 20px;
}
.quick-alternatives {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin: 17px 0 22px;
}
.quick-privacy {
  max-width: 650px;
}
.welcome-path {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  padding: 35px 0;
  border-top: 1px solid var(--line);
  margin-top: 56px;
}
.welcome-path b {
  font-size: 26px;
  color: #8b9b80;
  font-weight: 400;
  display: block;
  margin-bottom: 12px;
}
.welcome-path h3 {
  margin-bottom: 7px;
}
.welcome-path p {
  font-size: 13px;
  color: var(--muted);
}
.upload {
  border: 1px dashed #97ad88;
  border-radius: 9px;
  background: #edf3e6;
  padding: 35px 22px;
  text-align: center;
}
.upload.dragover {
  background: #d6e9c5;
  border-color: var(--green);
}
.upload h3 {
  font-size: 19px;
  margin: 0 0 7px;
}
.upload p {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 19px;
}
.file-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.file-label {
  display: inline-block;
  cursor: pointer;
}
.file-input:focus-visible + .file-label {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}
.source-row {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.source-row-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.source-name {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.source-meta {
  color: var(--muted);
  font-size: 12px;
  margin: 4px 0 7px;
}
.warning {
  font-size: 12px;
  line-height: 1.5;
  color: var(--amber);
  margin: 7px 0 0;
}
.badge {
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
  background: var(--tint);
  color: var(--green);
  padding: 4px 7px;
  border-radius: 4px;
}
.badge.warn {
  color: var(--amber);
  background: var(--amber-bg);
}
.notes {
  margin-top: 22px;
}
.notes summary {
  font-size: 13px;
  cursor: pointer;
  padding: 10px 0;
}
label {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
input,
textarea,
select {
  border: 1px solid #cad5c2;
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  padding: 11px;
  max-width: 100%;
}
input,
textarea {
  display: block;
  width: 100%;
  margin: 7px 0 17px;
}
textarea {
  resize: vertical;
  line-height: 1.6;
  font-size: 14px;
}
.intent {
  min-height: 115px;
}
.empty {
  padding: 30px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.subtle-note {
  padding: 14px 16px;
  background: var(--tint);
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 20px;
}
.notice {
  padding: 15px 18px;
  background: var(--amber-bg);
  color: var(--amber);
  font-size: 13px;
  border-radius: 7px;
  margin-bottom: 22px;
  line-height: 1.6;
}
.busy {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid #b3c998;
  background: #eef5e7;
  border-radius: 7px;
  font-size: 13px;
  margin-bottom: 20px;
}
.busy::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.brief-summary {
  font-size: 17px;
  line-height: 1.65;
}
.understanding {
  margin-top: 25px;
}
.explanation {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.explanation summary {
  cursor: pointer;
  font-weight: 600;
  line-height: 1.5;
}
.explanation p {
  font-size: 14px;
  margin-top: 12px;
}
.diagram {
  background: #eff4e8;
  border-radius: 7px;
  padding: 15px 18px;
  margin: 18px 0;
  font-size: 13px;
}
.diagram h3 {
  font-size: 12px;
  margin-bottom: 10px;
  color: var(--muted);
}
.diagram-row {
  display: grid;
  grid-template-columns: minmax(80px, 0.65fr) minmax(0, 1.3fr);
  gap: 22px;
  padding: 9px 0;
}
.diagram-row + .diagram-row {
  border-top: 1px solid #dce6d3;
}
.diagram-row b {
  font-weight: 600;
}
.source-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.source-chip {
  padding: 5px 8px;
  background: var(--tint);
  color: var(--green);
  font-size: 11px;
  border-radius: 4px;
  text-align: left;
}
.question-list {
  margin: 14px 0 0;
  padding-left: 18px;
}
.question-list li {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.priorities {
  list-style: none;
  padding: 0;
  margin: 0;
}
.priority {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.priority:first-child {
  padding-top: 0;
}
.priority-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.coverage-progress {
  font-size: 12px;
  color: var(--muted);
  margin: -3px 0 21px;
}
.coverage-progress progress {
  display: block;
  width: 100%;
  height: 5px;
  margin-top: 9px;
  accent-color: var(--green);
  border: 0;
}
.coverage-progress progress::-webkit-progress-bar {
  background: var(--tint);
  border-radius: 3px;
}
.coverage-progress progress::-webkit-progress-value {
  background: var(--green);
  border-radius: 3px;
}
.priority-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.point-check {
  flex: 0 0 23px;
  height: 23px;
  padding: 0;
  border: 1px solid #bbcbb1;
  border-radius: 5px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
}
.point-check[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.point-label {
  padding: 0;
  background: transparent;
  text-align: left;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-width: 0;
}
.is-covered .point-label {
  color: var(--muted);
}
.is-current .point-label {
  font-weight: 600;
}
.checklist-note {
  margin-top: 18px;
}
.priority select {
  font-size: 11px;
  padding: 5px 7px;
  margin-top: 8px;
  background: var(--bg);
}
.priority .plain {
  font-size: 11px;
}
.proposal {
  font-size: 12px;
  color: var(--amber);
  margin-top: 8px;
  padding: 9px;
  background: var(--amber-bg);
  border-radius: 4px;
}
.proposal button {
  font-size: 11px;
  margin-top: 6px;
}
.priority-add {
  display: flex;
  gap: 7px;
  margin-top: 18px;
}
.priority-add input {
  margin: 0;
  min-width: 0;
  font-size: 13px;
}
.priority-add button {
  padding: 8px 11px;
}
.live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}
.live-grid > aside {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
}
.call-controls-top {
  margin: -8px 0 24px;
}
.call-cue {
  margin-bottom: 22px;
  background: #edf3e5;
  border-color: #c2d3b4;
}
.cue-top {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 15px;
}
.call-cue .cue-point {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.4px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.cue-lead-in {
  color: var(--muted);
  margin: 17px 0 21px;
  padding-left: 12px;
  border-left: 2px solid #b4c6a6;
  font-size: 13px;
}
.call-cue .actions button {
  font-size: 12px;
}
.call-cue > h3 + p {
  margin-top: 12px;
  font-size: 14px;
}
.live-status {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin: 15px 0;
}
.live-status .dot {
  width: 8px;
  height: 8px;
  background: #9baca0;
  border-radius: 50%;
}
.live-status.on .dot {
  background: var(--green);
}
.current-thread {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
}
.last-heard {
  font-size: 16px;
  color: var(--muted);
  padding: 0 0 20px;
  margin: 0 0 21px;
  border-bottom: 1px solid var(--line);
  line-height: 1.6;
}
.answer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}
.answer-mode {
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
.density {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px;
}
.density button {
  font-size: 11px;
  background: transparent;
  color: var(--muted);
  padding: 5px 7px;
  border-radius: 3px;
}
.density button[aria-pressed="true"] {
  background: var(--green);
  color: #fff;
}
.answer {
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.answer-detail {
  margin-top: 15px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.help-tools {
  margin-top: 24px;
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}
.help-tools button {
  font-size: 12px;
}
.call-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 22px 0;
  flex-wrap: wrap;
}
.transcript details,
.manual-turn {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 15px;
}
.transcript summary,
.manual-turn summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
  padding: 8px 0;
}
.transcript-turn {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.transcript-turn small {
  color: var(--muted);
}
.transcript-turn p {
  font-size: 14px;
  white-space: pre-wrap;
}
.manual-turn textarea {
  margin-bottom: 10px;
}
.recovery {
  border-left: 3px solid var(--green);
  padding: 0 0 0 17px;
  margin: 24px 0;
}
.recovery p {
  margin: 8px 0;
  font-size: 14px;
}
.ask-form {
  margin-top: 18px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.ask-form input {
  margin: 0;
  font-size: 13px;
  min-width: 0;
}
.ask-form button {
  padding: 11px;
}
.record-group + .record-group {
  margin-top: 24px;
}
.record-group ul {
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
}
.record-group li {
  margin: 8px 0;
}
.source-dialog {
  max-width: 760px;
}
.source-quote {
  margin: 18px 0;
  padding: 15px 18px;
  border-left: 3px solid var(--green);
  background: var(--tint);
  white-space: pre-wrap;
  line-height: 1.6;
}
.source-passage {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.source-passage pre {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  margin-top: 10px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  width: calc(100% - 32px);
  max-width: 560px;
  color: var(--ink);
  background: var(--paper);
  max-height: 88vh;
  overflow: auto;
  box-shadow: 0 22px 90px #142b2030;
}
dialog::backdrop {
  background: #12251e77;
}
dialog h2 {
  margin: 10px 0 22px;
}
dialog p {
  margin: 15px 0;
  font-size: 14px;
}
.dialog-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
}
.dialog-heading h2 {
  font-size: 21px;
  overflow-wrap: anywhere;
  margin: 0 0 15px;
}
#toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  max-width: min(440px, calc(100% - 40px));
  background: var(--ink);
  color: #fff;
  padding: 16px 22px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
  z-index: 20;
}
.connection {
  margin: 15px 35px 0;
  padding: 12px 15px;
  background: var(--amber-bg);
  color: var(--amber);
  font-size: 13px;
  border-radius: 6px;
}
.focus .app {
  grid-template-columns: minmax(0, 1fr);
}
.focus .sidebar {
  display: none;
}
.focus #stage {
  max-width: 1040px;
}
.focus .topbar {
  min-height: 55px;
}
.focus .steps {
  display: none;
}
@media (max-width: 1120px) {
  .app {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  #stage {
    padding: 28px;
  }
  .live-grid {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 22px;
  }
  .topbar {
    padding: 20px 28px;
  }
  .steps {
    padding: 0 28px;
    gap: 20px;
  }
  .panel {
    padding: 22px;
  }
}
@media (max-width: 880px) {
  .app {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 17px 23px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
  }
  .sidebar .brand-caption,
  .sidebar-label,
  .sidebar-bottom {
    display: none;
  }
  .workspace-list {
    flex: 1 1 100%;
    min-width: 0;
    flex-direction: row;
    overflow: auto;
    max-width: 100%;
  }
  .workspace-link {
    white-space: nowrap;
  }
  .new-button {
    margin-left: auto;
  }
  .topbar {
    min-height: 60px;
  }
  .topbar-right {
    gap: 14px;
  }
  .two-column {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .live-grid,
  .two-column {
    grid-template-columns: 1fr;
  }
  .welcome {
    padding-top: 30px;
  }
  .welcome-path {
    gap: 22px;
    grid-template-columns: 1fr;
  }
  .welcome-path b {
    float: left;
    margin-right: 20px;
  }
  .welcome-path p {
    margin-left: 38px;
  }
  .stage-header {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 23px;
  }
  #stage {
    padding: 24px 18px;
  }
  .topbar {
    padding: 15px 18px;
    align-items: start;
  }
  .topbar-right {
    flex-direction: column;
    align-items: end;
    gap: 6px;
    min-width: 100px;
    font-size: 11px;
  }
  .steps {
    padding: 0 18px;
    gap: 20px;
  }
  .step {
    font-size: 12px;
    padding: 17px 0;
  }
  .step span {
    display: none;
  }
  .panel {
    padding: 20px;
  }
  .sidebar {
    padding: 15px 18px;
  }
  .wordmark {
    font-size: 22px;
  }
  .diagram-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .connection {
    margin: 12px 18px;
  }
  .answer {
    font-size: 23px;
  }
  .welcome p.lead {
    font-size: 16px;
  }
  .live-grid > .panel {
    order: 2;
    position: static;
    max-height: none;
  }
  dialog {
    padding: 23px;
  }
  .ask-form {
    flex-wrap: wrap;
  }
  .ask-form input {
    flex: 1;
    min-width: 160px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button {
    transition: background 0.12s ease;
  }
}

/* The live companion has one focal point. Everything else is a drawer. */
body.call-mode .app {
  display: block;
}
body.call-mode .sidebar,
body.call-mode .topbar,
body.call-mode .steps {
  display: none;
}
body.call-mode #stage {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 44px 60px;
}
.call-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.call-identity {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}
.call-identity > button {
  padding-left: 0;
  white-space: nowrap;
  font-weight: 650;
}
.call-identity h1 {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.2px;
  font-weight: 500;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.call-top .call-controls {
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.call-top .live-status {
  font-size: 12px;
  white-space: nowrap;
}
.call-focus {
  max-width: 760px;
  margin: 78px auto 0;
}
.call-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  margin-bottom: 13px;
}
.coverage-track {
  display: flex;
  gap: 5px;
  height: 4px;
}
.coverage-track span {
  flex: 1;
  background: #dce3d7;
  border-radius: 2px;
}
.coverage-track .done {
  background: var(--green);
}
.coverage-track .deferred {
  background: #b89f7a;
}
.call-mode .call-cue {
  border: 0;
  border-radius: 0;
  padding: 48px 0 32px;
  margin: 0;
  background: none;
  min-height: 300px;
}
.call-mode .cue-point {
  font-size: clamp(25px, 3.1vw, 34px);
  font-weight: 550;
  line-height: 1.35;
  letter-spacing: -0.7px;
  margin: 19px 0 0;
  max-width: 740px;
  overflow-wrap: anywhere;
}
.call-mode .cue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}
.call-mode .cue-hint {
  margin-top: 20px;
  color: var(--muted);
}
.call-footing {
  border-bottom: 1px solid var(--line);
  padding: 0 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.tracking-status {
  font-size: 13px;
  color: var(--muted);
}
.tracking-warning {
  color: var(--amber);
}
.coverage-receipt {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font-size: 13px;
  white-space: nowrap;
  min-height: 38px;
}
.coverage-receipt .plain {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.call-drawers {
  display: flex;
  flex-wrap: wrap;
  gap: 0 26px;
  padding-top: 14px;
  align-items: flex-start;
}
.call-drawers > details {
  min-width: 0;
}
.call-drawers > details > summary {
  font-size: 13px;
  padding: 12px 0;
  color: var(--muted);
  cursor: pointer;
}
.call-drawers > details[open] {
  flex-basis: 100%;
  order: 1;
}
.drawer-content {
  padding: 16px 0 24px;
}
.drawer-content .priority {
  background: transparent;
}
.drawer-content .ask-form {
  margin: 0 0 10px;
}
.drawer-content .transcript {
  max-height: 340px;
  overflow-y: auto;
}
.drawer-content .transcript-turn:first-child {
  margin-top: 20px;
}
.answer-context {
  margin-top: 20px;
}
.answer-context summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
}
.answer-context p {
  margin-top: 12px;
}
.call-answer .cue-top {
  gap: 16px;
}
.call-answer .cue-top .plain {
  font-size: 13px;
}
.call-mode .notice {
  margin-top: 20px;
}
@media (max-width: 700px) {
  body.call-mode #stage {
    padding: 20px 22px 40px;
  }
  .call-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .call-identity {
    justify-content: space-between;
    width: 100%;
  }
  .call-top .call-controls {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
  }
  .call-top .live-status {
    margin-right: auto;
  }
  .call-focus {
    margin-top: 40px;
  }
  .call-progress {
    gap: 12px;
    font-size: 12px;
  }
  .call-mode .call-cue {
    min-height: 260px;
    padding-top: 32px;
  }
  .call-mode .cue-point {
    font-size: 27px;
    line-height: 1.35;
  }
  .call-mode .cue-actions {
    gap: 8px;
    margin-top: 26px;
  }
  .call-footing {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .call-drawers {
    gap: 0 18px;
  }
  .call-drawers > details > summary {
    font-size: 12px;
  }
}

/* Conversation atlas: one speaking cue, with the surrounding ideas in view. */
body.call-mode {
  background: #f4f4ee;
}
body.call-mode #stage {
  max-width: 1440px;
  padding: 24px 38px 34px;
}
.call-focus.map-focus {
  max-width: none;
  margin-top: 26px;
}
.map-location {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  font-size: 12px;
  color: #5a6d64;
}
.location-marker {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3f795d;
  flex: none;
}
.map-follow-note,
.map-location [data-follow-live] {
  margin-left: auto;
  font-size: 11px;
  color: #738078;
}
.map-location [data-follow-live] {
  min-height: 32px;
}
.conversation-map {
  position: relative;
  margin-top: 14px;
}
.atlas-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 0;
  border-top: 1px solid #d9dfd4;
}
.atlas-eyebrow {
  color: #7d8980;
  letter-spacing: 1.9px;
  font-size: 9px;
  font-weight: 600;
  margin-bottom: 6px;
}
.atlas-heading h2 {
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  font-weight: 600;
  color: #203b30;
}
.atlas-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #788479;
  font-size: 12px;
  white-space: nowrap;
}
.atlas-progress b {
  color: #315340;
  font-weight: 600;
}
.atlas-progress svg {
  width: 34px;
  height: 34px;
  transform: rotate(-90deg);
}
.atlas-progress circle {
  fill: none;
  stroke: #dce3d4;
  stroke-width: 2.5;
}
.atlas-progress .progress-arc {
  stroke: #4f7952;
  stroke-linecap: round;
}
.atlas-space {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-height: 540px;
  margin: 10px 0 0;
  padding: 26px 0;
}
.atlas-space:before {
  content: "";
  position: absolute;
  inset: 3% 5%;
  z-index: -2;
  background: radial-gradient(ellipse at center, #e4eadb99 0, transparent 67%);
  pointer-events: none;
}
.atlas-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: visible;
  pointer-events: none;
}
.atlas-trunk,
.atlas-twig {
  fill: none;
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
  opacity: 0.34;
  stroke-linecap: round;
}
.atlas-trunk.is-selected {
  stroke-width: 2;
  opacity: 0.75;
}
.atlas-twig.is-selected,
.atlas-twig.is-talking {
  stroke-width: 2.1;
  opacity: 0.9;
}
.atlas-side {
  min-width: 0;
  align-self: start;
  padding-top: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.atlas-branch {
  --branch-color: #5d856d;
  position: relative;
  min-width: 0;
}
.tone-1 {
  --branch-color: #6c7d9c;
}
.tone-2 {
  --branch-color: #a77c52;
}
.tone-3 {
  --branch-color: #92798d;
}
.tone-4 {
  --branch-color: #548e8b;
}
.theme-name {
  position: relative;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1px;
  color: var(--branch-color);
  margin: 0 0 9px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.theme-name > span {
  background: #f4f4ee;
  border: 1px solid color-mix(in srgb, var(--branch-color) 25%, transparent);
  border-radius: 30px;
  padding: 5px 10px;
  max-width: 100%;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.theme-anchor {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--branch-color);
  top: 50%;
  transform: translateY(-50%);
}
.west .theme-name {
  justify-content: flex-end;
  padding-right: 14px;
}
.east .theme-name {
  padding-left: 14px;
}
.west .theme-anchor {
  right: -6px;
}
.east .theme-anchor {
  left: -6px;
}
.theme-thoughts {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.map-node {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  height: 60px;
  position: relative;
  padding: 6px 7px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #42574b;
  text-align: left;
}
.west .map-node {
  flex-direction: row-reverse;
  text-align: right;
}
.thought-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 3px;
}
.map-node strong {
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.2px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.map-node small {
  font-size: 9px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #628158;
}
.thought-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 13px;
  height: 13px;
  border: 1.5px solid #a8b6a5;
  background: #f4f4ee;
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
  position: relative;
}
.map-node.is-covered {
  color: #7c8b7b;
}
.map-node.is-covered .thought-pin {
  background: #e3ebdb;
  border-color: #adbf9d;
  color: #5e7f4e;
}
.map-node.is-talking {
  color: #254c38;
}
.map-node.is-talking .thought-pin {
  background: #386749;
  color: white;
  border-color: #386749;
  box-shadow:
    0 0 0 4px #f4f4ee,
    0 0 0 5.5px #89a67b;
}
.map-node.is-talking strong {
  font-weight: 650;
}
.map-node.is-selected {
  color: #244e36;
  background: #e6eddb;
}
.map-node.is-selected strong {
  font-weight: 650;
}
.map-node.is-selected .thought-pin {
  border-color: #718d4d;
  background: #c4d886;
  box-shadow: 0 0 0 4px #dbe6c3;
}
.map-node.is-selected.is-talking .thought-pin {
  background: #386749;
  color: white;
}
.map-node.is-deferred .thought-pin {
  border-style: dashed;
}
.map-node:hover {
  background: #e9eee2;
  color: #234735;
}
.map-node:focus-visible {
  outline: 2px solid #6b826d;
  outline-offset: 3px;
}
.atlas-focus {
  min-width: 0;
  align-self: start;
  position: relative;
  z-index: 1;
}
.map-cue {
  background: #203e30;
  color: #f5f7eb;
  border: 1px solid #254e37;
  border-radius: 23px;
  padding: 26px 26px 22px;
  box-shadow:
    0 14px 35px #233d2812,
    0 2px 6px #233d280d;
  position: relative;
}
.map-cue:before {
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  top: 47%;
  height: 9px;
  pointer-events: none;
  z-index: -1;
  background: #8eaa74;
  border-radius: 20px;
}
.map-cue .cue-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  flex-wrap: wrap;
}
.map-cue .eyebrow {
  font-size: 9px;
  letter-spacing: 1.25px;
  line-height: 1.4;
  color: #c8dca7;
}
.following-label {
  font-size: 9px;
  color: #aec2ad;
  white-space: nowrap;
}
.following-label:before {
  content: "";
  display: inline-block;
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #b6d281;
  margin-right: 5px;
  vertical-align: middle;
}
.map-cue h2 {
  color: #f2f6e8;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.9px;
  margin: 22px 0 13px;
}
.cue-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin: 0 0 27px;
  color: #c7dba8;
}
.cue-keywords > span {
  font-size: 11px;
  line-height: 1.5;
}
.cue-keywords > span + span:before {
  content: "·";
  margin-right: 9px;
  opacity: 0.5;
}
.phrase-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #a9c1a3;
  margin-bottom: 9px;
}
.map-phrase {
  font-size: 20px;
  line-height: 1.43;
  letter-spacing: -0.25px;
  font-weight: 400;
  color: #fcfdf4;
  overflow-wrap: anywhere;
}
.original-point {
  margin-top: 20px;
}
.original-point summary {
  font-size: 10px;
  line-height: 1.5;
  color: #b0c2ac;
  cursor: pointer;
  min-height: 25px;
}
.original-point p {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: #d5dfce;
}
.call-mode .map-cue .cue-actions {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #ffffff19;
  gap: 0 16px;
}
.map-cue .cue-actions button {
  min-height: 32px;
  font-size: 11px;
}
.map-cue .cue-actions .secondary {
  flex-basis: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  color: #deedbc;
  text-align: left;
  margin-bottom: 6px;
}
.map-cue .cue-actions .secondary:hover {
  color: white;
}
.map-cue .plain {
  color: #c9dac3;
  text-decoration-color: #8ca287;
}
.map-cue .cue-top .plain {
  font-size: 10px;
  min-height: 30px;
}
.map-cue .follow-live {
  padding: 4px 8px;
  border: 1px solid #bfd0ad4a;
  border-radius: 20px;
  color: #e3edcd;
  text-decoration: none;
}
.map-cue .answer-context {
  color: #c9dac3;
  font-size: 12px;
}
.map-cue .diagram {
  color: #233d30;
  background: #edf2e5;
}
.atlas-key {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 10px;
  color: #7b887d;
  min-height: 28px;
}
.atlas-key > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.atlas-key .atlas-instruction {
  margin-right: auto;
  color: #637864;
  font-size: 11px;
}
.atlas-key i {
  display: inline-flex;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #496e4c;
  font-style: normal;
  font-size: 10px;
  align-items: center;
  justify-content: center;
}
.atlas-key .key-next {
  background: #c4d886;
  border: 1px solid #8da267;
}
.atlas-key .key-covered {
  background: transparent;
  color: #729363;
}
.map-focus .call-footing {
  margin-top: 20px;
  padding: 12px 0;
  min-height: 44px;
  border-top: 1px solid #dde3d7;
}
.map-focus .tracking-status {
  font-size: 11px;
  color: #7b887a;
}
.map-focus .coverage-receipt {
  font-size: 11px;
}
.map-focus .coverage-receipt .plain {
  font-size: 11px;
}
.map-focus .call-drawers {
  padding-top: 7px;
}
@media (min-width: 1280px) {
  .atlas-space {
    gap: 88px;
    grid-template-columns: minmax(0, 1fr) 350px minmax(0, 1fr);
  }
  .map-cue {
    padding: 29px;
  }
  .map-node strong {
    font-size: 17px;
  }
  .atlas-side {
    gap: 38px;
  }
}
@media (min-width: 800px) and (max-width: 1040px) {
  body.call-mode #stage {
    padding: 24px;
  }
  .atlas-space {
    gap: 35px;
    grid-template-columns: minmax(0, 1fr) 285px minmax(0, 1fr);
  }
  .map-node strong {
    font-size: 13px;
  }
  .thought-pin {
    width: 11px;
    height: 11px;
  }
  .map-node {
    gap: 9px;
  }
  .map-cue {
    padding: 23px;
  }
  .map-cue h2 {
    font-size: 25px;
  }
  .map-phrase {
    font-size: 18px;
  }
}
@media (max-width: 799px) {
  body.call-mode #stage {
    padding: 20px 22px 35px;
  }
  .call-focus.map-focus {
    margin-top: 22px;
  }
  .map-follow-note {
    display: none;
  }
  .atlas-heading {
    align-items: flex-start;
  }
  .atlas-heading h2 {
    font-size: 21px;
    max-width: 230px;
  }
  .atlas-progress {
    font-size: 10px;
    gap: 6px;
    padding-top: 13px;
  }
  .atlas-progress svg {
    width: 26px;
    height: 26px;
  }
  .atlas-progress span {
    max-width: 55px;
    white-space: normal;
    line-height: 1.4;
  }
  .atlas-space {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 45px 32px;
    min-height: 0;
    padding: 24px 0 17px;
    align-items: start;
  }
  .atlas-focus {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .atlas-side.west {
    grid-column: 1;
    grid-row: 2;
  }
  .atlas-side.east {
    grid-column: 2;
    grid-row: 2;
  }
  .atlas-side {
    gap: 25px;
    padding-top: 0;
  }
  .atlas-trunk {
    opacity: 0.23;
  }
  .atlas-trunk.is-selected {
    opacity: 0.45;
  }
  .map-cue {
    padding: 26px;
  }
  .map-cue h2 {
    font-size: 27px;
  }
  .map-phrase {
    font-size: 21px;
  }
  .map-node {
    gap: 9px;
    padding: 6px 3px;
    height: 64px;
  }
  .map-node strong {
    font-size: 13px;
  }
  .map-node small {
    font-size: 8px;
  }
  .thought-pin {
    width: 10px;
    height: 10px;
  }
  .theme-name {
    font-size: 10px;
  }
  .theme-name > span {
    padding: 4px 7px;
  }
  .theme-anchor {
    width: 5px;
    height: 5px;
  }
  .atlas-key {
    gap: 10px 14px;
  }
  .atlas-key .atlas-instruction {
    width: 100%;
  }
  .map-location {
    font-size: 11px;
  }
}

.atlas-return {
  display: none;
}
@media (max-width: 799px) {
  .atlas-return {
    display: block;
    width: 100%;
    min-height: 40px;
    margin-top: 7px;
    background: transparent;
    color: #486b4e;
    font-size: 12px;
  }
  .atlas-return:focus-visible {
    outline: 2px solid #6b826d;
    outline-offset: 2px;
    border-radius: 8px;
  }
  .atlas-focus,
  .atlas-side {
    scroll-margin-top: 18px;
  }
}
/* Account entry keeps the same paper, forest, and branching vocabulary. */
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 30px;
}
.auth-layout {
  width: min(1010px, 100%);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: center;
}
.auth-intro .wordmark {
  display: inline-flex;
  margin-bottom: 80px;
}
.auth-intro h1 {
  font-size: clamp(40px, 5vw, 61px);
  line-height: 1.05;
  letter-spacing: -2.5px;
  margin: 20px 0;
  font-weight: 600;
}
.auth-intro p {
  max-width: 290px;
  line-height: 1.7;
  color: #667465;
  font-size: 17px;
}
.auth-branch {
  display: flex;
  align-items: center;
  margin-top: 45px;
  gap: 0;
  font-size: 12px;
  color: #697562;
}
.auth-branch > span {
  white-space: nowrap;
}
.auth-branch i {
  height: 30px;
  width: 45px;
  border-top: 1px solid #acb9a1;
  border-right: 1px solid #acb9a1;
  border-radius: 0 30px 0 0;
  margin: 30px 0 0 10px;
}
.auth-branch strong {
  padding: 17px 20px;
  border-radius: 18px;
  background: #203e30;
  color: #eff3e8;
  font-weight: 500;
  max-width: 185px;
  line-height: 1.6;
}
.auth-panel {
  background: #fffef9;
  border: 1px solid #dce1d5;
  border-radius: 25px;
  padding: 38px;
  box-shadow: 0 15px 50px #243b2510;
}
.auth-panel h2 {
  margin: 15px 0 12px;
  font-size: 29px;
  letter-spacing: -1px;
  line-height: 1.2;
}
.auth-panel > p {
  color: #677260;
  font-size: 14px;
  line-height: 1.6;
}
.auth-panel form {
  margin-top: 30px;
}
.auth-panel label {
  margin-bottom: 20px;
}
.auth-panel input {
  margin-top: 8px;
  min-height: 46px;
}
.auth-panel form .primary {
  width: 100%;
  min-height: 48px;
  margin: 8px 0 15px;
}
.auth-panel .auth-footnote {
  font-size: 12px;
  margin: 16px 0 0;
}
#auth-error {
  color: #8a412f;
  font-size: 13px;
  line-height: 1.5;
}
.account-button {
  display: block;
  margin-top: 9px;
  font-size: 12px;
}
.key-status {
  display: block;
  color: #728066;
  font-weight: 400;
  font-size: 12px;
  margin-top: 5px;
}
.key-reset {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  margin: -8px 0 25px;
}
.key-reset input {
  width: auto;
}
.account-signout {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #dce1d5;
}
#account-dialog {
  max-width: 560px;
}
#account-dialog input[type="password"] {
  font-size: 13px;
}
@media (max-width: 750px) {
  .auth-page {
    padding: 30px 22px;
  }
  .auth-layout {
    display: block;
    max-width: 430px;
  }
  .auth-intro .wordmark {
    margin-bottom: 35px;
  }
  .auth-intro h1 {
    font-size: 43px;
  }
  .auth-intro > p {
    max-width: none;
    font-size: 15px;
  }
  .auth-branch {
    display: none;
  }
  .auth-panel {
    margin-top: 28px;
    padding: 28px;
  }
}

/* First-use path: one next action, three memorable steps. */
.quick-welcome { max-width: 1050px; }
.getting-started { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; padding:0; margin:30px 0; list-style:none; }
.getting-started li { display:flex; gap:12px; align-items:flex-start; position:relative; }
.getting-started li>span { flex:none; display:grid; place-items:center; width:34px; height:34px; border:1px solid var(--line); border-radius:50%; font-weight:700; background:var(--paper); }
.getting-started li.current>span { background:var(--ink); color:var(--lime); border-color:var(--ink); }
.getting-started li.complete>span { background:var(--lime); border-color:var(--lime); }
.getting-started b { display:block; font-size:14px; padding-top:5px; }
.getting-started p { font-size:12px; color:var(--muted); margin-top:4px; line-height:1.5; }
.intake-title { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.intake-title label { margin:0; }
.quick-intake textarea { min-height:150px; }
.imported-files .badge { display:inline-flex; align-items:center; gap:6px; }
.imported-files button { padding:0 3px; font-size:20px; }
.review-layout { display:grid; grid-template-columns:minmax(0,1fr) 290px; gap:28px; align-items:start; }
.review-points .priorities { margin-top:16px; }
.priority-edit-actions { display:flex; gap:16px; }
.ready-note { padding:20px 0; }
.ready-note h3 { font-size:30px; line-height:1.2; margin:14px 0; letter-spacing:-.7px; }
.ready-note p { line-height:1.6; color:var(--muted); margin-bottom:20px; }
.ready-note .primary { width:100%; margin-bottom:12px; }
.ready-note .plain { display:block; margin:8px 0; text-align:left; }
.prepared-details { margin:28px 0; padding:20px; border-top:1px solid var(--line); }
.prepared-details>summary { cursor:pointer; font-weight:600; }
.prepared-details .stage-header { margin-top:24px; }
.preparing-note { text-align:center; padding:40px 10px; color:var(--muted); }
.preparing-orbit { display:grid; place-items:center; width:56px; height:56px; background:var(--tint); border-radius:50%; margin:0 auto 16px; font-size:28px; color:var(--green); }
.guide-dialog { max-width:620px; padding:40px; }
.guide-close { position:absolute; right:18px; top:12px; font-size:26px; }
.guide-dialog h2 { margin:14px 0 22px; font-size:32px; letter-spacing:-.8px; }
.guide-dialog p { line-height:1.7; margin-bottom:15px; }
.guide-art { display:flex; align-items:center; justify-content:center; gap:12px; min-height:126px; background:var(--bg); border:1px solid var(--line); border-radius:14px; padding:16px; margin-bottom:24px; }
.guide-art span { border-radius:9px; padding:15px 12px; border:1px solid var(--line); background:var(--paper); font-size:13px; font-weight:600; text-align:center; }
.guide-art .guide-active { background:var(--ink); color:var(--lime); border-color:var(--ink); }
.guide-art.map span { border-radius:50%; min-width:90px; min-height:70px; display:grid; place-items:center; }
.guide-art i { font-style:normal; color:var(--green); }
.guide-caption { color:var(--green); font-weight:600; }
.guide-pagination { display:flex; gap:8px; align-items:center; margin-top:28px; }
.guide-pagination .primary { margin-left:auto; }
.guide-dot { border:1px solid var(--line); border-radius:50%; width:30px; height:30px; background:var(--paper); color:var(--muted); }
.guide-dot.selected { background:var(--lime); color:var(--ink); border-color:var(--lime); }
body { padding-bottom:80px; }
@media(max-width:760px) {
 .getting-started { gap:10px; margin:24px 0; }
 .getting-started li { display:block; }
 .getting-started b { font-size:12px; margin-top:7px; }
 .getting-started p { display:none; }
 .review-layout { grid-template-columns:1fr; gap:10px; }
 .ready-note { padding:15px; }
 .intake-title { align-items:flex-start; }
 .intake-title .plain { font-size:12px; }
 .guide-dialog { padding:30px 22px; }
 .guide-art { gap:7px; padding:12px; }
 .guide-art span { padding:12px 8px; font-size:12px; }
 .guide-art.map span { min-width:70px; }
 .topbar-right #model-state { display:none; }
 .call-controls { flex-wrap:wrap; gap:8px; }
}

.quick-welcome { padding-top:0; }
.quick-welcome h1 { font-size:38px; line-height:1.08; max-width:700px; }
.quick-welcome p.lead { font-size:16px; line-height:1.6; margin:14px 0 18px; max-width:800px; }
.quick-welcome .eyebrow { margin-bottom:12px; }
.quick-welcome .getting-started { margin:22px 0; }
.quick-form { padding:20px; }
.quick-intake textarea { min-height:126px; margin-bottom:10px; }
.quick-submit { margin-top:18px; }
.quick-context { margin:16px 0 0; border-bottom:0; }
.quick-context summary { padding:12px 0 0; }
@media (max-width:760px) { .quick-welcome h1 { font-size:31px; } .quick-welcome {padding-top:0;} }

.review-points select, .review-points .coverage-progress { display:none; }
.prepared-overview { padding-top:24px; }

/* Administration uses the same quiet paper/forest system as preparation. */
.admin-page { padding:0 28px 60px; }
.admin-header { max-width:1160px; margin:0 auto; padding:26px 0; display:flex; justify-content:space-between; align-items:center; gap:20px; border-bottom:1px solid var(--line); }
.admin-header>a:last-child { font-size:13px; }
.admin-main { max-width:1160px; margin:44px auto; }
.admin-intro { display:flex; justify-content:space-between; align-items:center; gap:24px; }
.admin-intro h1 { font-size:42px; letter-spacing:-1.4px; line-height:1.15; margin:12px 0; }
.admin-intro p { color:var(--muted); }
.admin-summary { display:flex; flex-wrap:wrap; gap:28px; margin:26px 0; color:var(--muted); }
.admin-summary strong { color:var(--ink); font-size:20px; padding-right:5px; }
.admin-section { border-top:1px solid var(--line); padding-top:25px; margin-top:30px; }
.admin-section h2 { font-size:21px; margin:0 0 16px; }
.admin-section>summary { font-weight:600; cursor:pointer; }
.admin-section-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.admin-search { display:flex; align-items:center; gap:12px; font-size:12px; font-weight:500; margin:0 0 14px; }
.admin-search input { width:230px; margin:0; padding:10px 12px; }
.admin-table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:12px; background:var(--paper); }
.admin-table { width:100%; border-collapse:collapse; font-size:14px; }
.admin-table th { text-align:left; font-size:11px; font-weight:600; letter-spacing:.6px; text-transform:uppercase; color:var(--muted); background:var(--tint); }
.admin-table th,.admin-table td { padding:17px 19px; border-bottom:1px solid var(--line); vertical-align:middle; }
.admin-table tr:last-child td { border-bottom:0; }
.admin-table td:first-child { min-width:235px; overflow-wrap:anywhere; }
.admin-table .secondary { padding:8px 14px; }
.admin-session-count { display:block; font-size:12px; color:var(--muted); margin-top:6px; }
.admin-you { font-size:11px; color:var(--green); background:var(--tint); border-radius:4px; padding:3px 6px; margin-left:8px; }
.admin-date { font-size:12px; color:var(--muted); min-width:140px; }
.admin-table-wrap+p { margin:12px 0; }
.admin-invite { display:flex; justify-content:space-between; gap:20px; align-items:center; padding:14px 0; }
.admin-invite p { margin:5px 0; }
.admin-event { padding:16px 0; border-bottom:1px solid var(--line); font-size:13px; }
.admin-event span { display:block; color:var(--muted); font-size:12px; margin-top:5px; overflow-wrap:anywhere; }
.admin-page dialog { max-width:580px; }
.admin-page dialog h2 { overflow-wrap:anywhere; }
.admin-form-grid { display:grid; grid-template-columns:1fr 1.5fr; gap:16px; }
.admin-page select { width:100%; padding:12px; background:var(--paper); color:var(--ink); border:1px solid var(--line); border-radius:6px; margin-top:8px; }
.admin-form-error { color:var(--red); margin:15px 0; }
.admin-user-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:24px; padding-top:24px; border-top:1px solid var(--line); }
#role-form .secondary { margin-top:12px; }
.admin-page #access-result-text { font-family:ui-monospace,monospace; font-size:13px; line-height:1.7; }
.account-password { padding-top:22px; margin-top:22px; border-top:1px solid var(--line); }
.account-password summary { cursor:pointer; font-weight:600; }
.account-password form { margin-top:20px; }
#admin-top { font-size:13px; }
@media(max-width:760px) {
  .admin-page { padding:0 18px 40px; }
  .admin-header { align-items:flex-start; }
  .admin-header>a:last-child { max-width:135px; text-align:right; }
  .admin-main { margin-top:28px; }
  .admin-intro { display:block; }
  .admin-intro h1 { font-size:33px; }
  .admin-intro .primary { margin-top:20px; }
  .admin-summary { gap:15px; font-size:12px; }
  .admin-section-heading { display:block; }
  .admin-search { justify-content:space-between; }
  .admin-search input { width:200px; }
  .admin-form-grid { grid-template-columns:1fr; gap:0; }
  .admin-invite { align-items:flex-start; font-size:13px; }
  .admin-invite>div { min-width:0; overflow-wrap:anywhere; }
}
