 :root {
  --bg: #f8fcfa;
  --bg2: #f1f8f4;
  --bg3: #ecf6f1;
  --bg4: #e4f3eb;
  --border: rgba(40,90,72,0.18);
  --border2: rgba(40,90,72,0.30);
  --text: #000000;
  --text2: #000000;
  --text3: #000000;

  --accent: #091413;
  --accent2: #285A48;
  --accent3: #408A71;
  --accent4: #B0E4CC;

  --accentbg: rgba(64,138,113,0.14);
  --accentborder: rgba(40,90,72,0.28);

  --green: #285A48;
  --red: #ef4444;
  --blue: #408A71;
  --radius: 12px;

/* Code block theme */
--codebox-bg: var(--bg3);
--codebox-border: var(--border);
--codetop-bg: var(--bg4);
--codetop-border: var(--border);
--code-text: #000000;
--code-muted: #000000;
--code-btn-border: var(--border2);
--code-btn-text: #000000;
--code-btn-hover-border: var(--accentborder);
--code-btn-hover-text: #000000;
--code-tab-active-bg: var(--accentbg);
  /* Theme tokens */
  --card-bg: rgba(255,255,255,0.92);
  --card-border: rgba(40,90,72,0.20);
  --card-hover-border: rgba(40,90,72,0.34);
  --chip-bg: rgba(176,228,204,0.34);
  --chip-border: rgba(40,90,72,0.16);
  --input-bg: rgba(255,255,255,0.96);
  --input-border: rgba(40,90,72,0.18);
  --btn-bg: rgba(176,228,204,0.28);
  --btn-border: rgba(40,90,72,0.18);
  --btn-text: var(--text);
  --modal-bg: #ffffff;
  --modal-border: rgba(40,90,72,0.16);
  --shadow: 0 16px 40px rgba(9,20,19,0.08);
  --icon: #000000;
  --free-limit-live-dot: #285A48;
  --free-limit-live-dot-glow: rgba(40,90,72,.18);
  --free-limit-progress-track: rgba(176,228,204,.22);
  --free-limit-progress-border: rgba(64,138,113,.34);
  --free-limit-progress-fill-start: rgba(9,20,19,.96);
  --free-limit-progress-fill-end: rgba(64,138,113,.88);
  --free-limit-progress-fill-shadow: rgba(40,90,72,.24);
  --free-limit-progress-knob: rgba(255,255,255,.96);
  --free-limit-progress-knob-shadow: rgba(176,228,204,.18);
}

[data-theme="dark"] {
  --bg: #091413;
  --bg2: #0d1c19;
  --bg3: #102520;
  --bg4: #153028;
  --border: rgba(176,228,204,0.14);
  --border2: rgba(64,138,113,0.28);
  --text: #ffffff;
  --text2: #ffffff;
  --text3: #ffffff;

  --accent: #091413;
  --accent2: #285A48;
  --accent3: #408A71;
  --accent4: #B0E4CC;

  --accentbg: rgba(64,138,113,0.18);
  --accentborder: rgba(176,228,204,0.24);

  --green: #408A71;
  --red: #ef4444;
  --blue: #B0E4CC;
  --radius: 12px;

--codebox-bg: #102520;
--codebox-border: #18342d;
--codetop-bg: #0d1c19;
--codetop-border: #18342d;
--code-text: #ffffff;
--code-muted: #ffffff;
--code-btn-border: #18342d;
--code-btn-text: #ffffff;
--code-btn-hover-border: #B0E4CC;
--code-btn-hover-text: #ffffff;
--code-tab-active-bg: rgba(64,138,113,.18);
  /* Theme tokens */
  --card-bg: rgba(176,228,204,0.05);
  --card-border: rgba(176,228,204,0.14);
  --card-hover-border: rgba(64,138,113,0.34);
  --chip-bg: rgba(176,228,204,0.08);
  --chip-border: rgba(176,228,204,0.14);
  --input-bg: rgba(4,10,9,0.46);
  --input-border: rgba(176,228,204,0.18);
  --btn-bg: rgba(176,228,204,0.08);
  --btn-border: rgba(176,228,204,0.16);
  --btn-text: #ffffff;
  --modal-bg: #0d1c19;
  --modal-border: rgba(176,228,204,0.16);
  --shadow: 0 18px 54px rgba(0,0,0,0.46);
  --icon: #ffffff;
  --free-limit-live-dot: #408A71;
  --free-limit-live-dot-glow: rgba(64,138,113,.22);
  --free-limit-progress-track: rgba(176,228,204,.10);
  --free-limit-progress-border: rgba(64,138,113,.28);
  --free-limit-progress-fill-start: rgba(40,90,72,.94);
  --free-limit-progress-fill-end: rgba(176,228,204,.78);
  --free-limit-progress-fill-shadow: rgba(9,20,19,.22);
  --free-limit-progress-knob: rgba(255,255,255,.92);
  --free-limit-progress-knob-shadow: rgba(64,138,113,.16);
}

[data-theme="light"] {
  /* Ensure consistent light theme variables */
  --bg: #f8fcfa;
  --bg2: #f1f8f4;
  --bg3: #ecf6f1;
  --bg4: #e4f3eb;
  --border: rgba(40,90,72,0.18);
  --border2: rgba(40,90,72,0.30);
  --text: #000000;
  --text2: #000000;
  --text3: #000000;
  --accent: #091413;
  --accent2: #285A48;
  --accentbg: rgba(64,138,113,0.14);
  --accentborder: rgba(40,90,72,0.28);
  --card-bg: rgba(255,255,255,0.92);
  --card-border: rgba(40,90,72,0.20);
  --card-hover-border: rgba(40,90,72,0.34);
  --chip-bg: rgba(176,228,204,0.34);
  --chip-border: rgba(40,90,72,0.16);
  --input-bg: rgba(255,255,255,0.96);
  --input-border: rgba(40,90,72,0.18);
  --btn-bg: rgba(176,228,204,0.28);
  --btn-border: rgba(40,90,72,0.18);
  --btn-text: var(--text);
  --modal-bg: #ffffff;
  --modal-border: rgba(40,90,72,0.16);
  --shadow: 0 16px 40px rgba(9,20,19,0.08);
  --icon: #000000;
  --free-limit-live-dot: #285A48;
  --free-limit-live-dot-glow: rgba(40,90,72,.18);
  --free-limit-progress-track: rgba(176,228,204,.22);
  --free-limit-progress-border: rgba(64,138,113,.34);
  --free-limit-progress-fill-start: rgba(9,20,19,.96);
  --free-limit-progress-fill-end: rgba(64,138,113,.88);
  --free-limit-progress-fill-shadow: rgba(40,90,72,.24);
  --free-limit-progress-knob: rgba(255,255,255,.96);
  --free-limit-progress-knob-shadow: rgba(176,228,204,.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  min-height: 100vh;
  transition: background 0.25s, color 0.25s;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left { display: flex; align-items: center; gap: 10px; }

.pp {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.brand { font-weight: 700; font-size: 15px; }

.header-right { display: flex; align-items: center; gap: 8px; }

.free-key-status{
  font-size: 12px;
  font-weight: 800;
  color: var(--text2);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border2);
  background: rgba(255,255,255,.06);
  white-space: nowrap;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
}

.hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  transition: background 0.2s;
}

[data-theme="dark"] .hamburger span { background: var(--text); }
[data-theme="light"] .hamburger span { background: var(--text); }
.hamburger:hover span { background: var(--accent); }

/* Center modal menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,8,12,.96);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 250;
  padding: 18px;
}

.menu-overlay.open { display: flex; }

.menu-modal {
  width: min(420px, 92vw);
  border-radius: 16px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
  overflow: hidden;
}

.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-bottom: 1px solid var(--border2);
}

.menu-title { font-weight: 600; color: var(--text); }

.menu-body { padding: 10px; display: grid; gap: 8px; }

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  background: var(--bg3);
  border: 1px solid transparent;
  transition: transform .12s ease, border-color .12s ease;
}

.menu-item:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.theme-btn {
  background: var(--bg3);
  border: 1px solid var(--border2);
  color: var(--text2);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s;
}

.theme-btn:hover { border-color: var(--text); color: var(--text); }

.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px 20px 28px;
  text-align: center;
}

.hero-avatar { margin-bottom: 14px; }

.hero-avatar img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: 0 0 28px rgba(212,160,23,0.35);
}

.hero h1 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }

.hero p { color: var(--text2); font-size: 14px; margin-bottom: 18px; }

.hero-socials {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 18px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid var(--border2);
  background: var(--bg3);
  color: var(--text2);
  transition: all 0.2s;
}

.social-link:hover { transform: translateY(-2px); }
.social-link.youtube:hover { background: #ff0000; border-color: #ffffff; color: #ffffff; }
.social-link.github:hover { background: #24292e; border-color: #24292e; color: #ffffff; }
.social-link.whatsapp:hover { background: #25d366; border-color: #25d366; color: #ffffff; }

.stat-pill {
  background: var(--bg3);
  border: 1px solid var(--border2);
  color: var(--text2);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.stat-pill.green {
  border-color: rgba(40,90,72,0.35);
  color: var(--text);
  background: rgba(40,90,72,0.08);
}

.main {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.search-wrap {
  position: relative;
  margin-bottom: 24px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text3);
  font-size: 13px;
}

#searchInput {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 11px 16px 11px 38px;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

#searchInput:focus { border-color: var(--text); }
#searchInput::placeholder { color: var(--text3); }

#noResults {
  text-align: center;
  padding: 48px 20px;
  color: var(--text3);
}

.no-res-icon { font-size: 32px; margin-bottom: 10px; display: block; }

.cat-group { margin-bottom: 12px; }

.cat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.cat-card:hover { border-color: var(--accentborder); }

.cat-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
}

.cat-btn-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cat-icon {
  width: 36px;
  height: 36px;
  background: var(--accentbg);
  border: 1px solid var(--accentborder);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text);
}

.cat-name {
  font-weight: 600;
  font-size: 14px;
  text-transform: capitalize;
}

.cat-count {
  background: var(--accentbg);
  border: 1px solid var(--accentborder);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

.cat-chev {
  color: var(--text3);
  font-size: 15px;
  transition: transform 0.25s;
}

.cat-chev.open { transform: rotate(180deg); }

.cat-body {
  display: none;
  border-top: 1px solid var(--border);
}

.cat-body.open { display: block; }

.ep-item {
  border-bottom: 1px solid var(--border);
}

.ep-item:last-child { border-bottom: none; }

.ep-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  transition: background 0.15s;
}

.ep-btn:hover { background: var(--bg3); }

.ep-btn-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mbadge {
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 5px;
  letter-spacing: 0.5px;
}

.mGET { background: rgba(64,138,113,0.15); color: var(--text); border: 1px solid rgba(64,138,113,0.3); }
.mPOST { background: rgba(40,90,72,0.15); color: var(--text); border: 1px solid rgba(40,90,72,0.3); }
.mDELETE { background: rgba(239,68,68,0.15); color: var(--text); border: 1px solid rgba(239,68,68,0.3); }

.ep-info { text-align: left; }

.ep-path {
  font-family: 'Fira Code', monospace;
  font-size: 12px;
  color: var(--text);
  display: block;
}

.ep-sub {
  font-size: 11px;
  color: var(--text2);
  display: block;
  margin-top: 1px;
}

.ep-chev {
  color: var(--text3);
  font-size: 14px;
  transition: transform 0.25s;
}

.ep-chev.open { transform: rotate(180deg); }

.ep-body {
  display: none;
  padding: 18px 18px 20px;
  background: var(--bg3);
  border-top: 1px solid var(--border);
}

.ep-body.open { display: block; }

.ep-desc {
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 16px;
  line-height: 1.6;
}

.try-panel { margin-top: 0; }

.try-head {
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.try-head i { color: var(--text); }

.field { margin-bottom: 12px; }

.flabel {
  font-size: 11px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 5px;
}

.req { color: var(--text); margin-left: 3px; }

.fi {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Fira Code', monospace;
  outline: none;
  transition: border-color 0.2s;
}

.fi:focus { border-color: var(--text); }
.fi::placeholder { color: var(--text3); }

.fhint {
  font-size: 11px;
  color: var(--text3);
  margin-top: 4px;
}

.form-acts {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.btn-exec {
  background: var(--accent);
  border: none;
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-exec:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-exec:active { transform: translateY(0); }

.btn-clr {
  background: none;
  border: 1px solid var(--border2);
  color: var(--text2);
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.2s;
}

.btn-clr:hover { border-color: var(--text); color: var(--text); }

.curl-section {
  margin-top: 18px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.code-box {
  background: var(--codebox-bg);
  border: 1px solid var(--codebox-border);
  border-radius: 10px;
  overflow: hidden;
}

.code-topbar {
  background: var(--codetop-bg);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--codetop-border);
}

.code-dots { display: flex; gap: 6px; }

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.code-lang {
  font-size: 11px;
  color: var(--text);
  font-family: 'Fira Code', monospace;
}



.code-tabs{display:flex;gap:6px;align-items:center;flex:1;justify-content:center;flex-wrap:wrap;}
.tab-btn{background:transparent;border:1px solid var(--code-btn-border);color:var(--code-btn-text);padding:3px 10px;border-radius:999px;font-size:11px;cursor:pointer;transition:all .15s ease;font-family:'Outfit',sans-serif;}
.tab-btn:hover{border-color:var(--code-btn-hover-border);color:var(--code-text);}
.tab-btn.active{background:var(--code-tab-active-bg);border-color:var(--code-btn-hover-border);color:var(--code-text);}
@media (max-width:520px){.code-tabs{justify-content:flex-start}.code-topbar{gap:10px;flex-wrap:wrap}}
.copy-btn {
  background: none;
  border: 1px solid var(--code-btn-border);
  color: var(--code-btn-text);
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 11px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.2s;
}

.copy-btn:hover { border-color: var(--code-btn-hover-border); color: var(--code-btn-hover-text); }

.code-content {
  padding: 7px 12px;
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
  color: var(--code-text);
}

.tk-dollar { color: #cba6f7; }
.tk-cmd { color: #89b4fa; font-weight: 600; }
.tk-flag { color: #89dceb; }
.tk-method { color: #f9e2af; font-weight: 700; }
.tk-url { color: #a6e3a1; }
.tk-qs { color: #cdd6f4; }
.tk-pkey { color: #89b4fa; }
.tk-pval { color: #fab387; }
.tk-jkey { color: #89b4fa; }
.tk-jval { color: #fab387; }
.tk-jstr { color: #a6e3a1; }
.tk-jbool { color: #89dceb; }
.tk-jnum { color: #fab387; }
.tk-jnull { color: #f38ba8; }
.tk-punct { color: #cdd6f4; }

.res-wrap {
  margin-top: 16px;
  display: none;
}

.res-section { margin-bottom: 12px; }

.res-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.res-block-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.res-code-content {
  display:block;
  min-width:0;
  max-width:100%;
  padding: 14px 16px;
  font-family: 'Fira Code', monospace;
  font-size: 12.5px;
  line-height: 1.8;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-height: 320px;
  color: var(--text);
}
.res-code-content span{overflow-wrap:anywhere;word-break:break-word}

/* Biar kontras di light mode */
[data-theme="light"] .res-code-content {
  color: #111827;
}

.res-img {
  max-width: 100%;
  border-radius: 6px;
  margin: 12px 0;
}

.spin-ring {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--border2);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin { to { transform: rotate(360deg); } }

.res-loader {
  padding: 14px 16px;
  font-family: 'Fira Code', monospace;
  font-size: 12px;
  color: var(--text2);
  display: flex;
  align-items: center;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: opacity 0.3s;
}

.toast.hidden { opacity: 0; pointer-events: none; }
.toast i { color: var(--text); }

@media (max-width: 600px) {
  .hero { padding: 32px 16px 22px; }
  .main { padding: 0 16px 60px; }
  .ep-btn { padding: 12px 14px; }
  .ep-body { padding: 14px 14px 16px; }
  .cat-btn { padding: 12px 14px; }
}


/* API Key card */
.apikey-card{
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 14px;
  margin: 8px 0 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.apikey-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;}
.apikey-title{font-weight:700;font-size:14px;letter-spacing:.2px;}
.apikey-sub{font-size:12.5px;color:var(--text2);margin-top:4px;line-height:1.4}
.apikey-sub code{background:var(--bg3);border:1px solid var(--border);padding:2px 6px;border-radius:8px}
.apikey-row{display:flex;gap:10px;align-items:center;margin-top:12px;flex-wrap:wrap}
.apikey-row input{
  flex:1 1 260px;
  padding: 10px 12px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  color: var(--text);
  border-radius: 12px;
  outline: none;
}
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--accentborder);
  background: var(--accentbg);
  color: var(--text);
  cursor:pointer;
  text-decoration: none;
}
.btn.small{padding:8px 10px}
.btn.icon{width:40px;height:40px;justify-content:center;padding:0}
.btn.ghost{background:transparent;border:1px solid var(--border2);opacity:.95}
.btn:hover{transform: translateY(-1px);transition:.15s}
.apikey-hint{margin-top:10px;font-size:12px;color:var(--text2)}


.key-result{
  margin-top: 10px;
  border: 1px solid var(--border);
  background: var(--bg3);
  border-radius: 14px;
  padding: 12px;
}
.kr-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.kr-title{font-weight:900}
.kr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.kr-item{border:1px solid var(--border);background:var(--bg2);border-radius:12px;padding:10px}
.kr-k{font-size:11px;letter-spacing:.6px;text-transform:uppercase;color:var(--text3);font-weight:800}
.kr-v{margin-top:6px;font-weight:800;color:var(--text)}
@media (max-width:520px){.kr-grid{grid-template-columns:1fr}}


/* API key hint badges */
.kbadge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;font-weight:800;font-size:12px;border:1px solid var(--border);background:var(--bg3);}
.kbadge.ok{background:rgba(40,90,72,.15);border-color:rgba(40,90,72,.35);color:var(--green);} 
.kbadge.bad{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.3);color:var(--red);} 
.kbadge.warn{background:rgba(245,158,11,.14);border-color:rgba(245,158,11,.35);color:#b45309;} 
.kbadge.exp{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.3);color:var(--red);} 
.sep{opacity:.55;margin:0 6px;}



/* =========================
   Landing HERO Responsive + Strong Glow
   ========================= */
html, body { overflow-x: hidden; }

.wrapper{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.landing{ position: relative; z-index: 2; }

.landing .hero{
  /* override old centered hero */
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 22px 70px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  text-align: left;
  position: relative;
  isolation: isolate;
}

/* Stronger glow background */
.landing .hero::before,
.landing .hero::after{
  content:"";
  position:absolute;
  inset:-180px;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(700px 420px at 18% 25%, rgba(64,138,113,.38), transparent 60%),
    radial-gradient(760px 440px at 85% 22%, rgba(40,90,72,.28), transparent 62%),
    radial-gradient(980px 560px at 50% 62%, rgba(9,20,19,.20), transparent 66%);
  filter: blur(34px);
  opacity: .95;
}
.landing .hero::after{
  inset:-240px;
  filter: blur(62px);
  opacity: .55;
}

.landing .hero-title{
  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 18px 0 14px;
}

.landing .hero-sub{
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 560px;
}

/* Buttons wrap nicely on small screens */
.landing .cta{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* Preview card bigger + glow */
.landing .preview{
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.landing .preview::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: 22px;
  z-index:-1;
  background: linear-gradient(135deg,
    rgba(64,138,113,.22),
    rgba(40,90,72,.18),
    rgba(9,20,19,.12)
  );
  filter: blur(22px);
  opacity: .95;
}

.landing .terminal pre{
  white-space: pre-wrap;
  word-break: break-word;
}

/* Remove accidental overflow from chips */
.chip-anim-wrapper{ max-width: 100%; }

/* Better spacing to next section */
.landing section + section{ margin-top: 20px; }

/* Mobile */
@media (max-width: 920px){
  .landing .hero{
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 90px 18px 55px;
    text-align: left;
  }
  .landing .preview{ margin: 0; max-width: 100%; }
  .chip-anim{ max-width: 100%; }
}

@media (max-width: 480px){
  .landing .hero-title{ font-size: 34px; }
  .landing .hero-sub{ font-size: 15.5px; }
  .landing .preview{ border-radius: 18px; }
}


/* API Key bar */
.kr-barwrap{border:1px solid var(--border);background:var(--bg2);border-radius:12px;padding:10px}
.kr-barhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.kr-barlabel{font-size:12px;color:var(--text2);font-weight:800}
.kr-barmeta{font-size:12px;color:var(--text3);font-weight:800}
.kr-bar{height:12px;border-radius:999px;background:var(--chip-bg);overflow:hidden;position:relative}
.kr-bar > span{display:block;height:100%;width:0%;border-radius:999px;background:linear-gradient(90deg, rgba(9,20,19,.95), rgba(64,138,113,.85));box-shadow:0 0 18px rgba(9,20,19,.45)}
.kr-barfoot{display:flex;justify-content:space-between;gap:10px;margin-top:8px;font-size:12px;color:var(--text3);font-weight:700}


/* =========================
   Docs Auth + New Layout
   ========================= */
.docs-body { background:var(--bg); color:var(--text); overflow-x:hidden; }
.auth-root{
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  padding:24px;
}
.auth-card{
  width:100%; max-width:440px;
  border:1px solid var(--btn-border);
  background:var(--card-bg);
  border-radius:22px;
  padding:18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}
.auth-card-inline{ max-width:520px; margin:24px auto; }
.auth-brand{ display:flex; gap:12px; align-items:center; margin-bottom:16px; }
.auth-logo{
  width:46px; height:46px; border-radius:16px;
  background: linear-gradient(135deg, rgba(9,20,19,.22), rgba(64,138,113,.10));
  border:1px solid rgba(9,20,19,.35);
  display:flex; align-items:center; justify-content:center;
}
.auth-title{ font-size:18px; font-weight:700; }
.auth-sub{ font-size:13px; opacity:.78; margin-top:2px; }
.auth-form{ display:flex; flex-direction:column; gap:10px; }
.auth-label{ font-size:12px; opacity:.85; }
.auth-input{
  width:100%;
  border-radius:14px;
  border:1px solid var(--input-border);
  background:var(--input-bg);
  padding:12px 12px;
  color:var(--text);
  outline:none;
}
.auth-input:focus{ border-color: rgba(9,20,19,.55); box-shadow:0 0 0 3px rgba(9,20,19,.15); }
.auth-primary{
  margin-top:4px;
  border-radius:14px;
  border:1px solid rgba(9,20,19,.55);
  background: linear-gradient(135deg, rgba(9,20,19,.95), rgba(64,138,113,.55));
  color:var(--text); padding:12px 14px; cursor:pointer; font-weight:700;
}
.auth-primary i{ margin-right:8px; }
.auth-or{ display:flex; align-items:center; gap:10px; margin:10px 0; opacity:.8; }
.auth-or::before,.auth-or::after{ content:""; height:1px; flex:1; background:var(--border); }
.auth-or span{ font-size:12px; }
.auth-links{ display:flex; justify-content:space-between; gap:8px; margin-top:6px; }
.auth-link{ background:none; border:none; color:rgba(9,20,19,.95); cursor:pointer; padding:0; font-size:12px; }
.auth-foot{ margin-top:14px; font-size:12px; opacity:.7; text-align:center; }
.auth-error{
  margin-top:6px;
  border:1px solid rgba(248,113,113,.35);
  background:rgba(248,113,113,.10);
  padding:10px 12px; border-radius:14px;
  color:#fecaca; font-size:12px;
}
.auth-pass{ position:relative; display:flex; align-items:center; }
.auth-eye{
  position:absolute; right:10px; top:50%; transform:translateY(-50%);
  border:none; background:none; color:var(--text2); cursor:pointer;
  padding:6px 8px;
}
.modal{ position:fixed; inset:0; background:rgba(0,0,0,.68); display:none; align-items:center; justify-content:center; padding:18px; z-index:2147483000; isolation:isolate; }
.modal[aria-hidden="false"]{ display:flex; }
.modal-card{
  box-shadow: var(--shadow);
  width:100%; max-width:520px;
  border:1px solid var(--btn-border);
  background:var(--modal-bg);
  border-radius:22px;
  padding:16px;
}
body.modal-open{overflow:hidden}
.report-modal-card{
  width:min(760px, calc(100vw - 24px));
  max-width:min(760px, calc(100vw - 24px));
  max-height:calc(100vh - 32px);
  overflow:auto;
  position:fixed;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
}
.report-form{margin-top:10px}
.report-endpoint-box{
  display:grid;
  gap:6px;
  padding:14px 16px;
  border:1px solid var(--btn-border);
  background:rgba(255,255,255,.03);
  border-radius:18px;
  margin-bottom:12px;
}
.report-endpoint-label{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--text2)}
.report-endpoint-name{font-size:18px;font-weight:800;color:var(--text)}
.report-endpoint-path{
  display:block;
  padding:10px 12px;
  border-radius:14px;
  background:var(--panel-2);
  border:1px solid var(--line);
  font-family:"Fira Code", monospace;
  font-size:12px;
  color:var(--text);
  word-break:break-all;
}
.report-textarea{
  width:100%;
  min-height:160px;
  resize:vertical;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid var(--btn-border);
  background:var(--input-bg);
  color:var(--text);
  font:inherit;
  line-height:1.6;
  outline:none;
}
.report-textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(245,158,11,.12)}
.report-file-list{display:grid;gap:10px;margin-top:12px}
.report-file-item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--line);
  background:var(--panel-2);
}
.report-file-meta{display:grid;gap:4px;min-width:0}
.report-file-name{font-weight:700;word-break:break-word}
.report-file-size{font-size:12px;color:var(--text2)}
.report-warning{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px 16px;
  margin-top:14px;
  border-radius:18px;
  border:1px solid rgba(248,113,113,.28);
  background:rgba(248,113,113,.10);
  color:#fecaca;
}
.report-warning i{margin-top:2px}
.report-warning p{margin:4px 0 0;color:inherit;font-size:13px;line-height:1.6}
.report-warning--soft{
  border-color:rgba(148,163,184,.25);
  background:rgba(148,163,184,.08);
  color:var(--text);
}
.report-actions{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}
.report-confirm-info{display:grid;gap:14px}
.report-confirm-title{font-size:18px;font-weight:800}
.report-confirm-info p{margin:0;color:var(--text2);line-height:1.6}
.report-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.report-summary-item{
  display:grid;
  gap:6px;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid var(--line);
  background:var(--panel-2);
  min-width:0;
}
.report-summary-item span{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--text2)}
.report-summary-item b{font-size:14px;word-break:break-word;color:var(--text)}
.report-summary-item pre{
  margin:0;
  white-space:pre-wrap;
  word-break:break-word;
  font:inherit;
  color:var(--text);
}
.report-summary-item--full{grid-column:1 / -1}
.doc-json-panel{
  min-height:340px;
  padding:0;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel-2);
  overflow:hidden;
  text-align:left;
}
.doc-json-panel.is-empty{
  display:grid;
  place-items:center;
  padding:24px;
  border-style:dashed;
  background:transparent;
  color:var(--text2);
  text-align:center;
}
.res-code-content--json{
  margin:0;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel-2);
  white-space:pre;
  text-align:left;
  max-height:440px;
}
.doc-report-badge{
  border:none;
  cursor:pointer;
}
.doc-report-badge:hover{opacity:.92}
.doc-report-badge:focus-visible{
  outline:2px solid rgba(255,255,255,.65);
  outline-offset:2px;
}
.modal-head{ display:flex; justify-content:space-between; gap:12px; align-items:flex-start; margin-bottom:12px; }
.mh-title{ font-weight:800; font-size:16px; }
.mh-sub{ opacity:.75; font-size:12px; margin-top:3px; }

/* Docs app layout */
.docs-shell{ min-height:100vh; overflow-x:hidden; }
.docs-app{
  --docs-sidebar-width: clamp(264px, 24vw, 304px);
  min-height: calc(100vh - 74px);
  display:grid;
  grid-template-columns: var(--docs-sidebar-width) minmax(0,1fr);
  transition:grid-template-columns .24s ease;
}
.docs-app.sidebar-collapsed{ --docs-sidebar-width: 0px; }

/* Hide scrollbars but keep scroll */
.no-scrollbar{ scrollbar-width:none; -ms-overflow-style:none; }
.no-scrollbar::-webkit-scrollbar{ width:0; height:0; }
.docs-sidebar{
  color: var(--text);
  border-right:1px solid var(--card-border);
  background:var(--card-bg);
  padding:16px;
  position:sticky; top:0; height:100vh; overflow:auto;
  min-width:0;
  width:var(--docs-sidebar-width);
  max-width:100%;
  opacity:1;
  transform:translateX(0);
  pointer-events:auto;
  overflow-x:hidden;
  transition: width .24s ease, padding .24s ease, opacity .2s ease, transform .24s ease, border-color .24s ease;
}
.docs-app.sidebar-collapsed .docs-sidebar{
  width:0;
  padding:16px 0;
  border-right-color: transparent;
  opacity:0;
  transform:translateX(-18px);
  pointer-events:none;
}
.side-top{ display:flex; gap:10px; align-items:center; margin-bottom:14px; }
.side-apikey{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid var(--btn-border);
  background:var(--input-bg);
  margin-bottom:12px;
}
.sak-left{ display:flex; align-items:center; gap:8px; opacity:.9; font-size:12px; }
.sak-label{ font-weight:700; opacity:.85; }
.sak-right{ display:flex; align-items:center; gap:8px; min-width:0; }
.side-apikey code{
  font-family:"Fira Code", monospace;
  font-size:11px;
  background:var(--chip-bg);
  border:1px solid var(--btn-border);
  padding:3px 8px;
  border-radius:999px;
  max-width: 150px;
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 420px){
  .side-apikey code{ max-width: 120px; }
}

