/* ============================================================================
   MetisSI (Metis - Super Intelligence) — International Bright Daylight Theme
   Admin Control Console, Single Sign-On (SSO) Portals & AI Interview Studio
   100% Luminous Sky-Blue, Cyan, Sunlit Metis Gold & Crisp Daylight Surfaces
   ============================================================================ */

/* ── Header & Login Overlay Layout Safeguards (Prevents Clipping/Wrapping) ─ */
.site-header {
  height: auto !important;
  min-height: 0 !important;
  padding: 6px 0 5px;
}

.site-header .header-inner {
  max-width: min(1560px, 100%);
  padding: 2px 22px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  height: auto !important;
  min-height: 0 !important;
}

.site-header .header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.site-header .brand {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.site-header .brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.site-header .brand-title-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
}

.site-header .brand-yellow-row {
  display: flex;
  align-items: center;
}

.site-header .metis-yellow-badge--header {
  font-size: 10.5px;
  padding: 2px 10px;
  white-space: nowrap;
}

.site-header .brand-property-pill {
  white-space: nowrap;
  flex-shrink: 0;
}

.site-header .live-indicator {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 3px 10px;
}

.site-header .header-feature-ribbon {
  width: 100%;
  padding-top: 3px;
  border-top: 1px solid rgba(147, 197, 253, 0.55);
  display: flex;
  align-items: center;
}

.site-header .brand-subtitle {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: 11.5px;
  line-height: 1.35;
}

.site-header .header-stats {
  flex: 0 1 auto;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-header .header-feature-pill {
  padding: 5px 9px;
  flex-shrink: 0;
}

.site-header .header-feature-pill.header-admin-pill {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-color: #F59E0B;
}

.site-header .header-feature-pill.header-admin-pill .hf-meta strong {
  color: #92400E;
}

.site-header .header-feature-pill.header-admin-pill:hover,
.site-header .header-feature-pill.header-admin-pill.active {
  background: linear-gradient(135deg, #FEF08A 0%, #FACC15 55%, #F59E0B 100%);
  border-color: #D97706;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.site-header .header-feature-pill.header-admin-pill.active .hf-meta strong,
.site-header .header-feature-pill.header-admin-pill.active .hf-meta small {
  color: #0F172A;
}

.site-header .auth-user-pill {
  max-width: 135px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 1460px) {
  .site-header .hf-meta small {
    display: none;
  }
}

@media (max-width: 1200px) {
  .site-header .brand-property-pill,
  .site-header .live-indicator {
    display: none;
  }
}

.login-overlay {
  overflow-y: auto !important;
  align-items: flex-start !important;
  padding: 28px 16px !important;
}

.login-overlay .login-card {
  margin: auto !important;
}

/* ── SSO Login Mode Switcher (Main Login Card & Dedicated /admin Gate) ───── */
.login-portal-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 5px;
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  border-radius: 14px;
  margin-bottom: 14px;
}

.login-portal-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  background: transparent;
  color: #334155;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.login-portal-tab:hover {
  color: #1D4ED8;
  background: rgba(255, 255, 255, 0.7);
}

.login-portal-tab.active {
  background: #FFFFFF;
  color: #0F172A;
  border-color: #2563EB;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.14);
  font-weight: 800;
}

.login-portal-tab.tab-admin.active {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-color: #F59E0B;
  color: #92400E;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.18);
}

.sso-info-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 12px;
  border-radius: 11px;
  background: linear-gradient(135deg, #EFF6FF 0%, #FFFBEB 100%);
  border: 1px solid #BFDBFE;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1E3A8A;
  margin-bottom: 12px;
}

.sso-info-strip a {
  color: #2563EB;
  font-weight: 800;
  text-decoration: none;
}

.sso-info-strip a:hover {
  text-decoration: underline;
}

.sso-detected-box {
  background: linear-gradient(135deg, #ECFDF5 0%, #EFF6FF 100%);
  border: 1.5px solid #6EE7B7;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 0.81rem;
  color: #065F46;
}

/* ── Header Admin, SSO & Support Buttons + RBAC Locked Tabs ─────────────── */
.auth-admin-btn,
.auth-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
}

.auth-admin-btn {
  background: linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
  color: #FFFFFF;
  border: 1.5px solid #93C5FD;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

.auth-admin-btn:hover,
.auth-admin-btn.active {
  background: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%);
  color: #FFFFFF;
  border-color: #FCD34D;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(245, 158, 11, 0.3);
}

.auth-support-btn {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  color: #92400E;
  border: 1.5px solid #FCD34D;
}

.auth-support-btn:hover {
  background: #FDE68A;
  transform: translateY(-1px);
}

.ws-tab-locked {
  opacity: 0.52 !important;
  filter: grayscale(0.35);
  position: relative;
}

.ws-tab-locked::after {
  content: '🔒 Restricted';
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  background: #FEE2E2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

/* ── MetisSI Bright Daylight Admin Shell (Sidebar + Main Viewport) ───────── */
.admin-workspace-view {
  margin-top: 8px;
  margin-bottom: 36px;
}

.adm-loading-shell,
.adm-error-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 60%, #FFFBEB 100%);
  border: 1.5px solid #93C5FD;
  border-radius: 22px;
  padding: 36px;
  text-align: center;
  color: #0F172A;
  font-weight: 700;
  box-shadow: 0 8px 26px rgba(37, 99, 235, 0.08);
}

.adm-shell {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

/* Bright Daylight Sidebar (Zero Dark Slate) */
.adm-sidebar {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F7FF 58%, #FFFDF7 100%);
  color: #0F172A;
  border-radius: 22px;
  padding: 18px 14px;
  position: sticky;
  top: calc(var(--header-offset, 132px) + 16px);
  box-shadow: 0 8px 26px rgba(37, 99, 235, 0.09);
  border: 1.5px solid #93C5FD;
  overflow: hidden;
}

@media (max-width: 1080px) {
  .adm-shell {
    grid-template-columns: 1fr;
  }
  .adm-sidebar {
    position: relative;
    top: 0;
  }
}

.adm-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563EB 0%, #06B6D4 35%, #F59E0B 70%, #10B981 100%);
}

.adm-sb-brand {
  padding: 4px 6px 14px;
  border-bottom: 1.5px solid #DBEAFE;
}

.adm-sb-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}

.adm-sb-shield {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #EFF6FF 0%, #FEF3C7 100%);
  border: 1.5px solid #93C5FD;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.12);
}

.adm-sb-title-row strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  color: #0F172A;
  line-height: 1.15;
}

.adm-sb-yellow-tag {
  display: inline-block;
  margin-top: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FEF08A 0%, #FACC15 55%, #F59E0B 100%);
  color: #0F172A !important;
  font-size: 0.65rem !important;
  font-weight: 900;
  border: 1px solid #EAB308;
}

.adm-back-platform-btn {
  width: 100%;
  padding: 8px 11px;
  border-radius: 11px;
  background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 100%);
  color: #1D4ED8;
  border: 1.5px solid #93C5FD;
  font-family: 'Outfit', sans-serif;
  font-size: 0.77rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.16s ease;
}

.adm-back-platform-btn:hover {
  background: linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
  color: #FFFFFF;
  border-color: transparent;
}

.adm-sb-search-box {
  margin: 12px 0;
}

.adm-sb-search {
  width: 100%;
  background: #FFFFFF !important;
  border: 1.5px solid #BFDBFE !important;
  color: #0F172A !important;
  font-size: 0.79rem !important;
}

.adm-sb-search::placeholder {
  color: #64748B;
}

.adm-sb-nav {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 2px;
}

.adm-nav-group {
  margin-bottom: 12px;
}

.adm-nav-sec-title {
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563EB;
  padding: 4px 8px;
}

.adm-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8.5px 10px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  background: transparent;
  color: #334155;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.adm-nav-item:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #0F172A;
}

.adm-nav-item.active {
  background: linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
  border-color: #2563EB;
  color: #FFFFFF;
  font-weight: 800;
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.24);
}

.adm-nav-ic {
  font-size: 0.98rem;
  flex-shrink: 0;
}

.adm-nav-lbl {
  flex: 1;
  line-height: 1.25;
}

.adm-nav-badge {
  background: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 1px 7px;
  border-radius: 999px;
}

.adm-sb-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1.5px solid #DBEAFE;
  font-size: 0.71rem;
  color: #475569;
  line-height: 1.55;
}

/* ── Main Admin Area & Bright Daylight Topbar ────────────────────────────── */
.adm-main {
  min-width: 0;
}

.adm-topbar {
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 55%, #FFFBEB 100%);
  border: 1.5px solid #93C5FD;
  border-radius: 22px;
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.07);
  position: relative;
  overflow: hidden;
}

.adm-topbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563EB 0%, #06B6D4 35%, #F59E0B 70%, #10B981 100%);
}

.adm-topbar-kicker {
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #1D4ED8;
  text-transform: uppercase;
}

.adm-topbar-title {
  font-size: 1.38rem;
  font-weight: 900;
  color: #0F172A;
  margin: 2px 0 0;
}

.adm-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.adm-sso-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FEF08A 0%, #FACC15 55%, #F59E0B 100%);
  color: #0F172A;
  border: 1px solid #EAB308;
  font-size: 0.75rem;
  font-weight: 900;
}

.adm-grade-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: #ECFDF5;
  color: #047857;
  border: 1.5px solid #6EE7B7;
  font-size: 0.77rem;
  font-weight: 800;
}

.adm-feedback-banner {
  background: linear-gradient(135deg, #ECFDF5 0%, #EFF6FF 100%);
  border: 1.5px solid #6EE7B7;
  color: #065F46;
  padding: 10px 16px;
  border-radius: 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
}

.adm-feedback-close {
  border: none;
  background: transparent;
  color: #065F46;
  font-weight: 900;
  cursor: pointer;
}

/* ── KPI Grid & Cards (Bright Daylight Sky + Gold Trim) ─────────────────── */
.adm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.adm-kpi-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
  border: 1.5px solid #DCE6F7;
  border-radius: 18px;
  padding: 15px 16px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.05);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.adm-kpi-card[data-jump-tab] {
  cursor: pointer;
}

.adm-kpi-card[data-jump-tab]:hover {
  transform: translateY(-2px);
  border-color: #2563EB;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}

.adm-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #334155;
}

.adm-kpi-tag {
  font-size: 0.67rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.adm-kpi-val {
  font-size: 1.72rem;
  font-weight: 900;
  color: #0F172A;
  margin: 6px 0 3px;
  line-height: 1.1;
}

.adm-kpi-sub {
  font-size: 0.73rem;
  color: #64748B;
  font-weight: 600;
}

/* ── Layout Grids & Cards ────────────────────────────────────────────────── */
.adm-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.adm-grid-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  gap: 16px;
}

@media (max-width: 960px) {
  .adm-grid-2,
  .adm-grid-explorer {
    grid-template-columns: 1fr;
  }
}

.adm-card {
  background: #FFFFFF;
  border: 1.5px solid #DCE6F7;
  border-radius: 20px;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.05);
}

.adm-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 10px;
}

.adm-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.adm-card-head h3 {
  margin: 0;
}

.adm-muted {
  color: #475569;
  font-size: 0.81rem;
}

.adm-divider {
  border: none;
  border-top: 1px solid #E2E8F0;
  margin: 14px 0;
}

.adm-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.adm-query-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E3A8A;
  font-size: 0.74rem;
  font-weight: 700;
}

/* ── MetisSI Bright Daylight Feature Heroes (Replaces EHROne Dark Heroes) ─ */
.adm-dark-hero {
  border-radius: 22px;
  padding: 22px 26px;
  color: #0F172A;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 52%, #FFFBEB 100%);
  border: 1.5px solid #93C5FD;
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.08);
  position: relative;
  overflow: hidden;
}

.adm-dark-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #2563EB 0%, #06B6D4 35%, #F59E0B 70%, #10B981 100%);
}

.adm-hero-emerald {
  background: linear-gradient(135deg, #FFFFFF 0%, #ECFDF5 52%, #EFF6FF 100%);
  border-color: #6EE7B7;
}

.adm-dark-hero h3 {
  font-size: 1.24rem;
  font-weight: 900;
  margin: 7px 0 5px;
  color: #0F172A;
}

.adm-dark-hero p {
  font-size: 0.85rem;
  color: #334155;
  max-width: 740px;
  margin: 0;
  line-height: 1.5;
}

.adm-hero-pill {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FEF08A 0%, #FACC15 55%, #F59E0B 100%);
  border: 1px solid #EAB308;
  color: #0F172A;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.adm-hero-btns,
.adm-whatif-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.adm-whatif-controls label {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  color: #1E3A8A;
  margin-bottom: 4px;
}

/* ── Buttons, Inputs & Badges (MetisSI Royal Blue + Sunlit Gold) ─────────── */
.adm-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 11px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.81rem;
  font-weight: 800;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.16s ease;
}

.adm-btn-sm {
  padding: 5px 10px;
  font-size: 0.74rem;
  border-radius: 9px;
}

.adm-btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

.adm-btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.adm-btn-emerald {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.adm-btn-amber {
  background: #FFFBEB;
  color: #92400E;
  border-color: #FCD34D;
}

.adm-btn-amber:hover {
  background: #FEF3C7;
}

.adm-btn-danger {
  background: #FEF2F2;
  color: #B91C1C;
  border-color: #FECACA;
}

.adm-btn-danger:hover {
  background: #FEE2E2;
}

.adm-btn-outline,
.adm-btn-outline-light {
  background: #FFFFFF;
  color: #1E293B;
  border-color: #93C5FD;
}

.adm-btn-outline:hover,
.adm-btn-outline-light:hover {
  background: #EFF6FF;
  border-color: #2563EB;
  color: #1D4ED8;
}

.adm-link-btn {
  background: none;
  border: none;
  color: #2563EB;
  font-weight: 800;
  font-size: 0.81rem;
  cursor: pointer;
}

.adm-link-btn:hover {
  text-decoration: underline;
}

.adm-input,
.adm-select,
.adm-textarea {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 11px;
  border: 1.5px solid #BFDBFE;
  background: #FFFFFF;
  color: #0F172A;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
  font-size: 0.83rem;
}

.adm-form-field .adm-input,
.adm-form-field .adm-select,
.adm-form-field .adm-textarea,
.adm-modal-form .adm-input,
.adm-modal-form .adm-select,
.adm-modal-form .adm-textarea {
  width: 100%;
}

.adm-input:focus,
.adm-select:focus,
.adm-textarea:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.adm-textarea {
  width: 100%;
  resize: vertical;
}

.adm-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.adm-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adm-seg-btn {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1.5px solid #BFDBFE;
  background: #FFFFFF;
  color: #1E293B;
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.adm-seg-btn:hover {
  background: #EFF6FF;
  border-color: #2563EB;
}

.adm-seg-btn.active {
  background: linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
  color: #FFFFFF;
  border-color: #2563EB;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.2);
}

.adm-badge {
  display: inline-block;
  padding: 2.5px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  background: #EFF6FF;
  color: #1E3A8A;
}

.adm-badge-green  { background: #DCFCE7; color: #166534; }
.adm-badge-red    { background: #FEE2E2; color: #991B1B; }
.adm-badge-blue   { background: #DBEAFE; color: #1D4ED8; }
.adm-badge-purple { background: #EDE9FE; color: #5B21B6; }
.adm-badge-amber  { background: #FEF3C7; color: #92400E; }

/* ── Tables, Feature Permission Chips & Charts ───────────────────────────── */
.adm-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.81rem;
}

.adm-table th {
  text-align: left;
  padding: 10px 11px;
  background: #EFF6FF;
  color: #1E3A8A;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1.5px solid #BFDBFE;
}

.adm-table td {
  padding: 9px 11px;
  border-bottom: 1px solid #E2E8F0;
  color: #1E293B;
  vertical-align: middle;
}

.adm-clickable {
  cursor: pointer;
}

.adm-row-selected {
  background: #EFF6FF !important;
}

.adm-feat-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.adm-feat-chip {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.14s ease;
}

.adm-feat-chip.on {
  background: #DCFCE7;
  color: #166534;
  border-color: #86EFAC;
}

.adm-feat-chip.off {
  background: #FEE2E2;
  color: #991B1B;
  border-color: #FECACA;
}

.adm-perm-cell {
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 0.73rem;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
}

.adm-perm-cell.granted {
  background: #ECFDF5;
  color: #065F46;
  border-color: #A7F3D0;
}

.adm-perm-cell.denied {
  background: #FEF2F2;
  color: #991B1B;
  border-color: #FECACA;
}

/* Donut & Bar Charts */
.adm-donut-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.adm-donut-svg-box {
  position: relative;
  flex-shrink: 0;
}

.adm-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.adm-donut-center strong {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0F172A;
}

.adm-donut-center span {
  font-size: 0.68rem;
  color: #64748B;
}

.adm-donut-legend {
  flex: 1;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.adm-donut-leg-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.adm-donut-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.adm-donut-lbl {
  flex: 1;
  color: #334155;
}

.adm-bar-row {
  margin-bottom: 10px;
}

.adm-bar-meta,
.adm-bar-lbl {
  display: flex;
  justify-content: space-between;
  font-size: 0.79rem;
  margin-bottom: 4px;
}

.adm-bar-track {
  height: 9px;
  border-radius: 999px;
  background: #EFF6FF;
  overflow: hidden;
}

.adm-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.adm-svg-chart-wrap {
  width: 100%;
  overflow-x: auto;
}

.adm-forecast-svg {
  width: 100%;
  max-height: 260px;
}

/* Feeds, Bright Daylight Vault Envelopes, Policies & APM */
.adm-feed-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adm-feed-item {
  padding: 10px 13px;
  border-radius: 13px;
  background: #F8FAFF;
  border: 1px solid #DCE6F7;
}

.adm-feed-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.adm-feed-detail {
  font-size: 0.77rem;
  color: #475569;
  margin-top: 3px;
}

.adm-hub-matrix,
.adm-policies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.adm-hub-sync-card,
.adm-policy-card,
.adm-rule-card {
  padding: 12px 14px;
  border-radius: 14px;
  background: #F8FAFF;
  border: 1.5px solid #DCE6F7;
}

.adm-hub-sync-top,
.adm-rule-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}

.adm-policy-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.adm-policy-card p {
  margin: 3px 0 0;
  font-size: 0.75rem;
  color: #475569;
}

.adm-toggle-pill {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
}

.adm-toggle-pill.on { background: #DCFCE7; color: #166534; border-color: #86EFAC; }
.adm-toggle-pill.off { background: #F1F5F9; color: #475569; border-color: #CBD5E1; }

/* Bright Daylight Cryptographic Envelope & JSON Inspectors */
.adm-envelope-box {
  background: linear-gradient(135deg, #F8FAFF 0%, #EFF6FF 60%, #FFFBEB 100%);
  color: #0F172A;
  border: 1.5px solid #93C5FD;
  border-radius: 16px;
  padding: 15px;
}

.adm-env-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  font-size: 0.76rem;
  margin-bottom: 10px;
}

.adm-env-meta-grid span {
  color: #475569;
  font-weight: 700;
  display: block;
}

.adm-code-lbl {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #1D4ED8;
  margin: 9px 0 4px;
}

.adm-cipher-pre {
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FCD34D;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: 'Courier Prime', monospace;
  font-size: 0.76rem;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 170px;
  overflow: auto;
  margin: 0;
}

.adm-plain-pre {
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #BFDBFE;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: 'Courier Prime', monospace;
  font-size: 0.78rem;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 220px;
  overflow: auto;
  margin: 0;
}

.adm-json-inspector .adm-plain-pre,
.adm-modal-card .adm-plain-pre {
  background: #F8FAFF;
  color: #0F172A;
  border: 1.5px solid #BFDBFE;
  max-height: 410px;
}

.adm-ticket-detail-box,
.adm-trace-waterfall {
  background: #F8FAFF;
  border: 1.5px solid #DCE6F7;
  border-radius: 15px;
  padding: 14px;
}

.adm-ticket-desc {
  padding: 10px;
  background: #FFFFFF;
  border: 1px solid #DBEAFE;
  border-radius: 10px;
  font-size: 0.83rem;
}

.adm-span-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 9px;
  margin-top: 5px;
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #DBEAFE;
  font-size: 0.78rem;
}

.adm-inline-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  padding: 12px;
  background: #EFF6FF;
  border-radius: 12px;
  border: 1px solid #BFDBFE;
}

.adm-guide-steps {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #334155;
  font-size: 0.85rem;
  line-height: 1.65;
}

/* Modals (Bright Daylight Overlay) */
.adm-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.44);
  backdrop-filter: blur(6px);
  z-index: 10200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.adm-modal-card {
  background: #FFFFFF;
  border: 1.5px solid #93C5FD;
  border-radius: 22px;
  padding: 22px 24px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
}

.adm-modal-wide {
  max-width: 860px;
}

.adm-form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.adm-cal-rules-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

@media (max-width: 1180px) {
  .adm-cal-rules-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .adm-form-grid-2,
  .adm-cal-rules-grid-4 {
    grid-template-columns: 1fr;
  }
}

.adm-form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
  min-width: 0;
}

.adm-form-field label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #1E3A8A;
  line-height: 1.3;
}

.adm-perm-box {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
}

.adm-perm-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* ============================================================================
   Studio Sub-Mode Bar & AI Interviewing Studio (.iv-*) — Bright Daylight Theme
   ============================================================================ */
.cs-submode-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

@media (max-width: 780px) {
  .cs-submode-bar {
    grid-template-columns: 1fr;
  }
}

.cs-submode-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #334155;
  text-align: left;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.18s ease;
}

.cs-submode-btn:hover {
  border-color: #2563EB;
  background: #EFF6FF;
  transform: translateY(-1px);
}

.cs-submode-btn.active {
  background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 55%, #FFFBEB 100%);
  border: 2px solid #2563EB;
  color: #0F172A;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.14);
}

.cs-submode-ic {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}

.cs-submode-btn.active .cs-submode-ic {
  background: linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
  color: #FFFFFF;
}

.cs-submode-btn strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: #0F172A;
}

.cs-submode-btn span {
  font-size: 0.77rem;
  color: #475569;
  font-weight: 600;
}

/* Bright Daylight Interview Hero (Matches .cs-hero-banner & .pulse-hub-banner) */
.iv-hero-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 50%, #FFFBEB 100%);
  color: #0F172A;
  border: 1.5px solid #93C5FD;
  border-radius: 24px;
  padding: 24px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.08);
  position: relative;
  overflow: hidden;
}

