.no-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
  align-items: start;
  min-height: 100%;
}

.no-main-col {
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.no-sidebar-col {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  margin-top: -24px;
  padding-top: 24px;
  background: var(--glass-sidebar);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-left: 1px solid var(--glass-border);
  min-height: calc(100vh - 56px);
  margin-right: -24px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.no-sidebar-col::-webkit-scrollbar { display: none; }
body.nx-light .no-sidebar-col { background: var(--glass-sidebar); }

/* ── Glass card base ── */
.no-card {
  background: var(--glass-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.10),
    inset -1px -1px 0 rgba(0,0,0,0.06);
  overflow: hidden;
  transition: background 0.35s, border-color 0.35s;
}
body.nx-light .no-card {
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.55),
    inset -1px -1px 0 rgba(100,140,220,0.08);
}

.no-card-hdr {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--glass-border);
  transition: border-color 0.35s;
}
.no-card-hdr-icon {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px; font-size: 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(108,143,255,0.35);
  color: var(--accent);
  flex-shrink: 0; transition: all 0.35s;
}
body.nx-light .no-card-hdr-icon {
  background: rgba(255,255,255,0.38);
  border-color: rgba(58,106,238,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.60);
  color: #3a6aee;
}
.no-card-title { font-size: 12px; font-weight: 600; color: var(--white); letter-spacing: 0.3px; transition: color 0.35s; }
body.nx-light .no-card-title { color: #0a1628; }
.no-card-sub { font-size: 9.5px; color: var(--white-40); margin-top: 1px; transition: color 0.35s; }
body.nx-light .no-card-sub { color: rgba(10,22,60,0.50); }
.no-card-body { padding: 16px 18px; }

/* ── Platform buttons ── */
.no-plat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px;
}
.no-plat-btn-gl {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.14);
  cursor: pointer; font-size: 11px; font-weight: 600;
  letter-spacing: 0.5px; color: var(--white-60);
  font-family: var(--font); transition: all 0.18s ease;
  white-space: nowrap; overflow: hidden;
}
.no-plat-btn-gl i { font-size: 14px; flex-shrink: 0; }
.no-plat-btn-gl:hover { background: var(--glass-hover); color: var(--white-80); border-color: var(--white-20); }
body.nx-light .no-plat-btn-gl { color: rgba(10,22,60,0.62); background: rgba(255,255,255,0.55); border-color: rgba(100,150,230,0.35); }
body.nx-light .no-plat-btn-gl:hover { background: rgba(255,255,255,0.72); color: rgba(10,22,60,0.88); }

