/* TIM-OE extra palettes + clean global theme. Scope is safe: visual only. */
:root {
  --timoe-clean-bg: #f6fbff;
  --timoe-clean-surface: rgba(255,255,255,.90);
  --timoe-clean-border: rgba(125, 211, 252, .30);
  --timoe-clean-shadow: 0 18px 46px rgba(14, 165, 233, .10);
}

body:has(.theme-clean), body.bg-sky-50,
.theme-clean {
  background:
    radial-gradient(circle at 6% 0%, rgba(125,211,252,.22), transparent 30%),
    radial-gradient(circle at 94% 6%, rgba(110,231,183,.18), transparent 28%),
    linear-gradient(180deg,#f8fcff 0%,#f3fbff 46%,#eef9f6 100%) !important;
}

body:has(.theme-mint), body.bg-emerald-50,
.theme-mint {
  background:
    radial-gradient(circle at 8% 0%, rgba(110,231,183,.22), transparent 30%),
    radial-gradient(circle at 92% 10%, rgba(45,212,191,.16), transparent 28%),
    linear-gradient(180deg,#f7fffb 0%,#f1fbf6 45%,#eefaf8 100%) !important;
}

body:has(.theme-lavender), body.bg-violet-50,
.theme-lavender {
  background:
    radial-gradient(circle at 8% 0%, rgba(196,181,253,.24), transparent 30%),
    radial-gradient(circle at 92% 10%, rgba(125,211,252,.16), transparent 28%),
    linear-gradient(180deg,#fbfaff 0%,#f7f4ff 45%,#f2f8ff 100%) !important;
}

.theme-clean main [class*="border"],
.theme-mint main [class*="border"],
.theme-lavender main [class*="border"] {
  border-color: rgba(148,163,184,.18) !important;
}

.theme-clean main [class*="shadow"],
.theme-mint main [class*="shadow"],
.theme-lavender main [class*="shadow"] {
  box-shadow: 0 16px 42px rgba(15,23,42,.055) !important;
}

.theme-clean input,.theme-clean select,.theme-clean textarea,
.theme-mint input,.theme-mint select,.theme-mint textarea,
.theme-lavender input,.theme-lavender select,.theme-lavender textarea {
  background: rgba(255,255,255,.94) !important;
  border-color: rgba(148,163,184,.24) !important;
}

.theme-clean input:focus,.theme-clean select:focus,.theme-clean textarea:focus { box-shadow: 0 0 0 4px rgba(14,165,233,.13) !important; border-color: rgba(14,165,233,.55) !important; }
.theme-mint input:focus,.theme-mint select:focus,.theme-mint textarea:focus { box-shadow: 0 0 0 4px rgba(16,185,129,.13) !important; border-color: rgba(16,185,129,.55) !important; }
.theme-lavender input:focus,.theme-lavender select:focus,.theme-lavender textarea:focus { box-shadow: 0 0 0 4px rgba(139,92,246,.13) !important; border-color: rgba(139,92,246,.55) !important; }

/* Hide Audit-Log on dashboard even if an old cached script renders it. */
body.timoe-dashboard-page .tim-premium-audit-row,
body.timoe-dashboard-page article:has(.tim-premium-audit-row) {
  display: none !important;
}

/* Dashboard must not show Audit-Log / ops audit controls. */
body.timoe-dashboard-page #timoe-ops-audit-drawer,
body.timoe-dashboard-page #timoe-ops-quality-badge [data-ops-audit] {
  display: none !important;
}
