/* =========================================================
 * VIVILIV 0.6.4.17 — FULL PANEL MASTER READABILITY
 * Finalny, ostatni arkusz Panelu VIVILIV.
 * Cel: jedna czytelna typografia, kontrast i powierzchnie
 * we wszystkich modułach bez zmian w logice biznesowej.
 * ========================================================= */

html body.viviliv-staff-panel-page {
  --vpm-bg: #04130c;
  --vpm-panel: #0a2618;
  --vpm-panel-2: #0d3020;
  --vpm-panel-3: #123a26;
  --vpm-field: #061b10;
  --vpm-text: #fffaf0;
  --vpm-copy: #e3ece5;
  --vpm-muted: #bdcbbf;
  --vpm-subtle: #9fb0a3;
  --vpm-gold: #d8b24a;
  --vpm-gold-light: #f3d77a;
  --vpm-border: rgba(216,178,74,.36);
  --vpm-border-strong: rgba(243,215,122,.68);
  --vpm-danger: #ffb0aa;
  --vpm-success: #a7e1b8;
  --vpm-shadow: 0 18px 46px rgba(0,0,0,.24);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif !important;
  font-size: clamp(16px, .12vw + 14.2px, 18px) !important;
  line-height: 1.55 !important;
  color: var(--vpm-copy) !important;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: auto !important;
  -moz-osx-font-smoothing: auto !important;
}

html body.viviliv-staff-panel-page *,
html body.viviliv-staff-panel-page *::before,
html body.viviliv-staff-panel-page *::after {
  box-sizing: border-box !important;
}