.side-logo{
  width:42px; height:42px; border-radius:14px;
  background:linear-gradient(135deg, rgba(9,20,19,.30), rgba(64,138,113,.10));
  border:1px solid rgba(9,20,19,.35);
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
  overflow:hidden;
  background-size:cover;
  background-position:center;
}
.sn-title{ font-weight:800; letter-spacing:.8px; }
.sn-sub{ font-size:12px; opacity:.7; }
.side-profile{
  width:100%; display:flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:16px;
  border:1px solid rgba(9,20,19,.30);
  background:rgba(9,20,19,.10);
  color: var(--text); cursor:pointer;
  margin-bottom:12px;
}
.side-search{
  display:flex; align-items:center; gap:10px;
  border:1px solid var(--btn-border);
  background:var(--btn-bg);
  border-radius:16px;
  padding:10px 12px;
  margin-bottom:12px;
}
.side-search input{ border:none; background:transparent; color:var(--text); outline:none; width:100%; }
.side-search i{ opacity:.7; }
.side-section{ margin-top:8px; }
.side-h{ font-size:12px; opacity:.7; margin:10px 0 8px; }
.side-cats{ display:flex; flex-direction:column; gap:8px; }
.side-cat{
  display:flex; justify-content:space-between; gap:10px; align-items:center;
  padding:10px 12px; border-radius:16px;
  border:1px solid var(--card-border);
  background:var(--card-bg);
  cursor:pointer;
}
.side-cat:hover{ border-color: rgba(9,20,19,.35); }
.sc-left{ display:flex; gap:10px; align-items:center; }
.sc-ic{ width:34px; height:34px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background:rgba(9,20,19,.12); border:1px solid rgba(9,20,19,.25);
}
.sc-name{ font-weight:650; }
.sc-count{ opacity:.7; font-size:12px; }
.side-bottom{ margin-top:16px; }
.side-logout{
  width:100%; display:flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:16px;
  border:1px solid var(--btn-border);
  background:var(--btn-bg);
  color:var(--text); cursor:pointer;
  margin-bottom:12px;
}
.docs-app.sidebar-collapsed .side-name,
.docs-app.sidebar-collapsed .side-apikey .sak-label,
.docs-app.sidebar-collapsed .side-apikey code,
.docs-app.sidebar-collapsed .side-profile span,
.docs-app.sidebar-collapsed .side-logout span,
.docs-app.sidebar-collapsed .side-search input,
.docs-app.sidebar-collapsed .side-h,
.docs-app.sidebar-collapsed .sc-meta,
.docs-app.sidebar-collapsed .fa-chevron-right{
  display:none !important;
}
.docs-app.sidebar-collapsed .side-top,
.docs-app.sidebar-collapsed .sak-left,
.docs-app.sidebar-collapsed .side-profile,
.docs-app.sidebar-collapsed .side-logout,
.docs-app.sidebar-collapsed .sc-left{
  justify-content:center;
}
.docs-app.sidebar-collapsed .side-apikey,
.docs-app.sidebar-collapsed .side-profile,
.docs-app.sidebar-collapsed .side-logout,
.docs-app.sidebar-collapsed .side-cat{
  padding-left:10px;
  padding-right:10px;
}
.docs-app.sidebar-collapsed .side-apikey{
  justify-content:center;
}
.docs-app.sidebar-collapsed .side-search{
  justify-content:center;
  padding-inline:10px;
}
.docs-app.sidebar-collapsed .sc-ic,
.docs-app.sidebar-collapsed .admin-nav-icon{
  margin:0;
}

.docs-main{
  color: var(--text); padding:18px 18px 28px; min-width:0; overflow-x:hidden; }
.docs-header{
  display:flex; justify-content:space-between; gap:14px; align-items:flex-start; flex-wrap:wrap;
  padding:14px 14px;
  border:1px solid var(--card-border);
  background:var(--card-bg);
  border-radius:22px;
}
.dh-title{ font-weight:850; font-size:18px; }
.dh-sub{ font-size:12px; opacity:.75; margin-top:3px; }
.dh-apikey{
  display:flex; gap:8px; align-items:center;
  border:1px solid var(--btn-border);
  background:var(--input-bg);
  padding:8px 10px; border-radius:999px;
  font-size:12px;
}
.dh-apikey code{
  font-family:"Fira Code", monospace;
  background:var(--chip-bg);
  padding:3px 8px; border-radius:999px;
}
.mini-copy{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;border:none;background:var(--chip-bg);border:1px solid var(--chip-border);color:var(--text2);cursor:pointer;padding:0 10px;border-radius:12px;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;}
.mini-copy:hover{background:rgba(9,20,19,.14);border-color:rgba(9,20,19,.3);color:var(--text);transform:translateY(-1px)}
.mini-copy:active{transform:translateY(0)}
.view{ margin-top:16px; }
.hero{ padding:18px 6px 8px; }
.hero-title{ font-size:34px; font-weight:900; letter-spacing:.2px; }
.hero-sub{ opacity:.75; font-weight:600; margin-top:4px; }

.cat-grid{
  margin-top:12px;
  display:grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap:12px;
}
.cat-tile{
  border:1px solid var(--card-border);
  background:var(--card-bg);
  border-radius:22px;
  padding:16px;
  cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:12px;
}
.cat-tile:hover{ border-color: rgba(9,20,19,.35); }
.ct-name{ font-weight:850; font-size:16px; }
.ct-count{ opacity:.75; font-size:12px; margin-top:4px; }
.ct-icon{
  width:46px; height:46px; border-radius:18px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(9,20,19,.12);
  border:1px solid rgba(9,20,19,.25);
  color:var(--text);
}

.view-head{ display:flex; align-items:center; gap:12px; margin-top:8px; margin-bottom:12px; }
.back-btn{
  border:1px solid var(--btn-border);
  background:var(--btn-bg);
  color:var(--text); cursor:pointer;
  padding:8px 12px; border-radius:999px;
}
.vh-title{ font-weight:900; font-size:18px; }

.ep-list{ display:flex; flex-direction:column; gap:10px; }
.ep-card{
  border:1px solid var(--card-border);
  background:var(--card-bg);
  border-radius:22px;
  overflow:hidden;
}
.ep-head{
  width:100%; border:none; background:transparent; color: var(--text);
  padding:14px 14px; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:10px;
}
.ep-left{ display:flex; gap:10px; align-items:flex-start; }
.ep-left > div{
  text-align:left;
}
.ep-method{
  font-weight:900; font-size:11px;
  padding:6px 10px; border-radius:999px;
  background:var(--chip-bg);
  border:1px solid var(--btn-border);
}
.ep-path{
  font-family:"Fira Code", monospace;
  font-size:12px;
  color: var(--text2);
}

.ep-name{
  font-size:16px;      /* lebih besar */
  font-weight:800;     /* bold */
  opacity:1;
  margin-bottom:4px;
}
.ep-name-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.doc-status-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  border:1px solid var(--btn-border);
  text-transform:lowercase;
}
.doc-status-badge.active{
  background:#16a34a;
  border-color:#16a34a;
  color:#ffffff;
  box-shadow:0 12px 28px rgba(22,163,74,.24);
}
.doc-status-badge.disabled{
  background:rgba(239,68,68,.10);
  border-color:rgba(239,68,68,.24);
  color:#fecaca;
}
.doc-exclusive-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:6px 11px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  text-transform:lowercase;
  border:1px solid rgba(245,158,11,.38);
  background:linear-gradient(135deg, rgba(245,158,11,.24), rgba(234,179,8,.12));
  color:#fbbf24;
  box-shadow:0 8px 20px rgba(245,158,11,.14);
}
.doc-exclusive-badge i{color:#f59e0b}
.maintenance-box{
  margin-top:10px;
  padding:16px;
  border-radius:18px;
  border:1px dashed var(--btn-border);
  background:var(--chip-bg);
}
.maintenance-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  margin-bottom:8px;
}
.maintenance-sub{
  color:var(--text2);
  line-height:1.7;
}
.ep-body{ display:none; padding:0 14px 14px; }
.ep-body.open{ display:block; }
.no-results{
  margin-top:14px; padding:18px;
  border:1px dashed var(--card-border);
  border-radius:22px;
  text-align:center;
  opacity:.85;
}
.profile-card{
  border:1px solid var(--card-border);
  background:var(--card-bg);
  border-radius:22px;
  padding:16px;
  max-width:620px;
}
.pc-row{ display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid var(--card-border); }
.pc-row:last-child{ border-bottom:none; }
.pc-label{ opacity:.75; }
.pc-val{ font-weight:700; }

/* -------- Profile (new) -------- */
.profile-wrap{max-width:980px}
.profile-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:6px 0 16px}
.ph-title{font-size:26px;font-weight:800;letter-spacing:.2px}
.ph-sub{opacity:.8;margin-top:4px}
.btn-upgrade{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:14px;background:var(--chip-bg);border:1px solid var(--chip-border);text-decoration:none;color:inherit}
.btn-upgrade:hover{background:rgba(9,20,19,0.12)}

.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.card{background:var(--chip-bg);border:1px solid var(--btn-border);border-radius:18px;padding:16px}
.card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.ch-left{display:flex;align-items:center;gap:10px;font-weight:700}
.ch-left i{opacity:.9}

.avatar-row{display:flex;align-items:center;gap:14px;margin-top:2px}
.avatar{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;font-weight:900;letter-spacing:.5px;background:linear-gradient(135deg, rgba(9,20,19,0.28), rgba(64,138,113,0.10));border:1px solid var(--card-border)}
.av-name{font-weight:800;font-size:16px}
.av-email{opacity:.8;margin-top:2px;font-size:13px}

.mini-rows{margin-top:14px;display:grid;gap:8px}
.mini-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:14px;background:var(--btn-bg);border:1px solid var(--card-border)}
.mini-row span{opacity:.85;display:flex;align-items:center;gap:8px}
.mini-row b{font-weight:800}

.countdown{margin-top:10px;padding:14px 12px;border-radius:16px;background:rgba(0,0,0,.28);border:1px solid var(--btn-border);text-align:center}
.cd-big{font-size:40px;font-weight:1000;letter-spacing:1px;line-height:1}
.cd-sub{opacity:.8;margin-top:6px;font-weight:800}
.cd-mini{margin-top:12px;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.cd-mini > div{min-width:90px;padding:10px 12px;border-radius:14px;background:var(--chip-bg);border:1px solid var(--card-border)}
.cd-mini span{font-size:18px;font-weight:900}
.cd-mini small{display:block;opacity:.75;margin-top:2px;font-weight:800}

.plan-row{display:flex;gap:12px;justify-content:space-between;margin-bottom:10px}
.plan-metric{flex:1;background:var(--btn-bg);border:1px solid var(--card-border);border-radius:14px;padding:12px}
.pm-title{opacity:.75;font-size:12px}
.pm-val{font-size:22px;font-weight:900;margin-top:4px}

.bar{height:10px;border-radius:999px;background:rgba(0,0,0,.28);border:1px solid var(--btn-border);overflow:hidden}
.bar-fill{height:100%;border-radius:999px;background:rgba(9,20,19,0.55)}
.bar-sub{margin-top:10px;display:flex;align-items:center;justify-content:space-between;opacity:.85}
.plan-access-balance{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid var(--card-border);
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
}
.plan-access-copy{display:grid;gap:4px;min-width:0}
.plan-access-label{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--text2)}
.plan-access-copy small{color:var(--text2);font-size:12px;line-height:1.45}
.plan-access-balance b{font-size:28px;font-weight:900;line-height:1;white-space:nowrap;color:var(--text)}

.key-box{background:var(--btn-bg);border:1px solid var(--card-border);border-radius:14px;padding:14px}
.key-help{opacity:.75;margin-bottom:10px}
.key-val{display:block;white-space:normal;overflow:hidden;overflow-wrap:anywhere;word-break:break-word;padding:10px 12px;border-radius:12px;background:var(--input-bg);border:1px solid var(--input-border)}

@media (max-width: 860px){
  .profile-grid{grid-template-columns:1fr}
  .profile-hero{align-items:flex-start;flex-direction:column}
  .plan-row{flex-direction:column}
  .plan-access-balance{align-items:flex-start;flex-direction:column}
  .plan-access-balance b{font-size:24px}
}

/* Responsive */
@media (max-width: 920px){
  .docs-app,
  .docs-app.sidebar-collapsed{ grid-template-columns: 1fr; }
  .docs-app{ min-height: calc(100vh - 74px); }
  .docs-sidebar{
    color: var(--text);
    position:relative;
    top:auto;
    width:auto;
    max-height:none;
    height:auto;
    border-right:none;
    border-bottom:1px solid var(--card-border);
    overflow:visible;
    opacity:1;
    transform:none;
    pointer-events:auto;
  }
  .docs-app.sidebar-collapsed .docs-sidebar{
    width:auto;
    max-height:0;
    height:0;
    padding:0;
    margin:0;
    border:0;
    opacity:0;
    overflow:hidden;
  }
}


/* Mobile overflow fixes */
.ep-path{ overflow-wrap:anywhere; word-break:break-word; }
.key-val{ white-space:normal; overflow-wrap:anywhere; word-break:break-word; }

/* Scroll-to-top floating button */
.scroll-top{
  position:fixed;
  right:16px;
  bottom:18px;
  width:44px;
  height:44px;
  border-radius:16px;
  border:1px solid var(--btn-border);
  background:var(--btn-bg);
  color:var(--text);
  display:none;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:60;
  backdrop-filter: blur(8px);
}
.scroll-top.show{ display:flex; }


/* Theme consistency for icons */
.fa, .fa-solid, .fa-regular, .fa-brands { color: inherit; }


/* Dark Modern Scrollbar */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0b0b0b;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,#1a1a1a,#0f0f0f);
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2a2a2a;
}


/* FreeLimit widgets */
.free-limit-panel{
  border:1px solid var(--border);
  background:
    radial-gradient(circle at top left, rgba(64,138,113,.18), transparent 34%),
    radial-gradient(circle at top right, rgba(9,20,19,.16), transparent 28%),
    linear-gradient(180deg,var(--bg2),var(--bg3));
  border-radius:22px;
  padding:20px;
  box-shadow:0 16px 40px rgba(0,0,0,.08);
}
.free-limit-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.free-limit-panel-title{display:flex;align-items:center;gap:10px;font-weight:900;font-size:18px}
.free-limit-live{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;border:1px solid var(--border);background:var(--bg2);font-size:12px;font-weight:800;color:var(--text2)}
.free-limit-live-dot{width:8px;height:8px;border-radius:999px;background:var(--free-limit-live-dot);box-shadow:0 0 0 6px var(--free-limit-live-dot-glow)}
.free-limit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.free-limit-stat{border:1px solid var(--border);background:linear-gradient(180deg,var(--bg2),rgba(255,255,255,.35));border-radius:18px;padding:15px;box-shadow:inset 0 1px 0 rgba(255,255,255,.12)}
.free-limit-stat-emphasis{border-color:var(--accentborder);background:linear-gradient(180deg, rgba(64,138,113,.18), rgba(9,20,19,.12));}
.free-limit-stat-reset{border-color:rgba(99,102,241,.18)}
.free-limit-stat-label{color:var(--text2);font-size:12px;font-weight:800;letter-spacing:.3px;text-transform:uppercase}
.free-limit-stat-value{margin-top:8px;font-size:26px;font-weight:900;line-height:1.1}
.free-limit-countdown{font-size:28px;letter-spacing:.02em}
.free-limit-stat-sub{margin-top:6px;color:var(--text2);font-size:12px;line-height:1.45}
.free-limit-progress{margin-top:16px;padding:14px 14px 12px;border:1px solid var(--border);background:rgba(255,255,255,.04);border-radius:18px}
.free-limit-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:var(--text2);font-size:12px;font-weight:700}
.free-limit-progress .bar{height:14px;border-radius:999px;position:relative;overflow:hidden;background:var(--free-limit-progress-track);border:1px solid var(--free-limit-progress-border)}
.free-limit-progress .bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg, var(--free-limit-progress-fill-start), var(--free-limit-progress-fill-end));box-shadow:0 0 0 1px rgba(255,255,255,.12) inset, 0 10px 18px var(--free-limit-progress-fill-shadow);position:relative;min-width:10px;transition:width .35s ease}
.free-limit-progress .bar span::after{content:'';position:absolute;top:50%;right:6px;width:10px;height:10px;border-radius:999px;background:var(--free-limit-progress-knob);transform:translateY(-50%);box-shadow:0 0 0 4px var(--free-limit-progress-knob-shadow)}
.free-limit-progress-meta{margin-top:10px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--text2);font-size:12px;font-weight:700;flex-wrap:wrap}
.free-limit-kpi .v{font-size:20px}
.free-limit-kpi .s{line-height:1.4}
@media (max-width: 760px){
  .free-limit-grid{grid-template-columns:1fr}
  .free-limit-panel{padding:16px}
  .free-limit-progress-meta{flex-direction:column;align-items:flex-start}
}


/* ===== Alyachan-like sidebar shell for docs/admin ===== */
.aly-shell{min-height:100vh;background:var(--bg)}
.aly-app{min-height:100vh;align-items:stretch}
.aly-sidebar{
  background:linear-gradient(180deg, rgba(4,7,11,.98), rgba(7,11,17,.98));
  border-right:1px solid rgba(255,255,255,.10);
  box-shadow:none;
}
.aly-side-inner{display:flex;flex-direction:column;min-height:100%;gap:14px}
.aly-brand{
  display:flex;align-items:center;gap:14px;
  min-height:78px;padding:8px 2px 18px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.aly-brand-logo{
  width:42px;height:42px;border-radius:12px;object-fit:cover;flex:0 0 auto;
  box-shadow:0 0 0 1px rgba(255,255,255,.08);
}
.aly-brand-copy{min-width:0}
.aly-brand-title{font-size:17px;font-weight:800;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aly-brand-sub{font-size:12px;color:rgba(226,232,240,.66);margin-top:4px}
.aly-nav{display:grid;gap:8px}
.aly-nav-link, .aly-nav-button{
  width:100%;display:flex;align-items:center;gap:14px;
  padding:13px 14px;border-radius:16px;
  border:1px solid transparent;background:transparent;color:var(--text);
  text-decoration:none;font:inherit;cursor:pointer;text-align:left;
  transition:background .18s ease,border-color .18s ease,transform .18s ease,color .18s ease;
}
.aly-nav-link:hover, .aly-nav-button:hover{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.08);transform:translateY(-1px)}
.aly-nav-link.active, .aly-nav-button.active{background:linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,.06));border-color:rgba(255,255,255,.10);color:#fff}
.aly-nav-icon{
  width:24px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;
  font-size:18px;color:rgba(226,232,240,.82)
}
.aly-nav-text{display:grid;gap:3px;min-width:0}
.aly-nav-text b{font-size:14px;line-height:1.2}
.aly-nav-text span{font-size:12px;color:rgba(226,232,240,.54);line-height:1.35}
.aly-side-divider{height:1px;background:rgba(255,255,255,.08);margin:2px 0}
.aly-compact-title{font-size:11px;text-transform:uppercase;letter-spacing:.18em;color:rgba(226,232,240,.44);padding:0 6px;margin-top:2px}
.aly-topbar{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  min-height:68px;padding:10px 4px 18px;
}
.aly-bread{font-size:14px;color:var(--text2);display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.aly-bread b{color:var(--text);font-weight:700}
.aly-top-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto}
.aly-top-actions .theme-btn{width:44px;height:44px;border-radius:0;border-color:rgba(255,255,255,.10);background:rgba(255,255,255,.02);color:var(--text2)}
.aly-top-actions .theme-btn:hover{border-color:rgba(255,255,255,.18);color:var(--text)}
.aly-footer-tools{margin-top:auto;display:grid;gap:10px;padding-top:8px}
.aly-collapse-btn{
  width:100%;display:flex;align-items:center;justify-content:center;gap:10px;
  min-height:52px;padding:12px 14px;border:none;border-top:1px solid rgba(255,255,255,.08);
  background:transparent;color:var(--text);cursor:pointer;font:inherit
}
.aly-collapse-btn span{font-weight:700;font-size:13px;opacity:.9}
.aly-collapse-btn i{transition:transform .2s ease}
.aly-sidebar-collapsed .aly-collapse-btn i,
.docs-app.sidebar-collapsed .aly-collapse-btn i,
.admin-layout.sidebar-collapsed .aly-collapse-btn i{transform:rotate(180deg)}

.docs-shell.aly-shell .docs-app{
  --docs-sidebar-width: clamp(268px, 22vw, 314px);
  min-height:100vh;
  grid-template-columns: var(--docs-sidebar-width) minmax(0,1fr);
}
.docs-shell.aly-shell .docs-app.sidebar-collapsed{--docs-sidebar-width:84px}
.docs-shell.aly-shell .docs-sidebar{
  position:sticky;top:0;height:100vh;padding:0 14px;opacity:1;transform:none;pointer-events:auto;width:var(--docs-sidebar-width)
}
.docs-shell.aly-shell .docs-app.sidebar-collapsed .docs-sidebar{
  width:var(--docs-sidebar-width);padding:0 10px;border-right-color:rgba(255,255,255,.10);opacity:1;transform:none;pointer-events:auto
}
.docs-shell.aly-shell .docs-main{padding:0 26px 34px;min-width:0;background:radial-gradient(circle at top, rgba(255,255,255,.04), transparent 28%), var(--bg)}
.docs-shell.aly-shell .docs-header{background:rgba(255,255,255,.03);border-color:rgba(255,255,255,.08);border-radius:24px;padding:18px 18px}
.docs-shell.aly-shell .view{margin-top:18px}
.docs-shell.aly-shell .hero{padding:8px 0 10px;max-width:none;margin:0;text-align:left}
.docs-shell.aly-shell .hero-title{font-size:48px;line-height:1.05}
.docs-shell.aly-shell .hero-sub{font-size:17px;max-width:780px}
.docs-shell.aly-shell .side-top{margin:0}
.docs-shell.aly-shell .side-user-block,.docs-shell.aly-shell .side-apikey,.docs-shell.aly-shell .side-search,.docs-shell.aly-shell .side-section,.docs-shell.aly-shell .side-logout{background:rgba(255,255,255,.03);border-color:rgba(255,255,255,.08)}
.docs-shell.aly-shell .side-search input::placeholder{color:rgba(226,232,240,.44)}
.docs-shell.aly-shell .cat-grid{gap:16px}
.docs-shell.aly-shell .cat-tile,.docs-shell.aly-shell .ep-card,.docs-shell.aly-shell .card,.docs-shell.aly-shell .profile-card{background:rgba(255,255,255,.03);border-color:rgba(255,255,255,.08)}
.docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-brand-copy,
.docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-nav-text,
.docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-compact-title,
.docs-shell.aly-shell .docs-app.sidebar-collapsed .side-user-block,
.docs-shell.aly-shell .docs-app.sidebar-collapsed .side-apikey,
.docs-shell.aly-shell .docs-app.sidebar-collapsed .side-search,
.docs-shell.aly-shell .docs-app.sidebar-collapsed .side-section,
.docs-shell.aly-shell .docs-app.sidebar-collapsed .side-logout,
.docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-collapse-btn span{display:none!important}
.docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-nav-link,
.docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-nav-button,
.docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-brand,
.docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-collapse-btn{justify-content:center;padding-left:10px;padding-right:10px}
.docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-brand{min-height:78px}
.docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-nav-icon{margin:0 auto}
.docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-nav-link,
.docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-nav-button{gap:0}

@media (max-width: 980px){
  .docs-shell.aly-shell .docs-app{--docs-sidebar-width: 280px}
  .docs-shell.aly-shell .docs-app.sidebar-collapsed{--docs-sidebar-width:72px}
  .docs-shell.aly-shell .docs-main{padding:0 18px 28px}
  .docs-shell.aly-shell .hero-title{font-size:38px}
}
@media (max-width: 720px){
  .docs-shell.aly-shell .docs-app{--docs-sidebar-width:min(76vw,270px)}
  .docs-shell.aly-shell .docs-app.sidebar-collapsed{--docs-sidebar-width:68px}
  .aly-topbar{min-height:60px;padding-bottom:12px}
  .aly-top-actions .theme-btn{width:40px;height:40px}
  .docs-shell.aly-shell .docs-header{padding:14px}
  .docs-shell.aly-shell .hero-title{font-size:32px}
  .docs-shell.aly-shell .hero-sub{font-size:15px}
}

