*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: #0a0a0a;
  color: #e4e4e7;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.7;
  min-height: 100vh;
  padding: 0;
}
main {
  display: flex;
  flex-direction: column;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ── Typography ── */
a { color: #22c55e; text-decoration: none; transition: color 0.15s; }
a:hover, a:focus { color: #4ade80; text-decoration: underline; }
a:focus-visible { outline: 2px solid #22c55e; outline-offset: 2px; }
p a, li a, td a { text-decoration: underline; text-decoration-color: rgba(34,197,94,0.35); text-underline-offset: 3px; }
h1, h2, h3 { color: #fafafa; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: 1.625rem; margin-bottom: 1rem; line-height: 1.3; }
h2 { font-size: 1.125rem; margin: 2.5rem 0 0.75rem; }
p { margin-bottom: 1rem; }
strong { color: #fafafa; }
em { color: #a1a1aa; font-style: italic; }

/* ── Code ── */
code, pre {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
  font-family: inherit;
  font-size: 0.8125rem;
}
pre {
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin-bottom: 1rem;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
}
.prompt::before { content: '$ '; color: #22c55e; }

/* ── Colors ── */
.dim { color: #a1a1aa; }
.green { color: #22c55e; }
.red { color: #ef4444; }
.yellow { color: #eab308; }
.white { color: #fafafa; }
.heading-anchor { text-decoration:underline; text-decoration-color:transparent; text-underline-offset:2px; transition:text-decoration-color 0.15s; }
.heading-anchor:hover, .heading-anchor:focus-visible { text-decoration-color:#a1a1aa; }
hr { border: none; border-top: 1px solid #27272a; margin: 2.5rem 0; }

/* ── Forms ── */
input, select, button {
  font-family: inherit;
  font-size: 0.875rem;
  background: #18181b;
  color: #e4e4e7;
  border: 1px solid #27272a;
  border-radius: 8px;
  padding: 0.625rem 1rem;
  min-height: 44px;
  width: 100%;
  display: block;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
input:hover, select:hover { border-color: #3f3f46; }
input:focus, select:focus, button:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
input::placeholder { color: #52525b; }
button {
  background: #22c55e;
  color: #0a0a0a;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
button:hover { background: #16a34a; box-shadow: 0 0 20px rgba(34, 197, 94, 0.2); }
button:active { transform: scale(0.98); }
button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-secondary {
  background: transparent;
  color: #e4e4e7;
  border: 1px solid #3f3f46;
}
.btn-secondary:hover { border-color: #22c55e; color: #22c55e; background: rgba(34, 197, 94, 0.05); }
.btn-logout {
  background: transparent;
  color: #a1a1aa;
  border: none;
  padding: 0;
  min-height: auto;
  width: auto;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  cursor: pointer;
  box-shadow: none;
  transition: color 0.15s;
}
.btn-logout:hover { color: #22c55e; }
label { display: block; margin-bottom: 0.375rem; color: #a1a1aa; font-size: 0.8125rem; font-weight: 500; }
.field { margin-bottom: 1.25rem; }

/* ── Cards ── */
.card {
  background: #111113;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: #3f3f46; }

/* ── Layout ── */
.row { display: flex; gap: 1rem; flex-wrap: wrap; }
.row > * { flex: 1; min-width: 200px; }

/* ── Tables ── */
table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: 0.8125rem; }
th, td { border: 1px solid #27272a; padding: 0.625rem 0.875rem; text-align: left; }
th { background: #18181b; color: #22c55e; font-weight: 700; }
tr:hover td { background: rgba(34, 197, 94, 0.03); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1rem; border-radius: 8px; }
.table-wrap table { margin-bottom: 0; border-radius: 8px; overflow: hidden; }

/* ── Navigation ── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #27272a;
  position: relative;
  order: -1;
}
.nav-brand { font-weight: 700; color: #fafafa; font-size: 1.05rem; transition: color 0.15s; }
.nav-brand:hover { color: #22c55e; text-decoration: none; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: #a1a1aa; font-size: 0.8125rem; }
.nav-links a:hover { color: #fafafa; text-decoration: none; }
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #e4e4e7;
  cursor: pointer;
  padding: 0.5rem;
  min-height: auto;
  width: auto;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1;
}
.nav-toggle svg { display: block; }
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #111113;
    border: 1px solid #27272a;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    flex-direction: column;
    gap: 0;
    min-width: 180px;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-links span { padding: 0.5rem 0; }
  .nav-links a { border-bottom: 1px solid #1a1a1e; }
  .nav-links > :last-child { border-bottom: none; }
  .nav-links > a:last-child { border-bottom: none; }
  .nav-links form { padding: 0.5rem 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; align-items: center !important; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}

/* ── Utilities ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.error { color: #ef4444; font-size: 0.8125rem; margin-top: 0.25rem; }

/* ── Flash / Alerts ── */
.flash {
  padding: 0.875rem 1.25rem;
  border: 1px solid;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.flash-success { border-color: rgba(34, 197, 94, 0.3); color: #4ade80; background: rgba(34, 197, 94, 0.08); }
.flash-error { border-color: rgba(239, 68, 68, 0.3); color: #f87171; background: rgba(239, 68, 68, 0.08); }

/* ── Responsive ── */
@media (min-width: 1200px) {
  main { max-width: 1080px; padding: 2.5rem 3rem; }
}
@media (min-width: 1600px) {
  main { max-width: 1200px; }
}
@media (max-width: 480px) {
  main { padding: 1.25rem 1rem; }
  h1 { font-size: 1.25rem; }
  .row { flex-direction: column; }
}

/* ── Pricing Grid ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.pricing-grid .card {
  margin-bottom: 0;
  position: relative;
  text-align: center;
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
}
.pricing-grid .card:hover { border-color: #3f3f46; box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.pricing-grid .card.popular { border-color: #22c55e; box-shadow: 0 0 30px rgba(34, 197, 94, 0.08); }
.pricing-badge {
  position: absolute; top: -0.6rem; left: 50%; transform: translateX(-50%);
  background: #22c55e; color: #0a0a0a; font-size: 0.625rem; font-weight: 700;
  padding: 0.15rem 0.625rem; text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: 4px;
}
.tier-features { list-style: none; padding: 0; margin: 0.875rem 0 1rem; text-align: left; }
.tier-features li {
  font-size: 0.8125rem; color: #a1a1aa; padding: 0.25rem 0; padding-left: 1.25rem; position: relative;
}
.tier-features li::before { content: '✓'; position: absolute; left: 0; color: #22c55e; font-weight: 700; }

/* ── Feature cards (landing) ── */
.feature-item {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid #1a1a1e;
}
.feature-item:last-child { border-bottom: none; }
.feature-icon { color: #22c55e; font-size: 1rem; flex-shrink: 0; margin-top: 0.15rem; }
.feature-item p { margin: 0; }

/* ── Glow CTA ── */
.cta-glow {
  display: inline-block;
  background: #22c55e;
  color: #0a0a0a;
  font-weight: 700;
  padding: 0.875rem 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: background 0.15s, box-shadow 0.2s, transform 0.1s;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
}
.cta-glow:hover { background: #16a34a; box-shadow: 0 0 30px rgba(34, 197, 94, 0.3); text-decoration: none; color: #0a0a0a; transform: translateY(-1px); }
.cta-glow:active { transform: translateY(0); }

/* ── Steps ── */
.steps { counter-reset: step; }
.steps .step {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 0.875rem 0;
  border-bottom: 1px solid #1a1a1e;
}
.steps .step:last-child { border-bottom: none; }
.steps .step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 1.75rem; height: 1.75rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}
.steps .step p { margin: 0; }

/* ── Tabs ── */
.tab-bar { display: flex; gap: 0; border-bottom: 1px solid #27272a; margin-bottom: 1.5rem; }
.tab-btn {
  background: transparent; border: none; border-bottom: 2px solid transparent;
  color: #a1a1aa; padding: 0.75rem 1.25rem; cursor: pointer; font-weight: 600;
  font-size: 0.8125rem; transition: color 0.15s, border-color 0.15s;
  min-height: auto; width: auto; display: inline-block; border-radius: 0;
  text-transform: none; letter-spacing: normal;
}
.tab-btn:hover { color: #e4e4e7; }
.tab-btn.active { color: #22c55e; border-bottom-color: #22c55e; }
.qs-panel { animation: fadeIn 0.15s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Footer links ── */
.footer-links a { color: #a1a1aa; transition: color 0.15s; text-decoration: none; }
.footer-links a:hover { color: #d4d4d8; }

/* ── Theme toggle button ── */
.theme-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #27272a;
  background: transparent;
  color: #a1a1aa;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
  padding: 0;
  margin-left: 0.5rem;
  /* Override base button styles */
  min-height: auto;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
}
.theme-toggle:hover {
  border-color: #3f3f46;
  color: #e4e4e7;
  background: transparent;
  transform: none;
  box-shadow: none;
}
.theme-toggle:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}
.theme-toggle:active { transform: none; }
.theme-toggle svg { width: 16px; height: 16px; display: block; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

@media (prefers-reduced-motion: reduce) {
  .theme-toggle { transition: none; }
}

/* ── Auth page elements ── */
.auth-divider { background: #27272a; }
.pw-strength-track { background: #27272a; }
.restore-dialog { border: 1px solid #27272a; background: #09090b; }
.media-card { border: 1px solid #27272a; }

/* ── Light theme overrides ── */
:root { color-scheme: dark; }
[data-theme="light"] { color-scheme: light; }

[data-theme="light"] body { background: #fafafa !important; color: #18181b !important; }
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3 { color: #18181b !important; }
[data-theme="light"] strong { color: #18181b !important; }
[data-theme="light"] em { color: #636369 !important; }
[data-theme="light"] p { color: #3f3f46 !important; }
[data-theme="light"] li { color: #3f3f46 !important; }
[data-theme="light"] a { color: #15803d !important; }
[data-theme="light"] a:hover { color: #166534 !important; }
[data-theme="light"] hr { border-color: #e4e4e7 !important; }

[data-theme="light"] .dim { color: #636369 !important; }
[data-theme="light"] .green { color: #15803d !important; }
[data-theme="light"] .red { color: #b91c1c !important; }
[data-theme="light"] .yellow { color: #854d0e !important; }
[data-theme="light"] .white { color: #18181b !important; }

[data-theme="light"] .card { background: #f4f4f5 !important; border-color: #d4d4d8 !important; color: #3f3f46 !important; }
[data-theme="light"] .card p { color: #3f3f46 !important; }
[data-theme="light"] .card .white { color: #18181b !important; }
[data-theme="light"] .card .green { color: #15803d !important; }
[data-theme="light"] .card .dim { color: #636369 !important; }
[data-theme="light"] .card.popular { border-color: #15803d !important; box-shadow: 0 0 30px rgba(21,128,61,0.08) !important; }
[data-theme="light"] .card:hover { border-color: #a1a1aa !important; box-shadow: 0 4px 24px rgba(0,0,0,0.08) !important; }

[data-theme="light"] pre { background: #f4f4f5 !important; border-color: #d4d4d8 !important; color: #18181b !important; }
[data-theme="light"] code { background: #f4f4f5 !important; color: #3f3f46 !important; }
[data-theme="light"] pre code { background: transparent !important; color: inherit !important; }
[data-theme="light"] .prompt::before { color: #15803d !important; }

[data-theme="light"] table { background: #ffffff !important; }
[data-theme="light"] thead { background: #f4f4f5 !important; }
[data-theme="light"] th { color: #18181b !important; border-color: #e4e4e7 !important; background: #f4f4f5 !important; }
[data-theme="light"] td { border-color: #e4e4e7 !important; color: #3f3f46 !important; }
[data-theme="light"] tr { border-color: #e4e4e7 !important; }
[data-theme="light"] tr:hover td { background: rgba(21,128,61,0.03) !important; }
[data-theme="light"] .table-wrap { background: #ffffff !important; border-color: #e4e4e7 !important; }

[data-theme="light"] .heading-anchor { color: #a1a1aa !important; }

[data-theme="light"] .steps .step { border-color: #e4e4e7 !important; }
[data-theme="light"] .steps .step::before { background: rgba(21,128,61,0.1) !important; color: #15803d !important; }

[data-theme="light"] .arch { border-color: rgba(21,128,61,0.15) !important; background: rgba(21,128,61,0.02) !important; }
[data-theme="light"] .arch-box { background: #ffffff !important; border-color: #d4d4d8 !important; }
[data-theme="light"] .arch-box-title { color: #18181b !important; }
[data-theme="light"] .arch-box-sub { color: #71717a !important; }
[data-theme="light"] .arch-gateway { background: #fafafa !important; border-color: rgba(21,128,61,0.3) !important; }
[data-theme="light"] .arch-gateway .arch-box-title { color: #15803d !important; }
[data-theme="light"] .arch-inner-box { background: rgba(21,128,61,0.03) !important; border-color: #d4d4d8 !important; }
[data-theme="light"] .arch-store { background: #ffffff !important; border-color: #d4d4d8 !important; }
[data-theme="light"] .arch-arrow-line { background: #15803d !important; }
[data-theme="light"] .arch-arrow svg { fill: #15803d !important; }
[data-theme="light"] .arch-arrow-fan::before { background: #15803d !important; }
[data-theme="light"] .arch-tagline { color: #71717a !important; }
[data-theme="light"] .arch-tagline strong { color: #3f3f46 !important; }

[data-theme="light"] .flash-success { background: #f0fdf4 !important; border-color: #bbf7d0 !important; color: #18181b !important; }
[data-theme="light"] .flash-error { background: #fef2f2 !important; border-color: #fecaca !important; color: #991b1b !important; }

/* ── Light theme: nav ── */
[data-theme="light"] .nav { border-color: #e4e4e7 !important; }
[data-theme="light"] .nav-brand { color: #18181b !important; }
[data-theme="light"] .nav-brand:hover { color: #15803d !important; }
[data-theme="light"] .nav-links a { color: #3f3f46 !important; }
[data-theme="light"] .nav-links a:hover { color: #15803d !important; }
[data-theme="light"] .nav-toggle { background: #f4f4f5 !important; border-color: #d4d4d8 !important; color: #52525b !important; }
@media (max-width: 640px) {
  [data-theme="light"] .nav-links { background: #ffffff !important; border-color: #d4d4d8 !important; box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important; }
  [data-theme="light"] .nav-links a { border-bottom-color: #e4e4e7 !important; }
}

/* ── Light theme: footer ── */
[data-theme="light"] footer { border-color: #e4e4e7 !important; color: #636369 !important; }
[data-theme="light"] footer a { color: #15803d !important; }
[data-theme="light"] .footer-links a { color: #636369 !important; }
[data-theme="light"] .footer-links a:hover { color: #18181b !important; }

/* ── Light theme: pricing ── */
[data-theme="light"] .pricing-badge { background: #15803d !important; color: #ffffff !important; }
[data-theme="light"] .tier-features li { color: #3f3f46 !important; }
[data-theme="light"] .tier-features li::before { color: #15803d !important; }

/* ── Light theme: feature cards ── */
[data-theme="light"] .feature-item { border-color: #e4e4e7 !important; }
[data-theme="light"] .feature-icon { color: #15803d !important; }

/* ── Light theme: CTA ── */
[data-theme="light"] .cta-glow { background: #15803d !important; color: #ffffff !important; box-shadow: 0 0 20px rgba(21,128,61,0.15) !important; }
[data-theme="light"] .cta-glow:hover { background: #166534 !important; color: #ffffff !important; box-shadow: 0 0 30px rgba(21,128,61,0.25) !important; }

/* ── Light theme: tabs ── */
[data-theme="light"] .tab-bar { border-color: #e4e4e7 !important; }
[data-theme="light"] .tab-btn { color: #636369 !important; background: transparent !important; }
[data-theme="light"] .tab-btn:hover { color: #18181b !important; }
[data-theme="light"] .tab-btn.active { color: #15803d !important; border-bottom-color: #15803d !important; }

/* ── Light theme: forms ── */
[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea { background: #ffffff !important; color: #18181b !important; border-color: #d4d4d8 !important; }
[data-theme="light"] label { color: #52525b !important; }
[data-theme="light"] input::placeholder { color: #a1a1aa !important; }
[data-theme="light"] input:hover,
[data-theme="light"] select:hover { border-color: #a1a1aa !important; }
[data-theme="light"] input:focus,
[data-theme="light"] select:focus { border-color: #15803d !important; box-shadow: 0 0 0 3px rgba(21,128,61,0.15) !important; }
/* NOTE: No !important on button overrides — inline styles on custom buttons
   (logout, copy-md, nav toggle) must be able to win the cascade. */
[data-theme="light"] button { background: #15803d; color: #ffffff; }
[data-theme="light"] button:hover { background: #166534; box-shadow: 0 0 20px rgba(21,128,61,0.2); }
[data-theme="light"] .btn-secondary { background: transparent !important; color: #3f3f46 !important; border-color: #d4d4d8 !important; }
[data-theme="light"] .btn-secondary:hover { border-color: #15803d !important; color: #15803d !important; background: rgba(21,128,61,0.05) !important; }
[data-theme="light"] .btn-logout { color: #636369 !important; background: transparent !important; }
[data-theme="light"] .btn-logout:hover { color: #15803d !important; background: transparent !important; }
[data-theme="light"] .error { color: #b91c1c !important; }
[data-theme="light"] .auth-divider { background: #d4d4d8 !important; }
[data-theme="light"] .pw-strength-track { background: #e4e4e7 !important; }
[data-theme="light"] .restore-dialog { background: #ffffff !important; border-color: #d4d4d8 !important; }
[data-theme="light"] .media-card { border-color: #d4d4d8 !important; }

/* ── Light theme: keys / console page ── */
[data-theme="light"] .console-greeting { color: #18181b !important; }
[data-theme="light"] .console-greeting .prompt::before { color: #15803d !important; }
[data-theme="light"] .ws-card { background: #f4f4f5 !important; border-color: #d4d4d8 !important; }
[data-theme="light"] .ws-card:hover { border-color: #a1a1aa !important; }
[data-theme="light"] .ws-card-name { color: #18181b !important; }
[data-theme="light"] .ws-card-meta { color: #636369 !important; }
[data-theme="light"] .ws-card-meta select { background: #ffffff !important; border-color: #d4d4d8 !important; }
[data-theme="light"] .ws-experiments { border-top-color: #e4e4e7 !important; }
[data-theme="light"] .usage-track { background: #e4e4e7 !important; }
[data-theme="light"] .tier-badge { background: rgba(0,0,0,0.03) !important; }
[data-theme="light"] .key-card { border-left-color: #15803d !important; }
[data-theme="light"] .key-card.key-new { border-color: #15803d !important; background: rgba(21,128,61,0.04) !important; }
[data-theme="light"] .setup-step h3 { color: #18181b !important; }

/* ── Light theme: pricing CTA buttons ── */
[data-theme="light"] .pricing-grid .card.popular > a { background: #15803d !important; color: #ffffff !important; }
[data-theme="light"] .pricing-grid .card:not(.popular) > a:not([href*="mailto"]) { border-color: #15803d !important; }

/* ── Light theme: pricing card muted & strong text ── */
[data-theme="light"] .pricing-grid .card p[style],
[data-theme="light"] .pricing-grid + .card p[style],
[data-theme="light"] .pricing-grid + .card span { color: #636369 !important; }
[data-theme="light"] .pricing-grid .card strong[style],
[data-theme="light"] .pricing-grid + .card strong { color: #18181b !important; }

/* ── Light theme: landing page muted text ── */
[data-theme="light"] .hero-sub,
[data-theme="light"] .trust-strip,
[data-theme="light"] .pillar-desc,
[data-theme="light"] .qs-intro,
[data-theme="light"] .qs-note,
[data-theme="light"] .qs-note strong,
[data-theme="light"] .callout span,
[data-theme="light"] .pricing-intro,
[data-theme="light"] .final-cta p,
[data-theme="light"] .btn-outline { color: #636369 !important; }
[data-theme="light"] .hero-sub strong,
[data-theme="light"] .callout strong,
[data-theme="light"] .pillar-title strong,
[data-theme="light"] .final-cta .cta-lead strong { color: #18181b !important; }
[data-theme="light"] .btn-outline { border-color: #d4d4d8 !important; }
[data-theme="light"] .btn-outline:hover { border-color: #15803d !important; color: #15803d !important; }
[data-theme="light"] .pillar { border-top-color: #15803d !important; }
[data-theme="light"] .callout,
[data-theme="light"] .steps-card { background: #f4f4f5 !important; border-color: #e4e4e7 !important; }
[data-theme="light"] .arch-diagram { background: #f8faf9 !important; border-color: rgba(21,128,61,0.2) !important; }
[data-theme="light"] .arch-diagram pre { color: #3f3f46 !important; }

/* ── Light theme: download button ── */
[data-theme="light"] a[download] { background: #ffffff !important; border-color: #d4d4d8 !important; color: #52525b !important; }

/* ── Light theme: toggle button ── */
[data-theme="light"] .theme-toggle { background: transparent !important; border-color: #d4d4d8 !important; color: #52525b !important; }
[data-theme="light"] .theme-toggle:hover { background: transparent !important; border-color: #a1a1aa !important; color: #18181b !important; box-shadow: none !important; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ── Light theme: file browser page ── */
[data-theme="light"] .dir-table th { color: #636369 !important; border-bottom-color: #e4e4e7 !important; }
[data-theme="light"] .vrow { border-color: #e4e4e7 !important; }
[data-theme="light"] .vrow:hover { border-color: #a1a1aa !important; }
[data-theme="light"] .vrow-actions button { border-color: #d4d4d8 !important; color: #636369 !important; }
[data-theme="light"] .vrow-actions button:hover { border-color: #a1a1aa !important; color: #18181b !important; }
[data-theme="light"] .vcmp-bar .sel-label { color: #636369 !important; }
[data-theme="light"] .version-preview { border-color: #e4e4e7 !important; }
[data-theme="light"] .version-preview h4 { color: #636369 !important; }
[data-theme="light"] .deleted { color: #636369 !important; }
[data-theme="light"] .btn-visibility { border-color: #d4d4d8 !important; color: #636369 !important; }
[data-theme="light"] #search-input { background: #ffffff !important; border-color: #d4d4d8 !important; color: #18181b !important; }
[data-theme="light"] .load-more { border-color: #d4d4d8 !important; color: #15803d !important; }
[data-theme="light"] .share-panel { border-color: #e4e4e7 !important; }
[data-theme="light"] .share-url { background: #f4f4f5 !important; border-color: #d4d4d8 !important; color: #18181b !important; }
[data-theme="light"] .btn-share { border-color: #d4d4d8 !important; color: #15803d !important; }
[data-theme="light"] .share-exp-note { color: #636369 !important; }
[data-theme="light"] .breadcrumb .sep { color: #636369 !important; }
[data-theme="light"] .dl-btn { border-color: #d4d4d8 !important; color: #636369 !important; }
[data-theme="light"] .meta-row { color: #636369 !important; }
[data-theme="light"] .ws-switcher select { background: #ffffff !important; border-color: #d4d4d8 !important; color: #18181b !important; }
[data-theme="light"] .item-count { color: #636369 !important; }
[data-theme="light"] .last-activity { color: #636369 !important; }
[data-theme="light"] .g { color: #636369 !important; }
[data-theme="light"] .drop-zone { border-color: #d4d4d8 !important; }
[data-theme="light"] .drop-zone:hover { border-color: #a1a1aa !important; }
[data-theme="light"] .drop-zone p { color: #636369 !important; }
[data-theme="light"] .drop-zone .drop-hint { color: #636369 !important; }
[data-theme="light"] .upload-item .upload-pending { color: #636369 !important; }

/* ── Light theme: E2B demo page ── */
[data-theme="light"] .e2b-header p { color: #636369 !important; }
[data-theme="light"] .e2b-logos .logo-sep { color: #d4d4d8 !important; }
[data-theme="light"] .e2b-prop span { color: #636369 !important; }
[data-theme="light"] .demo-terminal { border-color: #d4d4d8 !important; }
[data-theme="light"] .demo-bar { background: #f4f4f5 !important; border-bottom-color: #d4d4d8 !important; }
[data-theme="light"] .demo-bar-title { color: #636369 !important; }
[data-theme="light"] .btn-reset { color: #636369 !important; border-color: #d4d4d8 !important; }

/* ── Light theme: orgs page ── */
[data-theme="light"] .org-row { background: #f4f4f5 !important; border-color: #d4d4d8 !important; }
[data-theme="light"] .org-row:hover { border-color: #a1a1aa !important; }
[data-theme="light"] .badge-member { color: #636369 !important; border-color: #d4d4d8 !important; }
