@import url('/assets/tokens.css');
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    14px/1.6 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
button {
  color: inherit;
}
svg {
  display: block;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.2;
  font-weight: 650;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  font-weight: 600;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
small,
.small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.green {
  color: var(--green);
}
.mono,
code,
pre {
  font-family: 'Cascadia Code', Consolas, monospace;
}
.skip {
  position: fixed;
  top: -70px;
  left: 16px;
  z-index: 999;
  background: var(--green);
  color: #051509;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.initial {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
}
.loader {
  width: 24px;
  height: 24px;
  border: 2px solid var(--line);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 16px;
  letter-spacing: -0.3px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #062410;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
}
.brand small {
  font-size: 9px;
  background: #1c2821;
  border: 1px solid #314137;
  color: #b9cdbf;
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 4px;
  letter-spacing: 1px;
}
.sidebar {
  width: 246px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #0b120e;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 27px 18px;
  z-index: 35;
}
.sidebar .brand {
  padding-left: 9px;
  margin-bottom: 37px;
}
.workspace-pill {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  margin: 0 6px 25px;
  background: #111b15;
}
.workspace-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px #43e48040;
}
.nav-label {
  font-size: 10px;
  color: #6d8476;
  letter-spacing: 1.8px;
  font-weight: 650;
  padding: 0 14px;
  margin-bottom: 8px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border-radius: 8px;
  color: #94a99c;
  font-size: 13px;
  border: 1px solid transparent;
}
.nav-item:hover {
  background: #142019;
  color: #e9f4ec;
}
.nav-item.active {
  color: #b4fbcc;
  border-color: #294934;
  background: linear-gradient(100deg, #18362680, #102019);
}
.nav-item svg {
  opacity: 0.85;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 25px;
}
.sidebar-help {
  background: linear-gradient(145deg, #15281d, #111912);
  border: 1px solid #283c2d;
  border-radius: 10px;
  padding: 16px;
  margin: 16px 6px;
}
.sidebar-help p {
  color: var(--muted);
  font-size: 12px;
  margin: 5px 0 13px;
}
.sidebar-help a {
  font-size: 12px;
  color: #b1efc5;
}
.avatar {
  height: 34px;
  width: 34px;
  display: grid;
  place-items: center;
  background: #233d2e;
  color: #a6edbf;
  border: 1px solid #385440;
  border-radius: 50%;
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
}
.avatar.large {
  width: 52px;
  height: 52px;
  font-size: 20px;
}
.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-top: 1px solid var(--line);
}
.user-chip .user-info {
  flex: 1;
  min-width: 0;
}
.user-chip strong {
  font-size: 12px;
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.user-chip span {
  font-size: 10px;
  color: var(--muted);
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
}
.icon-btn:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--line);
}
.shell {
  margin-left: 246px;
  min-height: 100vh;
}
.topbar {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  background: #0a100ce8;
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 25;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.breadcrumb strong {
  color: #dce9df;
  font-weight: 500;
}
.top-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}
.top-actions a {
  font-size: 12px;
  color: #a4b7aa;
}
.status-indicator {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #a5bdad;
  font-size: 11px;
}
.status-indicator i {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.main {
  max-width: 1510px;
  margin: auto;
  padding: 36px 38px 70px;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-head p {
  color: var(--muted);
  margin-top: 9px;
  font-size: 13px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 10px;
  color: var(--green);
  margin-bottom: 12px;
}
.actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  border: 1px solid var(--line-bright);
  background: #152119;
  color: #dfeae2;
  min-height: 39px;
  padding: 8px 15px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  transition:
    background 0.15s,
    transform 0.15s;
}
.btn:hover {
  background: #223829;
}
.btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: #062410;
  box-shadow: 0 3px 12px #47d97c15;
}
.btn.primary:hover {
  background: #75eda0;
  transform: translateY(-1px);
}
.btn.danger {
  color: #ffb0ad;
  background: #371d1e;
  border-color: #683435;
}
.btn.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}
.btn.small {
  min-height: 31px;
  padding: 5px 10px;
  font-size: 11px;
}
.btn.wide {
  width: 100%;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat {
  background: linear-gradient(125deg, #111e16, #0e1712);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}
.stat-icon {
  background: #1d3023;
  border: 1px solid #2c4132;
  border-radius: 8px;
  padding: 7px;
  color: #85cba0;
}
.stat-value {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 600;
  margin: 11px 0 4px;
  line-height: 1.3;
}
.stat-foot {
  font-size: 11px;
  color: #799184;
}
.stat-foot b {
  color: #93c6a4;
  font-weight: 500;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 22px;
  margin-bottom: 24px;
}
.grid.equal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
  overflow: hidden;
}
.panel-head {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 {
  font-size: 14px;
  letter-spacing: 0;
}
.panel-head p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.panel-body {
  padding: 22px;
}
.panel + .panel {
  margin-top: 20px;
}
.grid > .panel + .panel {
  margin-top: 0;
}
.panel-foot {
  padding: 13px 22px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border: 1px solid #324237;
  border-radius: 5px;
  background: #17241b;
  color: #aebeb3;
  white-space: nowrap;
  text-transform: capitalize;
}
.badge.success {
  background: #14362470;
  color: #85e3a4;
  border-color: #28563a;
}
.badge.warning {
  background: #4c371c50;
  color: #e7c58a;
  border-color: #63502b;
}
.badge.error {
  background: #44232970;
  color: #efa1a7;
  border-color: #693c42;
}
.badge.info {
  background: #1d334c70;
  color: #92c8f4;
  border-color: #2e4c6b;
}
.badge.purple {
  background: #30244070;
  color: #c5aae9;
  border-color: #514068;
}
.notice {
  border: 1px solid #30503a;
  background: #19362450;
  border-radius: 9px;
  padding: 14px 17px;
  color: #b8d8c3;
  font-size: 12px;
  margin-bottom: 22px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.notice.warning {
  border-color: #594b2b;
  background: #49391c30;
  color: #d9c79d;
}
.notice.error {
  border-color: #69343d;
  background: #441d2c30;
  color: #eda5ae;
}
.notice a {
  color: var(--green);
  text-decoration: underline;
}
.notice strong {
  font-weight: 600;
}
.split-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 12px;
}
.meter {
  height: 6px;
  border-radius: 8px;
  background: #203026;
  overflow: hidden;
}
.meter > span {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: 8px;
}
.usage-block {
  margin-top: 20px;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 11px;
  color: #a9c0b1;
  font-size: 12px;
}
.checklist li {
  display: flex;
  gap: 9px;
}
.checklist svg {
  color: var(--green);
  margin-top: 2px;
}
.section-gap {
  margin-top: 24px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  font-weight: 500;
  color: #829c8c;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: #0b140e;
  padding: 12px 20px;
  white-space: nowrap;
}
td {
  padding: 15px 20px;
  border-top: 1px solid #1f3026;
  color: #c8d7cd;
  vertical-align: middle;
}
td .sub {
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}
td .clip {
  max-width: 230px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
tr:hover td {
  background: #18251c30;
}
.table-empty {
  padding: 38px;
  text-align: center;
  color: var(--muted);
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.search {
  max-width: 320px;
  width: 100%;
}
.empty {
  text-align: center;
  padding: 45px 24px;
  color: var(--muted);
}
.empty svg {
  margin: 0 auto 15px;
  color: #6caa80;
}
.empty h3 {
  color: var(--text);
  margin-bottom: 7px;
}
.empty p {
  font-size: 12px;
  max-width: 370px;
  margin: auto auto 18px;
}
.bar-chart {
  height: 220px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 14px 2px;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 46px,
    #1d2e2340 47px,
    #1d2e2340 48px
  );
}
.chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}
.bar-group {
  height: 160px;
  display: flex;
  gap: 3px;
  align-items: flex-end;
  width: 60%;
  min-width: 16px;
}
.bar {
  background: linear-gradient(0deg, #215638, #65d08b);
  border-radius: 4px 4px 0 0;
  min-height: 2px;
  width: 100%;
}
.bar.sandbox {
  background: linear-gradient(0deg, #2b3f65, #7d9dcf);
}
.chart-label {
  font-size: 10px;
  color: #819888;
  margin-top: 12px;
}
.chart-number {
  font-size: 10px;
  color: #a6c4b1;
  margin-bottom: 5px;
}
.legend {
  display: flex;
  gap: 15px;
  color: var(--muted);
  font-size: 10px;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #58c583;
}
.legend .blue {
  background: #7195cf;
}
.activity {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.activity:last-child {
  border: 0;
}
.activity-icon {
  padding: 8px;
  border-radius: 8px;
  background: #1b3022;
  color: #90bd9e;
}
.activity p {
  font-size: 12px;
}
.activity small {
  color: var(--muted);
  font-size: 10px;
}
.activity .time {
  margin-left: auto;
  white-space: nowrap;
  color: var(--muted);
  font-size: 10px;
}
.steps {
  display: grid;
  gap: 17px;
}
.step {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.step > span {
  width: 25px;
  height: 25px;
  border: 1px solid #3b5444;
  color: #98caaa;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}
.step p {
  font-size: 12px;
  font-weight: 500;
}
.step small {
  font-size: 11px;
  color: var(--muted);
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #bdcfc3;
  font-size: 12px;
  font-weight: 500;
}
input,
textarea,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #304237;
  border-radius: 8px;
  background: #09120c;
  color: var(--text);
  padding: 10px 12px;
  outline: none;
  font-weight: 400;
  font-size: 12px;
}
input::placeholder,
textarea::placeholder {
  color: #5f7869;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #6cae80;
  box-shadow: 0 0 0 3px #49c3740b;
}
textarea {
  resize: vertical;
  min-height: 104px;
}
input[type='checkbox'] {
  min-height: 0;
  width: 15px;
  height: 15px;
  accent-color: var(--green);
}
input[type='color'] {
  padding: 3px;
  height: 42px;
}
input[readonly] {
  color: #a4b9ac;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-stack {
  display: grid;
  gap: 19px;
}
.field-help {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}
.checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.form-error {
  color: #ffadb1;
  font-size: 12px;
  white-space: pre-line;
}
.form-error:empty {
  display: none;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}
.code-block {
  position: relative;
  border: 1px solid #294232;
  border-radius: 9px;
  background: #08130c;
  overflow: hidden;
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  border-bottom: 1px solid #263c2d;
  color: #92ab9b;
  font-size: 11px;
}
.code-block pre {
  margin: 0;
  padding: 17px;
  font-size: 11px;
  line-height: 1.9;
  overflow: auto;
  color: #a7d5b7;
  tab-size: 2;
  max-height: 430px;
}
.key-secret {
  word-break: break-all;
  border: 1px solid #45623e;
  border-radius: 8px;
  background: #112518;
  padding: 15px;
  color: #b5f1c3;
  font-size: 12px;
  user-select: all;
  margin: 14px 0;
}
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(380px, 0.95fr) 1.05fr;
}
.auth-story {
  padding: 45px 60px;
  position: relative;
  background: radial-gradient(ellipse at 30% 45%, #24563755, transparent 65%), #0c1610;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.auth-story:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(#5b94661a 1px, transparent 1px),
    linear-gradient(90deg, #5b94661a 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(transparent, #000, transparent);
}
.auth-story > * {
  z-index: 1;
  position: relative;
}
.auth-story h1 {
  font-size: 45px;
  line-height: 1.16;
  max-width: 460px;
  letter-spacing: -2px;
}
.auth-story h1 span {
  color: var(--green);
}
.auth-story p {
  color: #9eb6a6;
  margin-top: 20px;
  max-width: 400px;
  font-size: 14px;
}
.auth-story .story-code {
  margin-top: 35px;
  font-size: 12px;
  color: #9cecb5;
  border: 1px solid #395d4266;
  padding: 22px;
  background: #0b190fee;
  border-radius: 12px;
  max-width: 430px;
  line-height: 2;
  overflow: auto;
}
.auth-story footer {
  font-size: 11px;
  color: #6d8977;
}
.auth-main {
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.auth-box {
  width: 100%;
  max-width: 390px;
}
.auth-box h1 {
  font-size: 27px;
}
.auth-box .intro {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
  margin-bottom: 30px;
}
.auth-box .links {
  font-size: 12px;
  text-align: center;
  color: var(--muted);
  margin-top: 23px;
}
.auth-box .links a,
.text-link {
  color: #9addb0;
}
.password-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.password-label a {
  font-size: 10px;
  color: var(--muted);
}
.auth-mobile-brand {
  display: none;
}
.public-header {
  height: 80px;
  max-width: 1180px;
  margin: auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.public-header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.public-main {
  max-width: 1120px;
  margin: auto;
  padding: 55px 28px 80px;
}
.public-footer {
  border-top: 1px solid var(--line);
  padding: 25px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}
.pricing-toggle {
  display: flex;
  border: 1px solid var(--line-bright);
  border-radius: 9px;
  padding: 4px;
  background: #0b140e;
  width: fit-content;
  gap: 4px;
}
.pricing-toggle button {
  padding: 7px 18px;
  font-size: 12px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
}
.pricing-toggle button.active {
  background: #223a2a;
  color: #b9efc8;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.plan-card {
  padding: 25px;
  border: 1px solid var(--line-bright);
  border-radius: 12px;
  background: var(--surface);
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-card.featured {
  border-color: #51b370;
  background: linear-gradient(145deg, #18362380, #0f1d14);
}
.plan-card .ribbon {
  position: absolute;
  top: -12px;
  left: 22px;
  font-size: 9px;
  background: #65da8b;
  color: #092611;
  border-radius: 4px;
  padding: 3px 9px;
  font-weight: 700;
  letter-spacing: 0.7px;
}
.plan-card h2 {
  font-size: 18px;
}
.plan-card > p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 20px;
  min-height: 38px;
}
.plan-price {
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -1px;
  line-height: 1.3;
}
.plan-price small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}
.plan-card .checklist {
  flex: 1;
}
.plan-caption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.payment-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.7px;
}
.payment-brand b {
  color: #ff8329;
  font-size: 27px;
}
.definition {
  display: grid;
  gap: 17px;
}
.definition > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
}
.definition dt {
  color: var(--muted);
}
.definition dd {
  margin: 0;
  max-width: 65%;
  text-align: right;
  overflow-wrap: anywhere;
}
.order-total {
  font-size: 30px;
  font-weight: 650;
  color: #d8f7e1;
  letter-spacing: -1px;
  margin: 12px 0;
}
.session-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.session-card {
  padding: 20px;
}
.session-card .session-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.session-card p {
  color: var(--muted);
  font-size: 11px;
  margin: 10px 0;
}
.session-card .session-id {
  font-size: 9px;
  word-break: break-all;
  color: #6d9379;
  margin-bottom: 16px;
}
.qr {
  display: block;
  width: 260px;
  max-width: 100%;
  margin: 20px auto;
  background: #fff;
  border-radius: 8px;
}
.widget-preview {
  min-height: 330px;
  background: radial-gradient(ellipse at top right, #30473650, transparent 65%), #101a14;
  position: relative;
  padding: 20px;
}
.browser-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 25px;
}
.browser-dots i {
  background: #42554a;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.preview-skeleton {
  height: 9px;
  background: #293b2f;
  border-radius: 5px;
  margin-bottom: 11px;
}
.preview-chat {
  position: absolute;
  bottom: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #50de84;
  color: #092511;
  padding: 13px 17px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 12px;
  box-shadow: 0 8px 30px #0005;
  max-width: 85%;
}
.preview-label {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-size: 9px;
  letter-spacing: 1px;
  color: #637f6c;
}
.docs-layout {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 50px;
}
.docs-nav {
  position: sticky;
  top: 25px;
  height: fit-content;
  display: grid;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.docs-nav a:hover {
  color: var(--green);
}
.docs-content section {
  margin-bottom: 44px;
  scroll-margin-top: 30px;
}
.docs-content h2 {
  font-size: 22px;
  margin-bottom: 13px;
}
.docs-content p {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0;
}
.docs-content code:not(pre code) {
  background: #1b3021;
  color: #a7d7b8;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 11px;
}
.docs-content ul {
  color: var(--muted);
  font-size: 13px;
  padding-left: 20px;
}
.docs-content .code-block {
  margin: 16px 0;
}
.conversation {
  display: grid;
  gap: 14px;
  padding: 22px;
  max-height: 480px;
  overflow: auto;
}
.bubble {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px;
  background: #132018;
}
.bubble.admin {
  border-color: #35553d;
  background: #1b352250;
}
.bubble p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-top: 9px;
  font-size: 13px;
}
.bubble-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
}
dialog {
  color: var(--text);
  width: min(580px, calc(100vw - 32px));
  border: 1px solid #3c5847;
  border-radius: 14px;
  padding: 0;
  background: #101b14;
  box-shadow: 0 30px 100px #0009;
  max-height: 90vh;
}
dialog::backdrop {
  background: #010704aa;
  backdrop-filter: blur(5px);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 18px;
}
.modal-body {
  padding: 24px;
}
.modal-body > p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 18px;
}
#toasts {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 100;
  width: min(380px, calc(100vw - 40px));
  display: grid;
  gap: 10px;
}
.toast {
  background: #1c3827;
  border: 1px solid #41694e;
  color: #d9f5e1;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 12px;
  box-shadow: 0 12px 50px #0007;
}
.toast.error {
  background: #381e24;
  border-color: #78424e;
  color: #ffd4d4;
}
.menu-toggle {
  display: none;
}
.sidebar-overlay {
  display: none;
}
.inline-result {
  margin-top: 18px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
}
.receipt-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 35px;
}
.nowrap {
  white-space: nowrap;
}
.space-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.mt {
  margin-top: 20px;
}
.mb {
  margin-bottom: 20px;
}
.mb-sm {
  margin-bottom: 12px;
}
.break {
  overflow-wrap: anywhere;
}
@media (min-width: 1550px) {
  .main {
    padding-top: 45px;
  }
}
@media (max-width: 1180px) {
  .sidebar {
    width: 220px;
    padding: 24px 12px;
  }
  .shell {
    margin-left: 220px;
  }
  .main {
    padding: 28px 24px 60px;
  }
  .topbar {
    padding: 0 24px;
  }
  .stat {
    padding: 16px;
  }
  .stat-value {
    font-size: 26px;
  }
  .grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  }
  .session-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .auth-story {
    padding: 40px;
  }
  .auth-story h1 {
    font-size: 38px;
  }
  .plan-card {
    padding: 19px;
  }
  .plan-price {
    font-size: 28px;
  }
}
@media (max-width: 950px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid,
  .grid.equal {
    grid-template-columns: 1fr;
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .plan-card > p {
    min-height: 0;
  }
  .auth-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .auth-story {
    padding: 32px;
  }
  .auth-story h1 {
    font-size: 31px;
  }
  .auth-story .story-code {
    font-size: 10px;
  }
  .status-indicator {
    display: none;
  }
  .top-actions {
    gap: 12px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    width: 245px;
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-overlay.open {
    display: block;
    position: fixed;
    inset: 0;
    background: #0009;
    z-index: 30;
  }
  .shell {
    margin-left: 0;
  }
  .menu-toggle {
    display: grid;
  }
  .topbar {
    height: 62px;
    padding: 0 18px;
  }
  .main {
    padding: 25px 18px 60px;
  }
  .page-head {
    align-items: flex-start;
    margin-bottom: 22px;
  }
  .page-head h1 {
    font-size: 25px;
  }
  .page-head > .actions {
    max-width: 150px;
    justify-content: flex-end;
  }
  .top-actions .docs-link {
    display: none;
  }
  .breadcrumb {
    gap: 8px;
    font-size: 11px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 15px;
  }
  .stat-top {
    font-size: 11px;
  }
  .stat-icon {
    padding: 5px;
  }
  .stat-value {
    font-size: 25px;
  }
  .stat-foot {
    font-size: 10px;
  }
  .panel-head {
    padding: 17px;
  }
  .panel-body {
    padding: 17px;
  }
  .grid {
    gap: 17px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-story {
    display: none;
  }
  .auth-main {
    min-height: 100vh;
    padding: 35px 25px;
  }
  .auth-mobile-brand {
    display: block;
    margin-bottom: 45px;
  }
  .public-header {
    height: 70px;
    padding: 0 20px;
  }
  .public-header nav {
    gap: 13px;
  }
  .public-header .brand {
    font-size: 13px;
  }
  .public-main {
    padding: 34px 18px 65px;
  }
  .public-header nav > a:not(.btn) {
    display: none;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .docs-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }
  .session-grid {
    grid-template-columns: 1fr;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .search {
    max-width: 100%;
  }
  .page-head .btn {
    font-size: 10px;
    min-height: 34px;
    padding: 7px 10px;
  }
  .auth-box h1 {
    font-size: 28px;
  }
  .top-actions {
    gap: 6px;
  }
  .bar-chart {
    gap: 8px;
  }
  .panel-foot {
    padding: 12px 17px;
  }
  .receipt-heading {
    flex-wrap: wrap;
  }
  .definition > div {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .sidebar,
  .topbar,
  .public-header,
  .public-footer,
  #toasts,
  .no-print,
  .skip {
    display: none !important;
  }
  .shell {
    margin: 0;
  }
  .main,
  .public-main {
    padding: 10px;
    max-width: 100%;
  }
  body {
    background: white;
    color: black;
  }
  .panel {
    border: 1px solid #ddd;
    background: white;
  }
  .muted,
  td,
  dt {
    color: #444;
  }
  .btn {
    display: none;
  }
  .notice {
    background: #eee;
    color: #333;
  }
  .receipt-heading h1 {
    color: black;
  }
}
[hidden] {
  display: none !important;
}
.sidebar {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #304a38 transparent;
}
.sidebar > .brand,
.workspace-pill,
.sidebar nav,
.sidebar-bottom {
  flex-shrink: 0;
}
.sidebar .brand {
  font-size: 14px;
}
.sidebar-bottom {
  padding-top: 16px;
}
.sidebar-help {
  margin-top: 12px;
}
.sidebar .user-chip {
  padding-bottom: 0;
}
