:root {
  color-scheme: dark;
  --bg: #101113;
  --surface: #191b1f;
  --raised: #202328;
  --ink: #f0f1f3;
  --muted: #a2a6af;
  --line: #2b2e34;
  --green: #c4f16b;
  --mint: #c4f16b14;
  --coral: #ff8e91;
  --orange: #efc278;
  --mono: 'IBM Plex Mono', monospace;
  --font: 'Manrope', 'Segoe UI', sans-serif;
  --sidebar-width: 232px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.55 var(--font); letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
h1, h2, p { margin: 0; }
h1 { font-size: 30px; line-height: 1.25; font-weight: 700; overflow-wrap: anywhere; }
h2 { font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
::selection { background: #c4f16b40; color: white; }
.eyebrow { color: var(--green); font: 10px var(--mono); margin-bottom: 10px; }
.muted, dt, .empty { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 11px; }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 0 8px; font-size: 16px; font-weight: 800; }
.brand-mark, .workspace-avatar, .avatar, .bot-avatar { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; }
.brand-mark { border-radius: 7px; background: var(--green); color: #1a2313; font: 700 18px var(--font); }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); display: flex; flex-direction: column; padding: 28px 16px 18px; background: #151619; border-right: 1px solid var(--line); overflow-y: auto; }
.workspace { display: flex; align-items: center; gap: 9px; margin: 32px 0 26px; padding: 16px 7px; border-block: 1px solid var(--line); font-size: 11px; font-weight: 600; }
.workspace-avatar { border: 1px solid #383c43; border-radius: 5px; background: var(--raised); color: #c5c8d0; font: 10px var(--mono); }
.workspace small, .profile small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 400; }
.nav-label { margin: 0 12px 10px; color: var(--muted); font-size: 9px; font-weight: 600; }
nav a { display: flex; align-items: center; min-height: 43px; margin: 4px 0; padding: 11px 12px; border: 1px solid transparent; border-radius: 6px; font-size: 12px; font-weight: 600; }
nav a.active { color: var(--green); background: #c4f16b0d; border-color: #c4f16b23; }
nav a.active:hover { background: var(--mint); }
.sidebar-bottom { margin-top: auto; padding-top: 30px; }
.profile { display: flex; align-items: center; gap: 9px; padding: 18px 4px 10px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 600; overflow-wrap: anywhere; }
.avatar { border: 1px solid #464248; border-radius: 6px; background: #2b242c; color: #dfb5cf; font: 10px var(--mono); }
.logout { border: 0; padding: 10px 7px; background: none; color: var(--muted); font-size: 11px; white-space: nowrap; }
.logout:hover { color: var(--ink); }
.shell { margin-left: var(--sidebar-width); min-height: 100vh; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; min-height: 68px; padding: 0 36px; border-bottom: 1px solid var(--line); background: #141518; }
.breadcrumbs { color: #c5c8ce; font-size: 11px; }
.breadcrumbs span { margin-inline: 8px; color: var(--muted); }
.content { max-width: 1560px; margin-inline: auto; padding: 34px 36px 44px; }
.page-heading { margin-bottom: 28px; }
.page-heading .mono { overflow-wrap: anywhere; }
.bot-card { max-width: 780px; border: 1px solid #353a40; border-top: 2px solid var(--green); border-radius: 8px; background: var(--surface); animation: reveal .3s ease both; }
.bot-card-header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 66px; padding: 12px 16px; }
.bot-card-header h2 { flex: 1; }
.bot-action { display: flex; justify-content: flex-end; padding: 4px 16px; border-top: 1px solid var(--line); }
.bot-switch { display: grid; place-items: center; width: 46px; height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; }
.bot-switch-track { display: flex; align-items: center; width: 46px; height: 28px; padding: 3px; border: 1px solid #606874; border-radius: 14px; background: #343a42; }
.bot-switch-track::before { content: ''; width: 20px; height: 20px; border-radius: 50%; background: #d0d4dc; transition: transform .15s ease; }
.bot-switch[aria-checked='true'] .bot-switch-track { border-color: var(--green); background: var(--green); }
.bot-switch[aria-checked='true'] .bot-switch-track::before { background: #182012; transform: translateX(18px); }
.bot-switch:hover:not(:disabled) .bot-switch-track { border-color: var(--ink); }
.bot-switch:disabled { opacity: .55; cursor: not-allowed; }
.bot-activity-counts { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.bot-notice { margin-bottom: 12px; }
.bot-avatar { border-radius: 6px; background: var(--mint); color: var(--green); font: 11px var(--mono); }
.badge { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 4px 7px; border: 1px solid currentColor; border-radius: 5px; font: 11px/1.35 var(--font); font-weight: 700; overflow-wrap: anywhere; }
.badge::before { content: ''; width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: currentColor; }
.pending { color: var(--orange); background: #efc2780d; }
.good { color: var(--green); background: var(--mint); }
.neutral { color: #bdc2cb; background: #bdc2cb0c; }
.processing { color: #91d5e3; background: #91d5e312; }
.bot-settings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 14px 16px; border-top: 1px solid var(--line); background: #ffffff03; }
dt { font-size: 11px; }
dd { margin: 4px 0 0; overflow-wrap: anywhere; font: 11px/1.55 var(--mono); }
.history { min-width: 0; }
.section-heading { margin: 30px 0 16px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows, .empty { border-top: 1px solid var(--line); }
.client-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 11rem) minmax(0, 24rem); gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.client-row h2 { font-size: 13px; }
.client-row .mono { margin-top: 4px; overflow-wrap: anywhere; }
.rows > .empty { border-top: 0; }
.access-history-entry { padding-top: 14px; border-bottom: 1px solid var(--line); }
.access-history-entry h3 { margin: 0; font-size: 13px; }
.access-history-entry p { margin: 4px 0 12px; overflow-wrap: anywhere; }
.access-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.access-pagination a { margin: 0; }
.access-pagination span { padding: 0 8px; color: var(--muted); font: 12px var(--mono); }
.empty { padding-block: 16px; font-size: 12px; }
.host-form { display: flex; flex-wrap: wrap; gap: 8px; }
.host-form select { flex: 1 1 10rem; min-width: 0; text-overflow: ellipsis; }
.host-control summary { width: fit-content; max-width: 100%; padding-block: 8px; color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; }
.host-control summary:hover, .host-control[open] summary { color: var(--ink); }
.host-control[open] .host-form { margin-top: 6px; }
.login-layout { width: min(100%, 500px); margin: 0 auto; padding: 52px 20px; }
.login-panel { padding: 28px 0; border-block: 1px solid var(--line); animation: reveal .3s ease both; }
.auth-language { display: inline-flex; gap: 2px; margin-top: 12px; padding: 2px; border: 1px solid var(--line); border-radius: 6px; }
.auth-language a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 10px; border-radius: 4px; font-size: 12px; }
.auth-language a:hover { background: var(--raised); }
.auth-language a[aria-current="true"] { background: var(--raised); color: var(--green); font-weight: 700; }
.topbar .auth-language { margin: 4px 0; }
.fields, .fields label { display: grid; gap: 8px; }
.fields { gap: 16px; margin-top: 24px; }
.fields label { min-width: 0; font-size: 13px; font-weight: 600; }
.fields .check-field { display: flex; align-items: center; }
.fields .check-field input { width: 16px; min-height: 16px; margin: 0; accent-color: var(--green); }
input, select { width: 100%; min-width: 0; max-width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #454952; border-radius: 6px; background: #141518; color: var(--ink); font-size: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 10px 15px; border: 1px solid transparent; border-radius: 6px; font-size: 12px; line-height: 1.4; font-weight: 700; text-align: center; }
.primary { background: var(--green); color: #18210e; border-color: var(--green); }
.primary:hover { background: #d5ff8a; border-color: #d5ff8a; }
.secondary { background: var(--raised); color: #e2e5ea; border-color: #434851; }
.secondary:hover { background: #292d33; border-color: #686f7b; }
.error { color: var(--coral); margin-top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; z-index: 2; top: 8px; left: 8px; padding: 10px 14px; background: var(--green); color: var(--bg); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.public-body { display: flex; flex-direction: column; min-height: 100vh; }
.public-body > main { flex: 1; }
.public-width { width: min(100% - 48px, 1160px); margin-inline: auto; }
.public-header { background: #141518; border-bottom: 1px solid var(--line); }
.public-bar, .public-nav, .hero-actions, .heading-actions, .auth-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.public-bar { min-height: 70px; padding-block: 8px; }
.public-bar .brand { margin-inline-end: auto; padding: 0; }
.public-bar .auth-language { margin: 0; }
.public-nav a { margin: 0; }
.public-nav a:not(.button) { color: var(--muted); }
.public-nav a:hover, .public-nav a[aria-current='page'], .public-nav a[aria-current='page']:not(.button) { color: var(--green); }
.public-footer { border-top: 1px solid var(--line); }
.public-footer .public-bar { justify-content: space-between; }
.public-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(30rem, 62svh); border-bottom: 1px solid var(--line); background: #161b1b; overflow: hidden; }
.hero-art, .public-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-art { object-fit: cover; object-position: center 30%; }
.public-hero::after { content: ''; background: linear-gradient(90deg, #101113 3%, #101113ed 34%, #10111338 74%), linear-gradient(0deg, #101113 2%, transparent 45%); }
.hero-content { padding-block: 48px; animation: reveal .36s ease-out both; }
.hero-content h1 { font-size: 76px; line-height: 1.05; font-weight: 800; }
.hero-content .eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 12px; }
.hero-content .eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hero-lead { max-width: 32ch; margin-block: 16px 24px; font-size: 20px; color: #d4d7dc; }
.hero-actions .button { min-height: 46px; padding-inline: 18px; }
.product-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-block: 24px 36px; }
.product-details > div { padding-top: 14px; border-top: 1px solid var(--line); }
.product-details > div:first-child { border-color: var(--green); }
.product-details p, .legal-layout section p, .signup-status { margin-top: 8px; color: var(--muted); }
.legal-layout { max-width: 760px; padding-block: 40px 52px; }
.legal-heading { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal-nav { padding-block: 8px; border-bottom: 1px solid var(--line); }
.legal-nav a[aria-current='page'] { background: var(--mint); }
.legal-draft { margin-top: 14px; color: var(--orange); }
.legal-layout section h2 { margin-top: 24px; }
.signup-status { margin-bottom: 20px; }
.auth-links { margin-top: 16px; }
.auth-links:empty { display: none; }
.auth-links a, .text-action { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.text-action { display: inline-block; margin-top: 6px; font-size: 12px; }
.heading-actions { justify-content: space-between; }
.form-section { max-width: 34rem; }
.form-section .primary, .access-fields .primary { justify-self: start; }
.overview { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.access-overview { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.access-overview > section:last-child { container-type: inline-size; }
.overview .section-heading { margin-top: 0; }
.coverage-panel { border-block: 1px solid var(--line); padding-top: 14px; }
.coverage-panel .bot-settings, .bot-card .bot-settings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.coverage-panel .bot-settings { padding-inline: 0; background: transparent; }
.coverage-panel .bot-settings > :first-child { grid-column: 1 / -1; }
.access-fields { grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
.field-wide { grid-column: 1 / -1; }
@container (min-width: 25rem) {
  .access-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.activity-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: start; }
.activity-table thead { background: var(--surface); color: var(--muted); }
.activity-table thead th:first-child { width: 38%; }
.activity-table thead th:nth-child(2) { width: 29%; }
.activity-table th, .activity-table td { padding: 10px 12px; border-block-end: 1px solid var(--line); text-align: start; overflow-wrap: anywhere; }
.activity-table thead th { font-size: 12px; }
.activity-table tbody th { font-weight: 500; }
.activity-table tbody tr:nth-child(even) { background: #ffffff03; }
.activity-table tbody tr:hover { background: #ffffff08; }
.guide-layout { max-width: 72rem; }
.guide-heading { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.guide-heading > p:last-child, .guide-step-copy p, .guide-fallback { color: var(--muted); }
.guide-heading h1 { margin-block: 8px; }
.guide-grid { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 36px; margin-top: 24px; }
.guide-devices { display: grid; align-content: start; gap: 4px; }
.guide-devices h2 { margin-bottom: 6px; font-size: 13px; }
.guide-devices a { display: flex; align-items: center; min-height: 40px; padding: 7px 10px; border: 1px solid transparent; border-radius: 5px; color: var(--muted); }
.guide-devices a:hover, .guide-devices a[aria-current='page'] { color: var(--green); border-color: var(--line); background: var(--surface); }
.guide-device-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.guide-notice { margin-block: 12px 20px; padding: 10px 14px; border-inline-start: 2px solid var(--orange); background: var(--surface); }
.guide-steps { margin: 0; padding: 0; list-style: none; }
.guide-step { display: grid; grid-template-columns: 2rem minmax(0, 1fr) minmax(0, 13rem); align-items: start; gap: 10px 16px; padding-block: 20px; border-top: 1px solid var(--line); }
.guide-number { padding-top: 2px; color: var(--green); }
.guide-step h3, .guide-support h3 { margin: 0 0 5px; font-size: 15px; }
.guide-path { padding: 9px 11px; border-inline-start: 1px solid var(--line); background: var(--surface); color: var(--green); font-size: 12px; overflow-wrap: anywhere; }
.guide-support { margin-top: 12px; padding-block: 16px; border-block: 1px solid var(--line); }
@media (max-width: 52rem) {
  .guide-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .guide-devices { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); }
  .guide-devices h2 { grid-column: 1 / -1; }
  .guide-step { grid-template-columns: 2rem minmax(0, 1fr); }
  .guide-path { grid-column: 2; }
}
@keyframes reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 64rem) {
  .client-row { grid-template-columns: minmax(0, 1fr) minmax(0, 11rem); }
  .host-control { grid-column: 1 / -1; max-width: 24rem; }
  .bot-settings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 46rem) {
  .sidebar { position: static; width: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .sidebar .brand { padding: 0; }
  .sidebar .workspace, .sidebar .profile, .sidebar .nav-label { display: none; }
  .sidebar nav { display: flex; flex-wrap: wrap; gap: 4px 8px; grid-column: 1 / -1; grid-row: 2; }
  .sidebar nav a { margin: 0; }
  .sidebar-bottom { margin: 0; padding: 0; }
  .shell { margin-left: 0; min-height: 0; }
  .topbar { min-height: 42px; padding-inline: 16px; }
  .content { padding: 24px 16px 36px; }
  .page-heading { margin-bottom: 20px; }
  h1 { font-size: 25px; }
  .client-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .login-layout { padding-top: 34px; }
  .public-width { width: calc(100% - 32px); }
  .public-bar { gap: 6px 12px; }
  .public-nav { gap: 0 6px; }
  .public-nav a { padding-inline: 8px; }
  .public-hero { align-items: end; min-height: min(23rem, 55svh); }
  .hero-content { padding-block: 32px; }
  .hero-content h1 { font-size: 36px; }
  .hero-lead { font-size: 17px; }
  .public-hero::after { background: linear-gradient(0deg, #101113 22%, #101113c9 70%, #10111333); }
  .product-details { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .activity-table th, .activity-table td { padding: 8px 5px; }
  .activity-table thead th:first-child { width: 34%; }
  .activity-table thead th:nth-child(2) { width: 31%; }
  .activity-table .badge { padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .login-panel, .bot-card, .hero-content { animation: none; }
  .bot-switch-track::before { transition: none; }
}