@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;450;500;550;600;650;700&family=Geist+Mono:wght@400;500&display=swap');
:root {
  --background: #f5f4f1;
  --foreground: #282c29;
  --card: #fdfdfb;
  --primary: #247354;
  --primary-foreground: #fff;
  --secondary: #eeeee8;
  --muted: #eeeee8;
  --muted-foreground: #72776e;
  --accent: #e4ede3;
  --accent-foreground: #245e43;
  --border: #dedfd7;
  --input: #d4d7cc;
  --ring: #247354;
  --destructive: #ad493b;
  --red-bg: #f7e8e3;
  --amber: #8b661d;
  --amber-bg: #f5edda;
  --shadow: 0 12px 50px #282c291f;
  --overlay: #282c295c;
  --radius: 10px;
  --motion-fast: 160ms;
  --motion-panel: 280ms;
  --sidebar-width: 244px;
  --font-mono: 'Geist Mono', monospace;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
.dashboard-auth-status {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}
body {
  margin: 0;
  font:
    14px/1.5 'Geist',
    sans-serif;
  color: var(--foreground);
  background: var(--background);
  letter-spacing: -0.015em;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
a,
button,
input,
select,
textarea {
  outline-offset: 4px;
}
*:focus-visible {
  outline: 2px solid var(--ring);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(25px, 2.3vw, 32px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.25;
}
h2 {
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 14px;
  font-weight: 550;
}
p {
  line-height: 1.65;
}
strong {
  font-weight: 550;
}
.muted,
.field-help {
  color: var(--muted-foreground);
}
.mono,
code,
pre {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.025em;
}
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon-brand {
  color: var(--brand);
}
.icon-arrow-down {
  transform: rotate(180deg);
}
.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;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  padding: 10px;
  z-index: 100;
  background: var(--card);
}
.skip-link:focus {
  top: 10px;
}
[data-slot='button'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.4;
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s;
}
[data-slot='button']:hover {
  filter: brightness(0.96);
}
[data-variant='outline'] {
  background: var(--card);
  border-color: var(--border);
  color: var(--foreground);
}
[data-variant='ghost'],
[data-variant='link'] {
  background: transparent;
  color: var(--foreground);
}
[data-variant='ghost']:hover {
  background: var(--muted);
}
[data-variant='link'] {
  padding-left: 0;
  padding-right: 0;
  color: var(--primary);
}
[data-slot='button'] .icon {
  width: 16px;
  height: 16px;
}
[data-slot='badge'] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 7px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 11px;
  white-space: nowrap;
  color: var(--muted-foreground);
  background: var(--secondary);
}
[data-slot='badge'].tone-green {
  background: var(--accent);
  color: var(--primary);
  border-color: transparent;
}
[data-slot='badge'].tone-red {
  background: var(--red-bg);
  color: var(--destructive);
  border-color: transparent;
}
[data-slot='badge'].tone-amber {
  background: var(--amber-bg);
  color: var(--amber);
  border-color: transparent;
}
[data-slot='card'] {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 0;
  overflow: hidden;
}
[data-slot='card-header'] {
  padding: 21px 24px 18px;
}
[data-slot='card-content'] {
  padding: 0 24px 24px;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.card-heading p {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 4px;
}
.card-heading > [data-slot='button'] {
  margin-right: -10px;
}
[data-slot='input'],
[data-slot='select-trigger'],
[data-slot='textarea'] {
  width: 100%;
  border: 1px solid var(--input);
  border-radius: 7px;
  color: var(--foreground);
  background: var(--card);
  padding: 10px 12px;
  min-height: 39px;
}
[data-slot='textarea'] {
  resize: vertical;
  line-height: 1.7;
  font-family: var(--font-mono);
  font-size: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 19px;
}
.field-help {
  font-size: 12px;
  margin: 12px 0;
}
.form-error {
  color: var(--destructive);
  font-size: 12px;
  margin: 8px 0;
}
.form-error:empty {
  display: none;
}
[data-slot='progress'] {
  height: 5px;
  background: var(--secondary);
  border-radius: 4px;
  overflow: hidden;
}
[data-slot='progress'] > span {
  height: 100%;
  display: block;
  background: var(--primary);
  border-radius: 4px;
}
[data-slot='sidebar'] {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  background: var(--background);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 30;
}
[data-slot='sidebar-header'] {
  padding: 27px 18px 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.06em;
  padding: 0 9px 25px;
}
.brand > span {
  color: var(--input);
  font-size: 26px;
  margin-left: auto;
}
.workspace-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}
.workspace-switch > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.workspace-switch strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}
.workspace-switch small {
  display: block;
  font-size: 10px;
  color: var(--muted-foreground);
}
.workspace-avatar,
.profile-avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 550;
  flex-shrink: 0;
}
.workspace-switch > .icon {
  width: 14px;
  color: var(--muted-foreground);
}
[data-slot='sidebar-content'] {
  flex: 1;
  overflow: auto;
  padding: 0 14px 14px;
  scrollbar-width: thin;
}
[data-slot='sidebar-group'] {
  margin: 14px 0 19px;
}
[data-slot='sidebar-group-label'] {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  padding: 0 12px 9px;
  font-weight: 500;
}
[data-slot='sidebar-menu'] {
  display: grid;
  gap: 3px;
}
[data-slot='sidebar-menu-button'] {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted-foreground);
  font-size: 12px;
  min-height: 35px;
}
[data-slot='sidebar-menu-button'] > .icon {
  width: 16px;
  height: 16px;
}
[data-slot='sidebar-menu-button'] > span {
  flex: 1;
}
[data-slot='sidebar-menu-button']:hover {
  color: var(--foreground);
  background: var(--secondary);
}
[data-slot='sidebar-menu-button'][aria-current='page'] {
  color: var(--primary);
  background: var(--accent);
  font-weight: 550;
}
.sidebar-credit {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 12px;
  margin: 19px 3px 0;
  background: var(--card);
}
.sidebar-credit > div:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  margin-bottom: 12px;
}
.sidebar-credit strong {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
}
.sidebar-credit .icon {
  width: 14px;
  height: 14px;
}
.sidebar-credit a {
  display: flex;
  justify-content: space-between;
  color: var(--primary);
  font-size: 11px;
  margin-top: 12px;
}
[data-slot='sidebar-footer'] {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding: 14px 6px 2px;
  margin-top: 10px;
}
.profile > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.profile strong {
  font-size: 12px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile small {
  font-size: 10px;
  color: var(--muted-foreground);
}
.profile-avatar {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 10px;
}
.profile > .icon {
  width: 13px;
  color: var(--muted-foreground);
}
.dashboard-shell {
  margin-left: var(--sidebar-width);
  min-width: 0;
}
.topbar {
  height: 68px;
  border-bottom: 1px solid var(--border);
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--background);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
}
.breadcrumb > span {
  color: var(--muted-foreground);
}
.breadcrumb > .icon {
  width: 12px;
  color: var(--muted-foreground);
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.demo-badge {
  background: var(--card);
  border-color: var(--border);
}
.status-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: var(--primary);
}
#main {
  max-width: 1480px;
  margin: auto;
  padding: 38px 36px 32px;
  display: grid;
  gap: 24px;
  outline: none;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 5px;
}
.page-heading p {
  font-size: 13px;
  color: var(--muted-foreground);
  margin-top: 9px;
}
.page-heading > .field {
  margin: 0;
  min-width: 150px;
}
.dashboard-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 36px 23px;
  font-size: 10px;
  color: var(--muted-foreground);
  max-width: 1480px;
  margin: auto;
}
.mobile-menu {
  display: none;
}
.onboarding {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 23px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--accent);
}
.onboarding-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--card);
  color: var(--primary);
  border-radius: 9px;
}
.onboarding > div {
  flex: 1;
}
.onboarding strong {
  font-size: 13px;
}
.onboarding p {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 3px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
[data-overview-usage] {
  display: grid;
  gap: 24px;
  min-width: 0;
}
.overview-grid {
  align-items: start;
}
.overview-card [data-slot='card-content'] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.overview-card [data-slot='card-content'] > :is(pre, .source-grid, hr) {
  width: 100%;
}
.overview-card [data-slot='card-content'] > .field-help,
.overview-card [data-slot='card-content'] > hr {
  margin: 0;
}
.overview-card .row-actions {
  flex-wrap: wrap;
}
.credit-total {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.05em;
}
[data-profile-email],
[data-workspace-name],
[data-profile-name] {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile > span:nth-child(2),
.workspace-switch > span:nth-child(2) {
  min-width: 0;
}
.metrics.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.metric {
  padding: 20px 21px;
  display: flex;
  flex-direction: column;
}
.metric-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted-foreground);
  gap: 10px;
}
.metric-label .icon {
  width: 16px;
}
.metric > strong {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.05em;
  margin: 13px 0 6px;
}
.metric > span {
  font-size: 10px;
  color: var(--muted-foreground);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  min-width: 0;
}
.span-4 {
  grid-column: span 4;
  min-width: 0;
}
.span-6 {
  grid-column: span 6;
  min-width: 0;
}
.span-8 {
  grid-column: span 8;
  min-width: 0;
}
.span-12 {
  grid-column: span 12;
  min-width: 0;
}
.dashboard-grid > [class^='span'] > [data-slot='card'] {
  height: 100%;
}
.period-chip {
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 10px;
  padding: 6px 9px;
  white-space: nowrap;
}
.chart {
  position: relative;
  display: flex;
  height: 177px;
  gap: 16px;
  margin-top: 9px;
}
.chart-empty {
  position: absolute;
  inset: 0 0 0 39px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 16px;
  pointer-events: none;
}
.chart-empty strong,
.chart-empty p {
  background: var(--card);
  padding: 0 8px;
}
.chart-empty p {
  color: var(--muted-foreground);
  font-size: 12px;
}
.chart-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted-foreground);
  width: 23px;
  text-align: right;
  padding: 0 0 3px;
}
.chart-bars {
  display: flex;
  align-items: end;
  gap: 5px;
  flex: 1;
  background: repeating-linear-gradient(
    to top,
    var(--border) 0,
    var(--border) 1px,
    transparent 1px,
    transparent 50%
  );
  padding-top: 10px;
  min-width: 0;
}
.chart-bar {
  height: var(--bar);
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: end;
}
.chart-bar span {
  display: block;
  background: var(--primary);
  opacity: 0.76;
  width: 100%;
  height: 100%;
  border-radius: 3px 3px 0 0;
  transition: opacity 0.15s;
}
.chart-bar:nth-child(3n) span {
  opacity: 0.48;
}
.chart-bar:hover span {
  opacity: 1;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted-foreground);
  margin: 12px 0 0 39px;
}
.checklist {
  list-style: none;
  margin: 3px 0 0;
  padding: 0;
  display: grid;
  gap: 23px;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: start;
}
.checklist li > .icon {
  margin-top: 2px;
  color: var(--primary);
  background: var(--accent);
  width: 29px;
  height: 29px;
  padding: 6px;
  border-radius: 50%;
}
.checklist strong {
  display: block;
  font-size: 12px;
}
.checklist span,
.checklist a {
  font-size: 11px;
  color: var(--muted-foreground);
  display: block;
  margin-top: 3px;
}
.checklist a {
  color: var(--primary);
}
.checklist a .icon {
  width: 12px;
  height: 12px;
}
.source-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.source-tile {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 11px;
  padding: 18px 8px;
  border-right: 1px solid var(--border);
  transition: background 0.15s;
}
.source-tile:last-child {
  border: 0;
}
.source-tile:hover {
  background: var(--background);
}
.source-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}
.source-mark .icon {
  width: 18px;
  height: 18px;
}
.source-tile strong {
  font-size: 12px;
}
.source-tile > span:last-child {
  font-size: 10px;
  color: var(--muted-foreground);
  margin-top: -7px;
}
.table-scroll {
  overflow: auto;
  margin: 0 -24px -24px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
  font-size: 11px;
}
th {
  font-weight: 500;
  color: var(--muted-foreground);
  background: var(--background);
  font-size: 10px;
  padding: 10px 15px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--border);
}
tr:last-child td {
  border-bottom: 0;
}
th:first-child,
td:first-child {
  padding-left: 24px;
}
th:last-child,
td:last-child {
  padding-right: 24px;
}
tr:hover td {
  background: var(--background);
}
.endpoint-cell {
  display: flex;
  gap: 10px;
  align-items: center;
}
.endpoint-cell > div > span {
  font-size: 11px;
  display: block;
}
.endpoint-cell code {
  font-size: 10px;
  color: var(--muted-foreground);
  display: block;
  margin-top: 3px;
}
.endpoint-cell .source-mark {
  width: 28px;
  height: 28px;
}
.endpoint-cell .icon {
  width: 15px;
  height: 15px;
}
.row-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}
.row-actions [data-slot='button'] {
  font-size: 11px;
  padding: 6px 9px;
}
.key-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.key-name > .icon {
  color: var(--muted-foreground);
}
.inline-note {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--muted-foreground);
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 7px;
}
.filter-row {
  display: flex;
  align-items: end;
  gap: 12px;
}
.filter-row > [data-slot='input'] {
  max-width: 370px;
}
.filter-row .field {
  margin: 0;
  min-width: 155px;
}
.empty-state {
  text-align: center;
  padding: 30px 16px;
  color: var(--muted-foreground);
}
.empty-state > .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
}
.empty-state h3 {
  color: var(--foreground);
  margin-bottom: 5px;
}
.empty-state p {
  font-size: 12px;
}
.plain-list {
  padding-left: 17px;
  margin: 0;
  color: var(--muted-foreground);
  font-size: 12px;
  display: grid;
  gap: 12px;
}
.breakdown {
  display: grid;
  gap: 22px;
  margin-top: 3px;
}
.breakdown > div > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
}
.breakdown strong {
  flex: 1;
}
.breakdown .source-mark {
  width: 26px;
  height: 26px;
}
.breakdown .source-mark .icon {
  width: 14px;
  height: 14px;
}
.detail-list {
  margin: 0;
}
.detail-list > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.detail-list dt {
  color: var(--muted-foreground);
}
.detail-list dd {
  margin: 0;
  font-weight: 500;
}
.detail-list > div:last-child {
  border-bottom: 0;
}
.explorer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr);
  gap: 24px;
  align-items: start;
}
.request-path {
  display: flex;
  align-items: center;
  gap: 9px;
  overflow: auto;
  background: var(--background);
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.request-path code {
  font-size: 11px;
  white-space: nowrap;
}
pre {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--background);
  overflow: auto;
  line-height: 1.8;
  max-width: 100%;
  tab-size: 2;
}
.response-panel {
  position: sticky;
  top: 24px;
}
.response-toolbar {
  padding: 10px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  gap: 6px;
}
[data-slot='tabs-list'] {
  display: flex;
  gap: 3px;
  overflow: auto;
}
.response-toolbar [data-slot='tabs-list'] {
  flex-wrap: wrap;
  overflow: visible;
}
[data-slot='tabs-trigger'] {
  border: 0;
  background: transparent;
  border-radius: 5px;
  padding: 8px 9px;
  font-size: 11px;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
[data-slot='tabs-trigger'][aria-selected='true'] {
  background: var(--accent);
  color: var(--primary);
}
[data-slot='tabs-trigger'] .icon {
  width: 13px;
  height: 13px;
}
.output-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 20px;
  font-size: 10px;
  color: var(--muted-foreground);
}
.response-panel pre {
  border: 0;
  border-radius: 0;
  min-height: 375px;
  max-height: 620px;
  padding: 0 20px 24px;
  background: var(--card);
  font-size: 11px;
}
.response-panel code {
  font-size: 11px;
}
.response-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 13px 20px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: var(--muted-foreground);
}
.response-footer .icon {
  width: 14px;
}
.integration-banner {
  display: flex;
  gap: 19px;
  align-items: center;
  background: var(--accent);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}