.iv-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #2563EB 0%, #06B6D4 35%, #F59E0B 70%, #10B981 100%);
}

.iv-hero-kicker {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FEF08A 0%, #FACC15 55%, #F59E0B 100%);
  border: 1px solid #EAB308;
  color: #0F172A;
  font-size: 0.71rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.iv-hero-title {
  font-size: 1.42rem;
  font-weight: 900;
  color: #0F172A;
  margin: 8px 0 6px;
}

.iv-hero-sub {
  font-size: 0.87rem;
  color: #334155;
  max-width: 740px;
  margin: 0;
  line-height: 1.52;
}

.iv-hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.iv-stat-pill {
  background: #FFFFFF;
  border: 1.5px solid #BFDBFE;
  border-radius: 14px;
  padding: 10px 14px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.06);
}

.iv-stat-pill strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  color: #2563EB;
}

.iv-stat-pill span {
  font-size: 0.71rem;
  font-weight: 700;
  color: #475569;
}

.iv-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 9px;
}

.iv-cat-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 13px;
  border: 1.5px solid #DCE6F7;
  background: #F8FAFF;
  text-align: left;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.15s ease;
}

.iv-cat-btn:hover {
  border-color: #2563EB;
  background: #FFFFFF;
}

.iv-cat-btn.active {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-color: #2563EB;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.iv-cat-icon {
  font-size: 1.35rem;
}

.iv-cat-text strong {
  display: block;
  font-size: 0.82rem;
  color: #0F172A;
}

.iv-cat-text small {
  font-size: 0.7rem;
  color: #64748B;
}

.iv-form-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.iv-duration-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.iv-dur-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.iv-dur-chip {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid #BFDBFE;
  background: #FFFFFF;
  color: #1E3A8A;
  font-size: 0.71rem;
  font-weight: 800;
  cursor: pointer;
}

.iv-dur-chip.active {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
}

.iv-style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 9px;
}

.iv-style-card {
  padding: 10px 12px;
  border-radius: 13px;
  border: 1.5px solid #DCE6F7;
  background: #F8FAFF;
  text-align: left;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}

.iv-style-card.active {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-color: #F59E0B;
}

.iv-style-card strong {
  display: block;
  font-size: 0.82rem;
  color: #0F172A;
  margin-bottom: 3px;
}

.iv-style-card span {
  font-size: 0.72rem;
  color: #475569;
}

/* Blueprint Output */
.iv-blueprint-out {
  margin-top: 20px;
  border-top: 2px dashed #BFDBFE;
  padding-top: 18px;
}

.iv-bp-hero {
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 65%, #FFFBEB 100%);
  border: 1.5px solid #93C5FD;
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 14px;
}

.iv-bp-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.iv-bp-badge {
  padding: 4px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 800;
}

.iv-ep-title {
  font-size: 1.22rem;
  font-weight: 900;
  color: #0F172A;
  margin: 10px 0 8px;
}

.iv-alt-titles ul {
  margin: 5px 0 10px;
  padding-left: 18px;
  font-size: 0.82rem;
  color: #334155;
}

.iv-hook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.iv-hook-box {
  background: #FFFFFF;
  border: 1.5px solid #DCE6F7;
  border-radius: 13px;
  padding: 11px 13px;
}

.iv-hook-cold {
  border-color: #F59E0B;
  background: #FFFBEB;
}

.iv-hook-lbl {
  display: block;
  font-size: 0.73rem;
  font-weight: 800;
  color: #1D4ED8;
  margin-bottom: 4px;
}

.iv-hook-box p {
  margin: 0;
  font-size: 0.82rem;
  color: #1E293B;
}

.iv-tips-strip {
  margin-top: 12px;
  font-size: 0.8rem;
}

.iv-tips-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.iv-tip-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #BFDBFE;
  font-size: 0.74rem;
  color: #1E3A8A;
  font-weight: 700;
}

.iv-segments-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.iv-segment-card {
  background: #FFFFFF;
  border: 1.5px solid #DCE6F7;
  border-radius: 16px;
  padding: 15px 18px;
}

.iv-seg-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid #EFF6FF;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.iv-seg-time {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.73rem;
  font-weight: 800;
}

.iv-seg-title {
  display: inline;
  margin-left: 8px;
  font-size: 1rem;
  font-weight: 800;
  color: #0F172A;
}

.iv-seg-obj {
  font-size: 0.76rem;
  color: #64748B;
}

.iv-q-item {
  padding: 9px 11px;
  border-radius: 11px;
  background: #F8FAFF;
  border: 1px solid #E2E8F0;
  margin-bottom: 8px;
}

.iv-q-main {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.iv-q-num {
  padding: 2px 8px;
  border-radius: 7px;
  background: #2563EB;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.iv-q-why,
.iv-q-trig {
  font-size: 0.76rem;
  color: #475569;
  margin-top: 4px;
}

.iv-reel-callout {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  color: #92400E;
  font-size: 0.79rem;
}

.iv-rapid-card {
  margin-top: 12px;
  background: linear-gradient(135deg, #FFFBEB 0%, #EFF6FF 100%);
  border: 1.5px solid #FCD34D;
  border-radius: 16px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.iv-rf-list {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 0.83rem;
  line-height: 1.55;
}

/* Live Co-Pilot */
.iv-copilot-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.iv-copilot-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.iv-followup-out {
  margin-top: 14px;
}

.iv-bridge-banner {
  padding: 10px 14px;
  border-radius: 12px;
  background: #EFF6FF;
  border: 1.5px solid #93C5FD;
  color: #1E3A8A;
  font-size: 0.84rem;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.iv-pacing-pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #BFDBFE;
  font-size: 0.73rem;
  font-weight: 800;
}

.iv-subq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.iv-subq-card {
  background: #FFFFFF;
  border: 1.5px solid #DCE6F7;
  border-radius: 14px;
  padding: 12px 14px;
}

.iv-subq-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.iv-tag-pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.71rem;
  font-weight: 800;
}

.iv-subq-q {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px;
}

.iv-subq-angle {
  color: #64748B;
  font-size: 0.74rem;
}

.iv-logged-exchanges {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #F8FAFF;
  border: 1.5px solid #BFDBFE;
}

.iv-logged-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.82rem;
}

.iv-logged-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid #DCE6F7;
  margin-bottom: 6px;
  font-size: 0.81rem;
}

.iv-logged-ans {
  color: #475569;
  margin-top: 3px;
}

/* Conversation Output */
.iv-convo-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.iv-convo-out {
  margin-top: 16px;
}

.iv-convo-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.iv-convo-sub {
  font-size: 0.78rem;
  color: #64748B;
  margin-left: 6px;
}

.iv-convo-paper {
  background: #FFFDF7;
  color: #0F172A;
  border: 1.5px solid #BFDBFE;
  border-radius: 16px;
  padding: 22px 26px;
  font-family: 'Courier Prime', monospace;
  font-size: 0.9rem;
  line-height: 1.68;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 620px;
  overflow-y: auto;
  box-shadow: inset 0 2px 6px rgba(37, 99, 235, 0.04);
}

.iv-convo-paper.dark {
  background: #0F172A;
  color: #F8FAFC;
  border-color: #334155;
}


/* ============================================================================
   Live AI Newsroom — "Generate Your Own News" Mode Bar & Studio Composer
   (Paired with Selected News Edition: English, Hindi, Telugu, International)
   ============================================================================ */
.nr-submode-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1.5px dashed #DBEAFE;
}

.nr-submode-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  color: #1E293B;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nr-submode-btn:hover {
  background: #FFFFFF;
  border-color: #60A5FA;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.1);
}

.nr-submode-btn.active {
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 65%, #DBEAFE 100%);
  border-color: #2563EB;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.15);
}

.nr-submode-btn.nr-submode-own.active {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFBEB 55%, #FEF3C7 100%);
  border-color: #F59E0B;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.18);
}

.nr-submode-ic {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.nr-submode-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nr-submode-txt strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
}

.nr-submode-txt small {
  font-size: 0.76rem;
  font-weight: 600;
  color: #475569;
}

.custom-own-news-section {
  animation: fadeIn 0.25s ease both;
}

.custom-own-studio-card {
  background: #FFFFFF;
  border: 1.5px solid #93C5FD;
  border-radius: 24px;
  padding: 24px 26px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.09);
  position: relative;
  overflow: hidden;
}

.custom-own-studio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #2563EB 0%, #06B6D4 35%, #F59E0B 70%, #10B981 100%);
}

.cos-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid #E2E8F0;
}

.cos-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.cos-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0F172A;
  margin: 0;
}

.cos-edition-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FEF08A 0%, #FACC15 55%, #F59E0B 100%);
  color: #0F172A;
  border: 1px solid #EAB308;
  font-size: 0.75rem;
  font-weight: 900;
}

.cos-subtitle {
  margin: 0;
  max-width: 820px;
  font-size: 0.87rem;
  line-height: 1.55;
  color: #334155;
}

.cos-quick-samples {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cos-sample-lbl {
  font-size: 0.74rem;
  font-weight: 800;
  color: #475569;
}

.cos-sample-chip {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1.5px solid #BFDBFE;
  background: #EFF6FF;
  color: #1D4ED8;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.16s ease;
}

.cos-sample-chip:hover {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
}

.cos-field-block {
  margin-bottom: 14px;
}

.cos-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #1E3A8A;
  margin-bottom: 7px;
}

.cos-type-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cos-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  color: #334155;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.cos-type-pill:hover {
  border-color: #60A5FA;
  background: #EFF6FF;
}

.cos-type-pill.active {
  background: linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
  color: #FFFFFF;
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

.cos-two-col {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 14px;
}

.cos-input,
.cos-textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 13px;
  border: 1.5px solid #BFDBFE;
  background: #F8FAFC;
  color: #0F172A;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
  font-size: 0.9rem;
  transition: all 0.18s ease;
}

.cos-input:focus,
.cos-textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.cos-textarea {
  resize: vertical;
  min-height: 104px;
  line-height: 1.55;
}

.cos-controls-box {
  margin-top: 6px;
  margin-bottom: 16px;
}

.cos-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cos-generate-btn {
  flex: 1 1 320px;
  padding: 14px 22px;
  border-radius: 15px;
  border: none;
  background: linear-gradient(135deg, #2563EB 0%, #0891B2 55%, #F59E0B 130%);
  color: #FFFFFF;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
  font-size: 0.98rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
}

.cos-generate-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.32);
}

.cos-generate-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.cos-clear-btn {
  padding: 13px 18px;
  border-radius: 14px;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  color: #334155;
  font-family: 'Outfit', sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.cos-clear-btn:hover {
  background: #FEE2E2;
  color: #991B1B;
  border-color: #FCA5A5;
}

.cos-history-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #DBEAFE;
}

.cos-history-pill {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #93C5FD;
  background: #F0F9FF;
  color: #0369A1;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.cos-history-pill:hover {
  background: #DBEAFE;
}

.cos-output-wrap {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 2px solid #DBEAFE;
}

.cos-gathered-box {
  background: linear-gradient(135deg, #F0F9FF 0%, #FFFBEB 100%) !important;
  border-color: #7DD3FC !important;
}

.cos-gathered-count {
  padding: 3px 10px;
  border-radius: 999px;
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
  font-size: 0.72rem;
  font-weight: 800;
}

.cos-gathered-list {
  margin: 8px 0 10px;
  padding-left: 18px;
  color: #1E293B;
  font-size: 0.84rem;
  line-height: 1.6;
}

.cos-gathered-list li {
  margin-bottom: 5px;
}

.cos-ref-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.cos-ref-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #93C5FD;
  color: #1D4ED8;
  font-size: 0.73rem;
  font-weight: 700;
  text-decoration: none;
}

.cos-ref-pill:hover {
  background: #EFF6FF;
  text-decoration: underline;
}

@media (max-width: 860px) {
  .nr-submode-bar,
  .cos-two-col {
    grid-template-columns: 1fr;
  }
}


/* ── 6-Hub Workspace Switcher Grid + Standalone "Generate your own content" Language & Category Selector ── */
.ws-switcher-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

@media (min-width: 1760px) {
  .ws-switcher-tabs {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

.ws-mode-tab {
  padding: 11px 13px !important;
  gap: 10px !important;
  min-width: 0;
}

.ws-tab-icon {
  width: 40px !important;
  height: 40px !important;
  font-size: 20px !important;
}

.ws-tab-text strong {
  font-size: 14px !important;
  line-height: 1.25;
}

.ws-tab-text span {
  font-size: 11px !important;
  line-height: 1.3;
}

@media (max-width: 1720px) {
  .site-header .hf-meta small {
    display: none;
  }
}

@media (max-width: 960px) {
  .ws-switcher-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .ws-switcher-tabs {
    grid-template-columns: 1fr !important;
  }
}

.own-content-workspace-view {
  animation: fadeIn 0.25s ease both;
}

.cos-lang-cat-box {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FBFF 60%, #FFFDF7 100%) !important;
  border-color: #93C5FD !important;
  margin-bottom: 16px;
}

.cos-lang-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.cos-lang-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 14px;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  color: #1E293B;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
  min-width: 0;
}

.cos-lang-card:hover {
  background: #FFFFFF;
  border-color: #60A5FA;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.1);
}

.cos-lang-card.active {
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 65%, #DBEAFE 100%);
  border-color: #2563EB;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.16);
}

.cos-lang-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.cos-lang-meta strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
}

.cos-lang-meta small {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.25;
}

.cos-lang-check {
  font-size: 0.9rem;
  font-weight: 900;
  color: #2563EB;
  flex-shrink: 0;
}

.cos-cat-divider {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1.5px dashed #DBEAFE;
}

@media (max-width: 1080px) {
  .cos-lang-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .cos-lang-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Relevant Topic Visuals Gallery & Thumbnail Switcher (Generate your own content) ── */
.cos-visual-gallery-block {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FBFF 70%, #FFFDF7 100%) !important;
  border-color: #93C5FD !important;
}

.cos-main-visual-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #BFDBFE;
  background: #F1F5F9;
  max-height: 440px;
  display: flex;
  flex-direction: column;
}