/* ---------- Pełna szerokość ---------- */
html body.viviliv-staff-panel-page #page,
html body.viviliv-staff-panel-page .site.grid-container,
html body.viviliv-staff-panel-page .container.grid-container,
html body.viviliv-staff-panel-page #content,
html body.viviliv-staff-panel-page .site-content,
html body.viviliv-staff-panel-page #primary,
html body.viviliv-staff-panel-page .content-area,
html body.viviliv-staff-panel-page #main,
html body.viviliv-staff-panel-page .site-main,
html body.viviliv-staff-panel-page article,
html body.viviliv-staff-panel-page .inside-article,
html body.viviliv-staff-panel-page .entry-content {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

html body.viviliv-staff-panel-page #content,
html body.viviliv-staff-panel-page .site-content {
  padding: 14px clamp(12px, 1.2vw, 24px) 58px !important;
}

html body.viviliv-staff-panel-page .viviliv-staff-shell {
  position: static !important;
  left: auto !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.viviliv-staff-panel-page .viviliv-portal-header,
html body.viviliv-staff-panel-page .viviliv-portal-layout,
html body.viviliv-staff-panel-page .viviliv-portal-content,
html body.viviliv-staff-panel-page .viviliv-native-module,
html body.viviliv-staff-panel-page .viviliv-owner-wrap,
html body.viviliv-staff-panel-page .viviliv-orders-admin,
html body.viviliv-staff-panel-page .viviliv-reports-admin,
html body.viviliv-staff-panel-page .viviliv-employees,
html body.viviliv-staff-panel-page .viviliv-reviews-panel,
html body.viviliv-staff-panel-page .wrap.viviliv-admin {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

html body.viviliv-staff-panel-page .viviliv-portal-layout {
  grid-template-columns: 76px minmax(0,1fr) !important;
  gap: 18px !important;
}

html body.viviliv-staff-panel-page .viviliv-portal-content {
  min-height: 720px !important;
  padding: clamp(20px, 1.45vw, 30px) !important;
}

/* ---------- Globalna czytelność tekstu ---------- */
html body.viviliv-staff-panel-page :where(
  .viviliv-native-module,
  .viviliv-owner-wrap,
  .viviliv-orders-admin,
  .viviliv-reports-admin,
  .viviliv-employees,
  .viviliv-reviews-panel,
  .viviliv-admin,
  .viviliv-staff-orders
) {
  color: var(--vpm-copy) !important;
  font-family: inherit !important;
  font-size: inherit !important;
}

html body.viviliv-staff-panel-page :where(h1,h2,h3,h4,h5,h6,legend) {
  color: var(--vpm-text) !important;
  font-family: inherit !important;
  font-weight: 750 !important;
  letter-spacing: -.025em !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page :where(p,li,dd,dt,address,td) {
  color: var(--vpm-copy) !important;
  font-size: 15px !important;
  line-height: 1.58 !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page :where(label,th) {
  color: var(--vpm-text) !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page :where(small,.description,.viviliv-help,.viviliv-stock-hint,.viviliv-current-availability,.viviliv-quick-status) {
  color: var(--vpm-muted) !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page :where(strong,b) {
  color: var(--vpm-text) !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page a:not(.button):not(.viviliv-portal-rail__button) {
  color: var(--vpm-gold-light) !important;
  text-underline-offset: 2px !important;
}

html body.viviliv-staff-panel-page :where(span,p,label,small,strong,li,td,th,address) {
  text-shadow: none !important;
}

/* ---------- Nagłówki panelu i modułów ---------- */
html body.viviliv-staff-panel-page .viviliv-portal-header {
  min-height: 112px !important;
  padding: 23px clamp(24px,2vw,38px) !important;
}

html body.viviliv-staff-panel-page .viviliv-portal-header h1,
html body.viviliv-staff-panel-page .viviliv-admin__header h1,
html body.viviliv-staff-panel-page .viviliv-owner-header h1 {
  color: #fff !important;
  font-size: clamp(34px,2.15vw,48px) !important;
  line-height: 1.08 !important;
  font-weight: 740 !important;
}

html body.viviliv-staff-panel-page .viviliv-native-module h2,
html body.viviliv-staff-panel-page .viviliv-owner-panel h2,
html body.viviliv-staff-panel-page .viviliv-admin__panel h2,
html body.viviliv-staff-panel-page .viviliv-staff-orders h2 {
  font-size: clamp(25px,1.35vw,34px) !important;
  line-height: 1.18 !important;
}

html body.viviliv-staff-panel-page .viviliv-native-module h3,
html body.viviliv-staff-panel-page .viviliv-owner-panel h3,
html body.viviliv-staff-panel-page .viviliv-admin__panel h3,
html body.viviliv-staff-panel-page .viviliv-staff-orders h3 {
  font-size: clamp(19px,.95vw,24px) !important;
  line-height: 1.25 !important;
}

html body.viviliv-staff-panel-page .viviliv-admin__header,
html body.viviliv-staff-panel-page .viviliv-owner-header {
  min-height: 116px !important;
  padding: 24px clamp(24px,2vw,38px) !important;
}

html body.viviliv-staff-panel-page .viviliv-admin__header span,
html body.viviliv-staff-panel-page .viviliv-owner-header span,
html body.viviliv-staff-panel-page .viviliv-portal-header span {
  color: var(--vpm-muted) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* ---------- Jedna ciemna powierzchnia dla wszystkich kart ---------- */
html body.viviliv-staff-panel-page :where(
  .viviliv-owner-panel,
  .viviliv-admin__panel,
  .viviliv-switch-card,
  .viviliv-permission,
  .viviliv-employee-card,
  .viviliv-review-setting,
  .viviliv-review-card,
  .viviliv-product-order-rules,
  .viviliv-product-calendar-rules,
  .viviliv-allergen-columns fieldset,
  .viviliv-exception-row,
  .viviliv-hours-section,
  .viviliv-order-card,
  .viviliv-order-card__details-grid > section,
  .viviliv-weight-correction-panel,
  .viviliv-report-chart-card,
  .viviliv-report-channel,
  .viviliv-report-tables,
  .viviliv-audit
) {
  color: var(--vpm-copy) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(243,215,122,.045), transparent 34%),
    linear-gradient(145deg, rgba(14,48,30,.98), rgba(5,24,14,.99)) !important;
  border: 1px solid var(--vpm-border) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.028), var(--vpm-shadow) !important;
}

html body.viviliv-staff-panel-page .viviliv-owner-panel,
html body.viviliv-staff-panel-page .viviliv-admin__panel {
  padding: clamp(20px,1.45vw,30px) !important;
  border-radius: 20px !important;
}

/* ---------- Formularze ---------- */
html body.viviliv-staff-panel-page input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
html body.viviliv-staff-panel-page select,
html body.viviliv-staff-panel-page textarea {
  min-height: 48px !important;
  padding: 10px 13px !important;
  color: #fffaf0 !important;
  -webkit-text-fill-color: #fffaf0 !important;
  background: linear-gradient(145deg,#0b2d1c,#06170e) !important;
  border: 1px solid var(--vpm-border) !important;
  border-radius: 11px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.028) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page textarea {
  min-height: 110px !important;
}

html body.viviliv-staff-panel-page input::placeholder,
html body.viviliv-staff-panel-page textarea::placeholder {
  color: rgba(247,243,232,.58) !important;
  -webkit-text-fill-color: rgba(247,243,232,.58) !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page input:focus,
html body.viviliv-staff-panel-page select:focus,
html body.viviliv-staff-panel-page textarea:focus {
  outline: none !important;
  border-color: var(--vpm-gold-light) !important;
  box-shadow: 0 0 0 3px rgba(216,178,74,.15) !important;
}

html body.viviliv-staff-panel-page select option {
  color: #fffaf0 !important;
  background: #082116 !important;
}

html body.viviliv-staff-panel-page input[type="checkbox"],
html body.viviliv-staff-panel-page input[type="radio"] {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  accent-color: var(--vpm-gold) !important;
}

/* ---------- Przyciski ---------- */
html body.viviliv-staff-panel-page :where(.button,button,input[type="submit"],.viviliv-staff-button) {
  min-height: 44px !important;
  padding: 9px 15px !important;
  border-radius: 11px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 750 !important;
  text-shadow: none !important;
}

html body.viviliv-staff-panel-page :where(.button-primary,.button.button-primary,.viviliv-report-print,.viviliv-orders-header-actions .button,.viviliv-owner-header-actions .button) {
  color: #07170e !important;
  background: linear-gradient(135deg,#f7df8b,#d8b24a) !important;
  border-color: #f3d77a !important;
}

/* ---------- Produkty: główna kolumna i sidebar ---------- */
html body.viviliv-staff-panel-page .viviliv-owner-grid.main-sidebar {
  grid-template-columns: minmax(0,1fr) minmax(430px,31%) !important;
  gap: 24px !important;
  align-items: start !important;
}

html body.viviliv-staff-panel-page .viviliv-owner-grid.main-sidebar > aside {
  min-width: 0 !important;
}

html body.viviliv-staff-panel-page .viviliv-owner-grid.main-sidebar > aside .viviliv-owner-panel {
  color: var(--vpm-copy) !important;
}

html body.viviliv-staff-panel-page .viviliv-owner-grid.main-sidebar > aside :where(h2,h3,label,legend,strong) {
  color: var(--vpm-text) !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page .viviliv-owner-grid.main-sidebar > aside :where(small,.description,p small) {
  color: var(--vpm-muted) !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page .viviliv-owner-toggle,
html body.viviliv-staff-panel-page .viviliv-category-list label,
html body.viviliv-staff-panel-page .viviliv-availability-card > span {
  color: var(--vpm-copy) !important;
  background: linear-gradient(145deg,rgba(17,54,34,.98),rgba(8,29,18,.99)) !important;
  border: 1px solid rgba(216,178,74,.28) !important;
  border-radius: 13px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03),0 8px 20px rgba(0,0,0,.10) !important;
}

html body.viviliv-staff-panel-page .viviliv-owner-toggle {
  min-height: 48px !important;
  padding: 12px 14px !important;
}

html body.viviliv-staff-panel-page .viviliv-owner-toggle span,
html body.viviliv-staff-panel-page .viviliv-category-list label {
  color: var(--vpm-text) !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 720 !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page .viviliv-availability-card {
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.viviliv-staff-panel-page .viviliv-availability-card > span {
  display: block !important;
  padding: 14px 15px !important;
}

html body.viviliv-staff-panel-page .viviliv-availability-card strong {
  display: block !important;
  color: var(--vpm-text) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 760 !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page .viviliv-availability-card small {
  display: block !important;
  margin-top: 6px !important;
  color: var(--vpm-muted) !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page .viviliv-availability-card input:checked + span {
  background: linear-gradient(145deg,rgba(102,87,28,.34),rgba(32,48,18,.96)) !important;
  border-color: var(--vpm-border-strong) !important;
  box-shadow: 0 0 0 2px rgba(216,178,74,.12),inset 0 1px 0 rgba(255,255,255,.04) !important;
}

html body.viviliv-staff-panel-page .viviliv-category-list {
  gap: 9px !important;
  max-height: 420px !important;
}

html body.viviliv-staff-panel-page .viviliv-category-list label {
  min-height: 46px !important;
  padding: 10px 12px !important;
}

html body.viviliv-staff-panel-page .viviliv-allergen-columns {
  gap: 20px !important;
}

html body.viviliv-staff-panel-page .viviliv-allergen-columns fieldset {
  padding: 18px !important;
  border-radius: 15px !important;
}

html body.viviliv-staff-panel-page .viviliv-allergen-columns label {
  min-height: 38px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: var(--vpm-text) !important;
  font-size: 14px !important;
  opacity: 1 !important;
}

/* ---------- Godziny ---------- */
html body.viviliv-staff-panel-page .viviliv-hours-row:not(.is-head) {
  color: var(--vpm-copy) !important;
  background: linear-gradient(145deg,rgba(17,54,34,.98),rgba(8,29,18,.99)) !important;
  border: 1px solid rgba(216,178,74,.24) !important;
}

html body.viviliv-staff-panel-page .viviliv-hours-row :where(span,strong,label) {
  color: var(--vpm-text) !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page .viviliv-hours-row.is-head {
  color: #fff !important;
  background: linear-gradient(135deg,#1f5835,#123c25) !important;
}

/* ---------- Sterowanie / Pracownicy / Opinie ---------- */
html body.viviliv-staff-panel-page :where(.viviliv-switch-card,.viviliv-permission,.viviliv-employee-card,.viviliv-review-setting) :where(strong,span,label) {
  color: var(--vpm-text) !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page :where(.viviliv-switch-card,.viviliv-permission,.viviliv-employee-card,.viviliv-review-setting) small {
  color: var(--vpm-muted) !important;
  opacity: 1 !important;
}

/* ---------- Zamówienia ---------- */
html body.viviliv-staff-panel-page .viviliv-order-card {
  overflow: hidden !important;
  border-radius: 18px !important;
}

html body.viviliv-staff-panel-page .viviliv-order-card :where(h3,h4,strong,label) {
  color: var(--vpm-text) !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page .viviliv-order-card :where(p,small,address,span) {
  color: var(--vpm-copy) !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page .viviliv-order-item-meta {
  color: var(--vpm-muted) !important;
}

html body.viviliv-staff-panel-page .viviliv-order-card__details-grid > section {
  padding: 18px !important;
  border-radius: 14px !important;
}

/* ---------- Wolt ---------- */
html body.viviliv-staff-panel-page .viviliv-wolt-action {
  color: var(--vpm-copy) !important;
  background:
    radial-gradient(circle at 100% 0%,rgba(42,186,160,.08),transparent 34%),
    linear-gradient(145deg,#073125,#041d16) !important;
  border: 1px solid rgba(57,203,177,.34) !important;
  border-radius: 18px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03),0 16px 38px rgba(0,0,0,.18) !important;
}

html body.viviliv-staff-panel-page .viviliv-wolt-action :where(h3,strong,label) {
  color: #fff !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page .viviliv-wolt-action :where(p,small,span) {
  color: #dcebe5 !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page .viviliv-wolt-action__facts {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 14px !important;
}

html body.viviliv-staff-panel-page .viviliv-wolt-action__fact {
  min-height: 112px !important;
  padding: 18px 20px !important;
  background: linear-gradient(145deg,rgba(9,47,35,.98),rgba(4,28,20,.99)) !important;
  border: 1px solid rgba(57,203,177,.24) !important;
  border-radius: 14px !important;
}

html body.viviliv-staff-panel-page .viviliv-wolt-action__fact-label {
  color: #c4d8d0 !important;
  font-size: 13px !important;
}

html body.viviliv-staff-panel-page .viviliv-wolt-action__fact-value {
  color: #fff !important;
  font-size: clamp(24px,1.45vw,31px) !important;
  line-height: 1.15 !important;
  font-weight: 760 !important;
}

html body.viviliv-staff-panel-page .viviliv-wolt-action__prep select {
  min-width: 180px !important;
}

/* ---------- Raporty / tabele ---------- */
html body.viviliv-staff-panel-page :where(table.widefat,.viviliv-native-module table,.viviliv-report-tables table,.viviliv-audit table) {
  color: var(--vpm-copy) !important;
  background: rgba(5,24,14,.96) !important;
  border-color: var(--vpm-border) !important;
}

html body.viviliv-staff-panel-page :where(table.widefat,.viviliv-native-module table,.viviliv-report-tables table,.viviliv-audit table) th {
  color: #fff !important;
  background: #16472b !important;
  border-color: rgba(216,178,74,.24) !important;
  font-size: 13px !important;
}

html body.viviliv-staff-panel-page :where(table.widefat,.viviliv-native-module table,.viviliv-report-tables table,.viviliv-audit table) td {
  color: var(--vpm-copy) !important;
  background: rgba(7,28,17,.80) !important;
  border-color: rgba(216,178,74,.15) !important;
  font-size: 14px !important;
}

html body.viviliv-staff-panel-page .viviliv-report-chart-card canvas {
  background: #f4ecda !important;
  border-radius: 12px !important;
}

/* ---------- Jasne ostrzeżenia: ciemny tekst ---------- */
html body.viviliv-staff-panel-page :where(.viviliv-owner-warning,.viviliv-order-rules-note,.viviliv-owner-list-help) {
  color: #2d250e !important;
  background: linear-gradient(145deg,#fff4c8,#f5e5a8) !important;
  border-color: rgba(216,178,74,.62) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

html body.viviliv-staff-panel-page :where(.viviliv-owner-warning,.viviliv-order-rules-note,.viviliv-owner-list-help) * {
  color: #2d250e !important;
  opacity: 1 !important;
}

/* ---------- Statusy i aktywne złote elementy ---------- */
html body.viviliv-staff-panel-page :where(.is-active,.viviliv-filter-chip.is-active,.viviliv-report-preset.is-active) {
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page .viviliv-filter-chip.is-active,
html body.viviliv-staff-panel-page .viviliv-report-preset.is-active {
  color: #07170e !important;
  background: linear-gradient(135deg,#f7df8b,#d8b24a) !important;
  border-color: #f3d77a !important;
}

/* ---------- Responsywność ---------- */
@media (max-width: 1500px) {
  html body.viviliv-staff-panel-page .viviliv-owner-grid.main-sidebar {
    grid-template-columns: minmax(0,1fr) minmax(390px,32%) !important;
  }
}

@media (max-width: 1180px) {
  html body.viviliv-staff-panel-page .viviliv-owner-grid.main-sidebar,
  html body.viviliv-staff-panel-page .viviliv-wolt-action__facts {
    grid-template-columns: 1fr !important;
  }

  html body.viviliv-staff-panel-page .viviliv-portal-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  html body.viviliv-staff-panel-page {
    font-size: 16px !important;
  }

  html body.viviliv-staff-panel-page #content,
  html body.viviliv-staff-panel-page .site-content {
    padding: 10px 8px 44px !important;
  }

  html body.viviliv-staff-panel-page .viviliv-portal-content,
  html body.viviliv-staff-panel-page .viviliv-owner-panel,
  html body.viviliv-staff-panel-page .viviliv-admin__panel {
    padding: 16px !important;
  }

  html body.viviliv-staff-panel-page .viviliv-admin__grid,
  html body.viviliv-staff-panel-page .viviliv-order-rules-grid,
  html body.viviliv-staff-panel-page .viviliv-allergen-columns {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
 * VIVILIV 0.6.4.18 — LEFT SIDEBAR + DATE/TIME ICON CONTRAST
 * Finalny hotfix ładowany w ostatnim arkuszu Panelu VIVILIV.
 * ========================================================= */

/* Flyout nawigacji: żadnych białych pól ani jasnego tekstu na złotym tle. */
html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout,
html body.viviliv-staff-panel-page .viviliv-portal-flyout {
  color: #fffaf0 !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(243, 215, 122, .10), transparent 34%),
    linear-gradient(150deg, #113923 0%, #082318 48%, #04150d 100%) !important;
  border: 1px solid rgba(243, 215, 122, .64) !important;
  box-shadow: 0 26px 68px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.04) !important;
}

html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout__links,
html body.viviliv-staff-panel-page .viviliv-portal-flyout__links {
  background: transparent !important;
}

html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout__link,
html body.viviliv-staff-panel-page .viviliv-portal-flyout__link {
  color: #fffaf0 !important;
  -webkit-text-fill-color: #fffaf0 !important;
  background: linear-gradient(145deg, rgba(18,56,35,.98), rgba(7,27,17,.99)) !important;
  border: 1px solid rgba(216,178,74,.28) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout__link strong,
html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout__link small,
html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout__link span,
html body.viviliv-staff-panel-page .viviliv-portal-flyout__link strong,
html body.viviliv-staff-panel-page .viviliv-portal-flyout__link small,
html body.viviliv-staff-panel-page .viviliv-portal-flyout__link span {
  opacity: 1 !important;
  text-shadow: none !important;
}

html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout__link strong,
html body.viviliv-staff-panel-page .viviliv-portal-flyout__link strong {
  color: #fffaf0 !important;
  -webkit-text-fill-color: #fffaf0 !important;
}

html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout__link small,
html body.viviliv-staff-panel-page .viviliv-portal-flyout__link small {
  color: rgba(247,243,232,.76) !important;
  -webkit-text-fill-color: rgba(247,243,232,.76) !important;
}

html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout__link:hover,
html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout__link:focus-visible,
html body.viviliv-staff-panel-page .viviliv-portal-flyout__link:hover,
html body.viviliv-staff-panel-page .viviliv-portal-flyout__link:focus-visible {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(145deg, rgba(91,76,25,.35), rgba(15,45,27,.99)) !important;
  border-color: rgba(243,215,122,.72) !important;
}

html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout__link.is-active,
html body.viviliv-staff-panel-page .viviliv-portal-flyout__link.is-active {
  color: #07170e !important;
  -webkit-text-fill-color: #07170e !important;
  background: linear-gradient(135deg, #f8e597 0%, #edca61 54%, #d4a936 100%) !important;
  border-color: #fff0ad !important;
  box-shadow: 0 12px 28px rgba(216,178,74,.25), inset 0 1px 0 rgba(255,255,255,.72) !important;
}

html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout__link.is-active strong,
html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout__link.is-active small,
html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout__link.is-active span,
html body.viviliv-staff-panel-page .viviliv-portal-flyout__link.is-active strong,
html body.viviliv-staff-panel-page .viviliv-portal-flyout__link.is-active small,
html body.viviliv-staff-panel-page .viviliv-portal-flyout__link.is-active span {
  color: #07170e !important;
  -webkit-text-fill-color: #07170e !important;
  opacity: 1 !important;
}

html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout__link.is-active small,
html body.viviliv-staff-panel-page .viviliv-portal-flyout__link.is-active small {
  color: rgba(7,23,14,.78) !important;
  -webkit-text-fill-color: rgba(7,23,14,.78) !important;
}

html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout__link.is-active .viviliv-portal-flyout__bullet,
html body.viviliv-staff-panel-page .viviliv-portal-flyout__link.is-active .viviliv-portal-flyout__bullet {
  background: #173b25 !important;
  box-shadow: 0 0 0 3px rgba(7,23,14,.13) !important;
}

html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout__link.is-active .viviliv-portal-flyout__arrow,
html body.viviliv-staff-panel-page .viviliv-portal-flyout__link.is-active .viviliv-portal-flyout__arrow {
  color: #173b25 !important;
  -webkit-text-fill-color: #173b25 !important;
}

/* Dolna notatka flyoutu — wcześniej wyglądała jak puste białe pole. */
html body.viviliv-staff-panel-page.viviliv-native-panel-page .viviliv-portal-flyout__note,
html body.viviliv-staff-panel-page .viviliv-portal-flyout__note {
  color: rgba(247,243,232,.78) !important;
  -webkit-text-fill-color: rgba(247,243,232,.78) !important;
  background: linear-gradient(145deg, rgba(16,49,31,.98), rgba(6,24,15,.99)) !important;
  border: 1px solid rgba(216,178,74,.24) !important;
  opacity: 1 !important;
}

/* Natywne ikony zegara i kalendarza w ciemnych polach. */
html body.viviliv-staff-panel-page input[type="date"],
html body.viviliv-staff-panel-page input[type="time"],
html body.viviliv-staff-panel-page input[type="month"],
html body.viviliv-staff-panel-page input[type="datetime-local"] {
  color-scheme: dark !important;
  color: #fffaf0 !important;
  -webkit-text-fill-color: #fffaf0 !important;
}

html body.viviliv-staff-panel-page input[type="date"]::-webkit-calendar-picker-indicator,
html body.viviliv-staff-panel-page input[type="time"]::-webkit-calendar-picker-indicator,
html body.viviliv-staff-panel-page input[type="month"]::-webkit-calendar-picker-indicator,
html body.viviliv-staff-panel-page input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  display: block !important;
  opacity: 1 !important;
  cursor: pointer !important;
  filter: invert(88%) sepia(61%) saturate(561%) hue-rotate(353deg) brightness(103%) contrast(91%) !important;
}

html body.viviliv-staff-panel-page input[type="time"]::-webkit-datetime-edit,
html body.viviliv-staff-panel-page input[type="date"]::-webkit-datetime-edit,
html body.viviliv-staff-panel-page input[type="month"]::-webkit-datetime-edit,
html body.viviliv-staff-panel-page input[type="datetime-local"]::-webkit-datetime-edit {
  color: #fffaf0 !important;
  -webkit-text-fill-color: #fffaf0 !important;
}

html body.viviliv-staff-panel-page input[type="time"]::-webkit-datetime-edit-fields-wrapper,
html body.viviliv-staff-panel-page input[type="date"]::-webkit-datetime-edit-fields-wrapper,
html body.viviliv-staff-panel-page input[type="month"]::-webkit-datetime-edit-fields-wrapper,
html body.viviliv-staff-panel-page input[type="datetime-local"]::-webkit-datetime-edit-fields-wrapper {
  color: #fffaf0 !important;
}
