:root {
  --bg: #f5f6f2;
  --panel: #fff;
  --ink: #23352f;
  --ink-2: #5e6c65;
  --ink-3: #64736a;
  --line: #dde3dc;
  --accent: #187657;
  --soft: #e8f2eb;
  --nav: #182e28;
  --nav-ink: #c6d4cd;
  --warning: #8c611b;
  --warning-bg: #fff3d9;
  --danger: #ac3d33;
  --shadow: 0 8px 28px #172d2610;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    15px/1.55 "Segoe UI",
    system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}
body[data-theme="ink"] {
  --bg: #f3f5f8;
  --ink: #263246;
  --ink-2: #586579;
  --line: #dbe1ea;
  --accent: #395b9d;
  --soft: #e9effa;
  --nav: #1c293e;
  --nav-ink: #c5d1e4;
}
body[data-theme="clay"] {
  --bg: #f8f5f2;
  --ink: #41342c;
  --ink-2: #716158;
  --line: #e8ddd5;
  --accent: #a34c32;
  --soft: #f8ece5;
  --nav: #332a26;
  --nav-ink: #dccbc0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button,
.btn {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  border-radius: 8px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.15s;
}
button:hover,
.btn:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
button.primary,
.btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
button.ghost {
  border-color: transparent;
  background: transparent;
}
.btn.soft,
button.soft {
  background: var(--soft);
  color: var(--accent);
  border-color: transparent;
}
button.danger {
  color: var(--danger);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
input,
select,
textarea {
  width: 100%;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
input::placeholder,
textarea::placeholder {
  color: var(--ink-2);
}
textarea {
  min-height: 110px;
  resize: vertical;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}
label.field {
  margin: 0 0 18px;
}
label.field input,
label.field select,
label.field textarea {
  margin-top: 7px;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}
input[type="number"] {
  min-width: 75px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
}
.check input {
  margin-top: 4px;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  z-index: 30;
  background: var(--nav);
  color: var(--nav-ink);
  display: flex;
  flex-direction: column;
  padding: 25px 16px 14px;
}
.logo {
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -1px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 2px solid #83b99c;
  border-radius: 8px;
  transform: rotate(-8deg);
  color: #a7d4b7;
  font-size: 23px;
}
.workspace {
  margin: 25px 0 19px;
  border: 1px solid #ffffff24;
  padding: 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.avatar {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: var(--soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  flex-shrink: 0;
}
.workspace .avatar {
  background: #fff;
  color: #31443c;
}
.workspace small {
  display: block;
  font-size: 11px;
  color: #bdcfc3;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #9bb0a5;
  margin: 13px 12px 5px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13px;
  margin: 2px 0;
}
.nav-item.active {
  background: #ffffff13;
  color: #fff;
}
.nav-item.active:before {
  content: "";
  width: 4px;
  height: 17px;
  border-radius: 4px;
  background: #91cda7;
  margin-left: -10px;
}
.nav-item:hover {
  background: #ffffff10;
}
.nav-item .count {
  margin-left: auto;
  background: #cfb774;
  color: #293a30;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}
.sidebar nav {
  overflow: auto;
  flex: 1;
}
.sidebar-bottom {
  border-top: 1px solid #ffffff1c;
  padding: 15px 8px 0;
  margin-top: 15px;
  font-size: 12px;
}
.sidebar-bottom strong {
  display: block;
  color: #fff;
}
.stage {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 76px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  gap: 18px;
}
.crumb {
  font-size: 13px;
  color: var(--ink-2);
}
.crumb strong {
  color: var(--ink);
  font-weight: 550;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-actions select {
  width: auto;
  font-size: 12px;
  padding: 7px 10px;
}
.top-actions .icon-btn {
  padding: 7px;
  position: relative;
}
.notification-dot {
  position: absolute;
  right: 6px;
  top: 5px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.mobile-menu {
  display: none;
}
.demo-strip {
  padding: 8px 34px;
  background: #eef0e9;
  font-size: 11px;
  color: #52604f;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}
.demo-strip a {
  text-decoration: underline;
}
.content {
  max-width: 1540px;
  margin: auto;
  padding: 33px 34px 40px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 27px;
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ink-2);
  margin-bottom: 6px;
}
h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 650;
  margin: 0 0 9px;
}
h2 {
  font-size: 17px;
  line-height: 1.4;
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 15px;
  margin: 0 0 8px;
}
p {
  margin: 0 0 16px;
  max-width: 70ch;
}
.muted {
  color: var(--ink-2);
}
.small {
  font-size: 12px;
}
.tiny {
  font-size: 11px;
}
.mono {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
}
.flex {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
}
.card-pad {
  padding: 23px;
}
.card-head {
  padding: 21px 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}
.card-head a {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}
.grid {
  display: grid;
  gap: 21px;
}
.cols-2 {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
}
.equal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 22px;
}
.metric {
  padding: 20px 21px;
}
.metric-label {
  font-size: 12px;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
}
.metric-value {
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -1px;
  font-weight: 650;
  margin: 12px 0 7px;
}
.metric-bottom {
  font-size: 11px;
  color: var(--ink-2);
}
.positive {
  color: var(--accent);
  font-weight: 650;
}
.callout {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid #e0d5af;
  border-radius: 11px;
  background: #fbf7e9;
  margin-bottom: 24px;
}
.callout .round-icon {
  background: #f2e8c9;
  color: #856224;
}
.callout strong {
  font-size: 14px;
}
.callout p {
  margin: 3px 0 0;
  font-size: 12px;
  color: #706249;
}
.callout .actions {
  margin-left: auto;
}
.round-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
  flex-shrink: 0;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  font-size: 10px;
  border-radius: 5px;
  background: #eef0eb;
  color: #5e6a62;
  font-weight: 600;
  white-space: nowrap;
}
.tag.green {
  background: var(--soft);
  color: var(--accent);
}
.tag.amber {
  background: var(--warning-bg);
  color: var(--warning);
}
.tag.red {
  background: #faeae7;
  color: var(--danger);
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  font-size: 12px;
}
th {
  background: #fafbf8;
  color: var(--ink-2);
  font-size: 10px;
  letter-spacing: 0.04em;
  font-weight: 600;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
}
td small {
  display: block;
  font-size: 10px;
  color: var(--ink-2);
  margin-top: 3px;
}
tbody tr:hover {
  background: var(--bg);
}
.customer-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.customer-cell .avatar {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  font-size: 10px;
}
.text-link {
  color: var(--accent);
  font-weight: 600;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 13px;
  align-items: center;
  margin-bottom: 19px;
}
.search {
  max-width: 320px;
}
.tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 23px;
  overflow: auto;
}
.tabs button {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 12px 0;
  font-size: 13px;
  box-shadow: none;
}
.tabs button.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.activity-item {
  display: flex;
  gap: 12px;
  padding: 17px 23px;
  border-bottom: 1px solid var(--line);
}
.activity-item:last-child {
  border: 0;
}
.activity-item p {
  margin: 0;
  font-size: 12px;
}
.activity-item .round-icon {
  width: 29px;
  height: 29px;
}
.activity-item svg {
  width: 15px;
}
.chart {
  height: 188px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 25px 30px 5px;
}
.bar-group {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex: 1;
  gap: 5px;
  height: 100%;
  position: relative;
}
.bar {
  background: #c8ded0;
  width: 16px;
  border-radius: 4px 4px 0 0;
  min-height: 4px;
}
.bar.dark {
  background: var(--accent);
}
.bar-label {
  position: absolute;
  top: 100%;
  font-size: 10px;
  color: var(--ink-2);
  padding-top: 7px;
}
.chart-foot {
  padding: 34px 23px 17px;
  display: flex;
  gap: 18px;
  font-size: 10px;
  color: var(--ink-2);
}
.chart-foot i {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: var(--accent);
  margin-right: 5px;
  border-radius: 2px;
}
.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.summary-line:last-child {
  border: 0;
}
.summary-line strong {
  font-size: 13px;
}
.inbox {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 245px;
  min-height: 630px;
}
.conversations {
  border-right: 1px solid var(--line);
}
.conversation-item {
  display: block;
  text-align: left;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 18px;
  background: transparent;
  white-space: normal;
  font-weight: 400;
  box-shadow: none;
}
.conversation-item.selected {
  background: var(--soft);
}
.conversation-item strong {
  font-size: 12px;
}
.conversation-item p {
  font-size: 11px;
  color: var(--ink-2);
  margin: 8px 0;
}
.conversation-item .tiny {
  font-weight: 400;
}
.chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.chat-header {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.chat-messages {
  padding: 24px;
  flex: 1;
}
.bubble {
  max-width: 90%;
  padding: 13px 15px;
  background: var(--bg);
  border-radius: 0 12px 12px 12px;
  font-size: 12px;
  margin-bottom: 19px;
}
.bubble.ai {
  margin-left: auto;
  background: var(--soft);
  border-radius: 12px 0 12px 12px;
}
.bubble small {
  display: block;
  color: var(--ink-2);
  font-size: 9px;
  margin-top: 8px;
}
.chat-compose {
  padding: 16px;
  border-top: 1px solid var(--line);
}
.chat-compose textarea {
  min-height: 74px;
  font-size: 12px;
}
.chat-compose .actions {
  justify-content: space-between;
  margin-top: 10px;
}
.context {
  padding: 20px;
  border-left: 1px solid var(--line);
  font-size: 12px;
}
.context h3 {
  margin: 24px 0 10px;
  font-size: 12px;
}
.context h3:first-child {
  margin-top: 0;
}
.context p {
  font-size: 11px;
  color: var(--ink-2);
}
.source {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.source strong {
  display: block;
  font-weight: 600;
}
.source small {
  color: var(--ink-2);
}
.editor {
  padding: 28px;
}
.document-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.document-brand {
  font-family: Georgia, serif;
  font-size: 30px;
  font-style: italic;
  font-weight: bold;
}
.document-title {
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 1.2;
  margin: 15px 0;
}
.quote-table input {
  padding: 6px;
  font-size: 12px;
  border-radius: 5px;
}
.quote-table td {
  padding: 12px;
}
.totals {
  max-width: 330px;
  margin: 24px 0 25px auto;
}
.total {
  font-size: 22px !important;
  color: var(--accent);
}
.notice {
  padding: 13px 15px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12px;
  margin-bottom: 18px;
}
.notice.warning {
  background: var(--warning-bg);
  color: var(--warning);
}
.notice.error {
  background: #faeae7;
  color: var(--danger);
}
.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.list-row:last-child {
  border: 0;
}
.list-row p {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--ink-2);
}
.list-row h3 {
  margin: 0;
}
.step-track {
  display: flex;
  gap: 0;
  margin-bottom: 25px;
  overflow: auto;
}
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  color: var(--ink-2);
  font-size: 11px;
  white-space: nowrap;
  padding: 10px 0;
}
.step span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.step.current {
  color: var(--accent);
  font-weight: 650;
}
.step.current span {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.form-narrow {
  max-width: 760px;
  margin: auto;
}
.onboard-intro {
  padding: 27px;
  background: var(--nav);
  color: #fff;
  border-radius: 12px;
  margin-bottom: 24px;
}
.onboard-intro p {
  color: #c3d4c9;
  margin: 9px 0 0;
  font-size: 13px;
}
.upload {
  border: 1px dashed #99b6a4;
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  background: var(--bg);
  margin-bottom: 20px;
}
.upload svg {
  width: 30px;
  height: 30px;
  color: var(--accent);
  margin-bottom: 10px;
}
.upload input {
  font-size: 12px;
  max-width: 350px;
  margin-top: 15px;
}
.progress {
  height: 6px;
  border-radius: 4px;
  background: var(--line);
  margin: 13px 0;
}
.progress span {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--accent);
}
.pricing {
  padding: 26px;
}
.pricing.featured {
  border: 2px solid var(--accent);
}
.price {
  font-size: 33px;
  letter-spacing: -1px;
  font-weight: 650;
  margin: 15px 0;
}
.price small {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}
.pricing ul {
  padding-left: 18px;
  font-size: 13px;
  line-height: 2.2;
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-story {
  padding: 65px 70px;
  background: var(--nav);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-story h1 {
  font-family: Georgia, serif;
  font-size: 50px;
  line-height: 1.12;
  font-weight: 400;
  max-width: 10ch;
  margin-top: 80px;
}
.auth-story p {
  color: #c7d5cc;
  margin-top: 22px;
  max-width: 40ch;
}
.auth-form {
  max-width: 420px;
  width: 100%;
  margin: auto;
  padding: 30px;
}
.auth-form h1 {
  font-size: 27px;
}
.auth-form form {
  margin-top: 28px;
}
.auth-form .primary {
  width: 100%;
}
.auth-footer {
  font-size: 12px;
  text-align: center;
  margin-top: 20px;
}
.public-page {
  max-width: 920px;
  margin: 35px auto;
  padding: 0 20px;
}
.public-top {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 13px;
}
.public-page .editor {
  padding: 40px;
}
.preview-widget {
  margin: 20px auto;
  max-width: 370px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.preview-widget header {
  padding: 18px;
  background: var(--nav);
  color: #fff;
}
.preview-widget section {
  padding: 20px;
}
.code {
  display: block;
  padding: 15px;
  background: var(--bg);
  font:
    12px/1.7 ui-monospace,
    monospace;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
}
.setting-group {
  margin-bottom: 20px;
}
.setting-group h3 {
  margin-bottom: 15px;
}
.empty {
  padding: 50px 25px;
  text-align: center;
  color: var(--ink-2);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 10px);
  max-width: calc(100% - 30px);
  background: var(--nav);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  transition:
    opacity 0.18s,
    transform 0.18s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.skip {
  position: fixed;
  left: 15px;
  top: -100px;
  z-index: 80;
  background: var(--accent);
  color: #fff;
  padding: 10px;
}
.skip:focus {
  top: 15px;
}
.hidden {
  display: none !important;
}
.bottom-space {
  margin-bottom: 22px;
}
.policy {
  font-size: 11px;
  color: var(--ink-2);
  margin-top: 20px;
}
.save-bar {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 5px;
}
.choice {
  width: 100%;
  text-align: left;
  padding: 18px;
  margin-bottom: 12px;
  justify-content: space-between;
}
.choice small {
  display: block;
  white-space: normal;
  font-weight: 400;
  color: var(--ink-2);
}
.segmented {
  display: flex;
  gap: 5px;
}
.segmented button {
  font-size: 11px;
  padding: 6px 10px;
}
.segmented button.selected {
  background: var(--soft);
  color: var(--accent);
}
@media (min-width: 1600px) {
  .content {
    padding-top: 42px;
  }
}
@media (max-width: 1250px) {
  .inbox {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .context {
    grid-column: 1/-1;
    border-left: 0;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  .context > div {
    flex: 1;
    min-width: 180px;
  }
  .topbar {
    padding: 0 24px;
  }
  .content {
    padding: 26px 24px;
  }
  .demo-strip {
    padding: 8px 24px;
  }
  .cols-2 {
    grid-template-columns: 1fr;
  }
  .metrics {
    gap: 12px;
  }
  .metric {
    padding: 16px;
  }
  .metric-value {
    font-size: 26px;
  }
  .auth-story {
    padding: 45px;
  }
}
@media (max-width: 1000px) {
  .shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .sidebar {
    width: 200px;
  }
  .logo {
    font-size: 21px;
  }
  .nav-item {
    font-size: 12px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cols-3 {
    grid-template-columns: 1fr;
  }
  .page-head {
    align-items: flex-start;
  }
  .callout {
    flex-wrap: wrap;
  }
  .callout .actions {
    margin-left: 54px;
  }
  .top-actions .profile-name {
    display: none;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    width: 236px;
    transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: var(--shadow);
  }
  body.menu-open .sidebar {
    transform: translateX(0);
  }
  .mobile-menu {
    display: inline-flex;
  }
  .topbar {
    height: 64px;
    padding: 0 15px;
    gap: 8px;
  }
  .crumb {
    display: none;
  }
  .top-actions {
    gap: 7px;
  }
  .top-actions select {
    max-width: 125px;
    font-size: 11px;
  }
  .demo-strip {
    padding: 8px 16px;
    font-size: 10px;
  }
  .demo-strip span {
    max-width: 260px;
  }
  .content {
    padding: 25px 16px 35px;
  }
  .page-head {
    display: block;
    margin-bottom: 20px;
  }
  h1 {
    font-size: 26px;
  }
  .page-head .actions {
    margin-top: 17px;
  }
  .equal {
    grid-template-columns: 1fr;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 15px;
  }
  .metric-label {
    font-size: 11px;
  }
  .metric-value {
    font-size: 26px;
  }
  .metric-bottom {
    font-size: 10px;
  }
  .card-head {
    padding: 17px;
  }
  .card-pad {
    padding: 18px;
  }
  .callout {
    padding: 16px;
    gap: 10px;
  }
  .callout .actions {
    margin-left: 0;
  }
  .chart {
    gap: 8px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .inbox {
    display: block;
  }
  .conversations {
    display: flex;
    overflow: auto;
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }
  .conversation-item {
    min-width: 210px;
    width: 210px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .chat-messages {
    padding: 17px;
  }
  .context {
    display: block;
  }
  .context > div {
    margin-bottom: 18px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .search {
    max-width: none;
  }
  .editor {
    padding: 18px;
  }
  .document-head {
    flex-wrap: wrap;
  }
  .quote-table td {
    padding: 8px;
  }
  .document-title {
    font-size: 28px;
  }
  .step-track {
    gap: 12px;
  }
  .step {
    min-width: 95px;
  }
  .onboard-intro {
    padding: 22px;
  }
  .auth {
    display: block;
  }
  .auth-story {
    padding: 25px;
  }
  .auth-story h1 {
    font-size: 32px;
    max-width: 18ch;
    margin-top: 30px;
  }
  .auth-story p {
    font-size: 13px;
  }
  .auth-story .story-proof {
    display: none;
  }
  .auth-form {
    padding: 30px 24px;
  }
  .public-page {
    margin: 10px auto;
    padding: 0 12px;
  }
  .public-page .editor {
    padding: 22px;
  }
  .public-top {
    font-size: 11px;
  }
  .chart-foot {
    flex-wrap: wrap;
  }
  .tabs {
    gap: 15px;
  }
  .tabs button {
    font-size: 12px;
  }
  .demo-strip a {
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Keep source groups distinct in the conversation inspector. */
.context > div + div {
  margin-top: 22px;
}
@media (max-width: 1250px) and (min-width: 761px) {
  .context > div + div {
    margin-top: 0;
  }
}