.cos-main-visual-wrap .nc-image {
  width: 100%;
  max-height: 390px;
  object-fit: cover;
  display: block;
}

.cos-img-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 9px 14px;
  background: linear-gradient(90deg, #EFF6FF 0%, #FFFBEB 100%);
  border-top: 1px solid #DBEAFE;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0F172A;
}

.cos-img-caption-bar small {
  font-size: 0.72rem;
  font-weight: 800;
  color: #1D4ED8;
  background: #FFFFFF;
  border: 1px solid #BFDBFE;
  padding: 2px 9px;
  border-radius: 999px;
}

.cos-thumb-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.cos-thumb-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px;
  border-radius: 12px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.16s ease;
}

.cos-thumb-btn:hover {
  border-color: #2563EB;
  background: #EFF6FF;
  transform: translateY(-1px);
}

.cos-thumb-btn.active {
  border: 2px solid #2563EB;
  background: linear-gradient(135deg, #EFF6FF 0%, #FEF3C7 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.18);
}

.cos-thumb-btn img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
  background: #E2E8F0;
}

.cos-thumb-btn span {
  font-size: 0.73rem;
  font-weight: 800;
  color: #1E293B;
}

/* ============================================================================
   YouTube Video Analysis Workspace (.yt-*) — Bright Daylight Editorial Theme
   ============================================================================ */
.youtube-workspace-view {
  animation: fadeIn 0.25s ease both;
}

.yt-url-box {
  margin-bottom: 16px;
}

.yt-url-input-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}

.yt-url-input-wrap {
  flex: 1 1 420px;
  position: relative;
  display: flex;
  align-items: center;
}

.yt-url-icon {
  position: absolute;
  left: 14px;
  font-size: 1.05rem;
  pointer-events: none;
}

.yt-url-input {
  padding-left: 42px !important;
  font-size: 0.94rem !important;
  height: 50px;
}

.yt-analyze-btn {
  flex: 0 0 auto !important;
  padding: 0 24px !important;
  height: 50px;
  white-space: nowrap;
}

.yt-options-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FBFF 65%, #FFFDF7 100%) !important;
  border-color: #93C5FD !important;
  margin-bottom: 14px;
}

.yt-goal-pills,
.yt-lang-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.yt-goal-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #1E293B;
  text-align: left;
  cursor: pointer;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
  transition: all 0.16s ease;
}

.yt-goal-pill:hover {
  border-color: #60A5FA;
  background: #EFF6FF;
}

.yt-goal-pill.active {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 60%, #FFFBEB 100%);
  border-color: #2563EB;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.14);
}

.yt-goal-ic {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.yt-goal-pill strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0F172A;
}

.yt-goal-pill small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #475569;
}

.yt-analysis-output {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #DBEAFE;
}

/* Video Inspection Hero Card */
.yt-video-summary-card {
  display: grid;
  grid-template-columns: 290px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 55%, #FFFBEB 100%);
  border: 1.5px solid #93C5FD;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
  margin-bottom: 16px;
}

.yt-thumb-box {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid #BFDBFE;
  background: #0F172A;
  aspect-ratio: 16 / 9;
}

.yt-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-duration-pill {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(15, 23, 42, 0.88);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 800;
}

.yt-type-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
}

.yt-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.yt-orig-title {
  font-size: 1.18rem;
  font-weight: 900;
  color: #0F172A;
  margin: 0 0 8px;
  line-height: 1.35;
}

.yt-channel-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #1E293B;
}

.yt-sub-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #BFDBFE;
  font-size: 0.74rem;
  font-weight: 700;
  color: #1E3A8A;
}

.yt-watch-link {
  padding: 4px 11px;
  border-radius: 999px;
  background: #2563EB;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.yt-watch-link:hover {
  background: #1D4ED8;
}

.yt-strategy-note {
  margin: 8px 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0369A1;
}

.yt-score-badge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 2px solid var(--yt-score-col, #2563EB);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.1);
  min-width: 126px;
}

.yt-score-ring {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.yt-score-ring strong {
  font-size: 2rem;
  font-weight: 900;
  color: var(--yt-score-col, #2563EB);
  line-height: 1;
}

.yt-score-ring small {
  font-size: 0.78rem;
  font-weight: 800;
  color: #64748B;
}

.yt-grade-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FEF08A 0%, #FACC15 100%);
  border: 1px solid #EAB308;
  color: #0F172A;
  font-size: 0.73rem;
  font-weight: 900;
}

/* KPI Grid */
.yt-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.yt-kpi-card {
  background: #FFFFFF;
  border: 1.5px solid #BFDBFE;
  border-radius: 16px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.05);
}

.yt-kpi-lbl {
  font-size: 0.74rem;
  font-weight: 800;
  color: #475569;
}

.yt-kpi-val {
  font-size: 1.32rem;
  font-weight: 900;
  color: #0F172A;
}

.yt-kpi-card small {
  font-size: 0.72rem;
  font-weight: 600;
  color: #2563EB;
}

/* 2-Col Analytics & Audit */
.yt-two-col-analytics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.yt-pillar-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yt-pillar-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 5px;
}

.yt-bar-track {
  height: 10px;
  border-radius: 999px;
  background: #E2E8F0;
  overflow: hidden;
}

.yt-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563EB 0%, #06B6D4 60%, #10B981 100%);
}

.yt-audit-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yt-audit-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 0.81rem;
  line-height: 1.45;
}

.yt-audit-item.pass {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #14532D;
}

.yt-audit-item.warn {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #78350F;
}

/* Suggested Titles Cards */
.yt-titles-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yt-title-card {
  padding: 13px 16px;
  border-radius: 15px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.16s ease;
}

.yt-title-card:hover {
  border-color: #60A5FA;
  background: #F8FBFF;
}

.yt-title-card.selected {
  border: 2px solid #2563EB;
  background: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 60%, #FFFBEB 100%);
  box-shadow: 0 5px 16px rgba(37, 99, 235, 0.14);
}

.yt-title-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.yt-angle-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: #DBEAFE;
  color: #1E3A8A;
  font-size: 0.73rem;
  font-weight: 800;
}

.yt-title-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.yt-metric-chip {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #334155;
}

.yt-metric-chip.ctr {
  background: #FEF3C7;
  border-color: #FCD34D;
  color: #92400E;
}

.yt-metric-chip.seo {
  background: #E0F2FE;
  border-color: #7DD3FC;
  color: #075985;
}

.yt-metric-chip.len-ok {
  background: #DCFCE7;
  border-color: #86EFAC;
  color: #166534;
}

.yt-metric-chip.len-warn {
  background: #FEE2E2;
  border-color: #FCA5A5;
  color: #991B1B;
}

.yt-title-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.yt-sug-title-txt {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.4;
}

.yt-title-why {
  margin: 6px 0 0;
  font-size: 0.79rem;
  color: #475569;
}

/* Keyword Analytics Table & Filters */
.yt-kw-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.yt-kw-filter-btn {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #BFDBFE;
  background: #FFFFFF;
  color: #1E3A8A;
  font-family: 'Outfit', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}

.yt-kw-filter-btn.active {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
}

.yt-kw-phrase {
  color: #0F172A;
  font-size: 0.86rem;
}

.yt-kw-type {
  padding: 2px 8px;
  border-radius: 999px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  font-size: 0.71rem;
  font-weight: 700;
  color: #334155;
}

.yt-mini-bar-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yt-mini-bar {
  width: 72px;
  height: 7px;
  border-radius: 999px;
  background: #E2E8F0;
  overflow: hidden;
}

.yt-mini-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2563EB, #06B6D4);
}

.yt-comp-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.yt-comp-badge.comp-low {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
}

.yt-comp-badge.comp-medium {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}

.yt-comp-badge.comp-high {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

.yt-opp-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #EFF6FF;
  border: 1px solid #93C5FD;
  color: #1D4ED8;
  font-size: 0.76rem;
  font-weight: 900;
}

.yt-status-used {
  font-size: 0.75rem;
  font-weight: 800;
  color: #15803D;
}

.yt-status-missing {
  font-size: 0.75rem;
  font-weight: 800;
  color: #D97706;
}

.yt-desc-hook-box {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F8FAFF;
  border: 1.5px solid #BFDBFE;
  color: #0F172A;
  font-size: 0.87rem;
  line-height: 1.55;
}

@media (max-width: 1120px) {
  .yt-video-summary-card {
    grid-template-columns: 1fr;
  }
  .yt-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yt-options-grid,
  .yt-two-col-analytics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .yt-goal-pills,
  .yt-lang-pills,
  .yt-kpi-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================================
   YouTube SI — 11-Module Super Intelligence & Indian Regional Language Suite
   ============================================================================ */
.yt-lang-select-wrap {
  position: relative;
  margin-bottom: 10px;
}

.yt-lang-select {
  width: 100%;
  padding: 11px 38px 11px 14px;
  border-radius: 13px;
  border: 1.5px solid #60A5FA;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FBFF 100%);
  color: #0F172A;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  appearance: none;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.08);
}

.yt-lang-select:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.yt-quick-lang-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.yt-quick-lang-chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #BFDBFE;
  background: #FFFFFF;
  color: #1E3A8A;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.yt-quick-lang-chip:hover {
  border-color: #2563EB;
  background: #EFF6FF;
}

.yt-quick-lang-chip.active {
  background: linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
  color: #FFFFFF;
  border-color: transparent;
}

.yt-kpi-grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.yt-kpi-card-gold {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-color: #F59E0B;
}

.yt-kpi-card-gold small {
  color: #92400E;
}

/* Sub-Navigation Module Filter Bar */
.yt-module-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px 12px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 60%, #FFFBEB 100%);
  border: 1.5px solid #BFDBFE;
}

.yt-mod-tab {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #1E293B;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.16s ease;
}

.yt-mod-tab:hover {
  border-color: #2563EB;
  color: #1D4ED8;
}

.yt-mod-tab.active {
  background: linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

/* Module 1: Transcript */
.yt-tr-search {
  width: 240px;
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 999px;
}

.yt-tracks-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.yt-track-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
}

.yt-track-badge.active {
  background: #DBEAFE;
  border-color: #60A5FA;
  color: #1E3A8A;
}

.yt-takeaways-box {
  padding: 10px 14px;
  border-radius: 12px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: #78350F;
}

.yt-takeaways-box ul {
  margin: 5px 0 0;
  padding-left: 18px;
}

.yt-transcript-scroll {
  max-height: 280px;
  overflow-y: auto;
  border: 1.5px solid #DCE6F7;
  border-radius: 13px;
  background: #F8FAFF;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.yt-tr-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 8px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  font-size: 0.83rem;
}

.yt-tr-time {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: #EFF6FF;
  border: 1px solid #93C5FD;
  color: #1D4ED8;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}

.yt-tr-time:hover {
  background: #2563EB;
  color: #FFFFFF;
}

.yt-tr-text {
  color: #0F172A;
  line-height: 1.45;
}

/* Mini 4-Stat Strip inside Module Cards */
.yt-mini-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.yt-mini-stat {
  padding: 9px 10px;
  border-radius: 12px;
  background: #F8FAFF;
  border: 1px solid #BFDBFE;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yt-mini-stat span {
  font-size: 0.7rem;
  font-weight: 700;
  color: #475569;
}

.yt-mini-stat strong {
  font-size: 0.96rem;
  font-weight: 900;
  color: #0F172A;
}

.yt-bench-chip {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  font-size: 0.69rem;
  font-weight: 800;
  color: #1E3A8A;
}

/* Module 3: Comments & Sentiment */
.yt-sentiment-summary {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.45;
}

.yt-sentiment-stacked {
  display: flex;
  height: 22px;
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.7rem;
  font-weight: 900;
  color: #FFFFFF;
}

.yt-sent-pos {
  background: linear-gradient(90deg, #16A34A, #22C55E);
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-sent-neu {
  background: linear-gradient(90deg, #0284C7, #38BDF8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-sent-neg {
  background: linear-gradient(90deg, #D97706, #F59E0B);
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-sentiment-legend {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.74rem;
  color: #334155;
}

.yt-comments-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 235px;
  overflow-y: auto;
  margin-top: 10px;
}

.yt-comment-item {
  padding: 8px 11px;
  border-radius: 11px;
  background: #F8FAFF;
  border: 1px solid #DCE6F7;
}

.yt-comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.73rem;
  color: #475569;
  margin-bottom: 3px;
}

.yt-comment-item p {
  margin: 0;
  font-size: 0.8rem;
  color: #0F172A;
  line-height: 1.4;
}

.yt-sent-tag {
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.yt-sent-tag.sent-pos {
  background: #DCFCE7;
  color: #166534;
}

.yt-sent-tag.sent-neu {
  background: #E0F2FE;
  color: #075985;
}

.yt-sent-tag.sent-neg {
  background: #FEF3C7;
  color: #92400E;
}

/* Module 6: Most Replayed Heatmap */
.yt-heatmap-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 98px;
  padding: 10px 10px 4px;
  border-radius: 13px;
  background: linear-gradient(180deg, #F8FBFF 0%, #EFF6FF 100%);
  border: 1.5px solid #BFDBFE;
}

.yt-hm-bar-col {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
}

.yt-hm-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #38BDF8 0%, #2563EB 100%);
  transition: transform 0.15s ease;
}

.yt-hm-bar.peak {
  background: linear-gradient(180deg, #F59E0B 0%, #EA580C 100%);
}

.yt-hm-bar-col:hover .yt-hm-bar {
  transform: scaleY(1.08);
}

.yt-heatmap-axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.71rem;
  font-weight: 700;
  color: #64748B;
  margin: 5px 2px 10px;
}

.yt-peak-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.yt-peak-card {
  padding: 9px 12px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1.5px solid #BFDBFE;
  text-decoration: none;
  color: #0F172A;
  transition: all 0.15s ease;
}

.yt-peak-card:hover {
  border-color: #2563EB;
  background: #EFF6FF;
}

.yt-peak-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
  font-size: 0.82rem;
}

.yt-peak-card small {
  font-size: 0.73rem;
  color: #475569;
  font-weight: 700;
}

/* Module 8 & 5: Snapshot Tracker, Storyboard Frames, A/B Lab & Metadata Grid */
.yt-snapshot-banner {
  padding: 10px 13px;
  border-radius: 12px;
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  color: #14532D;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.yt-snapshot-banner.changed {
  background: #FFFBEB;
  border-color: #FCD34D;
  color: #78350F;
}

.yt-frames-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.yt-frame-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid #BFDBFE;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
}

.yt-frame-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.yt-frame-card span {
  padding: 4px 6px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #1E3A8A;
  text-align: center;
}

.yt-ab-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yt-ab-card {
  padding: 10px 12px;
  border-radius: 12px;
  background: #F8FAFF;
  border: 1.5px solid #BFDBFE;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.yt-ab-head {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.yt-thumb-text-pill {
  padding: 2px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FEF08A 0%, #FACC15 100%);
  border: 1px solid #EAB308;
  color: #0F172A;
  font-size: 0.72rem;
  font-weight: 900;
}

.yt-ab-card strong {
  font-size: 0.86rem;
  color: #0F172A;
}

.yt-ab-card small {
  font-size: 0.74rem;
  color: #475569;
}

.yt-meta-kv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.yt-meta-kv {
  padding: 8px 11px;
  border-radius: 11px;
  background: #F8FAFF;
  border: 1px solid #DCE6F7;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yt-meta-kv span {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748B;
}

.yt-meta-kv strong {
  font-size: 0.81rem;
  color: #0F172A;
  word-break: break-word;
}

.yt-chapters-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

/* Module 9A: Live SERP Rankings */
.yt-serp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.yt-serp-card {
  padding: 12px 14px;
  border-radius: 14px;
  background: #F8FAFF;
  border: 1.5px solid #BFDBFE;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.yt-serp-card.top {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border-color: #4ADE80;
}

.yt-serp-rank {
  font-size: 1.08rem;
  font-weight: 900;
  color: #0F172A;
}

.yt-cur-vid-row {
  background: #FFFBEB !important;
}

/* Module 11: Estimated Revenue */
.yt-rev-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.yt-rev-box {
  padding: 13px 15px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.yt-rev-box.primary {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1.5px solid #60A5FA;
}

.yt-rev-box.gold {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1.5px solid #F59E0B;
}

.yt-rev-box span {
  font-size: 0.74rem;
  font-weight: 800;
  color: #334155;
}

.yt-rev-box strong {
  font-size: 1.18rem;
  font-weight: 900;
  color: #0F172A;
}

.yt-rev-box small {
  font-size: 0.74rem;
  color: #475569;
}

.yt-rev-disclaimer {
  margin: 12px 0 0;
  padding: 9px 12px;
  border-radius: 11px;
  background: #F8FAFF;
  border: 1px solid #BFDBFE;
  font-size: 0.78rem;
  color: #1E3A8A;
  line-height: 1.45;
}

.yt-empty-note {
  margin: 0;
  padding: 10px 12px;
  font-size: 0.8rem;
  color: #64748B;
}

@media (max-width: 1180px) {
  .yt-kpi-grid-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .yt-serp-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .yt-kpi-grid-6,
  .yt-mini-stat-strip,
  .yt-frames-grid,
  .yt-meta-kv-grid,
  .yt-rev-hero-grid,
  .yt-peak-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ============================================================================
   YouTube SI — Interactive SVG Graphical Charts & Data Visualization Cockpit
   ============================================================================ */
.yt-radial-hero-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.yt-radial-svg {
  width: 104px;
  height: 104px;
  display: block;
}

.yt-visual-cockpit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
  align-items: stretch;
}

.yt-cockpit-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 0;
  min-height: 292px;
}

.yt-cockpit-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 4px;
}

.yt-svg-chart {
  width: 100%;
  height: auto;
  display: block;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
}

.yt-radar-svg {
  max-height: 236px;
  width: 100%;
  margin: 0 auto;
}

.yt-chart-panel {
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
  border: 1.5px solid #BFDBFE;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.yt-chart-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #1E3A8A;
}

.yt-chart-caption small {
  font-size: 0.72rem;
  color: #64748B;
}

/* Enlarged Audience Sentiment Donut Chart + Progress Legend */
.yt-donut-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  padding: 6px 4px;
}

