:root {
  color-scheme: dark;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-synthesis: none;
  --bg: #070b0d;
  --panel: #0c1012;
  --raised: #111618;
  --line: #202629;
  --text: #edf0f2;
  --muted: #9ba2a6;
  --subtle: #727b80;
  --accent: #2563eb;
  --accent-text: #8db4ff;
  --accent-soft: #101e3b;
  --green: var(--accent);
  color: var(--text);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
.button-link {
  cursor: pointer;
  border: 1px solid #2b3236;
  background: #111719;
  border-radius: 6px;
  color: var(--text);
  padding: 8px 13px;
  font-weight: 500;
  font-size: 13px;
  transition:
    background 0.12s,
    border-color 0.12s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
button:hover,
.button-link:hover {
  background: #1a2124;
  border-color: #3c454b;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  font-weight: 550;
}
.primary:hover {
  background: #3475f4;
  border-color: #3475f4;
}
.quiet {
  background: none;
  border-color: transparent;
  color: var(--muted);
}
.danger {
  color: #f98e94;
}
.small,
.button-link.small {
  padding: 6px 10px;
  font-size: 12px;
}
.icon,
.empty-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon {
  width: 17px;
  height: 17px;
}
.icon svg,
.icon-button svg {
  width: 17px;
  height: 17px;
}
.loading {
  color: var(--muted);
  padding: 80px 30px;
  text-align: center;
}
.topbar {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 57px;
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.top-identity {
  display: flex;
  align-items: center;
  gap: 17px;
  min-width: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  letter-spacing: -0.4px;
  font-weight: 600;
  white-space: nowrap;
}
.brand svg {
  width: 24px;
  height: 24px;
}
.top-divider {
  color: #475056;
  font-weight: 300;
  font-size: 19px;
}
.workspace-name {
  color: #c3c9cd;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 230px;
}
.env-badge {
  font-size: 10px;
  color: #a9c4f3;
  border: 1px solid #2c4163;
  background: #101d33;
  border-radius: 4px;
  padding: 1px 6px;
}
.global-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}
.global-nav a:hover,
.global-nav a.active {
  color: var(--accent-text);
}
.sidebar {
  width: 218px;
  position: fixed;
  inset: 57px auto 0 0;
  border-right: 1px solid var(--line);
  background: var(--bg);
  padding: 24px 13px 0;
  display: flex;
  flex-direction: column;
  z-index: 15;
}
.sidebar-caption {
  color: #798286;
  font-size: 11px;
  letter-spacing: 0.55px;
  margin: 0 10px 10px;
}
.nav {
  display: grid;
  gap: 3px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9ba4a8;
  padding: 8px 11px;
  border-radius: 5px;
  font-size: 13px;
  min-height: 36px;
}
.nav a:hover {
  color: #e3e8eb;
  background: #101619;
}
.nav a.active {
  color: var(--accent-text);
  background: var(--accent-soft);
}
.sidebar-bottom {
  margin-top: auto;
  padding: 20px 8px 0;
}
.environment {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #a8b8d0;
}
.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.sidebar-bottom p {
  margin: 7px 0 21px 12px;
  color: #6e797e;
  font-size: 11px;
  line-height: 1.7;
}
.sidebar-account {
  margin: 0 -21px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--line);
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #242d31;
  color: #c3cdd0;
  font-size: 9px;
  font-weight: 600;
  flex-shrink: 0;
}
.account-name {
  font-size: 11px;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.icon-button {
  background: transparent;
  border: 0;
  padding: 4px;
  margin-left: auto;
  color: #9ba4a8;
}
.main {
  margin-left: 218px;
  padding-top: 57px;
  min-height: 100vh;
}
.page {
  padding: 25px 28px 40px;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}
.pagehead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
h1 {
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -0.55px;
  font-weight: 600;
  margin: 0 0 6px;
}
h2 {
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.1px;
  margin: 0;
}
h3 {
  font-size: 14px;
  font-weight: 550;
  margin: 0 0 8px;
}
p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.sub {
  font-size: 13px;
  color: var(--muted);
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagehead > .actions {
  flex-shrink: 0;
}
.section-tabs {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  margin: -4px 0 16px;
  font-size: 13px;
}
.section-tabs .selected {
  padding: 7px 16px 10px;
  color: var(--accent-text);
  border-bottom: 2px solid var(--accent);
  margin-bottom: -1px;
}
.range-label {
  margin-left: auto;
  color: #929ba0;
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  margin-bottom: 7px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.overview-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 18px 17px;
  background: var(--panel);
  min-width: 0;
}
.stat-label {
  color: #9ba4a9;
  font-size: 13px;
  margin-bottom: 3px;
}
.stat-value {
  font-size: 25px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.65px;
  margin-bottom: 7px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.stat small {
  color: #707a80;
  font-size: 11px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-bottom: 18px;
  overflow: hidden;
  min-width: 0;
}
.panelhead {
  min-height: 52px;
  padding: 14px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  border-bottom: 1px solid #1a2226;
}
.panelhead p {
  font-size: 12px;
  margin-top: 5px;
}
.panelhead a {
  font-size: 12px;
  color: #b9c0c4;
}
.panelhead a:hover {
  text-decoration: underline;
}
.panelbody {
  padding: 20px;
}
.twocol {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}
.count {
  color: #90999e;
  display: inline-block;
  font-size: 10px;
  margin-left: 5px;
  padding: 1px 5px;
  border: 1px solid #2c3539;
  border-radius: 4px;
  vertical-align: 1px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #a6c6ff;
  background: #10233b;
  border: 1px solid #243e60;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.pill.gray {
  background: #151b1e;
  border-color: #283035;
  color: #8e999f;
}
.pill.amber {
  background: #272010;
  border-color: #45371c;
  color: #d2b16f;
}
.tablewrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}
th {
  text-align: left;
  font-size: 12px;
  font-weight: 400;
  color: #9ca5aa;
  padding: 10px 17px;
  border-bottom: 1px solid var(--line);
  background: #0e1416;
}
td {
  padding: 14px 17px;
  border-bottom: 1px solid #1b2327;
  font-size: 12px;
  color: #bcc4c8;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #10171a;
}
td strong {
  font-weight: 500;
  color: #e2e7e9;
}
td small {
  display: block;
  margin-top: 4px;
  color: #77858b;
  font-size: 10px;
}
.money {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.mono,
code,
pre {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 11px;
}
.empty {
  padding: 33px 20px;
  text-align: center;
  color: #7e8a91;
  font-size: 12px;
  line-height: 1.7;
}
.empty-symbol {
  display: flex;
  margin: 0 auto 10px;
  color: #56646c;
  width: 26px;
  height: 26px;
}
.empty-symbol svg {
  width: 24px;
  height: 24px;
}
.empty strong {
  display: block;
  margin-bottom: 5px;
  color: #b3bdc2;
  font-size: 13px;
  font-weight: 500;
}
.empty button {
  margin-top: 15px;
}
.chart-legend {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #78868e;
  margin-bottom: 18px;
}
.chart {
  position: relative;
  height: 139px;
  display: flex;
  align-items: end;
  gap: 18px;
  padding: 18px 8px 25px;
  background: repeating-linear-gradient(to top, transparent 0, transparent 34px, #192126 35px);
}
.bar {
  position: relative;
  flex: 1;
  max-width: 70px;
  min-height: 0;
  height: var(--height);
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  margin-inline: auto;
}
.bar span {
  position: absolute;
  bottom: -22px;
  width: 100%;
  text-align: center;
  font-size: 9px;
  color: #7e8c93;
}
.activity-list {
  padding: 0 17px;
}
.activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid #1b2428;
  font-size: 12px;
  color: #bac4ca;
}
.activity-item:last-child {
  border: 0;
}
.activity-item > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.activity-item time {
  font-size: 10px;
  color: #69777e;
  white-space: nowrap;
}
.event-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #91acbc;
  flex-shrink: 0;
}
.event-dot.warning {
  background: #c89b57;
}
.onboarding {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 18px;
  margin-bottom: 18px;
  background: var(--panel);
}
.onboarding-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.onboarding-title > span {
  color: #79868d;
  font-size: 11px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 21px;
  gap: 18px;
}
.step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.step-num {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #87969c;
  border: 1px solid #3a4448;
  border-radius: 50%;
  font-size: 10px;
  flex-shrink: 0;
}
.step-num.done {
  border-color: #2d4f83;
  color: var(--accent-text);
  background: var(--accent-soft);
}
.step strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 3px;
}
.step p {
  font-size: 11px;
  color: #7f8b91;
  margin-bottom: 10px;
}
.model-identity {
  display: flex;
  align-items: center;
  gap: 11px;
}
.model-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid #303b40;
  background: #182226;
  color: #c6d2d7;
}
.model-logo svg {
  width: 17px;
  height: 17px;
}
.model-table td {
  padding-block: 19px;
}
.fieldset {
  display: grid;
  gap: 18px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #c0c9ce;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #303a40;
  border-radius: 5px;
  background: #080e11;
  color: #e0e6e9;
  padding: 10px 12px;
  margin-top: 7px;
  font-size: 13px;
}
textarea {
  resize: vertical;
  min-height: 145px;
  line-height: 1.7;
}
input::placeholder,
textarea::placeholder {
  color: #5d6b73;
}
input[type='checkbox'] {
  accent-color: var(--accent);
}
.hint {
  color: #7e8a91;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.65;
  margin-top: 7px;
}
.checks {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.check {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #2a353a;
  border-radius: 5px;
  padding: 11px;
  font-weight: 400;
}
.check input {
  margin: 0;
  width: auto;
}
.check .pill {
  margin-left: auto;
}
.codebox {
  background: #070d10;
  border: 1px solid #263238;
  border-radius: 5px;
  padding: 17px;
  overflow: auto;
}
.codebox pre {
  color: #aabfc9;
  font-size: 11px;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
}
.response {
  font-size: 13px;
  line-height: 1.8;
  color: #c4cdd2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-height: 150px;
}
.response-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  color: #8c9ba3;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.settingsrow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 25px;
  padding: 18px 0;
  border-bottom: 1px solid #202a30;
  font-size: 12px;
}
.settingsrow:first-child {
  padding-top: 2px;
}
.settingsrow:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}
.settingsrow > span {
  color: #8b9aa2;
}
.settingsrow strong {
  font-weight: 400;
  color: #c6d0d6;
  text-align: right;
}
.settingsrow strong small {
  display: block;
  font-size: 10px;
  color: #6d7d86;
  margin-top: 4px;
}
.footer-note {
  color: #7d8c95;
  font-size: 11px;
  line-height: 1.7;
  margin-top: 17px;
}
.readme {
  color: #a6b4bd;
  font-size: 13px;
  line-height: 1.8;
}
.readme p {
  color: #8b9ba5;
}
dialog {
  background: #0d1519;
  color: var(--text);
  border: 1px solid #364248;
  border-radius: 9px;
  padding: 27px;
  width: min(450px, calc(100% - 32px));
  box-shadow: 0 24px 100px #0009;
}
dialog::backdrop {
  background: #03080cba;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 20px;
  font-weight: 550;
  margin: 0 0 9px;
}
dialog > p {
  font-size: 12px;
  margin-bottom: 24px;
  color: #8f9fa8;
}
dialog .actions {
  justify-content: flex-end;
  margin-top: 24px;
}
.secret {
  background: #101d33;
  border: 1px dashed #37588d;
  border-radius: 5px;
  padding: 16px;
  color: #a9c9ff;
  font: 12px/1.8 monospace;
  overflow-wrap: anywhere;
}
.credit-options {
  display: flex;
  gap: 10px;
}
.credit-options button {
  flex: 1;
  padding: 16px;
}
.credit-options .selected {
  border-color: var(--accent);
  background: #101e3b;
  color: var(--accent-text);
}
.credit-total {
  display: flex;
  justify-content: space-between;
  background: #111d23;
  padding: 14px;
  border-radius: 5px;
  margin-top: 20px;
  font-size: 12px;
}
.error {
  font-size: 12px;
  color: #f3a2a2;
  line-height: 1.6;
}
.error:empty {
  display: none;
}
#toast {
  position: fixed;
  z-index: 100;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  max-width: calc(100% - 30px);
  border: 1px solid #2a4670;
  background: #101e33;
  color: #d8e5ff;
  box-shadow: 0 8px 30px #0006;
  border-radius: 7px;
  padding: 12px 18px;
  font-size: 12px;
}
#toast.show {
  display: block;
}
.auth {
  min-height: 100vh;
  background: var(--bg);
}
.auth-top {
  height: 62px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}
