:root {
  color-scheme: light;
  --ink: #19332e;
  --muted: #61746d;
  --paper: #f7f8f3;
  --surface: #fff;
  --line: #dee5dc;
  --accent: #173c35;
  --lime: #d3eb8f;
  --soft: #edf1e7;
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #718e3a;
  outline-offset: 4px;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
button[hidden] {
  display: none;
}
a {
  color: inherit;
}
.preview-banner {
  background: #e6ebdc;
  color: #405139;
  text-align: center;
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.topbar {
  max-width: 1280px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 42px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  letter-spacing: 0.04em;
  font-weight: 750;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--lime);
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.brand-sub {
  color: var(--muted);
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0;
  margin-left: 8px;
}
.top-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}
.top-actions > span {
  font-size: 12px;
  color: var(--muted);
}
.quiet {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 12px;
  min-height: 42px;
}
main {
  max-width: 1280px;
  padding: 0 42px;
  margin: auto;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 70px;
  align-items: center;
  padding: 64px 0 48px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(36px, 5vw, 59px);
  font-weight: 550;
  letter-spacing: -0.055em;
  line-height: 1.08;
  margin: 0 0 22px;
}
.lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
  margin: 0;
}
.entry-card {
  background: var(--accent);
  color: #f4f6ef;
  padding: 27px;
  border-radius: 17px;
}
.step-number {
  font-size: 12px;
  color: var(--lime);
  letter-spacing: 0.14em;
}
.entry-card h2 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
  margin: 18px 0 14px;
  letter-spacing: -0.025em;
}
.entry-card p {
  font-size: 13px;
  line-height: 1.65;
  color: #d1ddd4;
  margin: 0 0 22px;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--lime);
  padding: 0;
  font-size: 12px;
  min-height: 32px;
  text-align: left;
}
.text-button span {
  margin-left: 12px;
}
.workspace {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr);
  gap: 22px;
}
.scenario-list {
  padding: 25px 0;
}
.scenario-list > .eyebrow {
  padding-left: 16px;
}
.scenario-list > button {
  border: 1px solid transparent;
  width: 100%;
  padding: 19px 15px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  text-align: left;
  border-radius: 12px;
  color: var(--ink);
  margin-bottom: 8px;
}
.scenario-list > button[aria-pressed="true"] {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 4px 18px #19332e06;
}
.scenario-index {
  font-size: 11px;
  color: var(--muted);
  align-self: flex-start;
  margin-top: 3px;
}
.scenario-list strong {
  font-size: 13px;
  font-weight: 600;
  display: block;
}
.scenario-list small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 7px;
  line-height: 1.45;
}
.scenario-list > button > span:last-child {
  margin-left: auto;
}
.sidebar-note {
  border-top: 1px solid var(--line);
  margin: 24px 15px 0;
  padding-top: 20px;
  display: flex;
  gap: 9px;
}
.sidebar-note p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.small-dot {
  height: 6px;
  width: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #839968;
  margin-top: 5px;
}
.conversation {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 27px 30px;
}
.conversation-header {
  display: flex;
  gap: 11px;
  align-items: center;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}