.integration-banner > .icon {
  color: var(--primary);
  width: 35px;
  height: 35px;
}
.integration-banner > div {
  flex: 1;
}
.integration-banner p {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 7px;
}
.integration-clients {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.integration-clients [aria-pressed='true'] {
  border-color: var(--primary);
  background: var(--accent);
  color: var(--primary);
}
#mcp-config {
  margin: 18px 0;
}
.integration-language {
  display: flex;
  gap: 19px;
  margin: 10px 0 24px;
}
.integration-language .icon {
  width: 30px;
  height: 30px;
}
.integration-language + p {
  font-size: 13px;
  color: var(--muted-foreground);
  margin-bottom: 20px;
}
hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}
.billing-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--accent);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--primary);
}
.billing-balance strong {
  display: block;
  font-size: 45px;
  letter-spacing: -0.055em;
  margin: 10px 0;
}
.billing-balance strong span {
  font-size: 14px;
  letter-spacing: normal;
  font-weight: 400;
  margin-left: 12px;
  color: var(--primary);
}
.billing-balance p {
  font-size: 12px;
  color: var(--muted-foreground);
}
.billing-balance > div:last-child p {
  margin-top: 13px;
}
.referral-hero {
  text-align: center;
  padding: 44px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.referral-hero > .icon {
  width: 38px;
  height: 38px;
  color: var(--primary);
  margin-bottom: 18px;
}
.referral-hero h2 {
  font-size: 30px;
  letter-spacing: -0.05em;
  line-height: 1.25;
  font-weight: 500;
}
.referral-hero p {
  font-size: 13px;
  max-width: 410px;
  margin: 18px auto 22px;
  color: var(--muted-foreground);
}
.copy-field {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border);
  padding: 8px 8px 8px 16px;
  border-radius: 8px;
  background: var(--background);
  max-width: 100%;
}
.copy-field code {
  overflow-wrap: anywhere;
  font-size: 11px;
}
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
}
.switch-row + label {
  border-top: 1px solid var(--border);
}
.switch-row strong,
.switch-row span {
  display: block;
}
.switch-row strong {
  font-size: 13px;
}
.switch-row span {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 4px;
}
[data-slot='switch'] {
  appearance: none;
  width: 34px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 20px;
  background: var(--input);
  position: relative;
  cursor: pointer;
  margin: 0;
}
[data-slot='switch']:after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  top: 3px;
  left: 3px;
  background: var(--card);
  border-radius: 50%;
  transition: transform 0.15s;
}
[data-slot='switch']:checked {
  background: var(--primary);
}
[data-slot='switch']:checked:after {
  transform: translateX(14px);
}
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 24px 0 0;
  font-size: 12px;
}
[data-slot='dialog'] {
  width: min(480px, calc(100vw - 32px));
  max-height: 85dvh;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  background: var(--card);
  color: var(--foreground);
  box-shadow: var(--shadow);
}
[data-slot='dialog']::backdrop {
  background: var(--overlay);
  backdrop-filter: blur(3px);
}
[data-slot='dialog'] h2 {
  font-size: 22px;
  letter-spacing: -0.04em;
  margin-right: 28px;
}
[data-slot='dialog-description'] {
  font-size: 12px;
  color: var(--muted-foreground);
  margin: 10px 0 24px;
}
[data-slot='dialog-close'] {
  position: absolute;
  right: 15px;
  top: 15px;
  background: transparent;
  border: 0;
  padding: 6px;
  color: var(--muted-foreground);
}
[data-slot='dialog-footer'] {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 24px;
}
.dialog-code {
  margin: 18px 0;
  word-break: break-all;
  white-space: pre-wrap;
}
[data-slot='toast'] {
  position: fixed;
  right: 26px;
  bottom: 24px;
  z-index: 80;
  max-width: min(420px, calc(100vw - 32px));
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--foreground);
  color: var(--card);
  font-size: 12px;
  padding: 14px 20px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
