body {
  background: #fff;
}
.console-shell {
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  padding: 34px 22px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  background: #fcfdfb;
}
.loft-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 9px 40px;
  font-size: 38px;
  font-weight: 550;
  letter-spacing: -2px;
  line-height: 1;
}
.loft-brand svg {
  width: 32px;
  height: 36px;
  color: var(--accent);
}
.brand-dot {
  color: var(--accent);
}
.loft-brand small {
  display: block;
  font:
    8px/1.8 ui-monospace,
    monospace;
  letter-spacing: 1.3px;
  margin-top: 8px;
  color: var(--muted);
}
.org-picker {
  font:
    9px/1.5 ui-monospace,
    monospace;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 0 5px 28px;
}
.org-picker select {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  padding: 10px 8px;
  color: var(--ink);
  font:
    12px -apple-system,
    sans-serif;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.sidebar nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  border: 0;
  background: none;
  color: var(--muted);
  padding: 11px 10px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}
.sidebar nav button > span {
  width: 17px;
  font-size: 17px;
  color: #899685;
}
.sidebar nav button.active {
  background: #eaf1eb;
  color: var(--accent);
}
.sidebar nav small {
  font:
    8px ui-monospace,
    monospace;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 50px;
}
.sidebar-bottom > a {
  font-size: 11px;
  color: var(--muted);
  display: block;
  padding: 0 9px 22px;
}
.account-button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  text-align: left;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 20px 0 0;
  background: none;
  cursor: pointer;
  font-size: 11px;
  color: var(--ink);
}
.account-button small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.account-button > span:last-child {
  margin-left: auto;
}
.avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: #e9ede4;
  border-radius: 50%;
  font-size: 10px;
}
.console-body {
  padding: 0 42px;
  min-width: 0;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
}
.console-top {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.slash {
  padding: 0 15px;
  color: #b2b9b0;
}
.text-button {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 11px;
  cursor: pointer;
  padding: 6px;
}
.demo-banner {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 17px 0 32px;
  color: #82877d;
  font:
    10px ui-monospace,
    monospace;
}
.demo-dot {
  width: 5px;
  height: 5px;
  background: #c4af76;
  border-radius: 50%;
}
.view-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}
.view-heading .eyebrow {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 10px;
}
.view-heading h1 {
  font-size: 36px;
  letter-spacing: -1.5px;
  margin-bottom: 10px;
}
.view-heading p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  max-width: 520px;
}
.primary,
.secondary {
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.primary {
  background: var(--accent);
  color: white;
}
.primary:hover {
  background: #235442;
}
.secondary {
  background: white;
  border-color: #dce2d9;
  color: var(--ink);
}
.secondary:hover {
  background: var(--wash);
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.metric,
.panel {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 23px;
}
.metric-label {
  font-size: 11px;
  color: var(--muted);
  display: block;
}
.metric-value {
  font-size: 30px;
  letter-spacing: -1px;
  display: block;
  margin: 12px 0 5px;
  font-variant-numeric: tabular-nums;
}
.metric-foot {
  font-size: 10px;
  color: var(--muted);
}
.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  margin: 20px 0;
}
.panel h2 {
  font-size: 16px;
  letter-spacing: -0.3px;
  margin: 0;
}
.panel p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
}
.mini-label {
  font:
    9px ui-monospace,
    monospace;
  color: var(--muted);
}
.usage-chart {
  width: 100%;
  height: 130px;
  display: block;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font:
    9px ui-monospace,
    monospace;
  color: var(--muted);
  margin-top: 10px;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #edf2e9;
  color: #55724d;
  font-size: 10px;
  display: grid;
  place-items: center;
}
.checklist button {
  border: 0;
  background: none;
  font-size: 12px;
  cursor: pointer;
  color: var(--ink);
  text-align: left;
  flex: 1;
}
.checklist small {
  color: var(--muted);
  font-size: 10px;
}
.agent-teaser {
  display: flex;
  align-items: center;
  gap: 26px;
  background: #f7f8f2;
  border: 1px solid #e7eadf;
  border-radius: 9px;
  padding: 24px;
  margin: 20px 0;
}
.agent-art {
  flex: 0 0 75px;
  height: 78px;
  position: relative;
  display: grid;
  place-items: center;
}
.agent-art:before {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  border: 1px dashed #b9c7b1;
  border-radius: 50%;
  transform: rotate(-20deg);
}
.agent-art span {
  font:
    36px Georgia,
    serif;
  color: var(--accent);
  transform: rotate(-12deg);
}
.agent-teaser h2 {
  font-size: 20px;
  margin: 4px 0;
  letter-spacing: -0.6px;
}
.agent-teaser p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.agent-teaser .text-button {
  margin-left: auto;
  white-space: nowrap;
}
.code-block {
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  font:
    11px/1.8 ui-monospace,
    monospace;
  color: #526a59;
  overflow-x: auto;
}
.console-footer {
  margin-top: 50px;
  font-size: 10px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}