.assistant-mark {
  background: var(--soft);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-weight: 700;
}
.conversation-header h2 {
  font-size: 15px;
  margin: 0;
  font-weight: 650;
}
.conversation-header p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 0;
}
.demo-tag {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-left: auto;
  background: var(--paper);
  padding: 7px 9px;
  border-radius: 5px;
}
.user-message {
  background: var(--paper);
  border-radius: 12px;
  padding: 17px 20px;
  font-size: 14px;
  line-height: 1.65;
  margin: 25px 0 23px;
}
.assistant-text {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 17px;
}
.evidence-label {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 18px;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: var(--surface);
  color: var(--ink);
}
.option.recommended {
  background: #f3f7e9;
  border-color: #cbd9ad;
}
.option.selected {
  outline: 2px solid #627d34;
  outline-offset: 1px;
}
.option-kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--muted);
  min-height: 24px;
}
.option strong {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 650;
}
.option p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 9px 0 13px;
}
.option-cta {
  font-size: 11px;
  margin-top: auto;
  font-weight: 600;
}
.recommendation {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  margin: 18px 0 0;
}
.result-area:empty {
  display: none;
}
.result-area {
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 22px;
}
.result-area h3 {
  font-size: 15px;
  font-weight: 650;
  margin: 0 0 11px;
}
.result-area ol {
  font-size: 13px;
  line-height: 1.8;
  padding-left: 21px;
  margin: 0 0 17px;
}
.result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.primary {
  background: var(--accent);
  color: #f7faee;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 12px;
  min-height: 44px;
}
.secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 12px;
  min-height: 44px;
}
.result-note {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 14px 0 0;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding: 39px 0 48px;
}
.principles > div {
  display: flex;
  gap: 13px;
}
.principles > div > span {
  font-size: 11px;
  color: var(--muted);
  padding-top: 3px;
}
.principles p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.principles strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  margin-bottom: 5px;
  font-weight: 650;
}
footer {
  max-width: 1196px;
  margin: auto;
  padding: 22px 0 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  padding: 30px;
  max-width: 600px;
  width: calc(100% - 32px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
}
dialog::backdrop {
  background: #142d27a6;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.dialog-top .eyebrow {
  margin: 0;
}
.close {
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 24px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 9px;
}
dialog h2 {
  font-size: 29px;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 22px 0 16px;
}
dialog > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.account-steps {
  padding-left: 24px;
  margin: 25px 0;
}
.account-steps li {
  padding: 0 0 20px 8px;
}
.account-steps strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}
.account-steps span {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
dialog .notice {
  background: var(--paper);
  padding: 15px;
  border-radius: 9px;
  font-size: 12px;
  margin: 0 0 20px;
}
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 23px 0;
}
.comparison > div {
  background: var(--paper);
  border-radius: 11px;
  padding: 17px;
}
.comparison h3 {
  font-size: 13px;
  margin: 0 0 10px;
}
.comparison ul {
  padding-left: 16px;
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
@media (max-width: 900px) {
  .intro {
    gap: 30px;
    grid-template-columns: 1fr 280px;
  }
  .workspace {
    grid-template-columns: 225px minmax(0, 1fr);
  }
  .option-grid {
    grid-template-columns: 1fr;
  }
  .option {
    padding: 15px;
  }
  .option-kicker {
    min-height: 18px;
  }
  .option p {
    margin: 6px 0;
  }
  .principles {
    gap: 16px;
  }
}
@media (max-width: 650px) {
  .topbar {
    padding: 18px 20px;
    align-items: flex-start;
  }
  .brand-sub {
    display: block;
    margin: 3px 0 0;
    font-size: 10px;
  }
  .top-actions {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 165px;
  }
  .top-actions > span {
    display: none;
  }
  .quiet {
    font-size: 11px;
    padding: 9px 11px;
  }
  main {
    padding: 0 20px;
  }
  .intro {
    grid-template-columns: 1fr;
    padding: 37px 0 26px;
    gap: 24px;
  }
  h1 {
    font-size: 43px;
  }
  .lede {
    font-size: 14px;
  }
  .entry-card {
    padding: 22px;
  }
  .entry-card h2 {
    font-size: 23px;
    margin: 12px 0;
  }
  .entry-card h2 br {
    display: none;
  }
  .entry-card p {
    margin-bottom: 12px;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .scenario-list {
    padding: 0;
  }
  .scenario-list > .eyebrow {
    padding-left: 0;
  }
  .scenario-list > button {
    padding: 13px 12px;
    margin-bottom: 5px;
  }
  .scenario-list small {
    margin-top: 4px;
  }
  .sidebar-note {
    display: none;
  }
  .conversation {
    padding: 22px 19px;
  }
  .conversation-header h2 {
    font-size: 13px;
  }
  .user-message {
    font-size: 13px;
    padding: 15px;
  }
  .assistant-text {
    font-size: 13px;
  }
  .option-grid {
    grid-template-columns: 1fr;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 0;
  }
  .principles p {
    font-size: 12px;
  }
  footer {
    margin: 0 20px;
    flex-direction: column;
    gap: 9px;
  }
  .comparison {
    grid-template-columns: 1fr;
  }
  dialog {
    padding: 22px;
  }
  dialog h2 {
    font-size: 26px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .option,
  .scenario-list > button {
    transition:
      background 0.15s,
      border-color 0.15s;
  }
  .option:hover,
  .scenario-list > button:hover {
    border-color: #9aab84;
  }
}

/* Live Prorab workspace; standalone deployment, no TALKO root styles. */
.brand b {
  font-weight: 500;
  color: var(--muted);
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-top: 2px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions > span {
  font-size: 11px;
  color: var(--muted);
}
.entry-card > span {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--lime);
}
.sidebar {
  padding: 25px 0;
}
.sidebar > .eyebrow {
  padding-left: 14px;
}
.scenario-button {
  border: 1px solid transparent;
  width: 100%;
  padding: 17px 13px;
  display: flex;
  gap: 13px;
  align-items: center;
  border-radius: 11px;
  text-align: left;
  background: transparent;
  color: var(--ink);
  margin-bottom: 7px;
}
.scenario-button[aria-pressed="true"] {
  background: var(--surface);
  border-color: var(--line);
}
.scenario-button strong {
  font-size: 13px;
  font-weight: 600;
}
.arrow {
  margin-left: auto;
}
.profile {
  margin: 23px 13px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.profile label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 13px 0 8px;
}
select,
input,
textarea {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  max-width: 100%;
}
select {
  width: 100%;
  font-size: 13px;
  min-height: 44px;
}
.small-note {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.full {
  width: 100%;
  margin: 0 0 15px;
}
.thread-list {
  display: grid;
  gap: 5px;
}
.thread-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  padding: 12px;
  border-radius: 8px;
  text-align: left;
  overflow-wrap: anywhere;
}
.thread-button[aria-current="true"] {
  background: var(--soft);
  color: var(--ink);
}
.workspace {
  align-items: start;
  margin-bottom: 45px;
}
.conversation {
  min-height: 480px;
}
.access-status {
  font-size: 12px;
  line-height: 1.6;
  padding: 13px 0;
  color: var(--muted);
  margin: 0;
}
.messages {
  overflow-wrap: anywhere;
}
.empty {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 25px 0 14px;
}
.sample {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
  border-radius: 10px;
  padding: 16px;
  text-align: left;
  margin-bottom: 22px;
}
.response-text {
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-wrap;
}
.answer-block {
  padding: 12px 0 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.answer-block h3,
.choice h3 {
  font-size: 13px;
  margin: 20px 0 9px;
}
.answer-block ul,
.choice ol {
  padding-left: 21px;
  font-size: 13px;
  line-height: 1.8;
}
.source-list a {
  overflow-wrap: anywhere;
}
.choice:empty {
  display: none;
}
.choice {
  padding: 20px;
  border-radius: 10px;
  background: var(--paper);
  margin: 20px 0;
}
.choice .eyebrow {
  margin: 0;
}
.attachments:empty {
  display: none;
}
.attachment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--paper);
  padding: 10px;
  border-radius: 8px;
  margin: 8px 0;
  font-size: 12px;
}
.attachment > span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.attachment .quiet {
  flex-shrink: 0;
}
#composer {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-top: 20px;
}
#message {
  display: block;
  width: 100%;
  resize: vertical;
  border: 0;
  padding: 6px;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100px;
  max-height: 400px;
  outline-offset: 3px;
}
.composer-bottom {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.composer-bottom .primary {
  margin-left: auto;
}
.file-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
}
.file-button input {
  width: 1px;
  height: 1px;
  position: absolute;
  opacity: 0;
}
.file-button:focus-within {
  outline: 3px solid #718e3a;
  outline-offset: 3px;
}
.save-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 16px 0;
}
.save-label input {
  margin: 2px 0;
  width: 16px;
  height: 16px;
  padding: 0;
  flex-shrink: 0;
}
.feedback {
  font-size: 12px;
  line-height: 1.65;
  color: #8a3b29;
}
.feedback:empty {
  display: none;
}
.notice {
  font-size: 12px;
  line-height: 1.7;
  padding: 14px;
  background: var(--paper);
  border-radius: 8px;
}
#sign-in label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0 7px;
}
#sign-in input {
  display: block;
  width: 100%;
  min-height: 46px;
  font-size: 16px;
}
#sign-in-submit {
  margin: 20px 0 0;
  width: 100%;
}
#auth-feedback {
  font-size: 12px;
  color: #8a3b29;
  line-height: 1.6;
}
.button-link {
  display: inline-block;
  text-decoration: none;
}
#signup-note {
  margin-top: 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