.yt-donut-svg {
  width: 184px;
  height: 184px;
  flex-shrink: 0;
  display: block;
}

.yt-donut-legend {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 155px;
}

.yt-dl-card {
  padding: 8px 10px;
  border-radius: 11px;
  background: #F8FAFF;
  border: 1px solid #DCE6F7;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.yt-dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: #1E293B;
}

.yt-dl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.yt-dl-row span:nth-child(2) {
  flex: 1;
  font-weight: 800;
}

.yt-dl-row strong {
  font-size: 0.86rem;
  font-weight: 900;
  color: #0F172A;
}

.yt-dl-bar-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #E2E8F0;
  overflow: hidden;
}

.yt-dl-bar-fill {
  height: 100%;
  border-radius: 999px;
}

/* Enlarged Approval, Engagement & Tag Radial Rings Trio */
.yt-mini-gauges-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  padding: 6px 2px;
  align-items: stretch;
}

.yt-mini-gauge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: 16px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
  border: 1.5px solid #BFDBFE;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.05);
  text-align: center;
}

.yt-ring-trio-svg {
  width: 112px;
  height: 112px;
  max-width: 100%;
  display: block;
}

.yt-mg-title {
  font-size: 0.8rem;
  font-weight: 900;
  color: #0F172A;
  line-height: 1.2;
}

.yt-mg-sub {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  font-size: 0.69rem;
  font-weight: 800;
  color: #1E3A8A;
}

/* 2D Keyword Matrix Numbered Key Legend (Zero Overlap in Indic & English Scripts) */
.yt-kw-matrix-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #CBD5E1;
}

.yt-kwm-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #DCE6F7;
  min-width: 0;
}

.yt-kwm-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  color: #FFFFFF;
  flex-shrink: 0;
}

.yt-kwm-num.used {
  background: #16A34A;
}

.yt-kwm-num.miss {
  background: #F59E0B;
}

.yt-kwm-txt {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.79rem;
  font-weight: 800;
  color: #0F172A;
}

.yt-kwm-meta {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 999px;
  background: #F1F5F9;
  font-size: 0.68rem;
  font-weight: 800;
  color: #475569;
}

/* Bullet Benchmark Chart */
.yt-bullet-chart-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yt-bullet-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.73rem;
  font-weight: 800;
  color: #475569;
  margin-bottom: 2px;
}

.yt-bl-swatch {
  display: inline-block;
  width: 12px;
  height: 8px;
  border-radius: 3px;
  vertical-align: middle;
  margin-right: 4px;
}

.yt-bl-swatch.actual {
  background: #16A34A;
}

.yt-bl-swatch.target {
  background: #D97706;
}

.yt-bullet-svg {
  width: 100%;
  height: 24px;
  display: block;
}

/* Waveform & Scatter Interactive Hover */
.yt-svg-hover-slice {
  cursor: pointer;
  transition: fill 0.12s ease;
}

.yt-svg-hover-slice:hover {
  fill: rgba(37, 99, 235, 0.14);
}

.yt-kw-bubble circle {
  cursor: pointer;
  transition: fill-opacity 0.15s ease, stroke-width 0.15s ease;
}

.yt-kw-bubble:hover circle {
  fill-opacity: 1;
  stroke-width: 2.8;
}

@media (max-width: 1280px) {
  .yt-donut-flex {
    flex-direction: column;
  }
  .yt-donut-legend {
    width: 100%;
  }
}

@media (max-width: 1120px) {
  .yt-visual-cockpit-grid {
    grid-template-columns: 1fr;
  }
  .yt-donut-flex {
    flex-direction: row;
  }
}

@media (max-width: 720px) {
  .yt-donut-flex {
    flex-direction: column;
  }
  .yt-kw-matrix-legend {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   MetisSI Admin — User Logs, Login/Logout Timestamps & Datewise Reports
   Bright Daylight Editorial Graphics, Interactive User Bars & Date Accordions
   ============================================================================ */

.adm-ulog-hero {
  border-radius: 22px;
  padding: 20px 24px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 50%, #ECFDF5 82%, #FFFBEB 100%);
  border: 1.5px solid #93C5FD;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  position: relative;
  overflow: hidden;
}

.adm-ulog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #2563EB 0%, #10B981 36%, #F59E0B 72%, #06B6D4 100%);
}

.adm-ulog-kicker {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FEF08A 0%, #FACC15 55%, #F59E0B 100%);
  border: 1px solid #EAB308;
  color: #0F172A;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.adm-ulog-hero h3 {
  font-size: 1.24rem;
  font-weight: 900;
  color: #0F172A;
  margin: 7px 0 4px;
}

.adm-ulog-hero p {
  font-size: 0.84rem;
  color: #334155;
  margin: 0;
  max-width: 780px;
  line-height: 1.5;
}

.adm-ulog-hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* SVG Audit Chart Box & Legend */
.adm-ulog-svg-box {
  background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
  border: 1px solid #DBEAFE;
  border-radius: 15px;
  padding: 12px 14px 10px;
}

.adm-ulog-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #334155;
}

.adm-ulog-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.adm-ulog-chart-legend i {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 3px;
}

.adm-ulog-svg {
  width: 100%;
  height: auto;
  min-height: 195px;
  display: block;
}

.adm-ulog-date-bar-grp rect:first-of-type {
  transition: fill 0.14s ease;
}

.adm-ulog-date-bar-grp:hover rect:first-of-type {
  fill: rgba(37, 99, 235, 0.08);
}

/* Per-User Comparison Bars */
.adm-ulog-user-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.adm-ulog-ubar-row {
  padding: 10px 13px;
  border-radius: 13px;
  background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
  border: 1px solid #DBEAFE;
  cursor: pointer;
  transition: all 0.16s ease;
}

.adm-ulog-ubar-row:hover {
  border-color: #2563EB;
  background: #EFF6FF;
  transform: translateX(2px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
}

.adm-ulog-ubar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 7px;
  font-size: 0.81rem;
}

.adm-ulog-ubar-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: #475569;
}

.adm-ulog-presence-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}

.adm-ulog-presence-dot.online {
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.adm-ulog-presence-dot.offline {
  background: #94A3B8;
}

.adm-ulog-handle {
  font-size: 0.76rem;
  font-weight: 800;
  color: #1D4ED8;
  background: #EFF6FF;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid #BFDBFE;
  margin: 0 3px;
}

.adm-ulog-open-link {
  background: none;
  border: none;
  padding: 0;
  color: #1D4ED8;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
}

.adm-ulog-open-link:hover {
  color: #D97706;
  text-decoration: underline;
}

.adm-ulog-user-tr:hover td {
  background: #EFF6FF !important;
}

/* Timestamp Chips */
.adm-ulog-ts {
  display: inline-block;
  font-size: 0.77rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #1E293B;
}

.adm-ulog-ts.in {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #065F46;
}

.adm-ulog-ts.out {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #991B1B;
}

.adm-ulog-ts.live {
  background: #DBEAFE;
  border-color: #93C5FD;
  color: #1E40AF;
  font-weight: 800;
}

/* Single-User Drilldown Topbar & Profile Banner */
.adm-ulog-drill-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1.5px solid #BFDBFE;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.05);
}

.adm-ulog-switcher-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #1E3A8A;
}

.adm-ulog-user-hero {
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 54%, #FFFBEB 100%);
  border: 1.5px solid #93C5FD;
  border-radius: 20px;
  padding: 18px 22px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.07);
}

.adm-ulog-user-id {
  display: flex;
  align-items: center;
  gap: 14px;
}

.adm-ulog-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.24);
}

.adm-ulog-user-id h3 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 900;
  color: #0F172A;
}

.adm-ulog-last-stamps {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.79rem;
  color: #334155;
}

.adm-ulog-user-mini-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.adm-ulog-mkpi {
  min-width: 88px;
  padding: 10px 13px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1.5px solid #DBEAFE;
  text-align: center;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.05);
}

.adm-ulog-mkpi strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 900;
  color: #0F172A;
}

.adm-ulog-mkpi span {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Datewise Filter & Quick Date Pills */
.adm-ulog-date-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adm-ulog-date-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.adm-ulog-date-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid #BFDBFE;
  background: #F8FBFF;
  color: #1E3A8A;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.adm-ulog-date-chip:hover {
  background: #EFF6FF;
  border-color: #2563EB;
}

.adm-ulog-date-chip.active {
  background: linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
  border-color: #2563EB;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

.adm-ulog-filter-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid #E2E8F0;
}

/* Datewise Expandable Cards */
.adm-ulog-date-section {
  background: #FFFFFF;
  border: 1.5px solid #BFDBFE;
  border-radius: 20px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.06);
}

.adm-ulog-date-head {
  padding: 15px 20px;
  background: linear-gradient(135deg, #F8FBFF 0%, #EFF6FF 60%, #FFFDF5 100%);
  border-bottom: 1px solid #DBEAFE;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  cursor: pointer;
  transition: background 0.15s ease;
}

.adm-ulog-date-head:hover {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 55%, #FEF9C3 100%);
}

.adm-ulog-date-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.adm-ulog-cal-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1.5px solid #93C5FD;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.adm-ulog-date-title h4 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 900;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.adm-ulog-iso-tag {
  font-family: monospace;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
}

.adm-ulog-date-sub {
  font-size: 0.77rem;
  color: #475569;
  margin-top: 3px;
}

.adm-ulog-date-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.adm-ulog-stat-chip {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  border: 1px solid #DBEAFE;
  background: #FFFFFF;
  color: #1E293B;
}

.adm-ulog-stat-chip.in {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #065F46;
}

.adm-ulog-stat-chip.out {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #991B1B;
}

.adm-ulog-stat-chip.dur {
  background: #FFFBEB;
  border-color: #FDE68A;
  color: #92400E;
}

.adm-ulog-stat-chip.act {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1D4ED8;
}

.adm-ulog-date-body {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adm-ulog-subblock h5 {
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 900;
  color: #1E3A8A;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Chronological Activity Timeline on Each Date */
.adm-ulog-timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.adm-ulog-tl-row {
  display: grid;
  grid-template-columns: 108px 148px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #F8FAFF;
  border: 1px solid #E2E8F0;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.adm-ulog-tl-row:hover {
  border-color: #93C5FD;
  background: #EFF6FF;
}

.adm-ulog-tl-row.is-login {
  background: linear-gradient(90deg, #ECFDF5 0%, #F8FAFF 65%);
  border-color: #86EFAC;
}

.adm-ulog-tl-row.is-logout {
  background: linear-gradient(90deg, #FEF2F2 0%, #F8FAFF 65%);
  border-color: #FECACA;
}

.adm-ulog-tl-time {
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0F172A;
  white-space: nowrap;
}

.adm-ulog-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 900;
  border: 1px solid transparent;
  white-space: nowrap;
}

.adm-ulog-tl-detail {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.38;
}

.adm-ulog-tl-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 3px;
  font-size: 0.73rem;
  color: #64748B;
}

@media (max-width: 820px) {
  .adm-ulog-tl-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .adm-ulog-user-id {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ══════════════════════════════════════════════════════════════════════════════
   7-HUB WORKSPACE SWITCHER GRID + FACT CHECK, DEEPFAKE & GOOGLE SYNTHID SI CSS
   ══════════════════════════════════════════════════════════════════════════════ */
.site-header .header-stats {
  gap: 5px;
}

.site-header .header-feature-pill {
  padding: 5px 8px;
}

@media (min-width: 1261px) {
  .ws-switcher-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1860px) {
  .ws-switcher-tabs {
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  }
}

.factcheck-workspace-view {
  animation: fadeIn 0.28s ease both;
}

.fc-hub-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── Top Hero Banner ── */
.fc-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border-radius: 22px;
  background: linear-gradient(135deg, #EFF6FF 0%, #ECFEFF 52%, #FFFBEB 100%);
  border: 1.5px solid #7DD3FC;
  box-shadow: 0 10px 28px rgba(14, 116, 144, 0.1);
}

.fc-hero-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #0F766E;
  background: #FFFFFF;
  border: 1px solid #5EEAD4;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 8px;
}

.fc-hero h2 {
  margin: 0 0 6px;
  font-size: 1.55rem;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.02em;
}

.fc-hero p {
  margin: 0;
  max-width: 840px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #334155;
}

.fc-hero-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.fc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 12px;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.fc-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.fc-btn-sm {
  padding: 6px 11px;
  font-size: 0.78rem;
  border-radius: 9px;
}

.fc-btn-primary {
  background: linear-gradient(135deg, #0D9488 0%, #2563EB 60%, #4F46E5 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

.fc-btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.34);
}

.fc-analyze-btn {
  padding: 11px 18px;
  font-size: 0.92rem;
}

.fc-row-inline {
  flex-wrap: wrap;
}

.fc-btn-blue {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: #93C5FD;
}

.fc-btn-blue:hover {
  background: #2563EB;
  color: #FFFFFF;
}

.fc-btn-amber {
  background: #FFFBEB;
  color: #B45309;
  border-color: #FCD34D;
}

.fc-btn-amber:hover {
  background: #F59E0B;
  color: #0F172A;
}

.fc-btn-outline {
  background: #FFFFFF;
  color: #1E293B;
  border-color: #CBD5E1;
}

.fc-btn-outline:hover {
  border-color: #2563EB;
  color: #1D4ED8;
  background: #F8FAFC;
}

.fc-btn-danger {
  background: #FEF2F2;
  color: #DC2626;
  border-color: #FCA5A5;
}

.fc-btn-danger:hover {
  background: #EF4444;
  color: #FFFFFF;
}

/* ── Cards & Workbench ── */
.fc-card {
  background: #FFFFFF;
  border: 1.5px solid #DCE6F7;
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.fc-input-workbench {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
  border-color: #93C5FD;
}

.fc-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.fc-card-head h3,
.fc-card-head h4 {
  margin: 0 0 3px;
  font-size: 1.08rem;
  font-weight: 900;
  color: #0F172A;
}

.fc-sub {
  margin: 0;
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.4;
}

.fc-workbench-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 1020px) {
  .fc-workbench-grid {
    grid-template-columns: 1fr;
  }
}

.fc-input-col,
.fc-upload-col {
  display: flex;
  flex-direction: column;
}

.fc-field-lbl {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #1E3A8A;
  margin-bottom: 6px;
}

.fc-input,
.fc-select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid #93C5FD;
  background: #FFFFFF;
  color: #0F172A;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fc-input:focus,
.fc-select:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.fc-row-inline {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 12px;
}

/* ── Drag & Drop / Paste Upload Zone ── */
.fc-dropzone {
  flex: 1;
  min-height: 224px;
  border: 2px dashed #60A5FA;
  border-radius: 16px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.fc-dropzone.drag-over {
  border-color: #0D9488;
  background: #ECFEFF;
  transform: scale(1.01);
}

.fc-dropzone.has-image {
  border-style: solid;
  border-color: #34D399;
  background: #F0FDF4;
  cursor: default;
}

.fc-dropzone-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.fc-drop-icon {
  font-size: 2.3rem;
}

.fc-dropzone-prompt strong {
  font-size: 0.95rem;
  color: #0F172A;
}

.fc-dropzone-prompt span {
  font-size: 0.8rem;
  color: #475569;
}

.fc-dropzone-prompt small {
  font-size: 0.74rem;
  color: #64748B;
}

.fc-uploaded-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
}

.fc-uploaded-preview img {
  width: 126px;
  height: 126px;
  object-fit: cover;
  border-radius: 12px;
  border: 1.5px solid #94A3B8;
  background: #FFFFFF;
  flex-shrink: 0;
}

.fc-uploaded-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.fc-uploaded-meta strong {
  font-size: 0.9rem;
  color: #0F172A;
  word-break: break-all;
}

.fc-uploaded-meta span {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 700;
}

.fc-uploaded-meta small {
  font-size: 0.74rem;
  color: #047857;
  font-weight: 700;
}

/* ── Threat Stats Strip (PDF Slide 4) ── */
.fc-threat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #CBD5E1;
}

@media (max-width: 900px) {
  .fc-threat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.fc-threat-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
}

.fc-threat-stat strong {
  font-size: 1.15rem;
  font-weight: 900;
  color: #1D4ED8;
}

.fc-threat-stat span {
  font-size: 0.76rem;
  color: #475569;
  font-weight: 700;
}

/* ── Verdict Banner ── */
.fc-verdict-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-radius: 20px;
  border: 2px solid #93C5FD;
  margin-bottom: 18px;
}

.fc-verdict-main {
  flex: 1;
  min-width: 280px;
}

.fc-verdict-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.fc-verdict-main h3 {
  margin: 0 0 6px;
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1.3;
}

.fc-exec-summary {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #1E293B;
  font-weight: 600;
}

.fc-verdict-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.fc-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  color: #475569;
}

/* ── 3 Graphical Ring / Donut Cards ── */
.fc-charts-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

@media (max-width: 1120px) {
  .fc-charts-grid-3 {
    grid-template-columns: 1fr;
  }
}

.fc-ring-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 0;
}

.fc-ring-svg-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  padding: 18px;
}

.fc-ring-center strong {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.05;
}

.fc-ring-center span {
  font-size: 0.73rem;
  font-weight: 800;
  color: #475569;
  margin-top: 3px;
}

.fc-ring-sub {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  text-align: center;
}

.fc-donut-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.fc-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 165px;
}

.fc-donut-leg-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #334155;
}

.fc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fc-leg-lbl {
  flex: 1;
  font-weight: 700;
}

/* ── Grids & Metadata Chips ── */
.fc-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.fc-grid-3-equal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1020px) {
  .fc-grid-2,
  .fc-grid-3-equal {
    grid-template-columns: 1fr;
  }
}

