/* Customer console. All styles stay out of the public website. */
.product-workspace {
  --ink: #17201e;
  --muted: #646d69;
  --line: #dedfd9;
  --paper: #fff;
  --lime: #e4eaff;
  --teal: #294ce8;
  --radius: 9px;
  --shadow: 0 4px 16px #17201e05;
  color: #17201e;
  background: #f6f5f1;
  font-family: Manrope, Inter, 'Segoe UI', Arial, sans-serif;
}
.app-layout {
  grid-template-columns: 228px minmax(0, 1fr);
  background: #f6f5f1;
}
.app-layout .sidebar {
  width: 228px;
  background: #eeede7;
  border-right: 1px solid #d9dad3;
  padding: 24px 14px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.app-layout .sidebar > .brand {
  color: #17201e;
  margin: 0 9px 25px;
  font-size: 24px;
  letter-spacing: -0.065em;
  padding: 0;
}
.app-layout .brand-symbol {
  background: #17201e;
  color: #fff;
  border-radius: 5px;
  font-family: inherit;
  font-size: 23px;
}
.app-layout .workspace-picker {
  margin: 0 0 22px;
  background: transparent;
  border: 1px solid #d1d4cc;
  border-radius: 7px;
  padding: 10px;
  flex-shrink: 0;
}
.app-layout .workspace-picker .avatar {
  background: #dedfd8;
  color: #39423d;
  font-size: 11px;
  border-radius: 4px;
}
.app-layout .workspace-picker strong {
  font-size: 12px;
  line-height: 1.5;
}
.app-layout .workspace-picker small {
  font-size: 10px;
  color: #656f67;
}
.app-layout .sidebar-label {
  font-size: 10px;
  color: #606a64;
  margin-bottom: 8px;
}
.app-layout .side-nav {
  gap: 2px;
}
.app-layout .side-nav a {
  min-height: 39px;
  padding: 9px 11px;
  color: #525c56;
  border-radius: 5px;
  font-size: 12px;
  gap: 10px;
  transition:
    background 0.16s,
    color 0.16s;
}
.app-layout .side-nav a:hover {
  background: #e3e5dc;
  color: #17201e;
}
.app-layout .side-nav a[aria-current='page'] {
  background: #294ce8;
  color: white;
  box-shadow: none;
}
.app-layout .side-nav a .badge {
  background: #e0e4d9;
  color: #566149;
  border-radius: 3px;
  font-size: 8px;
}
.app-layout .side-nav a[aria-current='page'] .badge {
  background: #ffffff22;
  color: #fff;
}
.app-layout .sidebar-bottom {
  padding-top: 20px;
  margin-top: auto;
}
.app-layout .sidebar-help {
  display: none;
}
.app-layout .sidebar-bottom hr {
  margin: 15px 0;
}
.app-layout .account {
  padding: 4px;
}
.app-layout .account .avatar {
  border-radius: 5px;
  color: #333d36;
  background: #dce0d5;
}
.app-layout .account strong {
  font-size: 11px;
}
.app-layout .account small {
  font-size: 10px;
  color: #656f67;
}
.app-layout .account .btn {
  min-height: 36px;
}
.app-layout .topbar {
  height: 68px;
  background: #f6f5f1;
  padding: 0 36px;
  border-color: #dedfd9;
  gap: 12px;
}
.app-layout .breadcrumb {
  font-size: 12px;
  color: #6b746d;
}
.app-layout .breadcrumb span:last-child {
  color: #17201e;
}
.app-layout .topbar-right {
  gap: 18px;
}
.app-layout .topbar-right > .avatar {
  background: #e3e5dd;
  color: #303c33;
  border-radius: 5px;
  font-size: 11px;
}
.app-layout .local-tag {
  color: #667060;
  font-size: 11px;
}
.app-layout .local-tag .dot {
  color: #6e8556;
}
.app-layout .topbar-right > a {
  display: none;
}
.app-layout .workspace-search {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  min-height: 35px;
  background: #f0efe9;
  border: 1px solid #ddded5;
  border-radius: 5px;
  color: #626b63;
  font-size: 11px;
}
.workspace-search kbd {
  font-family: inherit;
  font-size: 10px;
  color: #747d72;
  border-left: 1px solid #d1d4c9;
  padding-left: 9px;
}
.app-layout .app-content {
  max-width: 1540px;
  padding: 33px 36px 44px;
}
.app-layout .page-head {
  margin-bottom: 20px;
  gap: 20px;
}
.app-layout .page-head h1 {
  font-size: clamp(27px, 2.6vw, 36px);
  letter-spacing: -0.052em;
  font-weight: 650;
  margin-bottom: 9px;
}
.app-layout .page-head p {
  font-size: 13px;
  line-height: 1.7;
  color: #6b726d;
}
.app-layout .btn,
.product-workspace .modal .btn {
  border-radius: 5px;
  color: #35403a;
  border-color: #d8dcd3;
  background: #fff;
  box-shadow: none;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.app-layout .btn.primary,
.product-workspace .modal .btn.primary {
  background: #294ce8;
  border-color: #294ce8;
  color: #fff;
}
.app-layout .btn.primary:hover,
.product-workspace .modal .btn.primary:hover {
  background: #2040c9;
  border-color: #2040c9;
}
.app-layout .btn.ghost {
  background: transparent;
  border-color: transparent;
}
.app-layout .btn.danger,
.product-workspace .modal .btn.danger {
  color: #a43a26;
  background: #fff7f2;
  border-color: #ebc4b6;
}
.app-layout .page-head .actions .btn {
  min-height: 39px;
  font-size: 12px;
  padding: 10px 13px;
}
.app-layout .text-link {
  color: #294ce8;
}
.app-layout .context-guide {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 27px;
  padding-top: 13px;
  border-top: 1px solid #dedfd9;
  font-size: 11px;
  line-height: 1.6;
  color: #69736c;
}
.context-guide a {
  color: #294ce8;
  font-weight: 600;
  white-space: nowrap;
}
.context-guide a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.app-layout .panel {
  border-radius: 8px;
  border-color: #dcdfd6;
  box-shadow: none;
  background: #fff;
}
.app-layout .panel-pad {
  padding: 23px;
}
.app-layout .panel-head {
  padding: 20px 23px;
}
.app-layout .panel-head h3,
.app-layout .chart-head h3 {
  font-size: 15px;
  letter-spacing: -0.02em;
}
.app-layout .panel-head p,
.app-layout .chart-head p {
  font-size: 11px;
  color: #68746b;
}
.app-layout .notice {
  border-radius: 5px;
  border-color: #d7dfeb;
  background: #eef2fa;
  color: #48566c;
  font-size: 12px;
  line-height: 1.75;
}
.app-layout .notice.warning {
  background: #fff6e9;
  border-color: #ecddc0;
  color: #76603b;
}
.app-layout .badge {
  border-radius: 3px;
  font-size: 10px;
  font-weight: 500;
}
.app-layout .avatar {
  border-radius: 6px;
  background: #f0eee7;
  color: #655f4f;
}
.app-layout .avatar.teal {
  background: #eef1ff;
  color: #294ce8;
}
.app-layout .avatar.peach {
  background: #fcf0e9;
  color: #af6548;
}
.app-layout .avatar.purple {
  background: #eeedf6;
  color: #746487;
}
.app-layout th {
  background: #f6f6f2;
  color: #687266;
  font-size: 10px;
}
.app-layout td {
  font-size: 12px;
  padding: 15px 20px;
}
.app-layout .field-help,
.app-layout .muted {
  color: #667067;
}
.app-layout .field-help {
  font-size: 11px;
  line-height: 1.7;
}
.app-layout input,
.app-layout select,
.app-layout textarea,
.product-workspace .modal input,
.product-workspace .modal textarea,
.product-workspace .modal select {
  border-radius: 5px;
  border-color: #ced4cb;
  color: #26332b;
  font-size: 13px;
}
.product-workspace :focus-visible {
  outline: 3px solid #294ce8;
  outline-offset: 3px;
}
.product-workspace input:focus,
.product-workspace textarea:focus,
.product-workspace select:focus {
  outline: 2px solid #294ce8;
  outline-offset: 1px;
}
.product-workspace .modal {
  border-radius: 10px;
  color: #17201e;
}
.app-layout .empty {
  padding: 32px 25px;
}
.app-layout .empty .empty-icon {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: #f0f1e9;
  color: #6b7661;
  margin-bottom: 14px;
}
.app-layout .empty h3 {
  font-size: 17px;
  letter-spacing: -0.025em;
}
.app-layout .empty p {
  color: #657267;
  font-size: 12px;
  max-width: 410px;
}
.app-layout .footer-note {
  color: #6f796c;
  font-size: 10px;
  justify-content: flex-start;
  margin-top: 28px;
}
.app-layout .agent-card {
  padding: 23px;
  border-top: 3px solid #17201e;
}
.app-layout .agent-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.app-layout .agent-card p {
  font-size: 12px;
  line-height: 1.8;
  color: #687367;
}
.app-layout .agent-meta {
  font-size: 10px;
  color: #626e63;
}
.app-layout .card-footer {
  border-color: #e0e3da;
  padding-top: 17px;
}
.app-layout .toolbar {
  margin: 0 0 19px;
}
.app-layout .stats-grid {
  gap: 0;
  background: transparent;
  border-top: 1px solid #d9ddd3;
  border-bottom: 1px solid #d9ddd3;
  margin-bottom: 25px;
}
.app-layout .stat {
  border: 0;
  border-right: 1px solid #d9ddd3;
  background: transparent;
  border-radius: 0;
  padding: 21px;
}
.app-layout .stat:first-child {
  padding-left: 0;
}
.app-layout .stat:last-child {
  border-right: 0;
}
.app-layout .stat-top {
  font-size: 11px;
  color: #62715f;
  margin-bottom: 10px;
}
.app-layout .stat-top .icon {
  color: #78866e;
}
.app-layout .stat strong {
  font-size: 32px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}
.app-layout .stat small {
  font-size: 10px;
  color: #657162;
  line-height: 1.5;
}
.dashboard-start {
  display: flex;
  align-items: center;
  gap: 36px;
  justify-content: space-between;
  background: #17201e;
  color: #fff;
  padding: 28px 30px;
  margin-bottom: 25px;
  border-radius: 7px;
}
.dashboard-start .eyebrow {
  color: #abb6a6;
  font-size: 10px;
  letter-spacing: 0.11em;
}
.dashboard-start h2 {
  font-size: 27px;
  letter-spacing: -0.04em;
  font-weight: 550;
  margin: 9px 0;
}
.dashboard-start p {
  color: #c0c7ba;
  font-size: 12px;
  line-height: 1.8;
  max-width: 520px;
  margin: 0;
}
.dashboard-start .start-action {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-width: 170px;
  border: 1px solid #677064;
  color: #fff;
  border-radius: 4px;
  padding: 16px;
  font-size: 12px;
}
.start-action:hover {
  background: #2f3b31;
}
.app-layout .dashboard-middle {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
}
.app-layout .chart {
  height: 140px;
  background: none;
  border-bottom: 1px solid #e0e3d8;
}
.app-layout .chart-bar {
  background: #bdc8ee;
  border-radius: 2px 2px 0 0;
}
.app-layout .chart-column:last-child .chart-bar {
  background: #294ce8;
}
.app-layout .chart-column label {
  color: #707c67;
  font-size: 9px;
}
.app-layout .chart-legend {
  color: #697562;
}
.app-layout .chart-legend .dot {
  background: #294ce8;
}
.dashboard-first-run {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 8px 0 14px;
}
.dashboard-first-run > span {
  color: #e96742;
  background: #fff1ea;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.dashboard-first-run h4 {
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.dashboard-first-run p {
  color: #687568;
  font-size: 12px;
  line-height: 1.85;
  margin-bottom: 17px;
}
.app-layout .setup-list {
  gap: 0;
}
.app-layout .setup-item {
  padding: 15px 0;
  border-bottom: 1px solid #e3e5dc;
  gap: 13px;
}
.app-layout .setup-item:last-child {
  border: 0;
  padding-bottom: 0;
}
.app-layout .setup-item:first-child {
  padding-top: 0;
}
.app-layout .setup-item strong {
  color: #273728;
  font-size: 12px;
}
.app-layout .setup-item small {
  color: #677461;
  font-size: 10px;
  line-height: 1.7;
}
.app-layout .check-circle {
  background: #f2f2eb;
  border: 1px solid #dfe2d6;
  border-radius: 4px;
  color: #758164;
  font-size: 11px;
  width: 27px;
  height: 27px;
}
.app-layout .setup-item.done .check-circle {
  background: #ebf0ff;
  color: #294ce8;
  border-color: #d2dcff;
}
.setup-observed {
  font-size: 9px;
  color: #647052;
  white-space: nowrap;
}
.product-command {
  width: min(620px, calc(100vw - 32px));
  max-height: min(650px, calc(100dvh - 48px));
  padding: 24px;
  border: 1px solid #d4d9ce;
  border-radius: 10px;
  color: #17201e;
  background: #fcfcf8;
  box-shadow: 0 26px 100px #10180e4d;
}
.product-command::backdrop {
  background: #17201e66;
  backdrop-filter: blur(5px);
}
.command-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.command-eyebrow {
  color: #71806a;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.command-heading h2 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 8px 0 0;
}
.command-close {
  background: #f0f1e9;
  border: 0;
  border-radius: 5px;
  color: #67755e;
  min-width: 35px;
  height: 35px;
  font-size: 23px;
}
.command-search-label {
  font-size: 12px;
}
.command-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #c8d0bd;
  border-radius: 5px;
  background: white;
}
.command-search-field .icon {
  color: #71806a;
}
.command-search-field input {
  border: 0;
  padding: 12px 0;
  color: #24351f;
  font-size: 13px;
  background: transparent;
  outline: none;
}
.command-search-field:focus-within {
  outline: 2px solid #294ce8;
  outline-offset: 2px;
}
.command-count {
  color: #697561;
  font-size: 10px;
  margin: 14px 0 8px;
}
.command-results {
  max-height: 330px;
  overflow-y: auto;
}
.command-results button {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  width: 100%;
  text-align: left;
  align-items: center;
  gap: 12px;
  padding: 14px 10px;
  border: 0;
  border-bottom: 1px solid #e1e4d8;
  background: transparent;
  color: #263222;
}
.command-results button:hover,
.command-results button:focus-visible {
  background: #eef1ff;
  outline: 2px solid #294ce8;
  outline-offset: -2px;
  border-radius: 3px;
}
.command-results strong,
.command-results small {
  display: block;
}
.command-results strong {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}
.command-results small {
  font-size: 11px;
  color: #68715e;
  line-height: 1.6;
}
.command-section {
  font-size: 10px;
  color: #77836a;
}
.command-arrow {
  color: #294ce8;
}
.command-empty {
  font-size: 13px;
  padding: 25px 5px;
  color: #65715c;
}
.command-footer {
  display: flex;
  gap: 17px;
  padding-top: 18px;
  font-size: 10px;
  color: #76816d;
}
.command-footer kbd {
  font: inherit;
  border: 1px solid #dde1d4;
  border-radius: 3px;
  padding: 2px 4px;
}
@media (min-width: 1600px) {
  .app-layout .app-content {
    padding: 42px 52px;
  }
}
@media (max-width: 1150px) {
  .app-layout {
    grid-template-columns: 206px minmax(0, 1fr);
  }
  .app-layout .sidebar {
    width: 206px;
  }
  .app-layout .app-content {
    padding: 27px 25px;
  }
  .app-layout .topbar {
    padding: 0 25px;
  }
  .app-layout .topbar-right {
    gap: 10px;
  }
  .workspace-search span {
    display: none;
  }
  .dashboard-start {
    gap: 22px;
    padding: 25px;
  }
  .dashboard-start h2 {
    font-size: 24px;
  }
  .app-layout .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .app-layout .stat {
    padding: 18px 14px;
  }
}
@media (max-width: 900px) {
  .app-layout .dashboard-middle {
    grid-template-columns: minmax(0, 1fr);
  }
  .app-layout .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .app-layout .stat:nth-child(2) {
    border-right: 0;
  }
  .app-layout .stat:nth-child(-n + 2) {
    border-bottom: 1px solid #d9ddd3;
  }
  .app-layout .stat:nth-child(3) {
    padding-left: 0;
  }
  .dashboard-start {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .dashboard-start .start-action {
    min-width: 0;
    width: 100%;
  }
  .app-layout .context-guide {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .app-layout .topbar-right > .local-tag {
    display: none;
  }
}
@media (max-width: 680px) {
  .app-layout {
    display: block;
  }
  .app-layout .sidebar {
    width: 260px;
    padding: 22px 15px;
  }
  .app-layout .topbar {
    height: 62px;
    padding: 0 17px;
  }
  .app-layout .workspace-search {
    min-height: 35px;
  }
  .workspace-search kbd {
    display: none;
  }
  .app-layout .topbar-right > .avatar {
    display: none;
  }
  .app-layout .app-content {
    padding: 26px 18px;
  }
  .app-layout .page-head {
    gap: 15px;
  }
  .app-layout .page-head h1 {
    font-size: 29px;
  }
  .app-layout .page-head p {
    font-size: 12px;
  }
  .app-layout .page-head .actions {
    gap: 8px;
  }
  .app-layout .page-head .actions .btn {
    font-size: 11px;
    min-height: 38px;
  }
  .app-layout .context-guide {
    margin-bottom: 23px;
    font-size: 10px;
  }
  .context-guide a {
    white-space: normal;
  }
  .app-layout .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .app-layout .stat-top {
    font-size: 10px;
    gap: 7px;
  }
  .app-layout .stat strong {
    font-size: 29px;
  }
  .app-layout .stat small {
    font-size: 9px;
  }
  .app-layout .panel-pad {
    padding: 21px;
  }
  .dashboard-start {
    padding: 22px;
  }
  .dashboard-start h2 {
    font-size: 25px;
  }
  .dashboard-start p {
    font-size: 12px;
  }
  .command-results button {
    grid-template-columns: 1fr auto;
  }
  .command-section {
    display: none;
  }
  .command-footer {
    gap: 10px;
    flex-wrap: wrap;
  }
  .product-command {
    padding: 20px;
  }
  .command-heading h2 {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .app-layout .btn,
  .app-layout .side-nav a {
    transition: none;
  }
}