.environment-label {
  color: #7d8c95;
  font-size: 12px;
}
.auth-form-wrap {
  display: flex;
  justify-content: center;
  padding: 55px 25px;
}
.auth-form {
  width: 100%;
  max-width: 370px;
}
.auth-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  margin: 0 auto 23px;
  border: 1px solid #344148;
  border-radius: 10px;
  background: #131e24;
  color: var(--accent);
}
.auth-icon svg {
  width: 23px;
  height: 23px;
}
.auth-form h1 {
  text-align: center;
  margin-bottom: 8px;
}
.auth-form > p {
  font-size: 13px;
  text-align: center;
  margin-bottom: 27px;
}
.auth-form form {
  display: grid;
  gap: 17px;
}
.auth-form .primary {
  padding: 11px;
  margin-top: 3px;
}
.auth-switch {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  margin-top: 19px;
  color: #8c9ba3;
}
.auth-switch button {
  color: var(--accent-text);
}
.auth-demo {
  margin-top: 22px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}
.auth-demo button {
  width: 100%;
}
.auth-demo p {
  margin-top: 11px;
  text-align: center;
  font-size: 10px;
  color: #71838e;
}
.auth-pricing {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 10px;
  color: #687d89;
  margin-top: 30px;
}
@media (min-width: 1600px) {
  .page {
    padding-top: 32px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 188px;
  }
  .main {
    margin-left: 188px;
  }
  .page {
    padding-inline: 23px;
  }
  .stat {
    padding: 15px 12px;
  }
  .stat-value {
    font-size: 22px;
  }
  .global-nav {
    gap: 20px;
  }
  .steps {
    gap: 12px;
  }
}
@media (max-width: 850px) {
  .overview-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .twocol {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .global-nav {
    display: none;
  }
  .pagehead {
    flex-wrap: wrap;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .step p {
    margin-bottom: 7px;
  }
}
@media (max-width: 600px) {
  .topbar {
    height: 53px;
    padding: 0 15px;
  }
  .brand {
    font-size: 15px;
  }
  .brand svg {
    width: 22px;
    height: 22px;
  }
  .top-identity {
    gap: 12px;
    width: 100%;
  }
  .workspace-name {
    font-size: 11px;
    max-width: 150px;
  }
  .env-badge {
    margin-left: auto;
  }
  .sidebar {
    top: 53px;
    width: 51px;
    padding: 19px 5px 0;
  }
  .sidebar-caption,
  .nav-label,
  .environment,
  .sidebar-bottom p,
  .account-name {
    display: none;
  }
  .nav a {
    padding: 10px;
    justify-content: center;
  }
  .nav {
    gap: 6px;
  }
  .sidebar-bottom {
    padding: 0;
  }
  .sidebar-account {
    margin: 0 -5px;
    padding: 12px 10px;
    justify-content: center;
  }
  .sidebar-account .avatar {
    display: none;
  }
  .icon-button {
    margin: 0;
  }
  .main {
    margin-left: 51px;
    padding-top: 53px;
  }
  .page {
    padding: 22px 15px 35px;
  }
  h1 {
    font-size: 21px;
  }
  .pagehead {
    gap: 17px;
    margin-bottom: 23px;
  }
  .sub {
    font-size: 12px;
  }
  .pagehead .actions {
    gap: 7px;
  }
  .pagehead .actions button,
  .pagehead .actions .button-link {
    font-size: 11px;
    padding: 7px 10px;
  }
  .stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .overview-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat {
    padding: 14px 11px;
  }
  .stat-label {
    font-size: 11px;
  }
  .stat-value {
    font-size: 21px;
  }
  .stat small {
    font-size: 9px;
  }
  .panelhead {
    padding: 13px 14px;
  }
  .panelbody {
    padding: 16px;
  }
  th,
  td {
    padding-inline: 14px;
  }
  .settingsrow {
    flex-direction: column;
    gap: 6px;
    padding-block: 14px;
  }
  .settingsrow strong {
    text-align: left;
    overflow-wrap: anywhere;
    max-width: 100%;
  }
  .activity-list {
    padding: 0 14px;
  }
  .activity-item {
    font-size: 11px;
    gap: 8px;
  }
  .activity-item time {
    font-size: 9px;
  }
  .chart {
    gap: 13px;
  }
  .chart-legend {
    font-size: 10px;
  }
  .onboarding {
    padding: 15px;
  }
  .response-meta .mono {
    font-size: 9px;
  }
  dialog {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
.brand-suffix {
  color: #97a6b0;
  font-weight: 450;
}
.healthcare-strip {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #243655;
  background: #0d1728;
  border-radius: 6px;
  padding: 12px 15px;
  margin-bottom: 22px;
  color: #94b9f6;
}
.healthcare-strip strong {
  font-size: 12px;
  color: #cbdcff;
  margin-right: 13px;
  font-weight: 500;
}
.healthcare-strip div {
  flex: 1;
}
.healthcare-strip span:not(.icon) {
  font-size: 11px;
  color: #859bbb;
}
.healthcare-strip a {
  font-size: 11px;
  white-space: nowrap;
}
.healthcare-status {
  display: flex;
  align-items: center;
  gap: 17px;
  background: #0f192a;
  border: 1px solid #2a3e60;
  border-radius: 7px;
  padding: 23px;
  margin-bottom: 22px;
}
.healthcare-status > div:nth-child(2) {
  flex: 1;
}
.healthcare-status h2 {
  font-size: 18px;
  margin-bottom: 7px;
}
.healthcare-status p {
  font-size: 12px;
  max-width: 650px;
  color: #96a6bc;
}
.healthcare-emblem {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid #304d7d;
  border-radius: 9px;
  background: #142542;
  color: #8eb7fb;
}
.healthcare-emblem svg {
  width: 24px;
  height: 24px;
}
.control-list {
  padding: 3px 18px;
}
.control-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 17px 0;
  border-bottom: 1px solid #1f292e;
}
.control-item:last-child {
  border-bottom: 0;
}
.control-item h3 {
  font-size: 12px;
  margin-bottom: 6px;
  line-height: 1.6;
}
.control-item h3 .pill {
  margin-left: 5px;
  font-size: 9px;
}
.control-item p {
  font-size: 11px;
  color: #8e9ba2;
}
.control-tick {
  color: #8fb5ff;
  font-size: 12px;
  padding-top: 1px;
}
.review-dot {
  color: #c7a66c;
  padding-top: 1px;
  font-size: 13px;
}
.review-dot.approved {
  color: #8fb5ff;
}
.panel-note {
  border-top: 1px solid #20292f;
  color: #75899a;
  font-size: 10px;
  padding: 14px 18px;
  line-height: 1.7;
}
.policy-result {
  border: 1px solid #304868;
  background: #0c1a2b;
  padding: 16px;
  border-radius: 6px;
  margin-top: 18px;
  font-size: 12px;
}
.policy-result strong {
  color: #b8cfff;
}
.policy-result ul {
  padding-left: 16px;
  font-size: 11px;
  color: #a0b0c6;
  line-height: 1.8;
}
.policy-result p {
  font-size: 10px;
  color: #8798b0;
  margin-top: 10px;
}
.policy-event {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #202b31;
  padding: 14px 0;
}
.policy-event:last-child {
  border: 0;
}
.policy-event strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.policy-event span,
.policy-event time {
  font-size: 10px;
  color: #82919b;
}
@media (max-width: 600px) {
  .brand-suffix {
    display: none;
  }
  .healthcare-strip {
    align-items: flex-start;
    gap: 9px;
    padding: 12px;
  }
  .healthcare-strip strong {
    display: block;
    margin-bottom: 3px;
  }
  .healthcare-strip a {
    font-size: 10px;
  }
  .healthcare-status {
    flex-wrap: wrap;
    padding: 17px;
    gap: 12px;
  }
  .healthcare-emblem {
    width: 35px;
    height: 35px;
  }
  .healthcare-status > div:nth-child(2) {
    flex-basis: calc(100% - 50px);
  }
  .healthcare-status h2 {
    font-size: 16px;
  }
  .healthcare-status > .pill {
    margin-left: 47px;
  }
  .healthcare-status p {
    font-size: 11px;
  }
}
.healthcare-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.healthcare-benefits article {
  background: #0e1725;
  border: 1px solid #263752;
  border-radius: 7px;
  padding: 20px;
}
.healthcare-benefits .icon {
  color: #8eb7fb;
  margin-bottom: 15px;
}
.healthcare-benefits h2 {
  font-size: 14px;
  margin-bottom: 9px;
}
.healthcare-benefits p {
  font-size: 12px;
  color: #9eafc6;
  line-height: 1.8;
}
.healthcare-benefits small {
  display: block;
  font-size: 10px;
  color: #7188a7;
  margin-top: 18px;
}
@media (max-width: 850px) {
  .healthcare-benefits {
    grid-template-columns: 1fr;
  }
  .healthcare-benefits article {
    padding: 17px;
  }
  .healthcare-benefits .icon {
    float: left;
    margin-right: 10px;
  }
  .healthcare-benefits small {
    margin-top: 10px;
  }
}
.setup-shortcut {
  font-size: 12px;
  color: var(--accent-text);
  margin: -8px 0 20px;
}
.setup-steps {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}
.setup-steps > a {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  padding: 17px;
  font-size: 12px;
  color: var(--muted);
  border-right: 1px solid var(--line);
}
.setup-steps > a:last-child {
  border: 0;
}
.setup-steps span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #37404a;
  border-radius: 50%;
  font-size: 11px;
}
.setup-steps .complete {
  color: var(--accent-text);
}
.setup-steps .complete span {
  border-color: #285bae;
  background: #0b2149;
}
.setup-notice {
  padding: 16px 19px;
  margin-bottom: 22px;
  border-left: 3px solid var(--accent);
  background: #0d1728;
  color: #9fadc1;
  font-size: 12px;
  line-height: 1.9;
}
.setup-notice strong {
  display: block;
  color: #cfdef4;
  font-weight: 500;
}
.setup-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  align-items: center;
}
.agreement-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 13px;
}
.agreement-title > span {
  font-size: 11px;
  color: var(--muted);
}
.agreement-document {
  font-family: inherit;
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow: auto;
  max-height: 300px;
  padding: 23px;
  background: #080d14;
  border: 1px solid #233149;
  border-radius: 6px;
  color: #c4ccd8;
}
.agreement-hash {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.setup-locked {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 20px;
  color: #9ebeea;
  font-size: 12px;
}
.agreement-form {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 24px;
  max-width: 840px;
}
.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 4px;
}
label.consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #b5becb;
  font-weight: 400;
  line-height: 1.7;
}
.consent input {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin: 3px 0 0;
  accent-color: var(--accent);
}
.agreement-form > .primary {
  justify-self: start;
}
.agreement-signed {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.agreement-signed > button {
  margin-left: auto;
}
.agreement-signed .hint {
  margin-top: 8px;
}
.recovery-result {
  display: grid;
  gap: 15px;
  margin: 18px 0;
}
#setup-step-1,
#setup-step-2,
#setup-step-3,
#setup-step-4 {
  scroll-margin-top: 80px;
}
@media (max-width: 700px) {
  .setup-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .setup-steps > a {
    padding: 13px 10px;
    border-bottom: 1px solid var(--line);
  }
  .form-columns {
    grid-template-columns: 1fr;
  }
  .agreement-signed {
    flex-wrap: wrap;
  }
  .agreement-signed > button {
    margin-left: 40px;
  }
  .setup-steps span {
    width: 20px;
    height: 20px;
  }
  .agreement-document {
    padding: 15px;
  }
}
/* Official Accountable wordmark paths; the product suffix keeps its lighter weight. */
.brand .accountable-wordmark {
  width: 163px;
  height: 30px;
  display: block;
  flex-shrink: 0;
}
.brand .brand-suffix {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -0.55px;
  color: #a9b3c1;
}
.brand .brand-accent {
  fill: #8db4ff;
}
@media (max-width: 600px) {
  .brand .accountable-wordmark {
    width: 134px;
    height: auto;
  }
  .brand .brand-suffix {
    display: none;
  }
}