.fc-article-meta-grid,
.fc-binary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .fc-article-meta-grid,
  .fc-binary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.fc-meta-chip {
  padding: 10px 12px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fc-meta-chip small {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fc-meta-chip strong {
  font-size: 0.86rem;
  color: #0F172A;
  word-break: break-word;
}

.fc-trust-badge {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.fc-trust-badge.trusted {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #6EE7B7;
}

.fc-trust-badge.unverified {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FCD34D;
}

/* ── Google SynthID & Interactive Forensic Canvas Lab ── */
.fc-synthid-banner {
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F0FDFA 0%, #EFF6FF 100%);
  border: 1.5px solid #5EEAD4;
  margin-bottom: 12px;
}

.fc-synthid-banner strong {
  display: block;
  font-size: 0.92rem;
  color: #0F766E;
  margin-bottom: 4px;
}

.fc-synthid-banner p {
  margin: 0;
  font-size: 0.83rem;
  color: #1E293B;
  line-height: 1.5;
}

.fc-synthid-notes {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8rem;
  color: #334155;
}

.fc-note-warn {
  color: #B45309;
  font-weight: 700;
}

.fc-lens-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.fc-lens-btn {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  color: #334155;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}

.fc-lens-btn:hover {
  border-color: #2563EB;
  color: #1D4ED8;
}

.fc-lens-btn.active {
  background: linear-gradient(135deg, #0D9488 0%, #2563EB 100%);
  border-color: #0D9488;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.fc-canvas-stage {
  background: #0F172A;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #334155;
}

.fc-canvas-stage canvas {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  background: #020617;
}

.fc-canvas-caption {
  font-size: 0.77rem;
  color: #CBD5E1;
  text-align: center;
  line-height: 1.45;
}

.fc-empty-forensics {
  padding: 36px 20px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1.5px dashed #CBD5E1;
  text-align: center;
  color: #475569;
  font-size: 0.86rem;
}

/* ── 5-Pillar Bars & Claim Cards ── */
.fc-pillars-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fc-pillar-item {
  padding: 10px 13px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.fc-pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.84rem;
  margin-bottom: 6px;
}

.fc-pillar-bar-track {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: #E2E8F0;
  overflow: hidden;
  margin-bottom: 6px;
}

.fc-pillar-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s ease;
}

.fc-pillar-item small {
  font-size: 0.77rem;
  color: #475569;
  line-height: 1.4;
}

.fc-fraud-box {
  padding: 10px 14px;
  border-radius: 12px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  margin-bottom: 12px;
}

.fc-fraud-box p {
  margin: 0;
  font-size: 0.83rem;
  color: #92400E;
  font-weight: 600;
}

.fc-claims-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fc-claim-row {
  padding: 12px 14px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.fc-claim-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 5px;
}

.fc-claim-pill {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  white-space: nowrap;
  flex-shrink: 0;
}

.fc-claim-pill.true {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #6EE7B7;
}

.fc-claim-pill.false {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
}

.fc-claim-pill.warn {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FCD34D;
}

.fc-claim-row p {
  margin: 0;
  font-size: 0.81rem;
  color: #334155;
  line-height: 1.45;
}

.fc-pib-advisory {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1.5px solid #F59E0B;
  margin-bottom: 18px;
}

.fc-pib-advisory strong {
  display: block;
  font-size: 0.92rem;
  color: #92400E;
  margin-bottom: 3px;
}

.fc-pib-advisory p {
  margin: 0;
  font-size: 0.83rem;
  color: #78350F;
}

/* ── Live Reference Lists & Recent Fact-Check Pulse ── */
.fc-ref-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 10px;
}

.fc-ref-item {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  text-decoration: none;
  transition: all 0.18s ease;
}

.fc-ref-item:hover {
  border-color: #60A5FA;
  background: #EFF6FF;
  transform: translateY(-1px);
}

.fc-ref-item strong {
  display: block;
  font-size: 0.84rem;
  color: #0F172A;
  line-height: 1.38;
  margin-bottom: 3px;
}

.fc-ref-item small {
  font-size: 0.74rem;
  color: #64748B;
}

.fc-ref-verdict {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #2563EB;
  color: #FFFFFF;
  font-size: 0.69rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.fc-mini-link {
  font-size: 0.78rem;
  font-weight: 800;
  color: #1D4ED8;
  text-decoration: none;
}

.fc-mini-link:hover {
  text-decoration: underline;
}

.fc-pulse-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.fc-pulse-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0F172A;
  text-decoration: none;
  line-height: 1.38;
  display: block;
}

.fc-pulse-title:hover {
  color: #1D4ED8;
  text-decoration: underline;
}

/* ── 11-Tool Verification Ecosystem Directory (PDF Slides 6-9) ── */
.fc-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1120px) {
  .fc-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .fc-tools-grid {
    grid-template-columns: 1fr;
  }
}

.fc-tool-card {
  padding: 15px 16px;
  border-radius: 16px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
}

.fc-tool-card:hover {
  border-color: #60A5FA;
  background: #FFFFFF;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.09);
}

.fc-tool-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fc-tool-top strong {
  font-size: 0.94rem;
  color: #0F172A;
}

.fc-tool-tier {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  background: #EEF2FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
  white-space: nowrap;
}

.fc-tool-tier.free {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #6EE7B7;
}

.fc-tool-tier.paid {
  background: #EEF2FF;
  color: #4338CA;
  border: 1px solid #C7D2FE;
}

.fc-tool-cat {
  font-size: 0.76rem;
  font-weight: 800;
  color: #0E7490;
}

.fc-tool-ul {
  margin: 0;
  padding-left: 17px;
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.45;
  flex: 1;
}

.fc-tool-link {
  font-size: 0.78rem;
  font-weight: 800;
  color: #1D4ED8;
  text-decoration: none;
}

.fc-tool-link:hover {
  text-decoration: underline;
}


/* ── Two Separate, Independent Fact-Check Activities (URL vs Image Upload) ── */
.fc-mode-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1.5px dashed #CBD5E1;
}

.fc-mode-switch-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 5px;
  border-radius: 14px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
}

.fc-mode-pill {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  background: transparent;
  color: #334155;
  font-family: 'Outfit', sans-serif;
  font-size: 0.83rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fc-mode-pill:hover {
  color: #1D4ED8;
  background: #FFFFFF;
}

.fc-mode-pill.active {
  background: #FFFFFF;
  color: #0F172A;
  border-color: #60A5FA;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.14);
}

.fc-mode-or-inline {
  font-size: 0.72rem;
  font-weight: 900;
  color: #64748B;
  letter-spacing: 0.06em;
}

.fc-lang-reset-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fc-lang-inline-lbl {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1E3A8A;
  white-space: nowrap;
}

.fc-select-compact {
  width: auto;
  min-width: 215px;
  padding: 8px 12px;
  font-size: 0.84rem;
}

.fc-separate-activities-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 1080px) {
  .fc-separate-activities-grid {
    grid-template-columns: 1fr;
  }
}

.fc-activity-card {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 2px solid #DBEAFE;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fc-activity-card.is-focused {
  border-color: #2563EB;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.13);
}

.fc-activity-card[data-fc-focus-card="image"].is-focused {
  border-color: #0D9488;
  box-shadow: 0 10px 26px rgba(13, 148, 136, 0.14);
}

.fc-activity-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.fc-activity-tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.fc-activity-tag.tag-url {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #93C5FD;
}

.fc-activity-tag.tag-img {
  background: #F0FDFA;
  color: #0F766E;
  border: 1px solid #5EEAD4;
}

.fc-activity-hint {
  font-size: 0.74rem;
  font-weight: 800;
  color: #64748B;
}

.fc-activity-title {
  margin: 0 0 5px;
  font-size: 1.08rem;
  font-weight: 900;
  color: #0F172A;
}

.fc-activity-desc {
  margin: 0 0 14px;
  font-size: 0.82rem;
  line-height: 1.48;
  color: #475569;
}

.fc-activity-card .fc-dropzone {
  min-height: 148px;
}

.fc-activity-footer {
  margin-top: auto;
  padding-top: 14px;
}

.fc-activity-submit-btn {
  width: 100%;
  padding: 12px 18px;
  font-size: 0.92rem;
}

.fc-btn-emerald {
  background: linear-gradient(135deg, #059669 0%, #0D9488 55%, #0284C7 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.25);
}

.fc-btn-emerald:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.34);
}

.fc-or-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 2px;
}

.fc-or-line {
  flex: 1;
  width: 2px;
  min-height: 36px;
  background: linear-gradient(180deg, transparent 0%, #94A3B8 50%, transparent 100%);
}

.fc-or-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 2px solid #F59E0B;
  color: #92400E;
  font-size: 0.82rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.fc-or-divider small {
  font-size: 0.69rem;
  font-weight: 800;
  color: #64748B;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .fc-or-divider {
    flex-direction: row;
    padding: 4px 0;
  }
  .fc-or-line {
    width: auto;
    height: 2px;
    min-height: 2px;
    background: linear-gradient(90deg, transparent 0%, #94A3B8 50%, transparent 100%);
  }
}


/* ── Full-Width Stacked Rows for Google SynthID Inspector + Visual Forensics Lab ── */
.fc-full-row-card {
  width: 100%;
  margin-bottom: 18px;
}

.fc-synthid-full-split {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 14px;
}

@media (max-width: 980px) {
  .fc-synthid-full-split {
    grid-template-columns: 1fr;
  }
}

.fc-synthid-banner h5 {
  margin: 5px 0 6px;
  font-size: 1.02rem;
  font-weight: 900;
  color: #0F172A;
}

.fc-synthid-notes-box {
  padding: 14px 16px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.fc-synthid-notes-box p {
  margin: 0;
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.5;
}

.fc-article-meta-grid > div,
.fc-binary-grid > div {
  padding: 10px 13px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fc-article-meta-grid > div span,
.fc-binary-grid > div span {
  font-size: 0.71rem;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fc-article-meta-grid > div strong,
.fc-binary-grid > div strong {
  font-size: 0.85rem;
  color: #0F172A;
  word-break: break-word;
}

@media (min-width: 1280px) {
  .fc-binary-grid-wide {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.fc-forensics-row-card .fc-canvas-stage {
  padding: 18px;
  min-height: 260px;
}

.fc-forensics-row-card .fc-canvas-caption {
  margin: 10px 0 0;
  font-size: 0.83rem;
  color: #334155;
  text-align: center;
}

/* ============================================================================
   Dedicated Analysis Zone, Executive Management Judgement, SynthID Telemetry
   Bars & Strict General Reference Zone Separation (v15.0)
   ============================================================================ */

/* Empty & Loading Callouts Inside Dedicated Analysis Container */
.fc-analysis-empty-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 55%, #F0FDFA 100%);
  border: 2px dashed #60A5FA;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.06);
}

.fc-empty-callout-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1D4ED8 0%, #0284C7 100%);
  color: #FFFFFF;
  font-size: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.22);
}

.fc-empty-callout-body h4 {
  margin: 3px 0 6px;
  font-size: 1.04rem;
  font-weight: 900;
  color: #0F172A;
}

.fc-empty-callout-body p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.52;
  color: #334155;
}

.fc-analysis-loading-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  margin-bottom: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 50%, #F0FDF4 100%);
  border: 2px solid #3B82F6;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.14);
}

.fc-loading-spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid #BFDBFE;
  border-top-color: #1D4ED8;
  animation: fcSpinAnim 0.85s linear infinite;
  flex-shrink: 0;
}

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

.fc-analysis-loading-card h4 {
  margin: 4px 0 5px;
  font-size: 1.05rem;
  font-weight: 900;
  color: #1E3A8A;
}

.fc-analysis-loading-card p {
  margin: 0;
  font-size: 0.85rem;
  color: #334155;
}

/* Framed Dedicated Analysis Report Zone (Zero Mixing With General Feeds) */
.fc-analysis-zone-frame {
  margin-bottom: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 35%, #F8FAFC 100%);
  border: 3px solid #2563EB;
  box-shadow: 0 16px 42px rgba(29, 78, 216, 0.14);
  overflow: hidden;
}

.fc-analysis-zone-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 22px;
  background: linear-gradient(90deg, #0F172A 0%, #1E3A8A 55%, #0F766E 100%);
  color: #FFFFFF;
}

.fc-analysis-ribbon-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}

.fc-analysis-live-tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FACC15 0%, #F59E0B 100%);
  color: #0F172A;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.fc-analysis-ribbon-left strong {
  color: #FFFFFF;
  font-weight: 800;
}

.fc-analysis-time {
  color: #CBD5E1;
  font-size: 0.79rem;
  font-weight: 600;
}

.fc-analysis-ribbon-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fc-btn-ribbon {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.fc-btn-ribbon:hover {
  background: rgba(255, 255, 255, 0.26);
}

.fc-btn-ribbon-close {
  background: rgba(239, 68, 68, 0.22);
  color: #FEE2E2;
  border: 1px solid rgba(252, 165, 165, 0.45);
}

.fc-btn-ribbon-close:hover {
  background: #DC2626;
  color: #FFFFFF;
}

.fc-analysis-zone-body {
  padding: 22px 22px 24px;
}

.fc-section-block-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid #DBEAFE;
}

.fc-section-block-label span {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #1E3A8A;
  text-transform: uppercase;
}

/* Executive Management Judgement & Plain-Language Genuineness Card */
.fc-mgmt-judgement-card {
  padding: 22px 24px;
  border-radius: 20px;
  border: 2.5px solid #34D399;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  margin-bottom: 22px;
}

.fc-mgmt-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.fc-mgmt-verdict-heading {
  margin: 5px 0 0;
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1.25;
}

.fc-mgmt-badges-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

@media (max-width: 900px) {
  .fc-mgmt-badges-col {
    align-items: flex-start;
  }
}

.fc-mgmt-decision-pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
}

.fc-mgmt-mini-pills {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.fc-mgmt-explain-box {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid #CBD5E1;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.fc-mgmt-what-row {
  font-size: 0.88rem;
  color: #1E293B;
  line-height: 1.5;
  padding-bottom: 10px;
  border-bottom: 1px dashed #CBD5E1;
}

.fc-mgmt-what-row strong {
  color: #0F172A;
  margin-right: 5px;
}

.fc-mgmt-plain-summary strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 900;
  color: #1E3A8A;
  margin-bottom: 5px;
}

.fc-mgmt-plain-summary p {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.6;
}

.fc-mgmt-reasons-wrap {
  margin-bottom: 16px;
}

.fc-mgmt-sub-lbl {
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  color: #334155;
  margin-bottom: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fc-mgmt-reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 900px) {
  .fc-mgmt-reasons-grid {
    grid-template-columns: 1fr;
  }
}

.fc-mgmt-reason-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #CBD5E1;
}

.fc-mgmt-reason-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1E3A8A;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.fc-mgmt-reason-item p {
  margin: 0;
  font-size: 0.84rem;
  color: #1E293B;
  line-height: 1.48;
  font-weight: 600;
}

.fc-mgmt-action-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-radius: 14px;
  background: #0F172A;
  color: #FFFFFF;
}

.fc-mgmt-guidance {
  font-size: 0.86rem;
  line-height: 1.45;
  color: #F8FAFC;
}

.fc-mgmt-guidance strong {
  color: #FACC15;
  margin-right: 5px;
}

.fc-mgmt-ext-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Comparative Multi-Signal SVG Bar Chart & SynthID Telemetry Bars */
.fc-comparative-chart-wrap {
  width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.fc-synthid-bars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

@media (max-width: 860px) {
  .fc-synthid-bars-grid {
    grid-template-columns: 1fr;
  }
}

.fc-synthid-bar-card {
  padding: 11px 14px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #DBEAFE;
}

.fc-synthid-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0F172A;
}

/* End-Cap of Submitted Analysis Frame + Clear Architectural Zone Separator Bridge */
.fc-analysis-zone-endcap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 11px 22px;
  background: linear-gradient(90deg, #EFF6FF 0%, #DBEAFE 55%, #ECFEFF 100%);
  border-top: 2px solid #93C5FD;
}

.fc-analysis-zone-endcap span {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #1E3A8A;
}

.fc-analysis-zone-endcap small {
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
}

.fc-zone-separator-bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 34px 0 34px;
  padding: 6px 0;
}

.fc-sep-line {
  flex: 1 1 auto;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.25) 0%, #64748B 50%, rgba(148, 163, 184, 0.25) 100%);
}

.fc-sep-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 2px solid #94A3B8;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.fc-sep-up {
  color: #1D4ED8;
}

.fc-sep-dot {
  color: #94A3B8;
}

.fc-sep-down {
  color: #B45309;
}

/* General Platform Reference Zone (Prominent Heading & Distinct Slate-Amber Frame) */
.fc-general-ref-section {
  border-radius: 24px;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border: 2.5px solid #94A3B8;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.fc-general-ref-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 24px;
  background: linear-gradient(135deg, #1E293B 0%, #334155 60%, #475569 100%);
  border-bottom: 3px solid #F59E0B;
  color: #FFFFFF;
}

.fc-general-ref-title-wrap {
  flex: 1 1 560px;
}

.fc-general-ref-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.fc-general-ref-tag {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border: 1.5px solid #F59E0B;
  color: #78350F;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.fc-general-ref-note-pill {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #F1F5F9;
  font-size: 0.73rem;
  font-weight: 700;
}

.fc-general-ref-heading {
  margin: 0 0 6px;
  font-size: 1.24rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.3;
}

.fc-general-ref-desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.52;
  color: #E2E8F0;
}

.fc-general-ref-desc strong {
  color: #FDE68A;
}

.fc-gen-toggle-btn {
  background: #FFFFFF !important;
  border: 2px solid #F59E0B !important;
  color: #0F172A !important;
  font-weight: 800 !important;
  padding: 10px 16px !important;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.fc-gen-toggle-btn:hover {
  background: #FEF3C7 !important;
  color: #78350F !important;
}

.fc-general-ref-body {
  padding: 22px 22px 24px;
}

/* ============================================================================
   Social Pulse (X, Instagram & Facebook) — Load More Footer Bar (v15.2)
   ============================================================================ */
.social-load-more-footer {
  margin-top: 22px;
  margin-bottom: 12px;
}

.social-load-more-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 55%, #FFFBEB 100%);
  border: 2px solid #93C5FD;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.09);
}

.social-load-more-info {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-load-count-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.social-load-count-row strong {
  font-size: 0.94rem;
  font-weight: 900;
  color: #0F172A;
}

.social-load-count-row span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1D4ED8;
  background: #FFFFFF;
  border: 1px solid #BFDBFE;
  padding: 3px 10px;
  border-radius: 999px;
}

.social-load-progress-track {
  height: 9px;
  border-radius: 999px;
  background: #DBEAFE;
  overflow: hidden;
}

.social-load-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563EB 0%, #0EA5E9 55%, #10B981 100%);
  transition: width 0.25s ease;
}

.social-load-more-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-load-more-btn {
  padding: 12px 24px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 55%, #0284C7 100%);
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.26);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.social-load-more-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.36);
}