.toolbar .search-wrap {
  flex: 1;
}
.toolbar input {
  font-size: 12px;
}
.muted {
  font-size: 11px;
  color: var(--muted);
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
.data-table th {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  background: #fafbf9;
  padding: 10px 12px;
}
.data-table td {
  padding: 17px 12px;
  border-bottom: 1px solid var(--line);
}
.data-table code {
  font-size: 11px;
}
.data-table td small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.data-table th:last-child,
.data-table td:last-child {
  text-align: right;
}
.switch {
  border: 0;
  width: 32px;
  height: 19px;
  border-radius: 12px;
  background: #d9ded7;
  padding: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.switch:after {
  content: "";
  width: 13px;
  height: 13px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 2px #0001;
  transition: transform 0.15s;
}
.switch[aria-checked="true"] {
  background: var(--accent);
}
.switch[aria-checked="true"]:after {
  transform: translateX(13px);
}
.pill {
  font:
    9px ui-monospace,
    monospace;
  background: #edf3eb;
  color: #54764d;
  padding: 4px 7px;
  border-radius: 4px;
}
.pill.soon {
  background: #f5efdf;
  color: #8a7850;
}
.empty {
  padding: 45px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
}
.empty h2 {
  font-size: 20px;
}
.empty p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.billing-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.billing-card p {
  margin: 0;
}
.bank-card {
  width: 48px;
  height: 32px;
  border: 1px solid #d8dfd2;
  border-radius: 5px;
  background: linear-gradient(135deg, #f6f4e8, #e4eee4);
  display: grid;
  place-items: center;
  color: #7c8d72;
  font-size: 12px;
}
.payment-identity {
  display: flex;
  align-items: center;
  gap: 15px;
}
.agent-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: 40px;
  background: #f7f8f2;
  border: 1px solid #e7eadf;
  border-radius: 12px;
}
.agent-hero h2 {
  font-size: 36px;
  letter-spacing: -1.5px;
  line-height: 1.2;
  margin: 15px 0;
}
.agent-hero p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.agent-hero .agent-art {
  height: 200px;
  flex-basis: auto;
}
.agent-hero .agent-art:before {
  width: 180px;
  height: 180px;
}
.agent-hero .agent-art span {
  font-size: 100px;
}
.plan-price {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 20px 0;
}
.plan-price small {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
}
.feature-list {
  display: flex;
  gap: 28px;
  margin: 22px 0;
  flex-wrap: wrap;
  font-size: 12px;
  color: #596b50;
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.account-grid dl {
  font-size: 12px;
  line-height: 2;
}
.account-grid dt {
  color: var(--muted);
}
.account-grid dd {
  margin: 0 0 14px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  max-width: 440px;
  width: calc(100% - 32px);
  color: var(--ink);
  box-shadow: 0 20px 90px #1b33221c;
}
dialog::backdrop {
  background: #20302535;
  backdrop-filter: blur(3px);
}
.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-top .eyebrow {
  margin: 0;
  font-size: 9px;
}
.modal-top button {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 25px;
  cursor: pointer;
}
dialog h2 {
  font-size: 25px;
  margin: 20px 0 10px;
}
dialog p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
dialog label {
  display: block;
  font-size: 12px;
  margin: 20px 0 7px;
}
dialog input,
dialog select {
  display: block;
  border: 1px solid #dce2d8;
  border-radius: 5px;
  width: 100%;
  height: 42px;
  padding: 9px;
  background: #fff;
  font-size: 13px;
}
dialog .primary {
  width: 100%;
  margin-top: 22px;
}
dialog code {
  display: block;
  overflow-wrap: anywhere;
  white-space: normal;
  background: #f3f6ef;
  border-radius: 6px;
  padding: 14px;
  font-size: 12px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #253e30;
  color: white;
  font-size: 12px;
  padding: 12px 20px;
  border-radius: 7px;
  box-shadow: 0 5px 20px #0001;
  z-index: 5;
}
#toast:empty {
  display: none;
}
.plan-note {
  font-size: 11px;
  color: var(--muted);
}
.model-meta {
  font-size: 10px;
  color: #798275;
}
.model-footer {
  margin-top: 16px;
}
.limit-meter {
  height: 5px;
  border-radius: 3px;
  background: #edf0ea;
  margin: 18px 0 8px;
}
.limit-meter > span {
  display: block;
  height: 100%;
  background: #91ad86;
  border-radius: 3px;
}
.action-link {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 11px;
  cursor: pointer;
}
.danger {
  color: #966e5f;
}
.section-subtitle {
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 1050px) {
  .console-shell {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .sidebar {
    padding: 28px 14px;
  }
  .console-body {
    padding: 0 25px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .view-heading h1 {
    font-size: 30px;
  }
  .metric {
    padding: 18px;
  }
  .metric-value {
    font-size: 25px;
  }
  .demo-extra {
    display: none;
  }
}
@media (max-width: 720px) {
  .console-shell {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .loft-brand {
    font-size: 29px;
    margin: 0;
  }
  .loft-brand small {
    font-size: 7px;
  }
  .org-picker {
    margin: 0;
    font-size: 8px;
  }
  .sidebar nav {
    grid-column: 1/-1;
    display: flex;
    overflow: auto;
    gap: 3px;
  }
  .sidebar nav button {
    flex-shrink: 0;
    padding: 8px;
    font-size: 11px;
  }
  .sidebar nav button > span,
  .sidebar nav small {
    display: none;
  }
  .sidebar-bottom {
    display: none;
  }
  .console-body {
    padding: 0 20px;
  }
  .console-top {
    height: 55px;
    font-size: 10px;
  }
  .demo-banner {
    font-size: 9px;
    margin: 15px 0 25px;
  }
  .view-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }
  .view-heading h1 {
    font-size: 31px;
  }
  .metric-grid {
    gap: 8px;
  }
  .metric {
    padding: 12px;
  }
  .metric-label,
  .metric-foot {
    font-size: 9px;
  }
  .metric-value {
    font-size: 23px;
  }
  .panel {
    padding: 19px;
  }
  .agent-teaser {
    gap: 12px;
    padding: 18px;
    flex-wrap: wrap;
  }
  .agent-teaser h2 {
    font-size: 19px;
  }
  .agent-teaser .agent-art {
    flex-basis: 45px;
  }
  .agent-teaser .text-button {
    margin-left: 58px;
  }
  .data-table th,
  .data-table td {
    padding: 13px 5px;
  }
  .data-table td:first-child {
    overflow-wrap: anywhere;
    max-width: 150px;
  }
  .data-table th.optional,
  .data-table td.optional {
    display: none;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .agent-hero {
    padding: 25px;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .agent-hero .agent-art {
    height: 130px;
    grid-row: 1;
  }
  .agent-hero .agent-art:before {
    width: 120px;
    height: 120px;
  }
  .agent-hero .agent-art span {
    font-size: 70px;
  }
  .agent-hero h2 {
    font-size: 30px;
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
  .console-footer {
    align-items: flex-start;
    gap: 10px;
    margin-top: 35px;
  }
  .billing-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .view-heading .primary {
    align-self: flex-start;
  }
  .plan-price {
    font-size: 28px;
  }
}
