:root {
  --ink: #202d2a;
  --muted: #63716e;
  --green: #194e3d;
  --paper: #fff;
  --slate: #f0f3f3;
  --line: #d7dfdc;
  --pale: #e5eee9;
  --danger: #9b3434;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--slate);
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: var(--green);
  text-underline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.13;
  letter-spacing: -1.4px;
  margin-bottom: 16px;
}
h2 {
  font-size: 27px;
  line-height: 1.2;
}
h3 {
  font-size: 17px;
  line-height: 1.5;
}
p {
  line-height: 1.65;
}
.muted,
.hint {
  color: var(--muted);
}
.hint {
  font-size: 13px;
  line-height: 1.6;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.7px;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 14px;
}
.wordmark {
  font-size: 29px;
  letter-spacing: -1px;
}
.wordmark span {
  color: var(--green);
}
.button,
button {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 10px 15px;
  border-radius: 5px;
  color: var(--ink);
  font-weight: 550;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.35;
}
button:hover,
.button:hover {
  background: var(--pale);
}
button.primary,
.button.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
button.danger {
  color: var(--danger);
}
button.small {
  font-size: 12px;
  padding: 7px 10px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}
.actions.end {
  justify-content: flex-end;
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  max-width: 1440px;
  margin: auto;
}
.auth-story {
  padding: 70px 10%;
  background: #e3ebe6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}
.auth-story h1 {
  font-size: clamp(40px, 5vw, 70px);
  max-width: 570px;
  margin-top: 70px;
}
.auth-story .intro {
  font-size: 18px;
  max-width: 460px;
}
.auth-story footer {
  border-top: 1px solid #bfcec5;
  padding-top: 24px;
  margin-top: 55px;
  font-size: 13px;
  color: #496258;
}
.auth-form {
  padding: 65px 13%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
}
.auth-form h2 {
  font-size: 32px;
  margin-bottom: 12px;
}
.auth-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}
.auth-tabs button {
  border: 0;
  border-radius: 0;
  padding: 10px 0;
  margin-right: 12px;
  color: var(--muted);
}
.auth-tabs button.active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}
label {
  display: block;
  font-weight: 550;
  font-size: 13px;
  margin-bottom: 7px;
}
input,
textarea,
select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #b8c7c0;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  line-height: 1.5;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
input[type="checkbox"] {
  width: auto;
}
.field {
  margin-bottom: 19px;
}
.field .hint {
  margin: 7px 0 0;
}
.shell {
  display: grid;
  grid-template-columns: 226px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #fafcfa;
  border-right: 1px solid var(--line);
  padding: 32px 23px;
  display: flex;
  flex-direction: column;
}
.sidebar .wordmark {
  margin-bottom: 45px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar nav a {
  padding: 12px 14px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
.sidebar nav a.active {
  background: var(--pale);
  color: var(--green);
  font-weight: 650;
}
.nav-number {
  display: inline-block;
  font-family: monospace;
  margin-right: 11px;
  color: #87968f;
  font-size: 11px;
}
.account {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.account .name {
  overflow-wrap: anywhere;
  margin-bottom: 6px;
}
.badge {
  display: inline-block;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 550;
  color: var(--green);
}
.workspace {
  min-width: 0;
  padding: 35px 42px 60px;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
}
.topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 36px;
}
.topline .eyebrow {
  margin: 0;
}
.topline select {
  width: auto;
  max-width: 200px;
  padding: 7px 10px;
  font-size: 12px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.page-heading p {
  max-width: 650px;
  margin-bottom: 0;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
  margin-bottom: 22px;
}
.conversation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(270px, 1fr);
  gap: 24px;
  align-items: start;
}
.conversation {
  padding: 0;
  overflow: hidden;
}
.messages {
  max-height: 58vh;
  min-height: 320px;
  overflow: auto;
  padding: 28px;
}
.message {
  padding: 0 0 24px;
  margin-bottom: 22px;
  border-bottom: 1px solid #edf0ee;
}
.message:last-child {
  margin-bottom: 0;
  border: 0;
  padding-bottom: 0;
}
.message .speaker {
  font-size: 11px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 650;
}
.message.user .speaker {
  color: var(--muted);
}
.prose {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.75;
  font-size: 14px;
}
.prose a {
  word-break: break-word;
}
.composer {
  padding: 20px;
  border-top: 1px solid var(--line);
  background: #fafcfb;
}
.composer textarea {
  min-height: 100px;
  margin-bottom: 12px;
}
.composer .hint {
  margin: 10px 0 0;
}
.suggestions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
}
.suggestions button {
  text-align: left;
  justify-content: flex-start;
  font-size: 13px;
  font-weight: 400;
}
.brief-side .prose {
  max-height: 450px;
  overflow: auto;
}
.brief-side .eyebrow {
  color: var(--green);
}
.brief-side hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 23px 0;
}
.blank {
  padding: 25px 0;
  max-width: 580px;
}
.blank h2 {
  font-size: 29px;
}
.task-strip {
  margin-bottom: 22px;
  padding: 12px 16px;
  border: 1px solid #bfd1c8;
  background: #f8fcf9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
}
.task-strip.error {
  border-color: #e3b7b7;
  background: #fff9f9;
  color: var(--danger);
}
.task-strip button {
  flex-shrink: 0;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.job {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 18px;
}
.job-number {
  font-family: Georgia, serif;
  font-size: 27px;
  color: #95a79e;
}
.job h2 {
  margin-bottom: 8px;
  font-size: 25px;
}
.job .company {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 17px;
}
.job .reason {
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.job .actions {
  margin-top: 20px;
}
.job details {
  margin-top: 18px;
}
.job summary,
summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 550;
  color: var(--green);
  padding: 8px 0;
}
.job details .prose {
  max-height: 350px;
  overflow: auto;
  margin-top: 10px;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}
.toolbar input {
  flex: 1;
  min-width: 180px;
}
.toolbar select {
  width: auto;
}
.section-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.section-title h2 {
  margin: 0;
}
.section-title .badge {
  white-space: nowrap;
}
.revision {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.revision:first-child {
  border: 0;
}
.revision .prose {
  max-height: 420px;
  overflow: auto;
  margin: 12px 0;
}
.application .stage-line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.material {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.material .prose {
  max-height: 600px;
  overflow: auto;
  margin: 15px 0;
  padding: 15px;
  background: #f8faf9;
}
.connection {
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--line);
}
.connection:last-child {
  border: 0;
  margin: 0;
  padding: 0;
}
.connection h3 {
  margin-bottom: 8px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: center;
}
.loading {
  margin: 50px;
}
.error-text {
  color: var(--danger);
  font-size: 13px;
  line-height: 1.6;
}
.voice-review {
  margin-top: 20px;
}
.voice-review textarea {
  min-height: 180px;
}
#notice {
  position: fixed;
  bottom: 25px;
  right: 25px;
  max-width: min(460px, calc(100vw - 40px));
  padding: 15px 22px;
  background: var(--ink);
  color: white;
  border-radius: 5px;
  z-index: 20;
  box-shadow: 0 4px 16px #0002;
  font-size: 14px;
  line-height: 1.5;
}
.skip {
  position: absolute;
  top: -60px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 30;
}
.skip:focus {
  top: 10px;
}
.inline-link {
  border: 0;
  padding: 0;
  background: none;
  font-weight: 400;
  text-decoration: underline;
  color: var(--green);
  font-size: 13px;
}
.full {
  width: 100%;
}
.privacy-note {
  margin-top: 20px;
}
.status-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  display: inline-block;
  background: var(--green);
  margin-right: 7px;
}
.voice-live {
  color: #9b3434 !important;
  border-color: #b66161 !important;
}
.tiny {
  font-size: 12px;
}
.archive-note {
  margin-bottom: 18px;
}
.form-error {
  min-height: 20px;
}
.onboarding-count {
  font-family: monospace;
  font-size: 12px;
  color: var(--muted);
}
@media (min-width: 1500px) {
  .workspace {
    padding-left: 65px;
    padding-right: 65px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 190px 1fr;
  }
  .sidebar {
    padding: 28px 15px;
  }
  .workspace {
    padding: 30px 25px;
  }
  .conversation-layout {
    grid-template-columns: 1fr;
  }
  .brief-side {
    order: 2;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .messages {
    max-height: 60vh;
  }
}
@media (max-width: 720px) {
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-story {
    min-height: auto;
    padding: 30px 25px;
  }
  .auth-story h1 {
    font-size: 43px;
    margin-top: 38px;
  }
  .auth-story footer {
    display: none;
  }
  .auth-story .intro {
    font-size: 16px;
    margin-bottom: 0;
  }
  .auth-form {
    padding: 32px 25px;
  }
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .wordmark {
    margin-bottom: 17px;
    font-size: 25px;
  }
  .sidebar nav {
    flex-direction: row;
    overflow: auto;
    gap: 3px;
  }
  .sidebar nav a {
    white-space: nowrap;
    font-size: 12px;
    padding: 10px;
  }
  .nav-number {
    display: none;
  }
  .account {
    display: none;
  }
  .workspace {
    padding: 25px 18px;
  }
  .topline {
    margin-bottom: 28px;
    align-items: flex-start;
  }
  .topline select {
    max-width: 150px;
  }
  .page-heading {
    display: block;
  }
  .page-heading .actions {
    margin-top: 18px;
  }
  .panel {
    padding: 21px;
  }
  .conversation {
    padding: 0;
  }
  .messages {
    padding: 22px;
    min-height: 260px;
    max-height: 55vh;
  }
  .composer {
    padding: 17px;
  }
  .job {
    grid-template-columns: 25px 1fr;
    gap: 12px;
  }
  .job-number {
    font-size: 22px;
  }
  .job h2 {
    font-size: 23px;
  }
  .job .actions {
    gap: 7px;
  }
  .job .actions button {
    font-size: 12px;
  }
  .application .stage-line {
    grid-template-columns: 1fr;
  }
  .section-title {
    align-items: flex-start;
  }
  .toolbar {
    gap: 8px;
  }
  .task-strip {
    align-items: flex-start;
  }
  .prose {
    font-size: 14px;
  }
  h1 {
    font-size: 35px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition: background-color 0.15s;
  }
}