.social-load-more-btn:disabled {
  opacity: 0.72;
  cursor: wait;
}

.social-show-all-btn,
.social-back-top-btn {
  padding: 11px 16px;
  border-radius: 13px;
  border: 1.5px solid #93C5FD;
  background: #FFFFFF;
  color: #1E3A8A;
  font-family: 'Outfit', sans-serif;
  font-size: 0.83rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}

.social-show-all-btn:hover,
.social-back-top-btn:hover {
  background: #EFF6FF;
  border-color: #2563EB;
}

.social-all-loaded-pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: #ECFDF5;
  border: 1.5px solid #6EE7B7;
  color: #065F46;
  font-size: 0.83rem;
  font-weight: 800;
}


/* ============================================================================
   WORKSPACE 8: Neural & Editorial Translation Services SI (Google Translate UI
   + Big 1,000–2,500 Word Editor + 22 Indian & 28 Global Languages + Accuracy)
   ============================================================================ */

.translation-workspace-view {
  width: 100%;
  animation: fadeIn 0.28s ease;
}

.trn-hub-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 28px;
}

.trn-hero-banner {
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 55%, #EEF2FF 100%);
  border: 1.5px solid #93C5FD;
}

.trn-hero-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.trn-google-ref-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #EFF6FF;
  border: 1px solid #93C5FD;
  color: #1D4ED8;
  font-size: 0.75rem;
  font-weight: 800;
}

.trn-accuracy-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  color: #047857;
  font-size: 0.75rem;
  font-weight: 800;
}

.trn-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trn-ext-google-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1.5px solid #93C5FD;
  color: #1D4ED8;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.08);
  transition: all 0.16s ease;
}

.trn-ext-google-btn:hover {
  background: #1D4ED8;
  color: #FFFFFF;
  border-color: #1D4ED8;
}

/* Google-Translate-Inspired Source Card & Big 1,000–2,500 Word Editor */
.trn-editor-card {
  background: #FFFFFF;
  border: 1.5px solid #BFDBFE;
  border-radius: 20px;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.trn-source-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 18px;
  background: linear-gradient(180deg, #F8FAFF 0%, #F1F5F9 100%);
  border-bottom: 1.5px solid #DBEAFE;
}

.trn-source-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.trn-bar-kicker {
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #475569;
  margin-right: 4px;
}

.trn-src-tab {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #1E293B;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.trn-src-tab:hover {
  border-color: #2563EB;
  color: #1D4ED8;
  background: #EFF6FF;
}

.trn-src-tab.active {
  background: #1A73E8;
  border-color: #1A73E8;
  color: #FFFFFF;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(26, 115, 232, 0.25);
}

.trn-src-select {
  padding: 7px 12px;
  border-radius: 10px;
  border: 1.5px solid #93C5FD;
  background: #FFFFFF;
  color: #0F172A;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.trn-source-utilities {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.trn-swap-btn {
  padding: 7px 13px;
  border-radius: 10px;
  border: 1.5px solid #818CF8;
  background: #EEF2FF;
  color: #3730A3;
  font-family: 'Outfit', sans-serif;
  font-size: 0.79rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.trn-swap-btn:hover {
  background: #4F46E5;
  color: #FFFFFF;
  border-color: #4F46E5;
}

.trn-util-btn {
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #1E293B;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.trn-util-btn:hover {
  background: #F1F5F9;
  border-color: #64748B;
}

.trn-util-sample {
  background: #FFFBEB;
  border-color: #FCD34D;
  color: #92400E;
  font-weight: 800;
}

.trn-util-sample:hover {
  background: #FEF3C7;
  border-color: #F59E0B;
}

.trn-util-clear:hover {
  background: #FEF2F2;
  border-color: #FCA5A5;
  color: #B91C1C;
}

.trn-big-textarea-wrap {
  padding: 0;
  background: #FFFFFF;
}

.trn-big-textarea {
  width: 100%;
  min-height: 360px;
  max-height: 760px;
  resize: vertical;
  border: none;
  outline: none;
  padding: 20px 22px;
  background: #FFFFFF;
  color: #0F172A;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
  font-size: 1.03rem;
  line-height: 1.72;
  box-sizing: border-box;
}

.trn-big-textarea::placeholder {
  color: #64748B;
  line-height: 1.65;
}

.trn-word-meter-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 20px 14px;
  background: #F8FAFC;
  border-top: 1.5px solid #E2E8F0;
}

.trn-word-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.trn-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #1E293B;
  font-size: 0.78rem;
  font-weight: 700;
}

.trn-stat-chip strong {
  color: #0F172A;
  font-weight: 900;
}

.trn-stat-chip.sweet-spot {
  background: #ECFDF5;
  border-color: #34D399;
  color: #065F46;
}

.trn-stat-chip.sweet-spot strong {
  color: #047857;
}

.trn-meter-caption {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  margin-left: auto;
}

.trn-capacity-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #E2E8F0;
  overflow: hidden;
}

.trn-capacity-zone-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(16, 185, 129, 0.16);
  border-left: 2px dashed #10B981;
  pointer-events: none;
}

.trn-capacity-fill {
  position: relative;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563EB 0%, #3B82F6 100%);
  transition: width 0.2s ease;
}

.trn-capacity-fill.optimal {
  background: linear-gradient(90deg, #2563EB 0%, #059669 100%);
}

.trn-capacity-fill.over {
  background: linear-gradient(90deg, #F59E0B 0%, #DC2626 100%);
}

/* Step 2 Below Text Area: Translate-To Selector Card */
.trn-target-selector-card {
  background: #FFFFFF;
  border: 1.5px solid #BFDBFE;
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.06);
}

.trn-target-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid #E2E8F0;
}

.trn-section-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #1D4ED8;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.trn-target-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 900;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.trn-selected-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1A73E8 0%, #4F46E5 100%);
  color: #FFFFFF;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.22);
}

.trn-target-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.trn-group-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.trn-grp-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  color: #1E293B;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.trn-grp-btn:hover {
  border-color: #2563EB;
  color: #1D4ED8;
}

.trn-grp-btn.active {
  background: #1D4ED8;
  border-color: #1D4ED8;
  color: #FFFFFF;
}

.trn-lang-search {
  min-width: 280px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid #93C5FD;
  background: #F8FAFF;
  color: #0F172A;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}

.trn-lang-search:focus {
  outline: none;
  border-color: #2563EB;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.trn-lang-subhead {
  font-size: 0.8rem;
  font-weight: 900;
  color: #1E3A8A;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.trn-lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(182px, 1fr));
  gap: 8px;
}

.trn-lang-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  color: #0F172A;
  text-align: left;
  cursor: pointer;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
  transition: all 0.15s ease;
}

.trn-lang-chip:hover {
  border-color: #60A5FA;
  background: #EFF6FF;
  transform: translateY(-1px);
}

.trn-lang-chip.active {
  border: 2px solid #1A73E8;
  background: linear-gradient(135deg, #EFF6FF 0%, #EEF2FF 100%);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.16);
}

.trn-lang-flag {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.trn-lang-names {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.trn-lang-names strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trn-lang-names small {
  font-size: 0.75rem;
  font-weight: 700;
  color: #2563EB;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trn-lang-check {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #1A73E8;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Tone Register & Primary Translate Action Bar */
.trn-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1.5px solid #DBEAFE;
}

.trn-tone-selector {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.trn-tone-pill {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #334155;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.trn-tone-pill:hover {
  border-color: #6366F1;
  color: #4338CA;
}

.trn-tone-pill.active {
  background: #EEF2FF;
  border-color: #4F46E5;
  color: #3730A3;
  font-weight: 800;
}

.trn-submit-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.trn-google-verify-btn {
  padding: 11px 16px;
  border-radius: 13px;
  border: 1.5px solid #93C5FD;
  background: #F8FAFF;
  color: #1D4ED8;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.15s ease;
}

.trn-google-verify-btn:hover {
  background: #EFF6FF;
  border-color: #2563EB;
}

.trn-primary-translate-btn {
  padding: 13px 26px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #1A73E8 0%, #2563EB 55%, #4F46E5 100%);
  color: #FFFFFF;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
  font-size: 0.94rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(26, 115, 232, 0.3);
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.trn-primary-translate-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 115, 232, 0.4);
}

.trn-primary-translate-btn:disabled {
  opacity: 0.72;
  cursor: wait;
}

/* Loading Box */
.trn-loading-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 26px;
  border-radius: 20px;
  background: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 100%);
  border: 1.5px solid #93C5FD;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
}

.trn-loading-box strong {
  display: block;
  font-size: 1rem;
  color: #0F172A;
  margin-bottom: 4px;
}

.trn-loading-box p {
  margin: 0;
  font-size: 0.84rem;
  color: #475569;
}

.trn-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3.5px solid #BFDBFE;
  border-top-color: #1A73E8;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

/* Translated Output Card */
.trn-results-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.trn-output-card {
  background: #FFFFFF;
  border: 2px solid #60A5FA;
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.09);
}

.trn-output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1.5px solid #DBEAFE;
}

.trn-output-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.trn-pair-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #EFF6FF;
  border: 1.5px solid #93C5FD;
  color: #1E3A8A;
  font-size: 0.84rem;
  font-weight: 800;
}

.trn-stat-pill {
  padding: 5px 11px;
  border-radius: 999px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #334155;
  font-size: 0.77rem;
  font-weight: 700;
}

.trn-acc-inline-badge {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1.5px solid;
  font-size: 0.79rem;
  font-weight: 900;
}

.trn-output-view-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.trn-view-btn {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #334155;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.trn-view-btn.active {
  background: #1A73E8;
  border-color: #1A73E8;
  color: #FFFFFF;
}

.trn-translated-body {
  background: #F8FAFF;
  border: 1.5px solid #DBEAFE;
  border-radius: 16px;
  padding: 20px 22px;
  max-height: 580px;
  overflow-y: auto;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
  font-size: 1.06rem;
  line-height: 1.82;
  color: #0F172A;
}

.trn-translated-body p {
  margin: 0 0 14px;
}

.trn-translated-body p:last-child {
  margin-bottom: 0;
}

/* Side-by-Side Paragraph Review */
.trn-side-by-side-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 620px;
  overflow-y: auto;
}

.trn-sbs-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trn-sbs-col {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
}

.trn-sbs-tgt {
  background: #F0F7FF;
  border-color: #BFDBFE;
}

.trn-sbs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #475569;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #E2E8F0;
}

.trn-sbs-col p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #0F172A;
}

.trn-translit-details {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  font-size: 0.84rem;
  color: #78350F;
}

.trn-translit-details summary {
  font-weight: 800;
  cursor: pointer;
}

.trn-translit-details p {
  margin: 8px 0 0;
  line-height: 1.65;
}

.trn-output-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.trn-act-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 11px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #1E293B;
  font-family: 'Outfit', sans-serif;
  font-size: 0.81rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.trn-act-btn:hover {
  border-color: #2563EB;
  background: #EFF6FF;
  color: #1D4ED8;
}

.trn-act-primary {
  background: #1A73E8;
  border-color: #1A73E8;
  color: #FFFFFF;
}

.trn-act-primary:hover {
  background: #1557B0;
  border-color: #1557B0;
  color: #FFFFFF;
}

/* 5-Dimension Accuracy Levels Dashboard */
.trn-accuracy-dashboard {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
  border: 2px solid #818CF8;
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.trn-acc-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 16px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #EEF2FF 0%, #EFF6FF 55%, #ECFDF5 100%);
  border: 1.5px solid #A5B4FC;
}

.trn-acc-heading {
  margin: 4px 0 8px;
  font-size: 1.2rem;
  font-weight: 900;
  color: #0F172A;
}

.trn-acc-summary {
  margin: 0 0 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #1E293B;
}

.trn-acc-subpills {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #334155;
}

.trn-gauge-box {
  width: 136px;
  height: 136px;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid #C7D2FE;
  padding: 6px;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.1);
}

.trn-gauge-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.trn-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.trn-metric-card {
  background: #FFFFFF;
  border: 1.5px solid #DBEAFE;
  border-radius: 15px;
  padding: 14px 16px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.trn-metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.trn-metric-top strong {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0F172A;
}

.trn-metric-score {
  font-size: 0.8rem;
  font-weight: 900;
  white-space: nowrap;
}

.trn-metric-bar-track {
  height: 9px;
  border-radius: 999px;
  background: #E2E8F0;
  overflow: hidden;
  margin-bottom: 8px;
}

.trn-metric-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s ease;
}

.trn-metric-detail {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.48;
  color: #475569;
}

/* Back-Translation Verification Box */
.trn-backtrans-card {
  background: #FFFFFF;
  border: 1.5px solid #93C5FD;
  border-radius: 16px;
  padding: 16px 18px;
}

.trn-backtrans-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  color: #1E3A8A;
  font-size: 0.88rem;
}

.trn-backtrans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trn-backtrans-col {
  padding: 12px 14px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.trn-backtrans-col span {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #2563EB;
  margin-bottom: 6px;
}

.trn-backtrans-col p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.58;
  color: #1E293B;
}

.trn-para-audit-details {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 15px;
  padding: 14px 16px;
}

.trn-para-audit-details summary {
  font-size: 0.88rem;
  font-weight: 900;
  color: #0F172A;
  cursor: pointer;
}

/* Session History Strip */
.trn-history-card {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 18px;
  padding: 16px 20px;
}

.trn-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-size: 0.84rem;
  color: #334155;
}

.trn-history-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.trn-history-item {
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  text-align: left;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.15s ease;
}

.trn-history-item:hover {
  border-color: #2563EB;
  background: #EFF6FF;
}

.trn-history-item strong {
  display: block;
  font-size: 0.82rem;
  color: #0F172A;
}

.trn-history-item span {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  color: #059669;
  margin: 3px 0 4px;
}

.trn-history-item small {
  display: block;
  font-size: 0.74rem;
  color: #64748B;
}

@media (max-width: 960px) {
  .trn-acc-banner {
    grid-template-columns: 1fr;
  }
  .trn-sbs-row,
  .trn-backtrans-grid {
    grid-template-columns: 1fr;
  }
  .trn-lang-search {
    min-width: 100%;
  }
  .trn-meter-caption {
    margin-left: 0;
  }
}

/* ============================================================================
   MetisSI v2.8 — Executive 2-Tier Masthead Header, "Welcome to <username>",
   On-Demand "Fetch the News (250 Latest)" CTA & Full Button Differentiation
   ============================================================================ */

.site-header {
  height: auto !important;
  min-height: 0 !important;
  padding: 8px 0 8px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.96) 55%, rgba(248, 250, 252, 0.98) 100%) !important;
  border-bottom: 1.5px solid #BFDBFE !important;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(37, 99, 235, 0.07) !important;
}

.main-container {
  padding-top: calc(var(--header-offset, 128px) + 20px) !important;
}

.site-header::before {
  height: 4px !important;
  background: linear-gradient(90deg, #1D4ED8 0%, #0284C7 22%, #059669 44%, #F59E0B 66%, #7C3AED 84%, #4338CA 100%) !important;
}

.site-header .header-inner {
  max-width: min(1560px, 100%) !important;
  padding: 4px 24px 2px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
}

/* Tier 1: Executive Brand Identity + Admin & User Greeting Cluster (Strict Grid — Zero Overlap) */
.site-header .header-top-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 14px !important;
  row-gap: 8px !important;
  width: 100% !important;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.75);
}

.site-header .brand {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.site-header .crown-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 13px !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 100%) !important;
  border: 1.5px solid #BFDBFE !important;
  padding: 4px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.14);
  flex-shrink: 0 !important;
}

.site-header .brand-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: 1 1 auto !important;
  overflow: visible !important;
}

.site-header .brand-title-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  row-gap: 4px !important;
  min-width: 0 !important;
  overflow: visible !important;
}

.site-header .brand-title-row .metis-yellow-badge--header,
.site-header .brand-title-row .brand-property-pill {
  font-size: 10.5px !important;
  padding: 2.5px 9px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.site-header .brand-title-row .live-indicator {
  padding: 3px 9px !important;
  font-size: 10px !important;
  gap: 5px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.site-header .brand-yellow-row {
  display: block !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.site-header .brand-org-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2.5px 9px;
  border-radius: 999px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #334155;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-header .brand-subtitle {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  font-size: 11px !important;
  line-height: 1.34 !important;
  color: #334155 !important;
  font-weight: 600 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

/* Right Executive Governance Capsule: Admin Button | Welcome to <username> | Guide | Support | Password | Logout */
.header-governance-cluster {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 0 auto;
  justify-self: end;
  padding: 4px 6px;
  border-radius: 15px;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid #E2E8F0;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 2px 8px rgba(15, 23, 42, 0.04);
}

/* 1. Keep "Admin" Console Button distinct & executive (Gold / Royal Amber) */
.site-header .header-feature-pill.header-admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 60%, #FDE68A 100%) !important;
  border: 1.5px solid #F59E0B !important;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.18) !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.site-header .header-feature-pill.header-admin-pill .hf-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #FCD34D;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.site-header .header-feature-pill.header-admin-pill .hf-meta strong {
  font-size: 13px !important;
  font-weight: 900 !important;
  color: #92400E !important;
  letter-spacing: 0.2px;
}

.site-header .header-feature-pill.header-admin-pill .hf-meta small {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #B45309 !important;
  display: block !important;
}

.site-header .header-feature-pill.header-admin-pill:hover,
.site-header .header-feature-pill.header-admin-pill.active {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  border-color: #B45309 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.30) !important;
}

.site-header .header-feature-pill.header-admin-pill:hover .hf-meta strong,
.site-header .header-feature-pill.header-admin-pill:hover .hf-meta small,
.site-header .header-feature-pill.header-admin-pill.active .hf-meta strong,
.site-header .header-feature-pill.header-admin-pill.active .hf-meta small {
  color: #FFFFFF !important;
}

/* 2. User Identity Greeting ("Welcome to <username>") — Soft Emerald-Pearl Non-Button Chip */
.site-header .header-auth-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 8px;
  border-left: 1.5px solid #CBD5E1;
}

.site-header .auth-user-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  max-width: 240px !important;
  padding: 5px 11px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 55%, #F0FDFA 100%) !important;
  border: 1.5px solid #6EE7B7 !important;
  color: #065F46 !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 8px rgba(16, 185, 129, 0.10);
  cursor: default !important;
  user-select: none;
}