[data-slot='toast'][data-visible='true'] {
  opacity: 1;
  transform: translateY(0);
}
@media (min-width: 1600px) {
  #main {
    padding-top: 48px;
  }
  .chart {
    height: 220px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar-width: 220px;
  }
  #main {
    padding: 28px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .metrics {
    gap: 12px;
  }
  .metric {
    padding: 17px;
  }
  .metric > strong {
    font-size: 25px;
  }
  .dashboard-grid {
    gap: 18px;
  }
  .span-8,
  .span-4 {
    grid-column: span 12;
  }
  .source-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .source-tile:nth-child(3) {
    border-right: 0;
  }
  .source-tile:nth-child(-n + 3) {
    border-bottom: 1px solid var(--border);
  }
  .explorer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .response-panel {
    position: static;
  }
  .checklist {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }
  .chart {
    height: 180px;
  }
}
@media (max-width: 900px) {
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-heading {
    align-items: start;
  }
  .page-heading > [data-slot='button'] {
    margin-top: 3px;
  }
  .onboarding {
    flex-wrap: wrap;
  }
  .onboarding > [data-slot='button'] {
    margin-left: 56px;
  }
  .span-6 {
    grid-column: span 12;
  }
  .checklist {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .filter-row {
    flex-wrap: wrap;
  }
  .filter-row > [data-slot='input'] {
    max-width: none;
  }
  .filter-row .field {
    flex: 1;
  }
  .integration-banner {
    flex-wrap: wrap;
  }
  .integration-banner > [data-slot='badge'] {
    margin-left: 54px;
  }
}
@media (max-width: 720px) {
  :root {
    --sidebar-width: 244px;
  }
  [data-slot='sidebar'] {
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .dashboard-shell {
    margin-left: 0;
  }
  .mobile-menu {
    display: inline-flex;
    padding: 5px;
    min-height: 30px;
  }
  .topbar {
    padding: 0 18px;
    height: 59px;
  }
  .topbar-actions {
    gap: 6px;
  }
  .topbar-actions > [data-slot='button'] {
    display: none;
  }
  .breadcrumb {
    gap: 8px;
  }
  .breadcrumb > span {
    display: none;
  }
  .breadcrumb > .icon {
    display: none;
  }
  #main {
    padding: 26px 18px;
    gap: 20px;
  }
  .page-heading {
    flex-direction: column;
    gap: 18px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 16px;
  }
  .metric-label {
    font-size: 10px;
  }
  .metric > strong {
    font-size: 26px;
    margin: 14px 0 6px;
  }
  .metric > span {
    font-size: 9px;
  }
  .onboarding {
    padding: 17px;
    gap: 12px;
  }
  .onboarding strong {
    font-size: 12px;
  }
  .onboarding p {
    font-size: 11px;
  }
  .onboarding-icon {
    width: 34px;
    height: 34px;
  }
  .onboarding > [data-slot='button'] {
    margin-left: 46px;
    font-size: 11px;
  }
  [data-slot='card-header'] {
    padding: 18px 18px 16px;
  }
  [data-slot='card-content'] {
    padding: 0 18px 18px;
  }
  .table-scroll {
    margin: 0 -18px -18px;
  }
  .card-heading {
    gap: 8px;
  }
  .card-heading h2 {
    font-size: 15px;
  }
  .card-heading p {
    font-size: 11px;
  }
  .card-heading > [data-slot='button'] {
    font-size: 10px;
    padding: 6px;
  }
  .source-tile {
    padding: 17px 5px;
  }
  .source-tile strong {
    font-size: 11px;
  }
  .source-tile > span:last-child {
    font-size: 9px;
  }
  .dashboard-footer {
    padding: 0 18px 24px;
    font-size: 9px;
  }
  .chart-bars {
    gap: 3px;
  }
  .chart {
    height: 155px;
  }
  .chart-labels {
    font-size: 8px;
  }
  .response-toolbar {
    flex-wrap: wrap;
  }
  .response-toolbar > [data-slot='button'] {
    margin-left: auto;
  }
  .response-panel pre {
    min-height: 270px;
  }
  .output-status {
    flex-wrap: wrap;
  }
  .billing-balance {
    padding: 24px;
    align-items: start;
    gap: 20px;
    flex-direction: column;
  }
  .billing-balance strong {
    font-size: 38px;
  }
  .referral-hero h2 {
    font-size: 26px;
  }
  .copy-field {
    flex-direction: column;
    padding: 12px;
    gap: 12px;
  }
  .metrics.three {
    grid-template-columns: 1fr;
  }
  .referral-hero {
    padding: 30px 18px;
  }
  .form-footer {
    align-items: start;
    flex-direction: column;
  }
  .integration-banner {
    padding: 20px;
  }
  .integration-banner h2 {
    font-size: 15px;
  }
  .integration-banner > .icon {
    width: 28px;
    height: 28px;
  }
  .integration-banner > div {
    min-width: 180px;
  }
  .integration-banner > [data-slot='badge'] {
    margin-left: 47px;
  }
  .menu-open [data-slot='sidebar'] {
    transform: translateX(0);
  }
  .menu-open {
    overflow: hidden;
  }
  .sidebar-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: var(--overlay);
    border: 0;
    z-index: 25;
  }
  .menu-open .mobile-menu {
    visibility: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Keep clipped table labels inside the table's own scrolling region. */
.table-scroll {
  position: relative;
}
@media (max-width: 720px) {
  .onboarding {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .onboarding > [data-slot='button'] {
    grid-column: 2;
    margin-left: 0;
    justify-self: start;
  }
}

/* Keep the globe’s pixel grid crisp when the logo is resized. */
img[src$='atlas-animated.svg'] {
  image-rendering: pixelated;
}
.credit-packs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
.billing-card [data-slot='card-content'],
#auto-topup-form,
#auto-topup-form fieldset {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}
.billing-card [data-slot='card-content'] > :not([data-slot='button']),
#auto-topup-form > *,
#auto-topup-form fieldset > :not([data-slot='button']) {
  width: 100%;
  min-width: 0;
}
.billing-card .field-help,
#auto-topup-form .field {
  margin: 0;
}
.billing-card p:empty {
  display: none;
}
#auto-topup-form .switch-row {
  padding: 0 0 16px;
  border-bottom: 1px solid var(--border);
}
#auto-topup-form .switch-row + label {
  border-top: 0;
}
.credit-packs [data-slot='card-header'] p {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted-foreground);
}
.credit-pack-price {
  font-size: 32px;
  font-weight: 600;
}
.credit-pack-price small {
  font-size: 13px;
  color: var(--muted-foreground);
}