button[hidden],
form[hidden] {
  display: none !important;
}
footer {
  padding-left: 20px;
  padding-right: 20px;
}
.option-grid {
  margin-top: 18px;
}
.option[aria-pressed="true"] {
  outline: 2px solid #627d34;
  outline-offset: 1px;
}
@media (max-width: 650px) {
  .header-actions {
    gap: 7px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 170px;
  }
  .header-actions > span {
    display: none;
  }
  .sidebar {
    padding: 0;
  }
  .profile {
    margin: 18px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
  }
  .profile label {
    margin: 0;
  }
  .profile label[for="language"] {
    grid-column: 1;
    grid-row: 1;
  }
  .profile #language {
    grid-column: 1;
    grid-row: 2;
  }
  .profile label[for="role"] {
    grid-column: 2;
    grid-row: 1;
  }
  .profile #role {
    grid-column: 2;
    grid-row: 2;
  }
  .profile > p {
    grid-column: 1/-1;
    margin: 5px 0;
  }
  .thread-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 13px;
  }
  .thread-button {
    padding: 9px;
    max-width: 100%;
  }
  .conversation-header {
    flex-wrap: wrap;
  }
  .conversation-header .quiet {
    margin-left: auto;
  }
  .conversation-header h2 {
    overflow-wrap: anywhere;
  }
  .conversation-header > div {
    min-width: 0;
    flex: 1;
  }
  .composer-bottom .small-note {
    font-size: 10px;
  }
  .composer-bottom {
    gap: 7px;
  }
  .composer-bottom .primary {
    margin-left: 0;
  }
  #message {
    font-size: 16px;
  }
  .response-text {
    font-size: 13px;
  }
  .entry-card h2 {
    white-space: normal;
  }
  .feedback {
    overflow-wrap: anywhere;
  }
}