.site-header .auth-user-pill .welcome-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.20);
  flex-shrink: 0;
}

.site-header .auth-user-pill .welcome-prefix {
  color: #475569;
  font-weight: 600;
  font-size: 12px;
}

.site-header .auth-user-pill .welcome-username {
  color: #047857;
  font-weight: 800;
  font-size: 13px;
  background: #FFFFFF;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid #A7F3D0;
  letter-spacing: 0.1px;
  text-transform: none;
}

/* 3. Logout Action Button — Distinct Rose/Coral Sign-Out Button */
.site-header .auth-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px !important;
  border-radius: 11px !important;
  border: 1.5px solid #FDA4AF !important;
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%) !important;
  color: #BE123C !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.10);
}

.site-header .auth-logout-btn:hover {
  background: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%) !important;
  color: #FFFFFF !important;
  border-color: #E11D48 !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(225, 29, 72, 0.26);
}

/* Tier 2: Unified Single-Row Enterprise Suite Access Rail (Never Repeats, Single Clean Row) */
.header-nav-bar {
  width: 100%;
  background: linear-gradient(180deg, #F1F5F9 0%, #F8FAFC 100%);
  border: 1px solid #DCE6F7;
  border-radius: 14px;
  padding: 5px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.site-header .header-stats {
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  gap: 6px !important;
  width: 100%;
}

.site-header .header-nav-bar .header-feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px !important;
  border-radius: 10px !important;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  min-width: 0;
  justify-content: flex-start;
  position: relative;
  transition: all 0.18s ease;
}

.site-header .header-nav-bar .header-feature-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.10);
}

.site-header .header-nav-bar .header-feature-pill .hf-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.site-header .header-nav-bar .header-feature-pill .hf-meta {
  min-width: 0;
  overflow: hidden;
  text-align: left;
}