/* Account activity uses the shared shadcn controls and responsive table recipes. */
.activity-filters {
  flex-wrap: wrap;
}
.activity-filters .field {
  flex: 1 1 155px;
  min-width: 0;
  max-width: 300px;
}
.activity-filters select {
  width: 100%;
}
@media (max-width: 720px) {
  .activity-filters .field {
    max-width: none;
    flex-basis: 100%;
  }
}

/* Integrations compose the dashboard card, button and alert recipes. */
.integrations-grid .span-7 {
  grid-column: span 7;
}
.integrations-grid .span-5 {
  grid-column: span 5;
}
.integration-key-note {
  margin-bottom: 24px;
  align-items: center;
}
.integration-key-note > div {
  flex: 1;
}
.integration-key-note p {
  margin: 5px 0 0;
}
.integration-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.integration-logo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.integration-logo .icon {
  width: 30px;
  height: 30px;
}
.integration-card {
  min-width: 0;
}
.integration-card [data-slot='card-content'] > p {
  color: var(--muted-foreground);
}
.integration-card .field-help {
  margin: 16px 0;
}
.integration-card .row-actions {
  flex-wrap: wrap;
}
.integration-snippet {
  min-width: 0;
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.integration-snippet-heading {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--muted);
  font-size: 12px;
}
.integration-snippet pre,
.integration-snippet #mcp-config {
  margin: 0;
  border: 0;
  border-radius: 0;
  max-width: 100%;
  padding: 16px;
  overflow-x: auto;
  font-size: 12px;
}
.integration-snippet-heading [data-slot='button'] {
  flex-shrink: 0;
}
@media (max-width: 1100px) {
  .integrations-grid .span-7,
  .integrations-grid .span-5 {
    grid-column: span 12;
  }
}
@media (max-width: 720px) {
  .integration-key-note {
    flex-wrap: wrap;
  }
  .integration-key-note > div {
    flex-basis: 80%;
  }
  .integration-card .card-heading {
    flex-wrap: wrap;
    gap: 14px;
  }
}
@keyframes integration-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.integration-card {
  animation: integration-enter 480ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.integration-card:nth-child(2) {
  animation-delay: 45ms;
}
.integration-card:nth-child(3) {
  animation-delay: 90ms;
}
.integration-card:nth-child(4) {
  animation-delay: 135ms;
}
@media (prefers-reduced-motion: reduce) {
  .integration-card {
    animation: none;
  }
}

/* Partner program uses the account shell and shared shadcn card/button tokens. */
.referral-program {
  padding: 30px;
}
.referral-reward,
.referral-rate,
.referral-step-top,
.referral-enroll,
.referral-portal-card,
.referral-portal-details {
  display: flex;
  align-items: center;
  gap: 20px;
}
.referral-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--secondary);
  color: var(--primary);
}
.referral-icon .icon {
  width: 21px;
  height: 21px;
}
.referral-reward .eyebrow {
  font-size: 11px;
  color: var(--muted-foreground);
}
.referral-rate {
  align-items: baseline;
  gap: 12px;
}
.referral-rate strong {
  font-size: 36px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.04em;
}
.referral-rate span,
.referral-enroll p,
.referral-step p,
.referral-portal-details p {
  color: var(--muted-foreground);
}
.referral-divider {
  height: 1px;
  background: var(--border);
  margin: 26px 0;
}
.referral-enroll {
  justify-content: space-between;
  flex-wrap: wrap;
}
.referral-enroll > div:first-child {
  max-width: 580px;
}
.referral-enroll h2,
.referral-section > h2 {
  font-size: 14px;
  font-weight: 500;
}
.referral-enroll p,
.referral-step p,
.referral-portal-details p {
  margin: 8px 0 0;
  line-height: 1.65;
}
.referral-section {
  margin-top: 32px;
}
.referral-section > h2 {
  margin: 0 0 14px;
}
.referral-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.referral-step {
  padding: 22px;
}
.referral-step-top {
  justify-content: space-between;
  margin-bottom: 22px;
}
.referral-step h3,
.referral-portal-details h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}
.referral-portal-card {
  padding: 26px;
  justify-content: space-between;
}
.referral-portal-details {
  max-width: 650px;
}
.referral-portal-card > a {
  flex-shrink: 0;
}
@media (max-width: 950px) {
  .referral-portal-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 720px) {
  .referral-program {
    padding: 22px;
  }
  .referral-steps {
    grid-template-columns: 1fr;
  }
  .referral-rate {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
  .referral-portal-details {
    align-items: flex-start;
  }
}
.referral-program,
.referral-section {
  animation: referral-enter 480ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.referral-section {
  animation-delay: 45ms;
}
.referral-section:last-child {
  animation-delay: 90ms;
}
@media (prefers-reduced-motion: reduce) {
  .referral-program,
  .referral-section {
    animation: none;
  }
}

@keyframes referral-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Consolidated workspace/account dropdown and collapsible sidebar. */
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
}
.sidebar-brand .brand {
  padding: 0;
  gap: 8px;
  flex: 1;
  font-size: 20px;
}
.sidebar-brand .brand > span {
  color: var(--foreground);
  font-size: inherit;
  margin: 0;
}
.sidebar-collapse {
  flex-shrink: 0;
}
[data-slot='sidebar-header'] .sidebar-credit {
  margin: 0;
}
#workspace-menu {
  position: relative;
  margin-top: 12px;
}
#workspace-menu .workspace-switch {
  width: 100%;
  height: auto;
  text-align: left;
  justify-content: flex-start;
  white-space: normal;
}
#workspace-menu [data-slot='dropdown-menu-content'] {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: 260px;
  max-width: calc(100vw - 32px);
  max-height: min(480px, 65dvh);
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  box-shadow: 0 8px 24px var(--border);
  z-index: 45;
  animation: dashboard-enter var(--motion-fast) ease-out;
}
#workspace-menu [role='menuitem'] {
  border: 0;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  font-family: inherit;
  transition:
    background var(--motion-fast),
    color var(--motion-fast);
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px;
  border-radius: 5px;
  font-size: 12px;
  text-align: left;
  justify-content: flex-start;
}
#workspace-menu [role='menuitem']:hover,
#workspace-menu [role='menuitem']:focus-visible {
  background: var(--accent);
}
#workspace-menu [role='menuitem'] span {
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-workspace-list] {
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--border);
}
[data-workspace-status] {
  font-size: 11px;
  color: var(--destructive);
}
[data-slot='sidebar'],
.dashboard-shell {
  transition:
    width var(--motion-panel),
    margin-left var(--motion-panel);
}
@media (min-width: 721px) {
  .sidebar-collapsed {
    --sidebar-width: 68px;
  }
  .sidebar-collapsed [data-slot='sidebar-header'] {
    padding: 18px 10px 10px;
  }
  .sidebar-collapsed .sidebar-brand {
    flex-direction: column;
    gap: 12px;
  }
  .sidebar-collapsed .brand > span,
  .sidebar-collapsed [data-slot='sidebar-group-label'],
  .sidebar-collapsed [data-slot='sidebar-menu-button'] > span,
  .sidebar-collapsed [data-slot='sidebar-menu-button'] > .icon:last-child:not(:first-child),
  .sidebar-collapsed .workspace-switch > span:nth-child(2),
  .sidebar-collapsed .workspace-switch > .icon,
  .sidebar-collapsed .sidebar-credit small,
  .sidebar-collapsed .sidebar-credit a,
  .sidebar-collapsed .sidebar-credit > div > span {
    display: none;
  }
  .sidebar-collapsed [data-slot='sidebar-content'],
  .sidebar-collapsed [data-slot='sidebar-footer'] {
    padding-left: 10px;
    padding-right: 10px;
  }
  .sidebar-collapsed [data-slot='sidebar-menu-button'] {
    justify-content: center;
    padding: 10px;
  }
  .sidebar-collapsed .sidebar-credit {
    padding: 8px 2px;
  }
  .sidebar-collapsed .sidebar-credit > div:first-child {
    flex-direction: column;
    margin: 0;
    gap: 3px;
  }
  .sidebar-collapsed .sidebar-credit strong {
    margin: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .sidebar-collapsed #workspace-menu .workspace-switch {
    padding: 7px;
  }
  .sidebar-collapsed #workspace-menu [data-slot='dropdown-menu-content'] {
    left: calc(100% + 12px);
    bottom: 0;
  }
}
@media (max-width: 720px) {
  .sidebar-collapse {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-slot='sidebar'],
  .dashboard-shell {
    transition: none;
  }
  #workspace-menu [data-slot='dropdown-menu-content'] {
    animation: none;
  }
}