.app-docs-link {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #8ea6c9;
  font-size: 11px;
  margin-bottom: 19px;
}
.app-docs-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.app-docs-link:hover {
  color: #c1d8f7;
}
@media (max-width: 600px) {
  .app-docs-label {
    display: none;
  }
  .app-docs-link {
    justify-content: center;
  }
}

.google-signin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--border, #d9dee7);
  border-radius: 7px;
  padding: 12px 18px;
  color: #23334b;
  background: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  min-height: 44px;
  margin: 24px 0 0;
}
.google-signin:hover {
  background: #f6f8fc;
}
.google-signin svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #737f90;
  font-size: 12px;
  margin: 20px 0;
}
.auth-divider:before,
.auth-divider:after {
  content: '';
  height: 1px;
  flex: 1;
  background: #e3e7ee;
}

.legal-document {
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.legal-document summary {
  cursor: pointer;
  padding: 15px;
  font-weight: 500;
}
.legal-document summary span {
  font-size: 11px;
  color: var(--muted);
  margin-left: 10px;
}
.legal-document .agreement-document {
  margin: 0 14px 14px;
}

.usage-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  padding: 18px;
  background: var(--panel, #11151c);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 20px 0;
}
.usage-filters label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
}
.usage-filters input,
.usage-filters select {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.usage-filters button {
  height: 38px;
}
.usage-health {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 0 0 25px;
  color: var(--muted);
  font-size: 12px;
}
.usage-health strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  margin-top: 8px;
  font-weight: 500;
}
.spend-chart {
  padding: 20px;
  max-height: 280px;
  overflow: auto;
}
.spend-day {
  display: grid;
  grid-template-columns: 90px minmax(50px, 1fr) 110px 85px;
  gap: 15px;
  align-items: center;
  font-size: 11px;
  margin: 12px 0;
}
.spend-track {
  height: 9px;
  background: #1b2431;
  border-radius: 3px;
  overflow: hidden;
}
.spend-track > div {
  height: 100%;
  background: #4a8af4;
  border-radius: 3px;
}
.spend-day strong {
  text-align: right;
  font-weight: 500;
}
.spend-day small {
  color: var(--muted);
  text-align: right;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 15px;
  font-size: 12px;
  color: var(--muted);
}
.request-id {
  overflow-wrap: anywhere;
  font-size: 12px;
}
.request-details {
  max-height: 55vh;
  overflow: auto;
}
.request-details .settingsrow {
  gap: 20px;
}
.request-details strong {
  overflow-wrap: anywhere;
  text-align: right;
}
.key-budget {
  width: 100%;
  height: 5px;
  accent-color: #4a8af4;
  display: block;
  margin-top: 8px;
}
.tablewrap td small {
  display: block;
}
.quiet {
  color: #91baff;
}
.stats .stat-value {
  font-size: clamp(21px, 2.2vw, 32px);
}
@media (min-width: 1300px) {
  .usage-filters {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .usage-filters button {
    grid-row: 2;
  }
}
@media (max-width: 700px) {
  .usage-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spend-day {
    grid-template-columns: 80px 1fr 100px;
    gap: 8px;
  }
  .spend-day small {
    display: none;
  }
  .usage-health {
    gap: 20px;
  }
  .request-details strong {
    max-width: 60%;
  }
}
.usage-presets {
  display: flex;
  gap: 8px;
  margin: 18px 0 -8px;
}
.usage-presets button {
  padding: 6px 10px;
  font-size: 11px;
  color: var(--muted);
}

/* Activity workspace: compact controls, real usage charts, and quieter hierarchy. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.analytics-host {
  padding: 27px 30px 40px;
}
.analytics-host > .setup-notice,
.analytics-host > #content > .setup-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 23px;
  font-size: 11px;
  border-radius: 5px;
  border-left-width: 2px;
  background: #0b1421;
  line-height: 1.6;
}
.analytics-host > #content > .setup-notice strong {
  display: inline;
  font-size: 11px;
  white-space: nowrap;
}
.analytics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
}
.analytics-header h1 {
  font-size: 24px;
  margin-bottom: 7px;
}
.analytics-header p {
  font-size: 13px;
  color: #969fa7;
}
.report-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 20px;
}
.analytics-header .report-toolbar {
  margin: 0;
}
.report-toolbar select {
  margin: 0;
  background: #0c1216;
  border: 1px solid #273036;
  border-radius: 6px;
  padding: 9px 28px 9px 12px;
  min-height: 38px;
  color: #d7dee5;
  font-size: 12px;
  width: auto;
}
.timezone-tag {
  border: 1px solid #252e34;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 11px;
  color: #a7b3c1;
}
.report-filters {
  position: relative;
  z-index: 25;
}
.report-filters summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #273036;
  border-radius: 6px;
  min-height: 38px;
  padding: 8px 11px;
  font-size: 12px;
  color: #cbd3dc;
  list-style: none;
  cursor: pointer;
  background: #0c1216;
}
.report-filters summary::-webkit-details-marker {
  display: none;
}
.report-filters summary svg {
  width: 15px;
  height: 15px;
}
.report-filters summary b {
  font-size: 10px;
  border-radius: 3px;
  padding: 0 4px;
  background: #244679;
  color: #bfdbff;
}
.report-filters[open] summary {
  border-color: #4c75b2;
  background: #111e31;
}
.report-filters .usage-filters {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 490px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 22px;
  margin: 0;
  background: #10171e;
  border: 1px solid #34404e;
  box-shadow: 0 18px 45px #0009;
  border-radius: 9px;
}
.report-filters .usage-filters label {
  font-size: 12px;
  gap: 7px;
}
.report-filters .usage-filters input,
.report-filters .usage-filters select {
  width: 100%;
  min-height: 40px;
  background: #090f15;
  border-color: #2c3744;
  font-size: 13px;
}
.filter-title,
.filter-actions {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.filter-title strong {
  font-size: 14px;
  font-weight: 550;
  color: #e3e9ee;
}
.filter-title span {
  font-size: 11px;
  color: #8b98a7;
}
.filter-actions {
  justify-content: flex-end;
  margin-top: 3px;
}
.report-toolbar .report-refresh {
  font-size: 21px;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #a9b5c3;
}
.report-filter-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: -7px 0 18px;
}
.report-filter-chips button {
  font-size: 11px;
  padding: 5px 9px;
  background: #101c2d;
  border-color: #253d60;
  color: #a7c6ee;
}
.report-filter-chips button span {
  margin-left: 5px;
  color: #849dbd;
  font-size: 16px;
}
.analytics-context {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  border: 1px solid #23374f;
  border-radius: 8px;
  background: linear-gradient(110deg, #0c1828, #0b131c);
  padding: 16px 18px;
}
.health-context {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.health-context > svg {
  width: 24px;
  height: 24px;
  color: #83aff8;
  flex-shrink: 0;
}
.health-context strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #d2e1f7;
}
.health-context small {
  display: block;
  font-size: 12px;
  color: #8fa1b8;
  margin-top: 3px;
}
.health-context > span:last-child {
  color: #6585ae;
  font-size: 16px;
}
.credit-context {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 12px;
  color: #92a4ba;
}
.credit-context strong {
  font-size: 18px;
  font-weight: 550;
  color: #d7e8ff;
  font-variant-numeric: tabular-nums;
}
.credit-context:hover strong {
  color: #a5c9ff;
}
.report-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #242c31;
  margin-bottom: 21px;
}
.report-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  border-radius: 0;
  padding: 11px 16px;
  margin-bottom: -1px;
  color: #8c979f;
  font-size: 13px;
  font-weight: 500;
}
.report-tabs button[aria-selected='true'] {
  color: #93b8ff;
  border-bottom-color: #6395fa;
}
.report-tabs button:hover {
  color: #b8cdf2;
  background: #0a1119;
}
.report-tabs > a {
  margin-left: auto;
  color: #8c9fb8;
  font-size: 12px;
  padding: 10px 0;
}
.report-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.report-metric {
  position: relative;
  min-width: 0;
  min-height: 145px;
  padding: 19px 18px 40px;
  border: 1px solid #242c31;
  background: #0a1013;
  border-radius: 8px;
  overflow: hidden;
}
.report-metric h2 {
  font-size: 12px;
  color: #9ca7ae;
  font-weight: 450;
  margin: 0 0 10px;
  letter-spacing: 0;
}
.report-metric strong {
  display: block;
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 580;
  letter-spacing: -0.65px;
  line-height: 1.25;
  color: #edf3f8;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.report-metric p {
  position: absolute;
  left: 18px;
  bottom: 17px;
  font-size: 10px;
  color: #7d8b95;
  max-width: 65%;
  line-height: 1.5;
}
.metric-spark {
  position: absolute;
  bottom: 12px;
  right: 13px;
  width: 60px;
  height: 34px;
  color: #7399ce;
  opacity: 0.85;
}
.ranking-grid,
.trend-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}
.analytics-page .panel {
  background: #0a1013;
  border-color: #242c31;
  border-radius: 8px;
  margin-bottom: 20px;
}
.analytics-page .panelhead {
  border-bottom: 0;
  padding: 18px 20px;
  min-height: 57px;
}
.analytics-page .panelhead h2 {
  font-size: 14px;
  font-weight: 530;
}
.analytics-page .panelhead p {
  font-size: 11px;
  color: #7e8d98;
  margin-top: 5px;
}
.analytics-page .panelhead button {
  padding: 2px 0;
  font-size: 12px;
  color: #94a6be;
}
.report-ranking {
  list-style: none;
  margin: 0;
  padding: 0 20px 18px;
  display: grid;
  gap: 0;
  min-height: 212px;
  align-content: start;
}
.report-ranking li {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.rank-number {
  font-size: 11px;
  color: #6c7d8b;
  width: 10px;
  flex-shrink: 0;
}
.report-ranking button {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  padding: 11px 0;
  text-align: left;
}
.report-ranking button:hover {
  background: #111b25;
}
.rank-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--series-color);
  flex-shrink: 0;
  margin-top: -15px;
}
.rank-name {
  min-width: 0;
  flex: 1;
}
.rank-name > strong {
  font-size: 13px;
  font-weight: 450;
  color: #d1dae4;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rank-name small {
  display: block;
  color: #7e8d9b;
  font-size: 10px;
  margin: 4px 0 8px;
  font-weight: 400;
}
.rank-track {
  display: block;
  width: 100%;
  height: 2px;
  background: #1c252e;
  border-radius: 1px;
  max-width: 270px;
}
.rank-track > span {
  display: block;
  height: 100%;
  background: var(--series-color);
  opacity: 0.55;
}
.rank-value {
  text-align: right;
  min-width: 86px;
  padding-left: 10px;
}
.rank-value strong {
  font-size: 14px;
  font-weight: 450;
  color: #c7d6e7;
  white-space: nowrap;
}
.rank-value em {
  font-size: 10px;
  font-style: normal;
  color: #7f8e9a;
}
.rank-value small {
  display: block;
  font-size: 10px;
  margin-top: 7px;
  font-weight: 400;
  color: #8797aa;
}
.report-chart {
  padding: 0 18px 0 8px;
}
.report-chart svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 300px;
  overflow: visible;
}
.report-chart text {
  fill: #7e8e9d;
  font-family: inherit;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.chart-grid {
  stroke: #28323b;
  stroke-dasharray: 2 5;
  stroke-width: 1;
}
.chart-bar {
  fill: #6396f4;
  opacity: 0.9;
}
.chart-bar:hover {
  fill: #9cc1ff;
  opacity: 1;
}
.chart-caption {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  font-size: 11px;
  color: #7f90a2;
  padding: 14px 23px 18px;
}
.chart-caption i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #6396f4;
  margin-right: 7px;
}
.chart-caption a {
  color: #8ea8ce;
}
.chart-metric select {
  width: auto;
  background: #0b131b;
  border: 1px solid #2b3846;
  border-radius: 5px;
  font-size: 12px;
  padding: 6px 25px 6px 10px;
  min-height: 33px;
}
.trend-grid .report-chart {
  padding-right: 12px;
}
.trend-grid .report-chart text {
  font-size: 14px;
}
.analytics-footnote {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #738493;
  font-size: 11px;
  padding: 3px 2px;
}
.analytics-footnote strong {
  font-weight: 500;
  color: #9eb0c3;
}
@media (max-width: 1200px) {
  .report-metrics {
    gap: 9px;
  }
  .report-metric {
    padding-inline: 13px;
  }
  .report-metric strong {
    font-size: 24px;
  }
  .report-metric p {
    left: 13px;
    max-width: 59%;
    font-size: 9px;
  }
  .metric-spark {
    width: 50px;
    right: 10px;
  }
  .report-toolbar {
    gap: 6px;
  }
  .analytics-header {
    gap: 12px;
  }
  .report-toolbar select {
    max-width: 160px;
  }
}
@media (max-width: 1000px) {
  .analytics-header {
    flex-wrap: wrap;
  }
  .report-toolbar {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .report-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .report-metric {
    min-height: 136px;
  }
  .report-metric p {
    font-size: 10px;
  }
  .ranking-grid,
  .trend-grid {
    grid-template-columns: 1fr;
  }
  .report-ranking {
    min-height: 0;
  }
  .analytics-context {
    align-items: flex-start;
  }
  .credit-context {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }
  .credit-context > span:last-child {
    display: none;
  }
}
@media (max-width: 600px) {
  .analytics-host {
    padding: 22px 14px 35px;
  }
  .analytics-host > #content > .setup-notice {
    display: block;
    font-size: 10px;
    padding: 10px 11px;
  }
  .analytics-host > #content > .setup-notice strong {
    display: block;
    margin-bottom: 3px;
  }
  .analytics-header h1 {
    font-size: 23px;
  }
  .analytics-header .report-toolbar {
    width: 100%;
    justify-content: flex-start;
    margin-top: 2px;
  }
  .report-toolbar select,
  .report-filters summary,
  .report-toolbar .report-refresh {
    min-height: 44px;
  }
  .report-toolbar .timezone-tag {
    display: none;
  }
  .report-toolbar .report-refresh {
    width: 44px;
  }
  .period-select {
    flex: 1;
  }
  .report-toolbar .period-select select {
    width: 100%;
    max-width: none;
  }
  .report-filters .usage-filters {
    position: fixed;
    left: 65px;
    right: 12px;
    top: 80px;
    width: auto;
    max-height: calc(100dvh - 110px);
    overflow: auto;
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .report-filters .usage-filters button {
    min-height: 44px;
  }
  .analytics-context {
    display: grid;
    gap: 15px;
    padding: 15px 13px;
  }
  .health-context small {
    font-size: 11px;
  }
  .credit-context {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #223247;
    padding-top: 11px;
  }
  .report-tabs {
    gap: 0;
  }
  .report-tabs button {
    min-height: 44px;
    font-size: 12px;
    padding: 9px 12px;
  }
  .report-tabs > a {
    display: none;
  }
  .report-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .report-metric {
    min-height: 139px;
    padding: 15px 12px 46px;
  }
  .report-metric h2 {
    font-size: 11px;
  }
  .report-metric strong {
    font-size: 23px;
  }
  .report-metric p {
    left: 12px;
    bottom: 15px;
    font-size: 9px;
    max-width: 65%;
  }
  .metric-spark {
    width: 40px;
    right: 9px;
    bottom: 12px;
  }
  .report-metric:last-child {
    grid-column: 1/-1;
    min-height: 115px;
  }
  .report-metric:last-child .metric-spark {
    width: 90px;
    height: 45px;
    right: 18px;
    bottom: 18px;
  }
  .analytics-page .panelhead {
    padding: 16px;
  }
  .report-ranking {
    padding: 0 15px 15px;
  }
  .report-ranking button {
    min-height: 60px;
  }
  .rank-name > strong {
    font-size: 12px;
  }
  .rank-name small {
    font-size: 10px;
  }
  .rank-value {
    min-width: 64px;
  }
  .rank-value strong {
    font-size: 13px;
  }
  .rank-value small {
    font-size: 9px;
  }
  .rank-dot {
    width: 7px;
    height: 7px;
  }
  .report-chart {
    overflow-x: auto;
    padding: 0 12px 0 4px;
  }
  .report-chart svg {
    min-width: 430px;
  }
  .chart-caption {
    padding: 10px 15px 15px;
    font-size: 10px;
  }
  .analytics-footnote {
    font-size: 10px;
    line-height: 1.7;
  }
}
@media (max-width: 600px) {
  .report-filters summary > span {
    display: none;
  }
  .report-filters summary {
    min-width: 44px;
  }
  .report-toolbar .period-select {
    min-width: 0;
  }
  .report-toolbar .period-select select {
    min-width: 0;
    font-size: 14px;
  }
  .report-filters .usage-filters input,
  .report-filters .usage-filters select {
    font-size: 16px;
  }
  .report-metric strong {
    font-size: clamp(18px, 5.3vw, 23px);
  }
}
.report-chart .mobile-chart {
  display: none;
}
@media (max-width: 600px) {
  .report-chart {
    overflow: visible;
  }
  .report-chart .desktop-chart {
    display: none;
  }
  .report-chart .mobile-chart {
    display: block;
    min-width: 0;
  }
  .report-chart .mobile-chart text {
    font-size: 14px;
  }
  .report-chart .mobile-chart .chart-grid {
    stroke-width: 0.6;
  }
  .report-chart .mobile-chart .chart-bar {
    rx: 1px;
  }
}

/* Customer healthcare access, with the next action ahead of technical evidence. */
.hipaa-access {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  border: 1px solid #293e61;
  background: linear-gradient(115deg, #101d32, #0d151f);
  border-radius: 9px;
  margin: 0 0 20px;
  padding: 28px;
}
.hipaa-kicker {
  display: block;
  color: #8ca9d2;
  font-size: 10px;
  letter-spacing: 1.3px;
  font-weight: 600;
  margin-bottom: 11px;
}
.hipaa-access h2 {
  font-size: 23px;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.hipaa-access h3 {
  font-size: 17px;
  margin-bottom: 9px;
}
.hipaa-access p {
  color: #a1b0c4;
  font-size: 12px;
  line-height: 1.75;
  max-width: 490px;
  margin-bottom: 16px;
}
.hipaa-next {
  border-left: 1px solid #2a394e;
  padding-left: 32px;
}
.hipaa-next .button-link,
.hipaa-next button {
  font-size: 12px;
  min-height: 39px;
}
.hipaa-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.hipaa-summary .panel {
  padding: 20px;
  margin: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.hipaa-card-label {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #98aaca;
  margin-bottom: 17px;
}
.hipaa-card-label svg {
  width: 17px;
  height: 17px;
}
.hipaa-card-label h2 {
  font-size: 12px;
  font-weight: 500;
}
.hipaa-summary strong {
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.25px;
}
.hipaa-summary p {
  font-size: 12px;
  color: #8e9caa;
  line-height: 1.7;
  margin: 9px 0 16px;
}
.hipaa-summary a,
.hipaa-summary button,
.hipaa-summary .hipaa-muted {
  margin-top: auto;
  font-size: 11px;
}
.hipaa-muted {
  color: #8c99a8;
}
.hipaa-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.hipaa-tools .panelhead p,
#healthcare-models .panelhead p {
  font-size: 11px;
  color: #8e9caa;
  margin-top: 6px;
}
.hipaa-tools .fieldset {
  gap: 14px;
}
.hipaa-tools .fieldset label {
  font-size: 11px;
}
.hipaa-form-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
}
.hipaa-tools .fieldset button {
  align-self: start;
  font-size: 12px;
}
.hipaa-tools .hint {
  margin: 0;
}
.hipaa-data {
  padding: 0 20px;
  margin: 0;
}
.hipaa-data > div {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid #1c272d;
}
.hipaa-data > div:last-child {
  border: 0;
}
.hipaa-data dt {
  font-size: 12px;
  color: #d0d7df;
}
.hipaa-data dd {
  margin: 0;
  font-size: 12px;
  color: #8e9caa;
  line-height: 1.65;
}
.hipaa-panel-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid #1c272d;
  padding: 15px 20px;
  font-size: 11px;
}
.hipaa-panel-footer button {
  font-size: 11px;
}
.hipaa-check-result {
  border: 1px solid #394351;
  background: #111a25;
  border-radius: 7px;
  padding: 16px;
  margin-top: 18px;
  font-size: 12px;
}
.hipaa-check-result.is-allowed {
  border-color: #355d8c;
  background: #102034;
}
.hipaa-check-result > strong {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}
.hipaa-check-result p,
.hipaa-check-result li {
  font-size: 11px;
  line-height: 1.75;
  color: #a5b2c2;
}
.hipaa-check-result ul {
  padding-left: 16px;
  margin: 10px 0;
}
.hipaa-check-result a,
.hipaa-check-result button {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
}
.hipaa-model-table td {
  vertical-align: top;
}
.hipaa-reasons {
  min-width: 190px;
  max-width: 350px;
}
.hipaa-reasons summary {
  font-size: 11px;
  cursor: pointer;
  color: #a6b9d5;
}
.hipaa-reasons ul {
  padding-left: 16px;
  margin: 12px 0 0;
  font-size: 11px;
  color: #8e9caa;
  white-space: normal;
  line-height: 1.75;
}
.hipaa-managed > summary {
  padding: 17px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 12px;
  list-style: none;
}
.hipaa-managed > summary:before {
  content: '+';
  font-size: 16px;
  color: #8ca9d2;
}
.hipaa-managed[open] > summary:before {
  content: '−';
}
.hipaa-managed > summary .hipaa-muted {
  margin-left: auto;
  font-size: 11px;
}
.hipaa-managed .panelbody {
  padding-top: 0;
}
.hipaa-managed .control-item {
  padding: 12px 0;
}
#healthcare-check,
#healthcare-models {
  scroll-margin-top: 80px;
}
@media (max-width: 1100px) {
  .hipaa-tools {
    grid-template-columns: 1fr;
  }
  .hipaa-data > div {
    grid-template-columns: 155px 1fr;
  }
}
@media (max-width: 700px) {
  .hipaa-access {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 22px;
  }
  .hipaa-access h2 {
    font-size: 21px;
  }
  .hipaa-next {
    border-left: 0;
    border-top: 1px solid #2a394e;
    padding: 20px 0 0;
  }
  .hipaa-summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hipaa-summary .panel {
    padding: 18px;
  }
  .hipaa-card-label {
    margin-bottom: 10px;
  }
  .hipaa-summary p {
    margin-bottom: 12px;
  }
  .hipaa-form-row {
    grid-template-columns: 1fr;
  }
  .hipaa-data > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .hipaa-managed > summary {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .hipaa-managed > summary .hipaa-muted {
    margin-left: 25px;
    width: 100%;
  }
  .hipaa-tools input,
  .hipaa-tools select {
    font-size: 16px;
    min-height: 44px;
  }
  .hipaa-tools button,
  .hipaa-next .button-link,
  .hipaa-summary a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .hipaa-model-table {
    min-width: 620px;
  }
}

/* Shared application refinements: quiet surfaces, clear focus, predictable rhythm. */
:root {
  --bg: #090e14;
  --panel: #0e151e;
  --raised: #131e2a;
  --line: #24303d;
  --text: #eaf0f7;
  --muted: #a1adbc;
  --subtle: #7f8ea1;
  --accent: #2563eb;
  --accent-text: #9ebeff;
  --accent-soft: #172943;
}
body {
  letter-spacing: -0.1px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body:not(.marketing) {
  background: radial-gradient(ellipse at 85% 0%, #15213b33, transparent 38%), var(--bg);
}
body:not(.marketing) button,
body:not(.marketing) .button-link {
  min-height: 36px;
  border-radius: 8px;
  transition:
    background 0.16s,
    border-color 0.16s,
    box-shadow 0.16s,
    transform 0.16s;
}
body:not(.marketing) button:active,
body:not(.marketing) .button-link:active {
  transform: translateY(1px);
}
body:not(.marketing) button:disabled {
  cursor: not-allowed;
  transform: none;
}
body:not(.marketing) .primary {
  box-shadow:
    inset 0 1px #ffffff17,
    0 2px 5px #0002;
}
body:not(.marketing) .primary:hover {
  background: #2f69df;
  box-shadow: 0 3px 12px #2563eb26;
}
body:not(.marketing) :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid #91b9ff;
  outline-offset: 3px;
}
body:not(.marketing) input,
body:not(.marketing) select,
body:not(.marketing) textarea {
  border-radius: 8px;
  border-color: #344151;
  background: #0a111a;
  color: #e2eaf4;
  transition:
    border-color 0.16s,
    box-shadow 0.16s;
}
body:not(.marketing) :is(input, select, textarea):focus {
  border-color: #6d9bf5;
  box-shadow: 0 0 0 3px #377bf216;
  outline: none;
}
body:not(.marketing) :is(input, textarea)::placeholder {
  color: #7c8b9e;
}
body:not(.marketing) :is(input, textarea):user-invalid {
  border-color: #dc8a8a;
}
body:not(.marketing) label {
  color: #c5cfdd;
  font-size: 12px;
}
body:not(.marketing) .hint {
  font-size: 12px;
  color: #8d9caf;
  line-height: 1.7;
}
body:not(.marketing) .hint a {
  color: #b0caff;
  text-decoration: underline;
  text-decoration-color: #567cb377;
  text-underline-offset: 3px;
}
.app-skip-link {
  position: fixed;
  left: 18px;
  top: -70px;
  z-index: 150;
  background: #eaf2ff;
  color: #143360;
  padding: 12px 18px;
  border-radius: 8px;
}
.app-skip-link:focus {
  top: 12px;
}
.topbar {
  height: 64px;
  padding-inline: 26px;
  background: #0b1119ee;
  backdrop-filter: blur(16px);
  border-bottom-color: #263443;
}
.top-identity {
  gap: 16px;
}
.workspace-name {
  color: #b9c6d8;
}
.env-badge {
  border-radius: 5px;
  background: #17243a;
  border-color: #334765;
  color: #b4c9eb;
}
.global-nav {
  gap: 8px;
}
.global-nav a {
  padding: 7px 12px;
  border-radius: 7px;
  color: #9aaac0;
  transition:
    background 0.16s,
    color 0.16s;
}
.global-nav a.active {
  background: #182338;
  color: #c5d8ff;
}
.global-nav a:hover {
  background: #142030;
  color: #dce7f8;
}
.sidebar {
  top: 64px;
  width: 228px;
  padding: 25px 12px 0;
  background: #0a1119cc;
  border-color: #263443;
}
.sidebar-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-caption {
  font-size: 10px;
  letter-spacing: 1.1px;
  color: #8393a9;
  margin-bottom: 12px;
}
.nav {
  gap: 4px;
}
.nav a {
  position: relative;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #a5b1c2;
  min-height: 39px;
  font-size: 13px;
  transition:
    background 0.16s,
    color 0.16s,
    border-color 0.16s;
}
.nav a.active {
  color: #c2d7ff;
  background: #172843;
  border-color: #294065;
}
.nav a.active::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 3px;
  background: #8bb3ff;
}
.nav a:hover {
  background: #152031;
  color: #e7eef9;
}
.nav a .icon {
  opacity: 0.8;
}
.nav a.active .icon {
  opacity: 1;
}
.sidebar-bottom {
  padding-top: 23px;
}
.sidebar-account {
  border-color: #263443;
  padding-block: 18px;
}
.sidebar-account .avatar {
  width: 29px;
  height: 29px;
  background: #20304a;
  color: #bdd4ff;
  border: 1px solid #314c72;
}
.account-name {
  font-size: 12px;
}
.sidebar-bottom p {
  font-size: 11px;
  color: #8393a9;
}
.environment {
  font-size: 11px;
}
.app-docs-link {
  min-height: 38px;
}
.main {
  margin-left: 228px;
  padding-top: 64px;
}
.page {
  padding: 30px 32px 48px;
}
.page:focus {
  outline: none;
}
.pagehead {
  margin-bottom: 27px;
}
.pagehead h1,
.analytics-header h1 {
  font-size: 27px;
  letter-spacing: -0.75px;
  font-weight: 600;
  line-height: 1.3;
}
.pagehead .sub,
.analytics-header p {
  font-size: 13px;
  line-height: 1.75;
  color: #9cabbf;
}
.panel,
.report-metric {
  border-color: #273443;
  border-radius: 11px;
  background: linear-gradient(145deg, #111a25, #0d151f);
  box-shadow: 0 1px 3px #0002;
}
.panelhead {
  padding: 17px 20px;
  border-color: #23303e;
}
.panelhead h2 {
  font-size: 14px;
  color: #e2eaf5;
}
.panelbody {
  padding: 22px;
}
.panelhead a,
.panelhead button.quiet {
  color: #a5bfe9;
}
.twocol {
  gap: 20px;
}
th {
  background: #121d2b;
  color: #94a5bc;
  font-size: 11px;
  letter-spacing: 0.2px;
  font-weight: 500;
  padding-block: 13px;
  border-color: #29384b;
}
td {
  font-size: 12px;
  padding-block: 17px;
  border-color: #202d3e;
  color: #b7c4d6;
}
td small {
  font-size: 11px;
  color: #8395ae;
  margin-top: 5px;
}
tbody tr {
  transition: background 0.14s;
}
tbody tr:hover {
  background: #162235;
}
.pill {
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 10px;
  line-height: 1.5;
}
.pill.gray {
  background: #16202d;
  border-color: #304054;
  color: #9aaec7;
}
.pill.amber {
  background: #302719;
  border-color: #54432a;
  color: #e1c28a;
}
.workspace-notice {
  border: 1px solid #293e5b;
  border-radius: 8px;
  background: #101d30;
  margin-bottom: 24px;
  font-size: 11px;
  color: #a9bad4;
}
.workspace-notice summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  min-height: 38px;
}
.workspace-notice summary::-webkit-details-marker {
  display: none;
}
.workspace-notice strong {
  font-size: 11px;
  font-weight: 550;
  color: #cadbfa;
}
.workspace-notice summary > span:not(.notice-dot):not(.notice-details) {
  border-left: 1px solid #3d4f6d;
  padding-left: 10px;
}
.notice-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8db7fc;
  box-shadow: 0 0 0 3px #8db7fc0e;
}
.notice-details {
  margin-left: auto;
  color: #8ea9d3;
}
.notice-details:after {
  content: ' +';
  margin-left: 5px;
}
.workspace-notice[open] .notice-details:after {
  content: ' −';
}
.workspace-notice > p {
  padding: 0 14px 13px 28px;
  font-size: 11px;
  color: #a5b8d5;
  max-width: 850px;
}
.report-metrics {
  gap: 14px;
}
.report-metric {
  padding: 20px 18px;
  min-height: 148px;
  transition: border-color 0.16s;
}
.report-metric:hover {
  border-color: #3a5271;
}
.report-metric h2 {
  font-size: 12px;
  color: #a5b5cc;
  font-weight: 450;
}
.report-metric strong {
  font-weight: 550;
  letter-spacing: -1px;
  font-size: 31px;
  color: #edf4ff;
}
.report-metric p {
  font-size: 11px;
  color: #8295b0;
}
.report-ranking button {
  padding-block: 18px;
}
.ranking-panel h2 {
  font-size: 14px;
}
.rank-name strong {
  font-size: 13px;
}
.rank-name small {
  color: #8396b1;
  font-size: 11px;
}
.rank-number {
  color: #8b9bb2;
}
.rank-value {
  font-size: 12px;
  color: #c1d2eb;
}
.analytics-context {
  border-radius: 10px;
  background: #111e31;
  border-color: #304666;
}
.health-context strong {
  color: #c2d7fa;
}
.health-context small {
  color: #91a8c9;
}
.credit-context strong {
  font-size: 16px;
}
.report-tabs {
  margin-top: 5px;
}
.report-tabs button {
  min-height: 43px;
  color: #a8b8cf;
  font-size: 13px;
  border-radius: 0;
}
.report-tabs button[aria-selected='true'] {
  color: #b9d3ff;
}
.report-tabs > a {
  font-size: 11px;
  color: #8ba9d5;
}
.filter-chip {
  border-radius: 999px;
  background: #152844;
  border-color: #35547c;
}
.chart-axis {
  fill: #92a3ba;
}
.chart-caption {
  font-size: 11px;
  color: #91a2ba;
}
.empty {
  padding: 40px 22px;
  font-size: 12px;
  color: #8597af;
}
.empty-symbol {
  width: 42px;
  height: 42px;
  border: 1px solid #2f4667;
  background: #142238;
  border-radius: 11px;
  color: #91b5ee;
  margin-bottom: 16px;
}
.empty-symbol svg {
  width: 20px;
  height: 20px;
}
.empty strong {
  font-size: 14px;
  color: #c7d7ec;
  margin-bottom: 7px;
}
.empty .button-link {
  margin-top: 19px;
  font-size: 12px;
}
.codebox {
  border-radius: 8px;
  background: #0a131e;
  border-color: #2a3b53;
}
.codebox pre {
  font-size: 12px;
  line-height: 1.85;
  color: #bdd1eb;
}
.response {
  line-height: 1.85;
}
.prompt-examples {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  padding-bottom: 3px;
}
.prompt-examples > span {
  font-size: 11px;
  color: #8ba0bb;
  width: 100%;
  margin-bottom: 2px;
}
.prompt-examples button {
  font-size: 11px;
  padding: 5px 9px;
  background: #14243b;
  border-color: #2b4262;
  min-height: 29px;
  color: #aac7f3;
}
.checks .check {
  padding: 13px;
  border-radius: 8px;
  transition:
    border-color 0.16s,
    background 0.16s;
}
.checks .check:has(input:checked) {
  border-color: #3d6092;
  background: #14243b;
}
.settingsrow {
  border-color: #263647;
  padding-block: 19px;
}
.settingsrow > span {
  color: #91a4be;
}
.settingsrow strong {
  color: #d6e2f3;
}
.footer-note {
  font-size: 11px;
  color: #8194af;
  line-height: 1.8;
}
dialog {
  background: #101a27;
  border: 1px solid #3a4d68;
  border-radius: 15px;
  padding: 30px;
  width: min(480px, calc(100% - 32px));
  box-shadow: 0 30px 110px #0009;
}
dialog::backdrop {
  background: #030911b8;
  backdrop-filter: blur(6px);
}
dialog h2 {
  font-size: 23px;
  letter-spacing: -0.5px;
  padding-right: 23px;
}
dialog > p {
  font-size: 12px;
  line-height: 1.75;
  color: #9badc6;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 31px;
  height: 31px;
  padding: 0 !important;
  font-size: 22px !important;
  background: transparent !important;
  border-color: transparent !important;
  color: #8fa6c7 !important;
}
.modal-close:hover {
  background: #21324c !important;
  color: #e2ecfc !important;
}
.credit-options button {
  border-radius: 9px;
  padding: 16px;
  font-size: 17px;
}
.secret {
  border-radius: 9px;
  line-height: 1.8;
}
.error {
  border-radius: 6px;
  color: #f0aaa8;
}
.error:not(:empty) {
  padding: 10px 12px;
  background: #502b2c44;
  border: 1px solid #8b53554d;
}
#toast {
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: min(520px, calc(100% - 32px));
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition:
    opacity 0.16s,
    transform 0.16s,
    visibility 0.16s;
  border: 1px solid #3c577f;
  border-radius: 10px;
  background: #14243a;
  color: #d7e6fb;
  padding: 12px 12px 12px 15px;
  font-size: 12px;
  line-height: 1.6;
  box-shadow: 0 14px 40px #0006;
}
#toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
#toast[data-tone='error'] {
  background: #33212c;
  border-color: #84505e;
  color: #f5c6cf;
}
.toast-symbol {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  border: 1px solid #7092c5;
  border-radius: 50%;
  color: #b3d1ff;
  font-size: 12px;
}
#toast > button {
  min-height: 28px;
  width: 28px;
  padding: 0;
  flex-shrink: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 20px;
}
.workspace-error {
  max-width: 480px;
  text-align: center;
  margin: 15vh auto;
  padding: 25px;
}
.workspace-error p {
  margin: 15px 0 24px;
}
.error-orbit {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 22px;
  border: 1px solid #44618a;
  border-radius: 50%;
  color: #a5c4f4;
  font-size: 22px;
}
.loading {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.loading strong {
  color: #c8d8ed;
  font-size: 15px;
  font-weight: 500;
}
.loading > span:last-child {
  font-size: 12px;
  color: #8396b1;
}
.loading-mark {
  width: 34px;
  height: 34px;
  border: 1px solid #34507a;
  border-radius: 10px;
  background: #152845;
  box-shadow: 0 0 0 7px #15284555;
  transform: rotate(30deg);
  margin-bottom: 20px;
  animation: loading-breathe 1.6s ease-in-out infinite;
}
@keyframes loading-breathe {
  50% {
    opacity: 0.4;
    transform: rotate(30deg) scale(0.9);
  }
}
.navigation-toggle,
.navigation-close,
.navigation-backdrop {
  display: none !important;
}
@media (max-width: 1100px) {
  .sidebar {
    width: 202px;
  }
  .main {
    margin-left: 202px;
  }
  .page {
    padding-inline: 24px;
  }
  .report-metric {
    padding: 17px 14px;
  }
  .report-metric strong {
    font-size: 26px;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 61px;
    padding: 0 16px;
    gap: 12px;
  }
  .top-identity {
    gap: 12px;
    width: 100%;
    min-width: 0;
  }
  .topbar .workspace-name,
  .topbar .top-divider,
  .topbar .env-badge,
  .global-nav {
    display: none;
  }
  .topbar .brand .accountable-wordmark {
    width: 141px;
    height: 28px;
  }
  .topbar .brand-suffix {
    display: inline;
    font-size: 18px;
  }
  .navigation-toggle {
    display: inline-flex !important;
    width: 36px;
    height: 36px;
    min-height: 36px !important;
    padding: 8px !important;
    background: transparent !important;
    border-color: #304159 !important;
    flex-shrink: 0;
  }
  .navigation-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
  }
  .sidebar {
    top: 0;
    bottom: 0;
    width: 264px;
    padding: 23px 14px 0;
    transform: translateX(-102%);
    visibility: hidden;
    transition: transform 0.2s ease;
    z-index: 60;
    background: #0d1521;
    box-shadow: 15px 0 60px #0005;
  }
  .sidebar.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .sidebar-caption,
  .nav-label,
  .environment,
  .sidebar-bottom p,
  .account-name {
    display: block;
  }
  .sidebar-heading {
    margin-bottom: 13px;
  }
  .sidebar-caption {
    margin: 0 10px;
  }
  .navigation-close {
    display: inline-flex !important;
    width: 33px;
    min-height: 33px !important;
    padding: 0 !important;
    font-size: 23px !important;
    background: none !important;
    border: 0 !important;
  }
  .nav a {
    justify-content: flex-start;
    padding: 10px 13px;
    min-height: 44px;
    font-size: 14px;
  }
  .nav {
    gap: 5px;
  }
  .sidebar-bottom {
    padding: 20px 9px 0;
  }
  .sidebar-bottom .environment {
    display: flex;
  }
  .sidebar-account {
    margin-inline: -23px;
    padding: 17px 21px;
  }
  .sidebar-account .avatar {
    display: flex;
  }
  .sidebar .icon-button {
    margin-left: auto;
    min-height: 36px;
  }
  .navigation-backdrop:not([hidden]) {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 50;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #020712aa;
    backdrop-filter: blur(3px);
  }
  body.navigation-open {
    overflow: hidden;
  }
  .main {
    margin-left: 0;
    padding-top: 61px;
  }
  .page {
    padding: 22px 18px 36px;
  }
  .pagehead h1,
  .analytics-header h1 {
    font-size: 25px;
  }
  .pagehead {
    margin-bottom: 23px;
  }
  .workspace-notice {
    margin-bottom: 23px;
  }
  .workspace-notice summary {
    flex-wrap: wrap;
    gap: 7px;
    font-size: 11px;
    padding: 10px 12px;
  }
  .workspace-notice summary strong {
    font-size: 11px;
  }
  .workspace-notice summary .notice-details {
    font-size: 10px;
  }
  .workspace-notice > p {
    padding-left: 24px;
    font-size: 11px;
  }
  .analytics-context {
    padding: 14px;
  }
  .health-context strong {
    font-size: 12px;
  }
  .health-context small {
    font-size: 10px;
  }
  .credit-context strong {
    font-size: 15px;
  }
  .report-metrics {
    gap: 10px;
  }
  .report-metric {
    border-radius: 10px;
    min-height: 136px;
    padding: 16px 13px;
  }
  .report-metric strong {
    font-size: 27px;
  }
  .report-metric h2 {
    font-size: 11px;
  }
  .report-metric p {
    font-size: 10px;
  }
  .panel {
    border-radius: 10px;
  }
  .panelhead {
    padding: 16px;
  }
  .panelbody {
    padding: 18px;
  }
  .twocol {
    gap: 0;
  }
  .page :is(input, select, textarea) {
    font-size: 16px;
    min-height: 44px;
  }
  .page button,
  .page .button-link {
    min-height: 40px;
  }
  .prompt-examples button {
    min-height: 36px;
    font-size: 12px;
  }
  .empty {
    padding: 35px 20px;
  }
  .hipaa-access {
    padding: 21px;
  }
  .hipaa-tools .hint {
    font-size: 11px;
  }
  dialog {
    padding: 26px 22px;
    border-radius: 13px;
    max-height: 88svh;
    overflow: auto;
  }
  dialog input,
  dialog select {
    font-size: 16px;
    min-height: 44px;
  }
  dialog .actions {
    gap: 10px;
  }
  dialog .actions button {
    min-height: 44px;
  }
  .settingsrow {
    gap: 7px;
  }
  .settingsrow strong {
    text-align: left;
  }
  #toast {
    bottom: max(18px, env(safe-area-inset-bottom));
    font-size: 12px;
  }
  .setup-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .setup-steps > a {
    padding: 13px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
  }
  .setup-steps > a:nth-child(2) {
    border-right: 0;
  }
  .setup-steps > a:nth-child(n + 3) {
    border-bottom: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.analytics-page .panel {
  background: linear-gradient(145deg, #111a25, #0d151f);
  border-color: #273443;
  border-radius: 11px;
}
.analytics-page .panelhead {
  padding: 18px 20px;
}
.rank-name small,
.rank-value small {
  font-size: 11px;
  color: #8ea1bb;
}
.report-chart text {
  fill: #93a6c0;
}
.report-filter-chips button {
  border-radius: 999px;
}

@media (max-width: 760px) {
  .app-docs-label {
    display: inline;
  }
  .app-docs-link {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .report-filters .usage-filters {
    left: 16px;
    right: 16px;
    width: auto;
  }
}

/* Capability controls stay secondary to the request itself. */
.capability-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.capability-badges .pill {
  white-space: nowrap;
  font-size: 10px;
}
.completion-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.completion-toggle input {
  width: 16px;
  min-height: 16px !important;
  margin: 3px 0 0;
}
.completion-toggle small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
  margin-top: 4px;
}
.completion-options {
  border: 1px solid var(--line);
  border-radius: 9px;
}
.completion-options > summary {
  cursor: pointer;
  padding: 13px;
  font-size: 12px;
  color: #b8cdeb;
}
.completion-options > .fieldset {
  padding: 5px 14px 15px;
}
.completion-options [hidden] {
  display: none;
}
.json-editor {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  line-height: 1.65;
}
.completion-actions {
  display: flex;
  gap: 10px;
}
.completion-actions .primary {
  flex: 1;
}
.stream-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 14px;
}
.stream-status > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fb7ff;
  animation: stream-pulse 1.2s ease-in-out infinite;
}
#response-content h3 {
  font-size: 14px;
  margin: 10px 0;
}
.completion-actions [hidden] {
  display: none;
}
@keyframes stream-pulse {
  50% {
    opacity: 0.35;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stream-status > span {
    animation: none;
  }
}
@media (max-width: 760px) {
  .json-editor {
    font-size: 16px;
  }
  .completion-toggle {
    font-size: 13px;
  }
  .completion-options > summary {
    min-height: 44px;
  }
}