.site-header .header-nav-bar .header-feature-pill .hf-meta strong {
  display: block;
  font-size: 12.2px;
  font-weight: 800;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.site-header .header-nav-bar .header-feature-pill .hf-meta small {
  display: block !important;
  font-size: 10px;
  font-weight: 600;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* Per-Hub Differentiated Accents in Unified Suite Access Rail */
.site-header .header-nav-bar .hf-theme-news      { border-left: 3.5px solid #2563EB !important; }
.site-header .header-nav-bar .hf-theme-trending  { border-left: 3.5px solid #EA580C !important; }
.site-header .header-nav-bar .hf-theme-social    { border-left: 3.5px solid #DB2777 !important; }
.site-header .header-nav-bar .hf-theme-studio    { border-left: 3.5px solid #7C3AED !important; }
.site-header .header-nav-bar .hf-theme-content   { border-left: 3.5px solid #0891B2 !important; }
.site-header .header-nav-bar .hf-theme-youtube   { border-left: 3.5px solid #DC2626 !important; }
.site-header .header-nav-bar .hf-theme-factcheck { border-left: 3.5px solid #059669 !important; }
.site-header .header-nav-bar .hf-theme-translate { border-left: 3.5px solid #4338CA !important; }

.hf-theme-news .hf-icon      { background: #EFF6FF; border: 1px solid #BFDBFE; }
.hf-theme-trending .hf-icon  { background: #FFF7ED; border: 1px solid #FED7AA; }
.hf-theme-social .hf-icon    { background: #FDF2F8; border: 1px solid #FBCFE8; }
.hf-theme-studio .hf-icon    { background: #F5F3FF; border: 1px solid #DDD6FE; }
.hf-theme-content .hf-icon   { background: #ECFEFF; border: 1px solid #A5F3FC; }
.hf-theme-youtube .hf-icon   { background: #FEF2F2; border: 1px solid #FECACA; }
.hf-theme-factcheck .hf-icon { background: #ECFDF5; border: 1px solid #A7F3D0; }
.hf-theme-translate .hf-icon { background: #EEF2FF; border: 1px solid #C7D2FE; }

.site-header .header-nav-bar .header-feature-pill.ws-tab-locked {
  opacity: 0.52;
  filter: grayscale(0.35);
}
.site-header .header-nav-bar .header-feature-pill.ws-tab-locked::after {
  content: '🔒';
  font-size: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.hf-theme-news:hover      { border-color: #3B82F6 !important; background: #EFF6FF !important; }
.hf-theme-trending:hover  { border-color: #F97316 !important; background: #FFF7ED !important; }
.hf-theme-social:hover    { border-color: #EC4899 !important; background: #FDF2F8 !important; }
.hf-theme-studio:hover    { border-color: #8B5CF6 !important; background: #F5F3FF !important; }
.hf-theme-content:hover   { border-color: #06B6D4 !important; background: #ECFEFF !important; }
.hf-theme-youtube:hover   { border-color: #EF4444 !important; background: #FEF2F2 !important; }
.hf-theme-factcheck:hover { border-color: #10B981 !important; background: #ECFDF5 !important; }
.hf-theme-translate:hover { border-color: #6366F1 !important; background: #EEF2FF !important; }

.hf-theme-news.active      { background: linear-gradient(135deg, #1D4ED8, #2563EB) !important; border-color: #1D4ED8 !important; }
.hf-theme-trending.active  { background: linear-gradient(135deg, #EA580C, #F59E0B) !important; border-color: #EA580C !important; }
.hf-theme-social.active    { background: linear-gradient(135deg, #DB2777, #EC4899) !important; border-color: #DB2777 !important; }
.hf-theme-studio.active    { background: linear-gradient(135deg, #6D28D9, #7C3AED) !important; border-color: #6D28D9 !important; }
.hf-theme-content.active   { background: linear-gradient(135deg, #0E7490, #0891B2) !important; border-color: #0E7490 !important; }
.hf-theme-youtube.active   { background: linear-gradient(135deg, #B91C1C, #DC2626) !important; border-color: #B91C1C !important; }
.hf-theme-factcheck.active { background: linear-gradient(135deg, #047857, #059669) !important; border-color: #047857 !important; }
.hf-theme-translate.active { background: linear-gradient(135deg, #3730A3, #4F46E5) !important; border-color: #3730A3 !important; }

.site-header .header-nav-bar .header-feature-pill.active .hf-meta strong,
.site-header .header-nav-bar .header-feature-pill.active .hf-meta small {
  color: #FFFFFF !important;
}

.site-header .header-nav-bar .header-feature-pill.active .hf-icon {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
}

/* ── Differentiated 8-Hub Workspace Switcher Cards (.ws-mode-tab) ─────────── */
.ws-mode-tab[data-workspace="news"]      { border-left: 4px solid #2563EB; }
.ws-mode-tab[data-workspace="trending"]  { border-left: 4px solid #EA580C; }
.ws-mode-tab[data-workspace="social"]    { border-left: 4px solid #DB2777; }
.ws-mode-tab[data-workspace="studio"]    { border-left: 4px solid #7C3AED; }
.ws-mode-tab[data-workspace="content"]   { border-left: 4px solid #0891B2; }
.ws-mode-tab[data-workspace="youtube"]   { border-left: 4px solid #DC2626; }
.ws-mode-tab[data-workspace="factcheck"] { border-left: 4px solid #059669; }
.ws-mode-tab[data-workspace="translate"] { border-left: 4px solid #4338CA; }

.ws-mode-tab[data-workspace="news"] .ws-tab-icon      { background: #EFF6FF; border-color: #93C5FD; }
.ws-mode-tab[data-workspace="trending"] .ws-tab-icon  { background: #FFF7ED; border-color: #FDBA74; }
.ws-mode-tab[data-workspace="social"] .ws-tab-icon    { background: #FDF2F8; border-color: #F9A8D4; }
.ws-mode-tab[data-workspace="studio"] .ws-tab-icon    { background: #F5F3FF; border-color: #C4B5FD; }
.ws-mode-tab[data-workspace="content"] .ws-tab-icon   { background: #ECFEFF; border-color: #67E8F9; }
.ws-mode-tab[data-workspace="youtube"] .ws-tab-icon   { background: #FEF2F2; border-color: #FCA5A5; }
.ws-mode-tab[data-workspace="factcheck"] .ws-tab-icon { background: #ECFDF5; border-color: #6EE7B7; }
.ws-mode-tab[data-workspace="translate"] .ws-tab-icon { background: #EEF2FF; border-color: #A5B4FC; }

.ws-mode-tab[data-workspace="news"].active      { background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%); border-color: #2563EB; }
.ws-mode-tab[data-workspace="trending"].active  { background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%); border-color: #EA580C; }
.ws-mode-tab[data-workspace="social"].active    { background: linear-gradient(135deg, #FDF2F8 0%, #FCE7F3 100%); border-color: #DB2777; }
.ws-mode-tab[data-workspace="studio"].active    { background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%); border-color: #7C3AED; }
.ws-mode-tab[data-workspace="content"].active   { background: linear-gradient(135deg, #ECFEFF 0%, #CFFAFE 100%); border-color: #0891B2; }
.ws-mode-tab[data-workspace="youtube"].active   { background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%); border-color: #DC2626; }
.ws-mode-tab[data-workspace="factcheck"].active { background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%); border-color: #059669; }
.ws-mode-tab[data-workspace="translate"].active { background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%); border-color: #4338CA; }

.ws-mode-tab[data-workspace="trending"].active .ws-tab-icon  { background: linear-gradient(135deg, #EA580C, #F59E0B); }
.ws-mode-tab[data-workspace="social"].active .ws-tab-icon    { background: linear-gradient(135deg, #DB2777, #EC4899); }
.ws-mode-tab[data-workspace="studio"].active .ws-tab-icon    { background: linear-gradient(135deg, #6D28D9, #7C3AED); }
.ws-mode-tab[data-workspace="content"].active .ws-tab-icon   { background: linear-gradient(135deg, #0E7490, #0891B2); }
.ws-mode-tab[data-workspace="youtube"].active .ws-tab-icon   { background: linear-gradient(135deg, #B91C1C, #DC2626); }
.ws-mode-tab[data-workspace="factcheck"].active .ws-tab-icon { background: linear-gradient(135deg, #047857, #059669); }
.ws-mode-tab[data-workspace="translate"].active .ws-tab-icon { background: linear-gradient(135deg, #3730A3, #4F46E5); }

/* ── Primary "Fetch the News (Pull 250 Latest News)" Differentiated CTAs ──── */
.fetch-btn {
  background: linear-gradient(135deg, #059669 0%, #0284C7 52%, #1D4ED8 100%) !important;
  border: 2px solid #34D399 !important;
  color: #FFFFFF !important;
  min-width: 215px !important;
  padding: 10px 20px !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.28), 0 3px 10px rgba(2, 132, 199, 0.22) !important;
}

.fetch-btn:hover {
  background: linear-gradient(135deg, #047857 0%, #0369A1 50%, #1E40AF 100%) !important;
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.36), 0 4px 14px rgba(37, 99, 235, 0.28) !important;
}

/* Search Submit Button (#promptBtn) differentiated in Deep Indigo */
.prompt-btn {
  background: linear-gradient(135deg, #4338CA 0%, #6366F1 100%) !important;
  border: 1.5px solid #818CF8 !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.26) !important;
}

.prompt-btn:hover {
  background: linear-gradient(135deg, #3730A3 0%, #4F46E5 100%) !important;
}

/* Center Hero CTA inside #emptyState */
.empty-hero-cta-wrap {
  display: flex;
  justify-content: center;
  margin: 18px 0 22px;
}

.empty-fetch-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 28px;
  border-radius: 18px;
  border: 2px solid #6EE7B7;
  background: linear-gradient(135deg, #059669 0%, #0284C7 52%, #2563EB 100%);
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.28), 0 4px 14px rgba(37, 99, 235, 0.22);
  transition: all 0.22s ease;
}

.empty-fetch-hero-btn:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 18px 38px rgba(5, 150, 105, 0.36), 0 6px 18px rgba(37, 99, 235, 0.30);
}

.empty-fetch-hero-btn .efh-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.empty-fetch-hero-btn .efh-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 2px;
}

.empty-fetch-hero-btn .efh-copy strong {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: #FFFFFF;
}

.empty-fetch-hero-btn .efh-copy small {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.empty-fetch-hero-btn .efh-badge {
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FEF08A 0%, #FBBF24 100%);
  color: #78350F;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.6px;
  border: 1px solid #FDE68A;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* ── Differentiated Action Buttons Across News Cards & Viral/Social Cards ─── */

/* 1. Story Studio — Cinema Violet */
.nc-btn.nc-btn-story,
.pulse-btn-studio.pulse-btn-story {
  background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%) !important;
  color: #6D28D9 !important;
  border: 1.5px solid #C4B5FD !important;
  margin-left: 0 !important;
}
.nc-btn.nc-btn-story:hover,
.pulse-btn-studio.pulse-btn-story:hover {
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%) !important;
  color: #FFFFFF !important;
  border-color: #6D28D9 !important;
  box-shadow: 0 5px 14px rgba(124, 58, 237, 0.28) !important;
}

/* 2. Own Content — Editorial Cyan / Teal */
.nc-btn.nc-btn-owncontent,
.pulse-btn-studio.pulse-btn-owncontent {
  background: linear-gradient(135deg, #ECFEFF 0%, #CFFAFE 100%) !important;
  color: #0E7490 !important;
  border: 1.5px solid #67E8F9 !important;
  margin-left: 0 !important;
}
.nc-btn.nc-btn-owncontent:hover,
.pulse-btn-studio.pulse-btn-owncontent:hover {
  background: linear-gradient(135deg, #0891B2 0%, #0E7490 100%) !important;
  color: #FFFFFF !important;
  border-color: #0E7490 !important;
  box-shadow: 0 5px 14px rgba(8, 145, 178, 0.28) !important;
}

/* 3. Fact Check — Forensic Amber / Ochre */
.nc-btn.nc-btn-factcheck,
.pulse-btn-studio.pulse-btn-factcheck {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%) !important;
  color: #B45309 !important;
  border: 1.5px solid #FCD34D !important;
  margin-left: 0 !important;
}
.nc-btn.nc-btn-factcheck:hover,
.pulse-btn-studio.pulse-btn-factcheck:hover {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  color: #FFFFFF !important;
  border-color: #D97706 !important;
  box-shadow: 0 5px 14px rgba(217, 119, 6, 0.28) !important;
}

/* 4. Translate — Google Neural Indigo */
.nc-btn.nc-btn-translate,
.pulse-btn-studio.pulse-btn-translate {
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%) !important;
  color: #4338CA !important;
  border: 1.5px solid #A5B4FC !important;
  margin-left: 0 !important;
}
.nc-btn.nc-btn-translate:hover,
.pulse-btn-studio.pulse-btn-translate:hover {
  background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%) !important;
  color: #FFFFFF !important;
  border-color: #4338CA !important;
  box-shadow: 0 5px 14px rgba(79, 70, 229, 0.28) !important;
}

/* 5. YouTube SI — Broadcast Crimson */
.pulse-btn-studio.pulse-btn-yt {
  background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%) !important;
  color: #B91C1C !important;
  border: 1.5px solid #FCA5A5 !important;
  margin-left: 0 !important;
}
.pulse-btn-studio.pulse-btn-yt:hover {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
  color: #FFFFFF !important;
  border-color: #DC2626 !important;
}

/* 6. Read Full Article vs Share/Copy */
.nc-btn.nc-btn-read {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%) !important;
  border: 1.5px solid #93C5FD !important;
  color: #1D4ED8 !important;
}
.nc-btn.nc-btn-read:hover {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  border-color: #1D4ED8 !important;
}

.nc-btn.nc-btn-share {
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #334155 !important;
}
.nc-btn.nc-btn-share:hover {
  background: #0F172A !important;
  border-color: #0F172A !important;
  color: #FFFFFF !important;
}

/* 7. Load More Footer Differentiated Buttons */
.social-show-all-btn {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%) !important;
  border: 1.5px solid #F59E0B !important;
  color: #92400E !important;
  font-weight: 800 !important;
}
.social-show-all-btn:hover {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  color: #FFFFFF !important;
  border-color: #D97706 !important;
}

/* Responsive Breakpoints for Unified Single-Row Suite Access Rail */
@media (max-width: 1520px) {
  .site-header .auth-user-pill .welcome-prefix {
    display: none;
  }
}

@media (max-width: 1220px) {
  .site-header .header-top-row {
    grid-template-columns: 1fr !important;
  }
  .header-governance-cluster {
    justify-self: start;
  }
}

@media (max-width: 1180px) {
  .site-header .header-stats {
    display: flex !important;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 6px !important;
  }
  .site-header .header-stats::-webkit-scrollbar {
    display: none;
  }
  .site-header .header-nav-bar .header-feature-pill {
    flex: 0 0 auto;
    min-width: 132px;
  }
}

@media (max-width: 860px) {
  .site-header .brand-org-pill {
    font-size: 10px;
  }
}

@media (max-width: 640px) {
  .empty-fetch-hero-btn {
    padding: 12px 18px;
    width: 100%;
    justify-content: center;
  }
  .site-header .auth-user-pill .welcome-prefix {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   v16.1 — Self-Service User Password Button & Bright Daylight Password Modal
   ═══════════════════════════════════════════════════════════════════════════ */
.site-header .auth-password-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px !important;
  border-radius: 10px !important;
  border: 1.5px solid #93C5FD !important;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%) !important;
  color: #1D4ED8 !important;
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.10);
}

.site-header .auth-password-btn:hover {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  border-color: #1D4ED8 !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.26);
}

.cp-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cp-modal-card {
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1.5px solid #DCE6F7;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  color: #0F172A;
  font-family: 'Outfit', sans-serif;
}

.cp-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cp-kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #2563EB;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.cp-modal-head h3 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 800;
  color: #0F172A;
}

.cp-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  color: #475569;
  font-weight: 800;
  cursor: pointer;
}

.cp-close-btn:hover {
  background: #FEE2E2;
  color: #B91C1C;
  border-color: #FCA5A5;
}

.cp-user-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border: 1px solid #DBEAFE;
  margin-bottom: 12px;
}

.cp-user-lbl {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
}

.cp-user-strip strong {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
}

.cp-role-pill {
  padding: 4px 11px;
  border-radius: 999px;
  background: #DBEAFE;
  color: #1E40AF;
  border: 1px solid #93C5FD;
  font-size: 11.5px;
  font-weight: 800;
}

.cp-gov-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 12px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  margin-bottom: 12px;
}

.cp-gov-icon {
  font-size: 18px;
  line-height: 1.2;
}

.cp-gov-banner strong {
  display: block;
  font-size: 12.2px;
  font-weight: 800;
  color: #92400E;
  margin-bottom: 2px;
}

.cp-gov-banner p {
  margin: 0;
  font-size: 11.6px;
  line-height: 1.45;
  color: #78350F;
}

.cp-readonly-access-box {
  padding: 10px 12px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  margin-bottom: 14px;
}

.cp-readonly-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 11.5px;
  font-weight: 800;
  color: #334155;
}

.cp-readonly-head small {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748B;
}

.cp-readonly-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  pointer-events: none;
  user-select: none;
}

.cp-hub-pill {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10.8px;
  font-weight: 700;
}

.cp-hub-pill.enabled {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.cp-hub-pill.locked {
  background: #F1F5F9;
  color: #94A3B8;
  border: 1px solid #E2E8F0;
}

.cp-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cp-feedback {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12.2px;
  font-weight: 700;
}

.cp-feedback--err {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

.cp-feedback--ok {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.cp-field label {
  display: block;
  font-size: 12.2px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 5px;
}

.cp-field label small {
  color: #64748B;
  font-weight: 600;
}

.cp-pass-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cp-input {
  width: 100%;
  padding: 10px 40px 10px 13px;
  border-radius: 11px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #0F172A;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cp-input:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.cp-eye-btn {
  position: absolute;
  right: 8px;
  border: none;
  background: transparent;
  font-size: 15px;
  cursor: pointer;
  padding: 4px 6px;
}

.cp-strength-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.cp-strength-track {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: #E2E8F0;
  overflow: hidden;
}

.cp-strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: #CBD5E1;
  transition: width 0.2s ease, background 0.2s ease;
}

.cp-strength-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  white-space: nowrap;
}

.cp-match-lbl {
  display: block;
  min-height: 15px;
  margin-top: 4px;
  font-size: 11.2px;
  font-weight: 700;
}

.cp-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid #E2E8F0;
}

.cp-btn-cancel {
  padding: 9px 16px;
  border-radius: 11px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #334155;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cp-btn-cancel:hover {
  background: #F1F5F9;
}

.cp-btn-submit {
  padding: 9px 18px;
  border-radius: 11px;
  border: none;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cp-btn-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.34);
}

.cp-btn-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* ═══════════════════════════════════════════════════════════════════════════
   v16.2 — Generate Your Own Content: Clean 52-Language Dropdown Selection Bar
   ═══════════════════════════════════════════════════════════════════════════ */
.cos-lang-count-tag {
  padding: 4px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #EFF6FF 0%, #ECFEFF 100%);
  border: 1px solid #BAE6FD;
  color: #0369A1;
  font-size: 11.5px;
  font-weight: 800;
}

.cos-lang-selector-bar {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.35fr) minmax(220px, 0.95fr);
  gap: 14px;
  align-items: end;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #F8FAFC 0%, #F0F9FF 100%);
  border: 1.5px solid #CFE3F7;
  margin-top: 8px;
}

.cos-lang-select-field label {
  display: block;
  font-size: 11.8px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 6px;
  letter-spacing: 0.1px;
}

.cos-lang-dropdown {
  width: 100% !important;
  max-width: none !important;
  padding: 10px 14px !important;
  border-radius: 11px !important;
  border: 1.5px solid #93C5FD !important;
  background-color: #FFFFFF !important;
  color: #0F172A !important;
  font-family: 'Outfit', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.cos-lang-dropdown--primary {
  border-color: #2563EB !important;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.10);
}

.cos-lang-dropdown:focus {
  outline: none;
  border-color: #1D4ED8 !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.cos-selected-lang-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1.5px solid #A7F3D0;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
  min-height: 44px;
}

.cos-sls-flag {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.cos-sls-meta {
  min-width: 0;
  overflow: hidden;
}

.cos-sls-meta strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #065F46;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cos-sls-meta small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 980px) {
  .cos-lang-selector-bar {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   v18.7 — Admin Console: Enterprise Campaign Planning & ROI Hub (cmp-*)
   ═══════════════════════════════════════════════════════════════════════════ */
.cmp-hub-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cmp-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 12px;
  margin-bottom: 2px;
}

.cmp-stat-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1.5px solid #DBEAFE;
  border-radius: 14px;
  padding: 13px 15px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
}

.cmp-stat-lbl {
  font-size: 0.75rem;
  font-weight: 800;
  color: #1E40AF;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}

.cmp-stat-val {
  font-size: 1.32rem;
  font-weight: 900;
  color: #0F172A;
  margin: 4px 0 2px;
  line-height: 1.2;
}

.cmp-stat-val small {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748B;
}

.cmp-stat-sub {
  font-size: 0.74rem;
  color: #475569;
  font-weight: 600;
}

.cmp-command-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #EFF6FF 0%, #FFFBEB 100%) !important;
  border-color: #93C5FD !important;
}

.cmp-cmd-left {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex: 1 1 460px;
  flex-wrap: wrap;
}

.cmp-cmd-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 280px;
  min-width: 0;
}

.cmp-cmd-field label {
  font-size: 0.7rem;
  font-weight: 900;
  color: #1E3A8A;
  letter-spacing: 0.5px;
}

.cmp-main-select {
  font-weight: 800 !important;
  border-color: #2563EB !important;
  background: #FFFFFF !important;
}

.cmp-cmd-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cmp-pillar-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  background: #EFF6FF;
  padding: 6px;
  border-radius: 14px;
  border: 1.5px solid #BFDBFE;
}

.cmp-pillar-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  background: rgba(255, 255, 255, 0.6);
  color: #1E293B;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.16s ease;
}

.cmp-pillar-tab span {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0F172A;
}

.cmp-pillar-tab small {
  font-size: 0.71rem;
  color: #475569;
  font-weight: 600;
}

.cmp-pillar-tab:hover {
  background: #FFFFFF;
  border-color: #93C5FD;
}

.cmp-pillar-tab.active {
  background: #FFFFFF;
  border-color: #2563EB;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.14);
}

.cmp-pillar-tab.active span {
  color: #1D4ED8;
}

.cmp-section-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cmp-card-sub {
  margin: 3px 0 0;
  font-size: 0.8rem;
  color: #475569;
}

.cmp-grid-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cmp-form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cmp-form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cmp-form-row-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cmp-inline-add-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 10px 12px;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 12px;
}

.cmp-inline-add-bar .adm-input,
.cmp-inline-add-bar .adm-select {
  flex: 1 1 160px;
}

.cmp-kpi-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.cmp-prog-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cmp-prog-bar {
  flex: 1;
  height: 9px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  min-width: 90px;
}

.cmp-prog-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.25s ease;
}

.cmp-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.cmp-badge--green { background: #DCFCE7; color: #166534; border: 1px solid #86EFAC; }
.cmp-badge--blue  { background: #DBEAFE; color: #1E40AF; border: 1px solid #93C5FD; }
.cmp-badge--amber { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.cmp-badge--red   { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }
.cmp-badge--slate { background: #F1F5F9; color: #334155; border: 1px solid #CBD5E1; }

/* Personas & Assets */
.cmp-persona-grid,
.cmp-asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 12px;
}

.cmp-persona-card,
.cmp-asset-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 13px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cmp-persona-card h4 {
  margin: 5px 0 0;
  font-size: 0.94rem;
  color: #0F172A;
}

.cmp-persona-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.cmp-persona-meta {
  font-size: 0.79rem;
  color: #334155;
  line-height: 1.45;
}

.cmp-persona-foot {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
}

.cmp-persona-foot code {
  background: #EFF6FF;
  color: #1D4ED8;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
}

/* Approvals */
.cmp-approval-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cmp-approval-card {
  background: #F8FAFC;
  border: 1.5px solid #DBEAFE;
  border-radius: 13px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cmp-approval-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.cmp-approval-head strong {
  display: block;
  font-size: 0.87rem;
  color: #0F172A;
}

.cmp-approval-head small {
  font-size: 0.74rem;
  color: #64748B;
}

.cmp-approval-meta {
  font-size: 0.76rem;
  color: #475569;
}

.cmp-approval-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Multi-View Switcher, Gantt, Kanban, Calendar */
.cmp-view-switcher {
  display: inline-flex;
  background: #EFF6FF;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid #BFDBFE;
  gap: 4px;
}

.cmp-view-btn {
  padding: 6px 11px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.cmp-view-btn.active {
  background: #2563EB;
  color: #FFFFFF;
}

.cmp-gantt-wrap {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  padding: 14px;
}

.cmp-gantt-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  padding-bottom: 8px;
  border-bottom: 1px solid #E2E8F0;
}

.cmp-gantt-milestones {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.cmp-ms-pill {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
}

.cmp-gantt-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cmp-gantt-row {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 12px;
  align-items: center;
}

.cmp-gantt-label strong {
  display: block;
  font-size: 0.81rem;
  color: #0F172A;
}

.cmp-gantt-label small {
  font-size: 0.72rem;
  color: #64748B;
}

.cmp-gantt-track {
  position: relative;
  height: 30px;
  background: repeating-linear-gradient(90deg, #FFFFFF, #FFFFFF 48px, #F1F5F9 49px);
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  overflow: hidden;
}

.cmp-gantt-launch-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #F59E0B;
  z-index: 1;
}

.cmp-gantt-bar {
  position: absolute;
  top: 4px;
  height: 20px;
  border-radius: 6px;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  padding: 0 8px;
  overflow: hidden;
  white-space: nowrap;
  z-index: 2;
}

.cmp-kanban-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(195px, 1fr));
  gap: 10px;
  overflow-x: auto;
}

.cmp-kanban-col {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px;
  min-height: 200px;
}

.cmp-kanban-col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.82rem;
}

.cmp-kanban-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cmp-kanban-card {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 9px 10px;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
}

.cmp-kanban-card.is-blocked {
  border-color: #FCA5A5;
  background: #FEF2F2;
}

.cmp-kanban-phase {
  font-size: 0.69rem;
  font-weight: 800;
  color: #2563EB;
  text-transform: uppercase;
}

.cmp-kanban-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0F172A;
  margin: 4px 0;
}

.cmp-kanban-block-msg {
  font-size: 0.71rem;
  font-weight: 800;
  color: #B91C1C;
  margin-bottom: 4px;
}

.cmp-kanban-foot {
  display: flex;
  justify-content: space-between;
  font-size: 0.71rem;
  color: #64748B;
}

.cmp-kanban-empty {
  font-size: 0.75rem;
  color: #94A3B8;
  text-align: center;
  padding: 18px 6px;
}

.cmp-cal-agenda {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cmp-cal-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
}

.cmp-cal-date {
  font-weight: 900;
  font-size: 0.85rem;
  color: #1E3A8A;
  min-width: 105px;
}

.cmp-cal-body {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

/* Budget & Bandwidth */
.cmp-budget-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.cmp-b-pill {
  background: #F8FAFC;
  border: 1px solid #DBEAFE;
  border-radius: 11px;
  padding: 10px 12px;
}

.cmp-b-pill small {
  display: block;
  font-size: 0.73rem;
  color: #64748B;
  font-weight: 700;
}

.cmp-b-pill strong {
  font-size: 1.15rem;
  color: #0F172A;
}

.cmp-burn-meter {
  height: 11px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
}

.cmp-burn-fill {
  height: 100%;
  border-radius: 999px;
}

.cmp-bandwidth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.cmp-bw-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
}

.cmp-bw-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.cmp-bw-top strong {
  display: block;
  font-size: 0.86rem;
  color: #0F172A;
}

.cmp-bw-top small {
  font-size: 0.74rem;
  color: #64748B;
}

.cmp-bw-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.74rem;
  color: #475569;
}

/* AI Output, Assets, UTMs, Forecast & A/B */
.cmp-ai-output-box {
  margin-top: 12px;
  background: #FFFBEB;
  border: 1.5px solid #FCD34D;
  border-radius: 12px;
  padding: 12px 14px;
}

.cmp-ai-output-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.cmp-ai-pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #0F172A;
}

.cmp-asset-copy {
  background: #FFFFFF;
  border-left: 3px solid #2563EB;
  padding: 6px 10px;
  font-size: 0.8rem;
  color: #1E293B;
  border-radius: 6px;
}

.cmp-asset-link {
  font-size: 0.77rem;
  color: #2563EB;
  word-break: break-all;
  text-decoration: none;
  font-weight: 700;
}

.cmp-utm-preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #FFFFFF;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid #93C5FD;
}

.cmp-utm-preview-row code,
.cmp-utm-code-cell {
  font-size: 0.76rem;
  color: #1E3A8A;
  word-break: break-all;
}

.cmp-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cmp-forecast-results {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.cmp-forecast-results > div {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 10px;
  padding: 9px 10px;
}

.cmp-forecast-results small {
  display: block;
  font-size: 0.71rem;
  color: #475569;
  font-weight: 700;
}

.cmp-forecast-results strong {
  font-size: 0.96rem;
  color: #0F172A;
}

.cmp-ab-card {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  padding: 11px 12px;
  margin-bottom: 10px;
}

.cmp-ab-variants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.cmp-ab-side {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 0.78rem;
}

.cmp-ab-side.winner {
  border-color: #34D399;
  background: #ECFDF5;
}

.cmp-ab-side small {
  font-weight: 800;
  color: #1E40AF;
}

.cmp-ab-side p {
  margin: 4px 0 6px;
  font-weight: 600;
  color: #0F172A;
}

@media (max-width: 1180px) {
  .cmp-pillar-tabs,
  .cmp-approval-grid,
  .cmp-two-col {
    grid-template-columns: 1fr;
  }
  .cmp-form-row-4,
  .cmp-form-row-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cmp-gantt-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .cmp-form-row-4,
  .cmp-form-row-3,
  .cmp-form-row-2,
  .cmp-budget-summary-strip,
  .cmp-forecast-results,
  .cmp-ab-variants {
    grid-template-columns: 1fr;
  }
}


/* =========================================================================
   TRANSLATE SI — TONE & FORMALITY + PURPOSE MATRIX, MODAL & TERMINOLOGY CARD
   ========================================================================= */

.trn-context-matrix-box {
  margin-top: 18px;
  padding: 15px 17px;
  border-radius: 14px;
  background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
  border: 1.5px solid #DBEAFE;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.trn-context-matrix-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.trn-context-sub {
  margin: 4px 0 0 0;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.45;
}

.trn-active-context-summary {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.trn-ctx-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.trn-ctx-badge.tone {
  background: #EEF2FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
}

.trn-ctx-badge.purpose {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.trn-context-row {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  padding-top: 10px;
  border-top: 1px dashed #E2E8F0;
}

@media (max-width: 900px) {
  .trn-context-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.trn-context-label-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trn-context-label-col strong {
  font-size: 0.84rem;
  font-weight: 900;
  color: #0F172A;
}

.trn-context-label-col small {
  font-size: 0.74rem;
  color: #64748B;
  line-height: 1.38;
}

.trn-purpose-pill:hover {
  border-color: #0D9488;
  color: #0F766E;
}

.trn-purpose-pill.active {
  background: #ECFDF5;
  border-color: #059669;
  color: #065F46;
  font-weight: 800;
}

.trn-selected-context-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #334155;
}

.trn-selected-context-hint strong {
  color: #0F172A;
  font-weight: 900;
}

.trn-change-ctx-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid #93C5FD;
  background: #EFF6FF;
  color: #1D4ED8;
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.trn-change-ctx-btn:hover {
  background: #DBEAFE;
  border-color: #2563EB;
}

/* Conversion-Time Tone & Purpose Selection Modal */
.trn-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.trn-modal-card {
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1.5px solid #BFDBFE;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trn-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.trn-modal-head h3 {
  margin: 4px 0 4px 0;
  font-size: 1.15rem;
  font-weight: 900;
  color: #0F172A;
}

.trn-modal-head p {
  margin: 0;
  font-size: 0.83rem;
  color: #475569;
}

.trn-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  color: #334155;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.trn-modal-section {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.trn-modal-lbl {
  font-size: 0.85rem;
  font-weight: 900;
  color: #0F172A;
}

.trn-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 9px;
}

.trn-modal-grid.trn-modal-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.trn-modal-option {
  text-align: left;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: all 0.14s ease;
}

.trn-modal-option strong {
  font-size: 0.83rem;
  font-weight: 800;
  color: #0F172A;
}

.trn-modal-option small {
  font-size: 0.73rem;
  color: #64748B;
  line-height: 1.35;
}

.trn-modal-option:hover {
  border-color: #6366F1;
  background: #FFFFFF;
}

.trn-modal-option.active {
  background: #EEF2FF;
  border-color: #4F46E5;
  box-shadow: 0 3px 10px rgba(79, 70, 229, 0.14);
}

.trn-modal-option.purpose-opt.active {
  background: #ECFDF5;
  border-color: #059669;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.14);
}

.trn-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1.5px solid #E2E8F0;
}

.trn-modal-preview {
  font-size: 0.82rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.trn-modal-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

/* Applied Tone & Purpose Terminology Box on Output Card */
.trn-terminology-applied-card {
  margin: 14px 0 6px 0;
  padding: 13px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #F8FAFF 0%, #F0FDF4 100%);
  border: 1px solid #BFDBFE;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trn-term-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #0F172A;
}

.trn-term-head span {
  font-size: 0.76rem;
  font-weight: 800;
  color: #1D4ED8;
}

.trn-term-rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.trn-term-rule-item {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #E2E8F0;
  border-radius: 9px;
  padding: 9px 11px;
}

.trn-term-rule-item span {
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  color: #1E293B;
  margin-bottom: 3px;
}

.trn-term-rule-item p {
  margin: 0;
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.42;
}

.trn-lex-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px;
}

.trn-lex-chip {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 9px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.78rem;
}

.trn-lex-chip .src {
  color: #475569;
  font-weight: 600;
}

.trn-lex-chip .tgt {
  color: #065F46;
  font-weight: 900;
}

.trn-lex-chip small {
  width: 100%;
  font-size: 0.71rem;
  color: #64748B;
}