/* === Revised Alyachan-like docs/sidebar polish === */
[data-theme="light"] .aly-sidebar{
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border-right:1px solid rgba(15,23,42,.08);
  color:#0f172a;
}
[data-theme="light"] .aly-brand-title,
[data-theme="light"] .aly-brand-sub,
[data-theme="light"] .aly-nav-link,
[data-theme="light"] .aly-nav-button,
[data-theme="light"] .aly-topbar,
[data-theme="light"] .aly-bread,
[data-theme="light"] .aly-top-actions .theme-btn,
[data-theme="light"] .admin-side-title,
[data-theme="light"] .admin-side-sub,
[data-theme="light"] .admin-nav-btn{color:#0f172a}
[data-theme="light"] .aly-nav-text span,
[data-theme="light"] .admin-nav-label span,
[data-theme="light"] .admin-side-sub,
[data-theme="light"] .aly-brand-sub{color:#64748b}
[data-theme="light"] .aly-nav-link,
[data-theme="light"] .aly-nav-button,
[data-theme="light"] .admin-nav-btn,
[data-theme="light"] .aly-collapse-btn,
[data-theme="light"] #sidebarLogoutBtn{
  background:rgba(255,255,255,.88);
  border-color:rgba(15,23,42,.08);
}
[data-theme="light"] .aly-nav-link:hover,
[data-theme="light"] .aly-nav-button:hover,
[data-theme="light"] .admin-nav-btn:hover{background:rgba(15,23,42,.04);border-color:rgba(15,23,42,.12)}
[data-theme="light"] .aly-nav-link.active,
[data-theme="light"] .aly-nav-button.active,
[data-theme="light"] .admin-nav-btn.active{background:linear-gradient(90deg,rgba(15,23,42,.10),rgba(15,23,42,.04));border-color:rgba(15,23,42,.14);color:#0f172a}
[data-theme="light"] .docs-shell.aly-shell .docs-main{background:radial-gradient(circle at top, rgba(15,23,42,.03), transparent 28%), #f7f7f7}
[data-theme="light"] .aly-top-actions .theme-btn{border-color:rgba(15,23,42,.10);background:rgba(255,255,255,.9)}
[data-theme="light"] .aly-top-actions .theme-btn:hover{border-color:rgba(15,23,42,.18)}

.docs-shell.aly-shell .docs-main{padding-bottom:48px}
.doc-endpoint-grid{display:grid;gap:14px}
.doc-endpoint-card{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;
  background:var(--panel);border:1px solid var(--line);border-radius:22px;padding:20px 22px;
  color:var(--text);text-align:left;cursor:pointer;transition:.2s ease;
}
.doc-endpoint-card:hover{transform:translateY(-1px);border-color:var(--accent)}
.doc-endpoint-card-left{display:flex;align-items:flex-start;gap:16px;min-width:0}
.doc-endpoint-method,.endpoint-menu-method,.doc-code-method{
  display:inline-flex;align-items:center;justify-content:center;min-width:62px;height:36px;padding:0 14px;
  border-radius:12px;border:1px solid rgba(168,85,247,.35);background:rgba(168,85,247,.14);font-weight:800;font-size:13px;color:#d8b4fe;
}
.doc-endpoint-name-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.doc-endpoint-name-row strong{font-size:22px;line-height:1.2}
.doc-endpoint-path{font-family:"Fira Code", monospace;color:var(--text2);word-break:break-all}
.doc-detail-wrap{display:grid;gap:20px}
.doc-detail-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.doc-hero-panel{
  display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px;
  border:1px solid var(--line);border-radius:24px;background:linear-gradient(90deg,rgba(255,255,255,.02),rgba(245,158,11,.06));
}
.doc-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.doc-title-row h2{font-size:clamp(28px,4vw,42px);line-height:1.04;margin:0}
.doc-report-badge{display:inline-flex;align-items:center;gap:8px;background:#dc2626;color:#fff;padding:10px 14px;border-radius:14px;font-weight:800;border:1px solid #dc2626;box-shadow:0 12px 28px rgba(220,38,38,.22)}
.doc-runtime-pill{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:14px;border:1px solid #f59e0b;background:#f59e0b;color:#111827;font-weight:800;white-space:nowrap;box-shadow:0 12px 28px rgba(245,158,11,.24)}
.doc-runtime-pill.is-running{border-color:#f59e0b;box-shadow:0 12px 28px rgba(245,158,11,.24)}
.doc-runtime-pill i{font-size:12px;color:var(--text2)}
.doc-code-path{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.doc-code-path code{display:block;padding:12px 16px;border:1px solid var(--line);background:var(--panel-2);font-family:"Fira Code", monospace;color:var(--text);word-break:break-all}
.doc-detail-layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:18px;align-items:start}
.doc-endpoint-menu,.doc-request-card,.doc-tabs-card{background:var(--panel);border:1px solid var(--line);border-radius:24px;padding:18px}
.doc-endpoint-menu{position:sticky;top:18px}
.doc-endpoint-menu-title{font-size:22px;font-weight:800;margin-bottom:4px;text-transform:lowercase}
.doc-endpoint-menu-sub{font-size:13px;color:var(--text2);margin-bottom:14px}
.doc-endpoint-menu-list{display:grid;gap:10px}
.endpoint-menu-btn{
  width:100%;display:flex;align-items:flex-start;gap:12px;padding:14px 14px;border-radius:18px;
  border:1px solid var(--line);background:var(--panel-2);color:var(--text);text-align:left;cursor:pointer
}
.endpoint-menu-btn.active{border-color:var(--accent);box-shadow:0 0 0 1px rgba(245,158,11,.18) inset}
.endpoint-menu-copy{display:grid;gap:3px;min-width:0}
.endpoint-menu-copy strong{font-size:15px}
.endpoint-menu-copy small{font-size:12px;color:var(--text2);font-family:"Fira Code", monospace;word-break:break-all}
.doc-detail-content{display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:18px}
.doc-detail-content--solo{margin-top:18px}
.doc-detail-content > *{min-width:0}
.doc-section-title{font-size:13px;font-weight:800;color:var(--text2);margin-bottom:12px}
.doc-auth-table{display:grid;border:1px solid var(--line);border-radius:18px;overflow:hidden;margin-bottom:16px}
.doc-auth-row{display:grid;grid-template-columns:1fr 1.4fr}
.doc-auth-row span{padding:14px 16px;border-top:1px solid var(--line);background:var(--panel-2)}
.doc-auth-row span + span{border-left:1px solid var(--line)}
.doc-auth-row:first-child span{border-top:none}
.doc-auth-head span{font-weight:800;color:var(--text2)}
.doc-param-wrap .field{margin-bottom:14px}
.doc-tabs-head{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:16px;overflow:auto}
.doc-detail-tab-btn{
  padding:0 0 14px;background:transparent;border:none;color:var(--text2);font-weight:800;letter-spacing:.02em;white-space:nowrap;cursor:pointer
}
.doc-detail-tab-btn.active{color:var(--text);border-bottom:3px solid var(--text)}
.doc-detail-panel{min-height:420px;min-width:0}
.doc-placeholder,.doc-preview-placeholder{display:grid;place-items:center;min-height:340px;padding:24px;border:1px dashed var(--line);border-radius:18px;color:var(--text2);text-align:center}
.doc-preview-json{padding:18px;border-radius:18px;background:var(--panel-2);border:1px solid var(--line)}
.doc-preview-json pre{margin:0;white-space:pre-wrap;word-break:break-word;font-family:"Fira Code", monospace;color:var(--text);max-height:420px;overflow:auto}
.doc-preview-label{font-size:12px;font-weight:800;color:var(--text2);margin-bottom:10px;text-transform:uppercase}
.doc-preview-media{display:grid;place-items:center;min-height:340px;border:1px solid var(--line);border-radius:18px;background:var(--panel-2);padding:16px}
.doc-preview-media img{max-width:100%;max-height:540px;border-radius:18px}
.doc-preview-link{display:flex;align-items:center;justify-content:center;min-height:120px;text-align:center}
.doc-preview-link a{color:var(--accent);font-weight:700;text-decoration:none;word-break:break-all}
.doc-preview-empty{display:grid;place-items:center;min-height:340px;padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--panel-2);text-align:center}
.doc-preview-empty__icon{width:64px;height:64px;border-radius:0;background:rgba(127,127,127,.08);display:grid;place-items:center;color:var(--text2);font-size:24px;margin:0 auto 16px}
.doc-preview-empty__title{font-size:28px;font-weight:800;color:var(--text);margin-bottom:8px}
.doc-preview-empty__text{max-width:420px;color:var(--text2);line-height:1.6;margin:0 auto 18px}
.doc-preview-empty__action{border:none;background:transparent;color:var(--text);font-weight:800;text-decoration:underline;letter-spacing:.02em;cursor:pointer;padding:0}
.doc-preview-empty__action:hover{opacity:.8}
.doc-tabs-card .curl-section{margin-top:0}
.doc-tabs-card .section-label{display:none}

@media (max-width: 1180px){
  .doc-detail-layout{grid-template-columns:1fr}
  .doc-endpoint-menu{position:static}
  .doc-detail-content{grid-template-columns:1fr}
}
@media (max-width: 760px){
  .doc-hero-panel{padding:18px;flex-direction:column;align-items:flex-start}
  .doc-code-path{justify-content:flex-start}
  .doc-detail-content{grid-template-columns:1fr}
  .doc-endpoint-card{padding:16px 18px;border-radius:18px}
  .doc-endpoint-name-row strong{font-size:18px}
  .doc-tabs-head{gap:18px}
  .doc-detail-panel{min-height:300px}
  .report-modal-card{padding:14px}
  .report-summary-grid{grid-template-columns:1fr}
  .report-actions > *{width:100%}
}


/* === Docs responsiveness cleanup === */
.aly-side-inner{min-height:100%;}
.aly-nav{gap:6px;}
.aly-nav-link,.aly-nav-button{padding:11px 12px;border-radius:14px;gap:12px;}
.aly-nav-icon{width:20px;flex:0 0 20px;font-size:16px;}
.aly-nav-text b{font-size:13px;}
.aly-nav-text span{display:none;}
.aly-topbar{min-height:58px;padding:10px 0 14px;position:relative;z-index:2;}
.aly-bread{font-size:13px;gap:8px;}
.aly-top-actions .theme-btn{width:40px;height:40px;position:relative;z-index:3;}
.aly-footer-tools{gap:8px;padding:10px 0 14px;}
.aly-collapse-btn,.side-logout{min-height:46px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);}
.aly-collapse-btn{border-top:1px solid rgba(255,255,255,.08);}

.docs-shell.aly-shell .docs-app{--docs-sidebar-width: 286px;}
.docs-shell.aly-shell .docs-app.sidebar-collapsed{--docs-sidebar-width: 72px;}
.docs-shell.aly-shell .docs-sidebar{position:relative;top:auto;height:auto;min-height:100%;align-self:stretch;padding:0 12px;overflow:visible;}
.docs-shell.aly-shell .docs-main{padding:0 18px 28px;min-width:0;overflow-x:hidden;}
.docs-shell.aly-shell .docs-header{padding:14px 16px;border-radius:20px;}
.docs-shell.aly-shell .view{margin-top:14px;}
.docs-shell.aly-shell .hero-title{font-size:38px;}
.docs-shell.aly-shell .hero-sub{font-size:15px;max-width:680px;}
.docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-brand{min-height:72px;}

.doc-endpoint-card{padding:16px 18px;border-radius:18px;gap:14px;}
.doc-endpoint-method,.endpoint-menu-method,.doc-code-method{min-width:56px;height:34px;padding:0 12px;font-size:12px;border-radius:10px;}
.doc-endpoint-name-row strong{font-size:18px;}
.doc-detail-wrap{gap:16px;}
.doc-hero-panel{padding:18px 20px;border-radius:20px;gap:16px;}
.doc-title-row{gap:10px;margin-bottom:8px;}
.doc-title-row h2{font-size:clamp(20px, 3vw, 30px);}
.doc-report-badge{padding:8px 12px;font-size:13px;}
.doc-runtime-pill{padding:8px 12px;font-size:12px;}
.doc-code-path code{padding:10px 14px;font-size:13px;}
.doc-detail-layout{grid-template-columns:minmax(220px,250px) minmax(0,1fr);gap:14px;}
.doc-endpoint-menu,.doc-request-card,.doc-tabs-card{padding:14px;border-radius:20px;}
.doc-endpoint-menu-title{font-size:18px;}
.endpoint-menu-btn{padding:11px 12px;border-radius:14px;gap:10px;}
.endpoint-menu-copy strong{font-size:14px;}
.endpoint-menu-copy small{font-size:11px;}
.doc-detail-content{grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:14px;}
.doc-detail-content--solo{margin-top:14px;}
.doc-section-title{font-size:12px;margin-bottom:10px;}
.doc-auth-row span{padding:12px 14px;}
.doc-param-wrap .field{margin-bottom:12px;}
.doc-tabs-head{gap:20px;margin-bottom:12px;}
.doc-detail-tab-btn{padding-bottom:12px;font-size:13px;}
.doc-detail-panel{min-height:320px;}
.doc-placeholder,.doc-preview-placeholder{min-height:240px;padding:18px;border-radius:14px;font-size:14px;}
.doc-preview-json{padding:14px;border-radius:14px;}
.doc-preview-media{min-height:240px;border-radius:14px;padding:12px;}
.doc-preview-media img{border-radius:14px;max-height:420px;}
  .doc-preview-empty{min-height:240px;padding:18px;border-radius:14px;}
  .doc-preview-empty__icon{width:56px;height:56px;margin-bottom:14px;font-size:22px;}
  .doc-preview-empty__title{font-size:24px;}
  .doc-preview-empty__text{font-size:14px;max-width:320px;}
.doc-run-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0;padding:16px;border-bottom:1px solid var(--line);}
.doc-run-label{display:block;font-size:11px;font-weight:800;color:var(--text2);text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px;}
.doc-run-meta code{display:block;max-width:100%;word-break:break-all;font-family:"Fira Code", monospace;color:var(--text);font-size:12px;}

[data-theme="light"] .aly-sidebar{background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);}
[data-theme="light"] .aly-collapse-btn,
[data-theme="light"] .side-logout,
[data-theme="light"] .aly-nav-link,
[data-theme="light"] .aly-nav-button{background:rgba(255,255,255,.92);border-color:rgba(15,23,42,.08);color:#0f172a;}
[data-theme="light"] .aly-nav-link.active,
[data-theme="light"] .aly-nav-button.active{background:rgba(15,23,42,.08);}
[data-theme="light"] .aly-nav-icon,
[data-theme="light"] .aly-brand-title,
[data-theme="light"] .aly-bread b,
[data-theme="light"] .side-logout,
[data-theme="light"] .aly-collapse-btn{color:#0f172a;}
[data-theme="light"] .docs-shell.aly-shell .docs-header,
[data-theme="light"] .doc-endpoint-card,
[data-theme="light"] .doc-endpoint-menu,
[data-theme="light"] .doc-request-card,
[data-theme="light"] .doc-tabs-card,
[data-theme="light"] .doc-code-path code,
[data-theme="light"] .endpoint-menu-btn,
[data-theme="light"] .doc-preview-json,
[data-theme="light"] .doc-preview-media{background:#fff;}

@media (max-width: 1280px){
  .doc-detail-layout{grid-template-columns:1fr;}
  .doc-endpoint-menu{position:static;}
}
@media (max-width: 980px){
  .docs-shell.aly-shell .docs-app{--docs-sidebar-width: 250px;}
  .docs-shell.aly-shell .docs-app.sidebar-collapsed{--docs-sidebar-width: 58px;}
  .docs-shell.aly-shell .docs-main{padding:0 14px 24px;}
  .aly-brand{gap:10px;min-height:70px;padding:8px 2px 14px;}
  .aly-brand-logo{width:38px;height:38px;border-radius:10px;}
  .aly-brand-title{font-size:15px;}
  .aly-brand-sub{font-size:11px;}
  .docs-shell.aly-shell .hero-title{font-size:30px;}
  .doc-detail-content{grid-template-columns:1fr;}
}
@media (max-width: 760px){
  .docs-shell.aly-shell .docs-app{--docs-sidebar-width: 232px;}
  .docs-shell.aly-shell .docs-app.sidebar-collapsed{--docs-sidebar-width: 54px;}
  .docs-shell.aly-shell .docs-main{padding:0 12px 20px;}
  .docs-shell.aly-shell .docs-header{padding:12px 14px;}
  .aly-topbar{min-height:52px;padding-bottom:10px;}
  .aly-top-actions{gap:8px;}
  .aly-top-actions .theme-btn{width:36px;height:36px;}
  .docs-shell.aly-shell .hero-title{font-size:26px;}
  .docs-shell.aly-shell .hero-sub{font-size:14px;}
  .doc-hero-panel{padding:16px;}
  .doc-endpoint-card{padding:14px 15px;}
  .doc-endpoint-card-left{gap:12px;}
  .doc-endpoint-name-row strong{font-size:16px;}
  .doc-code-path code{font-size:12px;padding:9px 12px;}
  .doc-tabs-head{gap:14px;}
  .doc-detail-tab-btn{font-size:12px;}
  .doc-detail-panel{min-height:240px;}
}


/* === Floating sidebar + mobile header menu === */
.mobile-menu-btn,.mobile-side-backdrop{display:none}
.mobile-menu-btn{width:42px;height:42px;flex:0 0 42px;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.02);color:var(--text);cursor:pointer}
.mobile-menu-btn i{font-size:18px}
.mobile-side-backdrop{position:fixed;inset:0;background:rgba(2,6,23,.55);border:none;padding:0;z-index:80}
.docs-shell.aly-shell .docs-app{display:block;min-height:100vh}
.docs-shell.aly-shell .docs-sidebar{position:fixed;left:0;top:0;bottom:0;height:100vh;width:var(--docs-sidebar-width);z-index:90;overflow-y:auto}
.docs-shell.aly-shell .docs-main{margin-left:var(--docs-sidebar-width);min-height:100vh}
.docs-shell.aly-shell .docs-app.sidebar-collapsed .docs-main{margin-left:var(--docs-sidebar-width)}
.aly-topbar{position:sticky;top:0;z-index:40;background:var(--bg);padding-top:14px}
.aly-side-inner{min-height:100vh;padding-bottom:14px}
@media (max-width: 760px){
  .mobile-menu-btn{display:inline-flex}
  .docs-shell.aly-shell .docs-sidebar{transform:translateX(-110%);transition:transform .22s ease;box-shadow:0 24px 60px rgba(0,0,0,.35);width:min(82vw,300px);visibility:hidden;pointer-events:none}
  .docs-shell.aly-shell .docs-main,
  .docs-shell.aly-shell .docs-app.sidebar-collapsed .docs-main{margin-left:0}
  .docs-shell.aly-shell .docs-app.sidebar-open .docs-sidebar{transform:translateX(0);visibility:visible;pointer-events:auto}
  .docs-shell.aly-shell .docs-app.sidebar-open .mobile-side-backdrop{display:block}
  .docs-shell.aly-shell .docs-app.sidebar-collapsed{--docs-sidebar-width:min(82vw,300px)}
  .docs-shell.aly-shell .docs-app{--docs-sidebar-width:min(82vw,300px)}
  .aly-topbar{gap:12px;min-height:64px;padding:10px 0 12px}
  .aly-bread{min-width:0;flex:1}
  .aly-top-actions{margin-left:0}
}
[data-theme="light"] .mobile-menu-btn{background:rgba(255,255,255,.92);border-color:rgba(15,23,42,.10);color:#0f172a}

/* admin floating sidebar */
.admin-layout{display:block}
.admin-sidebar-panel{position:fixed;left:0;top:0;bottom:0;height:100vh;overflow-y:auto;z-index:90}
.admin-content-stack{margin-left:clamp(268px,22vw,314px)}
.admin-layout.sidebar-collapsed .admin-content-stack{margin-left:84px}
@media (max-width: 980px){
  .admin-content-stack{margin-left:250px}
  .admin-layout.sidebar-collapsed .admin-content-stack{margin-left:58px}
}
@media (max-width: 760px){
  .admin-sidebar-panel{transform:translateX(-110%);transition:transform .22s ease;box-shadow:0 24px 60px rgba(0,0,0,.35);width:min(82vw,300px)}
  .admin-content-stack,.admin-layout.sidebar-collapsed .admin-content-stack{margin-left:0}
  .admin-layout.sidebar-open .admin-sidebar-panel{transform:translateX(0)}
  .admin-layout.sidebar-open .mobile-side-backdrop{display:block}
}


/* === Final mobile/docs cleanup === */
.aly-bread{display:none !important;}
[data-theme="light"] .doc-status-badge.active{background:rgba(40,90,72,.16);border-color:rgba(40,90,72,.34);color:#091413;}
[data-theme="light"] .doc-status-badge.disabled{background:rgba(239,68,68,.10);border-color:rgba(239,68,68,.25);color:#991b1b;}
[data-theme="light"] .doc-exclusive-badge{background:linear-gradient(135deg, rgba(245,158,11,.18), rgba(234,179,8,.14));border-color:rgba(217,119,6,.30);color:#b45309;box-shadow:0 8px 18px rgba(217,119,6,.10);}
[data-theme="light"] .doc-exclusive-badge i{color:#d97706;}
[data-theme="light"] .endpoint-menu-btn.active{background:rgba(245,158,11,.10);border-color:rgba(245,158,11,.38);box-shadow:0 0 0 1px rgba(245,158,11,.16) inset;}
[data-theme="light"] .endpoint-menu-btn.active strong{color:#111827;}
[data-theme="light"] .endpoint-menu-btn.active small{color:#475569;}
[data-theme="light"] .doc-detail-tab-btn.active{color:#0f172a;border-bottom-color:#0f172a;}
[data-theme="light"] .doc-code-method,
[data-theme="light"] .doc-endpoint-method,
[data-theme="light"] .endpoint-menu-method{background:rgba(168,85,247,.10);border-color:rgba(168,85,247,.28);color:#7c3aed;}
.docs-shell.aly-shell .docs-sidebar{overscroll-behavior:contain;}
@media (max-width: 760px){
  .docs-shell.aly-shell .docs-main{padding-top:0;}
  .aly-topbar{top:0;padding-top:10px;background:var(--bg);border-bottom:1px solid var(--line);margin-bottom:12px;}
  .docs-shell.aly-shell .docs-sidebar{top:74px;bottom:0;height:calc(100vh - 74px);border-top-right-radius:22px;width:min(82vw,320px);max-width:320px;}
  .docs-shell.aly-shell .docs-app.sidebar-open .docs-sidebar{transform:translateX(0);visibility:visible;pointer-events:auto;}
  .mobile-side-backdrop{top:74px;height:calc(100vh - 74px);z-index:79;background:rgba(2,6,23,.30);}
  .aly-topbar{z-index:120;}
  .aly-top-actions{position:relative;z-index:121;flex:0 0 auto;}
  .mobile-menu-btn{position:relative;z-index:121;}
}


/* === Profile summary + settings tabs refresh === */
.profile-summary-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
  gap:14px;
  margin-top:14px;
}
.profile-summary-card{min-height:100%}
.avatar-row--summary{align-items:center}
.avatar--large{width:72px;height:72px;border-radius:22px;font-size:22px}
.profile-summary-copy{display:grid;gap:6px;min-width:0}
.profile-inline-key{
  margin-top:16px;
  display:grid;
  gap:10px;
  padding:14px;
  border-radius:16px;
  border:1px solid var(--card-border);
  background:var(--btn-bg);
}
.profile-inline-key-label{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text2);
}
.profile-inline-key-box{display:flex;align-items:center;gap:10px;min-width:0}
.profile-inline-key-box code{
  flex:1;
  min-width:0;
  display:block;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--input-border);
  background:var(--input-bg);
  font-family:"Fira Code", monospace;
  font-size:12px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.profile-inline-meta{font-weight:800;color:var(--text2);white-space:nowrap}
.profile-inline-key--editor{padding:12px}
.profile-switcher{
  display:flex;
  align-items:center;
  gap:10px;
  overflow-x:auto;
  margin-top:18px;
  padding:4px 2px 2px;
  scrollbar-width:none;
}
.profile-switcher::-webkit-scrollbar{display:none}
.profile-switch-btn{
  flex:0 0 auto;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid var(--btn-border);
  background:var(--btn-bg);
  color:var(--text);
  font:inherit;
  font-weight:800;
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.profile-switch-btn:hover{
  transform:translateY(-1px);
  border-color:var(--accentborder);
}
.profile-switch-btn.active{
  background:linear-gradient(135deg, rgba(9,20,19,.20), rgba(64,138,113,.12));
  border-color:rgba(9,20,19,.34);
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}
.profile-panels{margin-top:14px}
.profile-panel{display:none}
.profile-panel.active{display:block}
.profile-grid--single{grid-template-columns:1fr}
.profile-editor-box{display:grid;gap:0}
.profile-input-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.transaction-history-note{margin-top:4px;color:var(--text2);font-size:13px;line-height:1.55}
.transaction-history-wrap{margin-top:14px;overflow:auto;border:1px solid var(--card-border);border-radius:16px;background:var(--btn-bg)}
.transaction-history-table{width:100%;border-collapse:collapse;min-width:620px}
.transaction-history-table th,.transaction-history-table td{padding:14px 16px;border-bottom:1px solid var(--card-border);text-align:left;vertical-align:top}
.transaction-history-table th{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--text2);background:rgba(127,127,127,.05)}
.transaction-history-table tbody tr:last-child td{border-bottom:none}
.transaction-history-empty{text-align:center;color:var(--text2)}
.transaction-history-meta{display:grid;gap:4px}
.transaction-history-meta small{color:var(--text2);font-size:12px}
.transaction-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border-radius:999px;border:1px solid var(--card-border);font-size:12px;font-weight:800;white-space:nowrap}
.transaction-pill.ok{background:rgba(40,90,72,.10);border-color:rgba(40,90,72,.22);color:#285A48}
.transaction-pill.pending{background:rgba(245,158,11,.10);border-color:rgba(245,158,11,.22);color:#d97706}
.transaction-pill.err{background:rgba(239,68,68,.10);border-color:rgba(239,68,68,.22);color:#ef4444}
.transaction-pill.info{background:rgba(64,138,113,.10);border-color:rgba(64,138,113,.22);color:#408A71}
@media (max-width: 760px){
  .transaction-history-wrap{border:none;background:transparent;overflow:visible}
  .transaction-history-table{min-width:0}
  .transaction-history-table thead{display:none}
  .transaction-history-table,.transaction-history-table tbody,.transaction-history-table tr,.transaction-history-table td{display:block;width:100%}
  .transaction-history-table tr{margin-bottom:12px;border:1px solid var(--card-border);border-radius:16px;background:var(--btn-bg);overflow:hidden}
  .transaction-history-table td{border-bottom:1px solid var(--card-border)}
  .transaction-history-table tr td:last-child{border-bottom:none}
  .transaction-history-table td::before{content:attr(data-label);display:block;margin-bottom:6px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--text2)}
}

@media (max-width: 860px){
  .profile-summary-grid{grid-template-columns:1fr}
  .avatar--large{width:64px;height:64px;border-radius:20px}
}

/* === Mobile docs sidebar text visibility fix === */
@media (max-width: 760px){
  .docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-brand-copy{display:block !important;}
  .docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-nav-text{display:grid !important;}
  .docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-collapse-btn span,
  .docs-shell.aly-shell .docs-app.sidebar-collapsed .side-logout span{display:inline !important;}
  .docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-nav-link,
  .docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-nav-button,
  .docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-brand,
  .docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-collapse-btn,
  .docs-shell.aly-shell .docs-app.sidebar-collapsed .side-logout{
    justify-content:flex-start;
    gap:12px;
    padding-left:14px;
    padding-right:14px;
  }
  .docs-shell.aly-shell .docs-app.sidebar-collapsed .aly-nav-icon{margin:0 !important;}
}

.changelog-user-list{display:grid;gap:18px;padding:10px 0 4px}
.changelog-timeline-item{--timeline-accent:#408A71;--timeline-accent-soft:rgba(64,138,113,.16);--timeline-border:rgba(64,138,113,.24);--timeline-box-bg:linear-gradient(135deg, rgba(64,138,113,.14), rgba(255,255,255,.03));position:relative;padding:0 0 0 38px;min-width:0}
.changelog-timeline-item::before{content:"";position:absolute;left:0;top:28px;width:14px;height:14px;border-radius:50%;background:var(--timeline-accent);box-shadow:0 0 0 5px var(--timeline-accent-soft)}
.changelog-timeline-item::after{content:"";position:absolute;left:6px;top:44px;bottom:-18px;width:2px;background:linear-gradient(180deg, var(--timeline-accent-soft), transparent)}
.changelog-timeline-item:last-child::after{display:none}
.changelog-timeline-card{position:relative;min-width:0;border:1px solid var(--timeline-border);background:var(--timeline-box-bg);border-radius:22px;padding:18px 18px 16px;box-shadow:var(--shadow);overflow:hidden;backdrop-filter:blur(8px)}
.changelog-timeline-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--timeline-accent)}
.changelog-timeline-meta-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;min-width:0}
.changelog-timeline-title{margin:0;font-size:20px;font-weight:800;line-height:1.35;overflow-wrap:anywhere;word-break:break-word}
.changelog-timeline-date{font-size:13px;color:var(--text2);font-weight:700;white-space:nowrap;text-align:right;padding-left:6px}
.changelog-timeline-body{margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08)}
.changelog-timeline-entry-data{display:grid;gap:10px;min-width:0}
.changelog-timeline-entry-data p{margin:0;line-height:1.8;color:var(--text);overflow-wrap:anywhere;word-break:break-word}
.changelog-status-badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;min-width:110px;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;border:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.badge-maintenance{background:rgba(220,38,38,.18);border-color:rgba(220,38,38,.34);color:#fecaca}
.badge-update{background:rgba(64,138,113,.18);border-color:rgba(64,138,113,.34);color:#93c5fd}
.badge-endpoint{background:rgba(64,138,113,.18);border-color:rgba(64,138,113,.34);color:#B0E4CC}
.badge-added{background:rgba(40,90,72,.18);border-color:rgba(40,90,72,.34);color:#B0E4CC}
.badge-fixed{background:rgba(239,68,68,.18);border-color:rgba(239,68,68,.36);color:#fda4af}
.badge-removed{background:rgba(148,163,184,.16);border-color:rgba(148,163,184,.28);color:#cbd5e1}
.change-card-maintenance{--timeline-accent:#dc2626;--timeline-accent-soft:rgba(220,38,38,.18);--timeline-border:rgba(220,38,38,.24);--timeline-box-bg:linear-gradient(135deg, rgba(220,38,38,.14), rgba(255,255,255,.03))}
.change-card-update{--timeline-accent:#408A71;--timeline-accent-soft:rgba(64,138,113,.18);--timeline-border:rgba(64,138,113,.24);--timeline-box-bg:linear-gradient(135deg, rgba(64,138,113,.14), rgba(255,255,255,.03))}
.change-card-endpoint{--timeline-accent:#408A71;--timeline-accent-soft:rgba(64,138,113,.18);--timeline-border:rgba(64,138,113,.24);--timeline-box-bg:linear-gradient(135deg, rgba(64,138,113,.14), rgba(255,255,255,.03))}
.change-card-added{--timeline-accent:#285A48;--timeline-accent-soft:rgba(40,90,72,.18);--timeline-border:rgba(40,90,72,.24);--timeline-box-bg:linear-gradient(135deg, rgba(40,90,72,.14), rgba(255,255,255,.03))}
.change-card-fixed{--timeline-accent:#ef4444;--timeline-accent-soft:rgba(239,68,68,.18);--timeline-border:rgba(239,68,68,.24);--timeline-box-bg:linear-gradient(135deg, rgba(239,68,68,.14), rgba(255,255,255,.03))}
.change-card-removed{--timeline-accent:#94a3b8;--timeline-accent-soft:rgba(148,163,184,.18);--timeline-border:rgba(148,163,184,.24);--timeline-box-bg:linear-gradient(135deg, rgba(148,163,184,.12), rgba(255,255,255,.03))}
.changelog-tag,.notice-tone{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;border:1px solid var(--border);background:rgba(255,255,255,.05);font-size:12px;font-weight:800;max-width:100%;overflow-wrap:anywhere;word-break:break-word}
[data-theme="light"] .changelog-timeline-card{box-shadow:0 14px 34px rgba(9,20,19,.08)}
[data-theme="light"] .changelog-timeline-body{border-top-color:rgba(9,20,19,.08)}
[data-theme="light"] .badge-maintenance{background:rgba(220,38,38,.10);border-color:rgba(220,38,38,.22);color:#b91c1c}
[data-theme="light"] .badge-update{background:rgba(64,138,113,.10);border-color:rgba(64,138,113,.22);color:#1d4ed8}
[data-theme="light"] .badge-endpoint{background:rgba(64,138,113,.10);border-color:rgba(64,138,113,.24);color:#091413}
[data-theme="light"] .badge-added{background:rgba(40,90,72,.10);border-color:rgba(40,90,72,.24);color:#091413}
[data-theme="light"] .badge-fixed{background:rgba(220,38,38,.10);border-color:rgba(220,38,38,.24);color:#b91c1c}
[data-theme="light"] .badge-removed{background:rgba(100,116,139,.10);border-color:rgba(100,116,139,.22);color:#475569}
[data-theme="light"] .change-card-maintenance{--timeline-accent:#dc2626;--timeline-accent-soft:rgba(220,38,38,.14);--timeline-border:rgba(220,38,38,.16);--timeline-box-bg:linear-gradient(135deg, rgba(220,38,38,.08), rgba(255,255,255,.96))}
[data-theme="light"] .change-card-update{--timeline-accent:#408A71;--timeline-accent-soft:rgba(64,138,113,.14);--timeline-border:rgba(64,138,113,.16);--timeline-box-bg:linear-gradient(135deg, rgba(64,138,113,.08), rgba(255,255,255,.96))}
[data-theme="light"] .change-card-endpoint{--timeline-accent:#408A71;--timeline-accent-soft:rgba(64,138,113,.14);--timeline-border:rgba(64,138,113,.16);--timeline-box-bg:linear-gradient(135deg, rgba(64,138,113,.08), rgba(255,255,255,.96))}
[data-theme="light"] .change-card-added{--timeline-accent:#285A48;--timeline-accent-soft:rgba(40,90,72,.14);--timeline-border:rgba(40,90,72,.16);--timeline-box-bg:linear-gradient(135deg, rgba(40,90,72,.08), rgba(255,255,255,.96))}
[data-theme="light"] .change-card-fixed{--timeline-accent:#dc2626;--timeline-accent-soft:rgba(220,38,38,.14);--timeline-border:rgba(220,38,38,.16);--timeline-box-bg:linear-gradient(135deg, rgba(220,38,38,.08), rgba(255,255,255,.96))}
[data-theme="light"] .change-card-removed{--timeline-accent:#64748b;--timeline-accent-soft:rgba(100,116,139,.14);--timeline-border:rgba(100,116,139,.16);--timeline-box-bg:linear-gradient(135deg, rgba(100,116,139,.08), rgba(255,255,255,.96))}
@media (max-width: 860px){
  .changelog-timeline-meta-row{grid-template-columns:minmax(0,1fr) auto;align-items:start}
  .changelog-status-badge{grid-column:1 / -1;justify-self:start}
  .changelog-timeline-title{grid-column:1 / 2}
  .changelog-timeline-date{grid-column:2 / 3;text-align:right;padding-left:12px}
}
@media (max-width: 640px){
  .changelog-timeline-meta-row{grid-template-columns:1fr}
  .changelog-status-badge,.changelog-timeline-title,.changelog-timeline-date{grid-column:auto}
  .changelog-timeline-date{text-align:left;padding-left:0}
}
.login-announcement-modal{z-index:2147483646;background:rgba(0,0,0,.78)}
.login-announcement-card{width:min(760px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:min(82vh,720px);overflow:hidden;display:flex;flex-direction:column}
.login-announcement-countdown{margin-bottom:12px;color:var(--text2);font-size:12px;overflow-wrap:anywhere}
.login-announcement-tabs{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px}
.login-announcement-tab{appearance:none;border:1px solid var(--btn-border);background:rgba(255,255,255,.04);color:var(--text2);border-radius:999px;padding:10px 16px;font-size:12px;font-weight:800;letter-spacing:.04em;cursor:pointer;transition:all .2s ease}
.login-announcement-tab:hover{color:var(--text)}
.login-announcement-tab.is-active{background:rgba(64,138,113,.22);border-color:rgba(40,90,72,.24);color:#091413}
.login-announcement-list{display:grid;gap:12px;overflow:auto;overflow-x:hidden;padding-right:2px;min-width:0}
.login-announcement-item{border:1px solid var(--border);background:rgba(255,255,255,.03);border-radius:18px;padding:14px;display:grid;gap:8px;min-width:0;max-width:100%}
.login-announcement-item-title{margin:0;font-size:16px;font-weight:800;overflow-wrap:anywhere;word-break:break-word}
.login-announcement-item-content{white-space:pre-wrap;line-height:1.7;color:var(--text);overflow-wrap:anywhere;word-break:break-word;max-width:100%}
.login-announcement-image{margin:2px 0 4px;border:1px solid var(--border);background:rgba(255,255,255,.04);border-radius:16px;overflow:hidden;max-width:100%}
.login-announcement-image img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;background:rgba(0,0,0,.12)}
.login-announcement-image figcaption{padding:10px 12px;color:var(--text2);font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.login-announcement-item-meta{display:flex;gap:10px;flex-wrap:wrap;color:var(--text2);font-size:12px;align-items:center;min-width:0}
.login-announcement-item-meta > *{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.login-announcement-empty{padding:18px;border:1px dashed var(--border);border-radius:18px;color:var(--text2);text-align:center}
.tag-tone-1{background:rgba(64,138,113,.14);border-color:rgba(64,138,113,.28);color:#60a5fa}
.tag-tone-2{background:rgba(64,138,113,.14);border-color:rgba(64,138,113,.28);color:#B0E4CC}
.tag-tone-3{background:rgba(245,158,11,.14);border-color:rgba(245,158,11,.28);color:#fbbf24}
.tag-tone-4{background:rgba(64,138,113,.14);border-color:rgba(64,138,113,.28);color:#B0E4CC}
.tag-tone-5{background:rgba(239,68,68,.14);border-color:rgba(239,68,68,.28);color:#f87171}
.tag-tone-6{background:rgba(168,85,247,.14);border-color:rgba(168,85,247,.28);color:#c084fc}
.tag-tone-7{background:rgba(236,72,153,.14);border-color:rgba(236,72,153,.28);color:#f472b6}
.tag-tone-8{background:rgba(64,138,113,.14);border-color:rgba(64,138,113,.28);color:#B0E4CC}
[data-theme="light"] .tag-tone-1{background:rgba(64,138,113,.10);border-color:rgba(64,138,113,.22);color:#1d4ed8}
[data-theme="light"] .tag-tone-2{background:rgba(64,138,113,.10);border-color:rgba(64,138,113,.22);color:#091413}
[data-theme="light"] .tag-tone-3{background:rgba(217,119,6,.10);border-color:rgba(217,119,6,.22);color:#b45309}
[data-theme="light"] .tag-tone-4{background:rgba(64,138,113,.10);border-color:rgba(64,138,113,.22);color:#091413}
[data-theme="light"] .tag-tone-5{background:rgba(220,38,38,.10);border-color:rgba(220,38,38,.22);color:#b91c1c}
[data-theme="light"] .tag-tone-6{background:rgba(124,58,237,.10);border-color:rgba(124,58,237,.22);color:#7c3aed}
[data-theme="light"] .tag-tone-7{background:rgba(219,39,119,.10);border-color:rgba(219,39,119,.22);color:#be185d}
[data-theme="light"] .tag-tone-8{background:rgba(64,138,113,.10);border-color:rgba(64,138,113,.22);color:#091413}
@media (max-width: 640px){
  .login-announcement-card{width:min(100vw - 16px,760px);max-width:calc(100vw - 16px);padding:14px}
  .login-announcement-list{gap:10px}
  .login-announcement-tabs{gap:8px;margin-bottom:10px}
  .login-announcement-tab{flex:1 1 calc(50% - 8px);justify-content:center;text-align:center;padding:10px 12px}
  .login-announcement-item{padding:12px}
  .changelog-timeline-item{padding-left:28px}
  .changelog-timeline-title{font-size:20px}
}


/* === Docs popup + redeem refresh === */
.profile-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.btn-upgrade-secondary{background:transparent;border:1px solid var(--btn-border);color:var(--text);box-shadow:none}
.btn-upgrade-secondary:hover{border-color:var(--accent2);background:rgba(9,20,19,.10)}
.redeem-profile-card{margin-top:18px;border:1px solid var(--card-border);border-radius:22px;background:linear-gradient(135deg, rgba(9,20,19,.12), rgba(255,255,255,.03));padding:18px;display:grid;gap:16px;box-shadow:var(--shadow)}
.redeem-profile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.redeem-profile-title{margin:0;font-size:18px;font-weight:800;display:flex;align-items:center;gap:10px}
.redeem-profile-title i{color:var(--accent2)}
.redeem-profile-sub{margin:6px 0 0;color:var(--text2);line-height:1.65;font-size:14px}
.redeem-profile-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px solid var(--card-border);background:rgba(255,255,255,.05);font-size:12px;font-weight:800;color:var(--text2)}
.redeem-profile-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(220px,.8fr);gap:14px;align-items:end}
.redeem-profile-grid .field{margin:0}
.redeem-field{display:grid;gap:8px;min-width:0}
.redeem-field label{display:block;margin:0;font-size:13px;font-weight:700;color:var(--text)}
.redeem-field--wide{min-width:0}
.redeem-code-input{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:56px;padding:10px 12px;border:1px solid var(--input-border);border-radius:16px;background:var(--input-bg)}
.redeem-code-input:focus-within{border-color:rgba(9,20,19,.55);box-shadow:0 0 0 3px rgba(9,20,19,.15)}
.redeem-code-input .auth-input{border:none;background:transparent;padding:0;min-width:0;box-shadow:none}
.redeem-code-input .auth-input:focus{border:none;box-shadow:none}
.redeem-code-input .btn-upgrade{justify-content:center;white-space:nowrap}
.redeem-field select.auth-input{min-height:56px}
.redeem-profile-preview{grid-column:1 / -1;border:1px dashed var(--card-border);border-radius:18px;padding:14px 16px;background:rgba(255,255,255,.03);color:var(--text2);line-height:1.65;font-size:14px;min-width:0}
.redeem-profile-preview.ok{border-style:solid;border-color:rgba(40,90,72,.26);background:rgba(40,90,72,.08);color:var(--text)}
.redeem-profile-preview.err{border-style:solid;border-color:rgba(239,68,68,.26);background:rgba(239,68,68,.08);color:var(--text)}
.redeem-inline-kpi{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.redeem-inline-kpi .item{padding:12px 14px;border-radius:16px;border:1px solid var(--card-border);background:rgba(255,255,255,.04);display:grid;gap:4px}
.redeem-inline-kpi .item small{color:var(--text2);font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.redeem-inline-kpi .item b{font-size:16px;color:var(--text)}
.redeem-result-card{max-width:620px;width:min(620px,calc(100vw - 24px));display:grid;gap:14px}
.redeem-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.redeem-result-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;font-size:22px;background:rgba(9,20,19,.14);border:1px solid rgba(9,20,19,.22)}
.redeem-result-icon.err{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.22)}
.redeem-result-title{margin:0;font-size:26px;font-weight:900}
.redeem-result-sub{margin:6px 0 0;color:var(--text2);line-height:1.65}
.redeem-result-banner{padding:14px 16px;border-radius:18px;border:1px solid rgba(40,90,72,.26);background:rgba(40,90,72,.08);color:var(--text);font-weight:700;line-height:1.65}
.redeem-result-banner.err{border-color:rgba(239,68,68,.26);background:rgba(239,68,68,.08)}
.redeem-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.redeem-result-grid .item{border:1px solid var(--card-border);border-radius:16px;padding:14px;background:rgba(255,255,255,.04);display:grid;gap:6px}
.redeem-result-grid small{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--text2)}
.redeem-result-grid b{font-size:16px;color:var(--text)}
.redeem-result-actions,.login-announcement-actions,.login-announcement-footer,.popup-actions-center{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap}
.login-announcement-card{position:relative;border-radius:28px;padding:18px;background:linear-gradient(180deg,var(--modal-bg),rgba(255,255,255,.02));border:1px solid var(--btn-border);box-shadow:0 28px 80px rgba(0,0,0,.28)}
.login-announcement-card .mh{padding-right:56px}
.login-announcement-card .closex{width:46px;height:46px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid var(--btn-border)}
.login-announcement-list{padding-right:4px;max-height:min(54vh,420px);overscroll-behavior:contain}
.login-announcement-item{background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02))}
.login-announcement-footer{padding-top:8px;border-top:1px solid var(--card-border);margin-top:10px}
.login-announcement-close-btn{min-width:120px}
.login-announcement-actions > *, .login-announcement-footer > *, .popup-actions-center > *, .report-actions > *, .redeem-result-actions > *{min-width:120px;justify-content:center}
[data-theme="light"] .login-announcement-modal{background:rgba(15,23,42,.34)}
[data-theme="light"] .login-announcement-card{background:linear-gradient(180deg,#ffffff,#f8fafc);border-color:rgba(15,23,42,.08);box-shadow:0 28px 70px rgba(15,23,42,.18)}
[data-theme="light"] .login-announcement-card .closex{background:rgba(15,23,42,.04);border-color:rgba(15,23,42,.08)}
[data-theme="light"] .login-announcement-item{background:linear-gradient(180deg, rgba(248,250,252,.95), rgba(241,245,249,.82))}
[data-theme="light"] .login-announcement-tab{background:rgba(15,23,42,.03);border-color:rgba(15,23,42,.08)}
[data-theme="light"] .login-announcement-tab.is-active{background:rgba(64,138,113,.18);border-color:rgba(40,90,72,.20)}
[data-theme="light"] .redeem-profile-card{background:linear-gradient(135deg, rgba(9,20,19,.16), rgba(255,255,255,.92))}
@media (max-width: 860px){
  .redeem-profile-grid{grid-template-columns:1fr}
  .redeem-code-input{grid-template-columns:auto minmax(0,1fr)}
  .redeem-code-input .btn-upgrade{grid-column:1 / -1;width:100%}
  .redeem-inline-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 640px){
  .profile-hero-actions{display:grid;grid-template-columns:1fr}
  .login-announcement-card{width:min(100vw - 14px,760px);max-width:calc(100vw - 14px);max-height:min(90vh,760px);padding:14px;border-radius:24px}
  .login-announcement-card .mh{padding-right:48px}
  .login-announcement-list{max-height:min(58vh,460px)}
  .login-announcement-footer{padding-top:10px}
  .redeem-result-grid,.redeem-inline-kpi{grid-template-columns:1fr}
}

[data-theme="dark"] .modal{background:rgba(0,0,0,.94)}
[data-theme="light"] .modal{background:rgba(255,255,255,.92)}
[data-theme="dark"] .menu-overlay{background:rgba(0,0,0,.96)}
[data-theme="light"] .menu-overlay{background:rgba(255,255,255,.92)}
[data-theme="dark"] .menu-modal,
[data-theme="dark"] .modal-card,
[data-theme="dark"] .login-announcement-card,
[data-theme="dark"] .report-modal-card{background:#111214 !important;border-color:rgba(255,255,255,.12)}
[data-theme="light"] .menu-modal,
[data-theme="light"] .modal-card,
[data-theme="light"] .login-announcement-card,
[data-theme="light"] .report-modal-card{background:#ffffff !important}
[data-theme="dark"] .login-announcement-modal{background:rgba(0,0,0,.96)}
[data-theme="dark"] .redeem-code-input,
[data-theme="dark"] .redeem-field select.auth-input,
[data-theme="dark"] .redeem-inline-kpi .item,
[data-theme="dark"] .redeem-result-grid .item,
[data-theme="dark"] .redeem-profile-preview{background:#050505 !important;border-color:rgba(255,255,255,.12)}
[data-theme="dark"] .redeem-code-input .auth-input,
[data-theme="dark"] .redeem-field select.auth-input,
[data-theme="dark"] .redeem-field select.auth-input option,
[data-theme="dark"] .redeem-inline-kpi .item b,
[data-theme="dark"] .redeem-result-grid b,
[data-theme="dark"] .redeem-profile-preview,
[data-theme="dark"] .redeem-field label{color:#ffffff !important}
[data-theme="dark"] .redeem-inline-kpi .item small,
[data-theme="dark"] .redeem-result-grid small,
[data-theme="dark"] .redeem-profile-sub,
[data-theme="dark"] .redeem-profile-badge{color:rgba(255,255,255,.78) !important}


/* === 2026 theme revision: plum + violet + blush + ivory === */
.btn-exec,
.btn-cta.primary,
.contact-btn.primary,
[data-theme="dark"] .btn-exec,
[data-theme="dark"] .btn-cta.primary,
[data-theme="dark"] .contact-btn.primary{
  color:#ffffff;
}

[data-theme="light"] .card,
[data-theme="light"] .panel,
[data-theme="light"] .cat-card,
[data-theme="light"] .doc-endpoint-card,
[data-theme="light"] .doc-endpoint-menu,
[data-theme="light"] .doc-request-card,
[data-theme="light"] .doc-tabs-card,
[data-theme="light"] .contact-item,
[data-theme="light"] .contact-photo-card,
[data-theme="light"] .preview,
[data-theme="light"] .transaction-history-wrap,
[data-theme="light"] .transaction-history-table tr{
  border-color:rgba(40,90,72,.20) !important;
}

[data-theme="light"] .aly-sidebar{
  background:linear-gradient(180deg,#f6fbf8 0%, #e6f4ed 100%);
  border-right-color:rgba(40,90,72,.14);
}
[data-theme="light"] .docs-shell.aly-shell .docs-main{
  background:radial-gradient(circle at top, rgba(64,138,113,.10), transparent 28%), #f6fbf8;
}
[data-theme="light"] .admin-sidebar-panel{
  background:linear-gradient(180deg,#f6fbf8 0%, #e6f4ed 100%);
  border-right-color:rgba(40,90,72,.14);
}

.mGET{background:rgba(176,228,204,.52);color:#0e241d;border:1px solid rgba(64,138,113,.34);}
.mPOST{background:rgba(40,90,72,.18);color:#f2fbf6;border:1px solid rgba(40,90,72,.34);}

.doc-endpoint-method,.endpoint-menu-method,.doc-code-method{
  border-color:rgba(64,138,113,.34);
  background:rgba(176,228,204,.52);
  color:#0e241d;
}
[data-theme="dark"] .doc-endpoint-method,
[data-theme="dark"] .endpoint-menu-method,
[data-theme="dark"] .doc-code-method{
  background:rgba(40,90,72,.20);
  border-color:rgba(176,228,204,.24);
  color:#f2fbf6;
}

.transaction-pill.info{background:rgba(64,138,113,.16);border-color:rgba(64,138,113,.30);color:#091413}
[data-theme="dark"] .transaction-pill.info{background:rgba(64,138,113,.16);border-color:rgba(64,138,113,.26);color:#B0E4CC}

.login-announcement-tab.is-active{background:rgba(64,138,113,.22);border-color:rgba(40,90,72,.24);color:#091413}
[data-theme="dark"] .login-announcement-tab.is-active{background:rgba(40,90,72,.20);border-color:rgba(64,138,113,.28);color:#B0E4CC}

/* Changelog badges stay distinct per label */
.changelog-timeline-item{
  --timeline-accent:#3b82f6;
  --timeline-accent-soft:rgba(59,130,246,.22);
  --timeline-border:rgba(59,130,246,.28);
  --timeline-box-bg:linear-gradient(135deg, rgba(59,130,246,.14), rgba(255,255,255,.03));
}
.badge-maintenance{background:rgba(239,68,68,.94);border-color:rgba(248,113,113,.98);color:#ffffff}
.badge-update,
.badge-endpoint,
.badge-fixed{background:rgba(59,130,246,.94);border-color:rgba(96,165,250,.98);color:#ffffff}
.badge-added{background:rgba(34,197,94,.94);border-color:rgba(74,222,128,.98);color:#ffffff}
.badge-removed{background:rgba(239,68,68,.94);border-color:rgba(248,113,113,.98);color:#ffffff}
.change-card-update,
.change-card-endpoint,
.change-card-fixed{--timeline-accent:#3b82f6;--timeline-accent-soft:rgba(59,130,246,.22);--timeline-border:rgba(59,130,246,.28);--timeline-box-bg:linear-gradient(135deg, rgba(59,130,246,.14), rgba(255,255,255,.03))}
.change-card-added{--timeline-accent:#22c55e;--timeline-accent-soft:rgba(34,197,94,.22);--timeline-border:rgba(34,197,94,.28);--timeline-box-bg:linear-gradient(135deg, rgba(34,197,94,.14), rgba(255,255,255,.03))}
.change-card-maintenance,
.change-card-removed{--timeline-accent:#ef4444;--timeline-accent-soft:rgba(239,68,68,.22);--timeline-border:rgba(239,68,68,.28);--timeline-box-bg:linear-gradient(135deg, rgba(239,68,68,.14), rgba(255,255,255,.03))}
[data-theme="light"] .badge-maintenance{background:rgba(239,68,68,.88);border-color:rgba(220,38,38,.92);color:#ffffff}
[data-theme="light"] .badge-update,
[data-theme="light"] .badge-endpoint,
[data-theme="light"] .badge-fixed{background:rgba(59,130,246,.88);border-color:rgba(37,99,235,.92);color:#ffffff}
[data-theme="light"] .badge-added{background:rgba(34,197,94,.88);border-color:rgba(22,163,74,.92);color:#ffffff}
[data-theme="light"] .badge-removed{background:rgba(239,68,68,.88);border-color:rgba(220,38,38,.92);color:#ffffff}
[data-theme="light"] .change-card-update,
[data-theme="light"] .change-card-endpoint,
[data-theme="light"] .change-card-fixed{--timeline-accent:#2563eb;--timeline-accent-soft:rgba(59,130,246,.20);--timeline-border:rgba(59,130,246,.20);--timeline-box-bg:linear-gradient(135deg, rgba(59,130,246,.11), rgba(255,255,255,.98))}
[data-theme="light"] .change-card-added{--timeline-accent:#16a34a;--timeline-accent-soft:rgba(34,197,94,.20);--timeline-border:rgba(34,197,94,.20);--timeline-box-bg:linear-gradient(135deg, rgba(34,197,94,.11), rgba(255,255,255,.98))}
[data-theme="light"] .change-card-maintenance,
[data-theme="light"] .change-card-removed{--timeline-accent:#dc2626;--timeline-accent-soft:rgba(239,68,68,.20);--timeline-border:rgba(239,68,68,.20);--timeline-box-bg:linear-gradient(135deg, rgba(239,68,68,.11), rgba(255,255,255,.98))}

.tag-tone-1{background:rgba(59,130,246,.20);border-color:rgba(96,165,250,.30);color:#ffffff}
.tag-tone-2{background:rgba(59,130,246,.94);border-color:rgba(96,165,250,.98);color:#ffffff}
.tag-tone-3{background:rgba(239,68,68,.94);border-color:rgba(248,113,113,.98);color:#ffffff}
.tag-tone-4{background:rgba(34,197,94,.94);border-color:rgba(74,222,128,.98);color:#ffffff}
.tag-tone-5{background:rgba(239,68,68,.94);border-color:rgba(248,113,113,.98);color:#ffffff}
.tag-tone-6{background:rgba(59,130,246,.82);border-color:rgba(96,165,250,.90);color:#ffffff}
.tag-tone-7{background:rgba(59,130,246,.88);border-color:rgba(96,165,250,.94);color:#ffffff}
.tag-tone-8{background:rgba(34,197,94,.88);border-color:rgba(74,222,128,.94);color:#ffffff}
[data-theme="light"] .tag-tone-1{background:rgba(59,130,246,.18);border-color:rgba(59,130,246,.26);color:#000000}
[data-theme="light"] .tag-tone-2{background:rgba(59,130,246,.92);border-color:rgba(37,99,235,.96);color:#ffffff}
[data-theme="light"] .tag-tone-3{background:rgba(239,68,68,.90);border-color:rgba(220,38,38,.94);color:#ffffff}
[data-theme="light"] .tag-tone-4{background:rgba(34,197,94,.90);border-color:rgba(22,163,74,.94);color:#ffffff}
[data-theme="light"] .tag-tone-5{background:rgba(239,68,68,.90);border-color:rgba(220,38,38,.94);color:#ffffff}
[data-theme="light"] .tag-tone-6{background:rgba(59,130,246,.82);border-color:rgba(37,99,235,.88);color:#ffffff}
[data-theme="light"] .tag-tone-7{background:rgba(59,130,246,.86);border-color:rgba(37,99,235,.90);color:#ffffff}
[data-theme="light"] .tag-tone-8{background:rgba(34,197,94,.86);border-color:rgba(22,163,74,.90);color:#ffffff}

[data-theme="light"] .endpoint-menu-btn.active{background:rgba(64,138,113,.18);border-color:rgba(40,90,72,.22);box-shadow:0 0 0 1px rgba(40,90,72,.08) inset;}
[data-theme="light"] .endpoint-menu-btn.active strong,
[data-theme="light"] .endpoint-menu-btn.active small,
[data-theme="light"] .doc-detail-tab-btn.active{color:#091413;border-bottom-color:#091413;}


[data-theme="dark"] .endpoint-menu-btn.active strong,
[data-theme="dark"] .endpoint-menu-btn.active small,
[data-theme="dark"] .doc-detail-tab-btn.active,
[data-theme="dark"] .doc-status-badge.active,
[data-theme="dark"] .login-announcement-tab.is-active,
[data-theme="dark"] .btnx.primary,
[data-theme="dark"] .btn-order.primary,
[data-theme="dark"] .btn-bill.primary,
[data-theme="dark"] .btn-cta.primary,
[data-theme="dark"] .mini-btn.primary,
[data-theme="dark"] .channel-btn,
[data-theme="dark"] .contact-btn.primary{
  color:#f2fbf6 !important;
}
[data-theme="dark"] .endpoint-menu-btn.active,
[data-theme="dark"] .doc-detail-tab-btn.active,
[data-theme="dark"] .doc-status-badge.active{
  border-color:rgba(176,228,204,.24) !important;
}
[data-theme="light"] .card,
[data-theme="light"] .panel,
[data-theme="light"] .cat-card,
[data-theme="light"] .doc-endpoint-card,
[data-theme="light"] .doc-endpoint-menu,
[data-theme="light"] .doc-request-card,
[data-theme="light"] .doc-tabs-card,
[data-theme="light"] .contact-item,
[data-theme="light"] .contact-photo-card,
[data-theme="light"] .preview,
[data-theme="light"] .transaction-history-wrap,
[data-theme="light"] .transaction-history-table tr,
[data-theme="light"] .doc-surface,
[data-theme="light"] .doc-card,
[data-theme="light"] .card-shell{
  box-shadow:0 0 0 1px rgba(40,90,72,.05);
}


/* Final text lock: only black or white text across UI */
:root,
[data-theme="light"]{
  --text:#000000 !important;
  --text2:#000000 !important;
  --text3:#000000 !important;
  --code-text:#000000 !important;
  --code-muted:#000000 !important;
  --code-btn-text:#000000 !important;
  --code-btn-hover-text:#000000 !important;
  --icon:#000000 !important;
}
[data-theme="dark"]{
  --text:#ffffff !important;
  --text2:#ffffff !important;
  --text3:#ffffff !important;
  --code-text:#ffffff !important;
  --code-muted:#ffffff !important;
  --code-btn-text:#ffffff !important;
  --code-btn-hover-text:#ffffff !important;
  --icon:#ffffff !important;
}
input::placeholder,
textarea::placeholder,
select,
option{
  color:var(--text) !important;
}
.mGET,
.mPOST,
.kbadge,
.kbadge.ok,
.kbadge.bad,
.kbadge.warn,
.kbadge.exp,
.badge-maintenance,
.badge-update,
.badge-endpoint,
.badge-added,
.badge-fixed,
.badge-removed,
.transaction-pill.ok,
.transaction-pill.pending,
.transaction-pill.err,
.transaction-pill.info,
.tag-tone-1,
.tag-tone-2,
.tag-tone-3,
.tag-tone-4,
.tag-tone-5,
.tag-tone-6,
.tag-tone-7,
.tag-tone-8,
.doc-exclusive-badge,
.doc-exclusive-badge i,
.endpoint-menu-method,
.endpoint-menu-btn.active strong,
.endpoint-menu-btn.active small,
.doc-detail-tab-btn.active,
.doc-status-badge.active,
.doc-status-badge.disabled,
.login-announcement-tab.is-active{
  color:var(--text) !important;
}
.btn.primary,
.btnx.primary,
.btn-order.primary,
.btn-bill.primary,
.btn-cta.primary,
.auth-primary,
.contact-btn.primary,
.mini-btn.primary,
.channel-btn,
.login-announcement-close-btn{
  color:#ffffff !important;
}


/* Enforce monochrome text on all highlighted/status text */
.tk-dollar,.tk-cmd,.tk-flag,.tk-method,.tk-url,.tk-qs,.tk-pkey,.tk-pval,.tk-jkey,.tk-jval,.tk-jstr,.tk-jbool,.tk-jnum,.tk-jnull,.tk-punct,
.auth-link,.auth-error,.report-warning,.doc-status-badge.active,.doc-status-badge.disabled,.doc-exclusive-badge,.doc-exclusive-badge i,
.aly-brand-sub,.aly-nav-link.active,.aly-nav-button.active,.aly-nav-icon,.aly-nav-text span,.aly-compact-title,
.transaction-pill.ok,.transaction-pill.pending,.transaction-pill.err,.transaction-pill.info,
.badge-maintenance,.badge-update,.badge-endpoint,.badge-added,.badge-fixed,.badge-removed,
.tag-tone-1,.tag-tone-2,.tag-tone-3,.tag-tone-4,.tag-tone-5,.tag-tone-6,.tag-tone-7,.tag-tone-8,
.kbadge.ok,.kbadge.bad,.kbadge.warn,.kbadge.exp,.login-announcement-tab.is-active,
.copy-btn:hover,.theme-btn:hover,.req,.btn-clr:hover,.redeem-profile-title i{
  color:var(--text) !important;
}
[data-theme="dark"] .btnx.primary,
[data-theme="dark"] .btn-order.primary,
[data-theme="dark"] .btn-bill.primary,
[data-theme="dark"] .btn-cta.primary,
[data-theme="dark"] .auth-primary,
[data-theme="dark"] .contact-btn.primary,
[data-theme="dark"] .mini-btn.primary,
[data-theme="dark"] .channel-btn,
[data-theme="dark"] .login-announcement-close-btn,
[data-theme="dark"] .auth-primary i{
  color:#ffffff !important;
}


/* === 2026 dark mode consistency pass (non-home pages only) === */
html[data-theme="dark"] body:not(.landing-home){
  --bg:#050505;
  --bg2:#0b0b0c;
  --bg3:#111214;
  --bg4:#17181b;
  --border:rgba(255,255,255,.10);
  --border2:rgba(255,255,255,.18);
  --text:#ffffff;
  --text2:rgba(255,255,255,.82);
  --text3:rgba(255,255,255,.62);
  --accent:#000000;
  --accent2:#111111;
  --accent3:#1b1b1d;
  --accent4:#2a2a2d;
  --accentbg:rgba(255,255,255,.06);
  --accentborder:rgba(255,255,255,.16);
  --green:#22c55e;
  --red:#ef4444;
  --blue:#3b82f6;
  --codebox-bg:#0c0d10;
  --codebox-border:rgba(255,255,255,.10);
  --codetop-bg:#111214;
  --codetop-border:rgba(255,255,255,.10);
  --code-text:#ffffff;
  --code-muted:rgba(255,255,255,.70);
  --code-btn-border:rgba(255,255,255,.14);
  --code-btn-text:#ffffff;
  --code-btn-hover-border:rgba(255,255,255,.28);
  --code-btn-hover-text:#ffffff;
  --code-tab-active-bg:rgba(255,255,255,.08);
  --card-bg:rgba(255,255,255,.04);
  --card-border:rgba(255,255,255,.10);
  --card-hover-border:rgba(255,255,255,.16);
  --chip-bg:rgba(255,255,255,.05);
  --chip-border:rgba(255,255,255,.11);
  --input-bg:#0c0d10;
  --input-border:rgba(255,255,255,.12);
  --btn-bg:#0c0d10;
  --btn-border:rgba(255,255,255,.12);
  --btn-text:#ffffff;
  --modal-bg:#0b0b0c;
  --modal-border:rgba(255,255,255,.10);
  --shadow:0 20px 54px rgba(0,0,0,.48);
  --icon:#ffffff;
  --free-limit-live-dot:#ffffff;
  --free-limit-live-dot-glow:rgba(255,255,255,.18);
  --free-limit-progress-track:rgba(255,255,255,.08);
  --free-limit-progress-border:rgba(255,255,255,.12);
  --free-limit-progress-fill-start:rgba(255,255,255,.88);
  --free-limit-progress-fill-end:rgba(180,180,180,.72);
  --free-limit-progress-fill-shadow:rgba(255,255,255,.10);
  --free-limit-progress-knob:rgba(255,255,255,.96);
  --free-limit-progress-knob-shadow:rgba(255,255,255,.14);
}

html[data-theme="dark"] body.landing-home{
  --bg:#091413;
  --bg2:#0d1c19;
  --bg3:#102520;
  --bg4:#153028;
  --border:rgba(176,228,204,0.14);
  --border2:rgba(64,138,113,0.28);
  --text:#ffffff;
  --text2:#ffffff;
  --text3:#ffffff;
  --accent:#091413;
  --accent2:#285A48;
  --accent3:#408A71;
  --accent4:#B0E4CC;
  --accentbg:rgba(64,138,113,0.18);
  --accentborder:rgba(176,228,204,0.24);
  --green:#408A71;
  --red:#ef4444;
  --blue:#B0E4CC;
}

html[data-theme="dark"] body:not(.landing-home),
html[data-theme="dark"] body:not(.landing-home) .docs-main,
html[data-theme="dark"] body:not(.landing-home) .docs-shell,
html[data-theme="dark"] body:not(.landing-home) .docs-app,
html[data-theme="dark"] body:not(.landing-home) .admin-content-stack,
html[data-theme="dark"] body:not(.landing-home) .admin-shell{
  background-color:var(--bg);
}

html[data-theme="dark"] body:not(.landing-home) .aly-sidebar,
html[data-theme="dark"] body:not(.landing-home) .docs-shell.aly-shell .docs-main,
html[data-theme="dark"] body:not(.landing-home) .admin-sidebar-panel,
html[data-theme="dark"] body:not(.landing-home) .admin-topbar,
html[data-theme="dark"] body:not(.landing-home) .preview,
html[data-theme="dark"] body:not(.landing-home) .card,
html[data-theme="dark"] body:not(.landing-home) .panel,
html[data-theme="dark"] body:not(.landing-home) .cat-card,
html[data-theme="dark"] body:not(.landing-home) .doc-endpoint-card,
html[data-theme="dark"] body:not(.landing-home) .doc-endpoint-menu,
html[data-theme="dark"] body:not(.landing-home) .doc-request-card,
html[data-theme="dark"] body:not(.landing-home) .doc-tabs-card,
html[data-theme="dark"] body:not(.landing-home) .contact-item,
html[data-theme="dark"] body:not(.landing-home) .contact-photo-card,
html[data-theme="dark"] body:not(.landing-home) .transaction-history-wrap,
html[data-theme="dark"] body:not(.landing-home) .transaction-history-table tr,
html[data-theme="dark"] body:not(.landing-home) .summary-item,
html[data-theme="dark"] body:not(.landing-home) .card-soft,
html[data-theme="dark"] body:not(.landing-home) .free-limit-panel,
html[data-theme="dark"] body:not(.landing-home) .free-limit-stat,
html[data-theme="dark"] body:not(.landing-home) .hero-card,
html[data-theme="dark"] body:not(.landing-home) .fcard,
html[data-theme="dark"] body:not(.landing-home) .faq-item,
html[data-theme="dark"] body:not(.landing-home) .cardlike,
html[data-theme="dark"] body:not(.landing-home) .auth-card{
  background:#0b0b0c !important;
  border-color:rgba(255,255,255,.10) !important;
  box-shadow:0 18px 40px rgba(0,0,0,.32) !important;
}

html[data-theme="dark"] body:not(.landing-home) .aly-sidebar,
html[data-theme="dark"] body:not(.landing-home) .admin-sidebar-panel{
  background:linear-gradient(180deg, #050505 0%, #0c0d10 100%) !important;
  border-right-color:rgba(255,255,255,.08) !important;
}

html[data-theme="dark"] body:not(.landing-home) .mobile-side-backdrop{
  background:rgba(0,0,0,.72) !important;
}

html[data-theme="dark"] body:not(.landing-home) button,
html[data-theme="dark"] body:not(.landing-home) .btn,
html[data-theme="dark"] body:not(.landing-home) .btn2,
html[data-theme="dark"] body:not(.landing-home) .btnx,
html[data-theme="dark"] body:not(.landing-home) .btn-order,
html[data-theme="dark"] body:not(.landing-home) .btn-bill,
html[data-theme="dark"] body:not(.landing-home) .btn-cta,
html[data-theme="dark"] body:not(.landing-home) .auth-primary,
html[data-theme="dark"] body:not(.landing-home) .contact-btn,
html[data-theme="dark"] body:not(.landing-home) .mini-btn,
html[data-theme="dark"] body:not(.landing-home) .channel-btn,
html[data-theme="dark"] body:not(.landing-home) .theme-btn,
html[data-theme="dark"] body:not(.landing-home) .btn-upgrade,
html[data-theme="dark"] body:not(.landing-home) .btn-upgrade-secondary,
html[data-theme="dark"] body:not(.landing-home) .btn-exec,
html[data-theme="dark"] body:not(.landing-home) .btn-clr,
html[data-theme="dark"] body:not(.landing-home) .side-logout,
html[data-theme="dark"] body:not(.landing-home) .aly-collapse-btn,
html[data-theme="dark"] body:not(.landing-home) .admin-action-link,
html[data-theme="dark"] body:not(.landing-home) .mobile-menu-btn,
html[data-theme="dark"] body:not(.landing-home) .login-announcement-close-btn{
  background:#000000 !important;
  background-image:none !important;
  color:#ffffff !important;
  border-color:rgba(255,255,255,.14) !important;
  box-shadow:none !important;
}

html[data-theme="dark"] body:not(.landing-home) button:hover,
html[data-theme="dark"] body:not(.landing-home) .btn:hover,
html[data-theme="dark"] body:not(.landing-home) .btn2:hover,
html[data-theme="dark"] body:not(.landing-home) .btnx:hover,
html[data-theme="dark"] body:not(.landing-home) .btn-order:hover,
html[data-theme="dark"] body:not(.landing-home) .btn-bill:hover,
html[data-theme="dark"] body:not(.landing-home) .btn-cta:hover,
html[data-theme="dark"] body:not(.landing-home) .auth-primary:hover,
html[data-theme="dark"] body:not(.landing-home) .contact-btn:hover,
html[data-theme="dark"] body:not(.landing-home) .mini-btn:hover,
html[data-theme="dark"] body:not(.landing-home) .channel-btn:hover,
html[data-theme="dark"] body:not(.landing-home) .theme-btn:hover,
html[data-theme="dark"] body:not(.landing-home) .btn-upgrade:hover,
html[data-theme="dark"] body:not(.landing-home) .btn-upgrade-secondary:hover,
html[data-theme="dark"] body:not(.landing-home) .btn-exec:hover,
html[data-theme="dark"] body:not(.landing-home) .btn-clr:hover,
html[data-theme="dark"] body:not(.landing-home) .side-logout:hover,
html[data-theme="dark"] body:not(.landing-home) .aly-collapse-btn:hover,
html[data-theme="dark"] body:not(.landing-home) .admin-action-link:hover,
html[data-theme="dark"] body:not(.landing-home) .mobile-menu-btn:hover,
html[data-theme="dark"] body:not(.landing-home) .login-announcement-close-btn:hover{
  background:#161616 !important;
  color:#ffffff !important;
  border-color:rgba(255,255,255,.22) !important;
}

html[data-theme="dark"] body:not(.landing-home) input,
html[data-theme="dark"] body:not(.landing-home) textarea,
html[data-theme="dark"] body:not(.landing-home) select,
html[data-theme="dark"] body:not(.landing-home) .field input,
html[data-theme="dark"] body:not(.landing-home) .field textarea,
html[data-theme="dark"] body:not(.landing-home) .field select,
html[data-theme="dark"] body:not(.landing-home) .codeblock,
html[data-theme="dark"] body:not(.landing-home) pre,
html[data-theme="dark"] body:not(.landing-home) code,
html[data-theme="dark"] body:not(.landing-home) .table-wrap,
html[data-theme="dark"] body:not(.landing-home) table,
html[data-theme="dark"] body:not(.landing-home) .notice-empty,
html[data-theme="dark"] body:not(.landing-home) .usage-box,
html[data-theme="dark"] body:not(.landing-home) .doc-search-input,
html[data-theme="dark"] body:not(.landing-home) .search-input{
  background:#0f1012 !important;
  color:#ffffff !important;
  border-color:rgba(255,255,255,.10) !important;
}

html[data-theme="dark"] body:not(.landing-home) .mGET,
html[data-theme="dark"] body:not(.landing-home) .mPOST,
html[data-theme="dark"] body:not(.landing-home) .doc-endpoint-method,
html[data-theme="dark"] body:not(.landing-home) .endpoint-menu-method,
html[data-theme="dark"] body:not(.landing-home) .doc-code-method,
html[data-theme="dark"] body:not(.landing-home) .doc-status-badge,
html[data-theme="dark"] body:not(.landing-home) .transaction-pill,
html[data-theme="dark"] body:not(.landing-home) .kbadge,
html[data-theme="dark"] body:not(.landing-home) .login-announcement-tab,
html[data-theme="dark"] body:not(.landing-home) .notice-pill,
html[data-theme="dark"] body:not(.landing-home) .badge,
html[data-theme="dark"] body:not(.landing-home) .feature-badge,
html[data-theme="dark"] body:not(.landing-home) .status-pill{
  color:#ffffff !important;
}

html[data-theme="dark"] body:not(.landing-home) .tag-tone-1{background:rgba(59,130,246,.18) !important;border-color:rgba(96,165,250,.28) !important;color:#ffffff !important}
html[data-theme="dark"] body:not(.landing-home) .tag-tone-2{background:rgba(59,130,246,.92) !important;border-color:rgba(96,165,250,.98) !important;color:#ffffff !important}
html[data-theme="dark"] body:not(.landing-home) .tag-tone-3{background:rgba(245,158,11,.90) !important;border-color:rgba(251,191,36,.96) !important;color:#ffffff !important}
html[data-theme="dark"] body:not(.landing-home) .tag-tone-4{background:rgba(34,197,94,.92) !important;border-color:rgba(74,222,128,.98) !important;color:#ffffff !important}
html[data-theme="dark"] body:not(.landing-home) .tag-tone-5{background:rgba(239,68,68,.92) !important;border-color:rgba(248,113,113,.98) !important;color:#ffffff !important}
html[data-theme="dark"] body:not(.landing-home) .tag-tone-6{background:rgba(139,92,246,.86) !important;border-color:rgba(167,139,250,.94) !important;color:#ffffff !important}
html[data-theme="dark"] body:not(.landing-home) .tag-tone-7{background:rgba(236,72,153,.86) !important;border-color:rgba(244,114,182,.94) !important;color:#ffffff !important}
html[data-theme="dark"] body:not(.landing-home) .tag-tone-8{background:rgba(14,165,233,.86) !important;border-color:rgba(56,189,248,.94) !important;color:#ffffff !important}

html[data-theme="dark"] body:not(.landing-home) .badge-update,
html[data-theme="dark"] body:not(.landing-home) .badge-endpoint,
html[data-theme="dark"] body:not(.landing-home) .badge-fixed{background:rgba(59,130,246,.92) !important;border-color:rgba(96,165,250,.98) !important;color:#ffffff !important}
html[data-theme="dark"] body:not(.landing-home) .badge-added{background:rgba(34,197,94,.92) !important;border-color:rgba(74,222,128,.98) !important;color:#ffffff !important}
html[data-theme="dark"] body:not(.landing-home) .badge-maintenance,
html[data-theme="dark"] body:not(.landing-home) .badge-removed{background:rgba(239,68,68,.92) !important;border-color:rgba(248,113,113,.98) !important;color:#ffffff !important}
html[data-theme="dark"] body:not(.landing-home) .change-card-update,
html[data-theme="dark"] body:not(.landing-home) .change-card-endpoint,
html[data-theme="dark"] body:not(.landing-home) .change-card-fixed{--timeline-accent:#3b82f6;--timeline-accent-soft:rgba(59,130,246,.18);--timeline-border:rgba(59,130,246,.26);--timeline-box-bg:linear-gradient(135deg, rgba(59,130,246,.12), rgba(255,255,255,.03)) !important}
html[data-theme="dark"] body:not(.landing-home) .change-card-added{--timeline-accent:#22c55e;--timeline-accent-soft:rgba(34,197,94,.18);--timeline-border:rgba(34,197,94,.26);--timeline-box-bg:linear-gradient(135deg, rgba(34,197,94,.12), rgba(255,255,255,.03)) !important}
html[data-theme="dark"] body:not(.landing-home) .change-card-maintenance,
html[data-theme="dark"] body:not(.landing-home) .change-card-removed{--timeline-accent:#ef4444;--timeline-accent-soft:rgba(239,68,68,.18);--timeline-border:rgba(239,68,68,.26);--timeline-box-bg:linear-gradient(135deg, rgba(239,68,68,.12), rgba(255,255,255,.03)) !important}




/* Docs request form readability */
.doc-request-card .fi,
.doc-request-card input.fi,
.doc-request-card select.fi,
.doc-request-card textarea.fi{
  background:rgba(255,255,255,.98);
  border:1px solid rgba(148,163,184,.34);
  color:#374151 !important;
}
.doc-request-card .fi::placeholder,
.doc-request-card input.fi::placeholder,
.doc-request-card textarea.fi::placeholder{
  color:#6b7280 !important;
}
.doc-request-card .fi:focus,
.doc-request-card input.fi:focus,
.doc-request-card select.fi:focus,
.doc-request-card textarea.fi:focus{
  border-color:#f59e0b;
  box-shadow:0 0 0 3px rgba(245,158,11,.18);
}
.doc-request-card .fi option,
.doc-request-card select.fi option{
  color:#374151;
  background:#ffffff;
}



.docs-search-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:16px 0 8px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel-2);
}
.docs-search-box{
  flex:1;
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  min-height:52px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--input-bg, var(--panel-2));
}
.docs-search-box i{color:var(--text2);font-size:14px;flex:0 0 auto}
.doc-search-input{flex:1;min-width:0;border:none;outline:none;background:transparent;color:var(--text);font:inherit;padding:0}
.doc-search-input::placeholder{color:var(--text2)}
.docs-search-clear{border:none;background:transparent;color:var(--text2);width:34px;height:34px;border-radius:10px;cursor:pointer;visibility:hidden}
.docs-search-clear:hover{background:rgba(255,255,255,.06);color:var(--text)}
.docs-search-hint{font-size:12px;color:var(--text2);white-space:nowrap}
.view-head-search{align-items:flex-start;gap:12px}
.vh-sub{margin-top:6px;color:var(--text2);font-size:13px;line-height:1.5}
.doc-result-cat{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.04);font-size:11px;font-weight:700;color:var(--text2);text-transform:uppercase;letter-spacing:.04em;margin-top:8px}
.doc-tabs-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.doc-tabs-switches{display:flex;gap:28px;min-width:0;overflow:auto}
.doc-tab-copy-btn{margin-left:auto}
.doc-json-shell{display:flex;flex-direction:column;min-height:340px}
.doc-run-meta__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;flex:1;min-width:0}
.doc-run-item{min-width:0}
.doc-run-item code{display:block;max-width:100%;word-break:break-all;font-family:"Fira Code", monospace;color:var(--text);font-size:12px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid var(--line)}
.doc-response-shell{padding:0 16px 16px}
.doc-response-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:0 0 12px}
.doc-response-sub{font-size:12px;color:var(--text2);line-height:1.5}
.doc-response-body{min-height:220px}
.doc-response-body .res-code-content{margin:0;border-radius:16px;border:1px solid var(--line);background:var(--panel-2);min-height:220px;display:block;overflow:auto}
.doc-response-body .res-code-content--json{margin:0;max-height:none;min-height:220px}
.doc-response-body .doc-placeholder{min-height:220px}
.doc-json-panel.is-empty{min-height:340px}
@media (max-width: 900px){.docs-search-toolbar{flex-direction:column;align-items:stretch}.docs-search-hint{white-space:normal}}
@media (max-width: 760px){.docs-search-toolbar{padding:12px 14px;border-radius:16px}.docs-search-box{min-height:48px;border-radius:14px;padding:0 12px}.doc-tabs-switches{gap:16px;width:100%}.doc-tab-copy-btn{margin-left:0}.doc-run-meta{padding:14px}.doc-response-shell{padding:0 14px 14px}}


/* === report action color restore === */
.report-primary{
  border-color:#ef4444 !important;
  background:linear-gradient(135deg, #ef4444, #b91c1c) !important;
  color:#ffffff !important;
  box-shadow:0 14px 30px rgba(239,68,68,.28) !important;
}
.report-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 34px rgba(239,68,68,.34) !important;
}
.doc-report-badge{
  background:linear-gradient(135deg, #ef4444, #b91c1c) !important;
  border-color:#ef4444 !important;
  color:#ffffff !important;
  box-shadow:0 14px 30px rgba(239,68,68,.28) !important;
}
.doc-report-badge:hover{
  background:linear-gradient(135deg, #f87171, #dc2626) !important;
  border-color:#f87171 !important;
  color:#ffffff !important;
  box-shadow:0 18px 34px rgba(239,68,68,.34) !important;
}
html[data-theme="dark"] body:not(.landing-home) .doc-report-badge,
html[data-theme="dark"] body:not(.landing-home) .doc-report-badge:hover,
html[data-theme="dark"] body:not(.landing-home) .auth-primary.report-primary,
html[data-theme="dark"] body:not(.landing-home) .auth-primary.report-primary:hover{
  background-image:linear-gradient(135deg, #ef4444, #b91c1c) !important;
  background-color:#dc2626 !important;
  border-color:#ef4444 !important;
  color:#ffffff !important;
  box-shadow:0 14px 30px rgba(239,68,68,.28) !important;
}


/* === Docs dark mode readability patch === */
html[data-theme="dark"] body.docs-body{
  --panel:#121a22;
  --panel-2:#0d141b;
  --line:rgba(176,228,204,.16);
  --card-bg:#121a22;
  --card-border:rgba(176,228,204,.16);
  --chip-bg:rgba(176,228,204,.08);
  --chip-border:rgba(176,228,204,.16);
  --input-bg:#0d141b;
  --input-border:rgba(176,228,204,.18);
  --btn-bg:#17212b;
  --btn-border:rgba(176,228,204,.18);
  --btn-text:#f7fbff;
  --modal-bg:#121a22;
  --modal-border:rgba(176,228,204,.16);
  --text:#f7fbff;
  --text2:rgba(226,232,240,.76);
  --text3:rgba(226,232,240,.62);
}
html[data-theme="dark"] body.docs-body,
html[data-theme="dark"] body.docs-body .docs-shell,
html[data-theme="dark"] body.docs-body .docs-app,
html[data-theme="dark"] body.docs-body .docs-main,
html[data-theme="dark"] body.docs-body .auth-root{
  background-color:#091015 !important;
}
html[data-theme="dark"] body.docs-body .aly-sidebar{
  background:linear-gradient(180deg,#081017 0%,#101922 100%) !important;
  border-right-color:rgba(176,228,204,.12) !important;
}
html[data-theme="dark"] body.docs-body .docs-shell.aly-shell .docs-main{
  background:radial-gradient(circle at top, rgba(64,138,113,.12), transparent 30%), #091015 !important;
}
html[data-theme="dark"] body.docs-body .docs-header,
html[data-theme="dark"] body.docs-body .cat-tile,
html[data-theme="dark"] body.docs-body .doc-endpoint-card,
html[data-theme="dark"] body.docs-body .doc-endpoint-menu,
html[data-theme="dark"] body.docs-body .doc-request-card,
html[data-theme="dark"] body.docs-body .doc-tabs-card,
html[data-theme="dark"] body.docs-body .card,
html[data-theme="dark"] body.docs-body .profile-card,
html[data-theme="dark"] body.docs-body .free-limit-panel,
html[data-theme="dark"] body.docs-body .auth-card,
html[data-theme="dark"] body.docs-body .login-announcement-card,
html[data-theme="dark"] body.docs-body .login-announcement-item,
html[data-theme="dark"] body.docs-body .doc-preview-json,
html[data-theme="dark"] body.docs-body .doc-preview-empty,
html[data-theme="dark"] body.docs-body .doc-preview-media,
html[data-theme="dark"] body.docs-body .doc-auth-row span,
html[data-theme="dark"] body.docs-body .doc-code-path code,
html[data-theme="dark"] body.docs-body .doc-result-cat,
html[data-theme="dark"] body.docs-body .maintenance-box{
  background:#121a22 !important;
  border-color:rgba(176,228,204,.16) !important;
  box-shadow:0 18px 42px rgba(0,0,0,.24) !important;
}
html[data-theme="dark"] body.docs-body .doc-result-cat,
html[data-theme="dark"] body.docs-body .maintenance-box,
html[data-theme="dark"] body.docs-body .doc-auth-row span,
html[data-theme="dark"] body.docs-body .doc-code-path code,
html[data-theme="dark"] body.docs-body .doc-preview-json,
html[data-theme="dark"] body.docs-body .doc-preview-empty,
html[data-theme="dark"] body.docs-body .doc-preview-media,
html[data-theme="dark"] body.docs-body .login-announcement-item{
  background:#0d141b !important;
}
html[data-theme="dark"] body.docs-body .aly-nav-link,
html[data-theme="dark"] body.docs-body .side-logout,
html[data-theme="dark"] body.docs-body .aly-collapse-btn,
html[data-theme="dark"] body.docs-body .theme-btn,
html[data-theme="dark"] body.docs-body .mobile-menu-btn,
html[data-theme="dark"] body.docs-body .btn-upgrade,
html[data-theme="dark"] body.docs-body .auth-primary,
html[data-theme="dark"] body.docs-body .login-announcement-tab,
html[data-theme="dark"] body.docs-body .login-announcement-close-btn,
html[data-theme="dark"] body.docs-body .back-btn,
html[data-theme="dark"] body.docs-body .auth-eye,
html[data-theme="dark"] body.docs-body .docs-search-clear{
  background:#17212b !important;
  color:#f7fbff !important;
  border-color:rgba(176,228,204,.18) !important;
  box-shadow:none !important;
}
html[data-theme="dark"] body.docs-body .aly-nav-link:hover,
html[data-theme="dark"] body.docs-body .side-logout:hover,
html[data-theme="dark"] body.docs-body .aly-collapse-btn:hover,
html[data-theme="dark"] body.docs-body .theme-btn:hover,
html[data-theme="dark"] body.docs-body .mobile-menu-btn:hover,
html[data-theme="dark"] body.docs-body .btn-upgrade:hover,
html[data-theme="dark"] body.docs-body .auth-primary:hover,
html[data-theme="dark"] body.docs-body .login-announcement-tab:hover,
html[data-theme="dark"] body.docs-body .login-announcement-close-btn:hover,
html[data-theme="dark"] body.docs-body .back-btn:hover,
html[data-theme="dark"] body.docs-body .auth-eye:hover,
html[data-theme="dark"] body.docs-body .docs-search-clear:hover{
  background:#1f2b36 !important;
  border-color:rgba(176,228,204,.28) !important;
}
html[data-theme="dark"] body.docs-body .doc-search-input,
html[data-theme="dark"] body.docs-body .auth-input,
html[data-theme="dark"] body.docs-body .auth-pass,
html[data-theme="dark"] body.docs-body .docs-search-box,
html[data-theme="dark"] body.docs-body .field input,
html[data-theme="dark"] body.docs-body .field textarea,
html[data-theme="dark"] body.docs-body .field select,
html[data-theme="dark"] body.docs-body .doc-json-panel,
html[data-theme="dark"] body.docs-body .doc-response-body .res-code-content,
html[data-theme="dark"] body.docs-body pre,
html[data-theme="dark"] body.docs-body code{
  background:#0d141b !important;
  border-color:rgba(176,228,204,.14) !important;
  color:#f7fbff !important;
}
body.docs-body .doc-endpoint-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:16px;
}
html[data-theme="dark"] body.docs-body .doc-endpoint-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:16px;
}
html[data-theme="dark"] body.docs-body .doc-endpoint-copy,
body.docs-body .doc-endpoint-copy{
  min-width:0;
  display:grid;
  gap:6px;
}
html[data-theme="dark"] body.docs-body .doc-endpoint-name-row,
body.docs-body .doc-endpoint-name-row{
  margin:0;
}
html[data-theme="dark"] body.docs-body .doc-endpoint-badges,
body.docs-body .doc-endpoint-badges{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
html[data-theme="dark"] body.docs-body .doc-endpoint-chevron,
body.docs-body .doc-endpoint-chevron{
  color:var(--text2);
  font-size:14px;
}
body.docs-body .doc-endpoint-method,
body.docs-body .endpoint-menu-method,
body.docs-body .doc-code-method{
  min-width:auto;
  height:30px;
  padding:0 12px;
  font-size:11px;
  border-radius:999px;
  letter-spacing:.04em;
}
body.docs-body .doc-status-badge,
body.docs-body .doc-exclusive-badge{
  padding:6px 10px;
  font-size:10px;
  letter-spacing:.06em;
  text-transform:none;
}
body.docs-body .doc-endpoint-name-row strong{
  font-size:clamp(18px,2vw,24px);
}
html[data-theme="dark"] body.docs-body .doc-endpoint-method,
html[data-theme="dark"] body.docs-body .endpoint-menu-method,
html[data-theme="dark"] body.docs-body .doc-code-method{
  background:rgba(255,255,255,.04);
  border-color:rgba(176,228,204,.20);
  color:#e7f5ee;
}
html[data-theme="dark"] body.docs-body .doc-status-badge.active{
  background:#16a34a;
  border-color:#22c55e;
  color:#ffffff;
}
html[data-theme="dark"] body.docs-body .doc-status-badge.disabled{
  background:rgba(239,68,68,.16);
  border-color:rgba(248,113,113,.34);
  color:#fecaca;
}
html[data-theme="dark"] body.docs-body .login-announcement-tab.is-active{
  background:#1f7a52 !important;
  border-color:#2da56f !important;
  color:#ffffff !important;
}
@media (max-width: 760px){
  body.docs-body .doc-endpoint-card{
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
  }
  body.docs-body .doc-endpoint-chevron{
    display:none;
  }
  body.docs-body .doc-endpoint-badges{
    max-width:140px;
  }
}

/* === 2026 final docs/dashboard theme hotfix === */
body.docs-body .doc-tabs-head{
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel-2);
  margin-bottom:16px;
}
body.docs-body .doc-tabs-switches{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  overflow:auto;
}
body.docs-body .doc-detail-tab-btn{
  padding:10px 14px;
  border-radius:12px;
  border:1px solid transparent;
  color:var(--text2);
}
body.docs-body .doc-detail-tab-btn.active{
  background:rgba(64,138,113,.14);
  border-color:rgba(64,138,113,.24);
  border-bottom:1px solid rgba(64,138,113,.24);
  color:var(--text);
}
body.docs-body .doc-tab-copy-btn .copy-btn,
body.docs-body .doc-tab-copy-btn .btn-upgrade,
body.docs-body .doc-response-head .copy-btn{
  border-radius:12px;
}

html[data-theme="dark"] body.docs-body .docs-shell.aly-shell .docs-main{
  background:radial-gradient(circle at top, rgba(64,138,113,.14), transparent 30%), #091015 !important;
}
html[data-theme="dark"] body.docs-body .doc-tabs-head,
html[data-theme="dark"] body.docs-body .redeem-profile-card{
  background:linear-gradient(135deg, rgba(16,27,24,.98), rgba(9,20,18,.96)) !important;
  border-color:rgba(176,228,204,.14) !important;
  box-shadow:0 18px 42px rgba(0,0,0,.24) !important;
}
html[data-theme="dark"] body.docs-body .redeem-profile-title,
html[data-theme="dark"] body.docs-body .redeem-field label,
html[data-theme="dark"] body.docs-body .redeem-result-title{
  color:#f4fff9 !important;
}
html[data-theme="dark"] body.docs-body .redeem-profile-sub,
html[data-theme="dark"] body.docs-body .redeem-profile-badge,
html[data-theme="dark"] body.docs-body .redeem-inline-kpi .item small,
html[data-theme="dark"] body.docs-body .redeem-result-grid small,
html[data-theme="dark"] body.docs-body .doc-response-sub{
  color:rgba(226,232,240,.72) !important;
}
html[data-theme="dark"] body.docs-body .redeem-profile-badge{
  background:rgba(64,138,113,.12) !important;
  border-color:rgba(64,138,113,.24) !important;
}
html[data-theme="dark"] body.docs-body .redeem-code-input,
html[data-theme="dark"] body.docs-body .redeem-field select.auth-input,
html[data-theme="dark"] body.docs-body .redeem-inline-kpi .item,
html[data-theme="dark"] body.docs-body .redeem-result-grid .item,
html[data-theme="dark"] body.docs-body .redeem-profile-preview,
html[data-theme="dark"] body.docs-body .doc-response-body .res-code-content,
html[data-theme="dark"] body.docs-body .doc-preview-json,
html[data-theme="dark"] body.docs-body .doc-preview-media,
html[data-theme="dark"] body.docs-body .doc-preview-empty{
  background:#0f1917 !important;
  border-color:rgba(64,138,113,.24) !important;
}
html[data-theme="dark"] body.docs-body .redeem-code-input:focus-within{
  border-color:rgba(176,228,204,.34) !important;
  box-shadow:0 0 0 3px rgba(64,138,113,.14) !important;
}
html[data-theme="dark"] body.docs-body .redeem-code-input .auth-input,
html[data-theme="dark"] body.docs-body .redeem-field select.auth-input,
html[data-theme="dark"] body.docs-body .redeem-field select.auth-input option,
html[data-theme="dark"] body.docs-body .redeem-inline-kpi .item b,
html[data-theme="dark"] body.docs-body .redeem-result-grid b,
html[data-theme="dark"] body.docs-body .doc-detail-tab-btn,
html[data-theme="dark"] body.docs-body .doc-preview-json pre{
  color:#f4fff9 !important;
}
html[data-theme="dark"] body.docs-body .redeem-code-input .auth-input::placeholder{
  color:rgba(226,232,240,.56) !important;
}
html[data-theme="dark"] body.docs-body .redeem-code-input .btn-upgrade,
html[data-theme="dark"] body.docs-body .doc-tab-copy-btn .copy-btn,
html[data-theme="dark"] body.docs-body .doc-response-head .copy-btn{
  background:linear-gradient(135deg, #285A48, #408A71) !important;
  border-color:rgba(176,228,204,.22) !important;
  color:#ffffff !important;
  box-shadow:0 12px 24px rgba(40,90,72,.28) !important;
}
html[data-theme="dark"] body.docs-body .redeem-code-input .btn-upgrade:hover,
html[data-theme="dark"] body.docs-body .doc-tab-copy-btn .copy-btn:hover,
html[data-theme="dark"] body.docs-body .doc-response-head .copy-btn:hover{
  background:linear-gradient(135deg, #31705a, #4d9e80) !important;
  border-color:rgba(176,228,204,.30) !important;
}
html[data-theme="dark"] body.docs-body .doc-detail-tab-btn.active{
  background:rgba(64,138,113,.18) !important;
  border-color:rgba(176,228,204,.20) !important;
  color:#ffffff !important;
}

html[data-theme="light"] body.docs-body .docs-shell.aly-shell .docs-main{
  background:radial-gradient(circle at top, rgba(64,138,113,.08), transparent 26%), #ffffff !important;
}
html[data-theme="light"] body.docs-body .doc-tabs-head{
  background:#f8fcfa !important;
  border-color:rgba(40,90,72,.14) !important;
}
html[data-theme="light"] body.docs-body .doc-detail-tab-btn.active{
  background:rgba(64,138,113,.12) !important;
  border-color:rgba(40,90,72,.18) !important;
  color:#173026 !important;
}
html[data-theme="light"] body.docs-body .doc-tab-copy-btn .copy-btn,
html[data-theme="light"] body.docs-body .doc-response-head .copy-btn{
  background:linear-gradient(135deg, #285A48, #408A71) !important;
  border-color:rgba(40,90,72,.22) !important;
  color:#ffffff !important;
}
html[data-theme="light"] body.docs-body .redeem-profile-card{
  background:linear-gradient(135deg, #ffffff, #f3fbf6) !important;
  border-color:rgba(40,90,72,.16) !important;
}

/* ==========================================================
   Green Friendly UI Patch
   Tujuan: mempertahankan identitas hijau original, tetapi
   membuat light/dark mode lebih ramah mata dan tidak terlalu gelap.
   Patch ini sengaja hanya menimpa token warna dan sentuhan halus,
   tanpa mengubah struktur/layout utama.
   ========================================================== */

:root,
[data-theme="light"] {
  --bg: #f7fbf8;
  --bg2: #eef7f1;
  --bg3: #e7f3eb;
  --bg4: #dceee3;

  --text: #10211c;
  --text2: #244139;
  --text3: #5b736a;

  --accent: #1f5f4a;
  --accent2: #2f7d62;
  --accent3: #54a684;
  --accent4: #ccebdd;

  --green: #2f7d62;
  --blue: #54a684;

  --border: rgba(31,95,74,0.14);
  --border2: rgba(31,95,74,0.24);
  --accentbg: rgba(84,166,132,0.14);
  --accentborder: rgba(47,125,98,0.28);

  --card-bg: rgba(255,255,255,0.88);
  --card-border: rgba(31,95,74,0.14);
  --card-hover-border: rgba(47,125,98,0.28);

  --chip-bg: rgba(204,235,221,0.50);
  --chip-border: rgba(47,125,98,0.16);

  --input-bg: rgba(255,255,255,0.94);
  --input-border: rgba(31,95,74,0.16);

  --btn-bg: rgba(204,235,221,0.42);
  --btn-border: rgba(31,95,74,0.16);
  --btn-text: #10211c;

  --modal-bg: #ffffff;
  --modal-border: rgba(31,95,74,0.14);
  --shadow: 0 18px 44px rgba(16,33,28,0.08);
  --icon: #1f5f4a;

  --codebox-bg: #f3faf5;
  --codebox-border: rgba(31,95,74,.14);
  --codetop-bg: #eaf6ee;
  --codetop-border: rgba(31,95,74,.14);
  --code-text: #10211c;
  --code-muted: #5b736a;
  --code-btn-border: rgba(31,95,74,.18);
  --code-btn-text: #244139;
  --code-btn-hover-border: rgba(47,125,98,.34);
  --code-btn-hover-text: #10211c;
  --code-tab-active-bg: rgba(84,166,132,.16);

  --free-limit-live-dot: #2f7d62;
  --free-limit-live-dot-glow: rgba(47,125,98,.18);
  --free-limit-progress-track: rgba(204,235,221,.42);
  --free-limit-progress-border: rgba(84,166,132,.32);
  --free-limit-progress-fill-start: rgba(31,95,74,.96);
  --free-limit-progress-fill-end: rgba(84,166,132,.88);
  --free-limit-progress-fill-shadow: rgba(47,125,98,.22);
}

[data-theme="dark"] {
  --bg: #10201c;
  --bg2: #142823;
  --bg3: #19312b;
  --bg4: #203c34;

  --text: #f2fbf6;
  --text2: #d6eadf;
  --text3: #a9c9ba;

  --accent: #74c69d;
  --accent2: #52b788;
  --accent3: #95d5b2;
  --accent4: #d8f3dc;

  --green: #74c69d;
  --blue: #95d5b2;

  --border: rgba(216,243,220,0.12);
  --border2: rgba(149,213,178,0.22);
  --accentbg: rgba(116,198,157,0.13);
  --accentborder: rgba(149,213,178,0.24);

  --card-bg: rgba(255,255,255,0.055);
  --card-border: rgba(216,243,220,0.12);
  --card-hover-border: rgba(149,213,178,0.28);

  --chip-bg: rgba(216,243,220,0.075);
  --chip-border: rgba(216,243,220,0.13);

  --input-bg: rgba(8,22,18,0.52);
  --input-border: rgba(216,243,220,0.14);

  --btn-bg: rgba(216,243,220,0.08);
  --btn-border: rgba(216,243,220,0.14);
  --btn-text: #f2fbf6;

  --modal-bg: #142823;
  --modal-border: rgba(216,243,220,0.13);
  --shadow: 0 20px 54px rgba(0,0,0,0.26);
  --icon: #d6eadf;

  --codebox-bg: #142823;
  --codebox-border: rgba(216,243,220,.12);
  --codetop-bg: #19312b;
  --codetop-border: rgba(216,243,220,.12);
  --code-text: #f2fbf6;
  --code-muted: #a9c9ba;
  --code-btn-border: rgba(216,243,220,.14);
  --code-btn-text: #d6eadf;
  --code-btn-hover-border: rgba(149,213,178,.28);
  --code-btn-hover-text: #ffffff;
  --code-tab-active-bg: rgba(116,198,157,.14);

  --free-limit-live-dot: #74c69d;
  --free-limit-live-dot-glow: rgba(116,198,157,.18);
  --free-limit-progress-track: rgba(216,243,220,.10);
  --free-limit-progress-border: rgba(149,213,178,.24);
  --free-limit-progress-fill-start: rgba(82,183,136,.90);
  --free-limit-progress-fill-end: rgba(149,213,178,.78);
  --free-limit-progress-fill-shadow: rgba(82,183,136,.18);
}

/* Finishing visual ringan */
.header {
  background: color-mix(in srgb, var(--bg2) 88%, transparent);
  backdrop-filter: blur(14px);
}

.card,
.pricing-card,
.endpoint-card,
.feature-card,
.doc-card,
.checkout-card,
.order-card,
.key-card,
.stat-card {
  background: var(--card-bg);
  border-color: var(--card-border);
  box-shadow: var(--shadow);
}

button,
.btn,
.primary-btn,
.cta,
.cta-btn {
  border-color: var(--btn-border);
}

button:hover,
.btn:hover,
.primary-btn:hover,
.cta:hover,
.cta-btn:hover {
  border-color: var(--accentborder);
}

input,
select,
textarea {
  background: var(--input-bg);
  border-color: var(--input-border);
  color: var(--text);
}

::selection {
  background: rgba(84,166,132,.24);
  color: var(--text);
}

/* =========================================================
   V5 FINAL REPAIR — Orange Glassmorphism cleanup
   - sinkron dark/light tone orange-black, tidak hijau
   - icon kontras/terlihat
   - card/button docs/admin lebih glass dan rapi
   ========================================================= */
:root,
html[data-theme="light"],
[data-theme="light"]{
  --bg:#fff8f1 !important;
  --bg2:#fff1e3 !important;
  --bg3:#fff6ed !important;
  --bg4:#ffe9d4 !important;
  --border:rgba(120,58,18,.16) !important;
  --border2:rgba(249,115,22,.30) !important;
  --text:#17120f !important;
  --text2:#332620 !important;
  --text3:#6f625b !important;
  --accent:#ff7a1a !important;
  --accent2:#f97316 !important;
  --accent3:#fb923c !important;
  --accent4:#fed7aa !important;
  --accentbg:rgba(249,115,22,.12) !important;
  --accentborder:rgba(249,115,22,.32) !important;
  --green:#f97316 !important;
  --blue:#fb923c !important;
  --icon:#f97316 !important;
  --card-bg:rgba(255,255,255,.58) !important;
  --card-border:rgba(249,115,22,.20) !important;
  --card-hover-border:rgba(249,115,22,.42) !important;
  --chip-bg:rgba(255,255,255,.46) !important;
  --chip-border:rgba(249,115,22,.18) !important;
  --input-bg:rgba(255,255,255,.50) !important;
  --input-border:rgba(249,115,22,.22) !important;
  --btn-bg:rgba(255,255,255,.52) !important;
  --btn-border:rgba(249,115,22,.24) !important;
  --btn-text:#17120f !important;
  --modal-bg:rgba(255,248,241,.88) !important;
  --modal-border:rgba(249,115,22,.20) !important;
  --shadow:0 22px 70px rgba(120,58,18,.14) !important;
  --codebox-bg:rgba(255,255,255,.48) !important;
  --codebox-border:rgba(249,115,22,.18) !important;
  --codetop-bg:rgba(255,237,213,.40) !important;
  --codetop-border:rgba(249,115,22,.18) !important;
  --code-text:#17120f !important;
  --code-muted:#51433b !important;
}

html[data-theme="dark"],
[data-theme="dark"]{
  --bg:#050404 !important;
  --bg2:#0b0806 !important;
  --bg3:#12100e !important;
  --bg4:#1b1511 !important;
  --border:rgba(255,255,255,.10) !important;
  --border2:rgba(255,122,26,.30) !important;
  --text:#ffffff !important;
  --text2:rgba(255,255,255,.82) !important;
  --text3:rgba(255,255,255,.60) !important;
  --accent:#ff7a1a !important;
  --accent2:#f97316 !important;
  --accent3:#fb923c !important;
  --accent4:#fed7aa !important;
  --accentbg:rgba(249,115,22,.12) !important;
  --accentborder:rgba(249,115,22,.32) !important;
  --green:#f97316 !important;
  --blue:#fb923c !important;
  --icon:#fb923c !important;
  --card-bg:rgba(255,255,255,.055) !important;
  --card-border:rgba(255,255,255,.10) !important;
  --card-hover-border:rgba(249,115,22,.34) !important;
  --chip-bg:rgba(255,255,255,.06) !important;
  --chip-border:rgba(255,255,255,.11) !important;
  --input-bg:rgba(5,4,4,.46) !important;
  --input-border:rgba(255,255,255,.12) !important;
  --btn-bg:rgba(255,255,255,.07) !important;
  --btn-border:rgba(255,255,255,.12) !important;
  --btn-text:#ffffff !important;
  --modal-bg:rgba(10,8,6,.90) !important;
  --modal-border:rgba(255,255,255,.10) !important;
  --shadow:0 24px 80px rgba(0,0,0,.46) !important;
  --codebox-bg:rgba(255,255,255,.045) !important;
  --codebox-border:rgba(255,255,255,.10) !important;
  --codetop-bg:rgba(255,255,255,.055) !important;
  --codetop-border:rgba(255,255,255,.10) !important;
  --code-text:#ffffff !important;
  --code-muted:rgba(255,255,255,.70) !important;
}

body{
  color:var(--text) !important;
  background:
    radial-gradient(circle at 14% 18%, rgba(249,115,22,.20), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(255,168,92,.12), transparent 26%),
    radial-gradient(circle at 55% 105%, rgba(249,115,22,.09), transparent 35%),
    var(--bg) !important;
}
html[data-theme="dark"] body,
[data-theme="dark"] body{
  background:
    radial-gradient(circle at 12% 16%, rgba(249,115,22,.24), transparent 30%),
    radial-gradient(circle at 84% 10%, rgba(122,38,12,.34), transparent 29%),
    radial-gradient(circle at 52% 110%, rgba(249,115,22,.10), transparent 35%),
    #050404 !important;
}

body::before{
  content:"";
  position:fixed;
  inset:-18%;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(circle at 25% 30%, rgba(255,122,26,.18), transparent 18%),
    radial-gradient(circle at 75% 22%, rgba(255,184,102,.12), transparent 20%),
    radial-gradient(circle at 50% 72%, rgba(255,106,0,.10), transparent 24%);
  filter:blur(50px);
  animation:jagoanMeshFloat 18s ease-in-out infinite alternate;
}
@keyframes jagoanMeshFloat{
  0%{transform:translate3d(-1.5%, -1%, 0) scale(1);opacity:.75}
  100%{transform:translate3d(1.5%, 1%, 0) scale(1.06);opacity:1}
}

/* hard remove old green/tosca wash */
body.landing-home,
.docs-main,
.docs-shell,
.docs-app,
.admin-shell,
.admin-main,
.admin-content-stack{
  background-color:transparent !important;
}
body.landing-home::before{
  background:
    radial-gradient(circle at 10% 18%, rgba(255,122,26,.30), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(130,36,14,.40), transparent 28%),
    radial-gradient(circle at 48% 88%, rgba(255,122,26,.10), transparent 36%) !important;
}

/* universal glass panels */
.card,.panel,.preview,.hero-card,.cat-card,.doc-endpoint-card,.doc-endpoint-menu,.doc-request-card,.doc-tabs-card,
.docs-header,.docs-search-toolbar,.docs-section-header,.docs-hero,.aly-sidebar,.admin-sidebar-panel,.admin-topbar,
.admin-card,.admin-stat,.stat-card,.summary-item,.contact-item,.faq-item,.fcard,.card-soft,.cardlike,.auth-card,
.transaction-history-wrap,.free-limit-panel,.free-limit-stat,.endpoint-menu-btn,.doc-category-card{
  background:linear-gradient(135deg, rgba(255,255,255,.095), rgba(255,255,255,.035)) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  box-shadow:0 22px 70px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.10) !important;
  backdrop-filter:blur(24px) saturate(138%) !important;
  -webkit-backdrop-filter:blur(24px) saturate(138%) !important;
}
html[data-theme="light"] .card, html[data-theme="light"] .panel, html[data-theme="light"] .preview, html[data-theme="light"] .hero-card,
html[data-theme="light"] .cat-card, html[data-theme="light"] .doc-endpoint-card, html[data-theme="light"] .doc-request-card,
html[data-theme="light"] .doc-tabs-card, html[data-theme="light"] .docs-header, html[data-theme="light"] .docs-search-toolbar,
html[data-theme="light"] .aly-sidebar, html[data-theme="light"] .admin-sidebar-panel, html[data-theme="light"] .admin-topbar,
html[data-theme="light"] .admin-card, html[data-theme="light"] .admin-stat, html[data-theme="light"] .stat-card,
html[data-theme="light"] .summary-item, html[data-theme="light"] .contact-item, html[data-theme="light"] .faq-item,
html[data-theme="light"] .fcard, html[data-theme="light"] .card-soft, html[data-theme="light"] .cardlike, html[data-theme="light"] .auth-card{
  background:linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,237,213,.30)) !important;
  border-color:rgba(249,115,22,.18) !important;
  box-shadow:0 22px 70px rgba(120,58,18,.12), inset 0 1px 0 rgba(255,255,255,.70) !important;
}

/* docs cards: icon visible + orange accent */
.cat-card,.doc-category-card{
  min-height:112px !important;
  border-radius:30px !important;
  overflow:hidden !important;
  position:relative !important;
}
.cat-card::before,.doc-category-card::before,.admin-stat::before,.stat-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  background:radial-gradient(circle at 14% 12%, rgba(255,255,255,.20), transparent 24%), radial-gradient(circle at 85% 80%, rgba(249,115,22,.16), transparent 34%) !important;
  opacity:.85;
}
.cat-card:hover,.doc-category-card:hover,.admin-stat:hover,.stat-card:hover,.endpoint-menu-btn:hover{
  transform:translateY(-3px) !important;
  border-color:rgba(249,115,22,.42) !important;
  box-shadow:0 26px 80px rgba(249,115,22,.14), inset 0 1px 0 rgba(255,255,255,.16) !important;
}
.cat-icon,.doc-category-icon,.cat-card i,.doc-category-card i{
  color:#ff8a2a !important;
  background:rgba(249,115,22,.13) !important;
  border:1px solid rgba(249,115,22,.32) !important;
  box-shadow:0 0 24px rgba(249,115,22,.16) !important;
}
.cat-card i,.doc-category-card i{font-size:18px !important;opacity:1 !important;filter:none !important;}

/* buttons: clear states */
button,.btn,.btn2,.btnx,.btn-order,.btn-bill,.btn-cta,.auth-primary,.contact-btn,.mini-btn,.channel-btn,.theme-btn,
.btn-upgrade,.btn-upgrade-secondary,.btn-exec,.btn-clr,.side-logout,.aly-collapse-btn,.admin-action-link,.mobile-menu-btn,
.login-announcement-close-btn,.aly-nav-link,.admin-nav-btn{
  color:var(--text) !important;
  background:rgba(255,255,255,.07) !important;
  border:1px solid rgba(255,255,255,.13) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08) !important;
  backdrop-filter:blur(16px) !important;
  -webkit-backdrop-filter:blur(16px) !important;
}
.btn.primary,.btnx.primary,.btn-order.primary,.btn-bill.primary,.btn-cta.primary,.auth-primary,.contact-btn.primary,
.mini-btn.primary,.channel-btn,.btn-upgrade,.login-btn,.btn-login{
  color:#fff !important;
  background:linear-gradient(135deg,#ff8a2a,#ff6a00) !important;
  border-color:rgba(255,255,255,.18) !important;
  box-shadow:0 18px 42px rgba(249,115,22,.28) !important;
}
button:hover,.btn:hover,.btn2:hover,.btnx:hover,.btn-order:hover,.btn-bill:hover,.btn-cta:hover,.theme-btn:hover,
.aly-nav-link:hover,.admin-nav-btn:hover{
  color:#fff !important;
  background:linear-gradient(135deg, rgba(255,138,42,.95), rgba(255,106,0,.88)) !important;
  border-color:rgba(255,180,110,.55) !important;
}
.aly-nav-link.active,.admin-nav-btn.active,.endpoint-menu-btn.active,.doc-detail-tab-btn.active{
  color:#fff !important;
  background:linear-gradient(135deg, rgba(255,122,26,.24), rgba(255,255,255,.06)) !important;
  border-color:rgba(249,115,22,.45) !important;
}

/* icons must be readable */
i,svg,.fa,.fa-solid,.fa-regular,.fa-brands,.lucide,[class^="icon-"],[class*=" icon-"]{
  color:currentColor;
}
.aly-nav-link i,.admin-nav-btn i,.side-logout i,.theme-btn i,.btn i,.btn2 i,.btnx i,.btn-order i,.btn-bill i,
.docs-search-box i,.admin-action-link i,.mobile-menu-btn i,.cat-card i,.doc-category-card i,
.aly-nav-link svg,.admin-nav-btn svg,.side-logout svg,.theme-btn svg,.btn svg,.btn2 svg,.btnx svg{
  color:#ff8a2a !important;
  fill:none;
  stroke:currentColor;
  opacity:1 !important;
  filter:none !important;
}
button:hover i,button:hover svg,.btn:hover i,.btn:hover svg,.aly-nav-link:hover i,.aly-nav-link:hover svg,
.admin-nav-btn:hover i,.admin-nav-btn:hover svg,.aly-nav-link.active i,.admin-nav-btn.active i{
  color:#fff !important;
}

/* text readability */
h1,h2,h3,h4,h5,h6,.brand,.aly-brand-title,.admin-brand-title,.docs-title,.docs-section-title,.section-title,
.cat-title,.doc-category-title,.admin-title,.hero-title,.landing-title{
  color:var(--text) !important;
  text-shadow:none !important;
}
p,small,.muted,.subtext,.docs-subtitle,.docs-search-hint,.aly-brand-sub,.admin-brand-sub,.cat-count,.doc-category-count,
.admin-desc,.section-desc,.hero-desc{
  color:var(--text2) !important;
}

/* inputs / code */
input,textarea,select,.docs-search-input,.search-input,.auth-input,.admin-input,.codebox,pre,code,.doc-code,.endpoint-code{
  color:var(--text) !important;
  background:rgba(255,255,255,.055) !important;
  border-color:rgba(255,255,255,.13) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08) !important;
}
html[data-theme="light"] input, html[data-theme="light"] textarea, html[data-theme="light"] select,
html[data-theme="light"] .docs-search-input, html[data-theme="light"] .search-input, html[data-theme="light"] .auth-input,
html[data-theme="light"] .admin-input, html[data-theme="light"] .codebox, html[data-theme="light"] pre, html[data-theme="light"] code{
  background:rgba(255,255,255,.62) !important;
  border-color:rgba(249,115,22,.18) !important;
}
::placeholder{color:var(--text3) !important;opacity:1 !important;}
.tk-dollar,.tk-cmd,.tk-flag,.tk-method,.tk-url,.tk-qs,.tk-pkey,.tk-pval,.tk-jkey,.tk-jval,.tk-jstr,.tk-jbool,.tk-jnum,.tk-jnull,.tk-punct{
  color:var(--text) !important;
}

/* badges / status: orange not green */
.kbadge.ok,.stat-pill.green,.doc-status-badge.active,.transaction-pill.ok,.transaction-pill.info,.badge-endpoint,.badge-added,
.badge-update,.tag-tone-2,.tag-tone-4,.tag-tone-8,.login-announcement-tab.is-active,.mGET{
  color:#fff !important;
  background:rgba(249,115,22,.20) !important;
  border-color:rgba(249,115,22,.40) !important;
}
html[data-theme="light"] .kbadge.ok, html[data-theme="light"] .stat-pill.green, html[data-theme="light"] .doc-status-badge.active,
html[data-theme="light"] .transaction-pill.ok, html[data-theme="light"] .transaction-pill.info, html[data-theme="light"] .badge-endpoint,
html[data-theme="light"] .badge-added, html[data-theme="light"] .badge-update, html[data-theme="light"] .tag-tone-2,
html[data-theme="light"] .tag-tone-4, html[data-theme="light"] .tag-tone-8, html[data-theme="light"] .login-announcement-tab.is-active,
html[data-theme="light"] .mGET{
  color:#7c2d12 !important;
  background:rgba(249,115,22,.14) !important;
  border-color:rgba(249,115,22,.30) !important;
}

/* sidebar active/brand cleanup */
.aly-sidebar,.admin-sidebar-panel{
  background:linear-gradient(180deg, rgba(7,7,7,.76), rgba(12,8,5,.66)) !important;
}
.aly-brand-logo,.admin-brand-logo,.brand-logo{
  box-shadow:0 12px 38px rgba(249,115,22,.30) !important;
}

/* scrollbar orange */
::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,#ff8a2a,#ff6a00) !important;
  border-radius:999px !important;
}
::-webkit-scrollbar-track{background:rgba(255,255,255,.04) !important;}

/* =========================================================
   V6 STRICT ORANGE/BLACK REPAIR
   - Dark mode: no green/tosca wash, only black base + orange background glow
   - Cards/buttons: flat glass/solid, no multi-color gradients
   - Gradients only allowed for page background glow
   ========================================================= */
html[data-theme="dark"],
html[data-theme="dark"] body,
[data-theme="dark"],
[data-theme="dark"] body{
  --bg:#050505 !important;
  --bg2:#080808 !important;
  --bg3:#0d0d0e !important;
  --bg4:#141210 !important;
  --border:rgba(255,255,255,.11) !important;
  --border2:rgba(255,122,26,.34) !important;
  --text:#ffffff !important;
  --text2:rgba(255,255,255,.78) !important;
  --text3:rgba(255,255,255,.55) !important;
  --accent:#ff7a1a !important;
  --accent2:#ff7a1a !important;
  --accent3:#ff9a3d !important;
  --accent4:#ffbd7a !important;
  --accentbg:rgba(255,122,26,.12) !important;
  --accentborder:rgba(255,122,26,.40) !important;
  --green:#ff7a1a !important;
  --blue:#ff9a3d !important;
  --icon:#ff8a2a !important;
  --card-bg:rgba(18,18,18,.58) !important;
  --card-border:rgba(255,255,255,.11) !important;
  --card-hover-border:rgba(255,122,26,.38) !important;
  --btn-bg:rgba(18,18,18,.74) !important;
  --btn-border:rgba(255,255,255,.13) !important;
  --input-bg:rgba(12,12,12,.74) !important;
  --input-border:rgba(255,255,255,.13) !important;
}

/* page background only: black + orange glow, no green layer */
html[data-theme="dark"] body,
html[data-theme="dark"] body.landing-home,
html[data-theme="dark"] body.docs-body,
html[data-theme="dark"] body.admin-body{
  background-color:#050505 !important;
  background-image:
    radial-gradient(720px 430px at 12% 18%, rgba(255,122,26,.24), transparent 62%),
    radial-gradient(760px 440px at 88% 12%, rgba(113,35,10,.30), transparent 64%),
    radial-gradient(760px 520px at 52% 92%, rgba(255,122,26,.08), transparent 70%) !important;
  color:#ffffff !important;
}
body::before,
body.landing-home::before{
  background:
    radial-gradient(540px 340px at 14% 18%, rgba(255,122,26,.24), transparent 65%),
    radial-gradient(520px 340px at 88% 18%, rgba(122,38,12,.22), transparent 66%) !important;
  filter:blur(64px) !important;
  opacity:.9 !important;
}
.wrapper,
.landing .hero::before,
.landing .hero::after{
  background:none !important;
}
.landing .hero::before{
  background:
    radial-gradient(720px 420px at 18% 26%, rgba(255,122,26,.20), transparent 64%),
    radial-gradient(740px 430px at 85% 24%, rgba(122,38,12,.22), transparent 66%) !important;
  filter:blur(40px) !important;
  opacity:1 !important;
}
.landing .hero::after{display:none !important;}

/* dark cards/panels: flat glass, not green and not gradient */
html[data-theme="dark"] .preview,
html[data-theme="dark"] .card,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .hero-card,
html[data-theme="dark"] .cat-card,
html[data-theme="dark"] .doc-category-card,
html[data-theme="dark"] .doc-endpoint-card,
html[data-theme="dark"] .doc-endpoint-menu,
html[data-theme="dark"] .doc-request-card,
html[data-theme="dark"] .doc-tabs-card,
html[data-theme="dark"] .docs-header,
html[data-theme="dark"] .docs-search-toolbar,
html[data-theme="dark"] .docs-section-header,
html[data-theme="dark"] .docs-hero,
html[data-theme="dark"] .aly-sidebar,
html[data-theme="dark"] .admin-sidebar-panel,
html[data-theme="dark"] .admin-topbar,
html[data-theme="dark"] .admin-card,
html[data-theme="dark"] .admin-stat,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .summary-item,
html[data-theme="dark"] .contact-item,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .fcard,
html[data-theme="dark"] .card-soft,
html[data-theme="dark"] .cardlike,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .transaction-history-wrap,
html[data-theme="dark"] .free-limit-panel,
html[data-theme="dark"] .free-limit-stat,
html[data-theme="dark"] .endpoint-menu-btn{
  background:rgba(18,18,18,.62) !important;
  background-image:none !important;
  border:1px solid rgba(255,255,255,.12) !important;
  color:#ffffff !important;
  box-shadow:0 22px 60px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.08) !important;
  backdrop-filter:blur(22px) saturate(130%) !important;
  -webkit-backdrop-filter:blur(22px) saturate(130%) !important;
}
html[data-theme="dark"] .preview:hover,
html[data-theme="dark"] .card:hover,
html[data-theme="dark"] .cat-card:hover,
html[data-theme="dark"] .doc-category-card:hover,
html[data-theme="dark"] .admin-stat:hover,
html[data-theme="dark"] .stat-card:hover{
  border-color:rgba(255,122,26,.42) !important;
  box-shadow:0 24px 70px rgba(255,122,26,.12), inset 0 1px 0 rgba(255,255,255,.10) !important;
}
.landing .preview::before,
.cat-card::before,
.doc-category-card::before,
.admin-stat::before,
.stat-card::before{
  display:none !important;
}

/* buttons: no gradient except page background; primary = solid orange */
html[data-theme="dark"] button,
html[data-theme="dark"] .btn,
html[data-theme="dark"] .btn2,
html[data-theme="dark"] .btnx,
html[data-theme="dark"] .btn-order,
html[data-theme="dark"] .btn-bill,
html[data-theme="dark"] .btn-cta,
html[data-theme="dark"] .contact-btn,
html[data-theme="dark"] .mini-btn,
html[data-theme="dark"] .theme-btn,
html[data-theme="dark"] .side-logout,
html[data-theme="dark"] .aly-collapse-btn,
html[data-theme="dark"] .admin-action-link,
html[data-theme="dark"] .mobile-menu-btn,
html[data-theme="dark"] .aly-nav-link,
html[data-theme="dark"] .admin-nav-btn{
  background:rgba(18,18,18,.74) !important;
  background-image:none !important;
  border:1px solid rgba(255,255,255,.14) !important;
  color:#ffffff !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08) !important;
}
html[data-theme="dark"] .btn.primary,
html[data-theme="dark"] .btnx.primary,
html[data-theme="dark"] .btn-order.primary,
html[data-theme="dark"] .btn-bill.primary,
html[data-theme="dark"] .btn-cta.primary,
html[data-theme="dark"] .auth-primary,
html[data-theme="dark"] .channel-btn,
html[data-theme="dark"] .btn-upgrade,
html[data-theme="dark"] .login-btn,
html[data-theme="dark"] .btn-login,
html[data-theme="dark"] .landing .cta .btn:first-child{
  background:#ff7a1a !important;
  background-image:none !important;
  color:#ffffff !important;
  border-color:#ff8a2a !important;
  box-shadow:0 16px 36px rgba(255,122,26,.24) !important;
}
html[data-theme="dark"] button:hover,
html[data-theme="dark"] .btn:hover,
html[data-theme="dark"] .btn2:hover,
html[data-theme="dark"] .btnx:hover,
html[data-theme="dark"] .btn-order:hover,
html[data-theme="dark"] .btn-bill:hover,
html[data-theme="dark"] .btn-cta:hover,
html[data-theme="dark"] .theme-btn:hover,
html[data-theme="dark"] .aly-nav-link:hover,
html[data-theme="dark"] .admin-nav-btn:hover{
  background:#ff7a1a !important;
  background-image:none !important;
  color:#ffffff !important;
  border-color:#ff9a3d !important;
}
html[data-theme="dark"] .aly-nav-link.active,
html[data-theme="dark"] .admin-nav-btn.active,
html[data-theme="dark"] .endpoint-menu-btn.active,
html[data-theme="dark"] .doc-detail-tab-btn.active{
  background:rgba(255,122,26,.16) !important;
  background-image:none !important;
  border-color:rgba(255,122,26,.44) !important;
  color:#ffffff !important;
}

/* icon visibility */
html[data-theme="dark"] .aly-nav-link i,
html[data-theme="dark"] .admin-nav-btn i,
html[data-theme="dark"] .side-logout i,
html[data-theme="dark"] .theme-btn i,
html[data-theme="dark"] .btn i,
html[data-theme="dark"] .btn2 i,
html[data-theme="dark"] .btnx i,
html[data-theme="dark"] .btn-order i,
html[data-theme="dark"] .btn-bill i,
html[data-theme="dark"] .docs-search-box i,
html[data-theme="dark"] .admin-action-link i,
html[data-theme="dark"] .mobile-menu-btn i,
html[data-theme="dark"] .cat-card i,
html[data-theme="dark"] .doc-category-card i,
html[data-theme="dark"] .aly-nav-link svg,
html[data-theme="dark"] .admin-nav-btn svg,
html[data-theme="dark"] .side-logout svg,
html[data-theme="dark"] .theme-btn svg,
html[data-theme="dark"] .btn svg,
html[data-theme="dark"] .btn2 svg,
html[data-theme="dark"] .btnx svg{
  color:#ff8a2a !important;
  opacity:1 !important;
  filter:none !important;
}
html[data-theme="dark"] button:hover i,
html[data-theme="dark"] button:hover svg,
html[data-theme="dark"] .btn:hover i,
html[data-theme="dark"] .btn:hover svg,
html[data-theme="dark"] .aly-nav-link:hover i,
html[data-theme="dark"] .aly-nav-link:hover svg,
html[data-theme="dark"] .admin-nav-btn:hover i,
html[data-theme="dark"] .admin-nav-btn:hover svg,
html[data-theme="dark"] .aly-nav-link.active i,
html[data-theme="dark"] .admin-nav-btn.active i{
  color:#ffffff !important;
}

/* inputs/code dark */
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select,
html[data-theme="dark"] .docs-search-input,
html[data-theme="dark"] .search-input,
html[data-theme="dark"] .auth-input,
html[data-theme="dark"] .admin-input,
html[data-theme="dark"] .codebox,
html[data-theme="dark"] pre,
html[data-theme="dark"] code,
html[data-theme="dark"] .terminal,
html[data-theme="dark"] .terminal pre{
  background:rgba(10,10,10,.76) !important;
  background-image:none !important;
  color:#ffffff !important;
  border-color:rgba(255,255,255,.13) !important;
}

/* force old green status/detail styles to orange */
html[data-theme="dark"] .kbadge.ok,
html[data-theme="dark"] .stat-pill.green,
html[data-theme="dark"] .doc-status-badge.active,
html[data-theme="dark"] .transaction-pill.ok,
html[data-theme="dark"] .transaction-pill.info,
html[data-theme="dark"] .badge-endpoint,
html[data-theme="dark"] .badge-added,
html[data-theme="dark"] .badge-update,
html[data-theme="dark"] .tag-tone-2,
html[data-theme="dark"] .tag-tone-4,
html[data-theme="dark"] .tag-tone-8,
html[data-theme="dark"] .login-announcement-tab.is-active,
html[data-theme="dark"] .mGET{
  color:#ffffff !important;
  background:rgba(255,122,26,.18) !important;
  background-image:none !important;
  border-color:rgba(255,122,26,.42) !important;
}

/* =========================================================
   V7 FIX: visible icons + docs neutral dark cards
   - Primary button icons stay visible before hover
   - Docs/admin/dashboard cards use neutral dark gray, not blue/green
   ========================================================= */
html[data-theme="dark"] .btn.primary i,
html[data-theme="dark"] .btnx.primary i,
html[data-theme="dark"] .btn-order.primary i,
html[data-theme="dark"] .btn-bill.primary i,
html[data-theme="dark"] .btn-cta.primary i,
html[data-theme="dark"] .auth-primary i,
html[data-theme="dark"] .channel-btn i,
html[data-theme="dark"] .btn-upgrade i,
html[data-theme="dark"] .login-btn i,
html[data-theme="dark"] .btn-login i,
html[data-theme="dark"] .landing .cta .btn:first-child i,
html[data-theme="dark"] .btn.primary svg,
html[data-theme="dark"] .btnx.primary svg,
html[data-theme="dark"] .btn-order.primary svg,
html[data-theme="dark"] .btn-bill.primary svg,
html[data-theme="dark"] .btn-cta.primary svg,
html[data-theme="dark"] .auth-primary svg,
html[data-theme="dark"] .channel-btn svg,
html[data-theme="dark"] .btn-upgrade svg,
html[data-theme="dark"] .login-btn svg,
html[data-theme="dark"] .btn-login svg,
html[data-theme="dark"] .landing .cta .btn:first-child svg{
  color:#fff !important;
  fill:currentColor !important;
  stroke:currentColor !important;
  opacity:1 !important;
  visibility:visible !important;
  filter:none !important;
}
html[data-theme="dark"] .btn.primary *,
html[data-theme="dark"] .btnx.primary *,
html[data-theme="dark"] .btn-order.primary *,
html[data-theme="dark"] .btn-bill.primary *,
html[data-theme="dark"] .btn-cta.primary *,
html[data-theme="dark"] .auth-primary *,
html[data-theme="dark"] .channel-btn *,
html[data-theme="dark"] .btn-upgrade *,
html[data-theme="dark"] .login-btn *,
html[data-theme="dark"] .btn-login *,
html[data-theme="dark"] .landing .cta .btn:first-child *{
  opacity:1 !important;
  visibility:visible !important;
}
html[data-theme="dark"] .landing .cta .btn:first-child,
html[data-theme="dark"] .btn.primary,
html[data-theme="dark"] .btn-cta.primary{
  background:#ff7a1a !important;
  color:#fff !important;
  border-color:#ff8a2a !important;
}

/* docs/dashboard neutral glass: dark gray, no blue-green tint */
html[data-theme="dark"] body.docs-body,
html[data-theme="dark"] body.admin-body,
html[data-theme="dark"] body:not(.landing-home){
  background-color:#060606 !important;
  background-image:
    radial-gradient(720px 420px at 92% 10%, rgba(255,122,26,.12), transparent 65%),
    radial-gradient(680px 420px at 10% 92%, rgba(255,122,26,.08), transparent 70%) !important;
}
html[data-theme="dark"] body.docs-body .docs-app,
html[data-theme="dark"] body.admin-body .admin-layout,
html[data-theme="dark"] body:not(.landing-home) .app,
html[data-theme="dark"] body:not(.landing-home) .main,
html[data-theme="dark"] body:not(.landing-home) .content{
  background:transparent !important;
  background-image:none !important;
}
html[data-theme="dark"] .doc-category-card,
html[data-theme="dark"] .doc-endpoint-card,
html[data-theme="dark"] .doc-endpoint-menu,
html[data-theme="dark"] .doc-request-card,
html[data-theme="dark"] .doc-tabs-card,
html[data-theme="dark"] .docs-header,
html[data-theme="dark"] .docs-search-toolbar,
html[data-theme="dark"] .docs-section-header,
html[data-theme="dark"] .docs-hero,
html[data-theme="dark"] .aly-sidebar,
html[data-theme="dark"] .admin-sidebar-panel,
html[data-theme="dark"] .admin-topbar,
html[data-theme="dark"] .admin-card,
html[data-theme="dark"] .admin-stat,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .endpoint-menu-btn,
html[data-theme="dark"] .aly-nav-link,
html[data-theme="dark"] .admin-nav-btn,
html[data-theme="dark"] .side-logout,
html[data-theme="dark"] .aly-collapse-btn{
  background:#141414 !important;
  background-image:none !important;
  border-color:rgba(255,255,255,.13) !important;
  box-shadow:0 18px 44px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.055) !important;
}
html[data-theme="dark"] .doc-category-card:hover,
html[data-theme="dark"] .doc-endpoint-card:hover,
html[data-theme="dark"] .endpoint-menu-btn:hover,
html[data-theme="dark"] .aly-nav-link:hover,
html[data-theme="dark"] .admin-nav-btn:hover{
  background:#181818 !important;
  background-image:none !important;
  border-color:rgba(255,122,26,.48) !important;
}
html[data-theme="dark"] .doc-category-icon,
html[data-theme="dark"] .doc-endpoint-icon,
html[data-theme="dark"] .endpoint-icon,
html[data-theme="dark"] .aly-nav-icon,
html[data-theme="dark"] .admin-nav-icon{
  background:rgba(255,122,26,.10) !important;
  background-image:none !important;
  border-color:rgba(255,122,26,.35) !important;
  color:#ff8a2a !important;
}

/* =========================================================
   V8 FINAL: remove remaining blue tint from docs/dashboard
   - Cards/buttons/sidebar/search are neutral dark gray
   - No gradient on cards/buttons, gradient only on page background
   - Icons always visible
   ========================================================= */
html[data-theme="dark"] body:not(.landing-home){
  --bg:#050505 !important;
  --bg2:#080808 !important;
  --bg3:#0d0d0d !important;
  --bg4:#121212 !important;
  --panel:#141414 !important;
  --panel-2:#101010 !important;
  --card-bg:#151515 !important;
  --card-bg-2:#181818 !important;
  --input-bg:#111111 !important;
  --btn-bg:#171717 !important;
  --modal-bg:#141414 !important;
  --border:rgba(255,255,255,.10) !important;
  --border2:rgba(255,255,255,.14) !important;
  --muted:#a6a6a6 !important;
  --text:#ffffff !important;
  --text2:#c8c8c8 !important;
  --blue:#ff861f !important;
  --accent:#ff7a1a !important;
  --accent2:#ff9a3d !important;
  --accentbg:rgba(255,122,26,.12) !important;
  --accentborder:rgba(255,122,26,.36) !important;
  background-color:#050505 !important;
  background-image:
    radial-gradient(780px 460px at 8% 10%, rgba(255,122,26,.15), transparent 62%),
    radial-gradient(620px 380px at 95% 14%, rgba(122,38,12,.16), transparent 64%),
    linear-gradient(180deg,#050505 0%,#070707 55%,#050505 100%) !important;
}

html[data-theme="dark"] body:not(.landing-home) .docs-app,
html[data-theme="dark"] body:not(.landing-home) .admin-layout,
html[data-theme="dark"] body:not(.landing-home) .docs-main,
html[data-theme="dark"] body:not(.landing-home) .admin-main,
html[data-theme="dark"] body:not(.landing-home) main,
html[data-theme="dark"] body:not(.landing-home) .page,
html[data-theme="dark"] body:not(.landing-home) .content,
html[data-theme="dark"] body:not(.landing-home) .main{
  background:transparent !important;
  background-image:none !important;
}

html[data-theme="dark"] body:not(.landing-home) .docs-header,
html[data-theme="dark"] body:not(.landing-home) .docs-search-toolbar,
html[data-theme="dark"] body:not(.landing-home) .docs-section-header,
html[data-theme="dark"] body:not(.landing-home) .docs-hero,
html[data-theme="dark"] body:not(.landing-home) .cat-card,
html[data-theme="dark"] body:not(.landing-home) .doc-category-card,
html[data-theme="dark"] body:not(.landing-home) .doc-endpoint-card,
html[data-theme="dark"] body:not(.landing-home) .endpoint-card,
html[data-theme="dark"] body:not(.landing-home) .endpoint-menu-btn,
html[data-theme="dark"] body:not(.landing-home) .doc-endpoint-menu,
html[data-theme="dark"] body:not(.landing-home) .doc-request-card,
html[data-theme="dark"] body:not(.landing-home) .doc-tabs-card,
html[data-theme="dark"] body:not(.landing-home) .doc-response-shell,
html[data-theme="dark"] body:not(.landing-home) .doc-run-meta,
html[data-theme="dark"] body:not(.landing-home) .codebox,
html[data-theme="dark"] body:not(.landing-home) pre,
html[data-theme="dark"] body:not(.landing-home) .aly-sidebar,
html[data-theme="dark"] body:not(.landing-home) .docs-sidebar,
html[data-theme="dark"] body:not(.landing-home) .admin-sidebar-panel,
html[data-theme="dark"] body:not(.landing-home) .admin-topbar,
html[data-theme="dark"] body:not(.landing-home) .admin-card,
html[data-theme="dark"] body:not(.landing-home) .admin-stat,
html[data-theme="dark"] body:not(.landing-home) .stat-card,
html[data-theme="dark"] body:not(.landing-home) .transaction-history-wrap,
html[data-theme="dark"] body:not(.landing-home) .free-limit-panel,
html[data-theme="dark"] body:not(.landing-home) .free-limit-stat,
html[data-theme="dark"] body:not(.landing-home) .profile-card,
html[data-theme="dark"] body:not(.landing-home) .plan-card,
html[data-theme="dark"] body:not(.landing-home) .glass-card,
html[data-theme="dark"] body:not(.landing-home) .glass-panel{
  background:#151515 !important;
  background-image:none !important;
  border:1px solid rgba(255,255,255,.11) !important;
  box-shadow:0 16px 42px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.045) !important;
  color:#fff !important;
}

html[data-theme="dark"] body:not(.landing-home) .cat-card:hover,
html[data-theme="dark"] body:not(.landing-home) .doc-category-card:hover,
html[data-theme="dark"] body:not(.landing-home) .doc-endpoint-card:hover,
html[data-theme="dark"] body:not(.landing-home) .endpoint-card:hover,
html[data-theme="dark"] body:not(.landing-home) .endpoint-menu-btn:hover,
html[data-theme="dark"] body:not(.landing-home) .admin-card:hover,
html[data-theme="dark"] body:not(.landing-home) .admin-stat:hover,
html[data-theme="dark"] body:not(.landing-home) .stat-card:hover{
  background:#1b1b1b !important;
  background-image:none !important;
  border-color:rgba(255,122,26,.46) !important;
}

html[data-theme="dark"] body:not(.landing-home) .docs-search-box,
html[data-theme="dark"] body:not(.landing-home) .search-box,
html[data-theme="dark"] body:not(.landing-home) input,
html[data-theme="dark"] body:not(.landing-home) textarea,
html[data-theme="dark"] body:not(.landing-home) select,
html[data-theme="dark"] body:not(.landing-home) .docs-search-input,
html[data-theme="dark"] body:not(.landing-home) .search-input,
html[data-theme="dark"] body:not(.landing-home) .auth-input,
html[data-theme="dark"] body:not(.landing-home) .admin-input{
  background:#101010 !important;
  background-image:none !important;
  border-color:rgba(255,255,255,.12) !important;
  color:#fff !important;
  box-shadow:none !important;
}

html[data-theme="dark"] body:not(.landing-home) .aly-nav-link,
html[data-theme="dark"] body:not(.landing-home) .aly-nav-button,
html[data-theme="dark"] body:not(.landing-home) .admin-nav-btn,
html[data-theme="dark"] body:not(.landing-home) .side-logout,
html[data-theme="dark"] body:not(.landing-home) .aly-collapse-btn,
html[data-theme="dark"] body:not(.landing-home) .theme-btn,
html[data-theme="dark"] body:not(.landing-home) .mobile-menu-btn,
html[data-theme="dark"] body:not(.landing-home) .btn,
html[data-theme="dark"] body:not(.landing-home) .btn2,
html[data-theme="dark"] body:not(.landing-home) .btnx,
html[data-theme="dark"] body:not(.landing-home) button:not(.btn-exec):not(.auth-primary):not(.primary){
  background:#171717 !important;
  background-image:none !important;
  border-color:rgba(255,255,255,.12) !important;
  color:#fff !important;
  box-shadow:none !important;
}

html[data-theme="dark"] body:not(.landing-home) .aly-nav-link:hover,
html[data-theme="dark"] body:not(.landing-home) .aly-nav-button:hover,
html[data-theme="dark"] body:not(.landing-home) .admin-nav-btn:hover,
html[data-theme="dark"] body:not(.landing-home) .side-logout:hover,
html[data-theme="dark"] body:not(.landing-home) .aly-collapse-btn:hover,
html[data-theme="dark"] body:not(.landing-home) .theme-btn:hover,
html[data-theme="dark"] body:not(.landing-home) .mobile-menu-btn:hover,
html[data-theme="dark"] body:not(.landing-home) .btn:hover,
html[data-theme="dark"] body:not(.landing-home) .btn2:hover,
html[data-theme="dark"] body:not(.landing-home) .btnx:hover,
html[data-theme="dark"] body:not(.landing-home) button:hover:not(.btn-exec):not(.auth-primary):not(.primary){
  background:#1d1d1d !important;
  background-image:none !important;
  border-color:rgba(255,122,26,.42) !important;
  color:#fff !important;
}

html[data-theme="dark"] body:not(.landing-home) .aly-nav-link.active,
html[data-theme="dark"] body:not(.landing-home) .aly-nav-button.active,
html[data-theme="dark"] body:not(.landing-home) .admin-nav-btn.active,
html[data-theme="dark"] body:not(.landing-home) .endpoint-menu-btn.active,
html[data-theme="dark"] body:not(.landing-home) .doc-detail-tab-btn.active{
  background:#1a1a1a !important;
  background-image:none !important;
  border-color:rgba(255,122,26,.50) !important;
  color:#fff !important;
}

html[data-theme="dark"] body:not(.landing-home) .cat-icon,
html[data-theme="dark"] body:not(.landing-home) .doc-category-icon,
html[data-theme="dark"] body:not(.landing-home) .doc-endpoint-icon,
html[data-theme="dark"] body:not(.landing-home) .endpoint-icon,
html[data-theme="dark"] body:not(.landing-home) .aly-nav-icon,
html[data-theme="dark"] body:not(.landing-home) .admin-nav-icon{
  background:#141414 !important;
  background-image:none !important;
  border-color:rgba(255,255,255,.10) !important;
  color:#fff !important;
  box-shadow:none !important;
}

html[data-theme="dark"] body:not(.landing-home) i,
html[data-theme="dark"] body:not(.landing-home) svg,
html[data-theme="dark"] body:not(.landing-home) button i,
html[data-theme="dark"] body:not(.landing-home) button svg,
html[data-theme="dark"] body:not(.landing-home) .btn i,
html[data-theme="dark"] body:not(.landing-home) .btn svg,
html[data-theme="dark"] body:not(.landing-home) .aly-nav-link i,
html[data-theme="dark"] body:not(.landing-home) .aly-nav-link svg,
html[data-theme="dark"] body:not(.landing-home) .admin-nav-btn i,
html[data-theme="dark"] body:not(.landing-home) .admin-nav-btn svg,
html[data-theme="dark"] body:not(.landing-home) .cat-card i,
html[data-theme="dark"] body:not(.landing-home) .doc-category-card i,
html[data-theme="dark"] body:not(.landing-home) .doc-endpoint-card i{
  opacity:1 !important;
  visibility:visible !important;
  filter:none !important;
  fill:currentColor !important;
  stroke:currentColor !important;
}

html[data-theme="dark"] body:not(.landing-home) .aly-nav-link:not(.active) i,
html[data-theme="dark"] body:not(.landing-home) .aly-nav-link:not(.active) svg,
html[data-theme="dark"] body:not(.landing-home) .admin-nav-btn:not(.active) i,
html[data-theme="dark"] body:not(.landing-home) .admin-nav-btn:not(.active) svg,
html[data-theme="dark"] body:not(.landing-home) .theme-btn i,
html[data-theme="dark"] body:not(.landing-home) .theme-btn svg{
  color:#ff861f !important;
}

html[data-theme="dark"] body:not(.landing-home) .doc-category-card i,
html[data-theme="dark"] body:not(.landing-home) .doc-category-card svg,
html[data-theme="dark"] body:not(.landing-home) .doc-endpoint-card i,
html[data-theme="dark"] body:not(.landing-home) .doc-endpoint-card svg{
  color:#ffffff !important;
}

html[data-theme="dark"] body:not(.landing-home) .doc-category-card::before,
html[data-theme="dark"] body:not(.landing-home) .cat-card::before,
html[data-theme="dark"] body:not(.landing-home) .admin-stat::before,
html[data-theme="dark"] body:not(.landing-home) .stat-card::before{
  display:none !important;
  content:none !important;
  background:none !important;
}

html[data-theme="dark"] body:not(.landing-home) [style*="#0f172a"],
html[data-theme="dark"] body:not(.landing-home) [style*="#111827"],
html[data-theme="dark"] body:not(.landing-home) [style*="#121a22"],
html[data-theme="dark"] body:not(.landing-home) [style*="#0d141b"],
html[data-theme="dark"] body:not(.landing-home) [style*="#17212b"],
html[data-theme="dark"] body:not(.landing-home) [style*="59,130,246"],
html[data-theme="dark"] body:not(.landing-home) [style*="64,138,113"],
html[data-theme="dark"] body:not(.landing-home) [style*="84,166,132"]{
  background:#151515 !important;
  background-image:none !important;
  border-color:rgba(255,255,255,.12) !important;
}

/* =========================================================
   V10 FINAL DETAIL FIX — docs endpoint + active nav
   - hapus sisa blue/navy pada detail docs, input, preview, tab
   - active nav/sidebar full orange + teks hitam
   - status Active hijau glow, Lapor merah glow
   ========================================================= */
html[data-theme="dark"] body.docs-body{
  --panel:#151515 !important;
  --panel-2:#101010 !important;
  --line:rgba(255,255,255,.10) !important;
  --card-bg:#151515 !important;
  --card-border:rgba(255,255,255,.10) !important;
  --chip-bg:#1a1a1a !important;
  --chip-border:rgba(255,255,255,.11) !important;
  --input-bg:#101010 !important;
  --input-border:rgba(255,255,255,.12) !important;
  --btn-bg:#171717 !important;
  --btn-border:rgba(255,255,255,.12) !important;
  --accent:#ff7a1a !important;
  --accent2:#ff8a2a !important;
  --accentborder:rgba(255,122,26,.42) !important;
}

html[data-theme="dark"] body.docs-body .docs-shell,
html[data-theme="dark"] body.docs-body .docs-app,
html[data-theme="dark"] body.docs-body .docs-main,
html[data-theme="dark"] body.docs-body .view,
html[data-theme="dark"] body.docs-body .doc-detail-wrap,
html[data-theme="dark"] body.docs-body .doc-detail-content,
html[data-theme="dark"] body.docs-body .doc-detail-panel{
  background-color:transparent !important;
}

html[data-theme="dark"] body.docs-body .docs-header,
html[data-theme="dark"] body.docs-body .docs-search-toolbar,
html[data-theme="dark"] body.docs-body .docs-search-box,
html[data-theme="dark"] body.docs-body .doc-hero-panel,
html[data-theme="dark"] body.docs-body .doc-request-card,
html[data-theme="dark"] body.docs-body .doc-tabs-card,
html[data-theme="dark"] body.docs-body .doc-tabs-head,
html[data-theme="dark"] body.docs-body .doc-json-panel,
html[data-theme="dark"] body.docs-body .doc-json-panel.is-empty,
html[data-theme="dark"] body.docs-body .doc-placeholder,
html[data-theme="dark"] body.docs-body .doc-preview-placeholder,
html[data-theme="dark"] body.docs-body .doc-preview-json,
html[data-theme="dark"] body.docs-body .doc-preview-media,
html[data-theme="dark"] body.docs-body .doc-preview-empty,
html[data-theme="dark"] body.docs-body .doc-response-body .res-code-content,
html[data-theme="dark"] body.docs-body .doc-response-body .res-code-content--json,
html[data-theme="dark"] body.docs-body .doc-code-path code,
html[data-theme="dark"] body.docs-body .doc-run-item code,
html[data-theme="dark"] body.docs-body .report-endpoint-path,
html[data-theme="dark"] body.docs-body .doc-auth-row span,
html[data-theme="dark"] body.docs-body .maintenance-box{
  background:#151515 !important;
  background-image:none !important;
  border-color:rgba(255,255,255,.10) !important;
  box-shadow:0 18px 42px rgba(0,0,0,.30) !important;
  color:#ffffff !important;
}

html[data-theme="dark"] body.docs-body .doc-json-panel.is-empty,
html[data-theme="dark"] body.docs-body .doc-placeholder,
html[data-theme="dark"] body.docs-body .doc-preview-placeholder,
html[data-theme="dark"] body.docs-body .doc-preview-empty,
html[data-theme="dark"] body.docs-body .doc-response-body .res-code-content,
html[data-theme="dark"] body.docs-body .doc-search-input,
html[data-theme="dark"] body.docs-body .doc-request-card .fi,
html[data-theme="dark"] body.docs-body .doc-request-card input.fi,
html[data-theme="dark"] body.docs-body .doc-request-card select.fi,
html[data-theme="dark"] body.docs-body .doc-request-card textarea.fi,
html[data-theme="dark"] body.docs-body .field input,
html[data-theme="dark"] body.docs-body .field textarea,
html[data-theme="dark"] body.docs-body .field select,
html[data-theme="dark"] body.docs-body input,
html[data-theme="dark"] body.docs-body textarea,
html[data-theme="dark"] body.docs-body select{
  background:#101010 !important;
  background-image:none !important;
  border-color:rgba(255,255,255,.12) !important;
  color:#ffffff !important;
  box-shadow:none !important;
}

html[data-theme="dark"] body.docs-body .doc-request-card .fi:focus,
html[data-theme="dark"] body.docs-body .doc-request-card input.fi:focus,
html[data-theme="dark"] body.docs-body .doc-request-card select.fi:focus,
html[data-theme="dark"] body.docs-body .doc-request-card textarea.fi:focus,
html[data-theme="dark"] body.docs-body .doc-search-input:focus{
  border-color:rgba(255,122,26,.55) !important;
  box-shadow:0 0 0 3px rgba(255,122,26,.14) !important;
}

html[data-theme="dark"] body.docs-body .doc-request-card .fi::placeholder,
html[data-theme="dark"] body.docs-body .doc-search-input::placeholder,
html[data-theme="dark"] body.docs-body input::placeholder,
html[data-theme="dark"] body.docs-body textarea::placeholder{
  color:rgba(255,255,255,.62) !important;
}

html[data-theme="dark"] body.docs-body .doc-tabs-head{
  background:#151515 !important;
  border-color:rgba(255,255,255,.10) !important;
}
html[data-theme="dark"] body.docs-body .doc-detail-tab-btn{
  background:#171717 !important;
  color:#ffffff !important;
  border:1px solid rgba(255,255,255,.12) !important;
}
html[data-theme="dark"] body.docs-body .doc-detail-tab-btn.active{
  background:#ff7a1a !important;
  color:#000000 !important;
  border-color:#ff7a1a !important;
  box-shadow:0 0 26px rgba(255,122,26,.32) !important;
}

/* active sidebar/menu: full orange, black text */
html[data-theme="dark"] body.docs-body .aly-nav-link.active,
html[data-theme="dark"] body.docs-body .aly-nav-button.active,
html[data-theme="dark"] body.docs-body .admin-nav-btn.active,
html[data-theme="dark"] body.docs-body .side-cat.active,
html[data-theme="dark"] body.docs-body .side-cat[aria-current="page"],
html[data-theme="dark"] body.docs-body a[href*="docs"].active{
  background:#ff7a1a !important;
  background-image:none !important;
  border-color:#ff7a1a !important;
  color:#000000 !important;
  box-shadow:0 0 26px rgba(255,122,26,.34) !important;
}
html[data-theme="dark"] body.docs-body .aly-nav-link.active *,
html[data-theme="dark"] body.docs-body .aly-nav-button.active *,
html[data-theme="dark"] body.docs-body .admin-nav-btn.active *,
html[data-theme="dark"] body.docs-body .side-cat.active *,
html[data-theme="dark"] body.docs-body .side-cat[aria-current="page"] *,
html[data-theme="dark"] body.docs-body a[href*="docs"].active *{
  color:#000000 !important;
  fill:#000000 !important;
  stroke:#000000 !important;
}

/* keep non-active icon orange */
html[data-theme="dark"] body.docs-body .aly-nav-link:not(.active) i,
html[data-theme="dark"] body.docs-body .aly-nav-button:not(.active) i,
html[data-theme="dark"] body.docs-body .admin-nav-btn:not(.active) i,
html[data-theme="dark"] body.docs-body .theme-btn i,
html[data-theme="dark"] body.docs-body .theme-btn svg{
  color:#ff7a1a !important;
}

/* status: Active green glow */
html[data-theme="dark"] body.docs-body .doc-status-badge.active,
body.docs-body .doc-status-badge.active{
  background:#22c55e !important;
  background-image:none !important;
  border-color:#22c55e !important;
  color:#ffffff !important;
  box-shadow:0 0 22px rgba(34,197,94,.55), 0 12px 28px rgba(34,197,94,.26) !important;
}
html[data-theme="dark"] body.docs-body .doc-status-badge.active *,
body.docs-body .doc-status-badge.active *{
  color:#ffffff !important;
}

/* report/lapor: red glow */
html[data-theme="dark"] body.docs-body .doc-report-badge,
body.docs-body .doc-report-badge,
html[data-theme="dark"] body.docs-body .report-primary,
body.docs-body .report-primary{
  background:linear-gradient(135deg,#ef4444,#b91c1c) !important;
  border-color:#ef4444 !important;
  color:#ffffff !important;
  box-shadow:0 0 24px rgba(239,68,68,.52), 0 14px 30px rgba(239,68,68,.28) !important;
}
html[data-theme="dark"] body.docs-body .doc-report-badge:hover,
body.docs-body .doc-report-badge:hover,
html[data-theme="dark"] body.docs-body .report-primary:hover,
body.docs-body .report-primary:hover{
  background:linear-gradient(135deg,#f87171,#dc2626) !important;
  border-color:#f87171 !important;
  box-shadow:0 0 30px rgba(239,68,68,.62), 0 18px 34px rgba(239,68,68,.34) !important;
}
html[data-theme="dark"] body.docs-body .doc-report-badge *,
body.docs-body .doc-report-badge *,
html[data-theme="dark"] body.docs-body .report-primary *,
body.docs-body .report-primary *{
  color:#ffffff !important;
}

/* endpoint path pill: dark neutral, no blue */
html[data-theme="dark"] body.docs-body .doc-code-path code,
html[data-theme="dark"] body.docs-body .doc-endpoint-path,
html[data-theme="dark"] body.docs-body .endpoint-menu-copy small{
  background:#101010 !important;
  border-color:rgba(255,255,255,.12) !important;
  color:#ffffff !important;
}

/* fallback: kill navy/blue-like inline panels inside docs */
html[data-theme="dark"] body.docs-body [style*="#121a22"],
html[data-theme="dark"] body.docs-body [style*="#0d141b"],
html[data-theme="dark"] body.docs-body [style*="#17212b"],
html[data-theme="dark"] body.docs-body [style*="#0f1917"],
html[data-theme="dark"] body.docs-body [style*="64,138,113"],
html[data-theme="dark"] body.docs-body [style*="176,228,204"]{
  background:#151515 !important;
  background-image:none !important;
  border-color:rgba(255,255,255,.10) !important;
}


/* =========================================================
   V12 FINAL — no navy/green + consistent sidebar/buttons
   - active sidebar: orange bg, white text/icon, no black icon box
   - docs/profile/detail cards: neutral black/gray only
   - active badge: green glow
   - lapor/report: red glow
   ========================================================= */
html[data-theme="dark"],
[data-theme="dark"]{
  --bg:#050505 !important;
  --bg2:#0b0b0b !important;
  --bg3:#111111 !important;
  --bg4:#171717 !important;
  --panel:#151515 !important;
  --panel-2:#101010 !important;
  --line:rgba(255,255,255,.10) !important;
  --border:rgba(255,255,255,.10) !important;
  --border2:rgba(255,122,26,.30) !important;
  --card-bg:#151515 !important;
  --card-border:rgba(255,255,255,.10) !important;
  --card-hover-border:rgba(255,122,26,.42) !important;
  --chip-bg:#1a1a1a !important;
  --chip-border:rgba(255,255,255,.10) !important;
  --input-bg:#101010 !important;
  --input-border:rgba(255,255,255,.10) !important;
  --btn-bg:#151515 !important;
  --btn-border:rgba(255,255,255,.12) !important;
  --text:#ffffff !important;
  --text2:rgba(255,255,255,.82) !important;
  --text3:rgba(255,255,255,.62) !important;
  --accent:#ff7a1a !important;
  --accent2:#ff8a2a !important;
  --accent3:#ff9c42 !important;
  --accent4:#ffb86b !important;
  --accentbg:rgba(255,122,26,.14) !important;
  --accentborder:rgba(255,122,26,.36) !important;
  --green:#22c55e !important;
  --blue:#ff7a1a !important;
  --icon:#ff7a1a !important;
  --modal-bg:#111111 !important;
  --modal-border:rgba(255,255,255,.10) !important;
  --shadow:0 22px 70px rgba(0,0,0,.42) !important;
}

html[data-theme="dark"] body,
[data-theme="dark"] body{
  background:
    radial-gradient(circle at 12% 16%, rgba(255,122,26,.20), transparent 30%),
    radial-gradient(circle at 84% 10%, rgba(122,38,12,.26), transparent 29%),
    #050505 !important;
  color:#ffffff !important;
}

/* kill remaining blue/navy/green on docs/profile/dashboard surfaces */
html[data-theme="dark"] body.docs-body .docs-main,
html[data-theme="dark"] body.docs-body .docs-shell.aly-shell .docs-main,
html[data-theme="dark"] body.docs-body .docs-app,
html[data-theme="dark"] body.docs-body .view,
html[data-theme="dark"] body.docs-body .profile-wrap,
html[data-theme="dark"] body.docs-body .doc-detail-wrap,
html[data-theme="dark"] body.docs-body .auth-root{
  background:transparent !important;
  background-color:transparent !important;
}

html[data-theme="dark"] body.docs-body .docs-header,
html[data-theme="dark"] body.docs-body .docs-search-toolbar,
html[data-theme="dark"] body.docs-body .docs-search-box,
html[data-theme="dark"] body.docs-body .cat-tile,
html[data-theme="dark"] body.docs-body .cat-card,
html[data-theme="dark"] body.docs-body .doc-category-card,
html[data-theme="dark"] body.docs-body .doc-endpoint-card,
html[data-theme="dark"] body.docs-body .doc-hero-panel,
html[data-theme="dark"] body.docs-body .doc-request-card,
html[data-theme="dark"] body.docs-body .doc-tabs-card,
html[data-theme="dark"] body.docs-body .doc-tabs-head,
html[data-theme="dark"] body.docs-body .doc-json-panel,
html[data-theme="dark"] body.docs-body .doc-json-panel.is-empty,
html[data-theme="dark"] body.docs-body .doc-preview-json,
html[data-theme="dark"] body.docs-body .doc-preview-empty,
html[data-theme="dark"] body.docs-body .doc-preview-media,
html[data-theme="dark"] body.docs-body .doc-response-body .res-code-content,
html[data-theme="dark"] body.docs-body .doc-auth-row span,
html[data-theme="dark"] body.docs-body .doc-code-path code,
html[data-theme="dark"] body.docs-body .doc-result-cat,
html[data-theme="dark"] body.docs-body .endpoint-menu-btn,
html[data-theme="dark"] body.docs-body .doc-endpoint-menu,
html[data-theme="dark"] body.docs-body .card,
html[data-theme="dark"] body.docs-body .profile-card,
html[data-theme="dark"] body.docs-body .profile-summary-card,
html[data-theme="dark"] body.docs-body .profile-inline-key,
html[data-theme="dark"] body.docs-body .mini-row,
html[data-theme="dark"] body.docs-body .plan-metric,
html[data-theme="dark"] body.docs-body .plan-access-balance,
html[data-theme="dark"] body.docs-body .key-box,
html[data-theme="dark"] body.docs-body .transaction-history-wrap,
html[data-theme="dark"] body.docs-body .redeem-profile-card,
html[data-theme="dark"] body.docs-body .redeem-code-input,
html[data-theme="dark"] body.docs-body .redeem-inline-kpi .item,
html[data-theme="dark"] body.docs-body .redeem-result-grid .item,
html[data-theme="dark"] body.docs-body .redeem-profile-preview,
html[data-theme="dark"] body.docs-body .maintenance-box{
  background:#151515 !important;
  background-image:none !important;
  border-color:rgba(255,255,255,.10) !important;
  box-shadow:0 18px 42px rgba(0,0,0,.34) !important;
}

html[data-theme="dark"] body.docs-body input,
html[data-theme="dark"] body.docs-body textarea,
html[data-theme="dark"] body.docs-body select,
html[data-theme="dark"] body.docs-body .fi,
html[data-theme="dark"] body.docs-body .auth-input,
html[data-theme="dark"] body.docs-body .doc-search-input,
html[data-theme="dark"] body.docs-body .doc-request-card .fi,
html[data-theme="dark"] body.docs-body .doc-run-item code,
html[data-theme="dark"] body.docs-body pre,
html[data-theme="dark"] body.docs-body code,
html[data-theme="dark"] body.docs-body .key-val,
html[data-theme="dark"] body.docs-body .profile-inline-key-box code{
  background:#101010 !important;
  background-image:none !important;
  border-color:rgba(255,255,255,.10) !important;
  color:#ffffff !important;
}
html[data-theme="dark"] body.docs-body input::placeholder,
html[data-theme="dark"] body.docs-body textarea::placeholder,
html[data-theme="dark"] body.docs-body .doc-search-input::placeholder{
  color:rgba(255,255,255,.58) !important;
}

/* Sidebar neutral items */
html[data-theme="dark"] body.docs-body .aly-sidebar,
html[data-theme="dark"] body.docs-body .admin-sidebar-panel{
  background:#111111 !important;
  background-image:none !important;
  border-right-color:rgba(255,255,255,.10) !important;
}
html[data-theme="dark"] body.docs-body .aly-nav-link,
html[data-theme="dark"] body.docs-body .aly-nav-button,
html[data-theme="dark"] body.docs-body .admin-nav-btn,
html[data-theme="dark"] body.docs-body .side-cat,
html[data-theme="dark"] body.docs-body .side-profile,
html[data-theme="dark"] body.docs-body .side-logout,
html[data-theme="dark"] body.docs-body .aly-collapse-btn{
  background:#151515 !important;
  background-image:none !important;
  border:1px solid rgba(255,255,255,.11) !important;
  color:#ffffff !important;
  box-shadow:none !important;
}
html[data-theme="dark"] body.docs-body .aly-nav-link:not(.active) i,
html[data-theme="dark"] body.docs-body .aly-nav-button:not(.active) i,
html[data-theme="dark"] body.docs-body .admin-nav-btn:not(.active) i,
html[data-theme="dark"] body.docs-body .side-cat:not(.active) i{
  color:#ff7a1a !important;
  fill:#ff7a1a !important;
  stroke:#ff7a1a !important;
  background:transparent !important;
}

/* Active sidebar item: orange + white icon/text, no black icon box */
html[data-theme="dark"] body.docs-body .aly-nav-link.active,
html[data-theme="dark"] body.docs-body .aly-nav-button.active,
html[data-theme="dark"] body.docs-body .admin-nav-btn.active,
html[data-theme="dark"] body.docs-body .side-cat.active,
html[data-theme="dark"] body.docs-body .side-cat[aria-current="page"],
html[data-theme="dark"] body.docs-body a[href*="docs"].active,
html[data-theme="dark"] body.docs-body a[href*="profile"].active,
html[data-theme="dark"] body.docs-body a[href*="changelog"].active,
html[data-theme="dark"] body.docs-body a[href*="monitor"].active,
html[data-theme="dark"] body.docs-body a[href*="pricing"].active,
html[data-theme="dark"] body.docs-body a[href*="harga"].active{
  background:#ff7a1a !important;
  background-image:none !important;
  border-color:#ff7a1a !important;
  color:#ffffff !important;
  box-shadow:0 0 24px rgba(255,122,26,.34), 0 12px 28px rgba(255,122,26,.18) !important;
}
html[data-theme="dark"] body.docs-body .aly-nav-link.active *,
html[data-theme="dark"] body.docs-body .aly-nav-button.active *,
html[data-theme="dark"] body.docs-body .admin-nav-btn.active *,
html[data-theme="dark"] body.docs-body .side-cat.active *,
html[data-theme="dark"] body.docs-body .side-cat[aria-current="page"] *,
html[data-theme="dark"] body.docs-body a[href*="docs"].active *,
html[data-theme="dark"] body.docs-body a[href*="profile"].active *,
html[data-theme="dark"] body.docs-body a[href*="changelog"].active *{
  color:#ffffff !important;
  fill:#ffffff !important;
  stroke:#ffffff !important;
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
}
html[data-theme="dark"] body.docs-body .aly-nav-link.active .aly-nav-icon,
html[data-theme="dark"] body.docs-body .aly-nav-button.active .aly-nav-icon,
html[data-theme="dark"] body.docs-body .admin-nav-btn.active .admin-nav-icon,
html[data-theme="dark"] body.docs-body .side-cat.active .sc-ic,
html[data-theme="dark"] body.docs-body .side-cat[aria-current="page"] .sc-ic{
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
}

/* Active badge green glow */
html[data-theme="dark"] body.docs-body .doc-status-badge.active,
body.docs-body .doc-status-badge.active{
  background:#22c55e !important;
  background-image:none !important;
  border-color:#22c55e !important;
  color:#ffffff !important;
  box-shadow:0 0 14px rgba(34,197,94,.68), 0 0 34px rgba(34,197,94,.34), 0 12px 28px rgba(34,197,94,.22) !important;
}
html[data-theme="dark"] body.docs-body .doc-status-badge.active *,
body.docs-body .doc-status-badge.active *{color:#ffffff !important;fill:#ffffff !important;stroke:#ffffff !important;}

/* Lapor/report red glow everywhere */
html[data-theme="dark"] body.docs-body .doc-report-badge,
body.docs-body .doc-report-badge,
html[data-theme="dark"] body.docs-body .report-primary,
body.docs-body .report-primary,
html[data-theme="dark"] body.docs-body button[id*="report"],
html[data-theme="dark"] body.docs-body button[class*="report"],
html[data-theme="dark"] body.docs-body button[class*="lapor"],
body.docs-body button[class*="lapor"]{
  background:#dc2626 !important;
  background-image:linear-gradient(135deg,#ef4444,#b91c1c) !important;
  border-color:#ef4444 !important;
  color:#ffffff !important;
  box-shadow:0 0 14px rgba(239,68,68,.68), 0 0 34px rgba(239,68,68,.34), 0 14px 30px rgba(239,68,68,.24) !important;
}
html[data-theme="dark"] body.docs-body .doc-report-badge:hover,
body.docs-body .doc-report-badge:hover,
html[data-theme="dark"] body.docs-body .report-primary:hover,
body.docs-body .report-primary:hover{
  background:#ef4444 !important;
  background-image:linear-gradient(135deg,#f87171,#dc2626) !important;
  border-color:#f87171 !important;
  color:#ffffff !important;
}
html[data-theme="dark"] body.docs-body .doc-report-badge *,
body.docs-body .doc-report-badge *,
html[data-theme="dark"] body.docs-body .report-primary *,
body.docs-body .report-primary *{color:#ffffff !important;fill:#ffffff !important;stroke:#ffffff !important;}

/* Orange primary actions stay consistent, but report overrides above wins */
html[data-theme="dark"] body.docs-body .btn-exec,
html[data-theme="dark"] body.docs-body .btn.primary,
html[data-theme="dark"] body.docs-body .btn-upgrade:not(.report-primary),
html[data-theme="dark"] body.docs-body .auth-primary:not(.report-primary){
  background:#ff7a1a !important;
  background-image:linear-gradient(135deg,#ff8a2a,#ff6a00) !important;
  border-color:#ff7a1a !important;
  color:#ffffff !important;
  box-shadow:0 14px 32px rgba(255,122,26,.22) !important;
}

/* Top action buttons neutral */
html[data-theme="dark"] body.docs-body .theme-btn,
html[data-theme="dark"] body.docs-body .mobile-menu-btn,
html[data-theme="dark"] body.docs-body .back-btn,
html[data-theme="dark"] body.docs-body .docs-search-clear,
html[data-theme="dark"] body.docs-body .copy-btn,
html[data-theme="dark"] body.docs-body .btn-clr{
  background:#151515 !important;
  background-image:none !important;
  border-color:rgba(255,255,255,.12) !important;
  color:#ffffff !important;
  box-shadow:none !important;
}
html[data-theme="dark"] body.docs-body .theme-btn i,
html[data-theme="dark"] body.docs-body .mobile-menu-btn i,
html[data-theme="dark"] body.docs-body .back-btn i,
html[data-theme="dark"] body.docs-body .copy-btn i{
  color:#ff7a1a !important;
}

/* avoid inherited black square behind icons */
html[data-theme="dark"] body.docs-body i,
html[data-theme="dark"] body.docs-body svg{
  background-color:transparent !important;
}

/* remove navy/green inline remnants */
html[data-theme="dark"] body.docs-body [style*="#081727"],
html[data-theme="dark"] body.docs-body [style*="#0b1220"],
html[data-theme="dark"] body.docs-body [style*="#0f172a"],
html[data-theme="dark"] body.docs-body [style*="#111827"],
html[data-theme="dark"] body.docs-body [style*="#121a22"],
html[data-theme="dark"] body.docs-body [style*="#0d141b"],
html[data-theme="dark"] body.docs-body [style*="#17212b"],
html[data-theme="dark"] body.docs-body [style*="#0f1917"],
html[data-theme="dark"] body.docs-body [style*="64,138,113"],
html[data-theme="dark"] body.docs-body [style*="176,228,204"]{
  background:#151515 !important;
  background-image:none !important;
  border-color:rgba(255,255,255,.10) !important;
}


/* === User requested UI fixes: orange REST API tone, cleaner auth/header, logged-in embedded pages === */
:root,
[data-theme="light"],
[data-theme="dark"]{
  --free-limit-live-dot:#ff7a1a !important;
  --free-limit-live-dot-glow:rgba(255,122,26,.24) !important;
  --free-limit-progress-track:rgba(255,122,26,.14) !important;
  --free-limit-progress-border:rgba(255,122,26,.38) !important;
  --free-limit-progress-fill-start:#ff6a00 !important;
  --free-limit-progress-fill-end:#ff9a3d !important;
  --free-limit-progress-fill-shadow:rgba(255,122,26,.34) !important;
  --free-limit-progress-knob:#ffffff !important;
  --free-limit-progress-knob-shadow:rgba(255,122,26,.28) !important;
}
.landing .chip-anim > div,
.landing .chip-anim > div > div,
.chip-anim > div,
.chip-anim > div > div{
  background:#ff7a1a !important;
  border-color:rgba(255,122,26,.65) !important;
  color:#ffffff !important;
  box-shadow:0 12px 26px rgba(255,122,26,.22) !important;
}
.chip-anim-wrapper .badge{display:none !important;}
.auth-links,
.auth-link{
  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;
}
.auth-link{color:var(--text2) !important;text-decoration:none !important;}
.auth-link:hover{color:var(--accent) !important;}
.auth-pass{background:transparent !important;}
.auth-eye{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  color:var(--accent) !important;
}
.auth-eye i{color:var(--accent) !important;}
.auth-pass .auth-input{padding-right:46px !important;}
.docs-shell.aly-shell .aly-topbar{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
.external-page-frame-wrap{
  width:100%;
  min-height:calc(100vh - 150px);
  border:1px solid var(--card-border);
  background:var(--card-bg);
  border-radius:22px;
  overflow:hidden;
}
.external-page-frame{
  display:block;
  width:100%;
  min-height:calc(100vh - 150px);
  border:0;
  background:var(--bg);
}


/* Embedded docs page cleanup: no duplicated public header and no motion */
html.jg-embedded-page,
body.jg-embedded-page{
  background:transparent !important;
}
html.jg-embedded-page body::before,
body.jg-embedded-page::before{
  animation:none !important;
  transform:none !important;
}
html.jg-embedded-page .header,
body.jg-embedded-page .header,
html.jg-embedded-page .topnav,
body.jg-embedded-page .topnav{
  display:none !important;
}
html.jg-embedded-page .wrap,
body.jg-embedded-page .wrap{
  margin-top:0 !important;
  padding-top:0 !important;
}
html.jg-embedded-page *,
html.jg-embedded-page *::before,
html.jg-embedded-page *::after,
body.jg-embedded-page *,
body.jg-embedded-page *::before,
body.jg-embedded-page *::after{
  animation-duration:0.001ms !important;
  animation-iteration-count:1 !important;
  transition-duration:0.001ms !important;
  scroll-behavior:auto !important;
}
body.docs-body::before,
body.docs-body *{
  animation-duration:0.001ms !important;
  animation-iteration-count:1 !important;
}
body.docs-body .external-page-frame-wrap{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
}


/* === Revisi UI sidebar/main/auth === */
/* Home highlight: hanya teks tag yang berwarna, wrapper tidak lagi jadi kotak. */
.landing .chip-anim > div,
.chip-anim > div{
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
}
.landing .chip-anim > div > div,
.chip-anim > div > div{
  border-radius:999px !important;
  padding:0 14px !important;
}

/* Link auth login tetap teks biasa, tanpa box/background hitam. */
.auth-links .auth-link,
html[data-theme="dark"] body.docs-body .auth-links .auth-link,
html[data-theme="dark"] body:not(.landing-home) .auth-links .auth-link{
  appearance:none !important;
  -webkit-appearance:none !important;
  display:inline !important;
  width:auto !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  outline:0 !important;
  color:#ffffff !important;
  text-decoration:underline !important;
  text-underline-offset:2px !important;
}
.auth-links .auth-link:hover,
html[data-theme="dark"] body.docs-body .auth-links .auth-link:hover{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  color:#ff7a1a !important;
}

/* Back pada halaman yang dibuka dari tab sidebar tidak ditampilkan. */
#viewChangelog > .view-head .back-btn,
#viewProfile > .view-head .back-btn,
html.jg-embedded-page .back-btn,
body.jg-embedded-page .back-btn{
  display:none !important;
}
#viewChangelog > .view-head,
#viewProfile > .view-head{
  margin-top:0 !important;
}

/* Halaman iframe dari tab sidebar dibuat full-width dan rata dengan header docs. */
html.jg-embedded-page body,
body.jg-embedded-page{
  margin:0 !important;
  padding:0 !important;
  overflow-x:hidden !important;
}
html.jg-embedded-page .legal-wrap,
body.jg-embedded-page .legal-wrap,
html.jg-embedded-page .faq-page,
body.jg-embedded-page .faq-page,
html.jg-embedded-page .wrap-wide,
body.jg-embedded-page .wrap-wide,
html.jg-embedded-page .price-wrap,
body.jg-embedded-page .price-wrap{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}
html.jg-embedded-page .legal-hero,
body.jg-embedded-page .legal-hero,
html.jg-embedded-page .legal-card,
body.jg-embedded-page .legal-card,
html.jg-embedded-page .faq-hero,
body.jg-embedded-page .faq-hero,
html.jg-embedded-page .faq-side,
body.jg-embedded-page .faq-side,
html.jg-embedded-page .faq-main-card,
body.jg-embedded-page .faq-main-card,
html.jg-embedded-page .panel,
body.jg-embedded-page .panel,
html.jg-embedded-page .kpi,
body.jg-embedded-page .kpi,
html.jg-embedded-page .pricing-card,
body.jg-embedded-page .pricing-card,
html.jg-embedded-page .pricing-hero,
body.jg-embedded-page .pricing-hero{
  background:#121a22 !important;
  border-color:rgba(176,228,204,.16) !important;
  box-shadow:none !important;
}
html.jg-embedded-page .legal-hero,
body.jg-embedded-page .legal-hero,
html.jg-embedded-page .faq-hero,
body.jg-embedded-page .faq-hero,
html.jg-embedded-page .panel:first-child,
body.jg-embedded-page .panel:first-child{
  margin-top:0 !important;
}
body.docs-body .external-page-frame-wrap{
  min-height:calc(100vh - 174px) !important;
}
body.docs-body .external-page-frame{
  min-height:calc(100vh - 174px) !important;
}