.no-plat-btn-gl.active-ig { border-color: rgba(225,48,108,0.50); color: #e1306c; background: rgba(225,48,108,0.10); }
.no-plat-btn-gl.active-yt { border-color: rgba(255,0,0,0.50);    color: #ff4444; background: rgba(255,0,0,0.10); }
.no-plat-btn-gl.active-tw { border-color: rgba(29,161,242,0.50); color: #1da1f2; background: rgba(29,161,242,0.10); }
.no-plat-btn-gl.active-tk { border-color: rgba(191,159,255,0.50);color: #bf9fff; background: rgba(191,159,255,0.10); }
.no-plat-btn-gl.active-fb { border-color: rgba(24,119,242,0.50); color: #1877f2; background: rgba(24,119,242,0.10); }
.no-plat-btn-gl.active-sp { border-color: rgba(30,215,96,0.50);  color: #1ed760; background: rgba(30,215,96,0.10); }
.no-plat-btn-gl.active-th { border-color: rgba(108,143,255,0.50);color: var(--accent); background: var(--accent-dim); }
.no-plat-btn-gl.active-li { border-color: rgba(10,102,194,0.50); color: #0a66c2; background: rgba(10,102,194,0.10); }

/* ── Sidebar Link Fixer ── */
.no-lf-wrap {
  border-bottom: 1px solid var(--glass-border);
  transition: border-color 0.35s;
}
.no-lf-section-hdr {
  padding: 12px 14px 8px;
  font-size: 9.5px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--white-40);
  border-bottom: 1px solid var(--glass-border);
  display: flex; align-items: center; gap: 6px;
  transition: all 0.35s;
}
body.nx-light .no-lf-section-hdr { color: rgba(10,22,60,0.48); }

.no-lf-item {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: border-color 0.35s;
}
.no-lf-item:last-child { border-bottom: none; }

.no-lf-plat-row {
  display: flex; align-items: center; gap: 7px; margin-bottom: 7px;
}
.no-lf-plat-icon {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; font-size: 11px; flex-shrink: 0;
  border: 1px solid var(--glass-border);
}
.no-lf-plat-icon.fb { background: rgba(24,119,242,0.15); border-color: rgba(24,119,242,0.32); color: #60a5fa; }
.no-lf-plat-icon.ig { background: rgba(225,48,108,0.12); border-color: rgba(225,48,108,0.28); color: #f472b6; }
body.nx-light .no-lf-plat-icon.fb { color: #1877f2; }
body.nx-light .no-lf-plat-icon.ig { color: #e1306c; }

.no-lf-plat-name { font-size: 10px; font-weight: 600; letter-spacing: 0.4px; color: var(--white-60); transition: color 0.35s; }
body.nx-light .no-lf-plat-name { color: rgba(10,22,60,0.65); }

.no-lf-plat-badge {
  margin-left: auto;
  font-size: 8px; font-weight: 600; letter-spacing: 0.8px;
  padding: 2px 6px; border-radius: 99px; text-transform: uppercase;
}
.no-lf-plat-badge.ready {
  background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.28); color: var(--green);
}
body.nx-light .no-lf-plat-badge.ready { color: #059669; }

.no-lf-input-row { display: flex; gap: 6px; }

.no-lf-input {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--white); font-size: 11.5px; font-family: var(--font);
  padding: 7px 10px; outline: none;
  transition: border-color 0.2s, background 0.35s, color 0.35s;
}
.no-lf-input::placeholder { color: var(--white-20); }
.no-lf-input:focus { border-color: rgba(108,143,255,0.50); background: rgba(108,143,255,0.06); }
.no-lf-input.fb:focus { border-color: rgba(24,119,242,0.50); background: rgba(24,119,242,0.05); }
.no-lf-input.ig:focus { border-color: rgba(225,48,108,0.50); background: rgba(225,48,108,0.05); }
body.nx-light .no-lf-input { background: rgba(255,255,255,0.35); color: #0a1628; border-color: rgba(100,150,230,0.32); }
body.nx-light .no-lf-input::placeholder { color: rgba(10,22,60,0.28); }
body.nx-light .no-lf-input:focus { border-color: rgba(58,106,238,0.50); background: rgba(255,255,255,0.50); }

.no-lf-btn {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 7px 10px; border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 600; font-family: var(--font);
  cursor: pointer; white-space: nowrap; transition: all 0.18s; border: 1px solid;
}
.no-lf-btn.fb { background: rgba(24,119,242,0.15); border-color: rgba(24,119,242,0.38); color: #60a5fa; }
.no-lf-btn.fb:hover { background: rgba(24,119,242,0.28); color: #fff; }
.no-lf-btn.ig { background: rgba(225,48,108,0.12); border-color: rgba(225,48,108,0.35); color: #f472b6; }
.no-lf-btn.ig:hover { background: rgba(225,48,108,0.25); color: #fff; }
body.nx-light .no-lf-btn.fb { background: rgba(24,119,242,0.10); color: #1877f2; border-color: rgba(24,119,242,0.30); }
body.nx-light .no-lf-btn.ig { background: rgba(225,48,108,0.08); color: #e1306c; border-color: rgba(225,48,108,0.28); }

.no-lf-error {
  font-size: 10px; color: #f87171;
  margin-top: 5px; min-height: 14px;
  display: none; align-items: center; gap: 4px;
}
body.nx-light .no-lf-error { color: #dc2626; }

.no-lf-result {
  display: none; margin-top: 7px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden; transition: border-color 0.35s;
}
body.nx-light .no-lf-result { background: rgba(255,255,255,0.22); }

.no-lf-result-label {
  font-size: 8px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--green); padding: 5px 9px 0;
  display: flex; align-items: center; gap: 4px;
}
body.nx-light .no-lf-result-label { color: #059669; }

.no-lf-result-row {
  display: flex; align-items: center; gap: 6px; padding: 4px 9px 7px;
}
.no-lf-result-url {
  flex: 1; font-size: 11px; color: var(--white-80);
  word-break: break-all; line-height: 1.4; transition: color 0.35s;
}
body.nx-light .no-lf-result-url { color: rgba(10,22,60,0.80); }

.no-lf-copy-btn {
  flex-shrink: 0; width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white-06); border: 1px solid var(--glass-border);
  border-radius: 6px; color: var(--white-40);
  font-size: 10px; cursor: pointer; transition: all 0.18s;
}
.no-lf-copy-btn:hover { background: var(--glass-hover); color: var(--white); }
body.nx-light .no-lf-copy-btn { background: rgba(255,255,255,0.38); color: rgba(10,22,60,0.50); border-color: rgba(100,150,230,0.28); }

.no-lf-parts {
  display: flex; flex-wrap: wrap; gap: 4px;
  padding: 6px 9px 8px; border-top: 1px solid var(--glass-border);
}
.no-lf-part {
  font-size: 9.5px; background: var(--white-06);
  border: 1px solid var(--glass-border);
  border-radius: 5px; padding: 2px 7px; color: var(--white-60);
}
.no-lf-part span { color: var(--white-40); margin-right: 3px; font-size: 8.5px; text-transform: uppercase; }
body.nx-light .no-lf-part { background: rgba(255,255,255,0.30); color: rgba(10,22,60,0.65); }
body.nx-light .no-lf-part span { color: rgba(10,22,60,0.40); }

/* ── FAQ / Help box ── */
.no-help-box {
  padding: 18px 14px; text-align: center;
  border-bottom: 1px solid var(--glass-border);
  transition: border-color 0.35s;
}
.no-help-title { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 5px; transition: color 0.35s; }
body.nx-light .no-help-title { color: #0a1628; }
.no-help-sub { font-size: 10px; color: var(--white-40); margin-bottom: 12px; transition: color 0.35s; }
body.nx-light .no-help-sub { color: rgba(10,22,60,0.48); }
.no-help-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 99px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white-60);
  font-size: 11px; font-weight: 600;
  text-decoration: none; transition: all 0.18s; letter-spacing: 0.3px;
}
.no-help-link:hover {
  background: var(--glass-hover);
  color: var(--white-80);
  border-color: var(--white-20);
  box-shadow: none;
}
body.nx-light .no-help-link {
  color: rgba(10,22,60,0.62);
  background: rgba(255,255,255,0.55);
  border-color: rgba(100,150,230,0.35);
}
body.nx-light .no-help-link:hover {
  background: rgba(255,255,255,0.72);
  color: rgba(10,22,60,0.88);
}
/* ── Recent Orders ── */
.no-recent-hdr {
  padding: 12px 14px 8px;
  font-size: 9.5px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--white-40);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.35s;
}
body.nx-light .no-recent-hdr { color: rgba(10,22,60,0.48); }

.no-recent-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s; gap: 8px;
}
.no-recent-item:last-child { border-bottom: none; }
.no-recent-item:hover { background: var(--glass-hover); }

.no-recent-id {
  font-size: 11px; font-weight: 600; color: var(--white-60);
  font-family: 'Courier New', monospace; transition: color 0.35s; white-space: nowrap;
}
body.nx-light .no-recent-id { color: rgba(10,22,60,0.65); }

.no-recent-badge {
  font-size: 9px; font-weight: 600;
  padding: 2px 8px; border-radius: 99px;
  border: 1px solid var(--glass-border);
  text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; flex-shrink: 0;
}
.no-recent-badge.pending    { background: rgba(251,191,36,0.12);  border-color: rgba(251,191,36,0.32);  color: var(--orange); }
.no-recent-badge.processing { background: rgba(108,143,255,0.12); border-color: rgba(108,143,255,0.32); color: var(--accent); }
.no-recent-badge.completed  { background: rgba(52,211,153,0.12);  border-color: rgba(52,211,153,0.32);  color: var(--green); }
.no-recent-badge.cancelled  { background: rgba(248,113,113,0.12); border-color: rgba(248,113,113,0.32); color: #f87171; }
.no-recent-badge.partial    { background: rgba(251,191,36,0.12);  border-color: rgba(251,191,36,0.32);  color: var(--orange); }
.no-recent-badge.inprogress { background: rgba(34,211,238,0.12);  border-color: rgba(34,211,238,0.32);  color: #22d3ee; }

.no-recent-empty {
  padding: 20px 14px; text-align: center;
  font-size: 11px; color: var(--white-20); transition: color 0.35s;
}
body.nx-light .no-recent-empty { color: rgba(10,22,60,0.28); }

/* ── Form fields ── */
.no-gl-field { margin-bottom: 14px; }
.no-gl-field:last-child { margin-bottom: 0; }
.no-gl-label {
  font-size: 9.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--white-40); margin-bottom: 7px;
  display: flex; align-items: center; gap: 6px; transition: color 0.35s;
}
body.nx-light .no-gl-label { color: rgba(10,22,60,0.48); }

.no-gl-input {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); color: var(--white);
  font-size: 13px; font-family: var(--font); padding: 9px 13px;
  transition: border-color 0.2s, background 0.35s, color 0.35s;
  outline: none; box-sizing: border-box;
}
.no-gl-input:focus { border-color: rgba(108,143,255,0.55); background: rgba(108,143,255,0.06); }
body.nx-light .no-gl-input { background: rgba(255,255,255,0.35); color: #0a1628; border-color: rgba(100,150,230,0.32); }
body.nx-light .no-gl-input:focus { border-color: rgba(58,106,238,0.55); background: rgba(255,255,255,0.50); }
.no-gl-input::placeholder { color: var(--white-20); }
body.nx-light .no-gl-input::placeholder { color: rgba(10,22,60,0.28); }

/* ── Custom Select ── */
.no-gl-select-wrap { position: relative; }
.no-gl-select-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); color: var(--white-60);
  font-family: var(--font); font-size: 13px; padding: 9px 13px;
  cursor: pointer; transition: all 0.18s; box-sizing: border-box;
}
.no-gl-select-trigger:hover { border-color: rgba(108,143,255,0.40); background: rgba(108,143,255,0.05); }
.no-gl-select-wrap.open .no-gl-select-trigger { border-color: rgba(108,143,255,0.55); }
.no-gl-select-trigger-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; text-align: left; }
.no-gl-chevron { color: var(--white-20); transition: transform 0.2s; flex-shrink: 0; margin-left: 8px; font-size: 10px; }
.no-gl-select-wrap.open .no-gl-chevron { transform: rotate(180deg); color: var(--accent); }
body.nx-light .no-gl-select-trigger { background: rgba(255,255,255,0.35); color: rgba(10,22,60,0.65); border-color: rgba(100,150,230,0.32); }
body.nx-light .no-gl-chevron { color: rgba(10,22,60,0.28); }

.no-gl-panel {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 999;
  background: var(--glass-dd-bg); backdrop-filter: var(--glass-blur-dd);
  -webkit-backdrop-filter: var(--glass-blur-dd); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); box-shadow: 0 16px 40px rgba(0,0,0,0.30);
  max-height: 240px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--white-10) transparent;
}
.no-gl-select-wrap.open .no-gl-panel { display: block; }
.no-gl-panel::-webkit-scrollbar { width: 4px; }
.no-gl-panel::-webkit-scrollbar-thumb { background: var(--white-10); border-radius: 4px; }

.no-gl-option {
  padding: 10px 13px; font-size: 12.5px; color: var(--white-60); font-family: var(--font);
  cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.no-gl-option:last-child { border-bottom: none; }
.no-gl-option:hover { background: var(--glass-hover); color: var(--white); }
.no-gl-option.selected { color: var(--accent); background: var(--accent-dim); }
.no-gl-option-empty { padding: 14px 13px; font-size: 11px; color: var(--white-20); text-align: center; }
body.nx-light .no-gl-option { color: rgba(10,22,60,0.65); }
body.nx-light .no-gl-option:hover { color: #0a1628; }
body.nx-light .no-gl-option.selected { color: #3a6aee; background: rgba(58,106,238,0.12); }

/* ── Search ── */
.no-gl-search-wrap { position: relative; }
.no-gl-search-results {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 999;
  background: var(--glass-dd-bg); backdrop-filter: var(--glass-blur-dd);
  -webkit-backdrop-filter: var(--glass-blur-dd); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); box-shadow: 0 16px 40px rgba(0,0,0,0.30);
  max-height: 300px; overflow-y: auto; scrollbar-width: thin;
}
.no-gl-search-item {
  padding: 10px 13px; cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.15s;
}
.no-gl-search-item:hover { background: var(--glass-hover); }
.no-gl-search-item:last-child { border-bottom: none; }
.no-gl-search-name { font-size: 12px; color: var(--white-80); margin-bottom: 3px; }
.no-gl-search-meta { display: flex; justify-content: space-between; font-size: 10px; }
.no-gl-search-price { color: var(--green); }
.no-gl-search-range { color: var(--white-40); }
.no-gl-search-empty { padding: 16px; text-align: center; font-size: 11px; color: var(--white-20); }
body.nx-light .no-gl-search-name { color: rgba(10,22,60,0.80); }
body.nx-light .no-gl-search-price { color: #059669; }
body.nx-light .no-gl-search-range { color: rgba(10,22,60,0.42); }

/* ── Service info strip ── */
.no-service-strip {
  display: none; background: rgba(108,143,255,0.06);
  border: 1px solid rgba(108,143,255,0.20); border-radius: var(--radius-sm);
  padding: 12px 14px; margin-bottom: 14px; font-size: 11px;
}
.no-service-strip-name { font-size: 13px; font-weight: 600; color: var(--white-80); margin-bottom: 8px; transition: color 0.35s; }
body.nx-light .no-service-strip-name { color: #0a1628; }
.no-service-strip-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.no-service-strip-item { font-size: 10px; color: var(--white-40); display: flex; gap: 5px; align-items: center; transition: color 0.35s; }
.no-service-strip-item strong { color: var(--accent); }
body.nx-light .no-service-strip-item { color: rgba(10,22,60,0.50); }
body.nx-light .no-service-strip-item strong { color: #3a6aee; }
.no-service-strip-desc { font-size: 11px; color: var(--white-40); margin-top: 8px; line-height: 1.6; border-top: 1px solid var(--glass-border); padding-top: 8px; transition: color 0.35s; }
body.nx-light .no-service-strip-desc { color: rgba(10,22,60,0.48); }

/* ── Mode tabs ── */
.no-mode-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.no-mode-tab-gl {
  flex: 1; padding: 8px 0;
  background: var(--glass-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); color: var(--white-40);
  font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all 0.18s;
}
.no-mode-tab-gl:hover { background: var(--glass-hover); color: var(--white-60); }
.no-mode-tab-gl.active-std { background: var(--accent-dim); border-color: rgba(108,143,255,0.40); color: var(--accent); box-shadow: 0 0 10px var(--glow-blue); }
.no-mode-tab-gl.active-drip { background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.35); color: var(--green); box-shadow: 0 0 10px var(--glow-green); }
.no-mode-tab-gl.active-bulk { background: rgba(167,139,250,0.12); border-color: rgba(167,139,250,0.35); color: #a78bfa; box-shadow: 0 0 10px var(--glow-purple); }
body.nx-light .no-mode-tab-gl { background: rgba(255,255,255,0.25); color: rgba(10,22,60,0.48); border-color: rgba(100,150,230,0.22); }
body.nx-light .no-mode-tab-gl.active-std { background: rgba(58,106,238,0.12); border-color: rgba(58,106,238,0.38); color: #3a6aee; box-shadow: none; }
body.nx-light .no-mode-tab-gl.active-drip { background: rgba(5,150,105,0.10); border-color: rgba(5,150,105,0.32); color: #059669; box-shadow: none; }
body.nx-light .no-mode-tab-gl.active-bulk { background: rgba(124,58,237,0.10); border-color: rgba(124,58,237,0.32); color: #7c3aed; box-shadow: none; }

.no-mode-panel { display: none; }
.no-mode-panel.active { display: block; }

/* ── Qty row ── */
.no-qty-row { display: flex; align-items: center; gap: 10px; }
.no-qty-slider { flex: 1; height: 6px; cursor: pointer; accent-color: var(--accent); }
.no-qty-num { width: 90px; flex-shrink: 0; }

/* ── Drip ── */
.no-drip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.no-drip-info {
  background: rgba(52,211,153,0.06); border: 1px solid rgba(52,211,153,0.20);
  border-radius: var(--radius-sm); padding: 10px 13px; font-size: 11px;
  color: var(--white-40); line-height: 1.7; margin-bottom: 14px; transition: color 0.35s;
}
body.nx-light .no-drip-info { color: rgba(10,22,60,0.50); }
.no-drip-info strong { color: var(--green); }
body.nx-light .no-drip-info strong { color: #059669; }
.no-drip-summary { font-size: 10px; color: var(--green); text-align: right; margin-top: 6px; min-height: 14px; font-weight: 500; transition: color 0.35s; }

/* ── Bulk ── */
.no-bulk-info {
  background: rgba(167,139,250,0.06); border: 1px solid rgba(167,139,250,0.20);
  border-radius: var(--radius-sm); padding: 10px 13px; font-size: 11px;
  color: var(--white-40); line-height: 1.7; margin-bottom: 14px; transition: color 0.35s;
}
body.nx-light .no-bulk-info { color: rgba(10,22,60,0.50); }
.no-bulk-info strong { color: #a78bfa; }
.no-bulk-textarea {
  width: 100%; min-height: 110px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(167,139,250,0.25);
  border-radius: var(--radius-sm); color: var(--white); font-family: var(--font);
  font-size: 12.5px; padding: 10px 13px; resize: vertical; box-sizing: border-box;
  line-height: 1.6; transition: border-color 0.2s, background 0.35s, color 0.35s; outline: none;
}
.no-bulk-textarea:focus { border-color: rgba(167,139,250,0.50); background: rgba(167,139,250,0.04); }
body.nx-light .no-bulk-textarea { background: rgba(255,255,255,0.35); color: #0a1628; border-color: rgba(124,58,237,0.25); }
.no-bulk-textarea::placeholder { color: var(--white-20); }
.no-bulk-counter { font-size: 10px; color: var(--white-40); text-align: right; margin-top: 4px; }
.no-bulk-counter span { color: #a78bfa; }

/* ── Total card ── */
.no-total-gl {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); padding: 12px 16px; margin: 14px 0; transition: all 0.35s;
}
body.nx-light .no-total-gl { background: rgba(255,255,255,0.22); }
.no-total-gl-label { font-size: 10px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: var(--white-40); transition: color 0.35s; }
body.nx-light .no-total-gl-label { color: rgba(10,22,60,0.48); }
.no-total-gl-detail { font-size: 10px; color: var(--white-20); margin-top: 3px; transition: color 0.35s; }
body.nx-light .no-total-gl-detail { color: rgba(10,22,60,0.35); }
.no-total-gl-amount { font-size: 22px; font-weight: 700; color: var(--accent); letter-spacing: -0.5px; transition: color 0.35s; }
body.nx-light .no-total-gl-amount { color: #3a6aee; }

/* ── Submit button ── */
.no-submit-gl {
  width: 100%; display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 11px 20px;
  background: var(--accent-dim); border: 1px solid rgba(108,143,255,0.40);
  border-radius: var(--radius-sm); color: var(--accent); font-family: var(--font);
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
  cursor: pointer; transition: all 0.20s; box-shadow: 0 0 0 0 var(--glow-blue);
}
.no-submit-gl:hover:not(:disabled) { background: rgba(108,143,255,0.25); box-shadow: 0 0 20px var(--glow-blue); color: #fff; }
.no-submit-gl:disabled { opacity: 0.45; cursor: not-allowed; }
.no-submit-gl.drip-mode { background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.35); color: var(--green); }
.no-submit-gl.drip-mode:hover:not(:disabled) { background: rgba(52,211,153,0.22); box-shadow: 0 0 20px var(--glow-green); color: #fff; }
.no-submit-gl.bulk-mode { background: rgba(167,139,250,0.12); border-color: rgba(167,139,250,0.35); color: #a78bfa; }
.no-submit-gl.bulk-mode:hover:not(:disabled) { background: rgba(167,139,250,0.22); box-shadow: 0 0 20px var(--glow-purple); color: #fff; }
body.nx-light .no-submit-gl { background: rgba(58,106,238,0.12); border-color: rgba(58,106,238,0.35); color: #3a6aee; }
body.nx-light .no-submit-gl:hover:not(:disabled) { background: rgba(58,106,238,0.22); box-shadow: none; color: #1a3fa8; }

/* ── Page heading ── */
.no-page-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.no-page-heading-icon {
  width: 40px; height: 40px; background: var(--accent-dim);
  border: 1px solid rgba(108,143,255,0.35); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent); box-shadow: 0 0 14px var(--glow-blue);
  flex-shrink: 0; transition: all 0.35s;
}
body.nx-light .no-page-heading-icon { background: rgba(255,255,255,0.38); border-color: rgba(58,106,238,0.38); box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), 0 0 10px rgba(58,106,238,0.20); color: #3a6aee; }
.no-page-heading-title { font-size: 18px; font-weight: 700; color: var(--white); transition: color 0.35s; }
body.nx-light .no-page-heading-title { color: #0a1628; }
.no-page-heading-sub { font-size: 11px; color: var(--white-40); margin-top: 2px; transition: color 0.35s; }
.no-page-heading-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--glass-border) 0%, transparent 100%); }
.no-page-heading-badge { font-size: 10px; color: var(--white-40); border: 1px solid var(--glass-border); padding: 3px 10px; border-radius: 99px; background: var(--glass-card); flex-shrink: 0; }

html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { display: none; }

/* ── Order Receipt Modal ── */
.no-receipt-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: transparent;
  display: none; justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.no-receipt-overlay.show { display: flex; }

.no-receipt-card {
  width: 100%; max-width: 380px;
  max-height: 90vh;
  overflow-y: auto;
  margin: auto;
  background: var(--bg-solid, #14182b);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  animation: noReceiptIn 0.22s ease;
}

body.nx-light .no-receipt-card {
  background: #ffffff;
}

@keyframes noReceiptIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.no-receipt-hdr {
  text-align: center; padding: 26px 20px 18px;
  border-bottom: 1px dashed var(--glass-border);
}
.no-receipt-check {
  width: 52px; height: 52px; margin: 0 auto 12px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(52,211,153,0.14); border: 1px solid rgba(52,211,153,0.35);
  color: var(--green); font-size: 24px;
  box-shadow: 0 0 24px var(--glow-green);
}
.no-receipt-title { font-size: 15px; font-weight: 700; color: var(--white); transition: color 0.35s; }
body.nx-light .no-receipt-title { color: #0a1628; }
.no-receipt-sub { font-size: 10.5px; color: var(--white-40); margin-top: 4px; transition: color 0.35s; }
body.nx-light .no-receipt-sub { color: rgba(10,22,60,0.48); }

.no-receipt-body { padding: 16px 20px; }
.no-receipt-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 11.5px;
}
.no-receipt-row:last-child { border-bottom: none; }
.no-receipt-row-label { color: var(--white-40); flex-shrink: 0; transition: color 0.35s; }
body.nx-light .no-receipt-row-label { color: rgba(10,22,60,0.48); }
.no-receipt-row-val {
  color: var(--white-80); text-align: right; word-break: break-word;
  font-weight: 600; transition: color 0.35s;
}
body.nx-light .no-receipt-row-val { color: rgba(10,22,60,0.80); }
.no-receipt-row-val.mono { font-family: 'Courier New', monospace; }

.no-receipt-total {
  display: flex; justify-content: space-between; align-items: center;
  margin: 14px 0 4px; padding: 12px 14px;
  background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.25);
  border-radius: var(--radius-sm);
}
.no-receipt-total-label { font-size: 10px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--green); }
.no-receipt-total-amount { font-size: 18px; font-weight: 700; color: var(--green); }

.no-receipt-footer { display: flex; gap: 8px; padding: 4px 20px 20px; }
.no-receipt-btn {
  flex: 1; padding: 10px 0; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 700; font-family: var(--font);
  cursor: pointer; text-align: center; transition: all 0.18s; border: 1px solid;
}
.no-receipt-btn.primary {
  background: var(--accent-dim); border-color: rgba(108,143,255,0.40); color: var(--accent);
}
.no-receipt-btn.primary:hover { background: rgba(108,143,255,0.25); color: #fff; }
.no-receipt-btn.ghost {
  background: rgba(255,255,255,0.06); border-color: var(--glass-border); color: var(--white-60);
}
.no-receipt-btn.ghost:hover { background: var(--glass-hover); color: var(--white-80); }
body.nx-light .no-receipt-btn.ghost { background: rgba(255,255,255,0.40); color: rgba(10,22,60,0.62); border-color: rgba(100,150,230,0.30); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .no-layout { grid-template-columns: 1fr; }
  .no-sidebar-col { position: static; margin-top: 16px; margin-right: 0; min-height: auto; border-left: none; border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding-top: 0; }
  .no-plat-grid { grid-template-columns: 1fr 1fr; }
  .no-main-col { padding-right: 0; }
}
@media (max-width: 500px) {
  .no-drip-grid { grid-template-columns: 1fr; }
}



.kb-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kb-card {
  background: var(--glass-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.10), inset -1px -1px 0 rgba(0,0,0,0.06);
  transition: background 0.35s, border-color 0.35s;
}
body.nx-light .kb-card {
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.55), inset -1px -1px 0 rgba(100,140,220,0.08);
}

.kb-card > .kb-card-hdr:first-child {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
}
.kb-card > *:last-child {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
}

.kb-card-hdr {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--glass-border);
  transition: border-color 0.35s;
}
.kb-card-hdr-icon {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px; font-size: 14px;
  background: var(--glass-card); border: 1px solid var(--glass-border);
  flex-shrink: 0; transition: all 0.35s;
}
body.nx-light .kb-card-hdr-icon {
  background: rgba(255,255,255,0.38); border-color: rgba(100,150,230,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.60);
}
.kb-card-title { font-size: 12px; font-weight: 600; color: var(--white); letter-spacing: 0.3px; transition: color 0.35s; }
body.nx-light .kb-card-title { color: #0a1628; }
.kb-card-sub { font-size: 9.5px; color: var(--white-40); margin-top: 1px; transition: color 0.35s; }
body.nx-light .kb-card-sub { color: rgba(10,22,60,0.50); }

.kb-search-wrap {
  padding: 16px 18px;
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  transition: border-color 0.35s;
}
.kb-search-inner { position: relative; }
.kb-search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--white-30); font-size: 14px; pointer-events: none; transition: color 0.35s;
}
body.nx-light .kb-search-icon { color: rgba(10,22,60,0.32); }
.kb-search-input {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 13px; font-family: var(--font);
  padding: 9px 13px 9px 38px;
  outline: none;
  transition: border-color 0.2s, background 0.35s, color 0.35s;
}
.kb-search-input::placeholder { color: var(--white-20); }
.kb-search-input:focus {
  border-color: rgba(108,143,255,0.55);
  background: rgba(108,143,255,0.06);
}
body.nx-light .kb-search-input {
  background: rgba(255,255,255,0.35); color: #0a1628;
  border-color: rgba(100,150,230,0.32);
}
body.nx-light .kb-search-input::placeholder { color: rgba(10,22,60,0.28); }

.kb-search-dropdown {
  position: fixed; 
  z-index: 99999;
  background: var(--glass-dd-bg);
  backdrop-filter: var(--glass-blur-hvy);
  -webkit-backdrop-filter: var(--glass-blur-hvy);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  max-height: 280px; overflow-y: auto;
  display: none;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.kb-search-dropdown.open { display: block; }
.kb-search-dropdown::-webkit-scrollbar { width: 4px; }
.kb-search-dropdown::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 99px; }

.kb-sd-group {
  font-size: 9px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--white-30); padding: 8px 14px 4px;
  border-top: 1px solid var(--glass-border);
  transition: color 0.35s;
}
body.nx-light .kb-sd-group { color: rgba(10,22,60,0.38); }
.kb-sd-group:first-child { border-top: none; }

.kb-sd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: background 0.15s;
}
body.nx-light .kb-sd-item { border-bottom-color: rgba(100,150,230,0.06); }
.kb-sd-item:hover { background: rgba(108,143,255,0.08); }
body.nx-light .kb-sd-item:hover { background: rgba(58,106,238,0.06); }
.kb-sd-item:last-child { border-bottom: none; }
.kb-sd-arrow { color: var(--accent); font-size: 10px; flex-shrink: 0; }
.kb-sd-text { font-size: 12px; color: var(--white-70); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.35s; }
body.nx-light .kb-sd-text { color: rgba(10,22,60,0.72); }
.kb-sd-cat {
  font-size: 9px; color: var(--white-30); white-space: nowrap;
  background: rgba(108,143,255,0.10); border: 1px solid var(--glass-border);
  padding: 1px 7px; border-radius: 99px; transition: color 0.35s;
}
body.nx-light .kb-sd-cat { color: rgba(10,22,60,0.40); background: rgba(58,106,238,0.08); }
.kb-sd-empty {
  padding: 16px 14px; text-align: center;
  font-size: 11px; color: var(--white-30); transition: color 0.35s;
}
body.nx-light .kb-sd-empty { color: rgba(10,22,60,0.35); }

.kb-faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 700px) { .kb-faq-layout { grid-template-columns: 1fr; } }

.kb-acc-body { padding: 0; }

.kb-cat-block { border-bottom: 1px solid var(--glass-border); }
.kb-cat-block:last-child { border-bottom: none; }

.kb-cat-toggle {
  width: 100%; background: none; border: none;
  padding: 11px 16px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px; font-weight: 600; font-family: var(--font);
  color: var(--white-50); cursor: pointer; text-align: left;
  transition: color 0.15s, background 0.15s;
}
.kb-cat-toggle:hover { color: var(--white-80); background: rgba(255,255,255,0.03); }
.kb-cat-toggle.open { color: var(--accent); }
body.nx-light .kb-cat-toggle { color: rgba(10,22,60,0.55); }
body.nx-light .kb-cat-toggle:hover { color: rgba(10,22,60,0.80); background: rgba(58,106,238,0.04); }
body.nx-light .kb-cat-toggle.open { color: #3a6aee; }

.kt-left { display: flex; align-items: center; gap: 8px; }
.kt-left i { font-size: 11px; color: var(--accent); opacity: 0.55; transition: opacity 0.15s; }
.kb-cat-toggle.open .kt-left i { opacity: 0.9; }
.kt-right { display: flex; align-items: center; gap: 8px; }
.kb-cat-count {
  font-size: 9px; color: var(--white-30); letter-spacing: 0.5px;
  background: rgba(108,143,255,0.08); border: 1px solid var(--glass-border);
  padding: 1px 7px; border-radius: 99px; transition: color 0.35s;
}
body.nx-light .kb-cat-count { color: rgba(10,22,60,0.40); background: rgba(58,106,238,0.07); }
.kb-cat-chevron {
  font-size: 11px; color: var(--white-20);
  transition: transform 0.2s, color 0.15s;
}
.kb-cat-toggle.open .kb-cat-chevron { transform: rotate(180deg); color: var(--accent); }

.kb-cat-items { display: none; }
.kb-cat-items.open { display: block; }

.kb-q-btn {
  width: 100%; background: none; border: none;
  border-left: 2px solid transparent;
  padding: 8px 16px 8px 28px;
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12px; font-family: var(--font);
  color: var(--white-35); cursor: pointer; text-align: left;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  line-height: 1.5;
}
.kb-q-btn:hover { color: var(--white-70); background: rgba(255,255,255,0.03); }
.kb-q-btn.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: rgba(108,143,255,0.07);
}
body.nx-light .kb-q-btn { color: rgba(10,22,60,0.45); }
body.nx-light .kb-q-btn:hover { color: rgba(10,22,60,0.75); background: rgba(58,106,238,0.04); }
body.nx-light .kb-q-btn.active { color: #3a6aee; background: rgba(58,106,238,0.08); border-left-color: #3a6aee; }
.kb-q-btn i { font-size: 10px; flex-shrink: 0; margin-top: 3px; color: var(--accent); opacity: 0.30; transition: opacity 0.15s; }
.kb-q-btn.active i, .kb-q-btn:hover i { opacity: 0.75; }

.kb-answer-card {
  position: sticky; top: 20px;
}

.kb-ans-body { padding: 18px; min-height: 160px; }

.kb-ans-empty {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 130px; text-align: center; gap: 10px;
}
.kb-ans-empty i { font-size: 28px; color: var(--white-10); transition: color 0.35s; }
body.nx-light .kb-ans-empty i { color: rgba(10,22,60,0.12); }
.kb-ans-empty-label {
  font-size: 11px; color: var(--white-25); line-height: 1.6; transition: color 0.35s;
}
body.nx-light .kb-ans-empty-label { color: rgba(10,22,60,0.30); }

.kb-ans-q-label {
  font-size: 9px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--accent); opacity: 0.55; margin-bottom: 6px; transition: color 0.35s;
}
.kb-ans-question {
  font-size: 14px; font-weight: 700; color: var(--white);
  line-height: 1.5; margin-bottom: 14px; transition: color 0.35s;
}
body.nx-light .kb-ans-question { color: #0a1628; }
.kb-ans-a-label {
  font-size: 9px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--green); opacity: 0.55; margin-bottom: 6px;
}
.kb-ans-answer {
  font-size: 12.5px; color: var(--white-55); line-height: 1.8; transition: color 0.35s;
}
body.nx-light .kb-ans-answer { color: rgba(10,22,60,0.62); }

.kb-ans-cat-tag {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 16px;
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--accent); opacity: 0.7;
  background: var(--accent-dim); border: 1px solid rgba(108,143,255,0.28);
  padding: 3px 10px; border-radius: 99px;
  transition: color 0.35s, background 0.35s;
}
body.nx-light .kb-ans-cat-tag { background: rgba(58,106,238,0.10); border-color: rgba(58,106,238,0.28); color: #3a6aee; opacity: 1; }

.kb-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 4px 0;
}
.kb-divider-line {
  flex: 1; height: 1px; background: var(--glass-border); transition: background 0.35s;
}
.kb-divider-label {
  font-size: 9.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--white-30); white-space: nowrap;
  padding: 3px 12px; border: 1px solid var(--glass-border);
  border-radius: 99px; background: var(--glass-card);
  display: flex; align-items: center; gap: 6px;
  transition: color 0.35s, background 0.35s, border-color 0.35s;
}
body.nx-light .kb-divider-label { color: rgba(10,22,60,0.38); }

.kb-policy-nav {
  display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: visible;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.02);
  scrollbar-width: thin; scrollbar-color: var(--glass-border) transparent;
  transition: border-color 0.35s;
}
.kb-policy-nav::-webkit-scrollbar { height: 3px; }
.kb-policy-nav::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 99px; }

.kb-policy-tab {
  flex-shrink: 0; background: none; border: none;
  border-bottom: 2px solid transparent;
  border-right: 1px solid var(--glass-border);
  padding: 11px 16px;
  font-size: 10.5px; font-weight: 600; font-family: var(--font); letter-spacing: 0.4px;
  color: var(--white-30); cursor: pointer; white-space: nowrap;
  display: flex; align-items: center; gap: 7px;
  transition: all 0.18s;
}
.kb-policy-tab:last-child { border-right: none; }
.kb-policy-tab:hover { color: var(--white-70); background: rgba(255,255,255,0.03); }
.kb-policy-tab.active {
  color: var(--white);
  border-bottom-color: var(--accent);
  background: rgba(108,143,255,0.06);
}
body.nx-light .kb-policy-tab { color: rgba(10,22,60,0.45); }
body.nx-light .kb-policy-tab:hover { color: rgba(10,22,60,0.75); }
body.nx-light .kb-policy-tab.active { color: #0a1628; border-bottom-color: #3a6aee; background: rgba(58,106,238,0.06); }
.kb-policy-tab i { font-size: 11px; opacity: 0.7; }

.kb-policy-pane { display: none; padding: 24px 22px; }
.kb-policy-pane.active { display: block; }

.kb-policy-pane-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--glass-border); transition: border-color 0.35s;
}
.kb-policy-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--white); transition: color 0.35s;
}
body.nx-light .kb-policy-title { color: #0a1628; }
.kb-policy-title i { color: var(--accent); font-size: 13px; opacity: 0.7; }
.kb-policy-updated {
  font-size: 9.5px; color: var(--white-30); white-space: nowrap;
  margin-top: 2px; letter-spacing: 0.3px; transition: color 0.35s;
}
body.nx-light .kb-policy-updated { color: rgba(10,22,60,0.38); }

.kb-policy-body {
  font-size: 12.5px; color: var(--white-50); line-height: 1.85; letter-spacing: 0.02em;
  transition: color 0.35s;
}
body.nx-light .kb-policy-body { color: rgba(10,22,60,0.60); }
.kb-policy-body h1, .kb-policy-body h2, .kb-policy-body h3 { font-weight: 700; margin: 18px 0 8px; letter-spacing: 0.3px; }
.kb-policy-body h2 { font-size: 13px; color: var(--white-80); transition: color 0.35s; }
body.nx-light .kb-policy-body h2 { color: #0a1628; }
.kb-policy-body h3 { font-size: 12px; color: var(--white-60); transition: color 0.35s; }
body.nx-light .kb-policy-body h3 { color: rgba(10,22,60,0.70); }
.kb-policy-body p  { margin-bottom: 10px; }
.kb-policy-body ul, .kb-policy-body ol { margin: 8px 0 10px 18px; }
.kb-policy-body a  { color: var(--accent); }
body.nx-light .kb-policy-body a { color: #3a6aee; }
.kb-policy-body strong { color: var(--white-70); transition: color 0.35s; }
body.nx-light .kb-policy-body strong { color: rgba(10,22,60,0.80); }

.kb-policy-empty {
  padding: 40px 22px; text-align: center;
  font-size: 11px; color: var(--white-25); transition: color 0.35s;
}
body.nx-light .kb-policy-empty { color: rgba(10,22,60,0.28); }
.kb-policy-empty i { font-size: 28px; display: block; margin-bottom: 10px; opacity: 0.4; }

/* ── Status badge in answer header ── */
.kb-ans-ready-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); margin-right: 5px;
  animation: kbBlink 1.8s ease-in-out infinite;
}
@keyframes kbBlink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.kb-faq-empty {
  padding: 30px 18px; text-align: center;
  font-size: 11.5px; color: var(--white-25); transition: color 0.35s;
}
body.nx-light .kb-faq-empty { color: rgba(10,22,60,0.28); }
.kb-faq-empty i { font-size: 28px; display: block; margin-bottom: 8px; opacity: 0.35; }

@media (max-width: 860px) {
  .kb-answer-card { position: static; }
}
@media (max-width: 600px) {
  .kb-policy-pane { padding: 16px 14px; }
}