/* Admin Liquid Light — Super Admin shell + tenant modules.
   Activates solely under html[data-sa-theme="liquid-light"].
   Does not alter auth logic, callables, or non-SA personas. */

html[data-sa-theme="liquid-light"] {
  color-scheme: light;
  background: #f8fafc;
}

/* —— Authenticated wash —— */
/* Tenant Panel keeps its own workspace wash (not true-black SA shell). */
html[data-sa-theme="liquid-light"] body.tp-tenant-panel-active,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-board[style*="display: block"]),
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-board[style*="display:block"]) {
  color: #1d1d1f;
  background: #f5f6f8;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

html[data-sa-theme="liquid-light"] body.tp-tenant-panel-active::before,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-board[style*="display: block"])::before,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-board[style*="display:block"])::before {
  background:
    radial-gradient(ellipse 70% 48% at 8% -6%, rgba(186, 230, 253, 0.42), transparent 62%),
    radial-gradient(ellipse 52% 38% at 96% 4%, rgba(221, 214, 254, 0.26), transparent 58%),
    radial-gradient(ellipse 48% 34% at 78% 100%, rgba(209, 245, 230, 0.3), transparent 62%),
    linear-gradient(180deg, #f8fafc 0%, #f5f6f8 48%, #f7f8fb 100%);
}

/* Super Admin shell + Kurum Yönetimi: TRUE BLACK */
html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on,
html[data-sa-theme="liquid-light"] body:has(#box-panel[style*="display: block"]),
html[data-sa-theme="liquid-light"] body:has(#box-panel[style*="display:block"]),
html[data-sa-theme="liquid-light"] body:has(#box-super-tenant-manage[style*="display: block"]),
html[data-sa-theme="liquid-light"] body:has(#box-super-tenant-manage[style*="display:block"]) {
  color: #e8eef6;
  background: #000000;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on::before,
html[data-sa-theme="liquid-light"] body:has(#box-panel[style*="display: block"])::before,
html[data-sa-theme="liquid-light"] body:has(#box-panel[style*="display:block"])::before,
html[data-sa-theme="liquid-light"] body:has(#box-super-tenant-manage[style*="display: block"])::before,
html[data-sa-theme="liquid-light"] body:has(#box-super-tenant-manage[style*="display:block"])::before {
  background:
    radial-gradient(ellipse 55% 42% at 12% -10%, rgba(0, 180, 120, 0.07), transparent 62%),
    radial-gradient(ellipse 48% 38% at 92% 6%, rgba(34, 211, 238, 0.05), transparent 58%),
    radial-gradient(ellipse 50% 36% at 70% 100%, rgba(0, 120, 80, 0.04), transparent 60%),
    #000000;
}

html[data-sa-theme="liquid-light"] body.tp-tenant-panel-active::after,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-board[style*="display: block"])::after,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-board[style*="display:block"])::after,
html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on::after,
html[data-sa-theme="liquid-light"] body:has(#box-panel[style*="display: block"])::after,
html[data-sa-theme="liquid-light"] body:has(#box-panel[style*="display:block"])::after,
html[data-sa-theme="liquid-light"] body:has(#box-super-tenant-manage[style*="display: block"])::after,
html[data-sa-theme="liquid-light"] body:has(#box-super-tenant-manage[style*="display:block"])::after {
  content: none;
}

/* —— Shared authenticated topbar —— */
/* Default pearl (tenant / shared). SA dark override below when .sa-shell-matrix-on. */
html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar,
html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container:has(> #box-tenant-panel[style*="display: block"]) > .topbar,
html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container:has(> #box-tenant-panel[style*="display:block"]) > .topbar {
  color: #1d1d1f;
  background-color: #f8fafc;
  background-image:
    radial-gradient(ellipse 78% 120% at 0% 0%, rgba(209, 245, 230, 0.38), transparent 58%),
    radial-gradient(ellipse 52% 90% at 100% 0%, rgba(221, 214, 254, 0.18), transparent 56%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 28px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  margin-bottom: 14px;
}

html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar::before,
html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container:has(> #box-tenant-panel[style*="display: block"]) > .topbar::before,
html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container:has(> #box-tenant-panel[style*="display:block"]) > .topbar::before,
html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container:has(> #box-panel[style*="display: block"]) > .topbar::before,
html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container:has(> #box-panel[style*="display:block"]) > .topbar::before {
  content: none;
  background: none;
  opacity: 0;
}

html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar .title {
  color: #1d1d1f;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar #admin-pill,
html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar .pill,
html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container:has(> #box-tenant-panel[style*="display: block"]) > .topbar #admin-pill,
html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container:has(> #box-tenant-panel[style*="display:block"]) > .topbar #admin-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(241, 245, 249, 0.96);
  color: #334155;
  font-weight: 600;
}

html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar .btn {
  min-height: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar .btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 113, 227, 0.35);
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar .btn:focus-visible,
html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar #tp-instructor-global-notification-btn:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar #btn-bulk-message {
  border-color: rgba(0, 113, 227, 0.42);
  background: linear-gradient(165deg, #0a84ff 0%, #0071e3 55%, #0064d1 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 113, 227, 0.22);
}

html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar #btn-bulk-message:hover {
  border-color: rgba(0, 113, 227, 0.55);
  background: linear-gradient(165deg, #1a8cff 0%, #0077ed 55%, #006adc 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 113, 227, 0.26);
}

html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar #btn-admin-logout.danger,
html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar #btn-admin-logout {
  border-color: rgba(220, 80, 80, 0.28);
  background: rgba(255, 246, 246, 0.98);
  color: #b42318;
  box-shadow: 0 4px 10px rgba(180, 35, 24, 0.06);
}

html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar #btn-admin-logout.danger:hover,
html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar #btn-admin-logout:hover {
  border-color: rgba(220, 80, 80, 0.4);
  background: #fff1f1;
  color: #9b1c1c;
  box-shadow: 0 6px 14px rgba(180, 35, 24, 0.08);
}

html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar #tp-instructor-global-notification-btn,
html[data-sa-theme="liquid-light"] #tp-instructor-global-notification-btn {
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #ffffff;
  color: #0071e3;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar #tp-instructor-global-notification-btn:hover,
html[data-sa-theme="liquid-light"] #tp-instructor-global-notification-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 113, 227, 0.4);
  background: #ffffff;
  color: #0064d1;
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar .btn:hover,
  html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) > .container > .topbar #tp-instructor-global-notification-btn:hover,
  html[data-sa-theme="liquid-light"] #tp-instructor-global-notification-btn:hover {
    transform: none;
  }
}

/* —— Institution module board —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board {
  background: transparent;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header.card,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header.card:not(.institution-chat-panel) {
  color: #1d1d1f;
  background-color: #f8fafc;
  background-image:
    radial-gradient(ellipse 86% 70% at 8% 0%, rgba(209, 245, 230, 0.4), transparent 62%),
    radial-gradient(ellipse 48% 60% at 100% 0%, rgba(221, 214, 254, 0.2), transparent 58%),
    linear-gradient(178deg, #ffffff 0%, #f6f9fc 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 32px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  margin-bottom: 22px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header.card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header.card::after,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header.card:not(.institution-chat-panel)::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header.card:not(.institution-chat-panel)::after {
  content: none;
  display: none;
  background: none;
  opacity: 0;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header.card:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header.card:not(.institution-chat-panel):hover {
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 32px rgba(15, 23, 42, 0.07);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header h2.tp-hero-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header .tp-hero-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header #tenant-panel-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header.card:not(.institution-chat-panel) h2 {
  color: #1d1d1f !important;
  text-shadow: none !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tp-hero-context,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header .muted,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tp-hero-meta,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-panel-subtitle {
  color: #6e6e73;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-logo-wrap {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-panel-logo.tenant-panel-logo {
  background: transparent;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-panel-admin-identity.tp-admin-identity-chip,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tp-admin-identity-chip {
  border: 1px solid rgba(167, 243, 208, 0.55);
  background: rgba(236, 253, 245, 0.92);
  color: #1d1d1f;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header #btn-tenant-panel-back,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #btn-tenant-panel-back {
  min-height: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header #btn-tenant-panel-back:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #btn-tenant-panel-back:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 113, 227, 0.4);
  background: #ffffff;
  color: #0071e3;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header #btn-tenant-panel-back:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #btn-tenant-panel-back:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tp-instructor-live-clock.tp-instructor-live-clock,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tp-hero-aside .tp-instructor-live-clock {
  border: 1px solid rgba(186, 230, 253, 0.7);
  background:
    linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 12px rgba(15, 23, 42, 0.04);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tp-instructor-live-clock__kicker,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tp-instructor-live-clock__tz {
  color: #0071e3;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tp-instructor-live-clock__date,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tp-instructor-live-clock__time {
  color: #1d1d1f;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tp-hero-facts,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tp-hero-mobile-facts {
  color: #6e6e73;
}

@media (max-width: 900px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header.card,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header.card:not(.institution-chat-panel) {
    margin-bottom: 12px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tp-hero-context,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tp-hero-facts,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tp-hero-mobile-facts {
    color: #6e6e73;
  }
}

@media (max-width: 900px) {
  html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) .admin-mobile-topbar {
    background-color: #f8fafc;
    background-image:
      radial-gradient(ellipse 80% 120% at 0% 0%, rgba(209, 245, 230, 0.35), transparent 58%),
      linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.96),
      0 8px 20px rgba(15, 23, 42, 0.06);
  }

  html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) .admin-mobile-topbar__title {
    color: #1d1d1f;
  }

  html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) .admin-mobile-topbar__chip,
  html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) #tenant-mobile-role-chip {
    color: #6e6e73;
  }

  html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) .admin-mobile-icon-btn {
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #ffffff;
    color: #0071e3;
  }

  html[data-sa-theme="liquid-light"] body:not(.admin-signed-out) .admin-mobile-icon-btn--danger {
    border-color: rgba(220, 80, 80, 0.28);
    background: rgba(255, 246, 246, 0.98);
    color: #b42318;
  }
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn:nth-child(n) {
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(186, 230, 253, 0.22), transparent 62%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.94) 0%, rgba(246, 250, 252, 0.9) 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  color: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 22px rgba(15, 23, 42, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-icon,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn:nth-child(n) .tp-nav-icon {
  border: 1px solid rgba(125, 211, 252, 0.45);
  background: rgba(224, 242, 254, 0.85);
  color: #0071e3;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-title {
  color: #1d1d1f;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-desc {
  color: #6e6e73;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-chevron {
  color: #94a3b8;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-mgmt-only-badge {
  border: 1px solid rgba(0, 113, 227, 0.28);
  background: rgba(224, 242, 254, 0.9);
  color: #0b5ed7;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="students"] .tp-nav-icon {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(236, 253, 245, 0.95);
  color: #047857;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="abonelik"] .tp-nav-icon,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="special-lesson-requests"] .tp-nav-icon {
  border-color: rgba(251, 191, 36, 0.42);
  background: rgba(255, 251, 235, 0.95);
  color: #b45309;
}

@media (hover: hover) and (pointer: fine) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn:nth-child(n):hover {
    transform: translateY(-2px);
    border-color: rgba(148, 163, 184, 0.34);
    background:
      radial-gradient(ellipse 90% 70% at 100% 0%, rgba(186, 230, 253, 0.32), transparent 62%),
      linear-gradient(165deg, #ffffff 0%, rgba(246, 250, 252, 0.96) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.96),
      0 14px 28px rgba(15, 23, 42, 0.1);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn:hover .tp-nav-title {
    color: #1d1d1f;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn:hover .tp-nav-chevron {
    color: #0071e3;
  }
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: 3px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn.active,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn.active:nth-child(n) {
  border-color: rgba(0, 113, 227, 0.4);
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(186, 230, 253, 0.35), transparent 62%),
    linear-gradient(165deg, #ffffff 0%, rgba(239, 246, 255, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 24px rgba(15, 23, 42, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn.active .tp-nav-title {
  color: #1d1d1f;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn.active .tp-nav-icon {
  border-color: rgba(0, 113, 227, 0.4);
  background: rgba(224, 242, 254, 0.95);
  color: #0071e3;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn:hover {
    transform: none;
  }
}

/* Live unread / new-count badges on institution module-board cards */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-title .tp-unread-badge,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-title .tp-mevzuat-new-badge,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav #tp-nav-instructors #tp-instructors-unread-badge,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav #tp-nav-special-lesson-requests #tp-slr-unread-badge,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav #tp-mailbox-unread-badge,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav #tp-institution-messaging-unread-badge,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav #tp-institution-chat-unread-badge,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav #tp-abonelik-unread-badge,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav #tp-mevzuat-new-badge {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  box-sizing: border-box;
  min-width: 28px;
  min-height: 28px;
  height: 28px;
  max-width: none;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: #e11d48;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgba(159, 18, 57, 0.28),
    0 4px 14px rgba(225, 29, 72, 0.42);
}

/* —— Board artwork covers (canonical desktop shell only; drawer unchanged) —— */
@media (min-width: 901px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn:nth-child(n) {
    display: block;
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 0;
    aspect-ratio: 1200 / 375;
    overflow: hidden;
    isolation: isolate;
    background-color: #050b16;
    background-image: none;
    border: 1px solid rgba(15, 23, 42, 0.72);
    box-shadow:
      inset 0 0 0 1px rgba(2, 6, 23, 0.55),
      0 8px 22px rgba(15, 23, 42, 0.12);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="notifications"],
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="instructors"],
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="special-lesson-requests"],
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="institution-chat"] {
    aspect-ratio: 1200 / 400;
  }

  /* Cover fills dark frame; slight overscale crops baked light rims without distorting art. */
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    background-color: #050b16;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transform: scale(1.055);
    transform-origin: center center;
    will-change: transform;
  }

  /* Final 1600×500 overview art matches card ratio (1200/375).
     Keep full title visible (no horizontal scale crop); slight vertical overscan
     trims baked light top/bottom rims without distorting proportions. */
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="overview"]::after {
    background-image: url("../module-covers/liquid-light/dijital-kurum-akisi.png?v=20260915-dijital-fit-2");
    inset: 0;
    transform: none !important;
    background-size: 100% 106% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="students"]::after {
    background-image: url("../module-covers/liquid-light/ogrenci-yonetimi.webp");
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="machine-candidates"]::after {
    background-image: url("../module-covers/liquid-light/is-makineleri-adaylari.webp");
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="instructors"]::after {
    background-image: url("../module-covers/liquid-light/direksiyon-usta-ogreticiler.webp");
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="special-lesson-requests"]::after {
    background-image: url("../module-covers/liquid-light/ozel-ders-talepleri.webp");
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="forum"]::after {
    background-image: url("../module-covers/liquid-light/forum.webp");
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="forum-moderation"]::after {
    background-image: url("../module-covers/liquid-light/forum-moderasyonu.webp");
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="announcements"]::after {
    background-image: url("../module-covers/liquid-light/kurum-duyurulari.webp");
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="mailbox"]::after {
    background-image: url("../module-covers/liquid-light/mesajlar.webp");
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="institution-messaging"]::after {
    background-image: url("../module-covers/liquid-light/kurum-ici-iletisim-odalari.webp");
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="institution-chat"]::after {
    background-image: url("../module-covers/liquid-light/surucu-kurslari-grup-sohbet.webp");
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="notifications"]::after {
    background-image: url("../module-covers/liquid-light/bildirimler.webp");
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="mevzuat"]::after {
    background-image: url("../module-covers/liquid-light/mevzuat.webp");
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="abonelik"]::after {
    background-image: url("../module-covers/liquid-light/abonelik.webp");
    /* Bright top rim + light letterbox — vertical-biased crop */
    transform: scale(1.3);
    background-position: center 58%;
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn[data-tp-section="institution-admins"]::after {
    background-image: url("../module-covers/liquid-light/kurum-yoneticileri.webp");
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-icon,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-desc,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-chevron {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-body {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    min-width: 0;
    pointer-events: none;
    background: none;
    gap: 0;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-title {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 6px;
    max-width: calc(100% - 16px);
    margin: 0;
    font-size: 0;
    line-height: 0;
    color: transparent;
    text-shadow: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-title .tp-mgmt-only-badge {
    position: relative;
    z-index: 3;
    font-size: 0.62rem;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn:nth-child(n):hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn.active,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn.active:nth-child(n) {
    background-color: #0b1220;
    background-image: none;
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn:nth-child(n):hover {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, 0.42);
    box-shadow:
      inset 0 0 0 1px rgba(2, 6, 23, 0.6),
      0 12px 24px rgba(15, 23, 42, 0.16);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn:hover .tp-nav-title,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn:hover .tp-nav-chevron {
    color: transparent;
  }
}

@media (max-width: 900px) and (max-height: 500px) and (pointer: coarse) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn:nth-child(n) {
    display: flex;
    aspect-ratio: auto;
    min-height: 56px;
    height: auto;
    padding: 8px 10px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-btn::after {
    content: none;
    background-image: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-icon,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-desc,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-chevron {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: unset !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    white-space: normal !important;
    border: revert !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    min-height: 32px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-body {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-nav .tp-nav-title {
    position: static;
    font-size: 0.86rem;
    line-height: 1.25;
    color: #1d1d1f;
    max-width: none;
  }
}

/* —— Super Admin shell: REAL Canvas Matrix + true-black premium glass —— */
/* Rejected CSS glyph-rain / #box-panel::before|::after atmosphere removed. */

html[data-sa-theme="liquid-light"] .sa-shell-matrix-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  min-height: 100dvh;
  min-height: 100vh;
  background: #000503;
}

html[data-sa-theme="liquid-light"] .sa-shell-matrix-stage[hidden] {
  display: none !important;
}

html[data-sa-theme="liquid-light"] .sa-shell-matrix-stage .sa-shell-matrix-base {
  position: absolute;
  inset: 0;
  background: #000503;
}

html[data-sa-theme="liquid-light"] .sa-shell-matrix-stage.is-matrix-fallback .sa-shell-matrix-base {
  background:
    #000503
    url("../images/overview/overview-matrix-web.png")
    center center / cover no-repeat;
}

html[data-sa-theme="liquid-light"] .sa-shell-matrix-stage .sa-shell-matrix-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

html[data-sa-theme="liquid-light"] .sa-shell-matrix-stage .sa-shell-matrix-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 5, 3, 0.22) 0%, rgba(0, 8, 5, 0.08) 42%, rgba(0, 5, 3, 0.38) 100%),
    radial-gradient(ellipse 70% 55% at 50% 42%, transparent 30%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] .sa-shell-matrix-stage .sa-shell-matrix-canvas {
    display: none !important;
  }
  html[data-sa-theme="liquid-light"] .sa-shell-matrix-stage .sa-shell-matrix-base {
    background:
      #000503
      url("../images/overview/overview-matrix-web.png")
      center center / cover no-repeat;
  }
}

html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on > .container > .topbar,
html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on > .container > #box-panel,
html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on > .container > #box-super-tenant-manage {
  position: relative;
  z-index: 1;
}

html[data-sa-theme="liquid-light"] #box-panel {
  position: relative;
  isolation: isolate;
  color: #e8eef6;
  background: transparent;
}

html[data-sa-theme="liquid-light"] #box-panel::before,
html[data-sa-theme="liquid-light"] #box-panel::after {
  content: none !important;
  display: none !important;
  animation: none !important;
  background: none !important;
  mix-blend-mode: normal !important;
}

html[data-sa-theme="liquid-light"] #box-panel .admin-layout,
html[data-sa-theme="liquid-light"] #box-panel .admin-mobile-topbar,
html[data-sa-theme="liquid-light"] #box-panel .admin-mobile-backdrop {
  position: relative;
  z-index: 1;
}

/* SA topbar — dark premium glass */
html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on > .container > .topbar {
  color: #f1f5f9;
  background-color: rgba(6, 10, 14, 0.72);
  background-image:
    radial-gradient(ellipse 70% 120% at 0% 0%, rgba(0, 180, 120, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 90% at 100% 0%, rgba(34, 211, 238, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(12, 16, 20, 0.88) 0%, rgba(4, 6, 8, 0.78) 100%);
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on > .container > .topbar::before {
  content: none;
  background: none;
  opacity: 0;
}

html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on > .container > .topbar .title {
  color: #f8fafc;
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.12);
}

html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on > .container > .topbar #admin-pill,
html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on > .container > .topbar .pill {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 32, 0.72);
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.82rem;
}

html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on > .container > .topbar .btn {
  min-height: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(18, 24, 32, 0.88);
  color: #f1f5f9;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on > .container > .topbar .btn:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(22, 32, 42, 0.95);
}

html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on > .container > .topbar #btn-bulk-message {
  border-color: rgba(34, 211, 238, 0.42);
  background: linear-gradient(165deg, #0891b2 0%, #0e7490 55%, #155e75 100%);
  color: #ecfeff;
  box-shadow: 0 6px 16px rgba(8, 145, 178, 0.28);
}

html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on > .container > .topbar #btn-admin-logout.danger,
html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on > .container > .topbar #btn-admin-logout {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(69, 10, 10, 0.55);
  color: #fecaca;
  box-shadow: 0 4px 12px rgba(127, 29, 29, 0.25);
}

html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on > .container > .topbar #tp-instructor-global-notification-btn {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(18, 24, 32, 0.88);
  color: #67e8f9;
}

/* Sidebar — black/dark glass */
html[data-sa-theme="liquid-light"] #box-panel .admin-sidebar {
  background:
    linear-gradient(175deg, rgba(8, 12, 16, 0.92) 0%, rgba(4, 6, 8, 0.86) 100%);
  border-right: 1px solid rgba(34, 211, 238, 0.14);
  box-shadow:
    inset -1px 0 0 rgba(165, 243, 252, 0.04),
    10px 0 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px) saturate(1.08);
  -webkit-backdrop-filter: blur(20px) saturate(1.08);
}

html[data-sa-theme="liquid-light"] #box-panel .admin-sidebar .nav-btn {
  color: rgba(241, 245, 249, 0.9);
  background: transparent;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-panel .admin-sidebar .nav-btn:hover {
  color: #f8fafc;
  background: rgba(0, 40, 32, 0.45);
  border-color: rgba(34, 211, 238, 0.18);
  box-shadow: 0 0 18px rgba(0, 180, 120, 0.08);
  transform: translateX(1px);
}

html[data-sa-theme="liquid-light"] #box-panel .admin-sidebar .nav-btn.active {
  color: #ecfeff;
  background:
    linear-gradient(140deg, rgba(0, 55, 42, 0.72) 0%, rgba(8, 24, 36, 0.65) 100%);
  border-color: rgba(34, 211, 238, 0.28);
  border-left-color: #22d3ee;
  box-shadow:
    inset 0 0 0 1px rgba(165, 243, 252, 0.08),
    0 0 20px rgba(34, 211, 238, 0.1);
}

html[data-sa-theme="liquid-light"] #box-panel .admin-sidebar .nav-btn:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.55);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-panel .admin-main {
  color: #e8eef6;
}

/* Dark translucent glass panels (all SA pages under #box-panel) */
html[data-sa-theme="liquid-light"] #box-panel .admin-main .card,
html[data-sa-theme="liquid-light"] #box-panel .admin-main .dashboard-card,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-users .users-subview-header,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-dashboard .card {
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(0, 120, 90, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(16, 22, 28, 0.88) 0%, rgba(8, 10, 14, 0.82) 100%);
  border: 1px solid rgba(34, 211, 238, 0.14);
  border-radius: 18px;
  color: #e8eef6;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 36px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

html[data-sa-theme="liquid-light"] #box-panel .admin-main .card > h2,
html[data-sa-theme="liquid-light"] #box-panel .admin-main .card > h3,
html[data-sa-theme="liquid-light"] #box-panel .admin-main .users-subview-title,
html[data-sa-theme="liquid-light"] #box-panel .admin-main .page-section-title,
html[data-sa-theme="liquid-light"] #box-panel .admin-main .content-section-title .label,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-users .users-subview-title,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-dashboard .card > h2 {
  color: #f8fafc;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-panel .admin-main .card > p.muted,
html[data-sa-theme="liquid-light"] #box-panel .admin-main .muted,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-dashboard .card > p.muted {
  color: rgba(148, 163, 184, 0.92);
}

html[data-sa-theme="liquid-light"] #box-panel .admin-main .field label,
html[data-sa-theme="liquid-light"] #box-panel .admin-main label {
  color: #cbd5e1;
}

html[data-sa-theme="liquid-light"] #box-panel .admin-main .field input,
html[data-sa-theme="liquid-light"] #box-panel .admin-main .field select,
html[data-sa-theme="liquid-light"] #box-panel .admin-main .field textarea,
html[data-sa-theme="liquid-light"] #box-panel .admin-main input.field,
html[data-sa-theme="liquid-light"] #box-panel .admin-main select.field,
html[data-sa-theme="liquid-light"] #box-panel .admin-main textarea.field,
html[data-sa-theme="liquid-light"] #box-panel .admin-main input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html[data-sa-theme="liquid-light"] #box-panel .admin-main select,
html[data-sa-theme="liquid-light"] #box-panel .admin-main textarea {
  background: rgba(6, 10, 14, 0.92);
  color: #f1f5f9;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-sa-theme="liquid-light"] #box-panel .admin-main input::placeholder,
html[data-sa-theme="liquid-light"] #box-panel .admin-main textarea::placeholder {
  color: rgba(148, 163, 184, 0.65);
}

html[data-sa-theme="liquid-light"] #box-panel .admin-main .field input:focus,
html[data-sa-theme="liquid-light"] #box-panel .admin-main .field select:focus,
html[data-sa-theme="liquid-light"] #box-panel .admin-main .field textarea:focus,
html[data-sa-theme="liquid-light"] #box-panel .admin-main input:focus,
html[data-sa-theme="liquid-light"] #box-panel .admin-main select:focus,
html[data-sa-theme="liquid-light"] #box-panel .admin-main textarea:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-dashboard .page-section-title {
  color: #cbd5e1;
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-dashboard .dashboard-card .num {
  color: #f8fafc;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.12);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-dashboard .dashboard-card .label {
  color: #94a3b8;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-dashboard .dashboard-actions .btn,
html[data-sa-theme="liquid-light"] #box-panel .admin-main .btn:not(.danger):not(.ghost):not(.secondary) {
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: linear-gradient(165deg, #0e7490 0%, #155e75 55%, #164e63 100%);
  color: #ecfeff;
  box-shadow: 0 6px 16px rgba(8, 145, 178, 0.22);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-dashboard .dashboard-actions .btn:hover,
html[data-sa-theme="liquid-light"] #box-panel .admin-main .btn:not(.danger):not(.ghost):not(.secondary):hover {
  transform: translateY(-1px);
  border-color: rgba(103, 232, 249, 0.5);
  box-shadow: 0 10px 22px rgba(8, 145, 178, 0.28);
}

html[data-sa-theme="liquid-light"] #box-panel .admin-main .btn.danger {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(127, 29, 29, 0.55);
  color: #fecaca;
}

html[data-sa-theme="liquid-light"] #box-panel .admin-main .btn.secondary,
html[data-sa-theme="liquid-light"] #box-panel .admin-main .btn.ghost {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 32, 0.72);
  color: #e2e8f0;
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] #box-panel #admin-page-dashboard .dashboard-actions .btn:hover,
  html[data-sa-theme="liquid-light"] #box-panel .admin-main .btn:hover,
  html[data-sa-theme="liquid-light"] #box-panel .admin-sidebar .nav-btn:hover {
    transform: none;
  }
}

/* =============================================================================
   Shared tenant module workspace chrome — all modules
   Title left + Modüllere Dön right. Not scoped to a single section.
   ============================================================================= */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace .tp-module-workspace-chrome {
  margin: 0 0 14px;
  padding: 4px 2px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  background: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace #tp-module-workspace-title-band {
  border: none;
  background: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace #tp-module-workspace-title {
  color: #1d1d1f;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace #tp-module-workspace-title::before {
  background: linear-gradient(180deg, #7dd3fc, #0071e3 55%, rgba(0, 113, 227, 0.35));
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace #btn-tp-module-board-back {
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 13px;
  border: 1px solid rgba(147, 197, 253, 0.55);
  background:
    radial-gradient(ellipse 90% 120% at 0% 0%, rgba(237, 233, 254, 0.55), transparent 58%),
    linear-gradient(165deg, rgba(248, 250, 252, 0.98) 0%, rgba(224, 242, 254, 0.88) 100%);
  color: #1d1d1f;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 6px 16px rgba(37, 99, 235, 0.1);
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace #btn-tp-module-board-back:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 113, 227, 0.48);
  background:
    radial-gradient(ellipse 90% 120% at 0% 0%, rgba(219, 234, 254, 0.7), transparent 58%),
    linear-gradient(165deg, #ffffff 0%, rgba(239, 246, 255, 0.98) 100%);
  color: #0071e3;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 20px rgba(37, 99, 235, 0.14);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace #btn-tp-module-board-back:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace #btn-tp-module-board-back:hover {
    transform: none;
  }
}

/* —— Tenant Overview workspace (Özet) only —— */
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display: block"] #tp-section-overview.active),
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display:block"] #tp-section-overview.active) {
  color: #1d1d1f;
  background: #f8fafc;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display: block"] #tp-section-overview.active)::before,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display:block"] #tp-section-overview.active)::before {
  background:
    radial-gradient(ellipse 70% 48% at 8% -6%, rgba(186, 230, 253, 0.4), transparent 62%),
    radial-gradient(ellipse 52% 38% at 96% 4%, rgba(221, 214, 254, 0.24), transparent 58%),
    radial-gradient(ellipse 48% 34% at 78% 100%, rgba(209, 245, 230, 0.28), transparent 62%),
    linear-gradient(180deg, #f8fafc 0%, #f5f6f8 48%, #f7f8fb 100%);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display: block"] #tp-section-overview.active)::after,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display:block"] #tp-section-overview.active)::after {
  content: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) {
  background: transparent;
  padding-bottom: 10px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) #tp-section-overview.active::before {
  content: none;
  background: none;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-header.card,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-header.card:not(.institution-chat-panel) {
  color: #1d1d1f;
  background-color: #f8fafc;
  background-image:
    radial-gradient(ellipse 86% 70% at 8% 0%, rgba(209, 245, 230, 0.4), transparent 62%),
    radial-gradient(ellipse 48% 60% at 100% 0%, rgba(186, 230, 253, 0.22), transparent 58%),
    linear-gradient(178deg, #ffffff 0%, #f6f9fc 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 32px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-header.card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-header.card::after,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-header.card:not(.institution-chat-panel)::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-header.card:not(.institution-chat-panel)::after {
  content: none;
  display: none;
  background: none;
  opacity: 0;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-header h2.tp-hero-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-header .tp-hero-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-header #tenant-panel-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-header.card:not(.institution-chat-panel) h2 {
  color: #1d1d1f !important;
  text-shadow: none !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tp-hero-context,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-header .muted,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tp-hero-meta,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) #tenant-panel-subtitle {
  color: #6e6e73;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-logo-wrap {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) #tenant-panel-admin-identity.tp-admin-identity-chip,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tp-admin-identity-chip {
  border: 1px solid rgba(167, 243, 208, 0.55);
  background: rgba(236, 253, 245, 0.92);
  color: #1d1d1f;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-header #btn-tenant-panel-back,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) #btn-tenant-panel-back {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) #tp-instructor-live-clock.tp-instructor-live-clock,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tp-hero-aside .tp-instructor-live-clock {
  border: 1px solid rgba(186, 230, 253, 0.7);
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 12px rgba(15, 23, 42, 0.04);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tp-instructor-live-clock__kicker,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tp-instructor-live-clock__tz {
  color: #0071e3;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tp-instructor-live-clock__date,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tp-instructor-live-clock__time {
  color: #1d1d1f;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-intro {
  margin: 8px 0 18px;
  max-width: 640px;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-intro__title {
  color: #1d1d1f;
  font-weight: 800;
  letter-spacing: -0.01em;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-intro__copy {
  color: #6e6e73;
  line-height: 1.5;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .dashboard-card,
html[data-sa-theme="liquid-light"] #tp-section-overview .dashboard-card:nth-child(n) {
  background-color: #ffffff;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 28px rgba(15, 23, 42, 0.07);
  min-height: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .dashboard-card .tp-kpi-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid rgba(125, 211, 252, 0.45);
  background: rgba(224, 242, 254, 0.9);
  color: #0071e3;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .dashboard-card .num {
  color: #1d1d1f;
  text-shadow: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .dashboard-card .label {
  color: #334155;
  font-weight: 600;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .dashboard-card .tp-kpi-meta {
  color: #6e6e73;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .dashboard-card:nth-child(1) {
  border-color: rgba(125, 211, 252, 0.45);
  background-image:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(186, 230, 253, 0.42), transparent 68%),
    linear-gradient(165deg, #ffffff 0%, #f0f9ff 100%);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .dashboard-card:nth-child(2) {
  border-color: rgba(167, 243, 208, 0.55);
  background-image:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(167, 243, 208, 0.38), transparent 68%),
    linear-gradient(165deg, #ffffff 0%, #f0fdf4 100%);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .dashboard-card:nth-child(2) .tp-kpi-icon {
  border-color: rgba(167, 243, 208, 0.7);
  background: rgba(236, 253, 245, 0.95);
  color: #047857;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .dashboard-card:nth-child(3) {
  border-color: rgba(196, 181, 253, 0.5);
  background-image:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(221, 214, 254, 0.45), transparent 68%),
    linear-gradient(165deg, #ffffff 0%, #f5f3ff 100%);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .dashboard-card:nth-child(3) .tp-kpi-icon {
  border-color: rgba(196, 181, 253, 0.65);
  background: rgba(237, 233, 254, 0.95);
  color: #6d28d9;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .dashboard-card:nth-child(4) {
  border-color: rgba(253, 186, 116, 0.5);
  background-image:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(254, 215, 170, 0.42), transparent 68%),
    linear-gradient(165deg, #ffffff 0%, #fff7ed 100%);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .dashboard-card:nth-child(4) .tp-kpi-icon {
  border-color: rgba(253, 186, 116, 0.65);
  background: rgba(255, 247, 237, 0.95);
  color: #c2410c;
}

@media (hover: hover) and (pointer: fine) {
  html[data-sa-theme="liquid-light"] #tp-section-overview .dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      0 14px 32px rgba(15, 23, 42, 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] #tp-section-overview .dashboard-card:hover {
    transform: none;
  }
}

html[data-sa-theme="liquid-light"] #tp-section-overview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 20px;
  padding: 10px 8px 14px;
  background:
    radial-gradient(ellipse 75% 55% at 10% 0%, rgba(15, 23, 42, 0.92), transparent 58%),
    radial-gradient(ellipse 60% 50% at 92% 18%, rgba(6, 78, 59, 0.35), transparent 60%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.88) 0%, rgba(15, 23, 42, 0.82) 48%, rgba(2, 6, 23, 0.9) 100%);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-matrix {
  opacity: 0.95;
  mask-image: none;
  -webkit-mask-image: none;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-matrix-layer.is-far .tp-overview-matrix-col {
  color: rgba(148, 163, 184, 0.5);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-matrix-layer.is-mid .tp-overview-matrix-col {
  color: rgba(52, 211, 153, 0.7);
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-matrix-layer.is-near .tp-overview-matrix-col {
  color: rgba(134, 239, 172, 0.9);
  text-shadow: 0 0 16px rgba(74, 222, 128, 0.5);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-intro {
  margin-bottom: 12px;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-intro__title {
  color: #e2e8f0;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-intro__copy {
  margin-bottom: 0;
  color: rgba(203, 213, 225, 0.9);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-kpi-grid.dashboard-cards {
  display: none !important;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-kpi-card.dashboard-card {
  min-height: 0;
  padding: 12px 14px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.86) 0%, rgba(248, 250, 252, 0.78) 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-kpi-card.dashboard-card:nth-child(1) {
  border-color: rgba(14, 165, 233, 0.28);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(125, 211, 252, 0.28), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 249, 255, 0.82) 100%);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-kpi-card.dashboard-card:nth-child(2) {
  border-color: rgba(16, 185, 129, 0.28);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(167, 243, 208, 0.28), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(236, 253, 245, 0.82) 100%);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-kpi-card .num {
  font-size: 1.45rem;
  line-height: 1.05;
  color: #0f172a;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-kpi-card .label {
  font-size: 0.78rem;
  margin-top: 4px;
  color: #334155;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-kpi-card .tp-kpi-meta {
  font-size: 0.72rem;
  margin-top: 2px;
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity {
  margin-top: 4px;
  padding: 14px 16px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.84) 100%);
  box-shadow:
    0 14px 36px rgba(2, 6, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-heading {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #1d1d1f;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-week {
  display: none;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-filters {
  display: inline-flex;
  gap: 6px;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-filter {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #ffffff;
  color: #475569;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-filter.is-active {
  border-color: rgba(14, 165, 233, 0.45);
  background: rgba(224, 242, 254, 0.9);
  color: #0c4a6e;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-sa-tools {
  display: inline-flex;
  align-items: center;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-delete-selected {
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(254, 242, 242, 0.95);
  color: #991b1b;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-delete-selected:disabled {
  opacity: 0.45;
  cursor: default;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 0;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #ffffff;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-sa-manage {
  grid-template-columns: 18px 28px minmax(0, 1fr) auto 28px;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-compact {
  min-height: 36px;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-nav-clickable {
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-nav-clickable:hover {
  /* Matrix override wins at runtime; keep non-white fallback here. */
  background: rgba(120, 70, 240, 0.18);
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow:
    inset 0 0 0 1px rgba(167, 139, 250, 0.18),
    0 0 18px rgba(124, 58, 237, 0.22);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-nav-clickable:focus-visible {
  outline: 2px solid rgba(167, 139, 250, 0.7);
  outline-offset: 1px;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-nav-historical {
  cursor: default;
  pointer-events: auto;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-nav-historical:hover {
  background: inherit;
  border-color: inherit;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-check {
  display: grid;
  place-items: center;
  margin: 0;
  cursor: pointer;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-checkbox {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #0ea5e9;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-delete {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(254, 242, 242, 0.95);
  color: #b91c1c;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  font-size: 0.7rem;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-delete:disabled {
  opacity: 0.45;
  cursor: default;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #0369a1;
  background: rgba(224, 242, 254, 0.95);
  border: 1px solid rgba(125, 211, 252, 0.45);
  font-size: 0.74rem;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-payment .tp-overview-activity-icon,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-payment-fix .tp-overview-activity-icon {
  color: #ffffff;
  background: linear-gradient(160deg, #22c55e 0%, #16a34a 55%, #15803d 100%);
  border-color: rgba(74, 222, 128, 0.95);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.5);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-student-create .tp-overview-activity-icon {
  color: #ffffff;
  background: linear-gradient(160deg, #38bdf8 0%, #0284c7 100%);
  border-color: rgba(125, 211, 252, 0.9);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.4);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-student-update .tp-overview-activity-icon {
  color: #ffffff;
  background: linear-gradient(160deg, #60a5fa 0%, #2563eb 100%);
  border-color: rgba(147, 197, 253, 0.9);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-student-delete .tp-overview-activity-icon,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-machine-delete .tp-overview-activity-icon,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-instructor-delete .tp-overview-activity-icon,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-lesson-cancel .tp-overview-activity-icon,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-admin-suspend .tp-overview-activity-icon {
  color: #ffffff;
  background: linear-gradient(160deg, #f87171 0%, #dc2626 100%);
  border-color: rgba(252, 165, 165, 0.95);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-machine-create .tp-overview-activity-icon,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-machine-update .tp-overview-activity-icon {
  color: #ffffff;
  background: linear-gradient(160deg, #2dd4bf 0%, #0f766e 100%);
  border-color: rgba(94, 234, 212, 0.9);
  box-shadow: 0 0 12px rgba(20, 184, 166, 0.4);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-lesson .tp-overview-activity-icon,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-lesson-update .tp-overview-activity-icon {
  color: #042f2e;
  background: linear-gradient(160deg, #67e8f9 0%, #06b6d4 55%, #0891b2 100%);
  border-color: rgba(103, 232, 249, 0.95);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.5);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-special-lesson .tp-overview-activity-icon {
  color: #ffffff;
  background: linear-gradient(160deg, #34d399 0%, #059669 100%);
  border-color: rgba(110, 231, 183, 0.95);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-admin .tp-overview-activity-icon,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-admin-update .tp-overview-activity-icon {
  color: #ffffff;
  background: linear-gradient(160deg, #a78bfa 0%, #7c3aed 100%);
  border-color: rgba(196, 181, 253, 0.95);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-forum .tp-overview-activity-icon,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-forum-resolve .tp-overview-activity-icon,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-forum-mod .tp-overview-activity-icon {
  color: #ffffff;
  background: linear-gradient(160deg, #f472b6 0%, #db2777 100%);
  border-color: rgba(249, 168, 212, 0.95);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-message .tp-overview-activity-icon {
  color: #ffffff;
  background: linear-gradient(160deg, #818cf8 0%, #4f46e5 100%);
  border-color: rgba(165, 180, 252, 0.95);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-message-bulk .tp-overview-activity-icon {
  color: #ffffff;
  background: linear-gradient(160deg, #a78bfa 0%, #6366f1 100%);
  border-color: rgba(196, 181, 253, 0.95);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-notification .tp-overview-activity-icon {
  color: #ffffff;
  background: linear-gradient(160deg, #fb923c 0%, #ea580c 100%);
  border-color: rgba(253, 186, 116, 0.95);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-announcement .tp-overview-activity-icon {
  color: #ffffff;
  background: linear-gradient(160deg, #fbbf24 0%, #d97706 100%);
  border-color: rgba(252, 211, 77, 0.95);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-instructor .tp-overview-activity-icon,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-instructor-update .tp-overview-activity-icon {
  color: #ffffff;
  background: linear-gradient(160deg, #94a3b8 0%, #475569 100%);
  border-color: rgba(203, 213, 225, 0.95);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor {
  justify-self: end;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor.is-empty {
  visibility: hidden;
  padding: 0;
  border: 0;
  background: transparent;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-title {
  margin: 0 0 2px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #1d1d1f;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-line {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-line {
    white-space: normal;
  }
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-target {
  margin: 0 0 2px;
  font-size: 0.8rem;
  font-weight: 650;
  color: #334155;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-meta {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: #6e6e73;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-empty {
  padding: 16px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  background: rgba(248, 250, 252, 0.9);
  text-align: center;
  color: #475569;
  font-size: 0.86rem;
  font-weight: 650;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-empty-sub {
  margin: 6px 0 0;
  font-size: 0.74rem;
  color: #6e6e73;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-more {
  display: none !important;
}

@media (max-width: 1100px) {
  html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-kpi-grid.dashboard-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-kpi-grid.dashboard-cards {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   Tenant Öğrenci Yönetimi — Liquid Light showcase (Phase 1, visual only)
   GATED on .tp-nav-btn[data-tp-section="students"].active
   NEVER on #tp-section-students.active alone (machine-candidates reuses that section).
   ============================================================================= */

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display: block"] .tp-nav-btn[data-tp-section="students"].active),
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display:block"] .tp-nav-btn[data-tp-section="students"].active) {
  color: #1d1d1f;
  background: #eef3f8;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display: block"] .tp-nav-btn[data-tp-section="students"].active)::before,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display:block"] .tp-nav-btn[data-tp-section="students"].active)::before {
  background:
    radial-gradient(ellipse 70% 48% at 8% -6%, rgba(186, 230, 253, 0.42), transparent 62%),
    radial-gradient(ellipse 52% 38% at 96% 4%, rgba(221, 214, 254, 0.24), transparent 58%),
    radial-gradient(ellipse 48% 34% at 78% 100%, rgba(209, 245, 230, 0.32), transparent 62%),
    linear-gradient(180deg, #eef3f8 0%, #eef2f6 48%, #f2f5f9 100%);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display: block"] .tp-nav-btn[data-tp-section="students"].active)::after,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display:block"] .tp-nav-btn[data-tp-section="students"].active)::after {
  content: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) {
  background: transparent;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students.active::before {
  content: none;
  background: none;
  box-shadow: none;
}

/* —— Institution header (students nav only) —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header.card,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header.card:not(.institution-chat-panel) {
  color: #1d1d1f;
  background-color: #f8fafc;
  background-image:
    radial-gradient(ellipse 86% 70% at 8% 0%, rgba(209, 245, 230, 0.4), transparent 62%),
    radial-gradient(ellipse 48% 60% at 100% 0%, rgba(186, 230, 253, 0.22), transparent 58%),
    linear-gradient(178deg, #ffffff 0%, #f6f9fc 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 32px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header.card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header.card::after,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header.card:not(.institution-chat-panel)::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header.card:not(.institution-chat-panel)::after {
  content: none;
  display: none;
  background: none;
  opacity: 0;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header h2.tp-hero-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header .tp-hero-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header #tenant-panel-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header.card:not(.institution-chat-panel) h2 {
  color: #1d1d1f !important;
  text-shadow: none !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tp-hero-context,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header .muted,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tp-hero-meta,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tenant-panel-subtitle {
  color: #6e6e73;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-logo-wrap {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tenant-panel-admin-identity.tp-admin-identity-chip,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tp-admin-identity-chip {
  border: 1px solid rgba(167, 243, 208, 0.55);
  background: rgba(236, 253, 245, 0.92);
  color: #1d1d1f;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header #btn-tenant-panel-back,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #btn-tenant-panel-back {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-instructor-live-clock.tp-instructor-live-clock,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tp-hero-aside .tp-instructor-live-clock {
  border: 1px solid rgba(186, 230, 253, 0.7);
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 12px rgba(15, 23, 42, 0.04);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tp-instructor-live-clock__kicker,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tp-instructor-live-clock__tz {
  color: #0071e3;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tp-instructor-live-clock__date,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tp-instructor-live-clock__time {
  color: #1d1d1f;
}

/* —— Shared CRM surfaces inside students-nav-active #tp-section-students —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-crm-layout {
  gap: 24px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .card:not(.institution-chat-panel),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-panel.tp-student-progress-panel,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel.card {
  color: #1d1d1f;
  --admin-card-accent: #67e8f9;
  --admin-card-glow: rgba(125, 211, 252, 0.22);
  --admin-card-border: rgba(148, 163, 184, 0.22);
  --admin-card-sheen: rgba(209, 245, 230, 0.2);
  background-color: #ffffff;
  background-image:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(224, 242, 254, 0.55), transparent 62%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(209, 245, 230, 0.28), transparent 58%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.94) 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 32px rgba(15, 23, 42, 0.07);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .card:not(.institution-chat-panel)::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .card:not(.institution-chat-panel)::after {
  content: none;
  display: none;
  opacity: 0;
  background: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .card:not(.institution-chat-panel):hover {
  border-color: rgba(125, 211, 252, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 14px 32px rgba(15, 23, 42, 0.09);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-crm-master > .card:not(#tp-student-create-card) {
  background-color: #f3f8fc;
  background-image:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(186, 230, 253, 0.5), transparent 62%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(221, 214, 254, 0.32), transparent 58%),
    linear-gradient(178deg, #f7fbff 0%, #eef5fb 100%);
  border: 1px solid rgba(125, 211, 252, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 16px 40px rgba(15, 23, 42, 0.09);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .card:not(.institution-chat-panel) h2,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-crm-list-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-crm-create-title {
  color: #1d1d1f;
  text-shadow: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .muted {
  color: #6e6e73;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-field label,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .field label {
  color: #64748b;
  letter-spacing: 0.04em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-field input,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-field select,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-field textarea,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .field input,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .field select,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students input.field,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-search,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-period-filter,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-payment-total,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-payment-paid,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-payment-installment,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-payment-monthly,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-payment-note,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-payment-action-amount,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-payment-action-note {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 13px;
  color: #1d1d1f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-field input::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .field input::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-search::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-payment-note::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-payment-action-note::placeholder {
  color: #94a3b8;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-field input:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-field select:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .field input:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .field select:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-search:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-period-filter:focus {
  outline: none;
  border-color: rgba(0, 113, 227, 0.45);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.35);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .btn {
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 113, 227, 0.35);
  background: #ffffff;
  color: #0071e3;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .btn:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-student-open-create,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-add-student,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-crm-save,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-crm-open-message-progress {
  border-color: rgba(0, 113, 227, 0.42);
  background: linear-gradient(165deg, #0a84ff 0%, #0071e3 55%, #0064d1 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 113, 227, 0.22);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-student-open-create:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-add-student:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-crm-save:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-crm-open-message-progress:hover {
  border-color: rgba(0, 113, 227, 0.55);
  background: linear-gradient(165deg, #1a8cff 0%, #0077ed 55%, #006adc 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 113, 227, 0.26);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-crm-save {
  min-height: 44px;
  padding: 10px 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 18px rgba(0, 113, 227, 0.28);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-payment-action {
  border-color: rgba(14, 165, 233, 0.42);
  background: linear-gradient(165deg, #38bdf8 0%, #0ea5e9 55%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(14, 165, 233, 0.22);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-payment-action:hover {
  border-color: rgba(14, 165, 233, 0.55);
  background: linear-gradient(165deg, #7dd3fc 0%, #38bdf8 40%, #0ea5e9 100%);
  color: #0c4a6e;
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.26);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-crm-extend-access,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-crm-reactivate,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-row-extend-btn {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(165deg, #34d399 0%, #10b981 60%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-crm-extend-access:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-crm-reactivate:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-row-extend-btn:hover {
  color: #ffffff;
  border-color: rgba(16, 185, 129, 0.55);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .btn.danger,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-crm-delete,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-student-bulk-delete,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-row-delete-btn {
  border-color: rgba(220, 80, 80, 0.32);
  background: rgba(255, 246, 246, 0.98);
  color: #b42318;
  box-shadow: 0 4px 10px rgba(180, 35, 24, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .btn.danger:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-crm-delete:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-student-bulk-delete:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-row-delete-btn:hover {
  border-color: rgba(220, 80, 80, 0.45);
  background: #fff1f1;
  color: #9b1c1c;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-student-bulk-delete:disabled {
  opacity: 0.5;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-row-deactivate-btn,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #btn-tp-student-create-close {
  background: rgba(248, 250, 252, 0.96);
  color: #334155;
}

/* —— Filter dock (list workspace only) —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-filter-dock {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(147, 197, 253, 0.48);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(237, 233, 254, 0.55), transparent 58%),
    radial-gradient(ellipse 70% 100% at 100% 0%, rgba(186, 230, 253, 0.32), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 24px rgba(15, 23, 42, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-filter-dock .tp-student-list-toolbar {
  margin-top: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-filter-dock .tp-list-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-filter-dock #btn-tenant-panel-refresh-students {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(125, 211, 252, 0.55);
  border-radius: 13px;
  background:
    linear-gradient(165deg, rgba(240, 249, 255, 0.98) 0%, rgba(224, 242, 254, 0.9) 100%);
  color: #0c4a6e;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 4px 12px rgba(14, 165, 233, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-filter-dock #btn-tenant-panel-refresh-students:hover {
  border-color: rgba(14, 165, 233, 0.55);
  background: #f0f9ff;
  color: #075985;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-filter-dock #btn-tp-student-open-create {
  min-height: 44px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-filter-dock #tp-student-search {
  flex: 1 1 280px;
  min-width: 220px;
  max-width: none;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(125, 211, 252, 0.58);
  background:
    linear-gradient(180deg, rgba(240, 249, 255, 0.98) 0%, rgba(224, 242, 254, 0.78) 100%);
  color: #1d1d1f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 10px rgba(14, 165, 233, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-filter-dock #tp-student-search::placeholder {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-filter-dock #tp-student-search:focus {
  outline: none;
  border-color: rgba(0, 113, 227, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 3px rgba(0, 122, 255, 0.22);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-period-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 8px 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background:
    linear-gradient(180deg, rgba(245, 243, 255, 0.98) 0%, rgba(237, 233, 254, 0.82) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 10px rgba(99, 102, 241, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-period-field__label {
  color: #5b21b6;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-period-field #tp-student-period-filter {
  min-height: 40px;
  min-width: 148px;
  margin: 0;
  padding: 0 8px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #1d1d1f;
  font-weight: 600;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-period-field #tp-student-period-filter:focus {
  outline: 2px solid #007aff;
  outline-offset: 1px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-passive-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, 0.42);
  background:
    linear-gradient(180deg, rgba(240, 253, 250, 0.96) 0%, rgba(204, 251, 241, 0.55) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 10px rgba(13, 148, 136, 0.08);
  cursor: pointer;
  user-select: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-passive-toggle:has(#tp-show-passive:checked) {
  border-color: rgba(20, 184, 166, 0.58);
  background:
    linear-gradient(180deg, rgba(204, 251, 241, 0.98) 0%, rgba(167, 243, 208, 0.55) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-passive-toggle #tp-show-passive {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  flex: 0 0 auto;
  border-radius: 6px;
  border: 1.5px solid rgba(13, 148, 136, 0.5);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  cursor: pointer;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-passive-toggle #tp-show-passive:checked {
  border-color: #0f766e;
  background-color: #14b8a6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-passive-toggle #tp-show-passive:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-passive-toggle #tp-crm-show-passive-label {
  color: #0f766e;
  font-weight: 700;
}

/* —— Left list panel —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-list-panel {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(186, 230, 253, 0.45), transparent 58%),
    linear-gradient(180deg, #e7f3fb 0%, #edf4fb 100%);
  border: 1.5px solid rgba(125, 211, 252, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 14px 32px rgba(14, 116, 144, 0.12);
  padding: 12px;
  border-radius: 18px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-bulk-toolbar {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(196, 181, 253, 0.5);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(237, 233, 254, 0.55), transparent 60%),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 6px 16px rgba(15, 23, 42, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-bulk-select-all {
  color: #1d1d1f;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-bulk-selected-count {
  color: #475569;
  font-weight: 600;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-list-empty {
  color: #64748b;
  background: rgba(255, 255, 255, 0.55);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 16px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* —— Student row cards + CSS avatar well —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row {
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.38);
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 24px rgba(15, 23, 42, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row:hover {
  border-color: rgba(14, 165, 233, 0.55);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(186, 230, 253, 0.28), transparent 62%),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 14px 28px rgba(14, 165, 233, 0.14);
}

@media (hover: hover) and (pointer: fine) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row:hover {
    transform: translateY(-1px);
  }
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row.is-selected {
  border-color: rgba(20, 184, 166, 0.7);
  background:
    linear-gradient(90deg, rgba(20, 184, 166, 0.95) 0 4px, transparent 4px),
    linear-gradient(180deg, #ecfeff 0%, #f0fdfa 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 2px rgba(45, 212, 191, 0.35),
    0 12px 28px rgba(13, 148, 136, 0.16);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row-main {
  display: grid;
  grid-template-columns: 48px minmax(0, 1.4fr) minmax(140px, 0.9fr);
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 4px;
  align-items: center;
  cursor: pointer;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row-main::before {
  content: "\f007";
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
  font-weight: 900;
  font-size: 1rem;
  line-height: 48px;
  text-align: center;
  color: #0e7490;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.95), transparent 42%),
    linear-gradient(165deg, #e0f2fe 0%, #ccfbf1 100%);
  border: 1px solid rgba(125, 211, 252, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 10px rgba(14, 116, 144, 0.08);
  pointer-events: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row-main.has-real-avatar::before {
  content: none;
  display: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row-avatar {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(125, 211, 252, 0.55);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.95), transparent 42%),
    linear-gradient(165deg, #e0f2fe 0%, #ccfbf1 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 10px rgba(14, 116, 144, 0.08);
  color: #0e7490;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: default;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row-avatar.has-photo {
  cursor: zoom-in;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row-top,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-sub {
  grid-column: 2;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-meta {
  display: flex;
  grid-column: 3;
  grid-row: 1 / span 2;
  min-width: 0;
  align-self: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-name {
  color: #1d1d1f;
  font-weight: 750;
  letter-spacing: -0.01em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-sub {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-status-badge.is-active {
  background: rgba(236, 253, 245, 0.95);
  color: #047857;
  border: 1px solid rgba(167, 243, 208, 0.8);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-status-badge.is-passive {
  background: rgba(255, 241, 242, 0.9);
  color: #9f1239;
  border: 1px solid rgba(254, 205, 211, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-period-chip {
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.32);
  color: #334155;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-access-chip {
  background: rgba(224, 242, 254, 0.92);
  border: 1px solid rgba(125, 211, 252, 0.55);
  color: #0369a1;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row-chevron {
  color: #94a3b8;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row-actions {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-row-bulk-select {
  accent-color: #0071e3;
}

/* —— Progress panel —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-progress-panel-title {
  color: #1d1d1f;
  text-shadow: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-progress-placeholder {
  padding: 22px 18px;
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.78);
  color: #64748b;
  text-align: center;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-progress-placeholder::before {
  content: "\f201";
  display: block;
  margin: 0 auto 10px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  line-height: 42px;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
  font-weight: 900;
  font-size: 1rem;
  color: #0284c7;
  background: linear-gradient(165deg, #e0f2fe, #ecfeff);
  border: 1px solid rgba(125, 211, 252, 0.45);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-progress-selected-chip,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-selected-student-badge {
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(167, 243, 208, 0.6);
  background: linear-gradient(165deg, rgba(236, 253, 245, 0.95), rgba(224, 242, 254, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-selected-label {
  color: #0f766e;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-progress-selected-name,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-selected-student-name {
  color: #1d1d1f;
  font-weight: 750;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary.sa-progress-summary {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-loading,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-empty {
  color: #64748b;
  background: rgba(248, 250, 252, 0.85);
  border: 1px dashed rgba(148, 163, 184, 0.32);
  border-radius: 14px;
  padding: 14px 16px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-section h5 {
  color: #1d1d1f;
  font-weight: 750;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metrics {
  gap: 10px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metric-card {
  min-height: 86px;
  border-radius: 16px;
  padding: 12px 14px;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 6px 16px rgba(15, 23, 42, 0.04);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metric-card .num {
  color: #1d1d1f;
  font-weight: 800;
  letter-spacing: -0.03em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metric-card .label {
  color: #475569;
  font-weight: 600;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metric-card .hint {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metrics > .sa-progress-metric-card:nth-child(5n+1) {
  border-color: rgba(125, 211, 252, 0.5);
  background-image: radial-gradient(ellipse 90% 80% at 100% 0%, rgba(186, 230, 253, 0.45), transparent 68%), linear-gradient(165deg, #ffffff, #f0f9ff);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metrics > .sa-progress-metric-card:nth-child(5n+2) {
  border-color: rgba(167, 243, 208, 0.55);
  background-image: radial-gradient(ellipse 90% 80% at 100% 0%, rgba(167, 243, 208, 0.4), transparent 68%), linear-gradient(165deg, #ffffff, #f0fdf4);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metrics > .sa-progress-metric-card:nth-child(5n+3) {
  border-color: rgba(196, 181, 253, 0.5);
  background-image: radial-gradient(ellipse 90% 80% at 100% 0%, rgba(221, 214, 254, 0.45), transparent 68%), linear-gradient(165deg, #ffffff, #f5f3ff);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metrics > .sa-progress-metric-card:nth-child(5n+4) {
  border-color: rgba(253, 186, 116, 0.5);
  background-image: radial-gradient(ellipse 90% 80% at 100% 0%, rgba(254, 215, 170, 0.42), transparent 68%), linear-gradient(165deg, #ffffff, #fff7ed);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metrics > .sa-progress-metric-card:nth-child(5n+5) {
  border-color: rgba(125, 211, 252, 0.42);
  background-image: radial-gradient(ellipse 90% 80% at 100% 0%, rgba(186, 230, 253, 0.32), transparent 68%), linear-gradient(165deg, #ffffff, #f8fafc);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-kv-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  font-size: 0.86rem;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-kv-list li .key {
  color: #64748b;
  font-weight: 600;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-kv-list li .val {
  color: #1d1d1f;
  font-weight: 750;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-lesson-row {
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.94), rgba(240, 253, 250, 0.88));
  border: 1px solid rgba(167, 243, 208, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-lesson-row__title {
  color: #1d1d1f;
  font-weight: 650;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-lesson-row__count {
  color: #475569;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-lesson-row__count--filled {
  color: #047857;
  font-weight: 750;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-lesson-row__count--empty {
  color: #94a3b8;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-detail-toggle {
  color: #0071e3;
  background: rgba(240, 249, 255, 0.95);
  border: 1px solid rgba(125, 211, 252, 0.45);
  border-radius: 999px;
  padding: 8px 14px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-table th,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-table td {
  color: #1d1d1f;
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-table th {
  color: #64748b;
}

/* —— Detail panel —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-detail-placeholder {
  padding: 22px 18px;
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.78);
  color: #64748b;
  text-align: center;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-collapse-title {
  color: #1d1d1f;
  text-shadow: none;
  font-size: 1.2rem;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-header-student-pill {
  color: #0e7490;
  background: linear-gradient(165deg, rgba(240, 253, 255, 0.98), rgba(224, 242, 254, 0.92));
  border: 1px solid rgba(125, 211, 252, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel:not(.is-expanded) .tp-detail-compact-header {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(240, 249, 255, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel:not(.is-expanded) .tp-detail-compact-header:hover {
  border-color: rgba(125, 211, 252, 0.5);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-collapse-affordance {
  color: #0071e3;
  border: 1px solid rgba(0, 113, 227, 0.28);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-collapse-trigger:hover .tp-detail-collapse-affordance,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-collapse-trigger:focus-visible .tp-detail-collapse-affordance {
  color: #0071e3;
  border-color: rgba(0, 113, 227, 0.45);
  background: #f0f9ff;
  box-shadow: 0 6px 14px rgba(0, 113, 227, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-summary-name {
  color: #1d1d1f;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-summary-email {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-compact {
  padding: 14px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 80% at 0% 0%, rgba(186, 230, 253, 0.42), transparent 62%),
    linear-gradient(165deg, rgba(240, 249, 255, 0.96), rgba(224, 242, 254, 0.82));
  border: 1px solid rgba(125, 211, 252, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-tile {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 255, 0.9));
  border: 1px solid rgba(125, 211, 252, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-tile__label {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-tile__value {
  color: #1d1d1f;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-tile--email .tp-detail-identity-tile__value {
  color: #0369a1;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-status-badge.is-active {
  background: rgba(236, 253, 245, 0.95);
  color: #047857;
  border: 1px solid rgba(167, 243, 208, 0.8);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-status-badge.is-passive {
  background: rgba(255, 241, 242, 0.92);
  color: #9f1239;
  border: 1px solid rgba(254, 205, 211, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero.has-real-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 16px 16px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 90% at 50% 0%, rgba(186, 230, 253, 0.55), transparent 62%),
    linear-gradient(135deg, rgba(240, 249, 255, 0.96), rgba(224, 242, 254, 0.88));
  border: 1px solid rgba(125, 211, 252, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero.has-real-portrait::before {
  content: none;
  display: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero .tp-student-detail-portrait-wrap {
  width: 100%;
  align-items: center;
  gap: 10px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero .tp-student-detail-portrait {
  width: 148px;
  height: 148px;
  border: 2px solid rgba(125, 211, 252, 0.72);
  background: linear-gradient(165deg, #e0f2fe, #bae6fd);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 22px rgba(14, 165, 233, 0.16);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero .tp-student-detail-portrait-fallback {
  color: #0369a1;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero .tp-student-detail-photo-action {
  border: 1px solid rgba(125, 211, 252, 0.55);
  background:
    linear-gradient(165deg, rgba(240, 253, 255, 0.98) 0%, rgba(224, 242, 254, 0.9) 100%);
  color: #0e7490;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero .tp-student-detail-photo-file-name,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero .tp-student-detail-photo-msg {
  color: #64748b;
  max-width: 96px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active, .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-phone-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active, .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-phone-input {
  flex: 1 1 140px;
  min-width: 0;
  max-width: 220px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(125, 211, 252, 0.55);
  background: rgba(255, 255, 255, 0.92);
  color: #1d1d1f;
  font-size: 0.82rem;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active, .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-phone-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active, .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-phone-action-btn {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.55);
  background: linear-gradient(165deg, rgba(240, 253, 255, 0.98), rgba(224, 242, 254, 0.9));
  color: #0e7490;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active, .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-phone-action-btn.is-secondary {
  background: rgba(248, 250, 252, 0.92);
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active, .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-phone-action-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active, .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-phone-msg {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.3;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-access-grid {
  padding: 14px 16px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(167, 243, 208, 0.45), transparent 68%),
    linear-gradient(165deg, rgba(236, 253, 245, 0.96), rgba(209, 250, 229, 0.78));
  border: 1px solid rgba(52, 211, 153, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-detail-access-status,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-detail-access-remaining,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-detail-access-expires {
  color: #1d1d1f;
  font-weight: 650;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-section-title {
  color: #1d1d1f;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-pay-section {
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(254, 243, 199, 0.42), transparent 62%),
    linear-gradient(165deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.9));
  border: 1px solid rgba(253, 186, 116, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 8px 20px rgba(180, 83, 9, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-pay-action-section {
  margin-top: 18px;
  padding-top: 16px;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(186, 230, 253, 0.5), transparent 62%),
    linear-gradient(165deg, rgba(240, 249, 255, 0.98), rgba(224, 242, 254, 0.9));
  border: 1px solid rgba(56, 189, 248, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 8px 20px rgba(14, 165, 233, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-payment-history-panel {
  margin-top: 16px;
  background:
    radial-gradient(ellipse 80% 70% at 0% 100%, rgba(226, 232, 240, 0.55), transparent 62%),
    linear-gradient(165deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 8px 20px rgba(15, 23, 42, 0.04);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-pay-metric {
  background: linear-gradient(165deg, #ffffff, #f8fafc);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-pay-metric-label {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-pay-sum-total {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-pay-metrics .tp-pay-metric:nth-child(1) {
  border-color: rgba(125, 211, 252, 0.45);
  background: linear-gradient(165deg, #ffffff, #f0f9ff);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-pay-metrics .tp-pay-metric:nth-child(2) {
  border-color: rgba(167, 243, 208, 0.6);
  background: linear-gradient(165deg, #ffffff, #ecfdf5);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-pay-sum-paid {
  color: #047857;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-pay-metric--remaining {
  border-color: rgba(251, 191, 36, 0.5);
  background: linear-gradient(165deg, #fffbeb, #fff7ed);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-pay-sum-remaining,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-pay-metric--remaining .tp-pay-metric-value {
  color: #b45309;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-remaining-box {
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: linear-gradient(145deg, #fffbeb, #fff7ed);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-remaining-emphasis,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-remaining-value {
  color: #b45309;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-remaining-label {
  color: #92400e;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-payment-history-table-wrap {
  color: #1d1d1f;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel #tp-payment-history table {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel #tp-payment-history th {
  color: #64748b;
  background: rgba(248, 250, 252, 0.96);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel #tp-payment-history td {
  color: #1d1d1f;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel #tp-payment-history td strong {
  color: #047857;
}

@media (hover: hover) and (pointer: fine) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel #tp-payment-history tbody tr:hover td {
    background: rgba(240, 249, 255, 0.7);
  }
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-mobile-message-option-btn {
  background: rgba(240, 249, 255, 0.95);
  color: #0071e3;
}

/* —— Phase C+D workspace polish (students nav only) —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-list-back-btn {
  border-color: rgba(125, 211, 252, 0.45);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.94));
  color: #0369a1;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-list-back-btn:hover {
  border-color: rgba(14, 165, 233, 0.55);
  background: #f0f9ff;
  color: #0c4a6e;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students.is-tp-student-detail-workspace #tp-student-progress-panel.tp-student-progress-panel {
  background-image:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(186, 230, 253, 0.58), transparent 62%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(221, 214, 254, 0.48), transparent 58%),
    linear-gradient(178deg, rgba(248, 250, 255, 0.98) 0%, rgba(245, 243, 255, 0.94) 100%);
  border: 1px solid rgba(147, 139, 250, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 16px 36px rgba(99, 102, 241, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students.is-tp-student-detail-workspace #tp-student-detail-panel.card {
  background-image:
    radial-gradient(ellipse 80% 55% at 0% 0%, rgba(186, 230, 253, 0.42), transparent 62%),
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(254, 243, 199, 0.22), transparent 58%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.94) 100%);
  border: 1px solid rgba(125, 211, 252, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 16px 36px rgba(14, 165, 233, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-section {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-section:has(.fa-file-circle-check) {
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(186, 230, 253, 0.48), transparent 68%),
    linear-gradient(165deg, rgba(239, 246, 255, 0.98), rgba(219, 234, 254, 0.78));
  border: 1px solid rgba(147, 197, 253, 0.5);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-section:has(.fa-book-open) {
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(167, 243, 208, 0.42), transparent 68%),
    linear-gradient(165deg, rgba(240, 253, 250, 0.98), rgba(204, 251, 241, 0.78));
  border: 1px solid rgba(94, 234, 212, 0.48);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-section:has(.fa-trophy) {
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(221, 214, 254, 0.5), transparent 68%),
    linear-gradient(165deg, rgba(245, 243, 255, 0.98), rgba(237, 233, 254, 0.82));
  border: 1px solid rgba(196, 181, 253, 0.52);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-summary .sa-progress-section:has(.fa-mobile-screen) {
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(165, 243, 252, 0.4), transparent 68%),
    linear-gradient(165deg, rgba(236, 254, 255, 0.98), rgba(207, 250, 254, 0.78));
  border: 1px solid rgba(103, 232, 249, 0.45);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-pay-metrics {
  padding: 12px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(226, 232, 240, 0.45), transparent 62%),
    linear-gradient(165deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.22);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-save-row {
  margin-top: 16px;
  margin-bottom: 4px;
  padding: 14px 4px 4px;
  border-top: 1px solid rgba(253, 186, 116, 0.28);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students.is-tp-student-create-drawer-open #tp-student-create-drawer-backdrop {
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students.is-tp-student-create-drawer-open #tp-student-create-card {
  color: #1d1d1f;
  background:
    radial-gradient(ellipse 90% 50% at 100% 0%, rgba(209, 245, 230, 0.42), transparent 58%),
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(186, 230, 253, 0.38), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  border: 1px solid rgba(125, 211, 252, 0.4);
  border-right: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    -24px 0 56px rgba(15, 23, 42, 0.18);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students.is-tp-student-create-drawer-open #tp-student-create-card h2,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students.is-tp-student-create-drawer-open #tp-crm-create-title {
  color: #0f172a;
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students.is-tp-student-create-drawer-open #btn-tp-student-create-close {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.94);
  color: #334155;
}

/* —— Mobile overlay (students nav only; stacked payment table preserved) —— */
@media (max-width: 1100px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-filter-dock #tp-student-search {
    flex: 1 1 100%;
    min-width: 0;
  }
}

@media (max-width: 720px),
       (max-width: 900px) and (max-height: 500px) and (pointer: coarse) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-filter-dock {
    padding: 12px;
    gap: 12px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-filter-dock .tp-list-filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-filter-dock #tp-student-search,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-period-field,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-passive-toggle {
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-period-field #tp-student-period-filter {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row-main::before {
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 0.9rem;
    grid-row: 1 / span 3;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row-avatar {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    grid-row: 1 / span 3;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row-main {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-meta {
    grid-column: 2;
    grid-row: auto;
    justify-content: flex-start;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero.has-real-portrait {
    padding: 16px 14px 14px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero .tp-student-detail-portrait {
    width: 128px;
    height: 128px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-progress-panel,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-panel.card {
    min-height: 0;
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-mobile-msg {
    border-color: rgba(0, 113, 227, 0.42);
    background: linear-gradient(165deg, #0a84ff 0%, #0071e3 55%, #0064d1 100%);
    color: #ffffff;
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="students"].active) #tp-section-students #tp-student-detail-mobile-status-action {
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(165deg, #34d399 0%, #10b981 60%, #059669 100%);
    color: #ffffff;
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-mobile-detail-shell {
    background:
      radial-gradient(120% 70% at 0% 0%, rgba(186, 230, 253, 0.35), transparent 55%),
      linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-detail-mobile-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-detail-mobile-back {
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #ffffff;
    color: #1d1d1f;
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-detail-mobile-title {
    color: #1d1d1f;
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-detail-mobile-access {
    color: #0369a1;
    background: rgba(224, 242, 254, 0.9);
    border: 1px solid rgba(125, 211, 252, 0.45);
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-detail-mobile-actions {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98));
    border-top: 1px solid rgba(148, 163, 184, 0.22);
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="students"].active) #tp-payment-history tr {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.22);
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="students"].active) #tp-payment-history td {
    color: #1d1d1f;
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="students"].active) #tp-payment-history td::before {
    color: #64748b;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .btn:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .card:not(.institution-chat-panel):hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row:hover {
    transform: none;
  }
}

/* =============================================================================
   Tenant İş Makineleri Adayları — Liquid Light showcase (visual only)
   GATED on .tp-nav-btn[data-tp-section="machine-candidates"].active
   NEVER on #tp-section-students.active alone.
   Distinct sand/amber/cyan identity — do not copy Students teal 1:1.
   ============================================================================= */

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display: block"] .tp-nav-btn[data-tp-section="machine-candidates"].active),
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display:block"] .tp-nav-btn[data-tp-section="machine-candidates"].active) {
  color: #1d1d1f;
  background: #eef3f8;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display: block"] .tp-nav-btn[data-tp-section="machine-candidates"].active)::before,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display:block"] .tp-nav-btn[data-tp-section="machine-candidates"].active)::before {
  background:
    radial-gradient(ellipse 70% 48% at 8% -6%, rgba(224, 242, 254, 0.48), transparent 62%),
    radial-gradient(ellipse 52% 38% at 96% 4%, rgba(254, 243, 199, 0.26), transparent 58%),
    radial-gradient(ellipse 48% 34% at 78% 100%, rgba(207, 250, 254, 0.28), transparent 62%),
    linear-gradient(180deg, #eef3f8 0%, #f3f5f7 48%, #f6f4ef 100%);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display: block"] .tp-nav-btn[data-tp-section="machine-candidates"].active)::after,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display:block"] .tp-nav-btn[data-tp-section="machine-candidates"].active)::after {
  content: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) {
  background: transparent;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students.active::before {
  content: none;
  background: none;
  box-shadow: none;
}

/* —— Institution header (machine-candidates nav only) —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tenant-panel-header.card,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tenant-panel-header.card:not(.institution-chat-panel) {
  color: #1d1d1f;
  background-color: #f8fafc;
  background-image:
    radial-gradient(ellipse 86% 70% at 8% 0%, rgba(209, 245, 230, 0.4), transparent 62%),
    radial-gradient(ellipse 48% 60% at 100% 0%, rgba(186, 230, 253, 0.22), transparent 58%),
    linear-gradient(178deg, #ffffff 0%, #f6f9fc 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 32px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tenant-panel-header.card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tenant-panel-header.card::after,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tenant-panel-header.card:not(.institution-chat-panel)::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tenant-panel-header.card:not(.institution-chat-panel)::after {
  content: none;
  display: none;
  background: none;
  opacity: 0;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tenant-panel-header h2.tp-hero-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tenant-panel-header .tp-hero-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tenant-panel-header #tenant-panel-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tenant-panel-header.card:not(.institution-chat-panel) h2 {
  color: #1d1d1f !important;
  text-shadow: none !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tp-hero-context,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tenant-panel-header .muted,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tp-hero-meta,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tenant-panel-subtitle {
  color: #6e6e73;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tenant-panel-logo-wrap {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tenant-panel-admin-identity.tp-admin-identity-chip,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tp-admin-identity-chip {
  border: 1px solid rgba(167, 243, 208, 0.55);
  background: rgba(236, 253, 245, 0.92);
  color: #1d1d1f;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tenant-panel-header #btn-tenant-panel-back,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #btn-tenant-panel-back {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-instructor-live-clock.tp-instructor-live-clock,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tp-hero-aside .tp-instructor-live-clock {
  border: 1px solid rgba(186, 230, 253, 0.7);
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 12px rgba(15, 23, 42, 0.04);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tp-instructor-live-clock__kicker,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tp-instructor-live-clock__tz {
  color: #0071e3;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tp-instructor-live-clock__date,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) .tp-instructor-live-clock__time {
  color: #1d1d1f;
}

/* —— Shared CRM surfaces inside machine-candidates-nav-active #tp-section-students —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-crm-layout {
  gap: 24px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .card:not(.institution-chat-panel),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-panel.tp-student-progress-panel,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel.card {
  color: #1d1d1f;
  --admin-card-accent: #67e8f9;
  --admin-card-glow: rgba(125, 211, 252, 0.22);
  --admin-card-border: rgba(148, 163, 184, 0.22);
  --admin-card-sheen: rgba(209, 245, 230, 0.2);
  background-color: #ffffff;
  background-image:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(224, 242, 254, 0.55), transparent 62%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(209, 245, 230, 0.28), transparent 58%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.94) 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 32px rgba(15, 23, 42, 0.07);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .card:not(.institution-chat-panel)::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .card:not(.institution-chat-panel)::after {
  content: none;
  display: none;
  opacity: 0;
  background: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .card:not(.institution-chat-panel):hover {
  border-color: rgba(125, 211, 252, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 14px 32px rgba(15, 23, 42, 0.09);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-crm-master > .card:not(#tp-student-create-card) {
  background-color: #f7f5f0;
  background-image:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(254, 243, 199, 0.42), transparent 62%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(186, 230, 253, 0.28), transparent 58%),
    linear-gradient(178deg, #fbfaf6 0%, #f1f5f8 100%);
  border: 1px solid rgba(56, 189, 248, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 16px 40px rgba(15, 23, 42, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .card:not(.institution-chat-panel) h2,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-crm-list-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-crm-create-title {
  color: #1d1d1f;
  text-shadow: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .muted {
  color: #6e6e73;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-field label,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .field label {
  color: #64748b;
  letter-spacing: 0.04em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-field input,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-field select,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-field textarea,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .field input,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .field select,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students input.field,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-search,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-period-filter,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-payment-total,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-payment-paid,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-payment-installment,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-payment-monthly,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-payment-note,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-payment-action-amount,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-payment-action-note {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 13px;
  color: #1d1d1f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-field input::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .field input::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-search::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-payment-note::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-payment-action-note::placeholder {
  color: #94a3b8;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-field input:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-field select:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .field input:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .field select:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-search:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-period-filter:focus {
  outline: none;
  border-color: rgba(0, 113, 227, 0.45);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.35);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .btn {
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 113, 227, 0.35);
  background: #ffffff;
  color: #0071e3;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .btn:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-student-open-create,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-add-student,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-crm-save,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-crm-open-message-progress {
  border-color: rgba(0, 113, 227, 0.42);
  background: linear-gradient(165deg, #0a84ff 0%, #0071e3 55%, #0064d1 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 113, 227, 0.22);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-student-open-create:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-add-student:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-crm-save:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-crm-open-message-progress:hover {
  border-color: rgba(0, 113, 227, 0.55);
  background: linear-gradient(165deg, #1a8cff 0%, #0077ed 55%, #006adc 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 113, 227, 0.26);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-crm-save {
  min-height: 44px;
  padding: 10px 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 18px rgba(0, 113, 227, 0.28);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-payment-action {
  border-color: rgba(14, 165, 233, 0.42);
  background: linear-gradient(165deg, #38bdf8 0%, #0ea5e9 55%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(14, 165, 233, 0.22);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-payment-action:hover {
  border-color: rgba(14, 165, 233, 0.55);
  background: linear-gradient(165deg, #7dd3fc 0%, #38bdf8 40%, #0ea5e9 100%);
  color: #0c4a6e;
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.26);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-crm-extend-access,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-crm-reactivate,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-row-extend-btn {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(165deg, #34d399 0%, #10b981 60%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-crm-extend-access:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-crm-reactivate:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-row-extend-btn:hover {
  color: #ffffff;
  border-color: rgba(16, 185, 129, 0.55);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .btn.danger,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-crm-delete,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-student-bulk-delete,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-row-delete-btn {
  border-color: rgba(220, 80, 80, 0.32);
  background: rgba(255, 246, 246, 0.98);
  color: #b42318;
  box-shadow: 0 4px 10px rgba(180, 35, 24, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .btn.danger:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-crm-delete:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-student-bulk-delete:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-row-delete-btn:hover {
  border-color: rgba(220, 80, 80, 0.45);
  background: #fff1f1;
  color: #9b1c1c;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-student-bulk-delete:disabled {
  opacity: 0.5;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-row-deactivate-btn,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #btn-tp-student-create-close {
  background: rgba(248, 250, 252, 0.96);
  color: #334155;
}

/* —— Filter dock (list workspace only) —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-filter-dock {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(253, 224, 71, 0.38);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(255, 251, 235, 0.7), transparent 58%),
    radial-gradient(ellipse 70% 100% at 100% 0%, rgba(224, 242, 254, 0.4), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 24px rgba(14, 165, 233, 0.07);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-filter-dock .tp-student-list-toolbar {
  margin-top: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-filter-dock .tp-list-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-filter-dock #btn-tenant-panel-refresh-students {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(125, 211, 252, 0.55);
  border-radius: 13px;
  background:
    linear-gradient(165deg, rgba(240, 249, 255, 0.98) 0%, rgba(224, 242, 254, 0.9) 100%);
  color: #0c4a6e;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 4px 12px rgba(14, 165, 233, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-filter-dock #btn-tenant-panel-refresh-students:hover {
  border-color: rgba(14, 165, 233, 0.55);
  background: #f0f9ff;
  color: #075985;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-filter-dock #btn-tp-student-open-create {
  min-height: 44px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-filter-dock #tp-student-search {
  flex: 1 1 280px;
  min-width: 220px;
  max-width: none;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(125, 211, 252, 0.58);
  background:
    linear-gradient(180deg, rgba(240, 249, 255, 0.98) 0%, rgba(224, 242, 254, 0.78) 100%);
  color: #1d1d1f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 10px rgba(14, 165, 233, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-filter-dock #tp-student-search::placeholder {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-filter-dock #tp-student-search:focus {
  outline: none;
  border-color: rgba(0, 113, 227, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 3px rgba(0, 122, 255, 0.22);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-period-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 8px 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 251, 235, 0.98) 0%, rgba(254, 243, 199, 0.55) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 10px rgba(14, 165, 233, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-period-field__label {
  color: #a16207;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-period-field #tp-student-period-filter {
  min-height: 40px;
  min-width: 148px;
  margin: 0;
  padding: 0 8px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #1d1d1f;
  font-weight: 600;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-period-field #tp-student-period-filter:focus {
  outline: 2px solid #007aff;
  outline-offset: 1px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-passive-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, 0.42);
  background:
    linear-gradient(180deg, rgba(240, 253, 250, 0.96) 0%, rgba(204, 251, 241, 0.55) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 10px rgba(13, 148, 136, 0.08);
  cursor: pointer;
  user-select: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-passive-toggle:has(#tp-show-passive:checked) {
  border-color: rgba(20, 184, 166, 0.58);
  background:
    linear-gradient(180deg, rgba(204, 251, 241, 0.98) 0%, rgba(167, 243, 208, 0.55) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-passive-toggle #tp-show-passive {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  flex: 0 0 auto;
  border-radius: 6px;
  border: 1.5px solid rgba(13, 148, 136, 0.5);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  cursor: pointer;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-passive-toggle #tp-show-passive:checked {
  border-color: #0f766e;
  background-color: #14b8a6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-passive-toggle #tp-show-passive:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-passive-toggle #tp-crm-show-passive-label {
  color: #0f766e;
  font-weight: 700;
}

/* —— Left list panel —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-list-panel {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(254, 243, 199, 0.38), transparent 58%),
    linear-gradient(180deg, #f6f3eb 0%, #eef4f8 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 14px 32px rgba(14, 165, 233, 0.1);
  padding: 12px;
  border-radius: 18px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-bulk-toolbar {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(196, 181, 253, 0.5);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(237, 233, 254, 0.55), transparent 60%),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 6px 16px rgba(15, 23, 42, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-bulk-select-all {
  color: #1d1d1f;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-bulk-selected-count {
  color: #475569;
  font-weight: 600;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-list-empty {
  color: #64748b;
  background: rgba(255, 255, 255, 0.55);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 16px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* —— Candidate row cards + CSS truck avatar well —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row {
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(253, 230, 138, 0.55);
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 24px rgba(15, 23, 42, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(254, 243, 199, 0.32), transparent 62%),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 14px 28px rgba(14, 165, 233, 0.12);
}

@media (hover: hover) and (pointer: fine) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row:hover {
    transform: translateY(-1px);
  }
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row.is-selected {
  border-color: rgba(56, 189, 248, 0.55);
  background:
    linear-gradient(90deg, #fbbf24 0 4px, transparent 4px),
    linear-gradient(180deg, #fffefb 0%, #f0f9ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 2px rgba(56, 189, 248, 0.32),
    0 12px 28px rgba(14, 165, 233, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row-main {
  display: grid;
  grid-template-columns: 48px minmax(0, 1.4fr) minmax(140px, 0.9fr);
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 4px;
  align-items: center;
  cursor: pointer;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row-main::before {
  content: "\f0d1";
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
  font-weight: 900;
  font-size: 1rem;
  line-height: 48px;
  text-align: center;
  color: #ca8a04;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.95), transparent 42%),
    linear-gradient(165deg, #fffbeb 0%, #e0f2fe 100%);
  border: 1px solid rgba(253, 224, 71, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 10px rgba(14, 165, 233, 0.08);
  pointer-events: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row-main.has-real-avatar::before {
  content: none;
  display: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row-avatar {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(253, 224, 71, 0.55);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.95), transparent 42%),
    linear-gradient(165deg, #fffbeb 0%, #e0f2fe 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 10px rgba(14, 165, 233, 0.08);
  color: #ca8a04;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: default;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row-avatar.has-photo {
  cursor: zoom-in;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row-top,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-sub {
  grid-column: 2;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-meta {
  display: flex;
  grid-column: 3;
  grid-row: 1 / span 2;
  min-width: 0;
  align-self: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-name {
  color: #1d1d1f;
  font-weight: 750;
  letter-spacing: -0.01em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-sub {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-status-badge.is-active {
  background: rgba(236, 253, 245, 0.95);
  color: #047857;
  border: 1px solid rgba(167, 243, 208, 0.8);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-status-badge.is-passive {
  background: rgba(255, 241, 242, 0.9);
  color: #9f1239;
  border: 1px solid rgba(254, 205, 211, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-period-chip {
  background: rgba(255, 251, 235, 0.95);
  border: 1px solid rgba(253, 224, 71, 0.55);
  color: #a16207;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-access-chip {
  background: rgba(224, 242, 254, 0.92);
  border: 1px solid rgba(125, 211, 252, 0.55);
  color: #0369a1;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row-chevron {
  color: #94a3b8;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row-actions {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-row-bulk-select {
  accent-color: #0071e3;
}

/* —— Progress panel —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-progress-panel-title {
  color: #1d1d1f;
  text-shadow: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-progress-placeholder {
  padding: 22px 18px;
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.78);
  color: #64748b;
  text-align: center;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-progress-placeholder::before {
  content: "\f201";
  display: block;
  margin: 0 auto 10px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  line-height: 42px;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
  font-weight: 900;
  font-size: 1rem;
  color: #0284c7;
  background: linear-gradient(165deg, #e0f2fe, #ecfeff);
  border: 1px solid rgba(125, 211, 252, 0.45);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-progress-selected-chip,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-selected-student-badge {
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(167, 243, 208, 0.6);
  background: linear-gradient(165deg, rgba(236, 253, 245, 0.95), rgba(224, 242, 254, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-selected-label {
  color: #0f766e;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-progress-selected-name,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-selected-student-name {
  color: #1d1d1f;
  font-weight: 750;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary.sa-progress-summary {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  container-type: inline-size;
  container-name: tp-machine-progress-kpis;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-loading,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-empty {
  color: #64748b;
  background: rgba(248, 250, 252, 0.85);
  border: 1px dashed rgba(148, 163, 184, 0.32);
  border-radius: 14px;
  padding: 14px 16px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-section h5 {
  color: #1d1d1f;
  font-weight: 750;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metrics,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metrics.sa-progress-metrics--machine {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  justify-items: stretch;
  align-items: stretch;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metrics--machine .sa-progress-metric-card {
  min-width: 0;
  max-width: none;
  width: auto;
  height: 100%;
  padding: 12px 10px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metrics--machine .sa-progress-metric-card .label {
  overflow-wrap: anywhere;
}

@container tp-machine-progress-kpis (max-width: 460px) {
  .sa-progress-metrics.sa-progress-metrics--machine {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metrics.sa-progress-metrics--machine {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metric-card {
  min-height: 86px;
  border-radius: 16px;
  padding: 12px 10px;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 6px 16px rgba(15, 23, 42, 0.04);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metric-card .num {
  color: #1d1d1f;
  font-weight: 800;
  letter-spacing: -0.03em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metric-card .label {
  color: #475569;
  font-weight: 600;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metric-card .hint {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metrics > .sa-progress-metric-card:nth-child(5n+1) {
  border-color: rgba(125, 211, 252, 0.5);
  background-image: radial-gradient(ellipse 90% 80% at 100% 0%, rgba(186, 230, 253, 0.45), transparent 68%), linear-gradient(165deg, #ffffff, #f0f9ff);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metrics > .sa-progress-metric-card:nth-child(5n+2) {
  border-color: rgba(167, 243, 208, 0.55);
  background-image: radial-gradient(ellipse 90% 80% at 100% 0%, rgba(167, 243, 208, 0.4), transparent 68%), linear-gradient(165deg, #ffffff, #f0fdf4);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metrics > .sa-progress-metric-card:nth-child(5n+3) {
  border-color: rgba(196, 181, 253, 0.5);
  background-image: radial-gradient(ellipse 90% 80% at 100% 0%, rgba(221, 214, 254, 0.45), transparent 68%), linear-gradient(165deg, #ffffff, #f5f3ff);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metrics > .sa-progress-metric-card:nth-child(5n+4) {
  border-color: rgba(253, 186, 116, 0.5);
  background-image: radial-gradient(ellipse 90% 80% at 100% 0%, rgba(254, 215, 170, 0.42), transparent 68%), linear-gradient(165deg, #ffffff, #fff7ed);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-metrics > .sa-progress-metric-card:nth-child(5n+5) {
  border-color: rgba(125, 211, 252, 0.42);
  background-image: radial-gradient(ellipse 90% 80% at 100% 0%, rgba(186, 230, 253, 0.32), transparent 68%), linear-gradient(165deg, #ffffff, #f8fafc);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-kv-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  font-size: 0.86rem;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-kv-list li .key {
  color: #64748b;
  font-weight: 600;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-kv-list li .val {
  color: #1d1d1f;
  font-weight: 750;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-lesson-row {
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.94), rgba(240, 253, 250, 0.88));
  border: 1px solid rgba(167, 243, 208, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-lesson-row__title {
  color: #1d1d1f;
  font-weight: 650;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-lesson-row__count {
  color: #475569;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-lesson-row__count--filled {
  color: #047857;
  font-weight: 750;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-lesson-row__count--empty {
  color: #94a3b8;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-detail-toggle {
  color: #0071e3;
  background: rgba(240, 249, 255, 0.95);
  border: 1px solid rgba(125, 211, 252, 0.45);
  border-radius: 999px;
  padding: 8px 14px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-table th,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-table td {
  color: #1d1d1f;
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-table th {
  color: #64748b;
}

/* —— Detail panel —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-detail-placeholder {
  padding: 22px 18px;
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.78);
  color: #64748b;
  text-align: center;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-collapse-title {
  color: #1d1d1f;
  text-shadow: none;
  font-size: 1.2rem;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-header-student-pill {
  color: #0e7490;
  background: linear-gradient(165deg, rgba(255, 251, 235, 0.98), rgba(224, 242, 254, 0.92));
  border: 1px solid rgba(125, 211, 252, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel:not(.is-expanded) .tp-detail-compact-header {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(240, 249, 255, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel:not(.is-expanded) .tp-detail-compact-header:hover {
  border-color: rgba(125, 211, 252, 0.5);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-collapse-affordance {
  color: #0071e3;
  border: 1px solid rgba(0, 113, 227, 0.28);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-collapse-trigger:hover .tp-detail-collapse-affordance,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-collapse-trigger:focus-visible .tp-detail-collapse-affordance {
  color: #0071e3;
  border-color: rgba(0, 113, 227, 0.45);
  background: #f0f9ff;
  box-shadow: 0 6px 14px rgba(0, 113, 227, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-summary-name {
  color: #1d1d1f;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-summary-email {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-compact {
  padding: 14px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 80% at 0% 0%, rgba(186, 230, 253, 0.42), transparent 62%),
    linear-gradient(165deg, rgba(240, 249, 255, 0.96), rgba(224, 242, 254, 0.82));
  border: 1px solid rgba(125, 211, 252, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-tile {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 255, 0.9));
  border: 1px solid rgba(125, 211, 252, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-tile__label {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-tile__value {
  color: #1d1d1f;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-tile--email .tp-detail-identity-tile__value {
  color: #0369a1;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-status-badge.is-active {
  background: rgba(236, 253, 245, 0.95);
  color: #047857;
  border: 1px solid rgba(167, 243, 208, 0.8);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-status-badge.is-passive {
  background: rgba(255, 241, 242, 0.92);
  color: #9f1239;
  border: 1px solid rgba(254, 205, 211, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero.has-real-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 16px 16px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 90% at 50% 0%, rgba(254, 243, 199, 0.5), transparent 62%),
    linear-gradient(135deg, rgba(255, 251, 235, 0.96), rgba(224, 242, 254, 0.88));
  border: 1px solid rgba(125, 211, 252, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero.has-real-portrait::before {
  content: none;
  display: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero .tp-student-detail-portrait-wrap {
  width: 100%;
  align-items: center;
  gap: 10px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero .tp-student-detail-portrait {
  width: 148px;
  height: 148px;
  border: 2px solid rgba(125, 211, 252, 0.72);
  background: linear-gradient(165deg, #fffbeb, #e0f2fe);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 22px rgba(14, 165, 233, 0.14);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-access-grid {
  padding: 14px 16px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(167, 243, 208, 0.45), transparent 68%),
    linear-gradient(165deg, rgba(236, 253, 245, 0.96), rgba(209, 250, 229, 0.78));
  border: 1px solid rgba(52, 211, 153, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-detail-access-status,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-detail-access-remaining,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-detail-access-expires {
  color: #1d1d1f;
  font-weight: 650;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-section-title {
  color: #1d1d1f;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-pay-section {
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(254, 243, 199, 0.42), transparent 62%),
    linear-gradient(165deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.9));
  border: 1px solid rgba(253, 186, 116, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 8px 20px rgba(180, 83, 9, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-pay-action-section {
  margin-top: 18px;
  padding-top: 16px;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(186, 230, 253, 0.5), transparent 62%),
    linear-gradient(165deg, rgba(240, 249, 255, 0.98), rgba(224, 242, 254, 0.9));
  border: 1px solid rgba(56, 189, 248, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 8px 20px rgba(14, 165, 233, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-payment-history-panel {
  margin-top: 16px;
  background:
    radial-gradient(ellipse 80% 70% at 0% 100%, rgba(226, 232, 240, 0.55), transparent 62%),
    linear-gradient(165deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 8px 20px rgba(15, 23, 42, 0.04);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-pay-metric {
  background: linear-gradient(165deg, #ffffff, #f8fafc);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-pay-metric-label {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-pay-sum-total {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-pay-metrics .tp-pay-metric:nth-child(1) {
  border-color: rgba(125, 211, 252, 0.45);
  background: linear-gradient(165deg, #ffffff, #f0f9ff);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-pay-metrics .tp-pay-metric:nth-child(2) {
  border-color: rgba(167, 243, 208, 0.6);
  background: linear-gradient(165deg, #ffffff, #ecfdf5);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-pay-sum-paid {
  color: #047857;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-pay-metric--remaining {
  border-color: rgba(251, 191, 36, 0.5);
  background: linear-gradient(165deg, #fffbeb, #fff7ed);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-pay-sum-remaining,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-pay-metric--remaining .tp-pay-metric-value {
  color: #b45309;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-remaining-box {
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: linear-gradient(145deg, #fffbeb, #fff7ed);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-remaining-emphasis,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-remaining-value {
  color: #b45309;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-remaining-label {
  color: #92400e;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-payment-history-table-wrap {
  color: #1d1d1f;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel #tp-payment-history table {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel #tp-payment-history th {
  color: #64748b;
  background: rgba(248, 250, 252, 0.96);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel #tp-payment-history td {
  color: #1d1d1f;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel #tp-payment-history td strong {
  color: #047857;
}

@media (hover: hover) and (pointer: fine) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel #tp-payment-history tbody tr:hover td {
    background: rgba(240, 249, 255, 0.7);
  }
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-mobile-message-option-btn {
  background: rgba(240, 249, 255, 0.95);
  color: #0071e3;
}

/* —— Phase C+D workspace polish (machine-candidates nav only) —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-list-back-btn {
  border-color: rgba(125, 211, 252, 0.45);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.94));
  color: #0369a1;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-list-back-btn:hover {
  border-color: rgba(14, 165, 233, 0.55);
  background: #f0f9ff;
  color: #0c4a6e;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students.is-tp-student-detail-workspace #tp-student-progress-panel.tp-student-progress-panel {
  background-image:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(254, 243, 199, 0.55), transparent 62%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(186, 230, 253, 0.42), transparent 58%),
    linear-gradient(178deg, rgba(255, 254, 251, 0.98) 0%, rgba(240, 249, 255, 0.94) 100%);
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 16px 36px rgba(14, 165, 233, 0.09);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students.is-tp-student-detail-workspace #tp-student-detail-panel.card {
  background-image:
    radial-gradient(ellipse 80% 55% at 0% 0%, rgba(186, 230, 253, 0.42), transparent 62%),
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(254, 243, 199, 0.22), transparent 58%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.94) 100%);
  border: 1px solid rgba(125, 211, 252, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 16px 36px rgba(14, 165, 233, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-section {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-section:has(.fa-file-circle-check) {
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 243, 199, 0.5), transparent 68%),
    linear-gradient(165deg, rgba(255, 251, 235, 0.98), rgba(224, 242, 254, 0.78));
  border: 1px solid rgba(251, 191, 36, 0.4);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-section:has(.fa-book-open) {
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(167, 243, 208, 0.42), transparent 68%),
    linear-gradient(165deg, rgba(240, 253, 250, 0.98), rgba(204, 251, 241, 0.78));
  border: 1px solid rgba(94, 234, 212, 0.48);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-section:has(.fa-trophy) {
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(221, 214, 254, 0.5), transparent 68%),
    linear-gradient(165deg, rgba(245, 243, 255, 0.98), rgba(237, 233, 254, 0.82));
  border: 1px solid rgba(196, 181, 253, 0.52);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-summary .sa-progress-section:has(.fa-mobile-screen) {
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(165, 243, 252, 0.4), transparent 68%),
    linear-gradient(165deg, rgba(236, 254, 255, 0.98), rgba(207, 250, 254, 0.78));
  border: 1px solid rgba(103, 232, 249, 0.45);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-pay-metrics {
  padding: 12px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(226, 232, 240, 0.45), transparent 62%),
    linear-gradient(165deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.22);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-save-row {
  margin-top: 16px;
  margin-bottom: 4px;
  padding: 14px 4px 4px;
  border-top: 1px solid rgba(253, 186, 116, 0.28);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students.is-tp-student-create-drawer-open #tp-student-create-drawer-backdrop {
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students.is-tp-student-create-drawer-open #tp-student-create-card {
  color: #1d1d1f;
  background:
    radial-gradient(ellipse 90% 50% at 100% 0%, rgba(254, 243, 199, 0.42), transparent 58%),
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(186, 230, 253, 0.32), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-right: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    -24px 0 56px rgba(15, 23, 42, 0.18);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students.is-tp-student-create-drawer-open #tp-student-create-card h2,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students.is-tp-student-create-drawer-open #tp-crm-create-title {
  color: #0f172a;
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students.is-tp-student-create-drawer-open #btn-tp-student-create-close {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.94);
  color: #334155;
}

/* —— Mobile overlay (machine-candidates nav only; stacked payment table preserved) —— */
@media (max-width: 1100px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-filter-dock #tp-student-search {
    flex: 1 1 100%;
    min-width: 0;
  }
}

@media (max-width: 720px),
       (max-width: 900px) and (max-height: 500px) and (pointer: coarse) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-filter-dock {
    padding: 12px;
    gap: 12px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-filter-dock .tp-list-filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-filter-dock #tp-student-search,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-period-field,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-passive-toggle {
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-period-field #tp-student-period-filter {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row-main::before {
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 0.9rem;
    grid-row: 1 / span 3;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row-avatar {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    grid-row: 1 / span 3;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row-main {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-meta {
    grid-column: 2;
    grid-row: auto;
    justify-content: flex-start;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero.has-real-portrait {
    padding: 16px 14px 14px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel .tp-detail-identity-hero .tp-student-detail-portrait {
    width: 128px;
    height: 128px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-progress-panel,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-panel.card {
    min-height: 0;
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-mobile-msg {
    border-color: rgba(0, 113, 227, 0.42);
    background: linear-gradient(165deg, #0a84ff 0%, #0071e3 55%, #0064d1 100%);
    color: #ffffff;
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students #tp-student-detail-mobile-status-action {
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(165deg, #34d399 0%, #10b981 60%, #059669 100%);
    color: #ffffff;
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-mobile-detail-shell {
    background:
      radial-gradient(120% 70% at 0% 0%, rgba(186, 230, 253, 0.35), transparent 55%),
      linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-detail-mobile-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-detail-mobile-back {
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #ffffff;
    color: #1d1d1f;
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-detail-mobile-title {
    color: #1d1d1f;
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-detail-mobile-access {
    color: #0369a1;
    background: rgba(224, 242, 254, 0.9);
    border: 1px solid rgba(125, 211, 252, 0.45);
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-detail-mobile-actions {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98));
    border-top: 1px solid rgba(148, 163, 184, 0.22);
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-payment-history tr {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.22);
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-payment-history td {
    color: #1d1d1f;
  }

  html[data-sa-theme="liquid-light"] body.tp-mobile-student-detail-open:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-payment-history td::before {
    color: #64748b;
  }
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .sa-progress-machine-exam-cat__title {
  color: #1d1d1f;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .sa-progress-machine-exam-cat {
  padding: 12px 14px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 243, 199, 0.42), transparent 68%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 255, 0.88));
  border: 1px solid rgba(251, 191, 36, 0.32);
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .btn:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .card:not(.institution-chat-panel):hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row:hover {
    transform: none;
  }
}

/* —— Tenant master institution header (board + all workspaces) —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.card.tp-tenant-master-header,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header.card.tp-tenant-master-header,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace .tenant-panel-header.card.tp-tenant-master-header,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-header.card.tp-tenant-master-header,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header.card.tp-tenant-master-header {
  padding: 16px 18px;
  margin-bottom: 16px;
  color: #1d1d1f;
  background-color: #f8fafc;
  background-image:
    radial-gradient(ellipse 88% 78% at 6% -8%, rgba(186, 230, 253, 0.48), transparent 58%),
    radial-gradient(ellipse 52% 70% at 100% -4%, rgba(221, 214, 254, 0.34), transparent 56%),
    radial-gradient(ellipse 42% 50% at 78% 120%, rgba(209, 245, 230, 0.22), transparent 64%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 250, 253, 0.92) 100%);
  border: 1px solid rgba(125, 186, 214, 0.42);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 18px 40px rgba(15, 23, 42, 0.09);
  backdrop-filter: blur(22px) saturate(1.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.card.tp-tenant-master-header::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.card.tp-tenant-master-header::after,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header.card.tp-tenant-master-header::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header.card.tp-tenant-master-header::after,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-header.card.tp-tenant-master-header::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-header.card.tp-tenant-master-header::after,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header.card.tp-tenant-master-header::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header.card.tp-tenant-master-header::after {
  content: none;
  display: none;
  background: none;
  opacity: 0;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 4px;
  padding: 3px 8px;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.5);
  background: rgba(224, 242, 254, 0.78);
  color: #0071e3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header h2.tp-hero-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-hero-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header #tenant-panel-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header.tp-tenant-master-header #tenant-panel-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-header.tp-tenant-master-header #tenant-panel-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header.tp-tenant-master-header #tenant-panel-title {
  color: #1d1d1f !important;
  text-shadow: none !important;
  font-size: clamp(1.18rem, 2.1vw, 1.46rem) !important;
  font-weight: 800;
  line-height: 1.2 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-hero-context,
html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .muted,
html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-hero-meta,
html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header #tenant-panel-subtitle {
  color: #6e6e73;
  line-height: 1.3;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-hero-meta[hidden] {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tenant-panel-logo-wrap,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header.tp-tenant-master-header .tenant-panel-logo-wrap,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(#tp-section-overview.active) .tenant-panel-header.tp-tenant-master-header .tenant-panel-logo-wrap,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header.tp-tenant-master-header .tenant-panel-logo-wrap {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 18px rgba(15, 23, 42, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tenant-panel-logo,
html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header #tenant-panel-logo {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  object-fit: contain;
  background: transparent;
  border-radius: 18px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header #tenant-panel-admin-identity.tp-admin-identity-chip,
html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-admin-identity-chip,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header.tp-tenant-master-header .tp-admin-identity-chip {
  max-width: 220px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(167, 243, 208, 0.7);
  background:
    linear-gradient(180deg, rgba(236, 253, 245, 0.96) 0%, rgba(209, 250, 229, 0.88) 100%);
  color: #065f46;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 10px rgba(6, 95, 70, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header #tp-instructor-live-clock.tp-instructor-live-clock,
html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-hero-aside .tp-instructor-live-clock,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header.tp-tenant-master-header .tp-hero-aside .tp-instructor-live-clock {
  width: auto;
  max-width: 176px;
  padding: 6px 12px;
  border-radius: 14px;
  border: 1px solid rgba(186, 230, 253, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 249, 255, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 6px 14px rgba(14, 116, 144, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-instructor-live-clock__kicker,
html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-instructor-live-clock__tz {
  color: #0071e3;
  font-size: 0.62rem;
  line-height: 1.2;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-instructor-live-clock__date {
  color: #1d1d1f;
  font-size: 0.72rem;
  line-height: 1.25;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-instructor-live-clock__time {
  color: #1d1d1f;
  font-size: 1.02rem;
  line-height: 1.15;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header #btn-tenant-panel-back {
  min-height: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header #btn-tp-tenant-home {
  min-height: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 13px;
  border: 1px solid rgba(176, 190, 230, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(237, 242, 252, 0.92) 100%);
  color: #1d1d1f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 12px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header #btn-tp-tenant-home:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 113, 227, 0.38);
  color: #0071e3;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header #btn-tp-tenant-home:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tp-tenant-master-actions #tp-instructor-global-notification-btn {
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid rgba(125, 211, 252, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(224, 242, 254, 0.88) 100%);
  color: #0071e3;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 12px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tp-tenant-master-actions #tp-instructor-global-notification-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 113, 227, 0.42);
  color: #0064d1;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tp-tenant-master-actions #tp-instructor-global-notification-badge {
  z-index: 2;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tp-tenant-master-actions #btn-admin-logout.danger,
html[data-sa-theme="liquid-light"] #box-tenant-panel .tp-tenant-master-actions #btn-admin-logout {
  min-height: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 13px;
  border: 1px solid rgba(220, 80, 80, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 246, 246, 0.94) 100%);
  color: #b42318;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 10px rgba(180, 35, 24, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel .tp-tenant-master-actions #btn-admin-logout:hover {
  transform: translateY(-1px);
  border-color: rgba(220, 80, 80, 0.4);
  background: #fff1f1;
  color: #9b1c1c;
}

@media (min-width: 901px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-hero-aside {
    display: grid;
    grid-template-columns: auto max-content;
    grid-template-rows: auto auto;
    grid-template-areas:
      "clock role"
      "clock actions";
    justify-content: end;
    align-items: center;
    column-gap: 12px;
    row-gap: 8px;
    max-width: min(560px, 100%);
    min-width: 0;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-hero-aside #tp-instructor-live-clock.tp-instructor-live-clock,
  html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-hero-aside .tp-instructor-live-clock {
    grid-area: clock;
    align-self: center;
    justify-self: start;
    width: auto;
    max-width: 176px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-hero-aside #tenant-panel-admin-identity.tp-admin-identity-chip,
  html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-hero-aside .tp-admin-identity-chip {
    grid-area: role;
    justify-self: stretch;
    align-self: end;
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    justify-content: center;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-hero-aside #tp-tenant-master-actions {
    grid-area: actions;
    justify-self: stretch;
    align-self: start;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 8px;
    width: max-content;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-hero-aside:not(:has(#tenant-panel-admin-identity:not([hidden]))) {
    grid-template-areas:
      "clock actions"
      "clock actions";
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-hero-aside #btn-tenant-panel-back {
    grid-column: 1 / -1;
    justify-self: end;
    width: auto;
    max-width: 100%;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-hero-aside {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.card.tp-tenant-master-header,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board .tenant-panel-header.card.tp-tenant-master-header,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) .tenant-panel-header.card.tp-tenant-master-header {
    padding: 12px 14px;
    margin-bottom: 12px;
    border-radius: 20px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tenant-panel-logo-wrap,
  html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tenant-panel-logo,
  html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header #tenant-panel-logo {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    border-radius: 12px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header .tp-hero-aside .tp-instructor-live-clock {
    max-width: 100%;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header #btn-tp-tenant-home {
    width: 100%;
    height: auto;
    min-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel .tenant-panel-header.tp-tenant-master-header #btn-tp-tenant-home:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel .tp-tenant-master-actions #tp-instructor-global-notification-btn:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel .tp-tenant-master-actions #btn-admin-logout:hover {
    transform: none;
  }
}

/* =============================================================================
   Tenant Direksiyon Usta Öğreticiler — Liquid Light (visual only)
   GATED on .tp-nav-btn[data-tp-section="instructors"].active
   NEVER on #tp-section-instructors.active alone.
   NEVER unscoped .tp-instructor-agenda-* (shared with Özel Ders Talepleri).
   Distinct cyan / mint identity. Do not restyle tenant master header.
   ============================================================================= */

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display: block"] .tp-nav-btn[data-tp-section="instructors"].active),
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display:block"] .tp-nav-btn[data-tp-section="instructors"].active) {
  color: #1d1d1f;
  background: #eef6f8;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display: block"] .tp-nav-btn[data-tp-section="instructors"].active)::before,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display:block"] .tp-nav-btn[data-tp-section="instructors"].active)::before {
  background:
    radial-gradient(ellipse 72% 50% at 6% -8%, rgba(165, 243, 252, 0.46), transparent 62%),
    radial-gradient(ellipse 48% 36% at 96% 6%, rgba(167, 243, 208, 0.28), transparent 58%),
    radial-gradient(ellipse 52% 38% at 78% 100%, rgba(186, 230, 253, 0.3), transparent 62%),
    linear-gradient(180deg, #eef6f8 0%, #f2f7fa 48%, #f4f8fb 100%);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display: block"] .tp-nav-btn[data-tp-section="instructors"].active)::after,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace[style*="display:block"] .tp-nav-btn[data-tp-section="instructors"].active)::after {
  content: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) {
  background: transparent;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors.active::before {
  content: none;
  background: none;
  box-shadow: none;
}

/* —— Shared CRM surfaces (list + detail + create; not master header) —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-layout {
  gap: 22px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .card:not(.institution-chat-panel) {
  color: #1d1d1f;
  --admin-card-accent: #22d3ee;
  --admin-card-glow: rgba(103, 232, 249, 0.22);
  --admin-card-border: rgba(125, 211, 252, 0.42);
  --admin-card-sheen: rgba(167, 243, 208, 0.22);
  background-color: #ffffff;
  background-image:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(207, 250, 254, 0.62), transparent 62%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(209, 250, 229, 0.32), transparent 58%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 252, 253, 0.94) 100%);
  border: 1px solid rgba(125, 211, 252, 0.42);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 32px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .card:not(.institution-chat-panel)::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .card:not(.institution-chat-panel)::after {
  content: none;
  display: none;
  opacity: 0;
  background: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .card:not(.institution-chat-panel):hover {
  border-color: rgba(34, 211, 238, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 14px 32px rgba(14, 116, 144, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-master > .card:not(#tp-instructor-create-card) {
  background-color: #f3fafc;
  background-image:
    radial-gradient(ellipse 92% 72% at 0% 0%, rgba(165, 243, 252, 0.55), transparent 62%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(167, 243, 208, 0.28), transparent 58%),
    linear-gradient(178deg, #f7fdff 0%, #eef8fb 100%);
  border: 1px solid rgba(103, 232, 249, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 16px 40px rgba(14, 116, 144, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .card:not(.institution-chat-panel) h2,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-create-card-header h2 {
  color: #0f172a;
  text-shadow: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .muted,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #tp-instructor-detail-placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #tp-instructor-empty,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #tp-instructor-workspace-cue {
  color: #6e6e73;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #tp-instructor-detail-name,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #tp-instructor-workspace-name {
  color: #0f172a !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-field label,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .field label {
  color: #64748b;
  letter-spacing: 0.04em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-field input,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-field select,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-field textarea,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors input.field,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #tp-instructor-search {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(125, 211, 252, 0.48);
  border-radius: 13px;
  color: #1d1d1f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-field input::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors input.field::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #tp-instructor-search::placeholder {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-field input:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors input.field:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #tp-instructor-search:focus {
  outline: none;
  border-color: rgba(8, 145, 178, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 3px rgba(34, 211, 238, 0.22);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .btn {
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .btn:hover {
  transform: translateY(-1px);
  border-color: rgba(8, 145, 178, 0.38);
  background: #ffffff;
  color: #0e7490;
  box-shadow: 0 8px 16px rgba(14, 116, 144, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .btn:focus-visible {
  outline: 2px solid #06b6d4;
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-open-create,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-add-instructor,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-empty-cta,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-edit-save,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-assign {
  border-color: rgba(8, 145, 178, 0.42);
  background: linear-gradient(165deg, #22d3ee 0%, #06b6d4 52%, #0e7490 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(8, 145, 178, 0.24);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-open-create:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-add-instructor:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-empty-cta:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-edit-save:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-assign:hover {
  border-color: rgba(8, 145, 178, 0.55);
  background: linear-gradient(165deg, #67e8f9 0%, #22d3ee 45%, #0891b2 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(8, 145, 178, 0.28);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-refresh-instructors,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-create-close,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-edit-cancel,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-edit-profile,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .btn.btn-secondary {
  border: 1px solid rgba(125, 211, 252, 0.55);
  background:
    linear-gradient(165deg, rgba(240, 253, 255, 0.98) 0%, rgba(224, 242, 254, 0.9) 100%);
  color: #0e7490;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 4px 10px rgba(14, 165, 233, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-activate {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(165deg, #34d399 0%, #10b981 60%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-deactivate {
  border-color: rgba(220, 80, 80, 0.32);
  background: rgba(255, 246, 246, 0.98);
  color: #b42318;
  box-shadow: 0 4px 10px rgba(180, 35, 24, 0.06);
}

/* —— Filter dock —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-filter-dock {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(125, 211, 252, 0.48);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(207, 250, 254, 0.55), transparent 58%),
    radial-gradient(ellipse 70% 100% at 100% 0%, rgba(209, 250, 229, 0.32), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 252, 253, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 24px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-filter-dock .tp-instructor-list-toolbar {
  margin-top: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-filter-dock .tp-list-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 0 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-filter-dock #btn-tp-refresh-instructors,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-filter-dock #btn-tp-instructor-open-create {
  min-height: 44px;
  padding: 0 16px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-filter-dock #tp-instructor-search {
  flex: 1 1 240px;
  min-width: 200px;
  max-width: min(100%, 360px) !important;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 0.95rem;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-passive-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, 0.42);
  background:
    linear-gradient(180deg, rgba(240, 253, 250, 0.96) 0%, rgba(204, 251, 241, 0.55) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 10px rgba(13, 148, 136, 0.08);
  cursor: pointer;
  user-select: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-passive-toggle:has(#tp-instructor-show-passive:checked) {
  border-color: rgba(20, 184, 166, 0.58);
  background:
    linear-gradient(180deg, rgba(204, 251, 241, 0.98) 0%, rgba(167, 243, 208, 0.55) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-passive-toggle #tp-instructor-show-passive {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  flex: 0 0 auto;
  border-radius: 6px;
  border: 1.5px solid rgba(13, 148, 136, 0.5);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  cursor: pointer;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-passive-toggle #tp-instructor-show-passive:checked {
  border-color: #0f766e;
  background-color: #14b8a6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-passive-toggle #tp-instructor-show-passive:checked::after {
  content: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-passive-toggle #tp-instructor-show-passive:focus-visible {
  outline: 2px solid #06b6d4;
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-passive-toggle .muted {
  color: #0f766e;
  font-weight: 700;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-list {
  gap: 12px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-empty,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #tp-instructor-empty {
  color: #64748b;
  background: rgba(255, 255, 255, 0.55);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  padding: 14px 16px;
}

/* —— Instructor row cards —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-item {
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(103, 232, 249, 0.42);
  background: #ffffff;
  color: #1d1d1f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 20px rgba(15, 23, 42, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-item:hover {
  border-color: rgba(8, 145, 178, 0.5);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(207, 250, 254, 0.42), transparent 62%),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 12px 24px rgba(8, 145, 178, 0.12);
}

@media (hover: hover) and (pointer: fine) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-item:hover {
    transform: translateY(-1px);
  }
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-item.is-selected {
  border-color: rgba(20, 184, 166, 0.55);
  background:
    linear-gradient(90deg, rgba(6, 182, 212, 0.92) 0 4px, transparent 4px),
    linear-gradient(180deg, #ecfeff 0%, #f0fdfa 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 2px rgba(45, 212, 191, 0.28),
    0 10px 24px rgba(13, 148, 136, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-item-name {
  color: #0f172a;
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-item-meta {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-status.is-active {
  color: #047857;
  border-color: rgba(16, 185, 129, 0.42);
  background: rgba(167, 243, 208, 0.55);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-status.is-passive {
  color: #475569;
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(241, 245, 249, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: #0e7490;
  border: 1.5px solid rgba(34, 211, 238, 0.55);
  background:
    radial-gradient(ellipse 80% 80% at 30% 20%, rgba(207, 250, 254, 0.95), transparent 62%),
    #f0fdfa;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 6px 14px rgba(8, 145, 178, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-edit-btn {
  min-height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(125, 211, 252, 0.55);
  background:
    linear-gradient(165deg, rgba(240, 253, 255, 0.98) 0%, rgba(224, 242, 254, 0.9) 100%);
  color: #0e7490;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-delete-btn {
  min-height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(220, 80, 80, 0.32);
  background: rgba(255, 246, 246, 0.98);
  color: #b42318;
  box-shadow: 0 2px 8px rgba(180, 35, 24, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-delete-btn:hover {
  background: #fff1f1;
  border-color: rgba(220, 80, 80, 0.45);
  color: #9b1c1c;
}

/* —— Detail panel / photo / tiles / recent / edit form —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #tp-instructor-detail-panel.card {
  background-color: #ffffff;
  background-image:
    radial-gradient(ellipse 88% 68% at 100% 0%, rgba(207, 250, 254, 0.48), transparent 60%),
    radial-gradient(ellipse 60% 48% at 0% 0%, rgba(209, 250, 229, 0.28), transparent 58%),
    linear-gradient(178deg, #ffffff 0%, #f7fbfd 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-portrait,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #tp-instructor-detail-portrait {
  border: 1.5px solid rgba(34, 211, 238, 0.5);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 80% 70% at 30% 18%, rgba(207, 250, 254, 0.85), transparent 62%),
    linear-gradient(165deg, #f0fdfa 0%, #ecfeff 100%);
  color: #0e7490;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 24px rgba(8, 145, 178, 0.14);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-portrait:focus-visible {
  box-shadow:
    0 0 0 3px rgba(34, 211, 238, 0.28),
    0 10px 24px rgba(8, 145, 178, 0.14);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-portrait-zoom {
  color: #0e7490;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(125, 211, 252, 0.5);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-photo-action {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-photo-file-name,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-photo-msg {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-preview-actions {
  gap: 10px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-detail-tile {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 4px 12px rgba(15, 23, 42, 0.04);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-detail-tile:nth-child(1),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-detail-tile:nth-child(3) {
  background: linear-gradient(180deg, #f8fcff 0%, #eef8fb 100%);
  border-color: rgba(186, 230, 253, 0.55);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-detail-tile:nth-child(2) {
  background: linear-gradient(180deg, #ecfeff 0%, #e0f2fe 100%);
  border-color: rgba(103, 232, 249, 0.5);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-detail-tile:nth-child(4) {
  background: linear-gradient(180deg, #f0fdfa 0%, #ccfbf1 100%);
  border-color: rgba(45, 212, 191, 0.42);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-detail-tile:nth-child(5) {
  background: linear-gradient(180deg, #f8f7ff 0%, #f1f0fb 100%);
  border-color: rgba(196, 181, 253, 0.45);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-detail-tile__label {
  display: block;
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-detail-tile__value {
  color: #0f172a;
  font-weight: 700;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-recent,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #tp-instructor-recent {
  border: 1px solid rgba(125, 211, 252, 0.4);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(207, 250, 254, 0.4), transparent 60%),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 20px rgba(14, 116, 144, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-recent__title {
  color: #0e7490;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-recent__empty {
  color: #64748b;
  padding: 18px 8px;
  text-align: center;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.86);
  border: 1px dashed rgba(148, 163, 184, 0.32);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-recent__item {
  border: 1px solid rgba(186, 230, 253, 0.45);
  background: #ffffff;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-recent__name {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-recent__meta,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-recent__status {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #tp-instructor-create-card,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-edit-form,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #tp-instructor-edit-form {
  border: 1px solid rgba(125, 211, 252, 0.42);
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(207, 250, 254, 0.4), transparent 62%),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 20px rgba(14, 116, 144, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-edit-form__title {
  color: #0f172a;
}

/* —— Workspace hero + month stat (light chrome) —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-workspace-back,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace.is-instructor-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-workspace-back {
  border: 1px solid rgba(125, 211, 252, 0.55);
  background:
    linear-gradient(165deg, rgba(240, 253, 255, 0.98) 0%, rgba(224, 242, 254, 0.9) 100%);
  color: #0e7490;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 4px 12px rgba(14, 165, 233, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-workspace-back:hover {
  border-color: rgba(8, 145, 178, 0.55);
  color: #155e75;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(14, 116, 144, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-workspace-strip {
  border: 1px solid rgba(103, 232, 249, 0.48);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(207, 250, 254, 0.58), transparent 58%),
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(209, 250, 229, 0.38), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 253, 250, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 12px 28px rgba(14, 116, 144, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-workspace-avatar {
  border: 1.5px solid rgba(34, 211, 238, 0.55);
  border-radius: 18px;
  color: #0e7490;
  background:
    radial-gradient(ellipse 80% 80% at 30% 20%, rgba(207, 250, 254, 0.95), transparent 62%),
    #f0fdfa;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 18px rgba(8, 145, 178, 0.14);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #tp-instructor-month-stat {
  border: 1px solid rgba(125, 211, 252, 0.48);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(207, 250, 254, 0.5), transparent 60%),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 20px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-month-prev,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-month-next {
  border: 1px solid rgba(125, 211, 252, 0.5);
  background: linear-gradient(165deg, #ffffff 0%, #ecfeff 100%);
  color: #0e7490;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-month-prev:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-month-next:hover {
  border-color: rgba(8, 145, 178, 0.55);
  color: #155e75;
  background: #ffffff;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-month-stat__label {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-month-stat__metric {
  border-right-color: rgba(148, 163, 184, 0.22);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-month-stat__metric-label {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-month-stat__metric-value {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-month-stat__metric.is-total .tp-instructor-month-stat__metric-label,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-month-stat__metric.is-total .tp-instructor-month-stat__metric-value {
  color: #0e7490;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-month-stat__footer {
  border-top-color: rgba(148, 163, 184, 0.22);
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-month-stat__footer strong {
  color: #0f172a;
}

/* —— Agenda OUTER chrome only (light). Interior stays dark. —— */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-agenda-card {
  border: 1px solid rgba(103, 232, 249, 0.46);
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(207, 250, 254, 0.45), transparent 58%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.97) 0%, rgba(240, 253, 250, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 28px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-agenda-card.is-assign-focus {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 0 0 1px rgba(8, 145, 178, 0.35),
    0 12px 28px rgba(14, 116, 144, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-agenda-title {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-agenda-range,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #tp-instructor-agenda-range {
  color: #475569;
  font-weight: 650;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-agenda-nav .btn,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-agenda-prev,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-agenda-today,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-agenda-next {
  min-height: 38px;
  border: 1px solid rgba(125, 211, 252, 0.5);
  background:
    linear-gradient(165deg, rgba(240, 253, 255, 0.98) 0%, rgba(224, 242, 254, 0.9) 100%);
  color: #0e7490;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-agenda-today {
  border-color: rgba(8, 145, 178, 0.45);
  background: linear-gradient(165deg, #22d3ee 0%, #06b6d4 55%, #0e7490 100%);
  color: #ffffff;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-agenda-refresh {
  border: 1px solid rgba(125, 211, 252, 0.5);
  background:
    linear-gradient(165deg, rgba(240, 253, 255, 0.98) 0%, rgba(224, 242, 254, 0.9) 100%);
  color: #0e7490;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-agenda-refresh:hover:not(:disabled) {
  border-color: rgba(8, 145, 178, 0.55);
  color: #155e75;
  box-shadow: 0 6px 14px rgba(14, 116, 144, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-agenda-scroller {
  background: #07111f;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.38);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 28px rgba(2, 8, 23, 0.28);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-agenda-grid {
  border-color: rgba(56, 189, 248, 0.34);
  background: rgba(56, 189, 248, 0.28);
}

@media (max-width: 980px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-filter-dock .tp-list-filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-filter-dock #tp-instructor-search {
    max-width: none !important;
    width: 100%;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-preview-actions,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-item-actions,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-agenda-nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .btn:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .card:not(.institution-chat-panel):hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-item:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #btn-tp-instructor-workspace-back:hover {
    transform: none;
  }
}


/* -------------------------------------------------------------------------- */
/* Özel Ders Talepleri — list/detail only (embedded agenda untouched)         */
/* -------------------------------------------------------------------------- */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-intro__title {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-intro__copy {
  color: rgba(71, 85, 105, 0.92);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.96) 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 24px rgba(15, 23, 42, 0.05);
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-item:hover {
  border-color: rgba(100, 116, 139, 0.42);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 14px 28px rgba(15, 23, 42, 0.07);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-item.is-selected {
  border-color: rgba(59, 130, 246, 0.42);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.16),
    0 12px 28px rgba(37, 99, 235, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-item:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.45);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-item-avatar {
  background: rgba(241, 245, 249, 0.95);
  border-color: rgba(148, 163, 184, 0.34);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-item-avatar.has-photo {
  border-color: rgba(96, 165, 250, 0.45);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-item-avatar-fallback {
  color: #475569;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-item-role {
  color: rgba(100, 116, 139, 0.95);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-item-name {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-item-instructor {
  color: rgba(71, 85, 105, 0.95);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-item-instructor strong {
  color: #334155;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-item-time {
  color: #1e293b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-status {
  background: rgba(248, 250, 252, 0.95);
  border-color: rgba(148, 163, 184, 0.34);
  color: #475569;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-status.is-pending,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-status.is-waiting {
  background: rgba(239, 246, 255, 0.95);
  border-color: rgba(96, 165, 250, 0.4);
  color: #1d4ed8;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-status.is-approved {
  background: rgba(240, 253, 244, 0.96);
  border-color: rgba(74, 222, 128, 0.45);
  color: #15803d;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-status.is-rejected {
  background: rgba(254, 242, 242, 0.96);
  border-color: rgba(248, 113, 113, 0.42);
  color: #b91c1c;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-status.is-cancelled {
  background: rgba(248, 250, 252, 0.96);
  border-color: rgba(148, 163, 184, 0.36);
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-status.is-consultation {
  background: rgba(255, 241, 242, 0.96);
  border-color: rgba(251, 113, 133, 0.42);
  color: #be123c;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-detail-header-title {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-detail-header-instructor {
  color: rgba(71, 85, 105, 0.95);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-detail-created-meta {
  color: rgba(100, 116, 139, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-detail-tile {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-detail-tile__label {
  color: rgba(100, 116, 139, 0.92);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-detail-tile__value {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-dual {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(148, 163, 184, 0.28);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-dual__title {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-dual__label {
  color: #1e293b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-dual__row + .tp-slr-dual__row {
  border-top-color: rgba(148, 163, 184, 0.22);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-portrait {
  background: rgba(241, 245, 249, 0.95);
  border-color: rgba(148, 163, 184, 0.34);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-portrait.has-photo {
  border-color: rgba(96, 165, 250, 0.45);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-portrait-fallback {
  color: #475569;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-info-banner {
  background: rgba(240, 253, 244, 0.92);
  border-color: rgba(74, 222, 128, 0.38);
  color: #166534;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-reject-box {
  background: rgba(254, 242, 242, 0.92);
  border-color: rgba(248, 113, 113, 0.36);
  color: #991b1b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-reject-box__label {
  color: #b91c1c;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-instructor-note {
  background: rgba(255, 241, 242, 0.9);
  border-color: rgba(251, 113, 133, 0.34);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-instructor-note__label {
  color: #be123c;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-instructor-note__body {
  color: #9f1239;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-actions .tp-slr-approved-cta.is-special-final-approved,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-actions .tp-slr-approved-cta.is-special-final-approved:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-actions .tp-slr-approved-cta.is-special-final-approved:disabled {
  color: #ecfdf5 !important;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 48%, #4ade80 100%) !important;
  border: 1px solid #86efac !important;
  box-shadow:
    0 0 0 1px rgba(74, 222, 128, 0.28),
    0 8px 18px rgba(22, 163, 74, 0.16) !important;
}

/* SLR list/detail shells only — never #tp-slr-embedded-agenda */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-master > .card {
  color: #1d1d1f;
  --admin-card-accent: #7dd3fc;
  --admin-card-glow: rgba(125, 211, 252, 0.22);
  --admin-card-border: rgba(147, 197, 253, 0.46);
  --admin-card-sheen: rgba(196, 181, 253, 0.2);
  background-color: #ffffff;
  background-image:
    radial-gradient(ellipse 92% 72% at 0% 0%, rgba(224, 242, 254, 0.78), transparent 62%),
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(237, 233, 254, 0.42), transparent 58%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.94) 100%);
  border: 1px solid rgba(147, 197, 253, 0.42);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 32px rgba(14, 116, 144, 0.07);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-master > .card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-master > .card::after,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests #tp-slr-detail-panel.card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests #tp-slr-detail-panel.card::after {
  content: none;
  display: none;
  opacity: 0;
  background: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests #tp-slr-detail-panel.card {
  color: #1d1d1f;
  --admin-card-accent: #c4b5fd;
  --admin-card-glow: rgba(196, 181, 253, 0.2);
  --admin-card-border: rgba(196, 181, 253, 0.42);
  --admin-card-sheen: rgba(167, 243, 208, 0.16);
  background-color: #ffffff;
  background-image:
    radial-gradient(ellipse 88% 68% at 100% 0%, rgba(237, 233, 254, 0.72), transparent 60%),
    radial-gradient(ellipse 68% 52% at 0% 0%, rgba(224, 242, 254, 0.4), transparent 58%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 249, 255, 0.95) 100%);
  border: 1px solid rgba(196, 181, 253, 0.4);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 32px rgba(99, 102, 241, 0.07);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-master > .card h2,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests #tp-slr-detail-panel.card > h2 {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-group-toggle {
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.9), transparent 60%),
    linear-gradient(180deg, rgba(248, 250, 255, 0.98) 0%, rgba(239, 246, 255, 0.94) 100%);
  border: 1px solid rgba(147, 197, 253, 0.42);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 22px rgba(14, 116, 144, 0.06);
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-group-toggle:hover {
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 12px 24px rgba(37, 99, 235, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-group-count {
  background: rgba(239, 246, 255, 0.96);
  border-color: rgba(147, 197, 253, 0.5);
  color: #1d4ed8;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-group-chevron {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-item.tp-slr-child {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 100%);
  border: 1px solid rgba(203, 213, 225, 0.7);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-item.tp-slr-child.is-selected {
  border-color: rgba(99, 102, 241, 0.42);
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.14),
    0 10px 22px rgba(99, 102, 241, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-child-instructor {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-child-time {
  color: #475569;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-detail-tile--student {
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(186, 230, 253, 0.45), transparent 65%),
    rgba(255, 255, 255, 0.86);
  border-color: rgba(125, 211, 252, 0.42);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-detail-tile--instructor {
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(221, 214, 254, 0.48), transparent 65%),
    rgba(255, 255, 255, 0.86);
  border-color: rgba(196, 181, 253, 0.42);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-detail-tile--date {
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 215, 170, 0.4), transparent 65%),
    rgba(255, 255, 255, 0.88);
  border-color: rgba(253, 186, 116, 0.4);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-detail-tile--time {
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(186, 230, 253, 0.42), transparent 65%),
    rgba(255, 255, 255, 0.88);
  border-color: rgba(125, 211, 252, 0.4);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-detail-tile--duration {
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(226, 232, 240, 0.55), transparent 68%),
    rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.34);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests .tp-slr-dual {
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(167, 243, 208, 0.28), transparent 62%),
    rgba(240, 253, 244, 0.72);
  border-color: rgba(134, 239, 172, 0.42);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests #btn-tp-slr-approve[hidden],
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests #btn-tp-slr-reject[hidden],
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests #btn-tp-slr-remove[hidden],
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="special-lesson-requests"].active) #tp-section-special-lesson-requests #btn-tp-slr-approved[hidden] {
  display: none !important;
}

/* =============================================================================
   Tenant Admin — Kurum Forumu (#tp-section-forum only)
   ============================================================================= */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum > .card {
  color: #1d1d1f;
  --admin-card-accent: #a5b4fc;
  --admin-card-glow: rgba(165, 180, 252, 0.22);
  --admin-card-border: rgba(186, 230, 253, 0.5);
  --admin-card-sheen: rgba(196, 181, 253, 0.18);
  background-color: #ffffff;
  background-image:
    radial-gradient(ellipse 92% 72% at 0% 0%, rgba(224, 242, 254, 0.82), transparent 62%),
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(237, 233, 254, 0.48), transparent 58%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  border: 1px solid rgba(147, 197, 253, 0.42);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 32px rgba(14, 116, 144, 0.07);
  padding: 22px 22px 18px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum > .card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum > .card::after {
  content: none;
  display: none;
  opacity: 0;
  background: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum > .card:hover {
  border-color: rgba(125, 211, 252, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 14px 36px rgba(14, 116, 144, 0.09);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum > .card > h2 {
  margin: 0 0 8px;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum > .card > h2 .fa-comments {
  color: #6366f1;
  margin-right: 0.35em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-subtitle {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.45;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum #tp-forum-readonly-note,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-readonly-note {
  margin: 0 0 14px !important;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(186, 230, 253, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.9), transparent 65%),
    rgba(248, 250, 252, 0.92);
  color: #475569;
  font-size: 0.9rem !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-table-wrap {
  margin-top: 4px !important;
  border-radius: 16px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(186, 230, 253, 0.45);
  background: rgba(255, 255, 255, 0.72);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-table th,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  text-align: left;
  vertical-align: middle;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-table th {
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.98) 0%, rgba(238, 242, 255, 0.92) 100%);
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(186, 230, 253, 0.55);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-table tbody tr {
  background: rgba(255, 255, 255, 0.88);
  transition: background 0.18s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-table tbody tr:hover {
  background: rgba(239, 246, 255, 0.92);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-table tbody tr:last-child td {
  border-bottom: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-title-cell strong {
  color: #0f172a;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-author-name {
  color: #334155;
  font-weight: 600;
  font-size: 0.92rem;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-author-avatar {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(186, 230, 253, 0.7);
  background:
    radial-gradient(ellipse 90% 80% at 30% 20%, rgba(224, 242, 254, 0.95), transparent 60%),
    rgba(248, 250, 252, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 12px rgba(14, 116, 144, 0.08);
  color: #475569;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-date-cell {
  color: #64748b;
  font-size: 0.88rem;
  white-space: nowrap;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-count {
  min-width: 2rem;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-count--likes {
  color: #9a3412;
  border-color: rgba(253, 186, 116, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 215, 170, 0.55), transparent 70%),
    rgba(255, 247, 237, 0.95);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-count--comments {
  color: #075985;
  border-color: rgba(125, 211, 252, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(186, 230, 253, 0.55), transparent 70%),
    rgba(240, 249, 255, 0.95);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-action-edit.btn {
  border-color: rgba(165, 180, 252, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 231, 255, 0.85), transparent 65%),
    rgba(238, 242, 255, 0.92);
  color: #3730a3;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-action-edit.btn:hover {
  border-color: rgba(129, 140, 248, 0.65);
  background: rgba(224, 231, 255, 0.98);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-action-delete.btn {
  border-color: rgba(252, 165, 165, 0.6);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 226, 226, 0.9), transparent 65%),
    rgba(255, 241, 242, 0.94);
  color: #9f1239;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-action-delete.btn:hover {
  border-color: rgba(251, 113, 133, 0.7);
  background: rgba(254, 226, 226, 0.98);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-empty {
  margin-top: 14px !important;
  padding: 22px 18px;
  border-radius: 18px;
  border: 1px solid rgba(186, 230, 253, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.75), transparent 62%),
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(237, 233, 254, 0.4), transparent 58%),
    rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 22px rgba(14, 116, 144, 0.06);
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-empty__icon {
  color: #6366f1;
  font-size: 1.25rem;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-empty__title {
  color: #0f172a;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum .tp-forum-empty__copy {
  color: #64748b;
  font-size: 0.9rem;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum"].active) #tp-section-forum #tp-forum-posts-msg {
  color: #64748b;
}


/* =============================================================================
   Tenant Admin — Forum Moderasyonu (#tp-section-forum-moderation only)
   ============================================================================= */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card {
  color: #1d1d1f;
  --admin-card-accent: #67e8f9;
  --admin-card-glow: rgba(103, 232, 249, 0.2);
  --admin-card-border: rgba(125, 211, 252, 0.48);
  --admin-card-sheen: rgba(165, 243, 252, 0.18);
  background-color: rgba(255, 255, 255, 0.92);
  background-image:
    radial-gradient(ellipse 92% 72% at 0% 0%, rgba(224, 242, 254, 0.86), transparent 62%),
    radial-gradient(ellipse 68% 52% at 100% 0%, rgba(207, 250, 254, 0.42), transparent 58%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  border: 1px solid rgba(125, 211, 252, 0.46);
  border-radius: clamp(16px, 1.8vw, 22px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 14px 36px rgba(14, 116, 144, 0.07);
  padding: clamp(14px, 1.7vw, 22px) clamp(14px, 1.9vw, 22px) clamp(14px, 1.5vw, 18px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card::after {
  content: none;
  display: none;
  opacity: 0;
  background: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card:hover {
  border-color: rgba(103, 232, 249, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 16px 40px rgba(14, 116, 144, 0.09);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > h2 {
  margin: 0 0 10px;
  font-size: clamp(1.12rem, 1.5vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > h2 .fa-flag {
  color: #0891b2;
  margin-right: 0.35em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > h2 + p.muted {
  margin: 0 0 14px !important;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(125, 211, 252, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.92), transparent 65%),
    rgba(240, 249, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 6px 16px rgba(14, 116, 144, 0.05);
  color: #334155 !important;
  font-size: 0.92rem;
  line-height: 1.5;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-readonly-note {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(253, 186, 116, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 215, 170, 0.5), transparent 68%),
    rgba(255, 247, 237, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  color: #9a3412 !important;
  font-size: 0.9rem !important;
  line-height: 1.45;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid {
  display: grid;
  gap: clamp(10px, 1.4vw, 14px);
  margin-bottom: 16px;
  align-items: stretch;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid > .tp-field {
  margin: 0;
  padding: 14px 16px 16px;
  border-radius: 18px;
  box-sizing: border-box;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid > .tp-field:first-child {
  border: 1px solid rgba(103, 232, 249, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(207, 250, 254, 0.7), transparent 64%),
    rgba(240, 253, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 20px rgba(14, 116, 144, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid > .tp-field:last-child {
  border: 1px solid rgba(196, 181, 253, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(237, 233, 254, 0.72), transparent 64%),
    rgba(245, 243, 255, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 20px rgba(91, 33, 182, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid > .tp-field > label {
  display: block;
  margin: 0 0 10px;
  min-height: 0;
  color: #0f172a !important;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid > .tp-field .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid > .tp-field .row label:has(input[type="radio"]) {
  margin: 0;
  padding: clamp(6px, 0.8vw, 7px) clamp(10px, 1.2vw, 12px) clamp(6px, 0.8vw, 7px) clamp(8px, 1vw, 10px);
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.88);
  color: #334155 !important;
  font-size: clamp(0.8rem, 0.9vw, 0.86rem);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid > .tp-field .row label:has(input[type="radio"]) input[type="radio"] {
  width: 15px;
  height: 15px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: #0891b2;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid > .tp-field:last-child .row label:has(input[type="radio"]) input[type="radio"] {
  accent-color: #7c3aed;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid > .tp-field .row label:has(input[type="radio"]):hover {
  border-color: rgba(100, 116, 139, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 4px 10px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid > .tp-field:first-child .row label:has(input:checked) {
  border-color: rgba(6, 182, 212, 0.58);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(165, 243, 252, 0.55), transparent 70%),
    rgba(207, 250, 254, 0.96);
  color: #155e75 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 12px rgba(8, 145, 178, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid > .tp-field:last-child .row label:has(input:checked) {
  border-color: rgba(167, 139, 250, 0.62);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(221, 214, 254, 0.62), transparent 70%),
    rgba(237, 233, 254, 0.96);
  color: #5b21b6 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 12px rgba(124, 58, 237, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid > .tp-field .row label:has(input[type="radio"]):focus-within {
  outline: 2px solid rgba(14, 165, 233, 0.55);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid > .tp-field:last-child .row label:has(input[type="radio"]):focus-within {
  outline-color: rgba(139, 92, 246, 0.55);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #btn-tp-forum-mod-load {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 13px;
  border: 1px solid rgba(56, 189, 248, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.9), transparent 65%),
    rgba(255, 255, 255, 0.96);
  color: #075985;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 6px 14px rgba(14, 165, 233, 0.1);
  font-weight: 750;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #btn-tp-forum-mod-load:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 165, 233, 0.65);
  background: rgba(224, 242, 254, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 18px rgba(14, 165, 233, 0.14);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #btn-tp-forum-mod-load:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 3px 8px rgba(14, 165, 233, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #btn-tp-forum-mod-load:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.55);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #btn-tp-forum-mod-load:disabled {
  opacity: 0.55;
  transform: none;
  cursor: not-allowed;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation [style*="overflow:auto"],
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation [style*="overflow: auto"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 4px;
  padding: clamp(8px, 1.2vw, 12px);
  border-radius: clamp(14px, 1.6vw, 18px);
  border: 1px solid rgba(167, 243, 208, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(209, 250, 229, 0.42), transparent 64%),
    rgba(240, 253, 250, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 22px rgba(15, 118, 110, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-empty {
  margin-top: 14px;
  padding: 22px 18px;
  border-radius: 18px;
  border: 1px solid rgba(253, 186, 116, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 50% 0%, rgba(254, 215, 170, 0.42), transparent 62%),
    rgba(255, 247, 237, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 22px rgba(180, 83, 9, 0.06);
  color: #9a3412 !important;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.5;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-empty::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 1px solid rgba(253, 186, 116, 0.55);
  background:
    radial-gradient(ellipse 80% 70% at 30% 20%, rgba(254, 243, 226, 0.98), transparent 62%),
    rgba(255, 237, 213, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-msg {
  margin-top: 10px;
  max-width: 100%;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-msg:empty {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  min-height: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-msg:not(:empty) {
  padding: 10px 12px;
  border-radius: 12px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-msg.muted:not(:empty) {
  border: 1px solid rgba(186, 230, 253, 0.5);
  background: rgba(240, 249, 255, 0.92);
  color: #475569 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-msg.error:not(:empty) {
  border: 1px solid rgba(252, 165, 165, 0.6);
  background: rgba(255, 241, 242, 0.96);
  color: #9f1239 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-msg.ok:not(:empty) {
  border: 1px solid rgba(134, 239, 172, 0.6);
  background: rgba(240, 253, 244, 0.96);
  color: #166534 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody .forum-mod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody .forum-mod-actions .btn {
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 11px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody .forum-mod-view.btn {
  border-color: rgba(125, 211, 252, 0.58);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(186, 230, 253, 0.55), transparent 65%),
    rgba(240, 249, 255, 0.96);
  color: #075985;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody .forum-mod-view.btn:hover {
  border-color: rgba(56, 189, 248, 0.7);
  background: rgba(186, 230, 253, 0.45);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody .forum-mod-dismiss.btn {
  border-color: rgba(253, 186, 116, 0.6);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 215, 170, 0.5), transparent 65%),
    rgba(255, 247, 237, 0.96);
  color: #9a3412;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody .forum-mod-dismiss.btn:hover {
  border-color: rgba(251, 146, 60, 0.7);
  background: rgba(254, 215, 170, 0.48);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody .forum-mod-delete.btn,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody .forum-mod-delete.danger {
  border-color: rgba(252, 165, 165, 0.65);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 226, 226, 0.9), transparent 65%),
    rgba(255, 241, 242, 0.96);
  color: #9f1239;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody .forum-mod-delete.btn:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody .forum-mod-delete.danger:hover {
  border-color: rgba(251, 113, 133, 0.72);
  background: rgba(254, 226, 226, 0.98);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody .forum-mod-resolve.btn {
  border-color: rgba(134, 239, 172, 0.62);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(187, 247, 208, 0.55), transparent 65%),
    rgba(240, 253, 244, 0.96);
  color: #166534;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody .forum-mod-resolve.btn:hover {
  border-color: rgba(74, 222, 128, 0.7);
  background: rgba(187, 247, 208, 0.5);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody .forum-mod-actions .btn:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody .forum-mod-actions .btn:disabled {
  opacity: 0.5;
  transform: none;
  cursor: not-allowed;
  box-shadow: none;
}

@media (min-width: 901px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table {
    width: 100%;
    min-width: 1320px;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(167, 243, 208, 0.45);
    background: rgba(255, 255, 255, 0.78);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table th,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table td {
    padding: clamp(8px, 0.9vw, 11px) clamp(8px, 1vw, 12px);
    border-bottom: 1px solid rgba(204, 251, 241, 0.7);
    text-align: left;
    vertical-align: middle;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table th {
    background:
      linear-gradient(180deg, rgba(236, 253, 245, 0.98) 0%, rgba(224, 242, 254, 0.88) 100%);
    color: #115e59;
    font-size: clamp(0.64rem, 0.72vw, 0.7rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: 1px solid rgba(153, 246, 228, 0.7);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table td {
    color: #334155;
    background: rgba(255, 255, 255, 0.72);
    font-size: clamp(0.78rem, 0.88vw, 0.86rem);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table tbody tr {
    background: transparent;
    transition: background 0.18s ease;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table tbody tr:hover td {
    background: rgba(236, 253, 245, 0.72);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table tbody tr:last-child td {
    border-bottom: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation [style*="overflow:auto"],
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation [style*="overflow: auto"] {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(45, 212, 191, 0.72) rgba(204, 251, 241, 0.55);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation [style*="overflow:auto"]::-webkit-scrollbar,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation [style*="overflow: auto"]::-webkit-scrollbar {
    height: 8px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation [style*="overflow:auto"]::-webkit-scrollbar-track,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation [style*="overflow: auto"]::-webkit-scrollbar-track {
    background: rgba(204, 251, 241, 0.55);
    border-radius: 999px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation [style*="overflow:auto"]::-webkit-scrollbar-thumb,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation [style*="overflow: auto"]::-webkit-scrollbar-thumb {
    background: rgba(45, 212, 191, 0.68);
    border-radius: 999px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation [style*="overflow:auto"]::-webkit-scrollbar-thumb:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation [style*="overflow: auto"]::-webkit-scrollbar-thumb:hover {
    background: rgba(13, 148, 136, 0.78);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table th:nth-child(1),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table td:nth-child(1) {
    min-width: 92px;
    white-space: nowrap;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table th:nth-child(2),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table td:nth-child(2) {
    min-width: 108px;
    white-space: nowrap;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table th:nth-child(3),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table td:nth-child(3) {
    min-width: 108px;
    white-space: nowrap;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table th:nth-child(4),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table td:nth-child(4),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation .forum-mod-preview {
    min-width: 240px;
    max-width: 360px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table th:nth-child(5),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table td:nth-child(5),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table th:nth-child(6),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table td:nth-child(6) {
    min-width: 140px;
    max-width: 180px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table th:nth-child(7),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table td:nth-child(7) {
    min-width: 156px;
    max-width: 220px;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table th:nth-child(8),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table td:nth-child(8) {
    min-width: 128px;
    white-space: nowrap;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table th:nth-child(9),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table td:nth-child(9) {
    min-width: 210px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody .forum-mod-actions .btn {
    white-space: nowrap;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody td:first-child {
    font-weight: 700;
    color: #0f766e;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody td.error {
    color: #9f1239;
    background: rgba(255, 241, 242, 0.92);
    font-weight: 700;
  }
}

@media (min-width: 1400px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid {
    max-width: 1120px;
  }
}

@media (max-width: 900px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid {
    grid-template-columns: 1fr !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation table tbody tr {
    border-color: rgba(153, 246, 228, 0.55);
    background:
      radial-gradient(ellipse 90% 80% at 0% 0%, rgba(236, 253, 245, 0.7), transparent 66%),
      #ffffff;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.05);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody td:first-child {
    font-weight: 700;
    color: #0f766e;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody td.error {
    color: #9f1239;
    font-weight: 700;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody .forum-mod-actions .btn {
    min-height: 40px;
    white-space: nowrap;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation .forum-mod-preview {
    max-width: none;
    min-width: 0;
    white-space: normal;
    overflow-wrap: break-word;
  }
}

@media (max-width: 560px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid > .tp-field .row label:has(input[type="radio"]) {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    justify-content: flex-start;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #btn-tp-forum-mod-load {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #btn-tp-forum-mod-load,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #tp-forum-mod-tbody .forum-mod-actions .btn,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation > .card > .grid > .tp-field .row label:has(input[type="radio"]) {
    transition: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="forum-moderation"].active) #tp-section-forum-moderation #btn-tp-forum-mod-load:hover {
    transform: none;
  }
}


/* =============================================================================
   Tenant Admin — Forum Moderasyonu detay modalı
   (#admin-forum-moderation-view-modal is a body-level sibling; Super Admin
   #admin-page-forum-moderation is not gated and stays navy.)
   ============================================================================= */
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal.tp-modal-overlay {
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: clamp(12px, 2vw, 20px);
  box-sizing: border-box;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .tp-modal {
  width: min(720px, calc(100vw - 32px));
  max-width: min(720px, calc(100vw - 32px));
  max-height: min(90vh, calc(100dvh - 24px));
  overflow: auto;
  box-sizing: border-box;
  padding: clamp(14px, 2vw, 20px);
  color: #1d1d1f;
  background-color: rgba(255, 255, 255, 0.98);
  background-image:
    radial-gradient(ellipse 92% 70% at 0% 0%, rgba(224, 242, 254, 0.78), transparent 62%),
    radial-gradient(ellipse 70% 52% at 100% 0%, rgba(237, 233, 254, 0.38), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  border: 1px solid rgba(103, 232, 249, 0.52);
  border-radius: clamp(16px, 2vw, 22px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 28px rgba(14, 116, 144, 0.08),
    0 22px 48px rgba(15, 23, 42, 0.14);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .tp-modal::before,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .tp-modal::after {
  content: none;
  display: none;
  opacity: 0;
  background: none;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .tp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.4vw, 12px);
  margin: calc(clamp(14px, 2vw, 20px) * -1) calc(clamp(14px, 2vw, 20px) * -1) 12px;
  padding: clamp(12px, 1.6vw, 16px) clamp(14px, 2vw, 20px);
  border-bottom: 1px solid rgba(186, 230, 253, 0.7);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(207, 250, 254, 0.72), transparent 64%),
    linear-gradient(180deg, rgba(240, 249, 255, 0.96) 0%, rgba(236, 254, 255, 0.88) 100%);
  border-radius: clamp(16px, 2vw, 22px) clamp(16px, 2vw, 22px) 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .tp-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #0f172a;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .tp-modal-title::before {
  content: "";
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(103, 232, 249, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 20% 0%, rgba(165, 243, 252, 0.95), transparent 62%),
    linear-gradient(180deg, #ecfeff 0%, #e0f2fe 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 4px 10px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .tp-modal-close,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #btn-admin-forum-mod-view-ok {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(196, 181, 253, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(237, 233, 254, 0.78), transparent 64%),
    rgba(248, 250, 252, 0.96);
  color: #334155;
  font-weight: 750;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 4px 10px rgba(15, 23, 42, 0.05);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .tp-modal-close:hover,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #btn-admin-forum-mod-view-ok:hover {
  transform: translateY(-1px);
  border-color: rgba(167, 139, 250, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 7px 16px rgba(91, 33, 182, 0.08);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .tp-modal-close:active,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #btn-admin-forum-mod-view-ok:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.08);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .tp-modal-close:focus-visible,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #btn-admin-forum-mod-view-ok:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.7);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .tp-modal-close:disabled,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #btn-admin-forum-mod-view-ok:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #admin-forum-moderation-view-body {
  margin-top: clamp(4px, 0.8vw, 8px);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vw, 12px);
  color: #1d1d1f;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #admin-forum-moderation-view-body p,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #admin-forum-moderation-view-body span,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #admin-forum-moderation-view-body strong,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #admin-forum-moderation-view-body small,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #admin-forum-moderation-view-body div,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #admin-forum-moderation-view-body label {
  overflow-wrap: anywhere;
  word-break: break-word;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal a {
  color: #0369a1;
  overflow-wrap: anywhere;
  word-break: break-word;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(186, 230, 253, 0.6);
  background: rgba(248, 250, 252, 0.96);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view-kind {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 4px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.6);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(204, 251, 241, 0.85), transparent 64%),
    rgba(240, 253, 250, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  color: #0f766e !important;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view-field {
  margin: 0 !important;
  padding: clamp(10px, 1.3vw, 14px) clamp(12px, 1.5vw, 16px);
  border-radius: 16px;
  border: 1px solid rgba(186, 230, 253, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 6px 16px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view-field > label {
  display: block;
  margin: 0 0 6px;
  color: #0f766e !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view-value {
  color: #0f172a;
  font-size: clamp(0.9rem, 1.05vw, 0.98rem);
  font-weight: 650;
  line-height: 1.55;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view-parent,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view-title {
  border-color: rgba(196, 181, 253, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(237, 233, 254, 0.72), transparent 64%),
    rgba(248, 250, 255, 0.96);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view-topic-body,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view-content {
  border-color: rgba(125, 211, 252, 0.6);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(207, 250, 254, 0.7), transparent 64%),
    rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view-comment {
  border-color: rgba(253, 186, 116, 0.65);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 215, 170, 0.55), transparent 64%),
    rgba(255, 247, 237, 0.98);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view-comment > label {
  color: #9a3412 !important;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view-comment .forum-mod-view-value {
  color: #7c2d12;
  font-weight: 700;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view-reported {
  border-color: rgba(249, 168, 212, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(252, 231, 243, 0.8), transparent 64%),
    rgba(253, 242, 248, 0.96);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view-reported > label {
  color: #9d174d !important;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view-reporter {
  border-color: rgba(125, 211, 252, 0.6);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(186, 230, 253, 0.7), transparent 64%),
    rgba(240, 249, 255, 0.96);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view-tenant {
  border-color: rgba(134, 239, 172, 0.6);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(187, 247, 208, 0.7), transparent 64%),
    rgba(240, 253, 244, 0.96);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view-tenant .forum-mod-view-value {
  color: #14532d;
  font-weight: 800;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .muted {
  color: #334155 !important;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .error {
  color: #9f1239 !important;
  background: rgba(255, 241, 242, 0.96);
  border: 1px solid rgba(252, 165, 165, 0.55);
  border-radius: 12px;
  padding: 10px 12px;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .ok {
  color: #166534 !important;
  background: rgba(240, 253, 244, 0.96);
  border: 1px solid rgba(134, 239, 172, 0.55);
  border-radius: 12px;
  padding: 10px 12px;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #admin-forum-moderation-view-body > .row {
  margin-top: 0;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal > .tp-modal > .row {
  margin-top: clamp(12px, 1.6vw, 16px) !important;
  padding-top: clamp(10px, 1.4vw, 14px);
  border-top: 1px solid rgba(186, 230, 253, 0.65);
  background: transparent;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-resolve,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-dismiss,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-delete {
  min-height: 40px;
  white-space: nowrap;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-view.btn {
  border: 1px solid rgba(125, 211, 252, 0.6);
  background: linear-gradient(180deg, #ecfeff 0%, #e0f2fe 100%);
  color: #075985;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-resolve.btn {
  border: 1px solid rgba(134, 239, 172, 0.65);
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
  color: #166534;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-dismiss.btn {
  border: 1px solid rgba(253, 186, 116, 0.65);
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
  color: #9a3412;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-delete.btn,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .forum-mod-delete.danger {
  border: 1px solid rgba(252, 165, 165, 0.65);
  background: linear-gradient(180deg, #fff1f2 0%, #ffe4e6 100%);
  color: #9f1239;
}

@media (max-width: 900px) {
  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal.tp-modal-overlay {
    padding: 12px;
    align-items: flex-end;
  }

  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .tp-modal {
    width: min(100%, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    max-height: min(92dvh, calc(100dvh - 16px));
    border-radius: 18px;
  }

  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .tp-modal-header {
    margin: -14px -14px 12px;
    border-radius: 18px 18px 0 0;
  }

  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .tp-modal-close,
  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #btn-admin-forum-mod-view-ok {
    min-height: 40px;
    width: auto;
  }
}

@media (max-width: 560px) {
  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #btn-admin-forum-mod-view-ok {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .tp-modal-close,
  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #btn-admin-forum-mod-view-ok {
    transition: none;
  }

  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .tp-modal-close:hover,
  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #btn-admin-forum-mod-view-ok:hover,
  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal .tp-modal-close:active,
  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="forum-moderation"].active) #admin-forum-moderation-view-modal #btn-admin-forum-mod-view-ok:active {
    transform: none;
  }
}


/* =============================================================================
   Tenant Admin — Kurum Duyuruları (#tp-section-announcements only)
   ============================================================================= */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements > .card {
  color: #1d1d1f;
  --admin-card-accent: #67e8f9;
  --admin-card-glow: rgba(103, 232, 249, 0.2);
  --admin-card-border: rgba(125, 211, 252, 0.48);
  --admin-card-sheen: rgba(165, 243, 252, 0.18);
  background-color: rgba(255, 255, 255, 0.92);
  background-image:
    radial-gradient(ellipse 92% 72% at 0% 0%, rgba(224, 242, 254, 0.86), transparent 62%),
    radial-gradient(ellipse 68% 52% at 100% 0%, rgba(207, 250, 254, 0.4), transparent 58%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  border: 1px solid rgba(125, 211, 252, 0.46);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 14px 36px rgba(14, 116, 144, 0.07);
  padding: 22px 22px 18px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements > .card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements > .card::after {
  content: none;
  display: none;
  opacity: 0;
  background: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements > .card:hover {
  border-color: rgba(103, 232, 249, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 16px 40px rgba(14, 116, 144, 0.09);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements > .card > h2 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements > .card > h2 .fa-bullhorn {
  color: #0891b2;
  margin-right: 0.35em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements > .card > h2 + p.muted {
  margin: 0 0 16px !important;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(125, 211, 252, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.92), transparent 65%),
    rgba(240, 249, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 6px 16px rgba(14, 116, 144, 0.05);
  color: #334155 !important;
  font-size: 0.92rem;
  line-height: 1.5;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-form-grid.tp-announcements-form-card {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(186, 230, 253, 0.55);
  background:
    radial-gradient(ellipse 88% 70% at 0% 0%, rgba(224, 242, 254, 0.55), transparent 62%),
    rgba(248, 250, 252, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 22px rgba(14, 116, 144, 0.05);
  overflow: visible;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-form-grid.tp-announcements-form-card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-form-grid.tp-announcements-form-card::after {
  content: none;
  display: none;
  opacity: 0;
  background: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcements-form-card > .tp-field {
  margin: 0;
  padding: 14px 16px 16px;
  border-radius: 18px;
  box-sizing: border-box;
  min-width: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 20px rgba(15, 23, 42, 0.04);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-field:has(#tp-announcement-title),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-field:has(#tp-announcement-message) {
  border: 1px solid rgba(6, 182, 212, 0.58);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(165, 243, 252, 0.86), transparent 64%),
    rgba(207, 250, 254, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-field:has(#tp-announcement-status) {
  border: 1px solid rgba(52, 211, 153, 0.64);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(167, 243, 208, 0.86), transparent 64%),
    rgba(209, 250, 229, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-field:has(#tp-announcement-priority) {
  border: 1px solid rgba(167, 139, 250, 0.6);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(221, 214, 254, 0.88), transparent 64%),
    rgba(237, 233, 254, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-expires-field {
  border: 1px solid rgba(251, 146, 60, 0.62);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 215, 170, 0.72), transparent 64%),
    rgba(255, 237, 213, 0.97);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-audience-field {
  border: 1px solid rgba(56, 189, 248, 0.62);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(186, 230, 253, 0.78), transparent 64%),
    rgba(224, 242, 254, 0.97);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-period-field {
  border: 1px solid rgba(45, 212, 191, 0.64);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(153, 246, 228, 0.84), transparent 64%),
    rgba(204, 251, 241, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcements-form-card > .tp-field > label {
  display: block;
  margin: 0 0 10px;
  min-height: 0;
  color: #0f172a !important;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-expires-hint,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-audience-hint,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-period-hint {
  margin: 8px 0 0;
  color: #475569 !important;
  font-size: 0.82rem;
  line-height: 1.45;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-message,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-status,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-priority,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-expires-at,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-program,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-period {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  color-scheme: light;
  font-size: 0.94rem;
  font-weight: 600;
  box-sizing: border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 3px 10px rgba(15, 23, 42, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-message {
  min-height: 104px;
  line-height: 1.55;
  resize: vertical;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-title::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-message::placeholder {
  color: #94a3b8;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-title:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-message:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-status:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-priority:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-expires-at:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-program:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-period:hover {
  border-color: rgba(56, 189, 248, 0.5);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-title:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-message:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-status:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-priority:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-expires-at:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-program:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-period:focus {
  outline: none;
  border-color: rgba(14, 165, 233, 0.62);
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 0 0 3px rgba(125, 211, 252, 0.32);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-title:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-message:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-status:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-priority:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-expires-at:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-program:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-period:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.55);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-status,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-priority,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-program {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%230891b2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1.5 1.5L6 6l4.5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 14px center;
  background-size: auto, 12px 8px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-expires-at,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-period {
  max-width: 280px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-program {
  max-width: 320px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-title:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-message:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-status:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-priority:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-expires-at:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-program:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-period:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  background: rgba(248, 250, 252, 0.96);
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements > .card > .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #btn-tp-announcement-save {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 13px;
  border: 1px solid rgba(45, 212, 191, 0.58);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(167, 243, 208, 0.7), transparent 64%),
    rgba(240, 253, 250, 0.98);
  color: #115e59;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 6px 16px rgba(13, 148, 136, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #btn-tp-announcement-save:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 184, 166, 0.7);
  background: rgba(204, 251, 241, 0.98);
  color: #0f766e;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 18px rgba(13, 148, 136, 0.16);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #btn-tp-announcement-save:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 3px 8px rgba(13, 148, 136, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #btn-tp-announcement-save:focus-visible {
  outline: 2px solid rgba(13, 148, 136, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #btn-tp-announcement-save:disabled {
  opacity: 0.55;
  transform: none;
  cursor: not-allowed;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #btn-tp-announcement-cancel {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 13px;
  border: 1px solid rgba(196, 181, 253, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(237, 233, 254, 0.7), transparent 64%),
    rgba(248, 250, 252, 0.96);
  color: #334155;
  font-weight: 750;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 4px 12px rgba(91, 33, 182, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #btn-tp-announcement-cancel:hover {
  border-color: rgba(167, 139, 250, 0.62);
  background: rgba(237, 233, 254, 0.88);
  color: #5b21b6;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #btn-tp-announcement-cancel:focus-visible {
  outline: 2px solid rgba(139, 92, 246, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #btn-tp-announcement-cancel:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-msg {
  flex: 1 1 180px;
  max-width: 100%;
  min-height: 0;
  color: #475569;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-msg:empty {
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-msg:not(:empty) {
  padding: 9px 12px;
  border-radius: 12px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-msg.muted:not(:empty) {
  border: 1px solid rgba(186, 230, 253, 0.5);
  background: rgba(240, 249, 255, 0.92);
  color: #475569 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-msg.error:not(:empty) {
  border: 1px solid rgba(252, 165, 165, 0.6);
  background: rgba(255, 241, 242, 0.96);
  color: #9f1239 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-msg.ok:not(:empty) {
  border: 1px solid rgba(134, 239, 172, 0.6);
  background: rgba(240, 253, 244, 0.96);
  color: #166534 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .page-section-title {
  margin: 4px 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(167, 243, 208, 0.55);
  background:
    linear-gradient(90deg, rgba(45, 212, 191, 0.28) 0 4px, transparent 4px),
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(204, 251, 241, 0.7), transparent 64%),
    rgba(240, 253, 250, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  color: #115e59;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list.tp-announcements-list-panel {
  position: relative;
  margin-top: 4px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(167, 243, 208, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(209, 250, 229, 0.42), transparent 64%),
    rgba(240, 253, 250, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 22px rgba(15, 118, 110, 0.06);
  color: #334155;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list > p.muted,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list > p.error {
  margin: 0;
  padding: 22px 16px;
  border-radius: 14px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.5;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list > p.muted {
  border: 1px solid rgba(253, 186, 116, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 50% 0%, rgba(254, 215, 170, 0.42), transparent 62%),
    rgba(255, 247, 237, 0.96);
  color: #9a3412 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list > p.error {
  border: 1px solid rgba(252, 165, 165, 0.6);
  background: rgba(255, 241, 242, 0.96);
  color: #9f1239 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-audience-label,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-expiry-label {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: normal;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 3px 8px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-audience-label {
  border: 1px solid rgba(14, 165, 233, 0.55);
  background: rgba(186, 230, 253, 0.92);
  color: #0c4a6e;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-audience-label.is-legacy {
  border-color: rgba(251, 146, 60, 0.68);
  background: rgba(254, 215, 170, 0.88);
  color: #9a3412;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 3px 8px rgba(194, 65, 12, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-expiry-label {
  border: 1px solid rgba(20, 184, 166, 0.62);
  background: rgba(167, 243, 208, 0.88);
  color: #115e59;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-expiry-label.is-expired {
  border-color: rgba(244, 63, 94, 0.58);
  background: rgba(254, 205, 211, 0.94);
  color: #9f1239;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 3px 8px rgba(190, 18, 60, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-edit,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-archive,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-delete {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 2px 4px 2px 0;
  padding: 6px 10px;
  border-radius: 11px;
  font-size: 0.78rem;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-edit {
  border: 1px solid rgba(14, 165, 233, 0.58);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(186, 230, 253, 0.72), transparent 65%),
    rgba(224, 242, 254, 0.98);
  color: #075985;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 5px 12px rgba(2, 132, 199, 0.14);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-edit:hover {
  transform: translateY(-1px);
  border-color: rgba(2, 132, 199, 0.72);
  background: rgba(186, 230, 253, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 16px rgba(2, 132, 199, 0.18);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-edit:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 2px 6px rgba(2, 132, 199, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-archive {
  border: 1px solid rgba(251, 146, 60, 0.68);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 215, 170, 0.7), transparent 65%),
    rgba(255, 247, 237, 0.98);
  color: #9a3412;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 5px 12px rgba(194, 65, 12, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-archive:hover {
  transform: translateY(-1px);
  border-color: rgba(234, 88, 12, 0.72);
  background: rgba(254, 215, 170, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 16px rgba(194, 65, 12, 0.16);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-archive:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 2px 6px rgba(194, 65, 12, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-delete {
  border: 1px solid rgba(244, 63, 94, 0.58);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 205, 211, 0.92), transparent 65%),
    rgba(255, 241, 242, 0.98);
  color: #9f1239;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 5px 12px rgba(190, 18, 60, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-delete:hover {
  transform: translateY(-1px);
  border-color: rgba(225, 29, 72, 0.7);
  background: rgba(254, 205, 211, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 16px rgba(190, 18, 60, 0.16);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-delete:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 2px 6px rgba(190, 18, 60, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-edit:focus-visible {
  outline: 2px solid rgba(2, 132, 199, 0.55);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-archive:focus-visible {
  outline: 2px solid rgba(234, 88, 12, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-delete:focus-visible {
  outline: 2px solid rgba(225, 29, 72, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-edit:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-archive:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-delete:disabled {
  opacity: 0.48;
  transform: none;
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(0.15);
}

@media (min-width: 901px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-form-grid.tp-announcements-form-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table {
    width: 100%;
    min-width: 640px;
    border-collapse: separate;
    border-spacing: 0 12px;
    overflow: visible;
    background: transparent;
    border: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table th,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table td {
    padding: 13px 12px;
    text-align: left;
    vertical-align: middle;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table thead th {
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.98) 0%, rgba(224, 242, 254, 0.9) 100%);
    color: #115e59;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    border-top: 1px solid rgba(125, 211, 252, 0.42);
    border-bottom: 1px solid rgba(125, 211, 252, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table thead th:first-child {
    border-left: 1px solid rgba(125, 211, 252, 0.42);
    border-radius: 14px 0 0 14px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table thead th:last-child {
    border-right: 1px solid rgba(125, 211, 252, 0.42);
    border-radius: 0 14px 14px 0;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] {
    background: transparent;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td {
    color: #334155;
    font-size: 0.86rem;
    border-top: 1px solid rgba(56, 189, 248, 0.42);
    border-bottom: 1px solid rgba(14, 165, 233, 0.28);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.94) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      0 10px 22px rgba(14, 116, 144, 0.1),
      0 3px 8px rgba(6, 182, 212, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td:first-child {
    border-left: 1px solid rgba(14, 165, 233, 0.46);
    border-radius: 16px 0 0 16px;
    background:
      radial-gradient(ellipse 90% 80% at 0% 0%, rgba(165, 243, 252, 0.72), transparent 68%),
      linear-gradient(180deg, rgba(224, 242, 254, 0.98) 0%, rgba(207, 250, 254, 0.92) 100%);
    color: #115e59;
    font-weight: 800;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      0 10px 22px rgba(14, 116, 144, 0.1),
      0 3px 8px rgba(6, 182, 212, 0.08);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td:first-child strong {
    color: #0f766e;
    font-weight: 800;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td:nth-child(2) {
    background:
      radial-gradient(ellipse 90% 80% at 50% 0%, rgba(167, 243, 208, 0.62), transparent 70%),
      rgba(236, 253, 245, 0.96);
    color: #047857;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: capitalize;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td:nth-child(3) {
    background:
      radial-gradient(ellipse 90% 80% at 50% 0%, rgba(221, 214, 254, 0.7), transparent 70%),
      rgba(245, 243, 255, 0.96);
    color: #5b21b6;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: capitalize;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td:nth-child(4) {
    background:
      radial-gradient(ellipse 90% 80% at 50% 0%, rgba(254, 215, 170, 0.58), transparent 70%),
      rgba(255, 247, 237, 0.96);
    color: #9a3412;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td:nth-child(5) {
    background:
      radial-gradient(ellipse 90% 80% at 50% 0%, rgba(186, 230, 253, 0.55), transparent 70%),
      rgba(240, 249, 255, 0.96);
    color: #075985;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td:nth-child(6) {
    background:
      radial-gradient(ellipse 90% 80% at 50% 0%, rgba(167, 243, 208, 0.5), transparent 70%),
      rgba(240, 253, 250, 0.96);
    color: #0f766e;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td:nth-child(6):has(.tp-announcement-expiry-label.is-expired) {
    background:
      radial-gradient(ellipse 90% 80% at 50% 0%, rgba(254, 205, 211, 0.62), transparent 70%),
      rgba(255, 241, 242, 0.96);
    color: #9f1239;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td:last-child {
    border-right: 1px solid rgba(14, 165, 233, 0.46);
    border-radius: 0 16px 16px 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    color: #334155;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id]:hover td {
    transform: translateY(-2px);
    border-top-color: rgba(14, 165, 233, 0.55);
    border-bottom-color: rgba(6, 182, 212, 0.36);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      0 16px 30px rgba(14, 116, 144, 0.14),
      0 6px 12px rgba(6, 182, 212, 0.12);
  }
}

@media (max-width: 900px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-form-grid.tp-announcements-form-card {
    grid-template-columns: 1fr;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-title,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-message,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-status,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-priority,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-expires-at,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-program,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-period {
    background: #ffffff !important;
    color: #1d1d1f !important;
    border: 1px solid rgba(148, 163, 184, 0.32) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
    color-scheme: light;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list.tp-announcements-list-panel {
    overflow-x: hidden;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] {
    margin: 0 0 12px;
    padding: 14px 14px 12px;
    border-radius: 18px;
    border: 1px solid rgba(14, 165, 233, 0.42);
    background:
      radial-gradient(ellipse 92% 72% at 0% 0%, rgba(186, 230, 253, 0.55), transparent 64%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.96) 100%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      0 12px 26px rgba(14, 116, 144, 0.1),
      0 4px 10px rgba(6, 182, 212, 0.08);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td {
    padding: 7px 0 !important;
    color: #334155 !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td:first-child,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td:first-child strong {
    color: #0f766e !important;
    font-weight: 800;
    font-size: 0.98rem;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td:nth-child(2) {
    color: #047857 !important;
    font-weight: 800;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td:nth-child(3) {
    color: #5b21b6 !important;
    font-weight: 800;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td:nth-child(4) {
    color: #9a3412 !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td:nth-child(5) {
    color: #075985 !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td:nth-child(6) {
    color: #0f766e !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td:nth-child(6):has(.tp-announcement-expiry-label.is-expired) {
    color: #9f1239 !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-edit,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-archive,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-delete,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #btn-tp-announcement-save,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #btn-tp-announcement-cancel {
    min-height: 40px;
  }
}

@media (max-width: 560px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-expires-at,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-program,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-period,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #btn-tp-announcement-save,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #btn-tp-announcement-cancel {
    max-width: none;
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-title,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-message,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-status,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcement-priority,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #btn-tp-announcement-save,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #btn-tp-announcement-cancel,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-edit,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-archive,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-delete,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id] td {
    transition: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #btn-tp-announcement-save:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-edit:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-archive:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements .tp-announcement-delete:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="announcements"].active) #tp-section-announcements #tp-announcements-list table tbody tr[data-announcement-id]:hover td {
    transform: none;
  }
}


/* =============================================================================
   Tenant Admin — Kurum Bildirimleri (#tp-section-notifications only)
   ============================================================================= */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications {
  min-width: 0;
  max-width: 100%;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications > .card {
  color: #1d1d1f;
  --admin-card-accent: #67e8f9;
  --admin-card-glow: rgba(103, 232, 249, 0.2);
  --admin-card-border: rgba(56, 189, 248, 0.5);
  --admin-card-sheen: rgba(165, 243, 252, 0.18);
  background-color: rgba(255, 255, 255, 0.94);
  background-image:
    radial-gradient(ellipse 92% 72% at 0% 0%, rgba(224, 242, 254, 0.9), transparent 62%),
    radial-gradient(ellipse 64% 48% at 100% 0%, rgba(237, 233, 254, 0.42), transparent 58%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  border: 1px solid rgba(56, 189, 248, 0.48);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 16px 38px rgba(14, 116, 144, 0.08),
    0 4px 12px rgba(99, 102, 241, 0.05);
  padding: 22px 22px 18px;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications > .card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications > .card::after {
  content: none;
  display: none;
  opacity: 0;
  background: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications > .card:hover {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 18px 42px rgba(14, 116, 144, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications > .card > h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  min-width: 0;
  font-size: clamp(1.12rem, 2.4vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  text-shadow: none;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications > .card > h2 .fa-bell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 11px;
  border: 1px solid rgba(167, 139, 250, 0.48);
  background:
    radial-gradient(ellipse 90% 80% at 20% 0%, rgba(165, 243, 252, 0.92), transparent 64%),
    rgba(237, 233, 254, 0.96);
  color: #0e7490;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 6px 14px rgba(14, 116, 144, 0.1);
  margin-right: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications > .card > h2 + p.muted {
  margin: 0 0 16px !important;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(125, 211, 252, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.92), transparent 65%),
    rgba(240, 249, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 6px 16px rgba(14, 116, 144, 0.05);
  color: #334155 !important;
  font-size: 0.92rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-form-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  min-width: 0;
  max-width: 100%;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-form-grid > .tp-field {
  margin: 0;
  padding: 14px 16px 16px;
  border-radius: 18px;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 20px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-field:has(#tp-notif-title) {
  border: 1px solid rgba(6, 182, 212, 0.62);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(165, 243, 252, 0.9), transparent 64%),
    rgba(207, 250, 254, 0.97);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-field:has(#tp-notif-message) {
  border: 1px solid rgba(167, 139, 250, 0.62);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(199, 210, 254, 0.88), transparent 64%),
    rgba(224, 231, 255, 0.97);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-program-row {
  border: 1px solid rgba(45, 212, 191, 0.64);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(153, 246, 228, 0.88), transparent 64%),
    rgba(204, 251, 241, 0.97);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-period-row {
  border: 1px solid rgba(251, 146, 60, 0.64);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 215, 170, 0.78), transparent 64%),
    rgba(255, 237, 213, 0.97);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-form-grid > .tp-field > label {
  display: block;
  margin: 0 0 10px;
  color: #0f172a !important;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notification-audience-hint,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notification-period-hint {
  margin: 8px 0 0;
  color: #475569 !important;
  font-size: 0.82rem;
  line-height: 1.45;
  text-shadow: none;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-message,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-program,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-period {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  color-scheme: light;
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-program,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-period {
  min-height: 44px;
  padding: 10px 12px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-message {
  min-height: 96px;
  padding: 12px 13px;
  resize: vertical;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-title::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-message::placeholder {
  color: #64748b;
  opacity: 1;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-title:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-message:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-program:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-period:hover {
  border-color: rgba(6, 182, 212, 0.55);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-title:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-message:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-program:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-period:focus {
  outline: none;
  border-color: rgba(6, 182, 212, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 0 0 3px rgba(34, 211, 238, 0.22);
  background: #ffffff;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-title:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-message:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-program:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-period:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-program[readonly],
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-period[readonly] {
  opacity: 0.62;
  cursor: not-allowed;
  background: rgba(248, 250, 252, 0.96);
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications > .card > .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #btn-tp-notif-publish {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 13px;
  border: 1px solid rgba(45, 212, 191, 0.6);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(167, 243, 208, 0.78), transparent 64%),
    rgba(240, 253, 250, 0.98);
  color: #115e59;
  font-weight: 800;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 7px 16px rgba(13, 148, 136, 0.14);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #btn-tp-notif-publish:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 184, 166, 0.72);
  background: rgba(204, 251, 241, 0.98);
  color: #0f766e;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 9px 18px rgba(13, 148, 136, 0.18);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #btn-tp-notif-publish:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 3px 8px rgba(13, 148, 136, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #btn-tp-notif-publish:focus-visible {
  outline: 2px solid rgba(13, 148, 136, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #btn-tp-notif-publish:disabled {
  opacity: 0.55;
  transform: none;
  cursor: not-allowed;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-msg {
  flex: 1 1 180px;
  max-width: 100%;
  min-height: 0;
  color: #475569;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-msg:empty {
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-msg:not(:empty) {
  padding: 9px 12px;
  border-radius: 12px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-msg.muted:not(:empty) {
  border: 1px solid rgba(186, 230, 253, 0.55);
  background: rgba(240, 249, 255, 0.94);
  color: #0e7490 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-msg.ok:not(:empty) {
  border: 1px solid rgba(134, 239, 172, 0.62);
  background: rgba(240, 253, 244, 0.96);
  color: #166534 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-msg.error:not(:empty) {
  border: 1px solid rgba(252, 165, 165, 0.62);
  background: rgba(255, 241, 242, 0.96);
  color: #9f1239 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .page-section-title {
  margin: 4px 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(167, 243, 208, 0.58);
  background:
    linear-gradient(90deg, rgba(45, 212, 191, 0.34) 0 4px, transparent 4px),
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(204, 251, 241, 0.78), transparent 64%),
    rgba(240, 253, 250, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  color: #115e59;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications [style*="overflow:auto"],
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications [style*="overflow: auto"] {
  max-width: 100%;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-empty {
  margin-top: 10px;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(253, 186, 116, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 50% 0%, rgba(254, 215, 170, 0.46), transparent 62%),
    rgba(255, 247, 237, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 18px rgba(194, 65, 12, 0.06);
  color: #9a3412 !important;
  font-weight: 650;
  text-align: center;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-tbody td.error {
  border: 1px solid rgba(252, 165, 165, 0.62);
  background: rgba(255, 241, 242, 0.96);
  color: #9f1239 !important;
  border-radius: 14px;
  padding: 16px 14px;
  font-weight: 650;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notification-audience-label {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
  border: 1px solid rgba(14, 165, 233, 0.55);
  background: rgba(186, 230, 253, 0.92);
  color: #0c4a6e;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 3px 8px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notification-audience-label.is-legacy {
  border-color: rgba(251, 146, 60, 0.68);
  background: rgba(254, 215, 170, 0.9);
  color: #9a3412;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 3px 8px rgba(194, 65, 12, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-edit,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-delete {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 2px 4px 2px 0;
  padding: 6px 10px;
  border-radius: 11px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-edit {
  border: 1px solid rgba(14, 165, 233, 0.58);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(186, 230, 253, 0.78), transparent 65%),
    rgba(224, 242, 254, 0.98);
  color: #075985;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 5px 12px rgba(2, 132, 199, 0.14);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-edit:hover {
  transform: translateY(-1px);
  border-color: rgba(2, 132, 199, 0.72);
  background: rgba(186, 230, 253, 0.78);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-edit:active {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-edit:focus-visible {
  outline: 2px solid rgba(2, 132, 199, 0.55);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-delete {
  border: 1px solid rgba(244, 63, 94, 0.58);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 205, 211, 0.92), transparent 65%),
    rgba(255, 241, 242, 0.98);
  color: #9f1239;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 5px 12px rgba(190, 18, 60, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-delete:hover {
  transform: translateY(-1px);
  border-color: rgba(225, 29, 72, 0.7);
  background: rgba(254, 205, 211, 0.98);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-delete:active {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-delete:focus-visible {
  outline: 2px solid rgba(225, 29, 72, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-edit:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-delete:disabled {
  opacity: 0.48;
  transform: none;
  cursor: not-allowed;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-title-btn {
  appearance: none;
  display: inline;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0f2948;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(14, 165, 233, 0.35);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-title-btn:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-title-btn:focus-visible {
  color: #0369a1;
  text-decoration-color: rgba(2, 132, 199, 0.72);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-title-btn:focus-visible {
  outline: 2px solid rgba(2, 132, 199, 0.5);
  outline-offset: 3px;
  border-radius: 4px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-detail-modal.tp-modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(8px);
  z-index: 80;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-detail-modal .tp-notif-detail-card {
  width: min(560px, calc(100vw - 24px));
  max-height: min(86vh, calc(100dvh - 32px));
  overflow-y: auto;
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(125, 211, 252, 0.48);
  color: #0f172a;
  background:
    radial-gradient(ellipse 92% 70% at 8% 0%, rgba(186, 230, 253, 0.45), transparent 58%),
    radial-gradient(ellipse 70% 55% at 92% 8%, rgba(224, 231, 255, 0.4), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.97) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 22px 48px rgba(15, 23, 42, 0.16);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-detail-modal .tp-notif-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-detail-modal .tp-notif-detail-heading {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f2948;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-detail-modal .tp-notif-detail-label {
  margin: 0 0 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-detail-modal .tp-notif-detail-title {
  margin: 0 0 14px;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-detail-modal .tp-notif-detail-message {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(237, 233, 254, 0.55), transparent 60%),
    rgba(248, 250, 252, 0.96);
  color: #1e293b;
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-detail-modal .tp-notif-detail-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-detail-modal .tp-notif-detail-meta {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.36);
  background: rgba(240, 249, 255, 0.92);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-detail-modal .tp-notif-detail-value {
  display: block;
  margin-top: 2px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f2948;
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-detail-modal .tp-notif-detail-meta-grid {
    grid-template-columns: 1fr;
  }
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal.tp-modal-overlay.active {
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(8px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal .tp-notif-delete-confirm-card {
  width: min(500px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  color: #1d1d1f;
  background:
    radial-gradient(ellipse 92% 70% at 0% 0%, rgba(254, 205, 211, 0.42), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  border: 1px solid rgba(196, 181, 253, 0.5);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 22px 48px rgba(15, 23, 42, 0.16);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal .tp-notif-delete-confirm-icon {
  color: #e11d48;
  border: 1px solid rgba(244, 63, 94, 0.48);
  background:
    radial-gradient(ellipse 90% 80% at 28% 20%, rgba(254, 205, 211, 0.95), transparent 64%),
    rgba(255, 241, 242, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 18px rgba(190, 18, 60, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal .tp-notif-delete-confirm-heading {
  color: #9f1239;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal .tp-notif-delete-confirm-warning {
  color: #9f1239;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(253, 186, 116, 0.55);
  background: rgba(255, 247, 237, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal .tp-notif-delete-confirm-info {
  border: 1px solid rgba(125, 211, 252, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.78), transparent 64%),
    rgba(240, 249, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal #tp-notif-delete-confirm-title {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal #tp-notif-delete-confirm-meta {
  color: #475569;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal #tp-notif-delete-confirm-msg.error {
  color: #9f1239 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal #btn-tp-notif-delete-cancel {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(196, 181, 253, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(237, 233, 254, 0.78), transparent 64%),
    rgba(248, 250, 252, 0.96);
  color: #334155;
  font-weight: 750;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 4px 12px rgba(91, 33, 182, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal #btn-tp-notif-delete-cancel:hover:not(:disabled) {
  border-color: rgba(167, 139, 250, 0.62);
  background: rgba(237, 233, 254, 0.9);
  color: #5b21b6;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal #btn-tp-notif-delete-cancel:focus-visible {
  outline: 2px solid rgba(139, 92, 246, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal #btn-tp-notif-delete-ok {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(244, 63, 94, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 205, 211, 0.92), transparent 64%),
    rgba(255, 241, 242, 0.98);
  color: #9f1239;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 5px 12px rgba(190, 18, 60, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal #btn-tp-notif-delete-ok:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(225, 29, 72, 0.7);
  background: rgba(254, 205, 211, 0.98);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal #btn-tp-notif-delete-ok:active:not(:disabled) {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal #btn-tp-notif-delete-ok:focus-visible {
  outline: 2px solid rgba(225, 29, 72, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal #btn-tp-notif-delete-cancel:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal #btn-tp-notif-delete-ok:disabled {
  opacity: 0.5;
  transform: none;
  cursor: not-allowed;
}

@media (min-width: 901px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications [style*="overflow:auto"],
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications [style*="overflow: auto"] {
    overflow-x: auto;
    overflow-y: visible;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table {
    width: 100%;
    min-width: 680px;
    border-collapse: separate;
    border-spacing: 0 12px;
    overflow: visible;
    background: transparent;
    border: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table th,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table td {
    padding: 13px 12px;
    text-align: left;
    vertical-align: middle;
    overflow-wrap: anywhere;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table thead th {
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.98) 0%, rgba(224, 242, 254, 0.9) 100%);
    color: #115e59;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    border-top: 1px solid rgba(125, 211, 252, 0.42);
    border-bottom: 1px solid rgba(125, 211, 252, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table thead th:first-child {
    border-left: 1px solid rgba(125, 211, 252, 0.42);
    border-radius: 14px 0 0 14px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table thead th:last-child {
    border-right: 1px solid rgba(125, 211, 252, 0.42);
    border-radius: 0 14px 14px 0;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table tbody tr td {
    color: #334155;
    font-size: 0.86rem;
    border-top: 1px solid rgba(56, 189, 248, 0.42);
    border-bottom: 1px solid rgba(14, 165, 233, 0.28);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.94) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      0 10px 22px rgba(14, 116, 144, 0.1),
      0 3px 8px rgba(6, 182, 212, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table tbody tr td:first-child {
    border-left: 1px solid rgba(14, 165, 233, 0.46);
    border-radius: 16px 0 0 16px;
    color: #0f172a;
    font-weight: 800;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table tbody tr td:last-child {
    border-right: 1px solid rgba(14, 165, 233, 0.34);
    border-radius: 0 16px 16px 0;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table tbody tr:hover td {
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      0 14px 26px rgba(14, 116, 144, 0.14);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table tbody tr td:nth-child(3) {
    color: #115e59;
    font-weight: 800;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table tbody tr td:nth-child(4) {
    color: #64748b;
    white-space: nowrap;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table tbody tr td:nth-child(5) {
    white-space: normal;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table tbody tr:has(td.error) td {
    transform: none;
    border-radius: 14px;
    box-shadow: none;
  }
}

@media (max-width: 900px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-title,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-message,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-program,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-period {
    background: #ffffff !important;
    color: #1d1d1f !important;
    border: 1px solid rgba(148, 163, 184, 0.32) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
    color-scheme: light;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications [style*="overflow:auto"],
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications [style*="overflow: auto"] {
    overflow-x: hidden;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table tbody tr {
    margin: 0 0 12px;
    padding: 14px 14px 12px;
    border-radius: 18px;
    border: 1px solid rgba(14, 165, 233, 0.42);
    background:
      radial-gradient(ellipse 92% 72% at 0% 0%, rgba(186, 230, 253, 0.55), transparent 64%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.96) 100%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      0 12px 26px rgba(14, 116, 144, 0.1),
      0 4px 10px rgba(6, 182, 212, 0.08);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table tbody td {
    padding: 7px 0 !important;
    color: #334155 !important;
    overflow-wrap: anywhere;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table tbody td:first-child,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table tbody td:first-child strong {
    color: #0f172a !important;
    font-weight: 800;
    font-size: 0.98rem;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table tbody td:nth-child(3) {
    color: #115e59 !important;
    font-weight: 800;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table tbody td:nth-child(4) {
    color: #64748b !important;
    white-space: normal;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-edit,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-delete,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #btn-tp-notif-publish {
    min-height: 40px;
  }
}

@media (max-width: 640px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications > .card {
    padding: clamp(14px, 3.5vw, 18px);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-form-grid {
    gap: clamp(10px, 2.8vw, 14px);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #btn-tp-notif-publish,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal #btn-tp-notif-delete-cancel,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal #btn-tp-notif-delete-ok {
    width: 100%;
    justify-content: center;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal .tp-notif-delete-confirm-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 430px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-form-grid > .tp-field {
    padding: 12px 12px 14px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-title,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notif-message,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-program,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #tp-notification-period {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #btn-tp-notif-publish,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-edit,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-delete,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table tbody tr td,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal #btn-tp-notif-delete-ok {
    transition: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications #btn-tp-notif-publish:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-edit:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications .tp-notif-delete:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-section-notifications table tbody tr:hover td,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="notifications"].active) #tp-notif-delete-confirm-modal #btn-tp-notif-delete-ok:hover:not(:disabled) {
    transform: none;
  }
}


/* =============================================================================
   Tenant Admin — Mevzuat workspace (#tp-section-mevzuat + tenant detail modal)
   ============================================================================= */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat {
  min-width: 0;
  max-width: 100%;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat > .card {
  color: #1d1d1f;
  --admin-card-accent: #67e8f9;
  --admin-card-glow: rgba(103, 232, 249, 0.18);
  --admin-card-border: rgba(125, 211, 252, 0.5);
  --admin-card-sheen: rgba(196, 181, 253, 0.16);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(125, 211, 252, 0.48);
  background-color: rgba(255, 255, 255, 0.94);
  background-image:
    radial-gradient(ellipse 88% 70% at 0% 0%, rgba(224, 242, 254, 0.88), transparent 62%),
    radial-gradient(ellipse 62% 48% at 100% 0%, rgba(237, 233, 254, 0.4), transparent 58%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 16px 38px rgba(14, 116, 144, 0.08);
  overflow: visible;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat > .card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat > .card::after {
  content: none;
  display: none;
  opacity: 0;
  background: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-ai-tp-host {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
  padding: 16px 16px 14px !important;
  border: 1px solid rgba(56, 189, 248, 0.46) !important;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 90% 72% at 0% 0%, rgba(186, 230, 253, 0.42), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 24px rgba(14, 116, 144, 0.07);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-ai-tp-host > h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px !important;
  min-width: 0;
  font-size: clamp(1.02rem, 2.1vw, 1.16rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  color: #0f172a !important;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-ai-tp-host > h3 .fa-wand-magic-sparkles {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 11px;
  border: 1px solid rgba(167, 139, 250, 0.48);
  background:
    radial-gradient(ellipse 90% 80% at 20% 0%, rgba(165, 243, 252, 0.9), transparent 64%),
    rgba(237, 233, 254, 0.96);
  color: #6d28d9;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 6px 14px rgba(109, 40, 217, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-context {
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.5);
  background: rgba(240, 249, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-context-label,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-context-title {
  color: #0e7490 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-chat {
  min-width: 0;
  max-width: 100%;
  gap: 10px;
  border-radius: 16px;
  border: 1px solid rgba(186, 230, 253, 0.55);
  background: rgba(248, 250, 252, 0.72);
  padding: 8px 8px 10px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-thread {
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.55) rgba(241, 245, 249, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-thread::-webkit-scrollbar {
  width: 7px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-thread::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.95);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-thread::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.55);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-bubble {
  color: #0f172a;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-bubble p,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-bubble li {
  color: #1e293b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-bubble strong {
  color: #0f172a !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-row.is-assistant .mevzuat-ai-bubble,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-row:not(.is-user):not(.is-pin) .mevzuat-ai-bubble {
  border: 1px solid rgba(167, 139, 250, 0.48);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(221, 214, 254, 0.72), transparent 64%),
    rgba(245, 243, 255, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 18px rgba(91, 33, 182, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-row.is-user .mevzuat-ai-bubble {
  border: 1px solid rgba(45, 212, 191, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(165, 243, 252, 0.7), transparent 64%),
    rgba(240, 253, 250, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 18px rgba(13, 148, 136, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-pin {
  padding: 8px 11px;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.5);
  background: rgba(224, 242, 254, 0.92);
  color: #0e7490;
  font-size: 0.86rem;
  font-weight: 650;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-loading {
  color: #0e7490;
  font-weight: 700;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-badge {
  border-radius: 999px;
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-badge.is-uploaded {
  border: 1px solid rgba(45, 212, 191, 0.55);
  background: rgba(204, 251, 241, 0.95);
  color: #115e59;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-badge.is-web {
  border: 1px solid rgba(56, 189, 248, 0.55);
  background: rgba(186, 230, 253, 0.95);
  color: #075985;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-badge.is-general {
  border: 1px solid rgba(196, 181, 253, 0.55);
  background: rgba(237, 233, 254, 0.95);
  color: #5b21b6;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-badge.is-clarification {
  border: 1px solid rgba(253, 186, 116, 0.6);
  background: rgba(255, 237, 213, 0.96);
  color: #9a3412;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-source-card,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat a.mevzuat-ai-source-card {
  border: 1px solid rgba(125, 211, 252, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 243, 199, 0.55), transparent 64%),
    rgba(240, 249, 255, 0.98);
  color: #0f172a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 5px 12px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-source-title {
  color: #0f172a !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-source-meta {
  color: #64748b !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-reveal-hint {
  color: #0e7490;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-composer-box {
  border: 1px solid rgba(125, 211, 252, 0.5);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 18px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-composer-box:focus-within {
  border-color: rgba(6, 182, 212, 0.72);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-composer textarea.mevzuat-ai-question {
  color: #0f172a !important;
  background: transparent !important;
  color-scheme: light;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-composer textarea.mevzuat-ai-question::placeholder {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-send {
  min-height: 40px;
  border: 1px solid rgba(45, 212, 191, 0.58);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(167, 243, 208, 0.78), transparent 64%),
    rgba(240, 253, 250, 0.98);
  color: #115e59;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 5px 12px rgba(13, 148, 136, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-send:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(204, 251, 241, 0.98);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-send:active:not(:disabled) {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-send:focus-visible {
  outline: 2px solid rgba(13, 148, 136, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-newchat {
  min-height: 40px;
  border: 1px solid rgba(196, 181, 253, 0.52);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(237, 233, 254, 0.8), transparent 64%),
    rgba(248, 250, 252, 0.98);
  color: #5b21b6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-newchat:hover {
  background: rgba(237, 233, 254, 0.94);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-newchat:focus-visible {
  outline: 2px solid rgba(139, 92, 246, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-msg {
  min-width: 0;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-msg:empty {
  padding: 0;
  border: none;
  background: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-msg.muted:not(:empty) {
  color: #0e7490 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-msg.error:not(:empty) {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(252, 165, 165, 0.6);
  background: rgba(255, 241, 242, 0.96);
  color: #9f1239 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .tp-mevzuat-library {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(167, 139, 250, 0.46);
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(221, 214, 254, 0.5), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 243, 255, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 24px rgba(91, 33, 182, 0.07);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .tp-mevzuat-library-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .tp-mevzuat-library-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  flex: 1 1 180px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .tp-mevzuat-library-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 20% 0%, rgba(165, 243, 252, 0.88), transparent 64%),
    rgba(224, 242, 254, 0.96);
  color: #0e7490;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #tp-mevzuat-library-title {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .tp-mevzuat-library-heading p {
  margin: 0;
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #btn-mevzuat-tp-refresh {
  min-height: 40px;
  white-space: nowrap;
  border: 1px solid rgba(56, 189, 248, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(186, 230, 253, 0.72), transparent 64%),
    rgba(240, 249, 255, 0.98);
  color: #075985;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #btn-mevzuat-tp-refresh:hover {
  transform: translateY(-1px);
  background: rgba(186, 230, 253, 0.78);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #btn-mevzuat-tp-refresh:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  padding: 4px 2px 6px;
  margin: 0;
  height: auto;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(167, 139, 250, 0.55) rgba(245, 243, 255, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list::-webkit-scrollbar {
  width: 7px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list::-webkit-scrollbar-thumb {
  background: rgba(167, 139, 250, 0.55);
  border-radius: 999px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list > .muted,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list > p.muted {
  border: 1px dashed rgba(56, 189, 248, 0.42);
  background: rgba(240, 249, 255, 0.96);
  color: #0e7490 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-list-row {
  min-width: 0;
  max-width: 100%;
  padding: 12px 13px;
  border-radius: 16px;
  text-align: left;
  overflow-wrap: anywhere;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 18px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-list-row::before {
  display: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-list-row:nth-child(4n + 1) {
  border: 1px solid rgba(6, 182, 212, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(165, 243, 252, 0.55), transparent 64%),
    rgba(236, 254, 255, 0.97);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-list-row:nth-child(4n + 2) {
  border: 1px solid rgba(167, 139, 250, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(221, 214, 254, 0.62), transparent 64%),
    rgba(245, 243, 255, 0.97);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-list-row:nth-child(4n + 3) {
  border: 1px solid rgba(45, 212, 191, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(167, 243, 208, 0.58), transparent 64%),
    rgba(240, 253, 244, 0.97);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-list-row:nth-child(4n + 4) {
  border: 1px solid rgba(251, 146, 60, 0.52);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 215, 170, 0.58), transparent 64%),
    rgba(255, 247, 237, 0.97);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-list-row:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 12px 22px rgba(15, 23, 42, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-list-row:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.55);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-row-title {
  color: #0f172a !important;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-row-meta {
  color: #64748b !important;
  flex-wrap: wrap;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-row-badge.published {
  border: 1px solid rgba(45, 212, 191, 0.55);
  background: rgba(204, 251, 241, 0.96);
  color: #115e59;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-list-row--tenant {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 12px;
  flex-wrap: wrap;
  cursor: default;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-list-row--tenant .mevzuat-row-main {
  flex: 1 1 12rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-row-actions--tenant {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-row-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 11px;
  border: 1px solid rgba(14, 165, 233, 0.42);
  background: rgba(224, 242, 254, 0.96);
  color: #0c4a6e;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-row-action-btn--oku {
  border-color: rgba(14, 165, 233, 0.45);
  background: linear-gradient(165deg, rgba(224, 242, 254, 0.98), rgba(186, 230, 253, 0.92));
  color: #075985;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-row-action-btn--sor {
  border-color: rgba(99, 102, 241, 0.5);
  background: linear-gradient(165deg, rgba(224, 231, 255, 0.98), rgba(199, 210, 254, 0.94));
  color: #312e81;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-row-action-btn:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-row-action-btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 16px rgba(15, 23, 42, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-list-row--tenant.is-active-source {
  border-color: rgba(20, 184, 166, 0.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 0 0 1px rgba(45, 212, 191, 0.35),
    0 12px 22px rgba(15, 23, 42, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-empty {
  border: 1px dashed rgba(253, 186, 116, 0.55);
  background: rgba(255, 247, 237, 0.96);
  color: #9a3412 !important;
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-msg {
  min-height: 1.3em;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-msg.muted:not(:empty) {
  color: #0e7490 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-msg.error:not(:empty) {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(252, 165, 165, 0.6);
  background: rgba(255, 241, 242, 0.96);
  color: #9f1239 !important;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="mevzuat"].active) #mevzuat-detail-modal.tp-modal-overlay.active {
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(8px);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="mevzuat"].active) #mevzuat-detail-modal .tp-modal {
  color: #1d1d1f;
  max-width: min(720px, calc(100vw - 24px));
  max-height: min(88vh, calc(100vh - 24px));
  overflow-y: auto;
  border: 1px solid rgba(125, 211, 252, 0.5);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 92% 70% at 0% 0%, rgba(224, 242, 254, 0.72), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 22px 48px rgba(15, 23, 42, 0.16);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="mevzuat"].active) #mevzuat-detail-modal .tp-modal-header {
  border-color: rgba(186, 230, 253, 0.55);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="mevzuat"].active) #mevzuat-detail-modal #mevzuat-detail-title {
  color: #0f172a;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="mevzuat"].active) #mevzuat-detail-modal .tp-modal-close {
  min-height: 40px;
  border: 1px solid rgba(196, 181, 253, 0.5);
  background: rgba(245, 243, 255, 0.96);
  color: #5b21b6;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="mevzuat"].active) #mevzuat-detail-modal #mevzuat-detail-meta {
  color: #475569 !important;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="mevzuat"].active) #mevzuat-detail-modal #mevzuat-detail-body {
  color: #1e293b !important;
  border: 1px solid rgba(186, 230, 253, 0.5);
  background: rgba(248, 250, 252, 0.96);
  overflow-wrap: anywhere;
}

@media (min-width: 1100px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat > .card {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(280px, 0.95fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
    height: min(calc(100dvh - 132px), 760px);
    max-height: min(calc(100dvh - 132px), 760px);
    overflow: hidden;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-ai-tp-host,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .tp-mevzuat-library {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-ai-tp-host > h3,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-context,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-composer,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .tp-mevzuat-library-header,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-empty,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-msg {
    flex-shrink: 0;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-chat {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
  }
}

@media (max-width: 1099px) and (min-width: 901px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-chat {
    height: min(52vh, 480px);
    min-height: 280px;
    max-height: min(58vh, 520px);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list {
    max-height: min(52vh, 420px);
  }
}

@media (max-width: 640px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat > .card,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-ai-tp-host,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .tp-mevzuat-library {
    padding: clamp(12px, 3.4vw, 16px);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #btn-mevzuat-tp-refresh,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-newchat,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-send {
    min-height: 40px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list {
    max-height: min(48vh, 360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-send,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #btn-mevzuat-tp-refresh,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-list-row {
    transition: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat .mevzuat-ai-send:hover:not(:disabled),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #btn-mevzuat-tp-refresh:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mevzuat"].active) #tp-section-mevzuat #mevzuat-tp-list .mevzuat-list-row:hover {
    transform: none;
  }
}


/* =============================================================================
   Tenant Admin — Abonelik (#tp-section-abonelik)
   ============================================================================= */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="abonelik"].active) #tp-section-abonelik {
  --tp-ab-pad: clamp(0.7rem, 1.4vw, 1.15rem);
  --tp-ab-gap: clamp(0.7rem, 1.3vw, 1.1rem);
  --tp-ab-radius: clamp(14px, 1.6vw, 22px);
  --tp-ab-radius-sm: clamp(10px, 1.2vw, 16px);
  --tp-ab-title: clamp(1.35rem, 2.4vw, 1.85rem);
  --tp-ab-body: clamp(0.78rem, 1.15vw, 0.92rem);
  --tp-ab-label: clamp(0.68rem, 1vw, 0.78rem);
  --tp-ab-navy: #0f2744;
  --tp-ab-muted: #64748b;
  --tp-ab-cyan: #06b6d4;
  --tp-ab-blue: #2563eb;
  position: relative;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="abonelik"].active) #tp-section-abonelik > .card.tp-abonelik-card {
  position: relative;
  color: var(--tp-ab-navy);
  display: flex;
  flex-direction: column;
  gap: var(--tp-ab-gap);
  min-width: 0;
  max-width: 100%;
  padding: clamp(0.75rem, 1.4vw, 1.1rem);
  border-radius: var(--tp-ab-radius);
  border: 1px solid rgba(148, 197, 232, 0.45);
  background:
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(186, 230, 253, 0.45), transparent 55%),
    linear-gradient(180deg, #eef6ff 0%, #f5f9fd 42%, #eef4fb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 14px 34px rgba(14, 116, 144, 0.07);
  overflow: hidden;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="abonelik"].active) #tp-section-abonelik > .card.tp-abonelik-card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="abonelik"].active) #tp-section-abonelik > .card.tp-abonelik-card::after {
  content: none;
  display: none;
}

/* Refresh control — floats on card; hero subtitle strip removed */
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-refresh {
  position: absolute;
  top: clamp(0.55rem, 1.1vw, 0.85rem);
  right: clamp(0.55rem, 1.1vw, 0.85rem);
  z-index: 5;
  flex: 0 0 auto;
  width: clamp(2rem, 3.2vw, 2.35rem);
  height: clamp(2rem, 3.2vw, 2.35rem);
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(255, 255, 255, 0.92);
  color: #0369a1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.12);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-refresh:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Summary is first content block after outer Admin title */
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-summary {
  min-width: 0;
  padding-right: clamp(2.4rem, 4vw, 3rem);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-summary-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.55fr) auto;
  align-items: center;
  gap: clamp(0.65rem, 1.4vw, 1.25rem);
  min-width: 0;
  padding: clamp(0.85rem, 1.5vw, 1.2rem) clamp(0.9rem, 1.6vw, 1.35rem);
  border-radius: var(--tp-ab-radius);
  border: 1px solid rgba(186, 230, 253, 0.72);
  background-color: #f4faff;
  background-image:
    linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.62) 38%,
      rgba(255, 255, 255, 0.18) 58%,
      rgba(255, 255, 255, 0.04) 72%,
      transparent 100%
    ),
    url("../images/abonelik/summary-background.png?v=20260917-abonelik-art-1");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 12px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

/* Left readability veil only — scenic PNG remains visible on the right */
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-summary-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.28) 34%,
    transparent 58%
  );
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-summary-art::after {
  content: none;
  display: none;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-summary-plan,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-summary-metrics,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-ghost-btn {
  position: relative;
  z-index: 1;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-summary-plan {
  display: flex;
  align-items: center;
  gap: clamp(0.55rem, 1.1vw, 0.9rem);
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-crown {
  flex: 0 0 auto;
  width: clamp(2.6rem, 4.2vw, 3.3rem);
  height: clamp(2.6rem, 4.2vw, 3.3rem);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #2dd4bf 0%, #0891b2 55%, #0284c7 100%);
  box-shadow: 0 8px 18px rgba(8, 145, 178, 0.28);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: clamp(0.65rem, 0.95vw, 0.74rem);
  font-weight: 700;
  white-space: nowrap;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-badge.is-active {
  color: #047857;
  background: rgba(167, 243, 208, 0.55);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-badge.is-trial {
  color: #0e7490;
  background: rgba(165, 243, 252, 0.55);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-badge.is-past-due {
  color: #b91c1c;
  background: rgba(254, 202, 202, 0.65);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-badge.is-warn {
  color: #b45309;
  background: rgba(254, 243, 199, 0.75);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-badge.is-idle {
  color: #475569;
  background: rgba(226, 232, 240, 0.8);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-name {
  margin: 0.28rem 0 0.12rem;
  color: var(--tp-ab-navy);
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-tagline {
  margin: 0;
  color: var(--tp-ab-muted);
  font-size: var(--tp-ab-label);
  line-height: 1.35;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-summary-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.45rem, 1vw, 0.85rem);
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-metric {
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-metric-label {
  display: block;
  color: #64748b;
  font-size: var(--tp-ab-label);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-metric-value {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  color: var(--tp-ab-navy);
  font-size: clamp(0.78rem, 1.2vw, 0.92rem);
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-metric-value--date {
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-metric-value i {
  color: #38bdf8;
  margin-top: 0.15rem;
  flex: 0 0 auto;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-metric-hint {
  display: block;
  margin-left: 1.15rem;
  color: var(--tp-ab-muted);
  font-size: 0.86em;
  font-weight: 600;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-metric-hint.is-overdue {
  color: #b91c1c;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-ghost-btn {
  justify-self: end;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid rgba(56, 189, 248, 0.65);
  background: rgba(255, 255, 255, 0.92);
  color: #0284c7;
  font-size: clamp(0.72rem, 1.05vw, 0.84rem);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-ghost-btn:hover {
  background: #f0f9ff;
}

/* Main grid */
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: var(--tp-ab-gap);
  min-width: 0;
  align-items: start;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-col-main,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-col-side {
  display: flex;
  flex-direction: column;
  gap: var(--tp-ab-gap);
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-panel,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-side-card {
  min-width: 0;
  padding: var(--tp-ab-pad);
  border-radius: var(--tp-ab-radius);
  border: 1px solid rgba(186, 230, 253, 0.65);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 24px rgba(15, 23, 42, 0.05);
}

/* Ödeme Geçmişi — stronger dual-tone ice-blue glass */
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-history-panel {
  position: relative;
  border-color: rgba(103, 232, 249, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%),
    linear-gradient(145deg, rgba(236, 254, 255, 0.96) 0%, rgba(224, 242, 254, 0.94) 38%, rgba(186, 230, 253, 0.55) 72%, rgba(226, 232, 240, 0.42) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(125, 211, 252, 0.18),
    0 14px 30px rgba(14, 165, 233, 0.1);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-history-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.55), rgba(125, 211, 252, 0.75), rgba(165, 180, 252, 0.35));
  opacity: 0.85;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-history-panel .tp-ab-panel-head {
  position: relative;
  z-index: 1;
  margin: -0.15rem -0.15rem 0.85rem;
  padding: 0.7rem 0.75rem 0.75rem;
  border-radius: calc(var(--tp-ab-radius-sm) + 2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(240, 249, 255, 0.35) 100%);
  border: 1px solid rgba(186, 230, 253, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-history-panel .tp-ab-panel-icon {
  color: #0369a1;
  border: 1px solid rgba(125, 211, 252, 0.6);
  background:
    radial-gradient(ellipse 90% 80% at 20% 0%, rgba(165, 243, 252, 0.95), transparent 70%),
    linear-gradient(160deg, rgba(224, 242, 254, 0.98), rgba(186, 230, 253, 0.75));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 4px 10px rgba(14, 165, 233, 0.1);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-history-panel .tp-ab-payments {
  position: relative;
  z-index: 1;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-history-panel .tp-ab-empty {
  margin: 0.15rem 0 0;
  padding: 0.9rem 0.95rem;
  border-radius: var(--tp-ab-radius-sm);
  border: 1px solid rgba(186, 230, 253, 0.55);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.72) 0%, rgba(240, 249, 255, 0.55) 55%, rgba(224, 242, 254, 0.45) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #475569;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-panel-head-main {
  display: flex;
  gap: 0.65rem;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-panel-icon {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  color: #0284c7;
  background: rgba(186, 230, 253, 0.55);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-panel-title {
  margin: 0;
  color: var(--tp-ab-navy);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-panel-sub {
  margin: 0.2rem 0 0;
  color: var(--tp-ab-muted);
  font-size: var(--tp-ab-label);
  line-height: 1.35;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-link-btn {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #0284c7;
  font-size: clamp(0.72rem, 1.05vw, 0.84rem);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  padding: 0.2rem 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-return-banner {
  margin: 0 0 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--tp-ab-radius-sm);
  border: 1px solid rgba(125, 211, 252, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 249, 255, 0.88));
  color: #0c4a6e;
  font-size: var(--tp-ab-body);
  font-weight: 650;
  line-height: 1.4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 6px 16px rgba(14, 165, 233, 0.08);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-return-banner.is-ok {
  border-color: rgba(52, 211, 153, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(236, 253, 245, 0.9));
  color: #065f46;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-return-banner.is-warn {
  border-color: rgba(251, 191, 36, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 251, 235, 0.92));
  color: #92400e;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-return-banner.is-err {
  border-color: rgba(252, 165, 165, 0.7);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(254, 242, 242, 0.92));
  color: #991b1b;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-active {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-active .tp-ab-pay-plan-row {
  align-items: flex-start;
  margin-bottom: 0;
  padding: 0.62rem 0.7rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-status-pill {
  flex: 0 0 auto;
  margin-top: 0.08rem;
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.52rem;
  border-radius: 999px;
  color: #047857;
  background: rgba(167, 243, 208, 0.72);
  border: 1px solid rgba(52, 211, 153, 0.42);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-active-meta {
  display: grid;
  gap: 0.12rem;
  padding: 0.48rem 0.7rem;
  border-radius: var(--tp-ab-radius-sm);
  border: 1px solid rgba(186, 230, 253, 0.55);
  background: rgba(255, 255, 255, 0.72);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-next {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-next strong {
  color: var(--tp-ab-navy);
  font-size: clamp(0.82rem, 1.15vw, 0.94rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-remain {
  margin: 0.08rem 0 0;
  color: var(--tp-ab-muted);
  font-size: var(--tp-ab-label);
  font-weight: 650;
  line-height: 1.3;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-active-label {
  display: block;
  color: var(--tp-ab-muted);
  font-size: var(--tp-ab-label);
  font-weight: 650;
  margin-bottom: 0.1rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-next .tp-ab-pay-active-label {
  display: inline;
  margin-bottom: 0;
  white-space: nowrap;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-pay-title[hidden] {
  display: none;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-plan-icon.is-active {
  color: #047857;
  background: rgba(167, 243, 208, 0.55);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cta--secondary {
  background: linear-gradient(180deg, #38bdf8, #0284c7);
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.22);
}

/* History table */
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-table-wrap {
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--tp-ab-radius-sm);
  border: 1px solid rgba(186, 230, 253, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 28rem;
  background: transparent;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-table thead {
  background: linear-gradient(180deg, rgba(240, 249, 255, 0.95), rgba(224, 242, 254, 0.65));
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-table th {
  text-align: left;
  color: #475569;
  font-size: var(--tp-ab-label);
  font-weight: 700;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(186, 230, 253, 0.7);
  white-space: nowrap;
  background: transparent;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-table tbody tr {
  background: rgba(255, 255, 255, 0.55);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-table tbody tr:nth-child(even) {
  background: rgba(248, 250, 252, 0.72);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-table tbody tr:hover {
  background: rgba(224, 242, 254, 0.55);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-table td {
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  color: #1e293b;
  font-size: clamp(0.74rem, 1.1vw, 0.86rem);
  vertical-align: top;
  background: transparent;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-td-date {
  color: #64748b;
  white-space: nowrap;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-td-amount strong {
  font-weight: 800;
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-td-desc {
  color: #64748b;
  max-width: 14rem;
  overflow-wrap: anywhere;
  font-weight: 500;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  margin-right: 0.25rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-badge.is-paid {
  color: #047857;
  background: rgba(167, 243, 208, 0.55);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-badge.is-test {
  color: #0369a1;
  background: rgba(186, 230, 253, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.45);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-badge.is-review {
  color: #c2410c;
  background: rgba(254, 215, 170, 0.7);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-badge.is-failed {
  color: #b91c1c;
  background: rgba(254, 202, 202, 0.7);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-badge.is-pending,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-badge.is-cancelled,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-badge.is-refunded {
  color: #475569;
  background: rgba(226, 232, 240, 0.85);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-note {
  margin-top: 0.2rem;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 600;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-empty,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-error,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-loading {
  margin: 0.4rem 0;
  color: var(--tp-ab-muted);
  font-size: var(--tp-ab-body);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-error {
  color: #b91c1c;
}

/* Promo — real scenic PNG + left HTML readability */
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-promo {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(9.5rem, 17vw, 13rem);
  padding: clamp(1.05rem, 2vw, 1.55rem) clamp(1.05rem, 2vw, 1.6rem);
  border-radius: var(--tp-ab-radius);
  overflow: hidden;
  border: 1px solid rgba(186, 230, 253, 0.55);
  background-color: #eaf6ff;
  background-image: url("../images/abonelik/promo-background.png?v=20260917-abonelik-art-1");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right top;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-promo-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Left-only veil — keep right sky/slogan area of PNG clear */
  background: linear-gradient(
    100deg,
    rgba(247, 251, 255, 0.92) 0%,
    rgba(247, 251, 255, 0.72) 22%,
    rgba(247, 251, 255, 0.22) 38%,
    transparent 48%
  );
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-promo-art::before,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-promo-art::after {
  content: none;
  display: none;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-promo-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  max-width: min(23rem, 56%);
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-promo-title {
  margin: 0;
  color: #0b2744;
  font-size: clamp(1.12rem, 2.05vw, 1.48rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-promo-body {
  margin: 0;
  max-width: 22rem;
  color: #475569;
  font-size: clamp(0.78rem, 1.15vw, 0.9rem);
  line-height: 1.45;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-promo-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.35rem;
  margin-top: 0.35rem;
  padding: 0.58rem 1.05rem;
  border-radius: 999px;
  border: 1.5px solid rgba(56, 189, 248, 0.55);
  background: rgba(255, 255, 255, 0.96);
  color: #0369a1;
  font-size: clamp(0.74rem, 1.1vw, 0.86rem);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(14, 165, 233, 0.1);
}

/* Payment card */
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-panel .tp-ab-panel-title {
  margin-bottom: 0.85rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-plan-row,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-neutral {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--tp-ab-radius-sm);
  background: rgba(239, 246, 255, 0.85);
  border: 1px solid rgba(191, 219, 254, 0.7);
  margin-bottom: 0.85rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-plan-left,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-neutral {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-plan-icon {
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #0284c7;
  background: rgba(186, 230, 253, 0.75);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-plan-name {
  color: var(--tp-ab-navy);
  font-weight: 800;
  font-size: clamp(0.86rem, 1.25vw, 0.98rem);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-plan-sub,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-neutral p {
  margin: 0.2rem 0 0;
  color: var(--tp-ab-muted);
  font-size: var(--tp-ab-label);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-discount {
  display: inline-flex;
  margin-left: 0.25rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(237, 233, 254, 0.95);
  color: #6d28d9;
  font-size: 0.68rem;
  font-weight: 800;
  vertical-align: middle;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-plan-price {
  text-align: right;
  flex: 0 0 auto;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-amount {
  color: var(--tp-ab-navy);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-strike {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 0.8rem;
  font-weight: 600;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: clamp(2.6rem, 4.2vw, 3rem);
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(100deg, #22d3ee 0%, #2563eb 55%, #1d4ed8 100%);
  box-shadow:
    0 10px 24px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cta--secondary {
  background: linear-gradient(100deg, #38bdf8 0%, #0ea5e9 100%);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-hint {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.65rem 0 0;
  color: var(--tp-ab-muted);
  font-size: var(--tp-ab-label);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-panel {
  container-type: inline-size;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-hint--extend {
  margin-top: 0.4rem;
  gap: 0.28rem;
  font-size: clamp(0.7rem, 2.55cqi, 0.78rem);
  font-weight: 600;
  letter-spacing: -0.016em;
  line-height: 1.25;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-hint--extend > span {
  min-width: 0;
}

@container (min-width: 28rem) {
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-hint--extend {
    font-size: 0.68rem;
    letter-spacing: -0.028em;
    white-space: nowrap;
  }
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-pay-readonly {
  margin: 0 0 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--tp-ab-radius-sm);
  background: rgba(241, 245, 249, 0.9);
  color: #475569;
  font-size: var(--tp-ab-body);
  line-height: 1.4;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-trust {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-trust-brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-trust-brand strong {
  color: #0f172a;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-trust-brand span {
  color: var(--tp-ab-muted);
  font-size: 0.68rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-trust-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-card-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.1rem, 5vw, 3.7rem);
  height: clamp(1.55rem, 2.6vw, 1.85rem);
  padding: 0.18rem 0.32rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: #fff;
  color: #334155;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-sizing: border-box;
  overflow: hidden;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-card-logo--troy {
  width: clamp(3.55rem, 5.8vw, 4.35rem);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-card-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-card-logo--troy .tp-ab-card-logo-img {
  max-width: 100%;
  max-height: 100%;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-card-logo-img.is-missing {
  display: none;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-card-logo.is-fallback .tp-ab-card-logo-fallback {
  display: inline;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-card-logo-fallback[hidden] {
  display: none !important;
}

/* Reminder / support / legal */
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-side-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-side-card-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #0284c7;
  background: rgba(186, 230, 253, 0.7);
  border: 1px solid rgba(186, 230, 253, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-side-card-icon.is-support {
  color: #fff;
  border-color: rgba(56, 189, 248, 0.45);
  background:
    radial-gradient(ellipse 90% 70% at 20% 10%, rgba(165, 243, 252, 0.55), transparent 60%),
    linear-gradient(145deg, #38bdf8 0%, #0ea5e9 48%, #2563eb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 6px 14px rgba(37, 99, 235, 0.2);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-side-card-icon.is-legal {
  color: #1e3a8a;
  border-color: rgba(191, 219, 254, 0.7);
  background:
    radial-gradient(ellipse 90% 70% at 20% 0%, rgba(224, 231, 255, 0.9), transparent 65%),
    rgba(219, 234, 254, 0.92);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-side-card-body {
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-side-card-body h4 {
  margin: 0;
  color: var(--tp-ab-navy);
  font-size: clamp(0.82rem, 1.2vw, 0.94rem);
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-side-card-body p {
  margin: 0.25rem 0 0;
  color: var(--tp-ab-muted);
  font-size: var(--tp-ab-label);
  line-height: 1.4;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-btn {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.95) 100%);
  color: #0369a1;
  font-size: clamp(0.74rem, 1.05vw, 0.84rem);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.08);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-legal-card .tp-ab-link-btn {
  grid-column: 1 / -1;
  justify-self: start;
}

/* Right-column premium dual-tone cards */
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-reminder {
  grid-template-columns: auto minmax(0, 1fr) auto;
  border-color: rgba(125, 211, 252, 0.65);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97) 0%, rgba(240, 249, 255, 0.94) 55%, rgba(224, 242, 254, 0.9) 100%);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-card {
  border-color: rgba(103, 232, 249, 0.55);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.97) 0%, rgba(236, 254, 255, 0.93) 52%, rgba(204, 251, 241, 0.78) 100%);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-root {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  width: min(380px, calc(100vw - 1.5rem));
  pointer-events: none;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik:has(.tp-ab-overlay:not([hidden])) #tp-ab-support-root,
html[data-sa-theme="liquid-light"] #tp-section-abonelik:has(#tp-ab-modal-plan-details:not([hidden])) #tp-ab-support-root,
html[data-sa-theme="liquid-light"] #tp-section-abonelik:has(#tp-ab-modal-legal:not([hidden])) #tp-ab-support-root,
html[data-sa-theme="liquid-light"] #tp-section-abonelik:has(#tp-ab-modal-cancel-confirm:not([hidden])) #tp-ab-support-root,
html[data-sa-theme="liquid-light"] #tp-section-abonelik:has(#tp-ab-modal-ecosystem:not([hidden])) #tp-ab-support-root {
  visibility: hidden;
  pointer-events: none;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-launcher,
html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-chat {
  pointer-events: auto;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-launcher {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 100%;
  margin: 0;
  padding: 0.65rem 0.95rem 0.65rem 0.65rem;
  border: 1px solid rgba(125, 211, 252, 0.8);
  border-radius: 999px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(236, 254, 255, 0.94));
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(14, 116, 144, 0.06);
  color: #0f172a;
  cursor: pointer;
  text-align: left;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-launcher:hover {
  border-color: rgba(34, 211, 238, 0.95);
  box-shadow: 0 16px 36px rgba(14, 116, 144, 0.16);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-launcher-mark {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(125, 211, 252, 0.7);
  flex: 0 0 auto;
  overflow: hidden;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-launcher-mark img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  display: block;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-launcher strong,
html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-launcher small {
  display: block;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-launcher strong {
  font-size: 0.92rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-launcher small {
  color: #475569;
  font-size: 0.75rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-chat {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: min(560px, calc(100vh - 7.5rem));
  border: 1px solid rgba(125, 211, 252, 0.78);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(240, 249, 255, 0.97) 100%);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12), 0 2px 10px rgba(14, 116, 144, 0.07);
  color: #0f172a;
  overflow: hidden;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-chat[hidden] {
  display: none;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-chat-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem 0.65rem;
  padding: 0.8rem 0.85rem 0.72rem;
  border-bottom: 1px solid rgba(125, 211, 252, 0.55);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-chat-head:has(#tp-ab-support-end:not([hidden])) {
  grid-template-columns: auto minmax(0, 1fr);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-chat-head:has(#tp-ab-support-end:not([hidden])) .tp-ab-support-chat-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-avatar {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(125, 211, 252, 0.7);
  flex: 0 0 auto;
  overflow: hidden;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-avatar img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  display: block;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-chat-id {
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-chat-id h2,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-chat-id p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-chat-id h2 {
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-chat-id p {
  margin-top: 0.12rem;
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.25;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-chat-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-end,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-start {
  border: 1px solid rgba(14, 116, 144, 0.35);
  background: #fff;
  color: #0e7490;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.42rem 0.62rem;
  min-height: 2rem;
  box-sizing: border-box;
  white-space: nowrap;
  cursor: pointer;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-end[hidden],
html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-chat-form[hidden],
html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-confirm[hidden] {
  display: none !important;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-start {
  display: block;
  margin: 0.4rem auto 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-chat {
  position: relative;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-confirm {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.28);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-confirm-card {
  width: 100%;
  max-width: 100%;
  padding: 0.9rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(103, 232, 249, 0.55);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-confirm-card h3,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-confirm-card p {
  margin: 0 0 0.45rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-confirm-card p {
  color: #334155;
  font-size: 0.82rem;
  line-height: 1.4;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-confirm-actions button {
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-confirm-cancel {
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #fff;
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-confirm-ok {
  border: 0;
  background: #0e7490;
  color: #fff;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-chat-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #0f172a;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-chat-timeline {
  flex: 1 1 auto;
  min-height: 180px;
  overflow: auto;
  padding: 0.9rem 0.85rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-empty-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin: 1.35rem 0.55rem 0.55rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-empty-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  box-sizing: border-box;
  padding: 3px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(125, 211, 252, 0.75);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-empty {
  margin: 0;
  text-align: center;
  line-height: 1.45;
  color: #334155;
  font-size: 0.84rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-day {
  margin: 0.15rem 0 0.55rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-bubble {
  max-width: 86%;
  margin: 0 0 0.55rem;
  padding: 0.55rem 0.68rem 0.42rem;
  border-radius: 16px;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-bubble.is-continued {
  margin-top: -0.28rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-bubble.is-mine {
  margin-left: auto;
  background: linear-gradient(180deg, #f0fdff 0%, #ecfeff 100%);
  border: 1px solid rgba(103, 232, 249, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-bubble.is-support {
  margin-right: auto;
  background: #fff;
  border: 1px solid rgba(125, 211, 252, 0.78);
  box-shadow: 0 4px 12px rgba(14, 116, 144, 0.06);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-bubble-who {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  margin: 0 0 0.28rem;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0e7490;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-bubble-who img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex: 0 0 auto;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-bubble.is-mine .tp-ab-support-bubble-who {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-mark {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.8);
  background: #fff;
  overflow: hidden;
  flex: 0 0 auto;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-mark img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-mark-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #0e7490;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-mark-fallback[hidden] {
  display: none !important;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-bubble-body {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: 0.88rem;
  line-height: 1.4;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-bubble-meta {
  margin: 0.28rem 0 0;
  font-size: 0.66rem;
  line-height: 1.2;
  color: #64748b;
  text-align: right;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.45rem 0.5rem;
  padding: 0.7rem 0.75rem 0.65rem;
  border-top: 1px solid rgba(125, 211, 252, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 255, 0.92));
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-chat-input {
  grid-column: 1;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  max-height: 6.5rem;
  resize: vertical;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 14px;
  padding: 0.62rem 0.75rem;
  background: #fff;
  color: #0f172a;
  font: inherit;
  line-height: 1.35;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-chat-input:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.9);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-chat-send {
  grid-column: 2;
  align-self: end;
  justify-self: end;
  box-sizing: border-box;
  white-space: nowrap;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  padding: 0 0.9rem;
  background: linear-gradient(180deg, #22d3ee 0%, #06b6d4 100%);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-chat-send:disabled {
  opacity: 0.6;
  cursor: default;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-chat-status {
  grid-column: 1 / -1;
  min-height: 1rem;
  margin: 0;
  color: #b91c1c;
  font-size: 0.75rem;
}

@media (max-width: 640px) {
  html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-root {
    right: 0.75rem;
    bottom: 0.75rem;
    width: calc(100vw - 1.5rem);
  }

  html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-support-chat {
    max-height: calc(100vh - 6.5rem);
  }
}

@media (max-width: 360px) {
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-chat-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-support-chat-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-legal-card {
  border-color: rgba(191, 219, 254, 0.7);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.97) 0%, rgba(239, 246, 255, 0.94) 48%, rgba(224, 231, 255, 0.82) 100%);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-reminder.is-soon {
  background: linear-gradient(145deg, rgba(255, 251, 235, 0.97) 0%, rgba(255, 247, 237, 0.95) 100%);
  border-color: rgba(253, 186, 116, 0.55);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-reminder.is-overdue {
  background: linear-gradient(145deg, rgba(254, 242, 242, 0.97) 0%, rgba(254, 226, 226, 0.92) 100%);
  border-color: rgba(252, 165, 165, 0.65);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-overdue-balance {
  margin: 0.35rem 0 0.45rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: linear-gradient(145deg, rgba(255, 251, 235, 0.95), rgba(255, 247, 237, 0.88));
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-overdue-plan {
  font-size: 0.9rem;
  font-weight: 750;
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-overdue-amount {
  margin-top: 0.2rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-overdue-due {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: #92400e;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-overdue-note {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-reminder.is-trial,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-reminder.is-ok {
  background: linear-gradient(145deg, rgba(240, 253, 250, 0.96) 0%, rgba(204, 251, 241, 0.78) 100%);
  border-color: rgba(94, 234, 212, 0.45);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-reminder.is-soon .tp-ab-side-card-icon {
  color: #c2410c;
  background: rgba(254, 215, 170, 0.75);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-reminder.is-overdue .tp-ab-side-card-icon {
  color: #b91c1c;
  background: rgba(254, 202, 202, 0.8);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-reminder-chip {
  flex: 0 0 auto;
  min-width: 3.6rem;
  padding: 0.55rem 0.45rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  color: #b91c1c;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}

/* Overlays & modals — fixed within admin viewport, not a fake global shell */
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-overlay,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: clamp(0.5rem, 1.2vw, 1rem);
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(6px);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-overlay[hidden],
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-modal[hidden] {
  display: none !important;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-overlay-panel,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-modal-panel {
  position: relative;
  width: min(1080px, 100%);
  max-height: 100%;
  overflow: auto;
  margin: auto;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: var(--tp-ab-radius);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(186, 230, 253, 0.35), transparent 55%),
    #f8fbff;
  border: 1px solid rgba(186, 230, 253, 0.7);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-modal {
  align-items: center;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-modal-backdrop {
  position: absolute;
  inset: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-modal-panel {
  z-index: 1;
  width: min(920px, 100%);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-modal-panel--sm {
  width: min(560px, 100%);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-overlay-head h2,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-modal-head h2 {
  margin: 0.55rem 0 0.25rem;
  color: var(--tp-ab-navy);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-overlay-sub {
  margin: 0 0 1rem;
  color: var(--tp-ab-muted);
  font-size: var(--tp-ab-body);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-overlay-back,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-modal-close {
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.92);
  color: #334155;
  border-radius: 999px;
  cursor: pointer;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-overlay-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  font-weight: 700;
  font-size: 0.82rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-modal-close {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.3vw, 1rem);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-card {
  position: relative;
  text-align: left;
  padding: clamp(0.9rem, 1.5vw, 1.2rem);
  border-radius: var(--tp-ab-radius-sm);
  border: 1.5px solid rgba(186, 230, 253, 0.75);
  background: rgba(255, 255, 255, 0.96);
  cursor: pointer;
  min-width: 0;
  color: inherit;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-card.is-selected {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-card.is-featured {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(224, 242, 254, 0.9), transparent 60%),
    #fff;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-card.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-featured-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(100deg, #22d3ee, #2563eb);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-card-name {
  font-weight: 800;
  color: var(--tp-ab-navy);
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  margin-bottom: 0.35rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-card-price {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--tp-ab-navy);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-card-term,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-card-sub {
  margin-top: 0.25rem;
  color: var(--tp-ab-muted);
  font-size: var(--tp-ab-label);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-overlay-foot {
  margin-top: 1.1rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-lock-note,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-overlay-msg {
  margin: 0.55rem 0 0;
  color: var(--tp-ab-muted);
  font-size: var(--tp-ab-body);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-paytr-iframe {
  width: 100%;
  min-height: min(70vh, 640px);
  border: 0;
  border-radius: var(--tp-ab-radius-sm);
  background: #fff;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-paytr-loading {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--tp-ab-muted);
  font-weight: 600;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-feature-grid section,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-price-list {
  padding: 0.8rem;
  border-radius: var(--tp-ab-radius-sm);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-feature-grid h3,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-price-list h3 {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  color: var(--tp-ab-navy);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-feature-grid ul,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-price-list ul,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-legal-points {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--tp-ab-muted);
  font-size: var(--tp-ab-body);
  line-height: 1.45;
}

/* —— Ecosystem + Plan Details modal premium polish —— */
html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-ecosystem .tp-ab-modal-panel,
html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-plan-details .tp-ab-modal-panel {
  width: min(960px, 100%);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.96) 48%, rgba(224, 242, 254, 0.92) 100%),
    #f8fbff;
  border: 1px solid rgba(125, 211, 252, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 28px 56px rgba(14, 116, 144, 0.14);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-ecosystem .tp-ab-modal-head,
html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-plan-details .tp-ab-modal-head {
  margin-bottom: 0.35rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(186, 230, 253, 0.55);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-ecosystem .tp-ab-modal-head h2,
html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-plan-details .tp-ab-modal-head h2 {
  margin: 0;
  letter-spacing: -0.02em;
  background: linear-gradient(105deg, #0b2744 0%, #0369a1 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-ecosystem .tp-ab-modal-close,
html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-plan-details .tp-ab-modal-close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.55);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(224, 242, 254, 0.88));
  color: #0c4a6e;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-ecosystem .tp-ab-modal-close:hover,
html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-plan-details .tp-ab-modal-close:hover {
  border-color: rgba(56, 189, 248, 0.75);
  background: rgba(255, 255, 255, 0.98);
  color: #0369a1;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-eco-lead,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-lead {
  margin: 0.55rem 0 1rem;
  color: #475569;
  font-size: clamp(0.82rem, 1.15vw, 0.92rem);
  line-height: 1.45;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-eco-grid {
  gap: 0.9rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-feature-grid .tp-ab-eco-card {
  position: relative;
  padding: 0.95rem 1rem;
  border-radius: var(--tp-ab-radius-sm);
  border: 1px solid rgba(186, 230, 253, 0.65);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.94) 0%, rgba(240, 249, 255, 0.88) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 8px 18px rgba(15, 23, 42, 0.04);
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-feature-grid .tp-ab-eco-card[data-eco="student"] {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(224, 242, 254, 0.72));
  border-color: rgba(125, 211, 252, 0.55);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-feature-grid .tp-ab-eco-card[data-eco="institution"] {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(207, 250, 254, 0.7));
  border-color: rgba(103, 232, 249, 0.5);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-feature-grid .tp-ab-eco-card[data-eco="instructor"] {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(186, 230, 253, 0.68));
  border-color: rgba(56, 189, 248, 0.45);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-feature-grid .tp-ab-eco-card[data-eco="machine"] {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(226, 232, 240, 0.55) 40%, rgba(224, 242, 254, 0.75));
  border-color: rgba(148, 163, 184, 0.45);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-feature-grid .tp-ab-eco-card[data-eco="communication"],
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-feature-grid .tp-ab-eco-card--wide {
  grid-column: 1 / -1;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.97) 0%, rgba(236, 254, 255, 0.78) 55%, rgba(224, 242, 254, 0.85) 100%);
  border-color: rgba(34, 211, 238, 0.4);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-eco-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-eco-icon {
  flex: 0 0 auto;
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(186, 230, 253, 0.75));
  border: 1px solid rgba(125, 211, 252, 0.55);
  color: #0369a1;
  font-size: 0.92rem;
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.1);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-feature-grid .tp-ab-eco-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0b2744;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-feature-grid .tp-ab-eco-card ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #475569;
  font-size: clamp(0.78rem, 1.05vw, 0.86rem);
  line-height: 1.48;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-feature-grid .tp-ab-eco-card li + li {
  margin-top: 0.18rem;
}

/* Plan Details — informational cards (NOT payment selection cards) */
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  padding: 1.05rem 1rem 1.1rem;
  border-radius: var(--tp-ab-radius-sm);
  border: 1px solid rgba(186, 230, 253, 0.65);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(240, 249, 255, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 22px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-card.is-standard {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(224, 242, 254, 0.78));
  border-color: rgba(125, 211, 252, 0.5);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-card.is-advantage {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.97), rgba(207, 250, 254, 0.75) 45%, rgba(186, 230, 253, 0.7));
  border-color: rgba(34, 211, 238, 0.5);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-card.is-pro {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(224, 231, 255, 0.45) 42%, rgba(186, 230, 253, 0.78) 100%);
  border-color: rgba(99, 102, 241, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 12px 26px rgba(37, 99, 235, 0.08);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-badge {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(100deg, #22d3ee, #2563eb);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  pointer-events: none;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-name {
  margin-right: 4.5rem;
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b2744;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-card.is-standard .tp-ab-plan-info-name {
  margin-right: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-term {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0369a1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-price {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b2744;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-strike {
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: line-through;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-discount {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0.15rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: rgba(207, 250, 254, 0.75);
  color: #0e7490;
  font-size: 0.7rem;
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-effective {
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(186, 230, 253, 0.55);
  font-size: 0.92rem;
  font-weight: 800;
  color: #0369a1;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-effective span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-foot {
  margin: 1rem 0 0;
  text-align: center;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-legal {
  padding: 12px;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-legal .tp-ab-modal-panel {
  width: min(620px, 100%);
  max-width: 640px;
  box-sizing: border-box;
  overflow-x: hidden;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-legal-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.15rem;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-legal-links a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.85);
  background: rgba(255, 255, 255, 0.94);
  color: var(--tp-ab-navy);
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-legal-links a:hover,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-legal-links a:focus-visible {
  border-color: #38bdf8;
  color: #0369a1;
  background: #f0f9ff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

@media (max-width: 360px) {
  html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-legal .tp-ab-modal-panel {
    width: 100%;
    max-width: 100%;
  }
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-modal-lead,
html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-modal-note {
  color: var(--tp-ab-muted);
  font-size: var(--tp-ab-body);
  line-height: 1.45;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-modal-actions {
  margin: 1rem 0;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cancel-facts {
  display: grid;
  gap: 0.55rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cancel-facts > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.72rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(186, 230, 253, 0.8);
  background: rgba(255, 255, 255, 0.86);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cancel-facts span {
  color: var(--tp-ab-muted);
  font-size: var(--tp-ab-label);
  font-weight: 700;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cancel-facts strong {
  color: var(--tp-ab-navy);
  font-size: var(--tp-ab-body);
  text-align: right;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cancel-done {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.45);
  background: linear-gradient(180deg, #f0fdfa 0%, #ecfeff 100%);
  color: #0f766e;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cancel-continue {
  margin: 0.7rem 0 0.85rem;
  color: var(--tp-ab-navy);
  font-size: var(--tp-ab-body);
  font-weight: 700;
  text-align: center;
  line-height: 1.45;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-cancel-confirm,
html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-resume-confirm {
  z-index: 1300;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
  background: rgba(15, 39, 68, 0.22);
  backdrop-filter: blur(8px);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-cancel-confirm .tp-ab-cancel-confirm-panel,
html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-resume-confirm .tp-ab-cancel-confirm-panel {
  width: min(480px, 100%);
  max-width: 520px;
  max-height: calc(100vh - 24px);
  margin: 0;
  overflow: auto;
  box-sizing: border-box;
  border-radius: 22px;
  border: 1px solid rgba(125, 211, 252, 0.85);
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(224, 242, 254, 0.85), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 22px 48px rgba(15, 39, 68, 0.16);
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-cancel-confirm-title,
html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-resume-confirm-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--tp-ab-navy);
  font-size: 1.12rem;
  line-height: 1.25;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cancel-confirm-icon {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #0284c7;
  background: rgba(224, 242, 254, 0.95);
  border: 1px solid rgba(125, 211, 252, 0.8);
  font-size: 0.85rem;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cancel-confirm-copy {
  margin: 0.35rem 0 0.75rem;
  color: var(--tp-ab-navy);
  font-size: var(--tp-ab-body);
  line-height: 1.55;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cancel-confirm-chip {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(186, 230, 253, 0.9);
  background: rgba(255, 255, 255, 0.9);
  color: #0369a1;
  font-size: var(--tp-ab-label);
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cancel-confirm-actions {
  display: flex;
  align-items: stretch;
  gap: 0.6rem;
  flex-wrap: wrap;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cancel-confirm-dismiss,
html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-cancel-confirm .tp-ab-cta,
html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-resume-confirm .tp-ab-cta {
  flex: 1 1 8.5rem;
  width: auto;
  min-width: 0;
  min-height: 2.75rem;
  box-sizing: border-box;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cancel-confirm-dismiss {
  border-radius: 999px;
  border: 1px solid rgba(186, 230, 253, 0.95);
  background: rgba(255, 255, 255, 0.96);
  color: var(--tp-ab-navy);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cancel-confirm-dismiss:disabled,
html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-cancel-confirm .tp-ab-cta:disabled,
html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-resume-confirm .tp-ab-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cancel-confirm-msg {
  min-height: 1.1rem;
  margin: 0.7rem 0 0;
  color: var(--tp-ab-muted);
  font-size: var(--tp-ab-label);
  line-height: 1.4;
}

@media (max-width: 520px) {
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cancel-confirm-actions {
    flex-direction: column-reverse;
  }

  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-cancel-confirm-dismiss,
  html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-cancel-confirm .tp-ab-cta,
  html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-resume-confirm .tp-ab-cta {
    width: 100%;
    flex-basis: auto;
  }
}

@media (max-width: 360px) {
  html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-modal-resume-confirm .tp-ab-cancel-confirm-panel {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  html[data-sa-theme="liquid-light"] #tp-section-abonelik #tp-ab-resume-confirm-title {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-price-list {
  margin-top: 0.85rem;
}

/* Responsive shrink — keep composition, then stack */
@media (max-width: 1180px) {
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-summary-card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "plan btn"
      "metrics metrics";
  }
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-summary-plan { grid-area: plan; }
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-summary-metrics { grid-area: metrics; }
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-ghost-btn { grid-area: btn; align-self: start; }
}

@media (max-width: 980px) {
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-promo-copy {
    max-width: min(26rem, 62%);
  }
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-plan-info-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-eco-card--wide,
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-feature-grid .tp-ab-eco-card[data-eco="communication"],
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-feature-grid .tp-ab-eco-card--wide {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-summary-metrics {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-summary-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "plan"
      "metrics"
      "btn";
  }
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-ghost-btn {
    justify-self: stretch;
    text-align: center;
  }
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-promo-copy {
    max-width: 100%;
  }
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-promo {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-side-card {
    grid-template-columns: auto minmax(0, 1fr);
  }
  html[data-sa-theme="liquid-light"] #tp-section-abonelik .tp-ab-reminder-chip {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* =============================================================================
   Tenant Admin — Kurum Yöneticileri (#tp-section-institution-admins + 2 sibling modals)
   ============================================================================= */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-denied-card,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-bootstrap-card,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-profile-card,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-create-card,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-list-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 16px;
  padding: clamp(16px, 2vw, 22px);
  border-radius: 22px;
  color: #0f172a;
  text-shadow: none;
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 12px 28px rgba(15, 23, 42, 0.07);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-denied-card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-bootstrap-card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-profile-card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-create-card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-list-card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-denied-card::after,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-bootstrap-card::after,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-create-card::after,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-profile-card::after,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-list-card::after {
  content: none;
  display: none;
  opacity: 0;
  background: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-profile-card {
  border: 1px solid rgba(103, 232, 249, 0.52);
  background-image:
    radial-gradient(ellipse 90% 72% at 0% 0%, rgba(207, 250, 254, 0.88), transparent 62%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(204, 251, 241, 0.38), transparent 58%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.96) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-create-card {
  border: 1px solid rgba(196, 181, 253, 0.55);
  background-image:
    radial-gradient(ellipse 90% 72% at 0% 0%, rgba(237, 233, 254, 0.9), transparent 62%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(224, 242, 254, 0.4), transparent 58%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 243, 255, 0.96) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-bootstrap-card {
  border: 1px solid rgba(125, 211, 252, 0.52);
  background-image:
    radial-gradient(ellipse 90% 72% at 0% 0%, rgba(224, 242, 254, 0.86), transparent 62%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(237, 233, 254, 0.42), transparent 58%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-list-card {
  border: 1px solid rgba(125, 211, 252, 0.48);
  background-image:
    radial-gradient(ellipse 92% 70% at 0% 0%, rgba(240, 253, 250, 0.82), transparent 62%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-denied-card {
  border: 1px solid rgba(253, 186, 116, 0.58);
  background-image:
    radial-gradient(ellipse 90% 72% at 0% 0%, rgba(255, 237, 213, 0.82), transparent 62%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 237, 0.96) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-denied-card > h2,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-bootstrap-card > h2,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-profile-card > h2,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-create-card > h2,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-list-card > h2 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: none;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-profile-card > h2 .fa-id-card {
  color: #0891b2;
  margin-right: 0.35em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-create-card > h2 .fa-user-plus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-bootstrap-card > h2 .fa-id-card {
  color: #7c3aed;
  margin-right: 0.35em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-list-card > h2 .fa-users {
  color: #0d9488;
  margin-right: 0.35em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-denied-card > h2 .fa-lock {
  color: #c2410c;
  margin-right: 0.35em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-denied-card > p,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-bootstrap-card > p,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-profile-card > p,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-create-card > p {
  margin: 0 0 14px;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-admin-denied-msg {
  color: #9a3412;
  font-weight: 600;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-form-grid {
  min-width: 0;
  max-width: 100%;
  gap: clamp(12px, 1.6vw, 16px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-field {
  min-width: 0;
  margin-bottom: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-field > label {
  display: block;
  margin: 0 0 6px;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-own-admin-fullname,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-own-admin-position-display,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-fullname,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-username,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-password,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-position,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-bootstrap-admin-fullname,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-bootstrap-admin-position {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 600;
  color-scheme: light;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-own-admin-fullname::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-fullname::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-username::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-password::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-bootstrap-admin-fullname::placeholder {
  color: #64748b;
  opacity: 1;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-own-admin-fullname,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-fullname,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-bootstrap-admin-fullname {
  border: 1px solid rgba(103, 232, 249, 0.55);
  background:
    linear-gradient(180deg, rgba(240, 253, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 12px rgba(14, 116, 144, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-username {
  border: 1px solid rgba(196, 181, 253, 0.58);
  background:
    linear-gradient(180deg, rgba(245, 243, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 12px rgba(91, 33, 182, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-password {
  border: 1px solid rgba(253, 186, 116, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 247, 237, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 12px rgba(194, 65, 12, 0.04);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-position,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-bootstrap-admin-position {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  border: 1px solid rgba(45, 212, 191, 0.55);
  background-color: #f0fdfa;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230f766e' d='M1.2 1.2L6 6l4.8-4.8'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(240, 253, 250, 0.98) 0%, rgba(237, 233, 254, 0.55) 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: right 14px center, 0 0;
  background-size: 12px 8px, 100% 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 12px rgba(13, 148, 136, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-own-admin-position-display[readonly] {
  cursor: default;
  border: 1px solid rgba(167, 139, 250, 0.55);
  background:
    linear-gradient(180deg, rgba(237, 233, 254, 0.92) 0%, rgba(204, 251, 241, 0.55) 100%);
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-own-admin-fullname:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-fullname:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-bootstrap-admin-fullname:hover {
  border-color: rgba(6, 182, 212, 0.72);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-username:hover {
  border-color: rgba(139, 92, 246, 0.7);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-password:hover {
  border-color: rgba(251, 146, 60, 0.7);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-position:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-bootstrap-admin-position:hover {
  border-color: rgba(13, 148, 136, 0.72);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-own-admin-fullname:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-fullname:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-username:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-password:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-position:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-bootstrap-admin-fullname:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-bootstrap-admin-position:focus-visible {
  border-color: rgba(6, 182, 212, 0.85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 0 0 3px rgba(103, 232, 249, 0.38);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-own-admin-fullname:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-fullname:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-username:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-password:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-position:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-bootstrap-admin-fullname:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-bootstrap-admin-position:disabled {
  opacity: 0.62;
  color: #334155;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-own-admin-profile-save,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-add-admin,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-bootstrap-admin-save {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, 0.62);
  color: #042f2e;
  font-weight: 800;
  background:
    linear-gradient(180deg, rgba(204, 251, 241, 0.98) 0%, rgba(103, 232, 249, 0.72) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 18px rgba(13, 148, 136, 0.16);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-own-admin-profile-save:hover:not(:disabled),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-add-admin:hover:not(:disabled),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-bootstrap-admin-save:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-own-admin-profile-save:active:not(:disabled),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-add-admin:active:not(:disabled),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-bootstrap-admin-save:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 3px 8px rgba(13, 148, 136, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-own-admin-profile-save:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-add-admin:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-bootstrap-admin-save:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-refresh-admins:focus-visible {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 0 0 3px rgba(103, 232, 249, 0.4);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-own-admin-profile-save:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-add-admin:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-bootstrap-admin-save:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-refresh-admins:disabled {
  opacity: 0.55;
  transform: none;
  filter: none;
  cursor: not-allowed;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-refresh-admins {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.58);
  color: #0e7490;
  font-weight: 800;
  background:
    linear-gradient(180deg, rgba(224, 242, 254, 0.98) 0%, rgba(255, 255, 255, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 6px 14px rgba(14, 116, 144, 0.08);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-refresh-admins:hover:not(:disabled) {
  transform: translateY(-1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-refresh-admins:active:not(:disabled) {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-list-card > .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-admin-list.tp-institution-admin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  margin-top: 12px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-item {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-item:hover {
  transform: translateY(-1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-item:active {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-item[data-admin-position="business_owner"] {
  border-color: rgba(45, 212, 191, 0.62);
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(204, 251, 241, 0.78), transparent 64%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(254, 243, 199, 0.42), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 250, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 22px rgba(13, 148, 136, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-item[data-admin-position="manager"] {
  border-color: rgba(125, 211, 252, 0.62);
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(224, 242, 254, 0.82), transparent 64%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(237, 233, 254, 0.48), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.96) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-item[data-admin-position="professional_staff"] {
  border-color: rgba(196, 181, 253, 0.42);
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(241, 245, 249, 0.9), transparent 64%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(237, 233, 254, 0.4), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-item-name {
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-item-meta {
  margin-top: 4px;
  color: #475569;
  font-size: 0.84rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: normal;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-status {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid transparent;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-status.is-active {
  color: #065f46;
  background: rgba(167, 243, 208, 0.72);
  border-color: rgba(52, 211, 153, 0.55);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-status.is-passive {
  color: #334155;
  background: rgba(226, 232, 240, 0.9);
  border-color: rgba(148, 163, 184, 0.45);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-item > .row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-admin-position-edit-btn,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-admin-remove-btn {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-admin-position-edit-btn {
  border: 1px solid rgba(167, 139, 250, 0.58);
  color: #5b21b6;
  background:
    linear-gradient(180deg, rgba(237, 233, 254, 0.98) 0%, rgba(224, 242, 254, 0.9) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 12px rgba(91, 33, 182, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-admin-remove-btn {
  border: 1px solid rgba(249, 168, 212, 0.62);
  color: #9f1239;
  background:
    linear-gradient(180deg, rgba(255, 241, 242, 0.98) 0%, rgba(254, 226, 226, 0.92) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 12px rgba(190, 18, 60, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-admin-position-edit-btn:hover:not(:disabled),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-admin-remove-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-admin-position-edit-btn:active:not(:disabled),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-admin-remove-btn:active:not(:disabled) {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-admin-position-edit-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.4);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-admin-remove-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.38);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-admin-position-edit-btn:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-admin-remove-btn:disabled {
  opacity: 0.55;
  transform: none;
  cursor: not-allowed;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-own-admin-profile-msg.muted,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-msg.muted,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-bootstrap-admin-msg.muted,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-admin-list-msg.muted {
  color: #475569;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-own-admin-profile-msg.ok,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-msg.ok,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-bootstrap-admin-msg.ok,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-admin-list-msg.ok {
  color: #047857;
  font-weight: 700;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-own-admin-profile-msg.error,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-msg.error,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-bootstrap-admin-msg.error,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-admin-list-msg.error {
  color: #9f1239;
  font-weight: 700;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-admin-empty {
  color: #9a3412;
  font-weight: 600;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal {
  background: rgba(15, 23, 42, 0.28);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal .tp-modal {
  min-width: 0;
  max-width: min(480px, calc(100vw - 24px));
  box-sizing: border-box;
  color: #0f172a;
  border: 1px solid rgba(167, 139, 250, 0.5);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(103, 232, 249, 0.18) 0%, rgba(255, 255, 255, 0) 72px),
    radial-gradient(ellipse 90% 50% at 0% 0%, rgba(237, 233, 254, 0.7), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 40px rgba(15, 23, 42, 0.16);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal .tp-modal-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal .tp-modal-title {
  color: #0f172a;
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal .tp-modal > p,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal .tp-modal > p {
  color: #475569;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal .tp-field > label,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal .tp-field > label {
  color: #334155;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #tp-admin-position-edit-name,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #tp-admin-position-edit-current,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #tp-admin-position-edit-select,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #tp-admin-remove-confirm-name,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #tp-admin-remove-confirm-position,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #tp-admin-remove-confirm-username {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  color: #0f172a;
  font-weight: 600;
  color-scheme: light;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #tp-admin-position-edit-name[readonly],
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #tp-admin-position-edit-current[readonly],
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #tp-admin-remove-confirm-name[readonly],
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #tp-admin-remove-confirm-position[readonly],
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #tp-admin-remove-confirm-username[readonly] {
  cursor: default;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: linear-gradient(180deg, rgba(237, 233, 254, 0.78) 0%, rgba(255, 255, 255, 0.96) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #tp-admin-position-edit-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  border: 1px solid rgba(45, 212, 191, 0.55);
  background-color: #f0fdfa;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230f766e' d='M1.2 1.2L6 6l4.8-4.8'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(240, 253, 250, 0.98) 0%, rgba(237, 233, 254, 0.55) 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: right 14px center, 0 0;
  background-size: 12px 8px, 100% 100%;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #tp-admin-position-edit-select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.38);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #btn-tp-admin-position-edit-save {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(45, 212, 191, 0.62);
  color: #042f2e;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(204, 251, 241, 0.98) 0%, rgba(103, 232, 249, 0.72) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 8px 16px rgba(13, 148, 136, 0.14);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #btn-tp-admin-position-edit-save:hover:not(:disabled),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #btn-tp-admin-position-edit-cancel:hover:not(:disabled),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #btn-tp-admin-position-edit-x:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #btn-tp-admin-remove-confirm-ok:hover:not(:disabled),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #btn-tp-admin-remove-confirm-cancel:hover:not(:disabled),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #btn-tp-admin-remove-confirm-x:hover {
  transform: translateY(-1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #btn-tp-admin-position-edit-save:active:not(:disabled),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #btn-tp-admin-position-edit-cancel:active:not(:disabled),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #btn-tp-admin-remove-confirm-ok:active:not(:disabled),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #btn-tp-admin-remove-confirm-cancel:active:not(:disabled) {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #btn-tp-admin-position-edit-save:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #btn-tp-admin-position-edit-cancel:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #btn-tp-admin-position-edit-x:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.38);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #btn-tp-admin-position-edit-save:disabled {
  opacity: 0.55;
  transform: none;
  cursor: not-allowed;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #btn-tp-admin-position-edit-cancel,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #btn-tp-admin-position-edit-x,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #btn-tp-admin-remove-confirm-cancel,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #btn-tp-admin-remove-confirm-x {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(196, 181, 253, 0.5);
  color: #5b21b6;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(245, 243, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  transition: transform 0.16s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #tp-admin-position-edit-msg.muted,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #tp-admin-remove-confirm-msg.muted {
  color: #475569;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #tp-admin-position-edit-msg.ok,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #tp-admin-remove-confirm-msg.ok {
  color: #047857;
  font-weight: 700;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #tp-admin-position-edit-msg.error,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #tp-admin-remove-confirm-msg.error {
  color: #9f1239;
  font-weight: 700;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal {
  background: rgba(15, 23, 42, 0.28);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal .tp-modal {
  min-width: 0;
  max-width: min(520px, calc(100vw - 24px));
  box-sizing: border-box;
  color: #0f172a;
  border: 1px solid rgba(251, 113, 133, 0.48);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(254, 205, 211, 0.35) 0%, rgba(255, 255, 255, 0) 84px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 237, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 40px rgba(159, 18, 57, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #btn-tp-admin-remove-confirm-ok {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(244, 63, 94, 0.55);
  color: #fff;
  font-weight: 800;
  background: linear-gradient(180deg, #fb7185 0%, #e11d48 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 16px rgba(190, 18, 60, 0.2);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #btn-tp-admin-remove-confirm-ok:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #btn-tp-admin-remove-confirm-cancel:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #btn-tp-admin-remove-confirm-x:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.38);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #btn-tp-admin-remove-confirm-ok:disabled {
  opacity: 0.55;
  transform: none;
  cursor: not-allowed;
}

@media (min-width: 1100px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 16px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-list-card,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-denied-card,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-bootstrap-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1099px) and (min-width: 901px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-form-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-denied-card,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-bootstrap-card,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-profile-card,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-create-card,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-list-card {
    padding: 14px 14px 16px !important;
    border-radius: 18px !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.96),
      0 8px 18px rgba(15, 23, 42, 0.06) !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-profile-card {
    background-image:
      radial-gradient(ellipse 90% 72% at 0% 0%, rgba(207, 250, 254, 0.9), transparent 62%),
      linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.96) 100%) !important;
    border: 1px solid rgba(103, 232, 249, 0.52) !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-create-card {
    background-image:
      radial-gradient(ellipse 90% 72% at 0% 0%, rgba(237, 233, 254, 0.9), transparent 62%),
      linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 243, 255, 0.96) 100%) !important;
    border: 1px solid rgba(196, 181, 253, 0.55) !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-list-card {
    background-image:
      radial-gradient(ellipse 92% 70% at 0% 0%, rgba(240, 253, 250, 0.86), transparent 62%),
      linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%) !important;
    border: 1px solid rgba(125, 211, 252, 0.48) !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-denied-card > h2,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-bootstrap-card > h2,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-profile-card > h2,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-create-card > h2,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-list-card > h2 {
    color: #0f172a !important;
    font-size: 1.05rem !important;
    text-shadow: none !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-item {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    padding: 12px 14px !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-item-name,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-item-meta {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-own-admin-fullname,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-own-admin-position-display,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-fullname,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-username,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-password,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-add-admin-position,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-bootstrap-admin-fullname,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #tp-bootstrap-admin-position {
    min-height: 44px !important;
    height: 44px !important;
    color: #0f172a !important;
    background-color: #ffffff;
  }
}

@media (max-width: 640px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-own-admin-profile-save,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-add-admin,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-bootstrap-admin-save,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-refresh-admins {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-denied-card,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-bootstrap-card,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-profile-card,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-create-card,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins > #tp-admin-list-card {
    padding: 12px;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-own-admin-profile-save,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-add-admin,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-bootstrap-admin-save,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-refresh-admins,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-item,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-admin-position-edit-btn,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-admin-remove-btn,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #btn-tp-admin-position-edit-save,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #btn-tp-admin-position-edit-cancel,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #btn-tp-admin-remove-confirm-ok,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #btn-tp-admin-remove-confirm-cancel {
    transition: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-own-admin-profile-save:hover:not(:disabled),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-add-admin:hover:not(:disabled),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-bootstrap-admin-save:hover:not(:disabled),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-refresh-admins:hover:not(:disabled),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-item:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-institution-admin-item:active,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-admin-position-edit-btn:hover:not(:disabled),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins .tp-admin-remove-btn:hover:not(:disabled),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-own-admin-profile-save:active:not(:disabled),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-section-institution-admins #btn-tp-add-admin:active:not(:disabled),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-position-edit-modal #btn-tp-admin-position-edit-save:hover:not(:disabled),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-admins"].active) #tp-admin-remove-confirm-modal #btn-tp-admin-remove-confirm-ok:hover:not(:disabled) {
    transform: none;
  }
}


/* =============================================================================
   Tenant Admin — Mesajlar (#tp-section-mailbox + 7 sibling mailbox modals)
   ============================================================================= */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox > .card.tp-mailbox-center-card {
  color: #1d1d1f;
  --admin-card-accent: #67e8f9;
  --admin-card-glow: rgba(103, 232, 249, 0.2);
  --admin-card-border: rgba(125, 211, 252, 0.48);
  --admin-card-sheen: rgba(165, 243, 252, 0.18);
  background-color: rgba(255, 255, 255, 0.94);
  background-image:
    radial-gradient(ellipse 92% 72% at 0% 0%, rgba(224, 242, 254, 0.88), transparent 62%),
    radial-gradient(ellipse 68% 52% at 100% 0%, rgba(207, 250, 254, 0.42), transparent 58%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  border: 1px solid rgba(125, 211, 252, 0.48);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 14px 36px rgba(14, 116, 144, 0.08);
  padding: 22px 22px 20px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox > .card.tp-mailbox-center-card::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox > .card.tp-mailbox-center-card::after {
  content: none;
  display: none;
  opacity: 0;
  background: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-header {
  text-align: center;
  margin-bottom: 20px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-header h2 {
  margin: 0 0 10px;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-header h2 .fa-envelope {
  color: #0891b2;
  margin-right: 0.35em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-header p.muted {
  margin: 0 auto;
  max-width: 42rem;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(125, 211, 252, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.92), transparent 65%),
    rgba(240, 249, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 6px 16px rgba(14, 116, 144, 0.05);
  color: #334155 !important;
  font-size: 0.92rem;
  line-height: 1.5;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 18px;
  border-radius: 18px;
  cursor: pointer;
  text-align: left;
  color: #0f172a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 24px rgba(14, 116, 144, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-card-incoming {
  border: 1px solid rgba(14, 165, 233, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(165, 243, 252, 0.78), transparent 66%),
    linear-gradient(180deg, rgba(224, 242, 254, 0.98) 0%, rgba(240, 249, 255, 0.96) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-card-outgoing {
  border: 1px solid rgba(20, 184, 166, 0.52);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(167, 243, 208, 0.78), transparent 66%),
    linear-gradient(180deg, rgba(240, 253, 250, 0.98) 0%, rgba(236, 253, 245, 0.96) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-card-bulk {
  border: 1px solid rgba(167, 139, 250, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(221, 214, 254, 0.82), transparent 66%),
    linear-gradient(180deg, rgba(245, 243, 255, 0.98) 0%, rgba(237, 233, 254, 0.96) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-card:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 16px 30px rgba(14, 116, 144, 0.14);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-card:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 10px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-card:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.55);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-card:disabled {
  opacity: 0.5;
  transform: none;
  cursor: not-allowed;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 1.15rem;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 4px 10px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-card-incoming .tp-mailbox-hub-card__icon {
  color: #0369a1;
  background: rgba(186, 230, 253, 0.85);
  border: 1px solid rgba(14, 165, 233, 0.4);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-card-outgoing .tp-mailbox-hub-card__icon {
  color: #0f766e;
  background: rgba(167, 243, 208, 0.85);
  border: 1px solid rgba(20, 184, 166, 0.4);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-card-bulk .tp-mailbox-hub-card__icon {
  color: #5b21b6;
  background: rgba(221, 214, 254, 0.9);
  border: 1px solid rgba(167, 139, 250, 0.45);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-card__title {
  font-size: 1.04rem;
  font-weight: 800;
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-card__desc {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.4;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-card__stat,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-card__stat--muted {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 3px 8px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-card-incoming .tp-mailbox-hub-card__stat {
  color: #075985;
  background: rgba(186, 230, 253, 0.88);
  border: 1px solid rgba(14, 165, 233, 0.42);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-card-outgoing .tp-mailbox-hub-card__stat {
  color: #115e59;
  background: rgba(167, 243, 208, 0.88);
  border: 1px solid rgba(20, 184, 166, 0.42);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-card-bulk .tp-mailbox-hub-card__stat--muted {
  color: #5b21b6;
  background: rgba(221, 214, 254, 0.9);
  border: 1px solid rgba(167, 139, 250, 0.45);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-compose-hub,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-compose-list {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(20, 184, 166, 0.58);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(167, 243, 208, 0.78), transparent 64%),
    rgba(240, 253, 250, 0.98);
  color: #115e59;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 6px 16px rgba(13, 148, 136, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-compose-hub:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-compose-list:hover {
  transform: translateY(-1px);
  border-color: rgba(13, 148, 136, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 18px rgba(13, 148, 136, 0.16);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-compose-hub:active,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-compose-list:active {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-compose-hub:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-compose-list:focus-visible {
  outline: 2px solid rgba(13, 148, 136, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-compose-hub:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-compose-list:disabled {
  opacity: 0.5;
  transform: none;
  cursor: not-allowed;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-view-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(186, 230, 253, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.7), transparent 66%),
    rgba(248, 250, 252, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 6px 16px rgba(14, 116, 144, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-back {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(237, 233, 254, 0.78), transparent 64%),
    rgba(248, 250, 252, 0.96);
  color: #334155;
  font-weight: 750;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 4px 12px rgba(91, 33, 182, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-back:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 92, 246, 0.62);
  color: #5b21b6;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-back:active {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-back:focus-visible {
  outline: 2px solid rgba(139, 92, 246, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-list-title {
  margin: 0;
  flex: 1 1 160px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-list-view[data-tp-mailbox-view="incoming"] #tp-mailbox-list-title {
  color: #075985;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-list-view[data-tp-mailbox-view="outgoing"] #tp-mailbox-list-title {
  color: #0f766e;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-list.tp-mailbox-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: min(560px, 62vh);
  overflow-y: auto;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(125, 211, 252, 0.42);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.48), transparent 64%),
    rgba(240, 249, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 22px rgba(14, 116, 144, 0.06);
  color: #334155;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-list.tp-mailbox-list::-webkit-scrollbar {
  width: 8px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-list.tp-mailbox-list::-webkit-scrollbar-thumb {
  background: rgba(14, 165, 233, 0.28);
  border-radius: 999px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-list > p.muted,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-list > p.error {
  margin: 0;
  padding: 22px 16px;
  border-radius: 14px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.5;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-list > p.muted {
  border: 1px solid rgba(186, 230, 253, 0.55);
  background: rgba(241, 245, 249, 0.96);
  color: #475569 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-list > p.error {
  border: 1px solid rgba(252, 165, 165, 0.62);
  background: rgba(255, 241, 242, 0.96);
  color: #9f1239 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-row,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-item {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  margin: 0;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 20px rgba(15, 23, 42, 0.06);
  color: #334155;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-row:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-item:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 14px 28px rgba(14, 116, 144, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-row:active {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-row:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-row.unread,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-item.unread {
  border-color: rgba(14, 165, 233, 0.62);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(186, 230, 253, 0.55), transparent 68%),
    linear-gradient(180deg, rgba(224, 242, 254, 0.98) 0%, rgba(240, 249, 255, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 3px 0 0 rgba(2, 132, 199, 0.72),
    0 10px 22px rgba(2, 132, 199, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-list-view[data-tp-mailbox-view="outgoing"] .tp-mailbox-row {
  border-color: rgba(45, 212, 191, 0.42);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-row--bulk {
  border-color: rgba(167, 139, 250, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(221, 214, 254, 0.48), transparent 68%),
    linear-gradient(180deg, rgba(245, 243, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-row--thread {
  border-color: rgba(56, 189, 248, 0.46);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(165, 243, 252, 0.36), transparent 68%),
    linear-gradient(180deg, rgba(240, 253, 250, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-row-subject {
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-row.unread .tp-mailbox-row-subject {
  color: #0c4a6e;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-row-meta,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-row-preview {
  color: #475569;
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-row-total-count,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-row-thread-count {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(186, 230, 253, 0.8);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #075985;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-reply-btn,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-delete-btn,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hide-thread-btn {
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 11px;
  font-size: 0.78rem;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-reply-btn {
  border: 1px solid rgba(14, 165, 233, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(186, 230, 253, 0.7), transparent 65%),
    rgba(240, 249, 255, 0.98);
  color: #075985;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 4px 10px rgba(2, 132, 199, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-delete-btn,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hide-thread-btn {
  border: 1px solid rgba(244, 63, 94, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 205, 211, 0.88), transparent 65%),
    rgba(255, 241, 242, 0.98);
  color: #9f1239;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 4px 10px rgba(190, 18, 60, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-reply-btn:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-delete-btn:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hide-thread-btn:hover {
  transform: translateY(-1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-reply-btn:active,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-delete-btn:active,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hide-thread-btn:active {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-reply-btn:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-delete-btn:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hide-thread-btn:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-reply-btn:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-delete-btn:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hide-thread-btn:disabled {
  opacity: 0.48;
  transform: none;
  cursor: not-allowed;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal.tp-modal-overlay.active,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal.tp-modal-overlay.active,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal.tp-modal-overlay.active,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal.tp-modal-overlay.active,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-confirm-modal.tp-modal-overlay.active,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-delete-confirm-modal.tp-modal-overlay.active,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal.tp-modal-overlay.active {
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(8px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal .tp-modal,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal .tp-modal,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal .tp-modal,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal .tp-modal,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal .tp-modal,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-confirm-modal .tp-bulk-confirm-card,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-delete-confirm-modal .tp-mailbox-delete-confirm-card {
  color: #1d1d1f;
  background:
    radial-gradient(ellipse 92% 70% at 0% 0%, rgba(224, 242, 254, 0.72), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  border: 1px solid rgba(125, 211, 252, 0.5);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 22px 48px rgba(15, 23, 42, 0.16);
  max-width: min(640px, calc(100vw - 24px));
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal .tp-modal-header,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal .tp-modal-header,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal .tp-modal-header,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal .tp-modal-header,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal .tp-modal-header,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal .tp-mailbox-detail-footer,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal .tp-mailbox-detail-footer {
  border-color: rgba(186, 230, 253, 0.55);
  background: rgba(240, 249, 255, 0.72);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal .tp-modal-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal .tp-modal-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal .tp-modal-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal .tp-modal-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal .tp-modal-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-confirm-modal .tp-bulk-confirm-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-delete-confirm-modal #tp-mailbox-delete-confirm-title {
  color: #0f172a;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal .tp-modal-close,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal .tp-modal-close,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal .tp-modal-close,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal .tp-modal-close,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal .tp-modal-close,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #btn-tp-mailbox-detail-close-footer,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #btn-tp-mailbox-thread-close-footer,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #btn-tp-mailbox-compose-cancel,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #btn-tp-mailbox-bulk-cancel,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #btn-tp-bulk-confirm-cancel,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #btn-tp-mailbox-delete-confirm-cancel,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #btn-tp-mailbox-reply-cancel {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(196, 181, 253, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(237, 233, 254, 0.72), transparent 64%),
    rgba(248, 250, 252, 0.96);
  color: #334155;
  font-weight: 750;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #btn-tp-mailbox-detail-reply,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #btn-tp-mailbox-detail-student-reply-send,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #btn-tp-mailbox-thread-reply-send,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #btn-tp-compose-send,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #btn-tp-bulk-send,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #btn-tp-bulk-confirm-ok,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #btn-tp-mailbox-reply-send {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(20, 184, 166, 0.58);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(167, 243, 208, 0.78), transparent 64%),
    rgba(240, 253, 250, 0.98);
  color: #115e59;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 5px 12px rgba(13, 148, 136, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #btn-tp-mailbox-thread-hide,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #btn-tp-mailbox-delete-confirm-ok {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(244, 63, 94, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 205, 211, 0.9), transparent 64%),
    rgba(255, 241, 242, 0.98);
  color: #9f1239;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 5px 12px rgba(190, 18, 60, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal .tp-mailbox-detail-meta {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.48);
  background: rgba(224, 242, 254, 0.88);
  color: #075985;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal .tp-mailbox-detail-subject-block {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.4);
  background: rgba(245, 243, 255, 0.92);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal .tp-mailbox-detail-subject,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal .tp-mailbox-detail-field-label {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal .tp-mailbox-detail-body {
  color: #1e293b;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(186, 230, 253, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 6px 16px rgba(14, 116, 144, 0.05);
  max-height: min(42vh, 360px);
  overflow-y: auto;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal #tp-mailbox-detail-recipients {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(251, 146, 60, 0.42);
  background: rgba(255, 247, 237, 0.96);
  color: #9a3412;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal .tp-mailbox-thread-meta {
  color: #075985;
  background: rgba(224, 242, 254, 0.88);
  border: 1px solid rgba(125, 211, 252, 0.45);
  border-radius: 12px;
  padding: 10px 12px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal .tp-mailbox-thread-timeline {
  max-height: min(42vh, 360px);
  overflow-y: auto;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal .tp-mailbox-thread-bubble {
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 4px 12px rgba(15, 23, 42, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal .tp-mailbox-thread-bubble--tenant {
  background: rgba(236, 253, 245, 0.96);
  border: 1px solid rgba(45, 212, 191, 0.45);
  color: #115e59;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal .tp-mailbox-thread-bubble--student {
  background: rgba(224, 242, 254, 0.96);
  border: 1px solid rgba(14, 165, 233, 0.42);
  color: #075985;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal .tp-mailbox-thread-bubble__body {
  color: #1e293b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal .tp-mailbox-thread-bubble__hide {
  border: 1px solid rgba(244, 63, 94, 0.45);
  background: rgba(255, 241, 242, 0.96);
  color: #9f1239;
  border-radius: 999px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal .tp-compose-recipient-field,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal .tp-field:has(#tp-compose-subject) {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(6, 182, 212, 0.45);
  background: rgba(207, 250, 254, 0.42);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal .tp-field:has(#tp-compose-body) {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.42);
  background: rgba(237, 233, 254, 0.5);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal .tp-compose-recipient-chip {
  background: rgba(167, 243, 208, 0.86);
  border: 1px solid rgba(20, 184, 166, 0.45);
  color: #115e59;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal .tp-modal-title {
  color: #5b21b6;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal #tp-bulk-recipient-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(20, 184, 166, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(167, 243, 208, 0.8), transparent 66%),
    rgba(240, 253, 250, 0.98);
  color: #115e59;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 5px 12px rgba(13, 148, 136, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal .tp-field:has(#tp-bulk-program) {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(14, 165, 233, 0.45);
  background: rgba(224, 242, 254, 0.72);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal .tp-field:has(#tp-bulk-period) {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(237, 233, 254, 0.72);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal #tp-bulk-recipient-count,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal #tp-bulk-recipient-summary {
  color: #115e59 !important;
  background: rgba(236, 253, 245, 0.9);
  border: 1px solid rgba(45, 212, 191, 0.4);
  border-radius: 12px;
  padding: 8px 10px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal #tp-bulk-recipient-warning {
  border: 1px solid rgba(251, 146, 60, 0.5);
  background: rgba(255, 247, 237, 0.96);
  color: #9a3412;
  border-radius: 12px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal .tp-field:has(#tp-bulk-subject) {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(224, 242, 254, 0.62);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal .tp-field:has(#tp-bulk-body) {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.42);
  background: rgba(237, 233, 254, 0.55);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal #tp-bulk-msg.ok,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal #tp-compose-msg.ok,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal #tp-mailbox-reply-msg.ok {
  color: #166534 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal #tp-bulk-msg.error,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal #tp-compose-msg.error,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal #tp-mailbox-reply-msg.error {
  color: #9f1239 !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-confirm-modal .tp-bulk-confirm-card {
  border-color: rgba(167, 139, 250, 0.45);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-confirm-modal .tp-bulk-confirm-message {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.45);
  background: rgba(224, 242, 254, 0.9);
  color: #075985;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-confirm-modal .tp-bulk-confirm-question {
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(251, 146, 60, 0.45);
  background: rgba(255, 247, 237, 0.96);
  color: #9a3412;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-delete-confirm-modal .tp-mailbox-delete-confirm-card {
  border-color: rgba(244, 63, 94, 0.42);
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(254, 205, 211, 0.55), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 241, 242, 0.94) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-delete-confirm-modal #tp-mailbox-delete-confirm-message,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-delete-confirm-modal #tp-mailbox-delete-confirm-note {
  color: #4c0519;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal .tp-field:has(#tp-mailbox-reply-subject) {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(14, 165, 233, 0.42);
  background: rgba(224, 242, 254, 0.7);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal .tp-field:has(#tp-mailbox-reply-body) {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(125, 211, 252, 0.42);
  background: rgba(240, 249, 255, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal input,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal select,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal textarea,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal input,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal select,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal textarea,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal input,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal select,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal textarea,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal input,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal select,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal textarea,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal input,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal select,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal textarea {
  color-scheme: light;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal input::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal textarea::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal textarea::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal input::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal textarea::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal input::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal textarea::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal input::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal textarea::placeholder {
  color: #94a3b8;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal input:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal select:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal textarea:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal textarea:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal input:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal select:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal textarea:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal input:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal select:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal textarea:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal input:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal textarea:focus {
  outline: none;
  border-color: rgba(14, 165, 233, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 0 0 3px rgba(125, 211, 252, 0.32);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal label,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal label,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal label,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal label,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal label {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal input:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-detail-modal textarea:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-thread-modal textarea:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal input:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-compose-modal textarea:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal input:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal select:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-bulk-modal textarea:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal input:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-mailbox-reply-modal textarea:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  background: rgba(248, 250, 252, 0.96);
  color: #64748b;
}

@media (min-width: 901px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-grid {
    grid-template-columns: 1fr;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-card-incoming,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-card-outgoing,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-card-bulk {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.96),
      0 8px 20px rgba(14, 116, 144, 0.08) !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-card-incoming {
    background:
      radial-gradient(ellipse 90% 80% at 0% 0%, rgba(165, 243, 252, 0.78), transparent 66%),
      linear-gradient(180deg, rgba(224, 242, 254, 0.98) 0%, rgba(240, 249, 255, 0.96) 100%) !important;
    border: 1px solid rgba(14, 165, 233, 0.5) !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-card-outgoing {
    background:
      radial-gradient(ellipse 90% 80% at 0% 0%, rgba(167, 243, 208, 0.78), transparent 66%),
      linear-gradient(180deg, rgba(240, 253, 250, 0.98) 0%, rgba(236, 253, 245, 0.96) 100%) !important;
    border: 1px solid rgba(20, 184, 166, 0.52) !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #tp-mailbox-card-bulk {
    background:
      radial-gradient(ellipse 90% 80% at 0% 0%, rgba(221, 214, 254, 0.82), transparent 66%),
      linear-gradient(180deg, rgba(245, 243, 255, 0.98) 0%, rgba(237, 233, 254, 0.96) 100%) !important;
    border: 1px solid rgba(167, 139, 250, 0.55) !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-card__title,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-header h2 {
    color: #0f172a !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-card__desc {
    color: #475569 !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-compose-hub,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-compose-list,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-back,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-reply-btn,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-delete-btn,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hide-thread-btn {
    min-height: 40px;
  }
}

@media (max-width: 640px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-row,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-item {
    flex-wrap: wrap;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-row-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-card,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-row,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-compose-hub,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-compose-list,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-back,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-reply-btn,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-delete-btn,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hide-thread-btn {
    transition: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-hub-card:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox .tp-mailbox-row:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-compose-hub:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-compose-list:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="mailbox"].active) #tp-section-mailbox #btn-tp-mailbox-back:hover {
    transform: none;
  }
}


/* =============================================================================
   Tenant Admin — Kurum İçi İletişim Odaları
   (#tp-section-institution-messaging + 4 sibling room modals)
   Do not theme #tp-section-institution-chat.
   ============================================================================= */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging {
  color: #1d1d1f;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-workspace {
  color: #1d1d1f;
  padding: clamp(8px, 1.2vw, 12px);
  border-radius: clamp(18px, 2vw, 24px);
  border: 1px solid rgba(103, 232, 249, 0.52);
  background-color: rgba(255, 255, 255, 0.94);
  background-image:
    radial-gradient(ellipse 92% 72% at 0% 0%, rgba(224, 242, 254, 0.9), transparent 62%),
    radial-gradient(ellipse 70% 54% at 100% 0%, rgba(237, 233, 254, 0.46), transparent 58%),
    radial-gradient(ellipse 60% 48% at 100% 100%, rgba(254, 226, 226, 0.28), transparent 62%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 28px rgba(14, 116, 144, 0.08),
    0 22px 48px rgba(15, 23, 42, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-workspace::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-workspace::after {
  content: none;
  display: none;
  opacity: 0;
  background: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-workspace-header {
  color: #1d1d1f;
  padding: clamp(12px, 1.6vw, 16px) clamp(14px, 1.8vw, 18px);
  border-radius: clamp(14px, 1.6vw, 18px);
  border: 1px solid rgba(125, 211, 252, 0.55);
  background-color: rgba(255, 255, 255, 0.96);
  background-image:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(207, 250, 254, 0.72), transparent 64%),
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(233, 213, 255, 0.38), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 20px rgba(14, 116, 144, 0.07);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-workspace-header-top {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-workspace-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0 0 6px;
  color: #0f172a;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-workspace-title::before {
  content: "\f086";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(103, 232, 249, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(165, 243, 252, 0.7), transparent 68%),
    rgba(224, 242, 254, 0.96);
  color: #0e7490;
  font-size: 0.92rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 4px 10px rgba(14, 116, 144, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-workspace-subtitle,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-workspace-context {
  color: #334155;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-mode-tabs {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 5px;
  border-radius: 14px;
  border: 1px solid rgba(186, 230, 253, 0.65);
  background: rgba(248, 250, 252, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-mode-tab {
  min-height: 40px;
  min-width: 0;
  padding: 8px 14px;
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.92);
  color: #334155;
  font-weight: 750;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-mode-tab:hover {
  border-color: rgba(100, 116, 139, 0.42);
  transform: translateY(-1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-mode-tab:active {
  transform: translateY(0);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-mode-tab:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.55);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-mode-tab:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-mode-group.is-active {
  border-color: rgba(6, 182, 212, 0.62);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(165, 243, 252, 0.7), transparent 68%),
    linear-gradient(180deg, #ecfeff 0%, #cffafe 100%);
  color: #155e75;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 5px 12px rgba(8, 145, 178, 0.14);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-mode-private.is-active {
  border-color: rgba(167, 139, 250, 0.65);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(237, 233, 254, 0.78), transparent 68%),
    linear-gradient(180deg, #fdf4ff 0%, #f5d0fe 100%);
  color: #6b21a8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 5px 12px rgba(126, 34, 206, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-private-tab-badge {
  background: linear-gradient(180deg, #fb7185 0%, #e11d48 100%);
  color: #fff7f8;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 2px 8px rgba(190, 18, 60, 0.28);
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-history-menu-btn,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-open,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-close {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(196, 181, 253, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(237, 233, 254, 0.7), transparent 68%),
    rgba(248, 250, 252, 0.96);
  color: #334155;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 4px 10px rgba(91, 33, 182, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-history-menu-btn:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-open:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-close:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 92, 246, 0.55);
  color: #4c1d95;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-history-menu-btn:active,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-open:active,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-close:active {
  transform: translateY(0);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-history-menu-btn:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-open:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-close:focus-visible {
  outline: 2px solid rgba(139, 92, 246, 0.55);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-history-menu-dropdown {
  min-width: min(240px, calc(100vw - 32px));
  max-width: min(280px, calc(100vw - 24px));
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(196, 181, 253, 0.55);
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(237, 233, 254, 0.55), transparent 62%),
    rgba(255, 255, 255, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 12px 28px rgba(91, 33, 182, 0.12),
    0 18px 40px rgba(15, 23, 42, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-history-menu-dropdown button {
  min-height: 40px;
  border-radius: 10px;
  color: #1e293b;
  font-weight: 700;
  white-space: nowrap;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-history-menu-dropdown button:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-history-menu-dropdown button:focus-visible {
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.85), transparent 70%),
    rgba(240, 249, 255, 0.98);
  color: #0f172a;
  outline: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-history-menu-dropdown button:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.5);
  outline-offset: 1px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-clear-self {
  color: #9a3412;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-clear-self:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-clear-self:focus-visible {
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 215, 170, 0.7), transparent 70%),
    rgba(255, 247, 237, 0.98);
  color: #9a3412;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-history-menu-dropdown button.is-danger {
  color: #9f1239;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-history-menu-dropdown button.is-danger:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-history-menu-dropdown button.is-danger:focus-visible {
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 205, 211, 0.85), transparent 70%),
    rgba(255, 241, 242, 0.98);
  color: #9f1239;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-body-layout {
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-panel {
  min-width: 0;
  border-radius: clamp(16px, 1.8vw, 20px);
  border: 1px solid rgba(125, 211, 252, 0.52);
  background-color: rgba(255, 255, 255, 0.9);
  background-image:
    radial-gradient(ellipse 88% 70% at 0% 0%, rgba(224, 242, 254, 0.55), transparent 62%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(240, 249, 255, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -18px 28px rgba(14, 116, 144, 0.03),
    0 10px 24px rgba(14, 116, 144, 0.07);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-message-list,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-private-message-list {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(237, 233, 254, 0.28), transparent 58%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.72) 0%, rgba(224, 242, 254, 0.38) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message {
  max-width: min(82%, 560px);
  min-width: 0;
  border-radius: 16px;
  border: 1px solid rgba(196, 181, 253, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(237, 233, 254, 0.7), transparent 66%),
    linear-gradient(180deg, #faf5ff 0%, #f5d0fe 100%);
  color: #4c1d95;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 4px 10px rgba(91, 33, 182, 0.08),
    0 10px 22px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message:hover {
  transform: translateY(-2px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message:active {
  transform: translateY(0);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message.is-admin {
  border-color: rgba(56, 189, 248, 0.62);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(186, 230, 253, 0.78), transparent 66%),
    linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  color: #075985;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 4px 10px rgba(14, 165, 233, 0.1),
    0 10px 22px rgba(14, 116, 144, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message.is-instructor {
  border-color: rgba(192, 132, 252, 0.58);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(233, 213, 255, 0.72), transparent 66%),
    linear-gradient(180deg, #fdf4ff 0%, #fae8ff 100%);
  color: #6b21a8;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message.is-own {
  margin-left: auto;
  border-color: rgba(45, 212, 191, 0.58);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(167, 243, 208, 0.72), transparent 66%),
    linear-gradient(180deg, #ecfdf5 0%, #cffafe 100%);
  color: #115e59;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 4px 10px rgba(13, 148, 136, 0.12),
    0 10px 22px rgba(14, 116, 144, 0.06);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message.is-deleted {
  opacity: 1;
  border-color: rgba(203, 213, 225, 0.7);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 226, 226, 0.45), transparent 68%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: #64748b;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 3px 8px rgba(15, 23, 42, 0.04);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-avatar {
  color: #0f172a;
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(186, 230, 253, 0.85), transparent 68%),
    rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(125, 211, 252, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 3px 8px rgba(14, 116, 144, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-sender {
  color: #0f172a;
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-word;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-role {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.5);
  background: rgba(207, 250, 254, 0.92);
  color: #0e7490;
  opacity: 1;
  font-weight: 750;
  max-width: 100%;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message.is-instructor .tp-instructor-room-message-role {
  border-color: rgba(192, 132, 252, 0.5);
  background: rgba(243, 232, 255, 0.95);
  color: #6b21a8;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-time {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.65);
  background: rgba(248, 250, 252, 0.96);
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-edited {
  color: #9a3412;
  background: rgba(255, 247, 237, 0.92);
  border: 1px solid rgba(253, 186, 116, 0.5);
  border-radius: 999px;
  padding: 0 7px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-text {
  color: #1e293b;
  overflow-wrap: anywhere;
  word-break: break-word;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-text.is-deleted-text {
  color: #64748b;
  font-style: italic;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-reply-quote {
  min-width: 0;
  border-left: 3px solid #22d3ee;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-reply-quote-sender {
  color: #0e7490;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-reply-quote-text {
  color: #475569;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-action {
  min-height: 32px;
  white-space: nowrap;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-action:hover {
  transform: translateY(-1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-action:active {
  transform: translateY(0);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-action:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-action:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-action.is-busy {
  opacity: 0.58;
  cursor: wait;
  transform: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-action.is-like {
  border-color: rgba(244, 114, 182, 0.5);
  color: #9d174d;
  background: rgba(253, 242, 248, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-action.is-like.is-liked {
  border-color: rgba(244, 63, 94, 0.58);
  color: #9f1239;
  background: linear-gradient(180deg, #fff1f2 0%, #fecdd3 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-like-passive {
  color: #9d174d;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-action.is-reply {
  border-color: rgba(56, 189, 248, 0.55);
  color: #075985;
  background: rgba(240, 249, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-action.is-edit {
  border-color: rgba(251, 146, 60, 0.55);
  color: #9a3412;
  background: rgba(255, 247, 237, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-action.is-danger {
  border-color: rgba(244, 63, 94, 0.52);
  color: #9f1239;
  background: rgba(255, 241, 242, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-purge-btn {
  border-color: rgba(225, 29, 72, 0.55);
  background: linear-gradient(180deg, #fff1f2 0%, #fecdd3 100%);
  color: #9f1239;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-purge-btn:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-purge-btn:focus-visible {
  background: linear-gradient(180deg, #ffe4e6 0%, #fda4af 100%);
  color: #881337;
  outline: 2px solid rgba(244, 63, 94, 0.45);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-reply-preview,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-private-reply-preview {
  border: 1px solid rgba(56, 189, 248, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(186, 230, 253, 0.65), transparent 68%),
    rgba(240, 249, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 6px 14px rgba(14, 165, 233, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-reply-preview-label {
  color: #0e7490;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-reply-preview-sender {
  color: #0f172a;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-reply-preview-text {
  color: #475569;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-reply-cancel,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-private-reply-cancel {
  min-width: 32px;
  min-height: 32px;
  border-radius: 8px;
  color: #334155;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-reply-cancel:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-private-reply-cancel:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-reply-cancel:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-private-reply-cancel:focus-visible {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.8);
  outline: 2px solid rgba(14, 165, 233, 0.45);
  outline-offset: 1px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-panel {
  border-color: rgba(196, 181, 253, 0.52);
  background-image:
    radial-gradient(ellipse 88% 70% at 0% 0%, rgba(237, 233, 254, 0.5), transparent 62%),
    linear-gradient(180deg, rgba(250, 245, 255, 0.96) 0%, rgba(240, 249, 255, 0.94) 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-list-title {
  color: #0f172a;
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-list-subtitle {
  color: #475569;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-thread-row {
  min-width: 0;
  border-radius: 14px;
  border: 1px solid rgba(186, 230, 253, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(255, 255, 255, 0.95), transparent 68%),
    rgba(248, 250, 252, 0.96);
  color: #1d1d1f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 4px 12px rgba(14, 116, 144, 0.06);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-thread-row:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-thread-row:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(14, 165, 233, 0.5);
  background: rgba(240, 249, 255, 0.98);
  outline: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-thread-row:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-thread-row.is-unread {
  border-color: rgba(244, 114, 182, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 0 0 1px rgba(56, 189, 248, 0.18),
    0 6px 16px rgba(14, 165, 233, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-thread-name {
  color: #0f172a;
  font-weight: 800;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-thread-meta {
  color: #64748b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-thread-snippet {
  color: #475569;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-unread-dot {
  background: #e11d48;
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.28);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-chat-back {
  min-height: 40px;
  margin: 8px 12px 0;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(186, 230, 253, 0.65), transparent 68%),
    rgba(240, 249, 255, 0.96);
  color: #0e7490;
  font-weight: 750;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-chat-back:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-chat-back:focus-visible {
  color: #155e75;
  outline: 2px solid rgba(14, 165, 233, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-chat-header {
  margin: 8px 12px 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(196, 181, 253, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(237, 233, 254, 0.65), transparent 68%),
    rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-peer-name {
  color: #0f172a;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-peer-role {
  display: inline-flex;
  max-width: 100%;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(245, 243, 255, 0.96);
  color: #6b21a8;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-panel {
  border: 1px solid rgba(167, 139, 250, 0.52);
  background-color: rgba(255, 255, 255, 0.94);
  background-image:
    radial-gradient(ellipse 88% 70% at 0% 0%, rgba(224, 242, 254, 0.62), transparent 62%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(237, 233, 254, 0.5), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 243, 255, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 24px rgba(91, 33, 182, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-header {
  border-bottom: 1px solid rgba(196, 181, 253, 0.4);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(207, 250, 254, 0.45), transparent 68%),
    rgba(250, 245, 255, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-title {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-subtitle {
  color: #475569;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-user-row {
  border: 1px solid rgba(186, 230, 253, 0.48);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(255, 255, 255, 0.96), transparent 68%),
    rgba(248, 250, 252, 0.94);
  color: #1d1d1f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 3px 8px rgba(14, 116, 144, 0.05);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-user-row:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 165, 233, 0.45);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-user-row:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-user-row.is-selected {
  border-color: rgba(6, 182, 212, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 0 0 2px rgba(103, 232, 249, 0.28),
    0 8px 18px rgba(14, 165, 233, 0.12);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(165, 243, 252, 0.45), transparent 68%),
    rgba(240, 249, 255, 0.98);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-user-avatar {
  color: #0f172a;
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(186, 230, 253, 0.85), transparent 68%),
    rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(125, 211, 252, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 3px 8px rgba(14, 116, 144, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-user-presence {
  border-color: #ffffff;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-user-presence.is-online {
  background: #22c55e;
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.28);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-user-presence.is-offline {
  background: #94a3b8;
  border-color: #ffffff;
  opacity: 0.9;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-user-name {
  color: #0f172a;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-user-role {
  display: inline-flex;
  max-width: 100%;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.5);
  background: rgba(207, 250, 254, 0.94);
  color: #0e7490;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-user-note {
  color: #64748b;
  border-top-color: rgba(196, 181, 253, 0.35);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-backdrop:not([hidden]) {
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-composer,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-private-composer {
  border-top: 1px solid rgba(125, 211, 252, 0.48);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.55), transparent 68%),
    rgba(255, 255, 255, 0.97);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 -8px 20px rgba(14, 116, 144, 0.06);
  padding: clamp(10px, 1.4vw, 14px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-composer-input,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-private-composer-input {
  color-scheme: light;
  border: 1px solid rgba(125, 211, 252, 0.5);
  background: rgba(255, 255, 255, 0.98);
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-composer-input::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-private-composer-input::placeholder {
  color: #64748b;
  opacity: 1;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-composer-input:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-private-composer-input:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.55);
  outline-offset: 2px;
  border-color: rgba(14, 165, 233, 0.55);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-composer-input:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-private-composer-input:disabled {
  color: #64748b;
  background: rgba(248, 250, 252, 0.96);
  opacity: 0.78;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-composer-actions {
  gap: 8px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-composer-actions .btn {
  min-height: 40px;
  border-radius: 12px;
  font-weight: 750;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-add-image,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-private-add-image {
  border: 1px solid rgba(56, 189, 248, 0.5);
  background: linear-gradient(180deg, #ecfeff 0%, #e0f2fe 100%);
  color: #075985;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-add-file,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-private-add-file {
  border: 1px solid rgba(167, 139, 250, 0.5);
  background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 100%);
  color: #5b21b6;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-composer-actions .btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-send,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-private-send {
  border: 1px solid rgba(45, 212, 191, 0.58);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(167, 243, 208, 0.78), transparent 64%),
    linear-gradient(180deg, #ecfdf5 0%, #a5f3fc 100%);
  color: #115e59;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 6px 14px rgba(13, 148, 136, 0.14);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-send:hover,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-private-send:hover {
  transform: translateY(-1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-send:active,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-private-send:active {
  transform: translateY(0);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-send:focus-visible,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-private-send:focus-visible {
  outline: 2px solid rgba(13, 148, 136, 0.55);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-send:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-private-send:disabled {
  opacity: 0.62;
  transform: none;
  cursor: wait;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-composer-msg,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-private-composer-msg {
  color: #334155;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-composer-msg.muted,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-private-composer-msg.muted {
  color: #0e7490;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-composer-msg.ok,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-private-composer-msg.ok {
  color: #047857;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-composer-msg.error,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-private-composer-msg.error,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-send-failed,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-send-failed,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-delete-failed,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-delete-failed {
  color: #9f1239;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-empty,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-status,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-status {
  margin: 8px;
  padding: clamp(16px, 2vw, 24px) 14px;
  border-radius: 16px;
  border: 1px solid rgba(186, 230, 253, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.7), transparent 68%),
    rgba(255, 255, 255, 0.94);
  color: #334155;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-empty-icon {
  border: 1px solid rgba(103, 232, 249, 0.5);
  background: rgba(207, 250, 254, 0.92);
  color: #0e7490;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-empty-title {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-empty-text {
  color: #475569;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-status.is-error,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-status.is-error {
  border-color: rgba(244, 63, 94, 0.45);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 205, 211, 0.55), transparent 68%),
    rgba(255, 241, 242, 0.96);
  color: #9f1239;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal.tp-modal-overlay,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-delete-modal.tp-modal-overlay,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-purge-modal.tp-modal-overlay,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal.tp-modal-overlay {
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: clamp(12px, 2vw, 20px);
  box-sizing: border-box;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal .tp-modal,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-delete-modal .tp-modal,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-purge-modal .tp-modal,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal .tp-modal {
  width: min(520px, calc(100vw - 32px));
  max-width: min(520px, calc(100vw - 32px));
  max-height: min(90vh, calc(100dvh - 24px));
  overflow: auto;
  box-sizing: border-box;
  color: #1d1d1f;
  background-color: rgba(255, 255, 255, 0.98);
  background-image:
    radial-gradient(ellipse 92% 70% at 0% 0%, rgba(224, 242, 254, 0.78), transparent 62%),
    radial-gradient(ellipse 70% 52% at 100% 0%, rgba(237, 233, 254, 0.38), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  border: 1px solid rgba(103, 232, 249, 0.52);
  border-radius: clamp(16px, 2vw, 22px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 28px rgba(14, 116, 144, 0.08),
    0 22px 48px rgba(15, 23, 42, 0.14);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal .tp-modal::before,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal .tp-modal::after,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-delete-modal .tp-modal::before,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-delete-modal .tp-modal::after,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-purge-modal .tp-modal::before,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-purge-modal .tp-modal::after,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal .tp-modal::before,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal .tp-modal::after {
  content: none;
  display: none;
  opacity: 0;
  background: none;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-delete-modal .tp-modal {
  border-color: rgba(251, 146, 60, 0.5);
  background-image:
    radial-gradient(ellipse 92% 70% at 0% 0%, rgba(254, 215, 170, 0.55), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 237, 0.96) 100%);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-purge-modal .tp-modal {
  border-color: rgba(244, 63, 94, 0.55);
  background-image:
    radial-gradient(ellipse 92% 70% at 0% 0%, rgba(254, 205, 211, 0.62), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 241, 242, 0.96) 100%);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal .tp-modal {
  border-color: rgba(251, 191, 36, 0.52);
  background-image:
    radial-gradient(ellipse 92% 70% at 0% 0%, rgba(254, 243, 199, 0.7), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 251, 235, 0.96) 100%);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal .tp-modal-header,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-delete-modal .tp-modal-header,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-purge-modal .tp-modal-header,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal .tp-modal-header {
  border-bottom: 1px solid rgba(186, 230, 253, 0.55);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal .tp-modal-title,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-delete-modal .tp-modal-title,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-purge-modal .tp-modal-title,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal .tp-modal-title {
  color: #0f172a;
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal .tp-modal-title i {
  color: #0e7490;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-delete-modal .tp-modal-title i,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-purge-modal .tp-modal-title i {
  color: #e11d48;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal .tp-modal-title i {
  color: #d97706;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal .tp-modal-close,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-delete-modal .tp-modal-close,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-purge-modal .tp-modal-close,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal .tp-modal-close,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal .btn-secondary,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-delete-modal .btn-secondary,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-purge-modal .btn-secondary,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal .btn-secondary {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(196, 181, 253, 0.5);
  background: linear-gradient(180deg, #faf5ff 0%, #f3e8ff 100%);
  color: #5b21b6;
  font-weight: 750;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal .tp-modal-close:focus-visible,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-delete-modal .tp-modal-close:focus-visible,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-purge-modal .tp-modal-close:focus-visible,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal .tp-modal-close:focus-visible,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal .btn:focus-visible,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-delete-modal .btn:focus-visible,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-purge-modal .btn:focus-visible,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal .btn:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.5);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal .tp-instructor-room-edit-label {
  color: #334155;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal #tp-instructor-room-edit-input {
  color-scheme: light;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(125, 211, 252, 0.5);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal #tp-instructor-room-edit-input:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.55);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal .muted,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-delete-modal .muted,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-purge-modal .muted,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal .muted {
  color: #475569 !important;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal .muted.error,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-delete-modal .muted.error,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-purge-modal .muted.error,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal .muted.error {
  color: #9f1239 !important;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal .tp-modal-footer .btn:not(.btn-secondary),
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal #btn-tp-instructor-room-history-clear-ok.btn:not(.is-danger) {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(45, 212, 191, 0.58);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(167, 243, 208, 0.78), transparent 64%),
    rgba(240, 253, 250, 0.98);
  color: #115e59;
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-delete-modal #btn-tp-instructor-room-delete-ok,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-purge-modal #btn-tp-instructor-room-purge-ok,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal #btn-tp-instructor-room-history-clear-ok.btn.is-danger {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(244, 63, 94, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 205, 211, 0.9), transparent 64%),
    rgba(255, 241, 242, 0.98);
  color: #9f1239;
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal .tp-modal-footer,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-delete-modal .tp-modal-footer,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-purge-modal .tp-modal-footer,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal .tp-modal-footer {
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 1100px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-workspace-header-top {
    gap: 8px;
  }
}

@media (max-width: 980px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-panel {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      0 -12px 36px rgba(15, 23, 42, 0.18);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-mode-tabs {
    width: 100%;
  }
}

@media (max-width: 640px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-composer-actions {
    flex-wrap: wrap;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-send,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-private-send {
    min-width: min(100%, 120px);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-meta {
    min-width: 0;
  }

  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-edit-modal .tp-modal-footer .btn,
  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-delete-modal .tp-modal-footer .btn,
  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-purge-modal .tp-modal-footer .btn,
  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-instructor-room-history-clear-modal .tp-modal-footer .btn {
    min-height: 40px;
    flex: 1 1 140px;
  }
}

@media (max-width: 430px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-workspace-title {
    font-size: 1.02rem;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-action {
    min-height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-mode-tab,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-history-menu-btn,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-open,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-close,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-action,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-thread-row,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-user-row,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-send,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-private-send {
    transition: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-mode-tab:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-history-menu-btn:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-users-open:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-message-action:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-private-thread-row:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-user-row:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-room-send:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #btn-tp-instructor-private-send:hover {
    transform: none;
  }
}


/* =============================================================================
   Tenant Admin — Sürücü Kursları Türkiye Geneli / İl Bazlı Grup Sohbet
   (#tp-section-institution-chat + tenant delete modal + tenant emoji portal)
   Do not theme #admin-page-institution-chat or #tp-section-institution-messaging.
   ============================================================================= */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat {
  color: #1d1d1f;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-panel {
  position: relative;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  color: #1d1d1f;
  padding: clamp(12px, 1.8vw, 20px);
  border-radius: clamp(18px, 2.2vw, 26px);
  border: 1px solid rgba(56, 189, 248, 0.48);
  background-color: rgba(255, 255, 255, 0.96);
  background-image:
    radial-gradient(ellipse 92% 72% at 0% 0%, rgba(224, 242, 254, 0.92), transparent 62%),
    radial-gradient(ellipse 70% 54% at 100% 0%, rgba(226, 232, 240, 0.55), transparent 58%),
    radial-gradient(ellipse 58% 46% at 100% 100%, rgba(207, 250, 254, 0.38), transparent 62%),
    linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 20px rgba(14, 116, 144, 0.08),
    0 18px 40px rgba(15, 23, 42, 0.08),
    0 28px 56px rgba(14, 165, 233, 0.06);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-panel::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-panel::after {
  content: none;
  display: none;
  opacity: 0;
  background: none;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  margin: 0 0 8px;
  color: #0f172a;
  font-size: clamp(1.12rem, 1.8vw, 1.34rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-title i {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(165, 243, 252, 0.78), transparent 68%),
    rgba(224, 242, 254, 0.96);
  color: #0369a1;
  font-size: 0.95rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 4px 10px rgba(14, 116, 144, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-description {
  margin: 0 0 14px;
  color: #334155;
  font-size: clamp(0.86rem, 1.2vw, 0.95rem);
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-split-layout {
  min-width: 0;
  max-width: 100%;
  gap: clamp(12px, 1.8vw, 20px);
  box-sizing: border-box;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-sidebar {
  min-width: 0;
  color: #1d1d1f;
  padding: clamp(12px, 1.6vw, 16px);
  border-radius: clamp(14px, 1.8vw, 18px);
  border: 1px solid rgba(56, 189, 248, 0.46);
  background-color: rgba(248, 250, 252, 0.96);
  background-image:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(207, 250, 254, 0.78), transparent 64%),
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(224, 242, 254, 0.5), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(236, 254, 255, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 24px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-province-list-title {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-province-list-desc {
  margin: 0;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-sidebar-provinces-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.55) rgba(224, 242, 254, 0.55);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-sidebar-provinces-scroll::-webkit-scrollbar {
  width: 7px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-sidebar-provinces-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.72), rgba(14, 165, 233, 0.55));
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-national-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(217, 119, 6, 0.55);
  background-color: rgba(255, 251, 235, 0.96);
  background-image:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(253, 230, 138, 0.72), transparent 62%),
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(165, 243, 252, 0.42), transparent 58%),
    linear-gradient(145deg, rgba(255, 251, 235, 0.98), rgba(255, 247, 237, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 18px rgba(217, 119, 6, 0.12),
    0 0 22px rgba(56, 189, 248, 0.08);
  color: #0f172a;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-national-card:hover {
  transform: translateY(-1px);
  border-color: rgba(217, 119, 6, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 22px rgba(217, 119, 6, 0.16),
    0 0 26px rgba(56, 189, 248, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-national-card:active {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-national-card:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.72);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-national-card.is-selected {
  border-color: rgba(180, 83, 9, 0.78);
  background-image:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(253, 224, 71, 0.7), transparent 62%),
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(165, 243, 252, 0.5), transparent 58%),
    linear-gradient(145deg, rgba(255, 251, 235, 0.99), rgba(254, 243, 199, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px rgba(251, 191, 36, 0.28),
    0 10px 24px rgba(217, 119, 6, 0.18),
    0 0 28px rgba(56, 189, 248, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-national-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid rgba(217, 119, 6, 0.48);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(253, 230, 138, 0.85), transparent 68%),
    linear-gradient(145deg, rgba(255, 251, 235, 0.98), rgba(253, 230, 138, 0.7));
  color: #b45309;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 4px 10px rgba(217, 119, 6, 0.14);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-national-card-body,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-national-card-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-national-card-subtitle {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-national-card-title {
  color: #0f172a;
  font-weight: 800;
  line-height: 1.3;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-national-card-subtitle {
  color: #57534e;
  font-weight: 600;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-national-card-badge {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(217, 119, 6, 0.5);
  background: linear-gradient(180deg, rgba(253, 230, 138, 0.95), rgba(251, 191, 36, 0.78));
  color: #78350f;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-province-grid .institution-chat-room-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
  border: 1px solid color-mix(in srgb, var(--room-accent, rgba(56, 189, 248, 0.46)) 70%, rgba(148, 163, 184, 0.35));
  background-color: rgba(255, 255, 255, 0.96);
  background-image:
    linear-gradient(180deg, color-mix(in srgb, var(--room-accent-soft, rgba(224, 242, 254, 0.7)) 55%, white 45%), rgba(255, 255, 255, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 0 0 1px color-mix(in srgb, var(--room-accent, rgba(56, 189, 248, 0.28)) 28%, transparent),
    0 6px 14px rgba(15, 23, 42, 0.06),
    0 0 16px var(--room-accent-glow, rgba(56, 189, 248, 0.12));
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-province-grid .institution-chat-room-card:hover {
  transform: translateY(-1px);
  border-color: var(--room-accent, rgba(56, 189, 248, 0.62));
  background-image:
    linear-gradient(180deg, color-mix(in srgb, var(--room-accent-soft, rgba(224, 242, 254, 0.85)) 72%, white 28%), rgba(255, 255, 255, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 18px rgba(15, 23, 42, 0.08),
    0 0 22px var(--room-accent-glow, rgba(56, 189, 248, 0.18));
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-province-grid .institution-chat-room-card:active {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-province-grid .institution-chat-room-card:focus-visible {
  outline: 2px solid var(--room-accent, rgba(14, 165, 233, 0.72));
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-province-grid .institution-chat-room-card.is-selected {
  border-color: color-mix(in srgb, var(--room-accent, rgba(14, 165, 233, 0.78)) 88%, #0f172a 12%);
  background-image:
    radial-gradient(120% 160% at 0% 0%, var(--room-accent-soft, rgba(165, 243, 252, 0.7)), transparent 62%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), color-mix(in srgb, var(--room-accent-soft, rgba(224, 242, 254, 0.7)) 50%, white 50%));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px color-mix(in srgb, var(--room-accent, rgba(56, 189, 248, 0.4)) 40%, transparent),
    0 8px 20px rgba(15, 23, 42, 0.08),
    0 0 26px var(--room-accent-glow, rgba(56, 189, 248, 0.22));
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-shell {
  min-width: 0;
  max-width: 100%;
  filter: drop-shadow(0 18px 32px rgba(15, 23, 42, 0.12));
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-phone-side-button {
  background: linear-gradient(180deg, #e2e8f0 0%, #94a3b8 42%, #64748b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(15, 23, 42, 0.18);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame {
  max-width: min(440px, 100%);
  border: 3px solid transparent;
  background:
    linear-gradient(168deg, #f8fafc 0%, #e8eef5 28%, #f1f5f9 62%, #dbe4ee 100%) padding-box,
    linear-gradient(152deg, #ffffff 0%, #cbd5e1 22%, #94a3b8 48%, #e2e8f0 78%, #ffffff 100%) border-box;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.86),
    inset 0 -4px 14px rgba(148, 163, 184, 0.22),
    inset 0 0 0 1px rgba(226, 232, 240, 0.7),
    0 0 0 1px rgba(148, 163, 184, 0.28),
    0 18px 40px rgba(15, 23, 42, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08) 42%, transparent 72%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame::after {
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-national-room {
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -4px 14px rgba(148, 163, 184, 0.18),
    0 18px 40px rgba(15, 23, 42, 0.12),
    0 0 22px rgba(251, 191, 36, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-province-room {
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -4px 14px rgba(148, 163, 184, 0.18),
    0 18px 40px rgba(15, 23, 42, 0.12),
    0 0 22px rgba(129, 140, 248, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-phone-speaker {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.85), rgba(71, 85, 105, 0.92));
  box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.2), 0 1px 0 rgba(255, 255, 255, 0.45);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-phone-notch {
  background: linear-gradient(180deg, rgba(51, 65, 85, 0.92), rgba(15, 23, 42, 0.96));
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(148, 163, 184, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.45);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-phone-screen {
  border: 1px solid rgba(186, 230, 253, 0.55);
  outline: 1px solid rgba(226, 232, 240, 0.9);
  background:
    radial-gradient(ellipse at 18% 0%, rgba(224, 242, 254, 0.55), transparent 48%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(236, 254, 255, 0.94));
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.92),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-phone-screen::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08) 38%, transparent 100%);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-national-room .institution-chat-phone-screen {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(253, 230, 138, 0.28), transparent 48%),
    radial-gradient(ellipse at 92% 8%, rgba(165, 243, 252, 0.22), transparent 40%),
    linear-gradient(180deg, rgba(255, 251, 235, 0.96), rgba(248, 250, 252, 0.96));
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-province-room .institution-chat-phone-screen {
  background:
    radial-gradient(ellipse at 82% 0%, rgba(221, 214, 254, 0.38), transparent 48%),
    radial-gradient(ellipse at 12% 6%, rgba(207, 250, 254, 0.32), transparent 40%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(238, 242, 255, 0.94));
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-phone-home-indicator {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.55), rgba(100, 116, 139, 0.7));
  box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.12), 0 1px 0 rgba(255, 255, 255, 0.6);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-phone-room-header {
  min-width: 0;
  border-bottom: 1px solid rgba(186, 230, 253, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-national-room .institution-chat-phone-room-header {
  --chat-header-accent: rgba(217, 119, 6, 0.55);
  --chat-header-accent-soft: rgba(253, 230, 138, 0.55);
  --chat-header-accent-glow: rgba(251, 191, 36, 0.18);
  border-bottom-color: rgba(217, 119, 6, 0.28);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(253, 230, 138, 0.55), transparent 64%),
    linear-gradient(180deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.9));
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-province-room .institution-chat-phone-room-header {
  --chat-header-accent: rgba(99, 102, 241, 0.5);
  --chat-header-accent-soft: rgba(199, 210, 254, 0.55);
  --chat-header-accent-glow: rgba(34, 211, 238, 0.16);
  border-bottom-color: rgba(129, 140, 248, 0.35);
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(221, 214, 254, 0.55), transparent 64%),
    linear-gradient(180deg, rgba(238, 242, 255, 0.96), rgba(236, 254, 255, 0.9));
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-room-title-wrap,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-title,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-subtitle {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-title {
  color: #0f172a;
  font-weight: 800;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-subtitle {
  color: #475569;
  font-weight: 600;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-type-badge {
  border-radius: 999px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-national-room #institution-chat-room-type-badge {
  border: 1px solid rgba(217, 119, 6, 0.45);
  background: linear-gradient(180deg, rgba(253, 230, 138, 0.95), rgba(251, 191, 36, 0.78));
  color: #78350f;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-province-room #institution-chat-room-type-badge {
  border: 1px solid rgba(129, 140, 248, 0.45);
  background: linear-gradient(180deg, rgba(224, 231, 255, 0.96), rgba(199, 210, 254, 0.82));
  color: #3730a3;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-room-thread,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-messages {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-room-thread {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.55), rgba(224, 242, 254, 0.28));
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.45) rgba(224, 242, 254, 0.4);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble {
  min-width: 0;
  max-width: min(292px, 100%);
  width: min(292px, 100%);
  box-sizing: border-box;
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-row.is-own .institution-chat-bubble,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .is-national-room .institution-chat-bubble-row.is-own .institution-chat-bubble,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .is-province-room .institution-chat-bubble-row.is-own .institution-chat-bubble {
  border: 1px solid rgba(34, 211, 238, 0.55);
  background:
    linear-gradient(145deg, rgba(207, 250, 254, 0.96), rgba(167, 243, 208, 0.55) 58%, rgba(224, 242, 254, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 18px rgba(13, 148, 136, 0.12);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-row.is-other .institution-chat-bubble,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .is-national-room .institution-chat-bubble-row.is-other .institution-chat-bubble,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .is-province-room .institution-chat-bubble-row.is-other .institution-chat-bubble {
  border: 1px solid rgba(167, 139, 250, 0.48);
  background:
    linear-gradient(152deg, rgba(237, 233, 254, 0.92), rgba(224, 242, 254, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 18px rgba(79, 70, 229, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-header,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-meta,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-sender,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-tenant,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-text,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-time {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-tenant {
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.25;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-row.is-other .institution-chat-bubble-tenant {
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-tenant {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-tenant-logo {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.95), transparent 68%),
    rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 4px 10px rgba(14, 116, 144, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-tenant-logo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f766e;
  background:
    linear-gradient(145deg, rgba(207, 250, 254, 0.96), rgba(221, 214, 254, 0.72) 52%, rgba(167, 243, 208, 0.7));
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-tenant-logo-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 2px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.92);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-tenant-logo-img[hidden],
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-tenant-logo-fallback[hidden] {
  display: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-tenant-name {
  min-width: 0;
  flex: 1 1 auto;
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-sender {
  font-weight: 700;
  line-height: 1.25;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-row.is-own .institution-chat-bubble-sender {
  color: #155e75;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-text,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-row.is-own .institution-chat-bubble-text {
  color: #1e293b;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-time,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-row.is-own .institution-chat-bubble-time {
  color: #64748b;
  white-space: nowrap;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reply-quote,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reply-quote.is-own,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-row.is-own .institution-chat-reply-quote {
  border-left-color: rgba(13, 148, 136, 0.65);
  background: rgba(204, 251, 241, 0.55);
  color: #134e4a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reply-quote.is-other,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-row.is-other .institution-chat-reply-quote {
  border-left-color: rgba(129, 140, 248, 0.7);
  background: rgba(224, 231, 255, 0.62);
  color: #312e81;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reply-quote-meta,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reply-quote-tenant,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reply-quote-text {
  min-width: 0;
  overflow-wrap: anywhere;
  color: inherit;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-row.is-send-failed .institution-chat-bubble {
  border-color: rgba(244, 63, 94, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 205, 211, 0.7), transparent 68%),
    rgba(255, 241, 242, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-send-failed {
  margin-top: 4px;
  color: #9f1239;
  font-size: 0.68rem;
  font-weight: 700;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-row.is-editing .institution-chat-bubble {
  border-color: rgba(217, 119, 6, 0.55);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 243, 199, 0.8), transparent 68%),
    rgba(255, 251, 235, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-edit-box {
  border: 1px solid rgba(217, 119, 6, 0.4);
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(253, 230, 138, 0.35), transparent 55%),
    rgba(255, 251, 235, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-edit-input {
  color-scheme: light;
  border: 1px solid rgba(217, 119, 6, 0.38);
  background: rgba(255, 255, 255, 0.96) !important;
  color: #0f172a !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-edit-input:focus {
  outline: 2px solid rgba(14, 165, 233, 0.55);
  outline-offset: 1px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-actions {
  gap: 6px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-action {
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.42);
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.96), rgba(186, 230, 253, 0.78));
  color: #0c4a6e;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-row.is-own .institution-chat-message-action:nth-child(1) {
  border-color: rgba(217, 119, 6, 0.42);
  background: linear-gradient(180deg, rgba(254, 243, 199, 0.96), rgba(253, 230, 138, 0.78));
  color: #92400e;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-row.is-own .institution-chat-message-action:nth-child(2) {
  border-color: rgba(244, 63, 94, 0.42);
  background: linear-gradient(180deg, rgba(255, 228, 230, 0.96), rgba(254, 205, 211, 0.82));
  color: #9f1239;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-action:hover:not(:disabled) {
  transform: translateY(-1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-action:active:not(:disabled) {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-action:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.7);
  outline-offset: 1px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-action:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-state:empty,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-send-state:empty {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  min-height: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-state.institution-chat-state-card {
  margin: 6px 10px 0;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.38);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.78), transparent 68%),
    rgba(255, 255, 255, 0.94);
  color: #0f172a;
  font-weight: 650;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-state.muted {
  border-color: rgba(167, 139, 250, 0.38);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(237, 233, 254, 0.7), transparent 68%),
    rgba(248, 250, 252, 0.96);
  color: #334155;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-state.ok {
  border-color: rgba(16, 185, 129, 0.42);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(167, 243, 208, 0.55), transparent 68%),
    rgba(236, 253, 245, 0.96);
  color: #065f46;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-state.error {
  border-color: rgba(244, 63, 94, 0.45);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(254, 205, 211, 0.6), transparent 68%),
    rgba(255, 241, 242, 0.96);
  color: #9f1239;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-compose,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-national-room .institution-chat-room-compose,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-province-room .institution-chat-room-compose {
  --chat-compose-accent: rgba(14, 165, 233, 0.55);
  --chat-compose-accent-soft: rgba(186, 230, 253, 0.55);
  --chat-compose-accent-glow: rgba(34, 211, 238, 0.16);
  border-top: 1px solid rgba(125, 211, 252, 0.48);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.7), transparent 68%),
    rgba(255, 255, 255, 0.97);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-reply-preview {
  margin-bottom: 6px;
  padding: 7px 9px 7px 11px;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.48);
  border-left: 3px solid rgba(14, 165, 233, 0.7);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.7), transparent 68%),
    rgba(248, 250, 252, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reply-preview-label,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reply-preview-meta,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reply-preview-text {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #334155;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reply-preview-label {
  color: #0e7490;
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-reply-preview-cancel {
  min-width: 32px;
  min-height: 32px;
  border-radius: 8px;
  color: #475569;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-reply-preview-cancel:hover {
  color: #0f172a;
  background: rgba(224, 242, 254, 0.8);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-reply-preview-cancel:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.7);
  outline-offset: 1px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-input,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-room-input,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-input {
  color-scheme: light;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(125, 211, 252, 0.5);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-input::placeholder,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-input::placeholder {
  color: #64748b;
  opacity: 1;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-input:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-national-room .institution-chat-room-input:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-province-room .institution-chat-room-input:focus,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-input:focus {
  border-color: rgba(14, 165, 233, 0.72);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22);
  outline: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-input:disabled,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-input:disabled {
  background: rgba(241, 245, 249, 0.96);
  color: #475569;
  opacity: 0.86;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-compose-toolbar,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-compose-actions {
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-emoji-toggle {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.48);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(221, 214, 254, 0.85), transparent 68%),
    linear-gradient(145deg, rgba(224, 242, 254, 0.96), rgba(237, 233, 254, 0.9));
  color: #5b21b6;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 4px 10px rgba(79, 70, 229, 0.1);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-emoji-toggle:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(14, 165, 233, 0.55);
  color: #0e7490;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-emoji-toggle:active:not(:disabled) {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-emoji-toggle:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.7);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-emoji-toggle:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-send,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-national-room #institution-chat-room-send,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-province-room #institution-chat-room-send {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(13, 148, 136, 0.5);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(167, 243, 208, 0.7), transparent 68%),
    linear-gradient(145deg, rgba(34, 211, 238, 0.42), rgba(16, 185, 129, 0.72));
  color: #042f2e;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 6px 14px rgba(13, 148, 136, 0.18);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  white-space: nowrap;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-send:hover:not(:disabled) {
  transform: translateY(-1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-send:active:not(:disabled) {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-send:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.72);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-send:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-send-state {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-send-state.muted:not(:empty) {
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(224, 242, 254, 0.7);
  color: #155e75;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-send-state.ok:not(:empty) {
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(167, 243, 208, 0.55);
  color: #065f46;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-send-state.error:not(:empty) {
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(254, 205, 211, 0.7);
  color: #9f1239;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-delete-confirm-modal.tp-modal-overlay,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #tp-module-access-denied-modal.tp-modal-overlay {
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: clamp(12px, 2vw, 20px);
  box-sizing: border-box;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-delete-confirm-modal .tp-modal,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #tp-module-access-denied-modal .tp-modal {
  width: min(480px, calc(100vw - 32px));
  max-width: min(480px, calc(100vw - 32px));
  max-height: min(90vh, calc(100dvh - 24px));
  overflow: auto;
  box-sizing: border-box;
  color: #1d1d1f;
  background-color: rgba(255, 255, 255, 0.98);
  background-image:
    radial-gradient(ellipse 92% 70% at 0% 0%, rgba(254, 226, 226, 0.55), transparent 62%),
    radial-gradient(ellipse 70% 52% at 100% 0%, rgba(255, 237, 213, 0.42), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 237, 0.96) 100%);
  border: 1px solid rgba(251, 113, 133, 0.45);
  border-radius: clamp(16px, 2vw, 22px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 28px rgba(190, 18, 60, 0.08),
    0 22px 48px rgba(15, 23, 42, 0.14);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-delete-confirm-modal .tp-modal::before,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-delete-confirm-modal .tp-modal::after,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #tp-module-access-denied-modal .tp-modal::before,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #tp-module-access-denied-modal .tp-modal::after {
  content: none;
  display: none;
  opacity: 0;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-delete-confirm-modal .tp-modal-header,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #tp-module-access-denied-modal .tp-modal-header {
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(251, 113, 133, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 228, 230, 0.7), rgba(255, 241, 242, 0.35));
  border-radius: 14px 14px 0 0;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-delete-confirm-title,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #tp-module-access-denied-title {
  min-width: 0;
  color: #9f1239;
  font-weight: 800;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-delete-confirm-body,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-delete-confirm-msg,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #tp-module-access-denied-body {
  color: #334155;
  overflow-wrap: anywhere;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-delete-confirm-modal .tp-modal-footer,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #tp-module-access-denied-modal .tp-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-institution-chat-delete-confirm-ok {
  border: 1px solid rgba(225, 29, 72, 0.5);
  background: linear-gradient(145deg, rgba(251, 113, 133, 0.95), rgba(225, 29, 72, 0.88));
  color: #fff1f2;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 6px 14px rgba(190, 18, 60, 0.18);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-institution-chat-delete-confirm-cancel,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-institution-chat-delete-confirm-x,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-tp-module-access-denied-ok,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-tp-module-access-denied-x {
  border: 1px solid rgba(167, 139, 250, 0.42);
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.96), rgba(224, 231, 255, 0.82));
  color: #312e81;
  font-weight: 750;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-institution-chat-delete-confirm-ok:hover:not(:disabled),
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-institution-chat-delete-confirm-cancel:hover:not(:disabled),
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-institution-chat-delete-confirm-x:hover:not(:disabled),
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-tp-module-access-denied-ok:hover:not(:disabled),
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-tp-module-access-denied-x:hover:not(:disabled) {
  transform: translateY(-1px);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-institution-chat-delete-confirm-ok:active:not(:disabled),
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-institution-chat-delete-confirm-cancel:active:not(:disabled),
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-tp-module-access-denied-ok:active:not(:disabled) {
  transform: translateY(1px);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-institution-chat-delete-confirm-ok:focus-visible,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-institution-chat-delete-confirm-cancel:focus-visible,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-institution-chat-delete-confirm-x:focus-visible,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-tp-module-access-denied-ok:focus-visible,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-tp-module-access-denied-x:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.7);
  outline-offset: 2px;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-emoji-portal #institution-chat-emoji-panel {
  max-width: min(360px, calc(100vw - 16px));
  max-height: min(420px, calc(100dvh - 16px));
  box-sizing: border-box;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(237, 233, 254, 0.7), transparent 62%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(224, 242, 254, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 16px 36px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(125, 211, 252, 0.18);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-emoji-portal #institution-chat-emoji-panel #institution-chat-emoji-grid {
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.5) rgba(224, 242, 254, 0.45);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-emoji-portal #institution-chat-emoji-panel #institution-chat-emoji-grid::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.55);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-emoji-portal #institution-chat-emoji-panel #institution-chat-emoji-categories {
  border-top: 1px solid rgba(186, 230, 253, 0.55);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(237, 233, 254, 0.82));
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-emoji-portal #institution-chat-emoji-panel .institution-chat-emoji-option {
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-emoji-portal #institution-chat-emoji-panel .institution-chat-emoji-option:hover,
html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-emoji-portal #institution-chat-emoji-panel .institution-chat-emoji-option:focus-visible {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(224, 242, 254, 0.85);
  outline: none;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-emoji-portal #institution-chat-emoji-panel .institution-chat-emoji-category-btn {
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(255, 255, 255, 0.92);
  color: #334155;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-emoji-portal #institution-chat-emoji-panel .institution-chat-emoji-category-btn:hover {
  border-color: rgba(14, 165, 233, 0.45);
  background: rgba(224, 242, 254, 0.92);
  color: #0f172a;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-emoji-portal #institution-chat-emoji-panel .institution-chat-emoji-category-btn.is-active {
  border-color: rgba(14, 165, 233, 0.55);
  background: linear-gradient(145deg, rgba(207, 250, 254, 0.96), rgba(224, 231, 255, 0.9));
  color: #0e7490;
}

html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-emoji-portal #institution-chat-emoji-panel .institution-chat-emoji-category-btn:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.7);
  outline-offset: 1px;
}

@media (max-width: 980px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-panel {
    padding: clamp(10px, 2vw, 14px);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame {
    max-width: min(440px, 100%);
  }
}

@media (max-width: 720px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble {
    max-width: min(272px, 100%);
    width: min(272px, 100%);
  }
}

@media (max-width: 520px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-action {
    min-height: 40px;
    padding: 8px 12px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-compose-toolbar,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-compose-actions {
    width: 100%;
  }

  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #institution-chat-delete-confirm-modal .tp-modal-footer .btn,
  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #tp-module-access-denied-modal .tp-modal-footer .btn {
    flex: 1 1 100%;
    min-height: 44px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble {
    max-width: min(260px, 100%);
    width: min(260px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-national-card,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-room-card,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-action,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-emoji-toggle,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-send {
    transition: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-national-card:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-national-card:active,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-room-card:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-room-card:active,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-action:hover:not(:disabled),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-action:active:not(:disabled),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-emoji-toggle:hover:not(:disabled),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-emoji-toggle:active:not(:disabled),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-send:hover:not(:disabled),
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-send:active:not(:disabled),
  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-institution-chat-delete-confirm-ok:hover:not(:disabled),
  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-institution-chat-delete-confirm-cancel:hover:not(:disabled),
  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-institution-chat-delete-confirm-ok:active:not(:disabled),
  html[data-sa-theme="liquid-light"] body:has(#box-tenant-panel.is-tp-module-workspace .tp-nav-btn[data-tp-section="institution-chat"].active) #btn-institution-chat-delete-confirm-cancel:active:not(:disabled) {
    transform: none;
  }
}


/* =============================================================================
   WAVE 2A — Liquid Light mobile rescue (≤900). Desktop ≥901 unchanged.
   ============================================================================= */
@media (max-width: 900px) {
  /* Students + machine candidates share #tp-section-students */
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-filter-dock,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-filter-dock {
    padding: 12px;
    gap: 10px;
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.96),
      0 6px 16px rgba(15, 23, 42, 0.05);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-filter-dock #tp-student-search,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-filter-dock #tp-student-search {
    flex: none;
    min-width: 0;
    width: 100%;
    height: 50px;
    min-height: 50px;
    max-height: 50px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.3;
    background: #ffffff;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-period-field,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-passive-toggle,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-period-field,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-passive-toggle {
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 12px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-bulk-toolbar,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-bulk-toolbar {
    padding: 8px 10px;
    gap: 8px;
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="students"].active) #tp-section-students .tp-student-row,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="machine-candidates"].active) #tp-section-students .tp-student-row {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-filter-dock {
    padding: 12px;
    gap: 10px;
    border-radius: 16px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors #tp-instructor-search {
    width: 100%;
    min-width: 0;
    height: 50px;
    min-height: 50px;
    max-height: 50px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 15px;
    background: #ffffff;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-passive-toggle {
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 12px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-agenda-card {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="instructors"].active) #tp-section-instructors .tp-instructor-agenda-scroller {
    background: transparent;
    border: none;
    box-shadow: none;
  }

  /* Messaging Wave 2A — premium surfaces only; keep role bubbles from desktop rules */
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-workspace-header,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging .tp-instructor-room-panel,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-private-panel {
    border-color: rgba(125, 211, 252, 0.52);
    background-color: rgba(255, 255, 255, 0.96);
    background-image:
      radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.7), transparent 64%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.94) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      0 6px 16px rgba(14, 116, 144, 0.07);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-message-list,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-private-message-list {
    background:
      radial-gradient(ellipse 80% 50% at 100% 0%, rgba(237, 233, 254, 0.28), transparent 58%),
      linear-gradient(180deg, rgba(248, 250, 252, 0.72) 0%, rgba(224, 242, 254, 0.38) 100%);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-room-composer,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-messaging"].active) #tp-section-institution-messaging #tp-instructor-private-composer {
    background:
      radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.55), transparent 68%),
      rgba(255, 255, 255, 0.97);
    border-top-color: rgba(125, 211, 252, 0.48);
  }

  /* Institution chat Wave 2A — premium surfaces only; keep flex/height/overflow chain */
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-panel {
    background-color: rgba(255, 255, 255, 0.96) !important;
    background-image:
      radial-gradient(ellipse 92% 72% at 0% 0%, rgba(224, 242, 254, 0.9), transparent 62%),
      linear-gradient(178deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.96) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.48) !important;
    color: #0f172a !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      0 8px 18px rgba(14, 116, 144, 0.08);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-title {
    color: #0f172a !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-description {
    color: #334155 !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-sidebar {
    border-color: rgba(56, 189, 248, 0.46);
    background:
      radial-gradient(ellipse 90% 80% at 0% 0%, rgba(207, 250, 254, 0.7), transparent 64%),
      rgba(255, 255, 255, 0.96);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-phone-screen {
    background:
      radial-gradient(ellipse at 18% 0%, rgba(224, 242, 254, 0.5), transparent 48%),
      linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(236, 254, 255, 0.94));
    border-color: rgba(186, 230, 253, 0.55);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-compose {
    background:
      radial-gradient(ellipse 90% 80% at 0% 0%, rgba(224, 242, 254, 0.6), transparent 68%),
      rgba(255, 255, 255, 0.97);
    border-top-color: rgba(125, 211, 252, 0.48);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-input,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-room-input {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(125, 211, 252, 0.5);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-state {
    color: #334155 !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-tenant {
    min-width: 0;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-tenant-logo {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-tenant-name {
    min-width: 0;
    flex: 1 1 auto;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-mobile-drawer .tp-nav-btn {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: #1d1d1f;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 4px 12px rgba(15, 23, 42, 0.05);
  }

  /* Mobile board thumbs: same assets as desktop, contain (no square crop). */
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-mobile-drawer .tp-nav-btn::after {
    content: "" !important;
    background-color: #050b16 !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 106% 106% !important;
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-mobile-drawer .tp-nav-btn[data-tp-section="overview"]::after {
    background-image: url("../module-covers/liquid-light/dijital-kurum-akisi.png?v=20260915-dijital-fit-2") !important;
    background-size: 100% 106% !important;
    background-position: center center !important;
    transform: none !important;
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-mobile-drawer .tp-nav-btn[data-tp-section="students"]::after {
    background-image: url("../module-covers/liquid-light/ogrenci-yonetimi.webp") !important;
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-mobile-drawer .tp-nav-btn[data-tp-section="machine-candidates"]::after {
    background-image: url("../module-covers/liquid-light/is-makineleri-adaylari.webp") !important;
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-mobile-drawer .tp-nav-btn[data-tp-section="instructors"]::after {
    background-image: url("../module-covers/liquid-light/direksiyon-usta-ogreticiler.webp") !important;
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-mobile-drawer .tp-nav-btn[data-tp-section="special-lesson-requests"]::after {
    background-image: url("../module-covers/liquid-light/ozel-ders-talepleri.webp") !important;
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-mobile-drawer .tp-nav-btn[data-tp-section="forum"]::after {
    background-image: url("../module-covers/liquid-light/forum.webp") !important;
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-mobile-drawer .tp-nav-btn[data-tp-section="forum-moderation"]::after {
    background-image: url("../module-covers/liquid-light/forum-moderasyonu.webp") !important;
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-mobile-drawer .tp-nav-btn[data-tp-section="announcements"]::after {
    background-image: url("../module-covers/liquid-light/kurum-duyurulari.webp") !important;
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-mobile-drawer .tp-nav-btn[data-tp-section="mailbox"]::after {
    background-image: url("../module-covers/liquid-light/mesajlar.webp") !important;
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-mobile-drawer .tp-nav-btn[data-tp-section="institution-messaging"]::after {
    background-image: url("../module-covers/liquid-light/kurum-ici-iletisim-odalari.webp") !important;
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-mobile-drawer .tp-nav-btn[data-tp-section="institution-chat"]::after {
    background-image: url("../module-covers/liquid-light/surucu-kurslari-grup-sohbet.webp") !important;
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-mobile-drawer .tp-nav-btn[data-tp-section="notifications"]::after {
    background-image: url("../module-covers/liquid-light/bildirimler.webp") !important;
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-mobile-drawer .tp-nav-btn[data-tp-section="mevzuat"]::after {
    background-image: url("../module-covers/liquid-light/mevzuat.webp") !important;
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-mobile-drawer .tp-nav-btn[data-tp-section="abonelik"]::after {
    background-image: url("../module-covers/liquid-light/abonelik.webp") !important;
  }
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-board #tenant-mobile-drawer .tp-nav-btn[data-tp-section="institution-admins"]::after {
    background-image: url("../module-covers/liquid-light/kurum-yoneticileri.webp") !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace #btn-tp-module-board-back {
    min-height: 44px;
    height: 44px;
    border-radius: 12px;
  }
}


/* ============================================================
   SÜRÜCÜ KURSLARI GRUP SOHBET — PREMIUM WORKSPACE
   Visual shell only. Existing room, message and composer nodes
   retain their IDs, listeners and scroll ownership.
   ============================================================ */
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat {
  --chat-workspace-ink: #0f172a;
  --chat-workspace-copy: #334155;
  --chat-workspace-muted: #64748b;
  --chat-workspace-line: rgba(125, 211, 252, 0.42);
  --chat-workspace-line-soft: rgba(148, 163, 184, 0.24);
  --chat-workspace-cyan: #0891b2;
  --chat-workspace-blue: #0284c7;
  --chat-workspace-mint: #0f766e;
  --chat-workspace-violet: #6366f1;
  --chat-workspace-amber: #b45309;
  --chat-workspace-panel-radius: 22px;
  --chat-workspace-card-radius: 15px;
  --chat-workspace-gap: 16px;
  --chat-ui-scale: 1;
  --chat-action-font: calc(0.65rem * var(--chat-ui-scale));
  --chat-action-pad-y: calc(4px * var(--chat-ui-scale));
  --chat-action-pad-x: calc(8px * var(--chat-ui-scale));
  --chat-action-min-h: calc(28px * var(--chat-ui-scale));
  --chat-action-gap: calc(5px * var(--chat-ui-scale));
  --chat-action-radius: calc(8px * var(--chat-ui-scale));
  --chat-reaction-font: calc(0.64rem * var(--chat-ui-scale));
  --chat-reaction-pad-y: calc(4px * var(--chat-ui-scale));
  --chat-reaction-pad-x: calc(8px * var(--chat-ui-scale));
  --chat-reaction-min-h: calc(28px * var(--chat-ui-scale));
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-panel,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-panel:hover {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  min-width: 0;
  height: clamp(700px, 78vh, 860px);
  min-height: 700px;
  margin: 0;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 26px;
  background:
    radial-gradient(80% 105% at -4% -16%, rgba(186, 230, 253, 0.76), transparent 58%),
    radial-gradient(62% 80% at 104% -8%, rgba(221, 214, 254, 0.56), transparent 62%),
    radial-gradient(65% 88% at 50% 110%, rgba(204, 251, 241, 0.42), transparent 64%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.95) 54%, rgba(248, 250, 252, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 18px 44px rgba(15, 23, 42, 0.09),
    0 7px 18px rgba(14, 116, 144, 0.07);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 88px;
  padding: 14px 18px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.44);
  border-radius: 20px;
  background:
    radial-gradient(70% 130% at 0% 0%, rgba(165, 243, 252, 0.6), transparent 62%),
    radial-gradient(65% 140% at 100% 0%, rgba(221, 214, 254, 0.58), transparent 66%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 22px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-hero::after {
  content: "";
  position: absolute;
  right: 16%;
  bottom: -35px;
  z-index: -1;
  width: 260px;
  height: 78px;
  border: 2px solid rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.12) transparent transparent transparent;
  border-radius: 50%;
  transform: rotate(-6deg);
  pointer-events: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-hero-copy {
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-title {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  min-width: 0;
  margin: 0 0 4px;
  color: var(--chat-workspace-ink);
  font-size: clamp(1.24rem, 1.65vw, 1.62rem);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-title i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(14, 165, 233, 0.4);
  border-radius: 15px;
  color: #0369a1;
  font-size: 1.12rem;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.98), transparent 38%),
    linear-gradient(145deg, rgba(165, 243, 252, 0.94), rgba(186, 230, 253, 0.86) 52%, rgba(221, 214, 254, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 7px 16px rgba(14, 116, 144, 0.13);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-description {
  margin: 0;
  color: var(--chat-workspace-copy);
  font-size: clamp(0.82rem, 0.95vw, 0.94rem);
  font-weight: 600;
  line-height: 1.45;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-hero-principle {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 300px;
  min-width: 210px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 14px;
  color: #475569;
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.35;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-hero-principle i {
  color: var(--chat-workspace-violet);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-split-layout {
  display: grid;
  grid-template-columns: minmax(250px, 280px) minmax(430px, 1fr) minmax(230px, 260px);
  align-items: stretch;
  gap: var(--chat-workspace-gap);
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  height: auto;
  max-height: none;
  margin: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  max-height: none;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--chat-workspace-line);
  border-radius: var(--chat-workspace-panel-radius);
  color: var(--chat-workspace-ink);
  background:
    radial-gradient(100% 70% at 0% 0%, rgba(207, 250, 254, 0.7), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(240, 249, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 26px rgba(14, 116, 144, 0.08);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-sidebar-header {
  position: relative;
  flex: 0 0 auto;
  padding: 0 0 10px 42px;
  border-bottom: 1px solid rgba(125, 211, 252, 0.3);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-sidebar-header::before {
  content: "\f3c5";
  position: absolute;
  left: 0;
  top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(56, 189, 248, 0.38);
  border-radius: 10px;
  color: #0284c7;
  background: linear-gradient(145deg, rgba(207, 250, 254, 0.92), rgba(224, 242, 254, 0.92));
  font-family: "Font Awesome 6 Free";
  font-size: 0.86rem;
  font-weight: 900;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-province-list-title {
  margin: 0 0 3px;
  color: var(--chat-workspace-ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-province-list-desc {
  margin: 0;
  color: var(--chat-workspace-muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-national-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(217, 119, 6, 0.42);
  border-radius: 14px;
  color: var(--chat-workspace-ink);
  text-align: left;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(253, 230, 138, 0.72), transparent 62%),
    linear-gradient(145deg, rgba(255, 251, 235, 0.98), rgba(255, 247, 237, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 7px 18px rgba(180, 83, 9, 0.1);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-national-card:hover {
  transform: translateY(-1px);
  border-color: rgba(180, 83, 9, 0.64);
  box-shadow: 0 10px 22px rgba(180, 83, 9, 0.14);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-national-card.is-selected {
  border-color: rgba(180, 83, 9, 0.78);
  background:
    radial-gradient(90% 130% at 0% 0%, rgba(253, 224, 71, 0.66), transparent 60%),
    linear-gradient(145deg, rgba(255, 251, 235, 1), rgba(254, 243, 199, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(251, 191, 36, 0.26),
    0 9px 22px rgba(180, 83, 9, 0.16);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-national-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: var(--chat-workspace-amber);
  background: rgba(255, 251, 235, 0.88);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-national-card-title {
  color: var(--chat-workspace-ink);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-national-card-subtitle {
  color: #78716c;
  font-size: 0.66rem;
  line-height: 1.25;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-national-card-badge {
  padding: 3px 6px;
  color: #78350f;
  font-size: 0.52rem;
  background: rgba(253, 230, 138, 0.88);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-sidebar-provinces-scroll {
  flex: 1 1 0;
  min-height: 0;
  padding: 1px 3px 1px 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(14, 165, 233, 0.44) rgba(224, 242, 254, 0.52);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-province-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-province-grid .institution-chat-room-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 38px;
  padding: 7px 8px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--room-accent) 42%, rgba(148, 163, 184, 0.24));
  border-radius: 10px;
  color: #1e293b;
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--room-accent-soft) 34%, white 66%), rgba(255, 255, 255, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
  font-size: 0.7rem;
  font-weight: 750;
  line-height: 1.2;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-province-grid .institution-chat-room-card::before {
  content: "\f3c5";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  color: color-mix(in srgb, var(--room-accent) 82%, #0f172a 18%);
  background: color-mix(in srgb, var(--room-accent-soft) 52%, white 48%);
  font-family: "Font Awesome 6 Free";
  font-size: 0.58rem;
  font-weight: 900;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-province-grid .institution-chat-room-card:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--room-accent) 76%, #0f172a 24%);
  background: linear-gradient(150deg, color-mix(in srgb, var(--room-accent-soft) 52%, white 48%), white);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.07);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-province-grid .institution-chat-room-card.is-selected {
  border-color: #0284c7;
  color: #0c4a6e;
  background:
    radial-gradient(100% 170% at 0% 0%, rgba(165, 243, 252, 0.76), transparent 62%),
    linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(224, 242, 254, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(14, 165, 233, 0.18),
    0 5px 15px rgba(2, 132, 199, 0.13);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-shell {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  min-width: 0;
  min-height: 0;
  max-width: none;
  height: auto;
  padding: 0;
  overflow: hidden;
  filter: none;
  scroll-margin-top: 80px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-phone-side-controls,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-phone-topbar,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-phone-chin {
  display: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-national-room,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-province-room {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 0;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.44);
  border-radius: var(--chat-workspace-panel-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 12px 30px rgba(15, 23, 42, 0.09);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame::before,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame::after {
  content: none;
  display: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-phone-screen,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-national-room .institution-chat-phone-screen,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-province-room .institution-chat-phone-screen {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: auto;
  overflow: hidden;
  border: 0;
  outline: 0;
  border-radius: calc(var(--chat-workspace-panel-radius) - 1px);
  background:
    radial-gradient(75% 58% at 100% 0%, rgba(221, 214, 254, 0.3), transparent 64%),
    radial-gradient(65% 50% at 0% 0%, rgba(207, 250, 254, 0.38), transparent 62%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(240, 249, 255, 0.94));
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-phone-screen::before {
  content: none;
  display: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-phone-room-header {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 82px;
  margin: 0;
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 0;
  background:
    radial-gradient(80% 130% at 0% 0%, rgba(207, 250, 254, 0.58), transparent 64%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.93));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame.is-national-room .institution-chat-phone-room-header {
  border-bottom-color: rgba(217, 119, 6, 0.26);
  background:
    radial-gradient(90% 140% at 0% 0%, rgba(253, 230, 138, 0.5), transparent 62%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 235, 0.94));
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-room-title-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  text-align: left;
  background: none;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-type-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin: 0 0 5px;
  padding: 3px 8px;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-title {
  display: block;
  margin: 0 0 3px;
  overflow: visible;
  color: var(--chat-workspace-ink);
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.02em;
  -webkit-line-clamp: unset;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-subtitle {
  display: block;
  margin: 0;
  color: var(--chat-workspace-muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-state.institution-chat-state-card {
  flex: 0 0 auto;
  margin: 8px 14px 0;
  padding: 7px 10px;
  border-style: solid;
  border-radius: 10px;
  font-size: 0.72rem;
  text-align: left;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-room-thread {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: none;
  margin: 0;
  padding: 16px 18px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(70% 46% at 100% 0%, rgba(221, 214, 254, 0.28), transparent 62%),
    radial-gradient(68% 42% at 0% 100%, rgba(204, 251, 241, 0.28), transparent 64%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.62), rgba(240, 249, 255, 0.5));
  box-shadow: none;
  scrollbar-color: rgba(14, 165, 233, 0.42) rgba(224, 242, 254, 0.4);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-messages.institution-chat-bubble-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-height: 32px;
  margin: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-row {
  width: 100%;
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-row.is-other .institution-chat-bubble {
  width: auto;
  min-width: 0;
  max-width: min(76%, 720px);
  padding: 11px 13px 10px;
  border-radius: 14px;
  color: var(--chat-workspace-ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 7px 18px rgba(15, 23, 42, 0.07);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-row.is-own .institution-chat-bubble,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .is-national-room .institution-chat-bubble-row.is-own .institution-chat-bubble,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .is-province-room .institution-chat-bubble-row.is-own .institution-chat-bubble {
  border: 1px solid rgba(13, 148, 136, 0.34);
  background:
    radial-gradient(100% 160% at 100% 0%, rgba(165, 243, 252, 0.55), transparent 62%),
    linear-gradient(145deg, rgba(236, 254, 255, 0.98), rgba(209, 250, 229, 0.8));
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-row.is-other .institution-chat-bubble,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .is-national-room .institution-chat-bubble-row.is-other .institution-chat-bubble,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .is-province-room .institution-chat-bubble-row.is-other .institution-chat-bubble {
  border: 1px solid rgba(129, 140, 248, 0.26);
  background:
    radial-gradient(100% 160% at 0% 0%, rgba(221, 214, 254, 0.48), transparent 62%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.94));
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-meta {
  gap: 12px;
  margin-bottom: 5px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-sender {
  filter: saturate(0.86) brightness(0.66);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.25;
  text-shadow: none !important;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-time {
  color: var(--chat-workspace-muted);
  font-size: 0.65rem;
  font-weight: 600;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-tenant,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-tenant-name {
  color: #334155;
  font-size: 0.7rem;
  font-weight: 750;
  line-height: 1.3;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-tenant-logo {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-text {
  margin: 7px 0 0;
  color: #1e293b;
  font-size: 0.86rem;
  line-height: 1.5;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reply-quote {
  margin: 2px 0 7px;
  padding: 7px 9px 7px 10px;
  border-radius: 9px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reply-quote-meta {
  font-size: 0.65rem;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reply-quote-text {
  font-size: 0.7rem;
  line-height: 1.35;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--chat-action-gap);
  margin-top: calc(8px * var(--chat-ui-scale));
  min-width: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-action {
  min-height: var(--chat-action-min-h);
  padding: var(--chat-action-pad-y) var(--chat-action-pad-x);
  border: 1px solid rgba(125, 211, 252, 0.36);
  border-radius: var(--chat-action-radius);
  color: #0c4a6e;
  background: rgba(255, 255, 255, 0.64);
  font-size: var(--chat-action-font);
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-action:hover:not(:disabled),
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-action:focus-visible {
  border-color: rgba(14, 165, 233, 0.58);
  background: rgba(224, 242, 254, 0.9);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-action:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.5);
  outline-offset: 1px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reaction {
  min-height: var(--chat-reaction-min-h);
  padding: var(--chat-reaction-pad-y) var(--chat-reaction-pad-x);
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: var(--chat-action-radius);
  color: #334155;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 250, 252, 0.72));
  font-size: var(--chat-reaction-font);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reaction.is-like.is-active {
  border-color: rgba(8, 145, 178, 0.48);
  color: #0e7490;
  background:
    linear-gradient(180deg, rgba(207, 250, 254, 0.94), rgba(165, 243, 252, 0.72));
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reaction.is-dislike.is-active {
  border-color: rgba(244, 114, 182, 0.42);
  color: #9d174d;
  background:
    linear-gradient(180deg, rgba(255, 241, 242, 0.96), rgba(254, 226, 226, 0.78));
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reaction.is-busy,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reaction:disabled {
  opacity: 0.72;
  cursor: wait;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-reaction-count {
  font-variant-numeric: tabular-nums;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 11px 12px;
  overflow: visible;
  border: 0;
  border-top: 1px solid rgba(125, 211, 252, 0.36);
  border-radius: 0;
  background:
    radial-gradient(80% 160% at 0% 0%, rgba(207, 250, 254, 0.54), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-reply-preview {
  grid-column: 1 / -1;
  margin: 0;
  padding: 8px 10px 8px 12px;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-input {
  min-width: 0;
  min-height: 52px;
  max-height: 120px;
  margin: 0;
  padding: 12px 13px;
  resize: vertical;
  border: 1px solid rgba(125, 211, 252, 0.5);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--chat-workspace-ink);
  font-size: 0.88rem;
  line-height: 1.4;
  box-shadow:
    inset 0 1px 2px rgba(15, 23, 42, 0.03),
    0 3px 10px rgba(14, 116, 144, 0.05);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-compose-toolbar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 5px;
  width: auto;
  min-width: 0;
  margin: 0;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-compose-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: nowrap;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-emoji-toggle {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(129, 140, 248, 0.36);
  border-radius: 12px;
  color: #4f46e5;
  background: linear-gradient(145deg, rgba(238, 242, 255, 0.98), rgba(224, 242, 254, 0.9));
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-send {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(13, 148, 136, 0.42);
  border-radius: 12px;
  color: #043f3a;
  background: linear-gradient(145deg, rgba(153, 246, 228, 0.96), rgba(94, 234, 212, 0.88));
  font-size: 0.82rem;
  font-weight: 850;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 6px 14px rgba(13, 148, 136, 0.14);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-send-state {
  max-width: 150px;
  font-size: 0.66rem;
  text-align: right;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  padding: 13px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(167, 139, 250, 0.27);
  border-radius: var(--chat-workspace-panel-radius);
  color: var(--chat-workspace-ink);
  background:
    radial-gradient(100% 72% at 100% 0%, rgba(221, 214, 254, 0.58), transparent 64%),
    radial-gradient(90% 70% at 0% 100%, rgba(207, 250, 254, 0.55), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 252, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 26px rgba(79, 70, 229, 0.07);
  scrollbar-width: thin;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-card,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-quote,
html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-guidance {
  margin: 0;
  padding: 13px;
  border: 1px solid var(--chat-workspace-line-soft);
  border-radius: var(--chat-workspace-card-radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-heading {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #1e293b;
  font-size: 0.76rem;
  font-weight: 850;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(56, 189, 248, 0.36);
  border-radius: 10px;
  color: #0284c7;
  background: rgba(224, 242, 254, 0.86);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-type {
  padding: 3px 6px;
  border-radius: 999px;
  font-size: 0.5rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-type.is-national {
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: #78350f;
  background: rgba(253, 230, 138, 0.82);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-type.is-province {
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #3730a3;
  background: rgba(224, 231, 255, 0.86);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-title {
  margin: 0 0 7px;
  color: var(--chat-workspace-ink);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-description {
  margin: 0;
  color: var(--chat-workspace-muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.5;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-quote {
  position: relative;
  overflow: hidden;
  border-color: rgba(125, 211, 252, 0.32);
  background:
    radial-gradient(100% 140% at 100% 100%, rgba(186, 230, 253, 0.52), transparent 66%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 242, 255, 0.8));
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-quote > i {
  color: rgba(14, 165, 233, 0.36);
  font-size: 1.4rem;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-quote p {
  margin: 7px 0 8px;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.5;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-quote cite {
  color: var(--chat-workspace-muted);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 700;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-guidance {
  margin-top: auto;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-guidance h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 850;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-guidance h4 i {
  color: #d97706;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-guidance ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-guidance li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 7px;
  color: #475569;
  font-size: 0.67rem;
  font-weight: 600;
  line-height: 1.4;
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context-guidance li i {
  color: var(--chat-workspace-cyan);
  line-height: 1.4;
}

@media (max-width: 1600px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat {
    --chat-ui-scale: 0.97;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-split-layout {
    grid-template-columns: minmax(245px, 270px) minmax(420px, 1fr) minmax(225px, 250px);
    gap: 15px;
  }
}

@media (max-width: 1440px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat {
    --chat-ui-scale: 0.94;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-split-layout {
    grid-template-columns: minmax(230px, 250px) minmax(410px, 1fr) minmax(210px, 230px);
    gap: 14px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context {
    padding: 11px;
  }
}

@media (max-width: 1280px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat {
    --chat-ui-scale: 0.92;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-split-layout {
    grid-template-columns: minmax(230px, 250px) minmax(0, 1fr);
    gap: 14px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context {
    display: none;
  }
}

@media (max-width: 1100px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat {
    --chat-ui-scale: 0.9;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-split-layout {
    grid-template-columns: minmax(215px, 230px) minmax(0, 1fr);
    gap: 12px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-hero-principle {
    display: none;
  }
}

@media (max-width: 1024px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat {
    --chat-ui-scale: 0.88;
  }
}

@media (max-width: 900px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat {
    --chat-ui-scale: 0.86;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-panel,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-panel:hover {
    flex: 1 1 0;
    gap: 8px;
    height: min(820px, 86dvh);
    min-height: min(660px, 86dvh);
    padding: 8px !important;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    border-radius: 18px;
    background:
      radial-gradient(90% 100% at 0% 0%, rgba(207, 250, 254, 0.65), transparent 64%),
      linear-gradient(155deg, rgba(255, 255, 255, 0.99), rgba(240, 249, 255, 0.96)) !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-hero {
    min-height: 66px;
    padding: 8px 11px;
    border-radius: 14px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-title {
    margin: 0 0 2px !important;
    font-size: 0.98rem !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-title i {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.8rem;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-description {
    max-height: none;
    margin: 0 !important;
    font-size: 0.7rem;
    line-height: 1.3;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-split-layout {
    display: flex !important;
    flex: 1 1 0;
    flex-direction: column;
    gap: 8px;
    min-height: 0 !important;
    height: auto !important;
    margin: 0;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-sidebar {
    flex: 0 0 184px;
    max-height: 184px !important;
    padding: 9px;
    border-radius: 15px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-sidebar-header {
    padding: 0 0 6px 36px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-sidebar-header::before {
    width: 28px;
    height: 28px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-province-list-desc {
    display: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-national-card {
    padding: 7px 9px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-shell {
    flex: 1 1 0;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-phone-frame {
    flex: 1 1 0;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 15px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-phone-screen {
    min-height: 0 !important;
    height: auto !important;
    border-radius: 14px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-phone-room-header {
    min-height: 58px;
    padding: 8px 11px !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-title {
    overflow: hidden;
    font-size: 0.88rem !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-subtitle {
    display: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-room-thread {
    flex: 1 1 0;
    min-height: 0 !important;
    padding: 10px;
    overflow-y: auto;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-compose {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
    padding: 7px !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-input {
    min-height: 44px !important;
    height: 44px !important;
    max-height: 88px !important;
    padding: 10px 11px;
    font-size: 16px !important;
    resize: vertical;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-compose-toolbar {
    width: auto;
    margin: 0 !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-emoji-toggle,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-send {
    min-height: 42px;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-context {
    display: none;
  }
}

@media (max-width: 768px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat {
    --chat-ui-scale: 0.84;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-sidebar {
    flex-basis: 168px;
    max-height: 168px !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-bubble-row.is-other .institution-chat-bubble {
    width: auto;
    min-width: 0;
    max-width: 88%;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-message-action {
    min-height: max(var(--chat-action-min-h), 34px);
    padding: max(var(--chat-action-pad-y), 6px) max(var(--chat-action-pad-x), 8px);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-emoji-toggle {
    flex-basis: 44px;
    width: 44px;
    height: 44px !important;
    min-height: 44px !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-send {
    height: 44px !important;
    min-height: 44px !important;
  }
}

@media (max-width: 520px) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-title {
    align-items: flex-start;
    font-size: 0.88rem !important;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-description {
    display: none;
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-province-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-room-compose {
    grid-template-columns: minmax(0, 1fr);
  }

  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-compose-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat #institution-chat-national-card:hover,
  html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace:has(.tp-nav-btn[data-tp-section="institution-chat"].active) #tp-section-institution-chat .institution-chat-room-card:hover {
    transform: none;
  }
}

/* Özet — code-generated Matrix volume + glass feed. PNG is fallback only.
   display:flex MUST stay on .active only — otherwise overview leaks into every workspace module
   (beats `.tenant-panel-section { display:none }` by ID specificity). */
html[data-sa-theme="liquid-light"] #tp-section-overview.active {
  display: flex;
  flex-direction: column;
  min-height: var(--sa-overview-fill-h, 50dvh);
  padding: clamp(16px, 2vw, 26px);
  border: 1px solid rgba(74, 222, 128, 0.22);
  border-radius: 22px;
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: #000503;
  box-shadow:
    inset 0 1px 0 rgba(167, 243, 208, 0.08),
    0 18px 50px rgba(2, 8, 7, 0.24);
}

html[data-sa-theme="liquid-light"] #box-tenant-panel.is-tp-module-workspace > #tp-section-overview.active {
  min-height: var(--sa-overview-fill-h, 50dvh);
  overflow: hidden;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-matrix {
  opacity: 1;
  background: transparent;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-matrix-base {
  background: #000503;
}

html[data-sa-theme="liquid-light"] #tp-section-overview.is-matrix-fallback .tp-overview-matrix-base {
  background:
    #000503
    url("../images/overview/overview-matrix-web.png")
    center center / cover no-repeat;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-matrix-veil {
  background:
    linear-gradient(180deg, rgba(0, 5, 3, 0.12) 0%, rgba(0, 8, 5, 0.03) 44%, rgba(0, 5, 3, 0.2) 100%);
}

html[data-sa-theme="liquid-light"] #tp-section-overview > .tp-overview-activity {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  align-self: stretch;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-intro {
  display: none !important;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-kpi-grid.dashboard-cards {
  display: none !important;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity {
  margin: 20px 0 0;
  padding: clamp(14px, 1.8vw, 20px);
  border: 1px solid rgba(0, 255, 120, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(
      90deg,
      rgba(0, 20, 13, 0.64) 0%,
      rgba(0, 18, 12, 0.42) 46%,
      rgba(0, 14, 9, 0.16) 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(209, 250, 229, 0.06),
    0 18px 44px rgba(0, 0, 0, 0.22),
    0 0 30px rgba(16, 185, 129, 0.04);
  backdrop-filter: blur(6px) saturate(110%);
  -webkit-backdrop-filter: blur(6px) saturate(110%);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-head {
  align-items: flex-start;
  margin-bottom: 14px;
  flex-shrink: 0;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-head-copy {
  min-width: 210px;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-heading {
  color: #f0fdff;
  font-size: 1.14rem;
  font-weight: 820;
  letter-spacing: 0.01em;
  text-shadow:
    0 0 18px rgba(167, 139, 250, 0.28),
    0 0 22px rgba(45, 212, 191, 0.18);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-subtitle {
  margin: 6px 0 0;
  max-width: 42rem;
  color: rgba(196, 181, 253, 0.92);
  font-size: 0.9rem;
  font-weight: 560;
  line-height: 1.48;
  letter-spacing: 0.012em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-head-actions {
  justify-content: flex-end;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-filter,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-delete-selected {
  min-height: 30px;
  border-color: rgba(100, 116, 139, 0.34);
  background: rgba(4, 18, 15, 0.55);
  color: rgba(203, 213, 225, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-filter:hover {
  border-color: rgba(74, 222, 128, 0.42);
  color: #ecfdf5;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-filter.is-active {
  border-color: rgba(45, 212, 191, 0.82);
  background: rgba(6, 78, 59, 0.42);
  color: #d1fae5;
  box-shadow:
    inset 0 0 12px rgba(45, 212, 191, 0.08),
    0 0 14px rgba(45, 212, 191, 0.14);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-range-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-range-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  width: min(272px, calc(100vw - 32px));
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.34);
  background:
    linear-gradient(
      165deg,
      rgba(12, 18, 36, 0.96) 0%,
      rgba(6, 22, 18, 0.94) 100%
    );
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(221, 214, 254, 0.08),
    0 0 22px rgba(124, 58, 237, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-range-pop[hidden] {
  display: none !important;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-range-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-range-field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(196, 181, 253, 0.92);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-range-field input[type="date"] {
  width: 100%;
  box-sizing: border-box;
  min-height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 12, 10, 0.72);
  color: #f8fafc;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color-scheme: dark;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-range-error {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 650;
  color: #fda4af;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-range-error[hidden] {
  display: none !important;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-range-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-range-actions button {
  min-height: 30px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.74rem;
  font-weight: 720;
  cursor: pointer;
  border: 1px solid rgba(100, 116, 139, 0.4);
  background: rgba(4, 18, 15, 0.55);
  color: rgba(226, 232, 240, 0.92);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-range-actions button:disabled {
  opacity: 0.45;
  cursor: default;
}

html[data-sa-theme="liquid-light"] #tp-section-overview #tp-overview-activity-range-apply {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(91, 33, 182, 0.42);
  color: #ede9fe;
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.18);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-delete-selected {
  border-color: rgba(248, 113, 113, 0.34);
  color: #fda4af;
  background: rgba(69, 10, 10, 0.4);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-sa-tools[hidden] {
  display: none !important;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: calc((10 * 42px) + (9 * 6px));
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 120, 0.28) rgba(0, 8, 5, 0.18);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-list::-webkit-scrollbar {
  width: 6px;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-list::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 120, 0.28);
  border-radius: 99px;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-more {
  display: none !important;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row {
  grid-template-columns: 30px minmax(0, 1fr) auto;
  min-height: 40px;
  min-width: 0;
  padding: 5px 8px;
  border: 1px solid rgba(0, 255, 120, 0.12);
  border-left: 2px solid var(--op-accent, rgba(74, 222, 128, 0.58));
  border-radius: 10px;
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--op-accent, #34d399) 11%, transparent) 0%,
      rgba(0, 18, 12, 0.44) 36%,
      rgba(0, 14, 9, 0.20) 70%,
      rgba(0, 10, 7, 0.06) 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 5px 14px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-sa-manage {
  grid-template-columns: 18px 30px minmax(0, 1fr) auto 30px;
}

/* Interactive purple hover — clickable rows only (not historical). */
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-nav-clickable:hover {
  border-color: rgba(167, 139, 250, 0.5);
  background:
    linear-gradient(
      90deg,
      rgba(120, 70, 240, 0.22) 0%,
      rgba(88, 40, 200, 0.16) 42%,
      rgba(0, 14, 9, 0.22) 78%,
      rgba(0, 10, 7, 0.06) 100%
    );
  box-shadow:
    inset 0 0 0 1px rgba(167, 139, 250, 0.22),
    inset 0 1px 0 rgba(221, 214, 254, 0.08),
    0 0 20px rgba(124, 58, 237, 0.28);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-nav-clickable:hover .tp-overview-activity-line {
  color: #ffffff;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-nav-clickable:focus-visible {
  outline: 2px solid rgba(167, 139, 250, 0.72);
  outline-offset: 1px;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-nav-historical:hover {
  border-color: rgba(0, 255, 120, 0.12);
  border-left-color: var(--op-accent, rgba(74, 222, 128, 0.58));
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--op-accent, #34d399) 11%, transparent) 0%,
      rgba(0, 18, 12, 0.44) 36%,
      rgba(0, 14, 9, 0.20) 70%,
      rgba(0, 10, 7, 0.06) 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 5px 14px rgba(0, 0, 0, 0.14);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-payment,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-payment-fix { --op-accent: #22c55e; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-student-create { --op-accent: #38bdf8; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-student-update { --op-accent: #60a5fa; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-student-delete,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-machine-delete,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-instructor-delete,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-lesson-cancel,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-admin-suspend { --op-accent: #ef4444; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-machine-create,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-machine-update { --op-accent: #14b8a6; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-lesson,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-lesson-update { --op-accent: #22d3ee; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-special-lesson { --op-accent: #34d399; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-admin,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-admin-update { --op-accent: #8b5cf6; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-forum,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-forum-resolve,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-forum-mod { --op-accent: #ec4899; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-message { --op-accent: #6366f1; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-message-bulk { --op-accent: #a855f7; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-notification { --op-accent: #f97316; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-announcement { --op-accent: #fbbf24; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-instructor,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-accent-instructor-update { --op-accent: #94a3b8; }

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-line {
  color: rgba(248, 250, 252, 0.98);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.005em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.78);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor {
  --actor-neon: #67e8f9;
  max-width: 158px;
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.01em;
  color: #ffffff;
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--actor-neon) 22%, rgba(2, 18, 14, 0.82)) 0%,
      rgba(2, 14, 12, 0.78) 100%
    );
  border: 1px solid color-mix(in srgb, var(--actor-neon) 58%, transparent);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--actor-neon) 28%, transparent),
    0 0 0 1px color-mix(in srgb, var(--actor-neon) 18%, transparent),
    0 0 14px color-mix(in srgb, var(--actor-neon) 34%, transparent),
    0 2px 10px rgba(0, 0, 0, 0.38);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor.is-actor-tone-0,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor.is-actor-tone-1,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor.is-actor-tone-2,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor.is-actor-tone-3,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor.is-actor-tone-4,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor.is-actor-tone-5,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor.is-actor-tone-6,
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor.is-actor-tone-7 {
  color: #ffffff;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor.is-actor-tone-0 { --actor-neon: #22d3ee; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor.is-actor-tone-1 { --actor-neon: #34d399; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor.is-actor-tone-2 { --actor-neon: #a78bfa; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor.is-actor-tone-3 { --actor-neon: #f472b6; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor.is-actor-tone-4 { --actor-neon: #fb923c; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor.is-actor-tone-5 { --actor-neon: #60a5fa; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor.is-actor-tone-6 { --actor-neon: #eab308; }
html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor.is-actor-tone-7 { --actor-neon: #2dd4bf; }

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-checkbox {
  accent-color: #34d399;
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-delete {
  color: #fb7185;
  background: rgba(69, 10, 10, 0.52);
  border-color: rgba(248, 113, 113, 0.26);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-empty {
  color: rgba(226, 232, 240, 0.9);
  background: rgba(2, 22, 17, 0.48);
  border-color: rgba(110, 231, 183, 0.24);
}

html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-empty-sub {
  color: rgba(148, 163, 184, 0.9);
}

@media (max-width: 900px) {
  html[data-sa-theme="liquid-light"] #tp-section-overview {
    padding: 14px 10px;
  }

  html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row,
  html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row.is-sa-manage {
    grid-template-columns: 18px 30px minmax(0, 1fr) 30px;
  }

  html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row:not(.is-sa-manage) {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-actor {
    grid-column: 2 / -2;
    justify-self: start;
    max-width: 100%;
    margin-top: 2px;
  }

  html[data-sa-theme="liquid-light"] #tp-section-overview .tp-overview-activity-row:not(.is-sa-manage) .tp-overview-activity-actor {
    grid-column: 2;
  }
}

/* —— Super Admin: Öğrenci / Kullanıcı Yönetimi (dark glass over Matrix) —— */
html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view.users-view {
  color: #e8eef6;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-students-page-header {
  color: #e8eef6;
  background:
    radial-gradient(ellipse 78% 120% at 0% 0%, rgba(0, 140, 100, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(14, 20, 26, 0.9) 0%, rgba(6, 8, 12, 0.86) 100%);
  border: 1px solid rgba(34, 211, 238, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .users-subview-title {
  color: #f8fafc;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-students-page-header__subtitle {
  color: rgba(148, 163, 184, 0.92);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view #btn-sa-student-open-create {
  background: linear-gradient(180deg, #22d3ee 0%, #06b6d4 100%);
  color: #082f49;
  border: 1px solid rgba(8, 145, 178, 0.35);
  font-weight: 650;
  box-shadow: 0 8px 18px rgba(6, 182, 212, 0.22);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view #btn-sa-student-open-create:hover {
  filter: brightness(1.05);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view #admin-users-back-from-students {
  background: rgba(15, 23, 32, 0.85);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.28);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-students-list-card {
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(0, 120, 90, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(14, 18, 24, 0.9) 0%, rgba(6, 8, 12, 0.86) 100%);
  border: 1px solid rgba(34, 211, 238, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.38);
  color: #e8eef6;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-students-list-card > h2 {
  color: #f8fafc;
  text-shadow: none;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-students-list-toolbar__filters label.muted {
  color: rgba(148, 163, 184, 0.9);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-students-list-toolbar__filters select,
html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-students-search-input {
  background: rgba(6, 10, 14, 0.92);
  color: #f1f5f9;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  min-height: 38px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view #btn-refresh {
  background: rgba(15, 23, 32, 0.85);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.28);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-student-list-panel {
  background: rgba(4, 8, 12, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-student-row {
  background: rgba(12, 16, 22, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-student-row:hover {
  border-color: rgba(34, 211, 238, 0.32);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-student-row.is-selected {
  border-color: rgba(34, 211, 238, 0.48);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.22), 0 10px 24px rgba(0, 0, 0, 0.35);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-student-name {
  color: #f8fafc;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-student-email {
  color: rgba(148, 163, 184, 0.92);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-chip {
  background: rgba(30, 41, 55, 0.85);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-chip.sa-type-market {
  background: rgba(8, 47, 73, 0.72);
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.35);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-chip.sa-type-inst {
  background: rgba(6, 48, 36, 0.72);
  color: #6ee7b7;
  border-color: rgba(52, 211, 153, 0.35);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-chip.sa-type-machine {
  background: rgba(67, 32, 6, 0.72);
  color: #fdba74;
  border-color: rgba(251, 146, 60, 0.4);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-student-list-empty {
  color: rgba(148, 163, 184, 0.9);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view.is-sa-student-create-drawer-open .sa-student-create-drawer-backdrop {
  background: rgba(0, 0, 0, 0.62);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view.is-sa-student-create-drawer-open .sa-student-create-drawer {
  background:
    radial-gradient(ellipse 80% 40% at 0% 0%, rgba(0, 140, 100, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(10, 14, 18, 0.97) 0%, rgba(4, 6, 8, 0.96) 100%);
  border-left: 1px solid rgba(34, 211, 238, 0.22);
  color: #e8eef6;
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.55);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-student-create-drawer-header {
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-student-create-drawer-header h2 {
  color: #f8fafc;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view #btn-sa-student-close-create {
  background: rgba(15, 23, 32, 0.9);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.28);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-student-create-drawer-body .field label {
  color: #cbd5e1;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-student-create-drawer-body .field input,
html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-student-create-drawer-body .field select {
  background: rgba(6, 10, 14, 0.95);
  color: #f1f5f9;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view .sa-student-create-drawer-footer {
  border-top-color: rgba(148, 163, 184, 0.18);
  background: rgba(4, 8, 12, 0.92);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view #btn-sa-student-submit-create {
  background: linear-gradient(180deg, #22d3ee 0%, #06b6d4 100%);
  color: #082f49;
  border: 1px solid rgba(8, 145, 178, 0.35);
  font-weight: 650;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view #btn-sa-student-submit-create:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-users-students-view #sa-student-create-msg.muted {
  color: rgba(148, 163, 184, 0.92);
}



/* =============================================================================
   Super Admin — true-black coherent surfaces (all 13 pages + manage + dialogs)
   Strictly scoped to #box-panel / #box-super-tenant-manage / SA-owned overlays.
   Does NOT restyle #box-tenant-panel / #tp-section-*.
   ============================================================================= */

/* Tables / data grids */
html[data-sa-theme="liquid-light"] #box-panel table,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage table {
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.16);
}

html[data-sa-theme="liquid-light"] #box-panel thead th,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage thead th {
  background: rgba(8, 14, 20, 0.92);
  color: #cbd5e1;
  border-bottom: 1px solid rgba(34, 211, 238, 0.16);
}

html[data-sa-theme="liquid-light"] #box-panel tbody td,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage tbody td {
  background: rgba(6, 10, 14, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  color: #e2e8f0;
}

html[data-sa-theme="liquid-light"] #box-panel tbody tr:hover td,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage tbody tr:hover td {
  background: rgba(12, 22, 28, 0.88);
}

html[data-sa-theme="liquid-light"] #box-panel tbody tr:nth-child(even) td,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage tbody tr:nth-child(even) td {
  background: rgba(8, 12, 16, 0.78);
}

/* Chips / badges / pills inside SA */
html[data-sa-theme="liquid-light"] #box-panel .chip,
html[data-sa-theme="liquid-light"] #box-panel .badge,
html[data-sa-theme="liquid-light"] #box-panel .pill,
html[data-sa-theme="liquid-light"] #box-panel .status-chip,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage .chip,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage .badge,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage .pill {
  background: rgba(30, 41, 55, 0.82);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

/* details / summary */
html[data-sa-theme="liquid-light"] #box-panel details,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage details {
  background: rgba(8, 12, 16, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  color: #e2e8f0;
}

html[data-sa-theme="liquid-light"] #box-panel details > summary,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage details > summary {
  color: #f1f5f9;
  cursor: pointer;
  padding: 10px 12px;
}

html[data-sa-theme="liquid-light"] #box-panel details[open],
html[data-sa-theme="liquid-light"] #box-super-tenant-manage details[open] {
  border-color: rgba(34, 211, 238, 0.22);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.06);
}

/* Scrollbars (SA only) */
html[data-sa-theme="liquid-light"] #box-panel *,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage * {
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 211, 238, 0.35) rgba(8, 12, 16, 0.6);
}

html[data-sa-theme="liquid-light"] #box-panel *::-webkit-scrollbar,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage *::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

html[data-sa-theme="liquid-light"] #box-panel *::-webkit-scrollbar-track,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage *::-webkit-scrollbar-track {
  background: rgba(8, 12, 16, 0.6);
}

html[data-sa-theme="liquid-light"] #box-panel *::-webkit-scrollbar-thumb,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage *::-webkit-scrollbar-thumb {
  background: rgba(34, 211, 238, 0.32);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* Users landing action cards */
html[data-sa-theme="liquid-light"] #box-panel #admin-users-landing-view .card,
html[data-sa-theme="liquid-light"] #box-panel #admin-users-landing-view [data-users-nav],
html[data-sa-theme="liquid-light"] #box-panel #admin-users-landing-view .users-landing-card {
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(0, 120, 90, 0.12), transparent 55%),
    linear-gradient(165deg, rgba(14, 20, 26, 0.9) 0%, rgba(6, 8, 12, 0.86) 100%);
  border: 1px solid rgba(34, 211, 238, 0.16);
  color: #e8eef6;
}

/* Institutions / tenants view */
html[data-sa-theme="liquid-light"] #box-panel #admin-users-tenants-view .card,
html[data-sa-theme="liquid-light"] #box-panel #admin-users-tenants-view .users-subview-header {
  background:
    linear-gradient(180deg, rgba(14, 18, 24, 0.9) 0%, rgba(6, 8, 12, 0.86) 100%);
  border: 1px solid rgba(34, 211, 238, 0.14);
  color: #e8eef6;
}

/* Content & exams + exam builder */
html[data-sa-theme="liquid-light"] #box-panel #admin-page-content .card,
html[data-sa-theme="liquid-light"] #box-panel #exam-builder-shell {
  background:
    linear-gradient(180deg, rgba(14, 18, 24, 0.92) 0%, rgba(6, 8, 12, 0.88) 100%);
  border: 1px solid rgba(34, 211, 238, 0.14);
  color: #e8eef6;
}

/* Web pages editor */
html[data-sa-theme="liquid-light"] #box-panel #admin-page-web-pages .card,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-web-pages details {
  background: rgba(10, 14, 18, 0.9);
  border-color: rgba(34, 211, 238, 0.14);
  color: #e8eef6;
}

/* System announcements */
html[data-sa-theme="liquid-light"] #box-panel #admin-page-system-announcements .card,
html[data-sa-theme="liquid-light"] #box-panel #sa-sys-ann-tbody {
  color: #e8eef6;
}

/* Mevzuat */
html[data-sa-theme="liquid-light"] #box-panel #admin-page-mevzuat .card,
html[data-sa-theme="liquid-light"] #box-panel #mevzuat-super-list {
  background: rgba(10, 14, 18, 0.88);
  border: 1px solid rgba(34, 211, 238, 0.12);
  color: #e8eef6;
}

/* Messages */
html[data-sa-theme="liquid-light"] #box-panel #admin-page-messages .card,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-messages .messages-pane,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-messages .message-list,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-messages .message-detail {
  background: rgba(8, 12, 16, 0.86);
  border-color: rgba(34, 211, 238, 0.12);
  color: #e8eef6;
}

/* Notifications */
html[data-sa-theme="liquid-light"] #box-panel #admin-page-notifications .card,
html[data-sa-theme="liquid-light"] #box-panel #notif-tbody {
  color: #e8eef6;
}

/* Institution group chat — Super Admin dark glass panel workspace (no phone chrome; matrix-visible) */
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat > .card.institution-chat-panel,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-panel {
  color: #e2e8f0;
  padding: clamp(12px, 1.8vw, 20px);
  border-radius: clamp(18px, 2.2vw, 26px);
  border: 1px solid rgba(34, 211, 238, 0.22);
  background-color: rgba(3, 9, 12, 0.55);
  background-image:
    radial-gradient(ellipse 92% 72% at 0% 0%, rgba(8, 47, 54, 0.32), transparent 62%),
    radial-gradient(ellipse 70% 54% at 100% 0%, rgba(15, 23, 42, 0.28), transparent 58%),
    linear-gradient(178deg, rgba(5, 12, 16, 0.58) 0%, rgba(2, 6, 8, 0.48) 100%);
  box-shadow:
    inset 0 1px 0 rgba(103, 232, 249, 0.07),
    0 8px 22px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-title {
  color: #f1f5f9;
  font-weight: 800;
  letter-spacing: -0.02em;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-title i {
  color: #67e8f9;
  border: 1px solid rgba(34, 211, 238, 0.38);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(34, 211, 238, 0.18), transparent 68%),
    rgba(7, 16, 20, 0.72);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-description {
  color: #94a3b8;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-split-layout {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.35fr);
  gap: 16px;
  min-height: min(78vh, 860px);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-sidebar {
  color: #e2e8f0;
  padding: clamp(12px, 1.6vw, 16px);
  border-radius: clamp(14px, 1.8vw, 18px);
  border: 1px solid rgba(34, 211, 238, 0.22);
  background-color: rgba(5, 12, 16, 0.52);
  background-image:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(8, 47, 54, 0.34), transparent 64%),
    linear-gradient(180deg, rgba(7, 16, 20, 0.58) 0%, rgba(3, 9, 12, 0.5) 100%);
  box-shadow:
    inset 0 1px 0 rgba(103, 232, 249, 0.06),
    0 8px 20px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-province-list-title {
  color: #f1f5f9;
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-province-list-desc {
  color: #94a3b8;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-national-card {
  border: 1px solid rgba(217, 168, 70, 0.4);
  background-color: rgba(12, 10, 6, 0.62);
  background-image:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(180, 120, 40, 0.18), transparent 62%),
    linear-gradient(145deg, rgba(18, 14, 8, 0.7), rgba(9, 12, 14, 0.58));
  color: #f1f5f9;
  box-shadow:
    inset 0 1px 0 rgba(253, 230, 138, 0.07),
    0 6px 16px rgba(0, 0, 0, 0.28);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-national-card:hover {
  border-color: rgba(234, 179, 8, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(253, 230, 138, 0.1),
    0 8px 18px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(217, 168, 70, 0.12);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-national-card.is-selected {
  border-color: rgba(234, 179, 8, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(253, 230, 138, 0.12),
    0 0 0 1px rgba(217, 168, 70, 0.2),
    0 8px 20px rgba(0, 0, 0, 0.34);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-national-card-title {
  color: #f1f5f9;
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-national-card-subtitle {
  color: #cbd5e1;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-national-card-badge {
  color: #fef3c7;
  border-color: rgba(217, 168, 70, 0.45);
  background: rgba(120, 80, 20, 0.35);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-province-grid .institution-chat-room-card {
  color: #e2e8f0;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background:
    linear-gradient(180deg, rgba(7, 16, 20, 0.62) 0%, rgba(3, 9, 12, 0.55) 100%);
  box-shadow: inset 0 1px 0 rgba(103, 232, 249, 0.05);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-province-grid .institution-chat-room-card:hover {
  border-color: rgba(34, 211, 238, 0.42);
  background:
    linear-gradient(180deg, rgba(10, 24, 30, 0.72) 0%, rgba(5, 14, 18, 0.62) 100%);
  box-shadow:
    inset 0 1px 0 rgba(103, 232, 249, 0.1),
    0 0 14px rgba(34, 211, 238, 0.08);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-province-grid .institution-chat-room-card.is-selected {
  border-color: rgba(34, 211, 238, 0.62);
  background:
    linear-gradient(180deg, rgba(8, 32, 38, 0.78) 0%, rgba(4, 14, 18, 0.68) 100%);
  box-shadow:
    inset 0 1px 0 rgba(103, 232, 249, 0.12),
    0 0 0 1px rgba(34, 211, 238, 0.16),
    0 0 16px rgba(34, 211, 238, 0.1);
}

/* Retire phone simulator chrome → flat chat panel (IDs kept for JS) */
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-phone-shell,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .sa-chat-panel-shell {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  min-width: 0;
  min-height: min(78vh, 860px);
  padding: 0;
  filter: none;
  scroll-margin-top: 72px;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-phone-side-controls,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-phone-topbar,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-phone-chin,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-phone-speaker,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-phone-notch,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-phone-status-bar,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-phone-home-indicator {
  display: none !important;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-phone-frame,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .sa-chat-panel-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: min(78vh, 860px);
  margin: 0;
  border-radius: 18px;
  padding: 0;
  border: 1px solid rgba(34, 211, 238, 0.26);
  background:
    linear-gradient(180deg, rgba(5, 12, 16, 0.58) 0%, rgba(2, 8, 12, 0.52) 100%);
  box-shadow:
    inset 0 1px 0 rgba(103, 232, 249, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  box-sizing: border-box;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-phone-frame::before,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-phone-frame::after {
  content: none !important;
  display: none !important;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-phone-frame.is-national-room,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-phone-frame.is-province-room {
  box-shadow:
    inset 0 1px 0 rgba(103, 232, 249, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(34, 211, 238, 0.1);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-phone-screen,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .sa-chat-panel-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  border: none;
  outline: none;
  background: transparent;
  box-shadow: none;
  z-index: 2;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-phone-screen::before {
  content: none !important;
  display: none !important;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-phone-room-header,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-room-header {
  flex-shrink: 0;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.16);
  background: rgba(3, 10, 14, 0.45);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-phone-frame.is-national-room .institution-chat-phone-room-header,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-phone-frame.is-province-room .institution-chat-phone-room-header {
  background: rgba(3, 10, 14, 0.45);
  border-bottom-color: rgba(34, 211, 238, 0.16);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-room-title {
  color: #f1f5f9;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-room-subtitle {
  color: #94a3b8;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-room-thread {
  flex: 1;
  min-height: 0;
  background: rgba(2, 6, 8, 0.28);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-phone-frame.is-national-room .institution-chat-room-thread,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-phone-frame.is-province-room .institution-chat-room-thread {
  background: rgba(2, 6, 8, 0.28);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-room-compose,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-room-compose {
  flex-shrink: 0;
  border-top: 1px solid rgba(34, 211, 238, 0.14);
  background: rgba(3, 10, 14, 0.5);
  padding: 12px 14px 14px;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-phone-frame.is-national-room .institution-chat-room-compose,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-phone-frame.is-province-room .institution-chat-room-compose {
  background: rgba(3, 10, 14, 0.5);
  border-top-color: rgba(34, 211, 238, 0.14);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-room-input,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-room-input {
  color: #e2e8f0;
  border-color: rgba(34, 211, 238, 0.22);
  background: rgba(2, 8, 12, 0.55);
}

@media (max-width: 980px) {
  html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-split-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-phone-shell,
  html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-phone-frame {
    min-height: min(70vh, 760px);
    height: min(70vh, 760px);
  }
}

@media (max-width: 520px) {
  html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat #admin-institution-chat-phone-frame {
    max-width: 100%;
    border-radius: 16px;
    padding: 0;
    height: min(72vh, 720px);
  }
  html[data-sa-theme="liquid-light"] #box-panel #admin-page-institution-chat .institution-chat-phone-screen {
    border-radius: 16px;
  }
}

/* Forum + moderation */
html[data-sa-theme="liquid-light"] #box-panel #admin-page-forum .card,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-forum-moderation .card {
  background: rgba(10, 14, 18, 0.9);
  border: 1px solid rgba(34, 211, 238, 0.14);
  color: #e8eef6;
}

/* Contact requests */
html[data-sa-theme="liquid-light"] #box-panel #admin-page-contact-requests .card,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-contact-requests .contact-request-card {
  background: rgba(10, 14, 18, 0.9);
  border: 1px solid rgba(34, 211, 238, 0.14);
  color: #e8eef6;
}

/* Individual premium */
html[data-sa-theme="liquid-light"] #box-panel #admin-page-individual-premium .card,
html[data-sa-theme="liquid-light"] #box-panel #ip-detail-overlay,
html[data-sa-theme="liquid-light"] #box-panel #ip-detail-overlay .ip-overlay-panel,
html[data-sa-theme="liquid-light"] #box-panel #ip-detail-overlay .card {
  background: rgba(8, 12, 16, 0.94);
  border: 1px solid rgba(34, 211, 238, 0.16);
  color: #e8eef6;
}

/* Kurum Yönetimi shell */
html[data-sa-theme="liquid-light"] #box-super-tenant-manage {
  position: relative;
  z-index: 1;
  color: #e8eef6;
  background: transparent;
}

html[data-sa-theme="liquid-light"] #box-super-tenant-manage .card,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage .tenant-panel-header,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage .tenant-panel-section {
  background:
    linear-gradient(180deg, rgba(14, 18, 24, 0.9) 0%, rgba(6, 8, 12, 0.86) 100%);
  border: 1px solid rgba(34, 211, 238, 0.14);
  color: #e8eef6;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html[data-sa-theme="liquid-light"] #box-super-tenant-manage .tp-nav-btn {
  color: rgba(241, 245, 249, 0.9);
  background: rgba(8, 12, 16, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

html[data-sa-theme="liquid-light"] #box-super-tenant-manage .tp-nav-btn.active {
  color: #ecfeff;
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(0, 55, 42, 0.45);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.1);
}

html[data-sa-theme="liquid-light"] #box-super-tenant-manage .field input,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage .field select,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage .field textarea,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html[data-sa-theme="liquid-light"] #box-super-tenant-manage select,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage textarea {
  background: rgba(6, 10, 14, 0.92);
  color: #f1f5f9;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

html[data-sa-theme="liquid-light"] #box-super-tenant-manage label {
  color: #cbd5e1;
}

html[data-sa-theme="liquid-light"] #box-super-tenant-manage .btn:not(.danger) {
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: linear-gradient(165deg, #0e7490 0%, #155e75 100%);
  color: #ecfeff;
}

html[data-sa-theme="liquid-light"] #box-super-tenant-manage .btn.danger {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(127, 29, 29, 0.55);
  color: #fecaca;
}

/* SA-owned modals / drawers / overlays (not TP section surfaces) */
html[data-sa-theme="liquid-light"] #sa-delete-confirm-modal .sa-delete-confirm-card,
html[data-sa-theme="liquid-light"] #sa-bulk-message-modal .card,
html[data-sa-theme="liquid-light"] #sa-bulk-message-modal .modal-card,
html[data-sa-theme="liquid-light"] #mevzuat-detail-modal .card,
html[data-sa-theme="liquid-light"] #mevzuat-edit-modal .card,
html[data-sa-theme="liquid-light"] #mevzuat-detail-modal .modal-card,
html[data-sa-theme="liquid-light"] #mevzuat-edit-modal .modal-card,
html[data-sa-theme="liquid-light"] #tp-admin-pwreset-confirm-modal .card,
html[data-sa-theme="liquid-light"] #tp-admin-pwreset-result-modal .card,
html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on .tp-modal-overlay .card,
html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on .tp-modal-overlay .modal-card,
html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on .sa-modal .card {
  background:
    linear-gradient(180deg, rgba(14, 18, 24, 0.96) 0%, rgba(6, 8, 12, 0.94) 100%);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: #e8eef6;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

html[data-sa-theme="liquid-light"] #sa-delete-confirm-modal.tp-modal-overlay,
html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on .tp-modal-overlay {
  background: rgba(0, 0, 0, 0.72);
}

html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on .tp-modal-overlay input,
html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on .tp-modal-overlay select,
html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on .tp-modal-overlay textarea,
html[data-sa-theme="liquid-light"] #sa-bulk-message-modal input,
html[data-sa-theme="liquid-light"] #sa-bulk-message-modal select,
html[data-sa-theme="liquid-light"] #sa-bulk-message-modal textarea {
  background: rgba(6, 10, 14, 0.95);
  color: #f1f5f9;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

/* Mobile SA drawer coherence */
html[data-sa-theme="liquid-light"] #box-panel .admin-mobile-topbar {
  background: rgba(6, 10, 14, 0.9);
  border-bottom: 1px solid rgba(34, 211, 238, 0.14);
  color: #f1f5f9;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

html[data-sa-theme="liquid-light"] #box-panel #admin-mobile-drawer.admin-sidebar {
  background: rgba(4, 6, 8, 0.96);
}

/* Focus visibility */
html[data-sa-theme="liquid-light"] #box-panel :focus-visible,
html[data-sa-theme="liquid-light"] #box-super-tenant-manage :focus-visible,
html[data-sa-theme="liquid-light"] body.sa-shell-matrix-on > .container > .topbar :focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.65);
  outline-offset: 2px;
}

/* =============================================================================
   Super Admin — Forum title contrast + proven dark-ink leaks (SA only)
   ============================================================================= */
html[data-sa-theme="liquid-light"] #box-panel #admin-page-forum .tp-forum-title-btn,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-forum .tp-forum-title-btn:visited {
  color: #e0f2fe;
  opacity: 1;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-forum .tp-forum-title-btn:hover,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-forum .tp-forum-title-btn:focus-visible {
  color: #67e8f9;
  text-decoration: none;
}

/* Forum moderation preview text on dark SA table (inherits light; reinforce if strong/a) */
html[data-sa-theme="liquid-light"] #box-panel #admin-page-forum-moderation .forum-mod-preview,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-forum-moderation tbody td {
  color: #e2e8f0;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-forum-moderation .forum-mod-preview a,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-forum-moderation tbody td a {
  color: #e0f2fe;
}

html[data-sa-theme="liquid-light"] #box-panel #admin-page-forum-moderation .forum-mod-preview a:hover,
html[data-sa-theme="liquid-light"] #box-panel #admin-page-forum-moderation tbody td a:hover {
  color: #67e8f9;
}

/* HARD BOUNDARY — never let SA table/card overrides bleed into tenant panel */
html[data-sa-theme="liquid-light"] #box-tenant-panel,
html[data-sa-theme="liquid-light"] #box-tenant-panel [id^="tp-section-"] {
  /* intentional no-op marker: SA global rules above are #box-panel / #box-super-tenant-manage scoped */
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-panel {
  width: min(640px, 100%);
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-banner {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid #f3d19a;
  background: #fff8eb;
  color: #7c4a03;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-banner strong {
  display: block;
  margin-bottom: 0.25rem;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-banner p,
html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-note,
html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-secure {
  margin: 0;
  line-height: 1.45;
  font-size: 0.92rem;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-summary {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(186, 230, 253, 0.9);
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-plan {
  margin: 0;
  color: var(--tp-ab-navy);
  font-size: 1.15rem;
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-price {
  margin: 0.2rem 0 0.45rem;
  color: #0369a1;
  font-size: 1.05rem;
  font-weight: 700;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-note,
html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-secure {
  color: var(--tp-ab-muted);
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-consents {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-consents label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.92);
  color: var(--tp-ab-navy);
  font-size: 0.95rem;
  line-height: 1.4;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-consents input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-fields {
  display: grid;
  gap: 0.85rem;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-field,
html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-expiry label {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  color: var(--tp-ab-navy);
  font-size: 0.86rem;
  font-weight: 700;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-group-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--tp-ab-navy);
  font-size: 0.86rem;
  font-weight: 700;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-field input,
html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-expiry select {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: var(--tp-ab-navy);
  font-size: 1rem;
  font-weight: 500;
  box-sizing: border-box;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-field input:focus,
html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-expiry select:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct #tp-ab-direct-number {
  letter-spacing: 0.08em;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: end;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-expiry-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-cvv input {
  letter-spacing: 0.12em;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-secure {
  margin: 0.85rem 0 1rem;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct #btn-tp-ab-direct-pay {
  width: 100%;
}

html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct #tp-ab-direct-msg {
  white-space: pre-line;
}

@media (max-width: 720px) {
  html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-row,
  html[data-sa-theme="liquid-light"] #tp-ab-overlay-direct .tp-ab-direct-expiry-inputs {
    grid-template-columns: 1fr;
  }
}

html[data-sa-theme="liquid-light"] #tp-ab-modal-renewal-result .tp-ab-renewal-result {
  text-align: center;
}

html[data-sa-theme="liquid-light"] #tp-ab-modal-renewal-result .tp-ab-renewal-result-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  background: #e0f2fe;
  color: #0369a1;
}

html[data-sa-theme="liquid-light"] #tp-ab-modal-renewal-result.is-ok .tp-ab-renewal-result-icon {
  background: #dcfce7;
  color: #15803d;
}

html[data-sa-theme="liquid-light"] #tp-ab-modal-renewal-result.is-fail .tp-ab-renewal-result-icon {
  background: #fee2e2;
  color: #b91c1c;
}

html[data-sa-theme="liquid-light"] #tp-ab-modal-renewal-result h2 {
  margin: 0 0 0.45rem;
  color: var(--tp-ab-navy);
  font-size: 1.15rem;
  font-weight: 800;
}

html[data-sa-theme="liquid-light"] #tp-ab-modal-renewal-result p {
  margin: 0 0 1rem;
  color: var(--tp-ab-muted);
  line-height: 1.45;
}

html[data-sa-theme="liquid-light"] #tp-ab-modal-renewal-result .tp-ab-cta {
  width: 100%;
}