@keyframes dashboard-enter {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Shared dashboard feedback: motion follows real loading and interaction state. */
:root {
  --motion-enter: 480ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
[data-slot='spinner'] {
  display: inline-flex;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  animation: dashboard-spin 900ms linear infinite;
}
[data-slot='spinner'] .icon {
  width: 100%;
  height: 100%;
}
.loading-status,
.output-status > span:has([data-slot='spinner']) {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dashboard-loading {
  padding-block: 12px;
  min-height: 156px;
}
.loading-status {
  color: var(--muted-foreground);
}
.loading-skeletons {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
[data-slot='skeleton'] {
  height: 14px;
  border-radius: var(--radius);
  background: var(--muted);
  animation: dashboard-pulse 1.8s ease-in-out infinite;
}
.loading-skeletons [data-slot='skeleton']:nth-child(2) {
  width: 82%;
}
.loading-skeletons [data-slot='skeleton']:nth-child(3) {
  width: 60%;
}
button:has([data-slot='spinner']) {
  opacity: 0.8;
  cursor: progress;
}
#main > .page-heading,
#main > [data-slot='card'],
#main > .dashboard-grid > [data-slot='card'],
#main > .metrics > [data-slot='card'],
#main > [data-slot='alert'] {
  animation: dashboard-reveal var(--motion-enter) var(--motion-ease) backwards;
}
#main > .dashboard-grid > [data-slot='card']:nth-child(2),
#main > .metrics > [data-slot='card']:nth-child(2) {
  animation-delay: 45ms;
}
#main > .dashboard-grid > [data-slot='card']:nth-child(3),
#main > .metrics > [data-slot='card']:nth-child(3) {
  animation-delay: 90ms;
}
#main > .dashboard-grid > [data-slot='card']:nth-child(n + 4),
#main > .metrics > [data-slot='card']:nth-child(n + 4) {
  animation-delay: 135ms;
}
[data-slot='tabs-content'],
dialog[open] {
  animation: dashboard-enter var(--motion-panel) var(--motion-ease);
}
[data-slot='button'],
[data-slot='sidebar-menu-button'],
.workspace-switch,
[data-slot='tabs-trigger'],
[data-slot='input'],
[data-slot='select-trigger'],
[data-slot='textarea'],
[data-slot='switch'] {
  transition:
    background-color var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease);
}
[data-slot='button']:active:not(:disabled),
.workspace-switch:active {
  transform: scale(0.98);
}
[data-slot='card'] {
  transition: border-color var(--motion-fast) ease;
}
[data-slot='card']:focus-within {
  border-color: var(--ring);
}
.dashboard-navigation-status:not([hidden]) {
  position: fixed;
  right: 24px;
  top: 18px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  box-shadow: var(--shadow);
}
@media (hover: hover) {
  [data-slot='button']:hover:not(:disabled) {
    transform: translateY(-1px);
  }
}
@keyframes dashboard-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes dashboard-pulse {
  50% {
    opacity: 0.45;
  }
}
@keyframes dashboard-reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard *,
  .dashboard *::before,
  .dashboard *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .dashboard [data-slot='button'],
  .dashboard .workspace-switch {
    transform: none !important;
  }
}

[data-workspace-name]:has([data-slot='spinner']) {
  display: flex;
  align-items: center;
  gap: 5px;
}

.referral-table { overflow-x: auto; }
.referral-table table { width: 100%; border-collapse: collapse; }
.referral-table th, .referral-table td { padding: 12px 16px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--border); }
.referral-program .copy-field { display: flex; width: 100%; justify-content: space-between; }
.referral-program .copy-field code { min-width: 0; overflow-wrap: anywhere; white-space: normal; }
.referral-program .copy-field button { flex-shrink: 0; }
