/* Sophakhalek V2 system-wide polish */
:root {
  --sopha-v2-bg: #eef2ef;
  --sopha-v2-bg-soft: #f7f4ec;
  --sopha-v2-surface: #fffdf7;
  --sopha-v2-surface-muted: #f4efe4;
  --sopha-v2-ink: #182620;
  --sopha-v2-muted: #66746b;
  --sopha-v2-line: #cbd7cf;
  --sopha-v2-brand: #0d8067;
  --sopha-v2-brand-dark: #095e4c;
  --sopha-v2-warm: #b7742d;
  --sopha-v2-warning: #d99a22;
  --sopha-v2-danger: #a63d3a;
  --sopha-v2-radius: 8px;
  --sopha-v2-shadow: 0 14px 34px rgba(24, 38, 32, .10);
  --sopha-v2-shadow-soft: 0 8px 22px rgba(24, 38, 32, .08);
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body:not(.auth-bg):not(.sopha-print) {
  min-height: 100vh;
  color: var(--sopha-v2-ink);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, .92) 0, rgba(238, 242, 239, .98) 310px),
    var(--sopha-v2-bg) !important;
  font-family: "Noto Sans Thai", "Sarabun", Tahoma, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body:not(.auth-bg):not(.sopha-print).bg-light,
body:not(.auth-bg):not(.sopha-print).p-3,
body:not(.auth-bg):not(.sopha-print).p-4,
body:not(.auth-bg):not(.sopha-print).pb-5,
body:not(.auth-bg):not(.sopha-print).container,
body:not(.auth-bg):not(.sopha-print).container-fluid {
  background-color: transparent !important;
}

body:not(.auth-bg):not(.sopha-print) > .container,
body:not(.auth-bg):not(.sopha-print) > .container-fluid,
body:not(.auth-bg):not(.sopha-print) main > .container,
body:not(.auth-bg):not(.sopha-print) main > .container-fluid {
  width: min(100% - 24px, 1480px);
  max-width: 1480px;
  margin-inline: auto;
}

body:not(.auth-bg):not(.sopha-print) > .container.mt-5 {
  margin-top: 1.25rem !important;
}

body:not(.auth-bg):not(.sopha-print) > .p-3,
body:not(.auth-bg):not(.sopha-print) > .p-4 {
  padding-left: clamp(12px, 2vw, 24px) !important;
  padding-right: clamp(12px, 2vw, 24px) !important;
}

body:not(.auth-bg):not(.sopha-print) h1,
body:not(.auth-bg):not(.sopha-print) h2,
body:not(.auth-bg):not(.sopha-print) h3,
body:not(.auth-bg):not(.sopha-print) h4,
body:not(.auth-bg):not(.sopha-print) h5,
body:not(.auth-bg):not(.sopha-print) h6 {
  color: var(--sopha-v2-ink);
  font-weight: 800;
  letter-spacing: 0;
}

body:not(.auth-bg):not(.sopha-print) h1:not(.display-1):not(.display-2):not(.display-3),
body:not(.auth-bg):not(.sopha-print) h2,
body:not(.auth-bg):not(.sopha-print) h3 {
  line-height: 1.32;
}

body:not(.auth-bg):not(.sopha-print) a {
  color: var(--sopha-v2-brand);
}

body:not(.auth-bg):not(.sopha-print) a:hover {
  color: var(--sopha-v2-brand-dark);
}

body:not(.auth-bg):not(.sopha-print) .card,
body:not(.auth-bg):not(.sopha-print) .filter-card,
body:not(.auth-bg):not(.sopha-print) .summary-chip,
body:not(.auth-bg):not(.sopha-print) .modal-content,
body:not(.auth-bg):not(.sopha-print) .accordion-item,
body:not(.auth-bg):not(.sopha-print) .list-group {
  background: var(--sopha-v2-surface);
  border: 1px solid var(--sopha-v2-line);
  border-radius: var(--sopha-v2-radius);
  box-shadow: var(--sopha-v2-shadow-soft);
  color: var(--sopha-v2-ink);
}

body:not(.auth-bg):not(.sopha-print) .card-header,
body:not(.auth-bg):not(.sopha-print) .modal-header,
body:not(.auth-bg):not(.sopha-print) .card-footer,
body:not(.auth-bg):not(.sopha-print) .modal-footer {
  border-color: var(--sopha-v2-line);
  background: var(--sopha-v2-surface-muted);
}

body:not(.auth-bg):not(.sopha-print) .card-header.bg-primary,
body:not(.auth-bg):not(.sopha-print) .card-header.bg-info,
body:not(.auth-bg):not(.sopha-print) .card-header.bg-success,
body:not(.auth-bg):not(.sopha-print) .bg-primary,
body:not(.auth-bg):not(.sopha-print) .bg-info,
body:not(.auth-bg):not(.sopha-print) .bg-success {
  background: var(--sopha-v2-brand) !important;
  color: #fff !important;
}

body:not(.auth-bg):not(.sopha-print) .card-header.bg-warning,
body:not(.auth-bg):not(.sopha-print) .bg-warning {
  background: #f0d7a6 !important;
  color: #3d2b12 !important;
}

body:not(.auth-bg):not(.sopha-print) .card-header.bg-danger,
body:not(.auth-bg):not(.sopha-print) .bg-danger {
  background: var(--sopha-v2-danger) !important;
  color: #fff !important;
}

body:not(.auth-bg):not(.sopha-print) .form-label,
body:not(.auth-bg):not(.sopha-print) label {
  color: #34443b;
  font-weight: 700;
}

body:not(.auth-bg):not(.sopha-print) .form-control,
body:not(.auth-bg):not(.sopha-print) .form-select,
body:not(.auth-bg):not(.sopha-print) textarea,
body:not(.auth-bg):not(.sopha-print) input[type="text"],
body:not(.auth-bg):not(.sopha-print) input[type="number"],
body:not(.auth-bg):not(.sopha-print) input[type="date"],
body:not(.auth-bg):not(.sopha-print) input[type="email"],
body:not(.auth-bg):not(.sopha-print) input[type="password"],
body:not(.auth-bg):not(.sopha-print) input[type="search"] {
  min-height: 40px;
  color: var(--sopha-v2-ink);
  background-color: #fffdf7;
  border: 1px solid #bfccc4;
  border-radius: 7px;
  box-shadow: none;
}

body:not(.auth-bg):not(.sopha-print) textarea.form-control,
body:not(.auth-bg):not(.sopha-print) textarea {
  min-height: 94px;
}

body:not(.auth-bg):not(.sopha-print) .form-control:focus,
body:not(.auth-bg):not(.sopha-print) .form-select:focus,
body:not(.auth-bg):not(.sopha-print) textarea:focus,
body:not(.auth-bg):not(.sopha-print) input:focus {
  color: var(--sopha-v2-ink);
  background-color: #fffef9;
  border-color: var(--sopha-v2-brand);
  box-shadow: 0 0 0 .2rem rgba(13, 128, 103, .15);
}

body:not(.auth-bg):not(.sopha-print) .form-control:disabled,
body:not(.auth-bg):not(.sopha-print) .form-select:disabled,
body:not(.auth-bg):not(.sopha-print) input:disabled,
body:not(.auth-bg):not(.sopha-print) textarea:disabled {
  background: #e5ebe6;
  color: #6d7a72;
}

body:not(.auth-bg):not(.sopha-print) .btn {
  min-height: 38px;
  border-radius: 7px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: none;
}

body:not(.auth-bg):not(.sopha-print) .btn-sm {
  min-height: 32px;
}

body:not(.auth-bg):not(.sopha-print) .btn-primary,
body:not(.auth-bg):not(.sopha-print) .btn-success {
  background: var(--sopha-v2-brand);
  border-color: var(--sopha-v2-brand);
  color: #fff;
}

body:not(.auth-bg):not(.sopha-print) .btn-primary:hover,
body:not(.auth-bg):not(.sopha-print) .btn-success:hover {
  background: var(--sopha-v2-brand-dark);
  border-color: var(--sopha-v2-brand-dark);
}

body:not(.auth-bg):not(.sopha-print) .btn-warning {
  background: #e5a637;
  border-color: #e5a637;
  color: #1f170c;
}

body:not(.auth-bg):not(.sopha-print) .btn-danger {
  background: var(--sopha-v2-danger);
  border-color: var(--sopha-v2-danger);
}

body:not(.auth-bg):not(.sopha-print) .btn-outline-primary {
  color: var(--sopha-v2-brand);
  border-color: rgba(13, 128, 103, .44);
}

body:not(.auth-bg):not(.sopha-print) .btn-outline-primary:hover {
  background: var(--sopha-v2-brand);
  border-color: var(--sopha-v2-brand);
  color: #fff;
}

body:not(.auth-bg):not(.sopha-print) .btn-outline-secondary,
body:not(.auth-bg):not(.sopha-print) .btn-outline-dark,
body:not(.auth-bg):not(.sopha-print) .btn-light {
  color: var(--sopha-v2-ink);
  border-color: #b8c5bd;
  background: #faf6ed;
}

body:not(.auth-bg):not(.sopha-print) .btn-outline-secondary:hover,
body:not(.auth-bg):not(.sopha-print) .btn-outline-dark:hover,
body:not(.auth-bg):not(.sopha-print) .btn-light:hover {
  color: #fff;
  background: #263a31;
  border-color: #263a31;
}

body:not(.auth-bg):not(.sopha-print) .alert {
  border-radius: var(--sopha-v2-radius);
  border-width: 1px;
  box-shadow: var(--sopha-v2-shadow-soft);
}

body:not(.auth-bg):not(.sopha-print) .alert-success {
  color: #0f5132;
  background: #dceee5;
  border-color: #b7ddc8;
}

body:not(.auth-bg):not(.sopha-print) .alert-warning {
  color: #4b3412;
  background: #f6e4bd;
  border-color: #e5c073;
}

body:not(.auth-bg):not(.sopha-print) .alert-danger {
  color: #6b241f;
  background: #f6dddd;
  border-color: #e5b7b5;
}

body:not(.auth-bg):not(.sopha-print) .badge,
body:not(.auth-bg):not(.sopha-print) .chip {
  border-radius: 999px;
  font-weight: 800;
}

body:not(.auth-bg):not(.sopha-print) .text-muted,
body:not(.auth-bg):not(.sopha-print) .text-muted-soft {
  color: var(--sopha-v2-muted) !important;
}

body:not(.auth-bg):not(.sopha-print) .table-responsive,
body:not(.auth-bg):not(.sopha-print) .table-wrap,
body:not(.auth-bg):not(.sopha-print) .sopha-table-shell,
body:not(.auth-bg):not(.sopha-print) .sopha-auto-table-wrap,
body:not(.auth-bg):not(.sopha-print) .sopha-table-frame {
  border: 1px solid var(--sopha-v2-line);
  border-radius: var(--sopha-v2-radius);
  background: var(--sopha-v2-surface);
  box-shadow: var(--sopha-v2-shadow-soft);
  overflow: auto;
}

body:not(.auth-bg):not(.sopha-print) table.table {
  --bs-table-bg: var(--sopha-v2-surface);
  --bs-table-color: var(--sopha-v2-ink);
  --bs-table-border-color: var(--sopha-v2-line);
  margin-bottom: 0;
  color: var(--sopha-v2-ink);
  vertical-align: middle;
}

body:not(.auth-bg):not(.sopha-print) .table > :not(caption) > * > * {
  padding: .68rem .72rem;
  border-bottom-color: rgba(102, 116, 107, .22);
}

body:not(.auth-bg):not(.sopha-print) .table thead th,
body:not(.auth-bg):not(.sopha-print) table thead th,
body:not(.auth-bg):not(.sopha-print) .table-light th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: #24352d !important;
  background: #dfe8df !important;
  border-color: var(--sopha-v2-line) !important;
  font-weight: 900;
  white-space: nowrap;
}

body:not(.auth-bg):not(.sopha-print) .table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: rgba(244, 239, 228, .58);
}

body:not(.auth-bg):not(.sopha-print) .table-hover > tbody > tr:hover > *,
body:not(.auth-bg):not(.sopha-print) .table tbody tr:hover > * {
  background-color: #efe9dc !important;
}

body:not(.auth-bg):not(.sopha-print) .pagination .page-link {
  margin-inline: 2px;
  border-radius: 7px;
  color: var(--sopha-v2-brand);
}

body:not(.auth-bg):not(.sopha-print) .page-item.active .page-link {
  background: var(--sopha-v2-brand);
  border-color: var(--sopha-v2-brand);
}

body:not(.auth-bg):not(.sopha-print) .accordion-button {
  color: var(--sopha-v2-ink);
  font-weight: 800;
  border-radius: var(--sopha-v2-radius);
}

body:not(.auth-bg):not(.sopha-print) .accordion-button:not(.collapsed) {
  color: var(--sopha-v2-brand-dark);
  background: #e5efe8;
  box-shadow: inset 0 -1px 0 var(--sopha-v2-line);
}

body:not(.auth-bg):not(.sopha-print) .dropdown-menu {
  border-color: var(--sopha-v2-line);
  border-radius: var(--sopha-v2-radius);
  box-shadow: var(--sopha-v2-shadow);
}

body:not(.auth-bg):not(.sopha-print) .dropdown-item {
  border-radius: 6px;
}

body:not(.auth-bg):not(.sopha-print) .dropdown-item:hover,
body:not(.auth-bg):not(.sopha-print) .dropdown-item:focus {
  color: var(--sopha-v2-brand-dark);
  background: #e5efe8;
}

body:not(.auth-bg):not(.sopha-print) .sopha-focus-ring {
  outline: 3px solid rgba(13, 128, 103, .26);
  outline-offset: 2px;
}

.sopha-navbar {
  background: linear-gradient(180deg, #18352d 0%, #0f271f 100%) !important;
  border-bottom: 3px solid var(--sopha-v2-warm) !important;
}

.sopha-navbar .navbar-brand {
  border-left-color: var(--sopha-v2-warm) !important;
}

.sopha-navbar .nav-link {
  border-radius: 7px;
  padding-inline: .62rem !important;
}

.sopha-navbar .nav-link:hover,
.sopha-navbar .nav-link:focus,
.sopha-navbar .nav-link.active {
  background: rgba(255, 255, 255, .10);
}

.sopha-navbar .dropdown-menu {
  max-height: min(74vh, 640px);
  overflow: auto;
}

.sopha-navbar .dropdown-header,
.sopha-navbar .sec-title {
  color: #6f6254;
  font-weight: 900;
}

.sopha-navbar-spacer {
  height: calc(var(--nav-h, 72px) + 8px) !important;
}

body.sopha-auth {
  color: var(--sopha-v2-ink);
  background:
    linear-gradient(90deg, rgba(247, 244, 236, .97) 0%, rgba(238, 242, 239, .92) 46%, rgba(238, 242, 239, .28) 100%),
    var(--sopha-v2-bg) !important;
  font-family: "Noto Sans Thai", "Sarabun", Tahoma, "Segoe UI", Arial, sans-serif;
}

body.sopha-auth .card {
  border: 1px solid var(--sopha-v2-line) !important;
  border-radius: var(--sopha-v2-radius) !important;
  background: var(--sopha-v2-surface) !important;
  box-shadow: 0 24px 54px rgba(24, 38, 32, .14) !important;
}

body.sopha-auth .auth-main .container,
body.sopha-auth .auth-main {
  width: min(100% - 24px, 1180px);
}

body.sopha-auth h1 {
  color: var(--sopha-v2-ink) !important;
  font-weight: 900;
}

body.sopha-auth .btn-primary {
  min-height: 42px;
  background: var(--sopha-v2-brand) !important;
  border-color: var(--sopha-v2-brand) !important;
  border-radius: 7px !important;
  font-weight: 900;
}

body.sopha-auth .btn-primary:hover {
  background: var(--sopha-v2-brand-dark) !important;
  border-color: var(--sopha-v2-brand-dark) !important;
}

body.sopha-auth .form-control {
  min-height: 42px;
  border-radius: 7px !important;
}

body.sopha-standalone {
  background:
    radial-gradient(circle at 20% 15%, rgba(183, 116, 45, .18), transparent 34%),
    linear-gradient(145deg, #172620 0%, #0f1c18 100%) !important;
  font-family: "Noto Sans Thai", "Sarabun", Tahoma, "Segoe UI", Arial, sans-serif;
}

body.sopha-standalone .card {
  border-radius: var(--sopha-v2-radius) !important;
  border-color: rgba(255, 255, 255, .16) !important;
}

body.sopha-home-page .menu-card {
  border-radius: var(--sopha-v2-radius) !important;
  box-shadow: 0 14px 30px rgba(24, 38, 32, .13) !important;
}

body.sopha-home-page .menu-ico {
  border-radius: var(--sopha-v2-radius) !important;
}

body.sopha-home-page .display-welcome {
  letter-spacing: 0;
}

@media (max-width: 1199.98px) {
  :root {
    --nav-h: 64px;
  }

  body:not(.auth-bg):not(.sopha-print) > .container,
  body:not(.auth-bg):not(.sopha-print) > .container-fluid,
  body:not(.auth-bg):not(.sopha-print) main > .container,
  body:not(.auth-bg):not(.sopha-print) main > .container-fluid {
    width: min(100% - 16px, 100%);
  }

  body:not(.auth-bg):not(.sopha-print) h1 {
    font-size: 1.55rem;
  }

  body:not(.auth-bg):not(.sopha-print) h2,
  body:not(.auth-bg):not(.sopha-print) h3 {
    font-size: 1.3rem;
  }

  body:not(.auth-bg):not(.sopha-print) .btn {
    white-space: normal;
  }

  body:not(.auth-bg):not(.sopha-print) .card-body {
    padding: 1rem;
  }

  .sopha-navbar .navbar-collapse {
    max-height: calc(100vh - var(--nav-h, 64px));
    overflow: auto;
    padding-bottom: 1rem;
  }
}

@media (max-width: 575.98px) {
  body:not(.auth-bg):not(.sopha-print) .table > :not(caption) > * > * {
    padding: .58rem .62rem;
  }

body:not(.auth-bg):not(.sopha-print) .form-control,
body:not(.auth-bg):not(.sopha-print) .form-select,
body:not(.auth-bg):not(.sopha-print) .btn {
    min-height: 42px;
  }
}

/* Cross-page mobile layout layer */
body:not(.auth-bg):not(.sopha-print) *,
body:not(.auth-bg):not(.sopha-print) *::before,
body:not(.auth-bg):not(.sopha-print) *::after {
  box-sizing: border-box;
}

body:not(.auth-bg):not(.sopha-print) img,
body:not(.auth-bg):not(.sopha-print) video,
body:not(.auth-bg):not(.sopha-print) canvas,
body:not(.auth-bg):not(.sopha-print) svg {
  max-width: 100%;
  height: auto;
}

body:not(.auth-bg):not(.sopha-print) .table-responsive,
body:not(.auth-bg):not(.sopha-print) .table-wrap,
body:not(.auth-bg):not(.sopha-print) .sopha-table-shell,
body:not(.auth-bg):not(.sopha-print) .sopha-auto-table-wrap,
body:not(.auth-bg):not(.sopha-print) .sopha-table-frame {
  max-width: 100%;
  overflow-x: auto !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y;
}

body:not(.auth-bg):not(.sopha-print) .table-responsive table.table,
body:not(.auth-bg):not(.sopha-print) .table-wrap table.table,
body:not(.auth-bg):not(.sopha-print) .sopha-table-shell table.table,
body:not(.auth-bg):not(.sopha-print) .sopha-auto-table-wrap table.table,
body:not(.auth-bg):not(.sopha-print) .sopha-table-frame table.table {
  table-layout: auto !important;
  min-width: max(100%, 680px);
}

body:not(.auth-bg):not(.sopha-print) .sopha-responsive-table {
  scrollbar-width: thin;
  scrollbar-color: rgba(13, 128, 103, .45) rgba(203, 215, 207, .35);
}

body:not(.auth-bg):not(.sopha-print) .sopha-responsive-table::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

body:not(.auth-bg):not(.sopha-print) .sopha-responsive-table::-webkit-scrollbar-thumb {
  background: rgba(13, 128, 103, .45);
  border-radius: 999px;
}

body:not(.auth-bg):not(.sopha-print) .sopha-responsive-table::-webkit-scrollbar-track {
  background: rgba(203, 215, 207, .35);
}

body:not(.auth-bg):not(.sopha-print) .sopha-navbar .navbar-brand {
  min-width: 0;
}

@media (max-width: 767.98px) {
  body:not(.auth-bg):not(.sopha-print).p-3,
  body:not(.auth-bg):not(.sopha-print).p-4,
  body:not(.auth-bg):not(.sopha-print).pb-5 {
    padding-left: .5rem !important;
    padding-right: .5rem !important;
  }

  body:not(.auth-bg):not(.sopha-print) > .container,
  body:not(.auth-bg):not(.sopha-print) > .container-fluid,
  body:not(.auth-bg):not(.sopha-print) main > .container,
  body:not(.auth-bg):not(.sopha-print) main > .container-fluid,
  body:not(.auth-bg):not(.sopha-print) .container,
  body:not(.auth-bg):not(.sopha-print) .container-fluid {
    max-width: 100%;
    padding-left: .5rem;
    padding-right: .5rem;
  }

  body:not(.auth-bg):not(.sopha-print) .row {
    --bs-gutter-x: .75rem;
  }

  body:not(.auth-bg):not(.sopha-print) .card-body,
  body:not(.auth-bg):not(.sopha-print) .modal-body,
  body:not(.auth-bg):not(.sopha-print) .accordion-body {
    padding: .85rem;
  }

  body:not(.auth-bg):not(.sopha-print) .card-header,
  body:not(.auth-bg):not(.sopha-print) .card-footer,
  body:not(.auth-bg):not(.sopha-print) .modal-header,
  body:not(.auth-bg):not(.sopha-print) .modal-footer {
    padding: .75rem .85rem;
  }

  body:not(.auth-bg):not(.sopha-print) .d-flex.gap-2:not(.navbar-nav):not(.navbar-collapse):not(.btn-group),
  body:not(.auth-bg):not(.sopha-print) .d-flex.gap-3:not(.navbar-nav):not(.navbar-collapse):not(.btn-group) {
    flex-wrap: wrap;
  }

  body:not(.auth-bg):not(.sopha-print) .d-flex.gap-2 > .btn,
  body:not(.auth-bg):not(.sopha-print) .d-flex.gap-2 > a.btn,
  body:not(.auth-bg):not(.sopha-print) .d-flex.gap-3 > .btn,
  body:not(.auth-bg):not(.sopha-print) .d-flex.gap-3 > a.btn {
    flex: 1 1 148px;
  }

  body:not(.auth-bg):not(.sopha-print) .btn-toolbar,
  body:not(.auth-bg):not(.sopha-print) .btn-group {
    flex-wrap: wrap;
    gap: .35rem;
  }

  body:not(.auth-bg):not(.sopha-print) .form-control,
  body:not(.auth-bg):not(.sopha-print) .form-select,
  body:not(.auth-bg):not(.sopha-print) textarea,
  body:not(.auth-bg):not(.sopha-print) input {
    font-size: 16px;
  }

  body:not(.auth-bg):not(.sopha-print) .table-responsive,
  body:not(.auth-bg):not(.sopha-print) .table-wrap,
  body:not(.auth-bg):not(.sopha-print) .sopha-table-shell,
  body:not(.auth-bg):not(.sopha-print) .sopha-auto-table-wrap,
  body:not(.auth-bg):not(.sopha-print) .sopha-table-frame {
    max-height: none;
    border-radius: 7px;
  }

  body:not(.auth-bg):not(.sopha-print) .table-responsive table.table,
  body:not(.auth-bg):not(.sopha-print) .table-wrap table.table,
  body:not(.auth-bg):not(.sopha-print) .sopha-table-shell table.table,
  body:not(.auth-bg):not(.sopha-print) .sopha-auto-table-wrap table.table,
  body:not(.auth-bg):not(.sopha-print) .sopha-table-frame table.table {
    min-width: max(100%, 720px);
    font-size: 12px;
  }

  body:not(.auth-bg):not(.sopha-print) table.table > :not(caption) > * > * {
    padding: .5rem .55rem;
  }

  body:not(.auth-bg):not(.sopha-print) table.table .btn {
    min-height: 32px;
    padding: .25rem .45rem;
  }

  body:not(.auth-bg):not(.sopha-print) [style*="max-width"] {
    max-width: 100% !important;
  }

  .sopha-navbar .container-fluid {
    padding-left: .75rem;
    padding-right: .75rem;
  }

  .sopha-navbar .navbar-brand {
    max-width: calc(100vw - 86px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 575.98px) {
  body:not(.auth-bg):not(.sopha-print) h1 {
    font-size: 1.42rem;
  }

  body:not(.auth-bg):not(.sopha-print) h2,
  body:not(.auth-bg):not(.sopha-print) h3 {
    font-size: 1.2rem;
  }

  body:not(.auth-bg):not(.sopha-print) .card,
  body:not(.auth-bg):not(.sopha-print) .filter-card,
  body:not(.auth-bg):not(.sopha-print) .modal-content,
  body:not(.auth-bg):not(.sopha-print) .alert {
    border-radius: 7px;
  }

  body:not(.auth-bg):not(.sopha-print) .btn:not(.navbar-toggler) {
    width: 100%;
  }

  body:not(.auth-bg):not(.sopha-print) .pagination {
    flex-wrap: wrap;
    gap: .25rem;
  }

  body:not(.auth-bg):not(.sopha-print) .modal-dialog {
    margin: .5rem;
  }

  body.sopha-auth .auth-main {
    width: min(100% - 16px, 100%);
    padding-left: 0;
    padding-right: 0;
  }

  body.sopha-auth .card-body {
    padding: 1rem !important;
  }
}

@media print {
  body,
  body:not(.auth-bg):not(.sopha-print) {
    color: #111 !important;
    background: #fff !important;
  }

  .sopha-navbar,
  .sopha-navbar-spacer,
  .no-print {
    display: none !important;
  }

  body:not(.auth-bg):not(.sopha-print) .card,
  body:not(.auth-bg):not(.sopha-print) .table-responsive,
  body:not(.auth-bg):not(.sopha-print) .table-wrap,
  body:not(.auth-bg):not(.sopha-print) .sopha-table-shell,
  body:not(.auth-bg):not(.sopha-print) .sopha-auto-table-wrap,
  body:not(.auth-bg):not(.sopha-print) .sopha-table-frame {
    border-color: #ccc !important;
    box-shadow: none !important;
  }
}

/* Dashboard dark premium theme layer */
html:not([data-sopha-theme="light"]) {
  --sopha-v2-bg: #07111f;
  --sopha-v2-bg-soft: #0b1728;
  --sopha-v2-surface: #0f1f33;
  --sopha-v2-surface-muted: #132840;
  --sopha-v2-elevated: #172d46;
  --sopha-v2-ink: #e7f3ff;
  --sopha-v2-muted: #91a8bd;
  --sopha-v2-line: rgba(148, 163, 184, .18);
  --sopha-v2-brand: #10bfa7;
  --sopha-v2-brand-dark: #0f8f84;
  --sopha-v2-cyan: #19c8ff;
  --sopha-v2-blue: #4f8cff;
  --sopha-v2-violet: #9f7aea;
  --sopha-v2-warning: #f4b740;
  --sopha-v2-danger: #ff5f6d;
  --sopha-v2-success: #34d399;
  --sopha-v2-radius: 8px;
  --sopha-v2-shadow: 0 18px 48px rgba(0, 0, 0, .34);
  --sopha-v2-shadow-soft: 0 10px 28px rgba(0, 0, 0, .24);
  --sk-bg: var(--sopha-v2-bg);
  --sk-bg-deep: var(--sopha-v2-bg-soft);
  --sk-surface: var(--sopha-v2-surface);
  --sk-surface-soft: var(--sopha-v2-surface-muted);
  --sk-ink: var(--sopha-v2-ink);
  --sk-muted: var(--sopha-v2-muted);
  --sk-line: var(--sopha-v2-line);
  --sk-accent: var(--sopha-v2-brand);
  --sk-accent-dark: var(--sopha-v2-brand-dark);
  --sk-warm: var(--sopha-v2-warning);
  --sk-danger: var(--sopha-v2-danger);
  --sk-shadow: var(--sopha-v2-shadow-soft);
  color-scheme: dark;
}

html:not([data-sopha-theme="light"]) {
  background: var(--sopha-v2-bg);
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print),
html:not([data-sopha-theme="light"]) body.sopha-polished:not(.auth-bg):not(.sopha-print),
html:not([data-sopha-theme="light"]) body.sopha-page:not(.auth-bg):not(.sopha-print),
html:not([data-sopha-theme="light"]) body.bg-light:not(.auth-bg):not(.sopha-print) {
  color: var(--sopha-v2-ink) !important;
  background:
    radial-gradient(circle at 13% 0%, rgba(25, 200, 255, .16), transparent 34%),
    radial-gradient(circle at 82% 8%, rgba(16, 191, 167, .15), transparent 31%),
    linear-gradient(180deg, #081423 0%, #07111f 44%, #06101b 100%) !important;
  font-family: "Noto Sans Thai", "Sarabun", "Segoe UI", Tahoma, Arial, sans-serif;
}

html:not([data-sopha-theme="light"]) body.sopha-auth {
  color: var(--sopha-v2-ink) !important;
  background:
    radial-gradient(circle at 13% 0%, rgba(25, 200, 255, .16), transparent 34%),
    radial-gradient(circle at 82% 8%, rgba(16, 191, 167, .15), transparent 31%),
    linear-gradient(180deg, #081423 0%, #07111f 44%, #06101b 100%) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-auth .card {
  color: var(--sopha-v2-ink) !important;
  background: rgba(15, 31, 51, .96) !important;
  border: 1px solid var(--sopha-v2-line) !important;
  box-shadow: var(--sopha-v2-shadow) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-auth h1,
html:not([data-sopha-theme="light"]) body.sopha-auth .form-label {
  color: #f2f8ff !important;
}

html:not([data-sopha-theme="light"]) body.sopha-auth .form-control {
  color: #edf8ff !important;
  background: rgba(7, 17, 31, .88) !important;
  border-color: rgba(148, 163, 184, .28) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-auth .form-control:focus {
  background: rgba(9, 22, 38, .98) !important;
  border-color: rgba(25, 200, 255, .7) !important;
  box-shadow: 0 0 0 .2rem rgba(25, 200, 255, .16) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-auth .btn-primary {
  color: #04101a !important;
  background: linear-gradient(135deg, #13d6ba, #19c8ff) !important;
  border-color: rgba(25, 200, 255, .55) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-auth .btn-outline-secondary {
  color: #d8e8f6 !important;
  background: rgba(15, 31, 51, .72) !important;
  border-color: rgba(148, 163, 184, .28) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-auth .btn-outline-secondary:hover {
  color: #ffffff !important;
  background: rgba(25, 200, 255, .16) !important;
  border-color: rgba(25, 200, 255, .46) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) h1,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) h2,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) h3,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) h4,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) h5,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) h6,
html:not([data-sopha-theme="light"]) .sopha-page h1,
html:not([data-sopha-theme="light"]) .sopha-page h2,
html:not([data-sopha-theme="light"]) .sopha-page h3,
html:not([data-sopha-theme="light"]) .sopha-page h4,
html:not([data-sopha-theme="light"]) .sopha-page h5,
html:not([data-sopha-theme="light"]) .sopha-page h6,
html:not([data-sopha-theme="light"]) .sopha-polished h1,
html:not([data-sopha-theme="light"]) .sopha-polished h2,
html:not([data-sopha-theme="light"]) .sopha-polished h3,
html:not([data-sopha-theme="light"]) .sopha-polished h4 {
  color: #f2f8ff !important;
  font-weight: 850;
  letter-spacing: 0;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) p,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .text-muted,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .text-muted-soft,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) small,
html:not([data-sopha-theme="light"]) .sopha-page .text-muted,
html:not([data-sopha-theme="light"]) .sopha-polished .text-muted {
  color: var(--sopha-v2-muted) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) a {
  color: #61ddff;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) a:hover {
  color: #9ff2ff;
}

html:not([data-sopha-theme="light"]) .sopha-navbar,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .navbar.fixed-top,
html:not([data-sopha-theme="light"]) .sopha-polished .navbar {
  min-height: var(--nav-h, 72px);
  background:
    linear-gradient(135deg, rgba(9, 19, 33, .96), rgba(13, 34, 53, .94) 56%, rgba(10, 64, 72, .92)) !important;
  border-bottom: 1px solid rgba(25, 200, 255, .22) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .36) !important;
  backdrop-filter: blur(18px);
}

html:not([data-sopha-theme="light"]) .sopha-navbar .container-fluid,
html:not([data-sopha-theme="light"]) .sopha-polished .navbar .container-fluid {
  min-height: var(--nav-h, 72px);
  gap: .65rem;
}

html:not([data-sopha-theme="light"]) .sopha-navbar .navbar-brand,
html:not([data-sopha-theme="light"]) .sopha-polished .navbar-brand {
  color: #f7fbff !important;
  min-height: 44px;
  padding: .2rem .8rem .2rem 1rem !important;
  border-left: 3px solid var(--sopha-v2-cyan) !important;
  font-weight: 900;
}

html:not([data-sopha-theme="light"]) .sopha-navbar .navbar-brand::before,
html:not([data-sopha-theme="light"]) .sopha-polished .navbar-brand::before {
  background: linear-gradient(135deg, var(--sopha-v2-brand), var(--sopha-v2-cyan) 55%, var(--sopha-v2-blue)) !important;
  box-shadow: 0 12px 28px rgba(25, 200, 255, .22);
}

html:not([data-sopha-theme="light"]) .sopha-navbar .nav-link,
html:not([data-sopha-theme="light"]) .sopha-navbar .navbar-text,
html:not([data-sopha-theme="light"]) .sopha-polished .navbar .nav-link {
  color: #c9d8e8 !important;
  border-radius: 8px;
  font-weight: 800;
}

html:not([data-sopha-theme="light"]) .sopha-navbar .nav-link:hover,
html:not([data-sopha-theme="light"]) .sopha-navbar .nav-link:focus,
html:not([data-sopha-theme="light"]) .sopha-navbar .nav-link.active,
html:not([data-sopha-theme="light"]) .sopha-polished .navbar .nav-link:hover,
html:not([data-sopha-theme="light"]) .sopha-polished .navbar .nav-link:focus,
html:not([data-sopha-theme="light"]) .sopha-polished .navbar .nav-link.active {
  color: #f7fbff !important;
  background: rgba(25, 200, 255, .12) !important;
}

html:not([data-sopha-theme="light"]) .sopha-navbar .dropdown-menu,
html:not([data-sopha-theme="light"]) .sopha-polished .navbar .dropdown-menu,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .dropdown-menu {
  background: rgba(13, 31, 51, .98) !important;
  border: 1px solid rgba(25, 200, 255, .18) !important;
  border-radius: 8px !important;
  box-shadow: var(--sopha-v2-shadow) !important;
  color: var(--sopha-v2-ink) !important;
}

html:not([data-sopha-theme="light"]) .sopha-navbar .dropdown-item,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .dropdown-item {
  color: #d8e8f6 !important;
  border-radius: 6px;
}

html:not([data-sopha-theme="light"]) .sopha-navbar .dropdown-item:hover,
html:not([data-sopha-theme="light"]) .sopha-navbar .dropdown-item:focus,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .dropdown-item:hover,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .dropdown-item:focus {
  color: #ffffff !important;
  background: rgba(16, 191, 167, .16) !important;
}

html:not([data-sopha-theme="light"]) .sopha-navbar .dropdown-divider,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .dropdown-divider {
  border-color: rgba(148, 163, 184, .18);
}

html:not([data-sopha-theme="light"]) .sopha-navbar .dropdown-header,
html:not([data-sopha-theme="light"]) .sopha-navbar .sec-title,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .dropdown-header {
  color: #8eeaff !important;
  font-weight: 900;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sidebar,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .side-menu,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .main-sidebar,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) aside[class*="sidebar"] {
  color: #d8e8f6 !important;
  background: linear-gradient(180deg, rgba(13, 31, 51, .98), rgba(7, 17, 31, .98)) !important;
  border-color: rgba(25, 200, 255, .18) !important;
  box-shadow: var(--sopha-v2-shadow-soft) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sidebar a,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .side-menu a,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .main-sidebar a,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) aside[class*="sidebar"] a {
  color: #cfefff !important;
  border-radius: 8px;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sidebar a:hover,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .side-menu a:hover,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .main-sidebar a:hover,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) aside[class*="sidebar"] a:hover {
  color: #ffffff !important;
  background: rgba(16, 191, 167, .14) !important;
}

html:not([data-sopha-theme="light"]) .sopha-navbar .navbar-toggler {
  border-color: rgba(25, 200, 255, .28) !important;
  background: rgba(15, 31, 51, .72);
  border-radius: 8px;
  box-shadow: none !important;
}

html:not([data-sopha-theme="light"]) .sopha-navbar .navbar-toggler-icon {
  filter: invert(1) brightness(1.3);
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filter-card,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .summary-chip,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .modal-content,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .accordion-item,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .list-group,
html:not([data-sopha-theme="light"]) .sopha-page .card,
html:not([data-sopha-theme="light"]) .sopha-page .filter-card,
html:not([data-sopha-theme="light"]) .sopha-page .summary-chip,
html:not([data-sopha-theme="light"]) .sopha-page .modal-content,
html:not([data-sopha-theme="light"]) .sopha-polished .card,
html:not([data-sopha-theme="light"]) .sopha-polished .modal-content,
html:not([data-sopha-theme="light"]) .sopha-polished .accordion-item {
  color: var(--sopha-v2-ink) !important;
  background:
    linear-gradient(180deg, rgba(20, 43, 68, .96), rgba(13, 30, 50, .96)) !important;
  border: 1px solid var(--sopha-v2-line) !important;
  border-radius: 8px !important;
  box-shadow: var(--sopha-v2-shadow-soft) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card-header,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .modal-header,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card-footer,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .modal-footer,
html:not([data-sopha-theme="light"]) .sopha-page .card-footer,
html:not([data-sopha-theme="light"]) .sopha-page .sticky-actions,
html:not([data-sopha-theme="light"]) .sopha-polished .card-header,
html:not([data-sopha-theme="light"]) .sopha-polished .modal-header {
  color: #f2f8ff !important;
  background: rgba(10, 24, 41, .82) !important;
  border-color: var(--sopha-v2-line) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card-header.bg-primary,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .bg-primary {
  background: linear-gradient(135deg, #0f8f84, #1677d2) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card-header.bg-success,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .bg-success {
  background: linear-gradient(135deg, #0f8f84, #16a36f) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card-header.bg-info,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .bg-info {
  background: linear-gradient(135deg, #128fb3, #19c8ff) !important;
  color: #02101c !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card-header.bg-warning,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .bg-warning {
  background: linear-gradient(135deg, #d58b18, #f4b740) !important;
  color: #140d04 !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card-header.bg-danger,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .bg-danger {
  background: linear-gradient(135deg, #c73545, #ff5f6d) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .form-label,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) label,
html:not([data-sopha-theme="light"]) .sopha-page .form-label,
html:not([data-sopha-theme="light"]) .sopha-polished .form-label {
  color: #cde3f5 !important;
  font-weight: 800;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .form-control,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .form-select,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) textarea,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) input[type="text"],
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) input[type="number"],
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) input[type="date"],
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) input[type="email"],
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) input[type="password"],
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) input[type="search"],
html:not([data-sopha-theme="light"]) .sopha-page .form-control,
html:not([data-sopha-theme="light"]) .sopha-page .form-select,
html:not([data-sopha-theme="light"]) .sopha-polished .form-control,
html:not([data-sopha-theme="light"]) .sopha-polished .form-select {
  color: #edf8ff !important;
  background-color: rgba(7, 17, 31, .88) !important;
  border: 1px solid rgba(148, 163, 184, .28) !important;
  border-radius: 8px !important;
  min-height: 42px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .form-control::placeholder,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) textarea::placeholder,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) input::placeholder {
  color: #6f879b !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .form-control:focus,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .form-select:focus,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) textarea:focus,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) input:focus,
html:not([data-sopha-theme="light"]) .sopha-page .form-control:focus,
html:not([data-sopha-theme="light"]) .sopha-page .form-select:focus,
html:not([data-sopha-theme="light"]) .sopha-polished .form-control:focus,
html:not([data-sopha-theme="light"]) .sopha-polished .form-select:focus {
  color: #ffffff !important;
  background-color: rgba(9, 22, 38, .98) !important;
  border-color: rgba(25, 200, 255, .7) !important;
  box-shadow: 0 0 0 .2rem rgba(25, 200, 255, .16) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .form-control:disabled,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .form-select:disabled,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) input:disabled,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) textarea:disabled,
html:not([data-sopha-theme="light"]) .rows-disabled input,
html:not([data-sopha-theme="light"]) .rows-disabled select {
  color: #6f879b !important;
  background: rgba(15, 31, 51, .62) !important;
  border-color: rgba(148, 163, 184, .15) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn,
html:not([data-sopha-theme="light"]) .sopha-page .btn,
html:not([data-sopha-theme="light"]) .sopha-polished .btn {
  border-radius: 8px !important;
  min-height: 40px;
  font-weight: 850;
  border-width: 1px;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-sm {
  min-height: 34px;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-primary,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-success,
html:not([data-sopha-theme="light"]) .sopha-page .btn-primary,
html:not([data-sopha-theme="light"]) .sopha-page .btn-success,
html:not([data-sopha-theme="light"]) .sopha-polished .btn-primary,
html:not([data-sopha-theme="light"]) .sopha-polished .btn-success {
  color: #05111c !important;
  background: linear-gradient(135deg, #13d6ba, #19c8ff) !important;
  border-color: rgba(25, 200, 255, .55) !important;
  box-shadow: 0 10px 24px rgba(25, 200, 255, .18) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-primary:hover,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-success:hover,
html:not([data-sopha-theme="light"]) .sopha-page .btn-primary:hover,
html:not([data-sopha-theme="light"]) .sopha-page .btn-success:hover {
  filter: brightness(1.06);
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-info {
  color: #04101a !important;
  background: linear-gradient(135deg, #19c8ff, #63e6ff) !important;
  border-color: rgba(99, 230, 255, .62) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-warning {
  color: #160f05 !important;
  background: linear-gradient(135deg, #f4a62a, #ffd166) !important;
  border-color: rgba(255, 209, 102, .6) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-danger {
  color: #fff !important;
  background: linear-gradient(135deg, #d63b51, #ff5f6d) !important;
  border-color: rgba(255, 95, 109, .56) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-outline-primary,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-outline-info {
  color: #7beaff !important;
  border-color: rgba(25, 200, 255, .42) !important;
  background: rgba(25, 200, 255, .06) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-outline-primary:hover,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-outline-info:hover {
  color: #04101a !important;
  background: #19c8ff !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-outline-secondary,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-outline-dark,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-outline-light,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-light {
  color: #d8e8f6 !important;
  border-color: rgba(148, 163, 184, .28) !important;
  background: rgba(15, 31, 51, .72) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-outline-secondary:hover,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-outline-dark:hover,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-outline-light:hover,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-light:hover {
  color: #ffffff !important;
  background: rgba(25, 200, 255, .16) !important;
  border-color: rgba(25, 200, 255, .46) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .alert {
  color: #dcecff !important;
  border-radius: 8px !important;
  border: 1px solid var(--sopha-v2-line) !important;
  box-shadow: var(--sopha-v2-shadow-soft) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .alert-success {
  background: rgba(16, 185, 129, .14) !important;
  border-color: rgba(52, 211, 153, .34) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .alert-warning {
  color: #ffe9b2 !important;
  background: rgba(244, 183, 64, .14) !important;
  border-color: rgba(244, 183, 64, .36) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .alert-danger {
  background: rgba(255, 95, 109, .14) !important;
  border-color: rgba(255, 95, 109, .38) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .badge,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .chip,
html:not([data-sopha-theme="light"]) .sopha-page .badge,
html:not([data-sopha-theme="light"]) .sopha-page .chip {
  color: #e9f7ff;
  background: rgba(25, 200, 255, .13);
  border: 1px solid rgba(25, 200, 255, .24);
  border-radius: 999px;
  font-weight: 850;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .bg-secondary,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .badge.bg-secondary {
  background: #53657a !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .bg-success,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .badge.bg-success {
  background: #0f9f78 !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .bg-danger,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .badge.bg-danger {
  background: #cf4054 !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .bg-warning,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .badge.bg-warning {
  color: #171004 !important;
  background: #f4b740 !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .bg-info,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .badge.bg-info {
  color: #04101a !important;
  background: #19c8ff !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .nav-tabs {
  border-bottom-color: rgba(148, 163, 184, .18);
  gap: .35rem;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .nav-tabs .nav-link {
  color: #a8bdd1;
  background: rgba(15, 31, 51, .62);
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 8px 8px 0 0;
  font-weight: 850;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .nav-tabs .nav-link.active {
  color: #07111f !important;
  background: linear-gradient(135deg, #13d6ba, #19c8ff);
  border-color: rgba(25, 200, 255, .5);
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .accordion-button {
  color: #eaf6ff !important;
  background: rgba(15, 31, 51, .88) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .accordion-button:not(.collapsed) {
  color: #8eeaff !important;
  background: rgba(16, 191, 167, .14) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-responsive,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-wrap,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sopha-table-shell,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sopha-auto-table-wrap,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sopha-table-frame,
html:not([data-sopha-theme="light"]) .sopha-table-frame,
html:not([data-sopha-theme="light"]) .sopha-polished .table-wrap,
html:not([data-sopha-theme="light"]) .sopha-polished .table-responsive {
  max-width: 100%;
  background: rgba(12, 26, 44, .96) !important;
  border: 1px solid var(--sopha-v2-line) !important;
  border-radius: 8px !important;
  box-shadow: var(--sopha-v2-shadow-soft) !important;
  overflow: auto !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(25, 200, 255, .42) rgba(7, 17, 31, .8);
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-responsive::-webkit-scrollbar,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-wrap::-webkit-scrollbar,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sopha-table-shell::-webkit-scrollbar,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sopha-auto-table-wrap::-webkit-scrollbar,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sopha-table-frame::-webkit-scrollbar {
  height: 9px;
  width: 9px;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-responsive::-webkit-scrollbar-thumb,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-wrap::-webkit-scrollbar-thumb,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sopha-table-shell::-webkit-scrollbar-thumb,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sopha-auto-table-wrap::-webkit-scrollbar-thumb,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sopha-table-frame::-webkit-scrollbar-thumb {
  background: rgba(25, 200, 255, .44);
  border-radius: 999px;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) table.table {
  --bs-table-bg: rgba(12, 26, 44, .96);
  --bs-table-color: #e7f3ff;
  --bs-table-border-color: rgba(148, 163, 184, .17);
  color: #e7f3ff !important;
  background: rgba(12, 26, 44, .96) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table > :not(caption) > * > * {
  color: #e7f3ff !important;
  background-color: transparent !important;
  border-bottom-color: rgba(148, 163, 184, .16) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table thead th,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) table thead th,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-light th,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) table.table thead.table-light th,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) table.table thead.table-dark th,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) table.table .sticky-head th {
  color: #eaffff !important;
  background: linear-gradient(180deg, #17314d, #11273f) !important;
  border-color: rgba(25, 200, 255, .22) !important;
  font-weight: 900;
  white-space: nowrap;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-striped > tbody > tr:nth-of-type(odd) > *,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-striped-columns > :not(caption) > tr > :nth-child(2n) {
  --bs-table-accent-bg: rgba(25, 200, 255, .045) !important;
  background-color: rgba(25, 200, 255, .045) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-hover > tbody > tr:hover > *,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table tbody tr:hover > *,
html:not([data-sopha-theme="light"]) .sopha-page .table-hover tbody tr:hover > * {
  background-color: rgba(16, 191, 167, .105) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-dark {
  --bs-table-bg: rgba(7, 17, 31, .95);
  --bs-table-striped-bg: rgba(25, 200, 255, .06);
  --bs-table-hover-bg: rgba(16, 191, 167, .12);
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .pagination .page-link {
  color: #9ff2ff;
  background: rgba(15, 31, 51, .86);
  border-color: rgba(148, 163, 184, .22);
  border-radius: 8px;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-item.active .page-link {
  color: #06101b;
  background: #19c8ff;
  border-color: #19c8ff;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .modal-backdrop {
  background-color: #020811;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .topbar,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sticky-top,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sticky-actions {
  background: rgba(7, 17, 31, .86) !important;
  border-color: rgba(148, 163, 184, .18) !important;
  backdrop-filter: blur(14px);
}

html:not([data-sopha-theme="light"]) body.sopha-home-page .hero {
  background-color: #07111f !important;
  background-blend-mode: overlay, normal;
}

html:not([data-sopha-theme="light"]) body.sopha-home-page .hero::after {
  background: linear-gradient(180deg, rgba(3, 8, 18, .18), rgba(3, 8, 18, .42)) !important;
  backdrop-filter: none !important;
}

html:not([data-sopha-theme="light"]) body.sopha-home-page .hero-content {
  color: #f3fbff !important;
}

html:not([data-sopha-theme="light"]) body.sopha-home-page .menu-card {
  color: #eaf6ff !important;
  background:
    linear-gradient(135deg, rgba(18, 42, 68, .94), rgba(9, 25, 43, .95)) !important;
  border: 1px solid rgba(25, 200, 255, .18) !important;
  border-radius: 8px !important;
  box-shadow: var(--sopha-v2-shadow-soft) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-home-page .menu-card:hover {
  border-color: rgba(25, 200, 255, .5) !important;
  transform: translateY(-2px);
}

html:not([data-sopha-theme="light"]) body.sopha-home-page .menu-card .title {
  color: #f7fbff !important;
}

html:not([data-sopha-theme="light"]) body.sopha-home-page .menu-card .desc {
  color: #9fb4c8 !important;
}

html:not([data-sopha-theme="light"]) body.sopha-home-page .menu-ico {
  background: linear-gradient(135deg, rgba(19, 214, 186, .18), rgba(25, 200, 255, .18)) !important;
  border: 1px solid rgba(25, 200, 255, .24);
}

html:not([data-sopha-theme="light"]) .menu-a { --sopha-menu-accent: var(--sopha-v2-cyan); }
html:not([data-sopha-theme="light"]) .menu-b { --sopha-menu-accent: var(--sopha-v2-brand); }
html:not([data-sopha-theme="light"]) .menu-c { --sopha-menu-accent: var(--sopha-v2-blue); }
html:not([data-sopha-theme="light"]) .menu-d { --sopha-menu-accent: var(--sopha-v2-warning); }
html:not([data-sopha-theme="light"]) .menu-e { --sopha-menu-accent: var(--sopha-v2-violet); }
html:not([data-sopha-theme="light"]) .menu-head { --sopha-menu-accent: #63e6ff; }

html:not([data-sopha-theme="light"]) body.sopha-home-page .menu-card {
  border-left: 3px solid var(--sopha-menu-accent, var(--sopha-v2-cyan)) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-home-page .menu-card .badge {
  color: #06101b !important;
  background: var(--sopha-menu-accent, var(--sopha-v2-cyan)) !important;
  border-color: transparent !important;
}

@media (min-width: 1200px) {
  html:not([data-sopha-theme="light"]) .sopha-navbar .navbar-collapse,
  html:not([data-sopha-theme="light"]) .sopha-polished .navbar-collapse {
    position: static !important;
    transform: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

@media (max-width: 1199.98px) {
  html:not([data-sopha-theme="light"]) {
    --nav-h: 64px;
  }

  html:not([data-sopha-theme="light"]) body.sopha-nav-open {
    overflow: hidden;
  }

  html:not([data-sopha-theme="light"]) body.sopha-nav-open::after {
    content: "";
    position: fixed;
    inset: var(--nav-h, 64px) 0 0;
    z-index: 1020;
    background: rgba(1, 6, 14, .64);
    backdrop-filter: blur(2px);
  }

  html:not([data-sopha-theme="light"]) .sopha-navbar .navbar-collapse,
  html:not([data-sopha-theme="light"]) .sopha-polished .navbar-collapse {
    position: fixed !important;
    z-index: 1035;
    top: var(--nav-h, 64px);
    left: .65rem;
    right: .65rem;
    bottom: .65rem;
    padding: .85rem !important;
    background:
      linear-gradient(180deg, rgba(13, 31, 51, .98), rgba(7, 17, 31, .98)) !important;
    border: 1px solid rgba(25, 200, 255, .2);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
    overflow-y: auto !important;
    max-height: none !important;
  }

  html:not([data-sopha-theme="light"]) .sopha-navbar .navbar-collapse.collapsing {
    height: auto !important;
    transition: opacity .18s ease, transform .18s ease;
  }

  html:not([data-sopha-theme="light"]) .sopha-navbar .navbar-collapse:not(.show):not(.collapsing) {
    display: none !important;
  }

  html:not([data-sopha-theme="light"]) .sopha-navbar .navbar-collapse.show,
  html:not([data-sopha-theme="light"]) .sopha-navbar .navbar-collapse.collapsing {
    display: block !important;
  }

  html:not([data-sopha-theme="light"]) .nav-acc .accordion,
  html:not([data-sopha-theme="light"]) .nav-acc .accordion-item,
  html:not([data-sopha-theme="light"]) .nav-acc .accordion-button,
  html:not([data-sopha-theme="light"]) .nav-acc .accordion-body {
    color: #eaf6ff !important;
    background: transparent !important;
    border-color: rgba(148, 163, 184, .18) !important;
  }

  html:not([data-sopha-theme="light"]) .nav-acc .accordion-item {
    background: rgba(12, 26, 44, .84) !important;
    border: 1px solid rgba(148, 163, 184, .18) !important;
    border-radius: 8px !important;
    margin-bottom: .55rem;
    overflow: hidden;
  }

  html:not([data-sopha-theme="light"]) .nav-acc .accordion-button {
    color: #eff8ff !important;
    padding: .78rem .9rem;
  }

  html:not([data-sopha-theme="light"]) .nav-acc .accordion-button:not(.collapsed) {
    color: #8eeaff !important;
    background: rgba(25, 200, 255, .10) !important;
  }

  html:not([data-sopha-theme="light"]) .nav-acc .accordion-body {
    padding: .55rem .9rem .75rem;
  }

  html:not([data-sopha-theme="light"]) .nav-acc a {
    color: #cfefff !important;
    border-radius: 6px;
    padding-left: .4rem;
    padding-right: .4rem;
  }

  html:not([data-sopha-theme="light"]) .nav-acc a:hover,
  html:not([data-sopha-theme="light"]) .nav-acc a:focus {
    color: #ffffff !important;
    background: rgba(16, 191, 167, .14);
  }

  html:not([data-sopha-theme="light"]) .nav-acc .sec-title {
    color: #8eeaff !important;
  }

  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-responsive table.table,
  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-wrap table.table,
  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sopha-table-shell table.table,
  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sopha-auto-table-wrap table.table,
  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sopha-table-frame table.table {
    min-width: max(100%, 760px) !important;
    font-size: 12px;
  }

  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card-body,
  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .modal-body,
  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .accordion-body {
    padding: .9rem;
  }

  html:not([data-sopha-theme="light"]) body.sopha-home-page .hero {
    min-height: auto;
    padding: 1rem 0 1.5rem;
  }

  html:not([data-sopha-theme="light"]) body.sopha-home-page .menu-card {
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn:not(.navbar-toggler):not(.btn-close) {
    width: 100%;
  }

  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-group .btn,
  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) table.table .btn {
    width: auto;
  }

  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-responsive table.table,
  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-wrap table.table,
  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sopha-table-shell table.table,
  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sopha-auto-table-wrap table.table,
  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sopha-table-frame table.table {
    min-width: 720px !important;
  }
}

@media print {
  html:not([data-sopha-theme="light"]) {
    color-scheme: light;
  }
}

@media screen {
/* Legacy page dark consistency sweep */
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .oe-page,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .ie-page,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .container,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .container-fluid {
  color: #e7f3ff;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-title,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .section-title,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card-title,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) h1,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) h2,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) h3,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) h4,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) h5,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) h6 {
  color: #f4fbff;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .topbar,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sticky-hero {
  background:
    linear-gradient(135deg, rgba(6, 19, 34, .94), rgba(8, 54, 61, .84)) !important;
  border-color: rgba(25, 200, 255, .18) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .26);
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-spacer {
  height: 56px !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card-ghost,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .summary-bar,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .chart-box,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-wrap,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .codes-wrap,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .signature-preview,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .list-group,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .list-group-item {
  color: #e7f3ff !important;
  background:
    linear-gradient(180deg, rgba(15, 31, 51, .96), rgba(8, 20, 35, .96)) !important;
  border-color: rgba(148, 163, 184, .18) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .24) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card-ghost,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .summary-bar,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .chart-box,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-wrap,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .codes-wrap,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .signature-preview,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .list-group {
  border: 1px solid rgba(148, 163, 184, .18) !important;
  border-radius: 8px !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .bg-white,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .bg-light,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card-header.bg-white,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table .bg-light,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table .bg-white {
  color: #e7f3ff !important;
  background-color: rgba(15, 31, 51, .94) !important;
  background-image: none !important;
  border-color: rgba(148, 163, 184, .18) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .summary-bar {
  z-index: 30;
  padding: .75rem 1rem !important;
  margin-bottom: .85rem !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .mat-strip,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .lab-strip {
  border-radius: 8px !important;
  border: 1px solid transparent;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .mat-strip {
  color: #dff9ff !important;
  background: rgba(25, 200, 255, .08) !important;
  border-color: rgba(25, 200, 255, .18) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .lab-strip {
  color: #fff1d0 !important;
  background: rgba(244, 183, 64, .08) !important;
  border-color: rgba(244, 183, 64, .20) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .chip,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .badge.text-bg-light,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .text-bg-light,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .bg-light.text-dark,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .badge.bg-light {
  color: #eaf8ff !important;
  background: rgba(25, 200, 255, .13) !important;
  border: 1px solid rgba(25, 200, 255, .26) !important;
  box-shadow: none !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .chip .num,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .badge strong {
  color: #ffffff !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .chart-box {
  width: min(100%, 560px);
  padding: .75rem;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) #overallPie {
  max-width: 100%;
  max-height: min(480px, 66vh);
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .legend-dot {
  border-color: rgba(255, 255, 255, .78) !important;
  box-shadow: 0 0 0 1px rgba(2, 8, 16, .25) inset !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .form-text,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .text-muted,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) small {
  color: #9fb9cf !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-wrap {
  max-width: 100%;
  overflow: auto !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-wrap table.table,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-responsive table.table {
  border-collapse: separate !important;
  border-spacing: 0;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-bordered > :not(caption) > * {
  border-width: 0 !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-bordered > :not(caption) > * > * {
  border-color: rgba(148, 163, 184, .20) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-hover > tbody > tr:hover > * {
  color: #ffffff !important;
  background-color: rgba(25, 200, 255, .08) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sticky-head,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .task-table thead th,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) td[style*="background:#fff"],
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) td[style*="background: #fff"],
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) th[style*="background:#fff"],
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) th[style*="background: #fff"] {
  color: #eaffff !important;
  background: linear-gradient(180deg, #17314d, #11273f) !important;
  border-color: rgba(25, 200, 255, .22) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-soft,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-outline-secondary {
  color: #e7f8ff !important;
  background: rgba(15, 31, 51, .86) !important;
  border-color: rgba(148, 163, 184, .26) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-soft:hover,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-outline-secondary:hover {
  color: #06101b !important;
  background: linear-gradient(135deg, #8eeaff, #19c8ff) !important;
  border-color: rgba(142, 234, 255, .72) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-title-bar,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filters-card,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .report-card,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .note-small,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-note-top,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .toolbar {
  color: #e7f3ff !important;
  background:
    linear-gradient(180deg, rgba(15, 31, 51, .97), rgba(8, 20, 35, .97)) !important;
  border: 1px solid rgba(148, 163, 184, .18) !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .24) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-title-bar {
  align-items: center;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filters-card .form-label,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filters-card label,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .report-card .note-small,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-note-top {
  color: #b8d5e8 !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filters-card .form-control,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filters-card .form-select,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filters-card input,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filters-card select {
  color: #eef9ff !important;
  background-color: rgba(5, 16, 30, .88) !important;
  border-color: rgba(148, 163, 184, .26) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filters-card .form-control::placeholder,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filters-card .form-select::placeholder {
  color: #7794aa !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filters-card .form-control:disabled,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filters-card .form-select:disabled,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filters-card input:disabled,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filters-card select:disabled {
  color: #8ea7ba !important;
  background-color: rgba(45, 58, 75, .82) !important;
  opacity: 1 !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-hover tbody tr:hover,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table tbody tr:hover {
  color: #ffffff !important;
  background: rgba(25, 200, 255, .08) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table tbody tr:hover td,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table tbody tr:hover th,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table tbody tr:hover td.sticky-left,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table tbody tr:hover td.sticky-left-2 {
  color: #ffffff !important;
  background-color: rgba(25, 200, 255, .08) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) td.sticky-left,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) td.sticky-left-2,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) th.sticky-left,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) th.sticky-left-2 {
  color: #e7f3ff !important;
  background: rgba(12, 26, 44, .98) !important;
  border-color: rgba(148, 163, 184, .20) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-outline-info {
  color: #8eeaff !important;
  background: rgba(25, 200, 255, .08) !important;
  border-color: rgba(25, 200, 255, .42) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-outline-info:hover,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-outline-info.active,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-check:checked + .btn-outline-info {
  color: #06101b !important;
  background: #19c8ff !important;
  border-color: #19c8ff !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card {
  overflow: hidden;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card > .card-header {
  min-height: 48px;
  padding: .78rem 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card > .card-header.bg-primary,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card > .card-header.bg-info,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card > .card-header.text-bg-primary {
  color: #ffffff !important;
  background:
    linear-gradient(90deg, rgba(16, 191, 167, .94), rgba(25, 127, 232, .96)) !important;
  border-bottom: 1px solid rgba(142, 234, 255, .26) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card > .card-header.bg-white,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .card > .card-header.bg-light {
  color: #f4fbff !important;
  background:
    linear-gradient(180deg, rgba(15, 31, 51, .97), rgba(12, 26, 44, .97)) !important;
  border-bottom: 1px solid rgba(148, 163, 184, .18) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filter-actions .btn {
  margin: 0 !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .18);
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filter-actions .btn-light,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filter-actions .btn-outline-light {
  color: #eaffff !important;
  background: rgba(7, 17, 31, .62) !important;
  border-color: rgba(142, 234, 255, .30) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filter-actions .btn-light:hover,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .filter-actions .btn-outline-light:hover {
  color: #06101b !important;
  background: #8eeaff !important;
  border-color: #8eeaff !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: rgba(25, 200, 255, .055) !important;
  background-color: rgba(25, 200, 255, .055) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-striped > tbody > tr:nth-of-type(even) > * {
  --bs-table-accent-bg: rgba(7, 17, 31, .26) !important;
  background-color: rgba(7, 17, 31, .26) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table tfoot th,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table tfoot td,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table tfoot.table-light th,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table tfoot.table-light td {
  color: #ffffff !important;
  background: rgba(16, 191, 167, .13) !important;
  border-top: 1px solid rgba(25, 200, 255, .30) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-outline-primary {
  color: #8eeaff !important;
  background: rgba(25, 200, 255, .08) !important;
  border-color: rgba(25, 200, 255, .42) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-outline-primary:hover {
  color: #06101b !important;
  background: #19c8ff !important;
  border-color: #19c8ff !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-warning {
  color: #1f1604 !important;
  background: linear-gradient(180deg, #ffd166, #f4b740) !important;
  border-color: #f4b740 !important;
  box-shadow: 0 10px 24px rgba(244, 183, 64, .22);
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .badge.bg-success,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .text-bg-success {
  color: #062118 !important;
  background: #43e0b2 !important;
  border: 1px solid rgba(67, 224, 178, .38) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .layout {
  gap: 16px !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .layout > .sidebar,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .layout > .paper {
  color: #e7f3ff !important;
  background:
    linear-gradient(180deg, rgba(15, 31, 51, .97), rgba(8, 20, 35, .97)) !important;
  border: 1px solid rgba(148, 163, 184, .20) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .layout > .paper {
  overflow: hidden;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .layout > .paper > .p-3 {
  padding: 1rem !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sidebar .head {
  color: #f4fbff !important;
  background:
    linear-gradient(90deg, rgba(16, 191, 167, .20), rgba(25, 127, 232, .18)) !important;
  border-bottom: 1px solid rgba(142, 234, 255, .22) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sidebar .list a {
  color: #dcefff !important;
  border-bottom: 1px solid rgba(148, 163, 184, .16) !important;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sidebar .list a:hover {
  color: #ffffff !important;
  background: rgba(25, 200, 255, .08) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sidebar .list a.item-active {
  color: #ffffff !important;
  background: rgba(25, 200, 255, .13) !important;
  border-left: 4px solid #19c8ff !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sidebar .meta {
  color: #9fb9cf !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sidebar .amt,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sidebar .no {
  color: #dff9ff !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .paper .form-label,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .paper label,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .paper .fw-semibold,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .paper .fw-bold {
  color: #eaf8ff !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .paper .row.g-2 {
  row-gap: .85rem !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .paper .border.p-2,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .paper .border {
  color: #dcefff !important;
  background: rgba(7, 17, 31, .42) !important;
  border-color: rgba(148, 163, 184, .18) !important;
  border-radius: 8px !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) #itemsTable {
  margin-bottom: .85rem !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) #itemsTable textarea.form-control {
  min-height: 94px;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) #itemsTable .amount-cell,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) #subTotalTxt,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) #baseTxt,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) #vatTxt,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) #grandTxt {
  color: #ffffff !important;
  font-variant-numeric: tabular-nums;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .billing-phase-select.phase-paid {
  color: #43e0b2 !important;
  background-color: rgba(67, 224, 178, .10) !important;
  border-color: rgba(67, 224, 178, .34) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .billing-phase-select.phase-unpaid {
  color: #ff8f9a !important;
  background-color: rgba(255, 87, 104, .10) !important;
  border-color: rgba(255, 87, 104, .34) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) #invForm > .row:first-of-type {
  padding-top: .25rem;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) #invForm .btn-primary.w-100 {
  min-height: 42px;
  margin-top: .6rem !important;
  color: #06101b !important;
  background: linear-gradient(90deg, #16d0bd, #19c8ff) !important;
  border-color: rgba(142, 234, 255, .42) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-header,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .plot-header,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .fieldset,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .pv-item,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .code-chip,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .toolbar .card,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-wrap.p-2,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .rounded-3.bg-white {
  color: #e7f3ff !important;
  background:
    linear-gradient(180deg, rgba(15, 31, 51, .96), rgba(8, 20, 35, .96)) !important;
  border-color: rgba(148, 163, 184, .18) !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .22) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table-sticky thead th,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .sticky-head thead th,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .table .sticky-head th {
  color: #eaffff !important;
  background: linear-gradient(180deg, #17314d, #11273f) !important;
  border-color: rgba(25, 200, 255, .22) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) tr.grandtotal-row > *,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) tr.grand-row > *,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .grandtotal-row > *,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .grand-row > * {
  color: #fff7d7 !important;
  background: rgba(244, 183, 64, .14) !important;
  border-top: 1px solid rgba(244, 183, 64, .32) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .diff-zero,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) tr.dirty-row > *,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) input.table-input:focus {
  color: #fff7d7 !important;
  background: rgba(244, 183, 64, .10) !important;
  border-color: rgba(244, 183, 64, .34) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .pv-remove {
  color: #ff8f9a !important;
  background: rgba(255, 95, 109, .12) !important;
  border-color: rgba(255, 95, 109, .24) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .btn-ghost {
  color: #e7f8ff !important;
  background: rgba(15, 31, 51, .86) !important;
  border-color: rgba(148, 163, 184, .26) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) > .container-fluid {
  width: min(100% - 28px, 1520px);
  max-width: 1520px;
  padding-inline: 0 !important;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) h3 {
  margin-bottom: 1rem !important;
  color: #f4fbff !important;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .form-check {
  width: fit-content;
  padding: .55rem .8rem .55rem 2.6rem;
  margin-bottom: .85rem !important;
  color: #cfefff;
  background: rgba(15, 31, 51, .86);
  border: 1px solid rgba(25, 200, 255, .20);
  border-radius: 8px;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-filters {
  margin-bottom: 1rem !important;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(15, 31, 51, .96), rgba(8, 20, 35, .96));
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .24);
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .row.g-3 > [class*="col-"] .card {
  min-height: 100%;
  border-left: 3px solid rgba(25, 200, 255, .70) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .row.g-3 > [class*="col-"]:nth-child(2) .card {
  border-left-color: rgba(67, 224, 178, .75) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .row.g-3 > [class*="col-"]:nth-child(3) .card {
  border-left-color: rgba(244, 183, 64, .85) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .row.g-3 .h4 {
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table-wrap {
  padding: 0 !important;
  max-height: calc(100vh - 315px);
  overflow: auto !important;
  border-color: rgba(25, 200, 255, .24) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table {
  margin: 0 !important;
  min-width: 1320px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  font-size: 12px;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table thead th {
  top: 0;
  z-index: 4;
  height: 46px;
  vertical-align: middle;
  color: #eaffff !important;
  background: linear-gradient(180deg, #173b5a, #102b45) !important;
  border-color: rgba(25, 200, 255, .28) !important;
  box-shadow: inset 0 -1px 0 rgba(25, 200, 255, .22);
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table thead tr:nth-child(2) th {
  top: 46px;
  height: 38px;
  background: linear-gradient(180deg, #12304e, #0d263e) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table th.sticky-left,
html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table td.sticky-left {
  left: 0;
  min-width: 80px;
  z-index: 5;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table th.sticky-left-2,
html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table td.sticky-left-2 {
  left: 80px;
  min-width: 210px;
  z-index: 5;
  box-shadow: 10px 0 18px rgba(0, 0, 0, .18);
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table thead th.sticky-left,
html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table thead th.sticky-left-2 {
  z-index: 8;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table tbody td.sticky-left,
html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table tbody td.sticky-left-2 {
  color: #f4fbff !important;
  background: #0d2238 !important;
  border-color: rgba(25, 200, 255, .18) !important;
  font-weight: 800;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table tbody tr:nth-child(odd) > td:not(.sticky-left):not(.sticky-left-2) {
  background-color: rgba(25, 200, 255, .045) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table tbody tr:hover > td {
  color: #ffffff !important;
  background-color: rgba(25, 200, 255, .105) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table .table-input,
html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table input[readonly] {
  width: 128px;
  min-height: 34px;
  margin-left: auto;
  color: #ffffff !important;
  background-color: rgba(5, 16, 30, .88) !important;
  border-color: rgba(148, 163, 184, .24) !important;
  font-variant-numeric: tabular-nums;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table .table-input:focus {
  background-color: rgba(244, 183, 64, .12) !important;
  border-color: rgba(244, 183, 64, .46) !important;
  box-shadow: 0 0 0 .18rem rgba(244, 183, 64, .13) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table .table-success > *,
html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table tr.table-success > td {
  color: #fff7d7 !important;
  background: rgba(244, 183, 64, .15) !important;
  border-top: 1px solid rgba(244, 183, 64, .34) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table td.text-end,
html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table th.text-end {
  font-variant-numeric: tabular-nums;
}

@media screen {
  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print {
    color: #e7f3ff !important;
    background:
      radial-gradient(circle at 12% 0%, rgba(25, 200, 255, .14), transparent 34%),
      radial-gradient(circle at 86% 9%, rgba(16, 191, 167, .14), transparent 30%),
      linear-gradient(180deg, #081423 0%, #07111f 48%, #06101b 100%) !important;
  }

  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print > .container.no-print {
    width: min(100% - 28px, 1180px);
    max-width: 1180px !important;
    padding-top: 1.2rem !important;
    padding-bottom: .85rem !important;
  }

  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print > .container.no-print h3 {
    color: #f4fbff !important;
    font-size: 1.55rem;
  }

  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print > .container.no-print .text-muted {
    color: #9fb9cf !important;
  }

  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .layout {
    width: min(100% - 28px, 1180px);
    max-width: 1180px;
    gap: 18px;
    padding: 0 0 2rem;
  }

  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .layout > .sidebar {
    color: #e7f3ff !important;
    background:
      linear-gradient(180deg, rgba(15, 31, 51, .97), rgba(8, 20, 35, .97)) !important;
    border: 1px solid rgba(148, 163, 184, .20) !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28) !important;
  }

  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .sidebar .head {
    color: #f4fbff !important;
    background:
      linear-gradient(90deg, rgba(16, 191, 167, .20), rgba(25, 127, 232, .18)) !important;
    border-bottom: 1px solid rgba(142, 234, 255, .22) !important;
  }

  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .sidebar .list a {
    color: #dcefff !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(148, 163, 184, .16) !important;
  }

  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .sidebar .list a:hover,
  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .sidebar .list a.item-active {
    color: #ffffff !important;
    background: rgba(25, 200, 255, .11) !important;
  }

  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .sidebar .list a.item-active {
    border-left: 4px solid #19c8ff !important;
  }

  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .sidebar .meta {
    color: #9fb9cf !important;
  }

  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .sidebar .no,
  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .sidebar .amt {
    color: #dff9ff !important;
  }

  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .invoice-paper,
  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .layout > .paper.invoice-paper {
    color: #111827 !important;
    background: #ffffff !important;
    border: 1px solid #d8dee6 !important;
    box-shadow: 0 26px 74px rgba(0, 0, 0, .36) !important;
  }

  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .invoice-paper *,
  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .invoice-paper .doc-title,
  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .invoice-paper .seller-name,
  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .invoice-paper .label,
  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .invoice-paper .fw-semibold,
  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .invoice-paper .fw-bold,
  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .invoice-paper .project-note,
  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .invoice-paper .summary-label,
  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .invoice-paper .amount-words-inline {
    color: #111827 !important;
  }

  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .invoice-paper .muted,
  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .invoice-paper .sig-date {
    color: #374151 !important;
  }

  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .invoice-paper table.formtbl,
  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .invoice-paper table.formtbl th,
  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .invoice-paper table.formtbl td {
    color: #111827 !important;
    border-color: #111827 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
  }

  html:not([data-sopha-theme="light"]) body.tax-invoice-page.sopha-print .invoice-paper .dotline {
    border-color: #111827 !important;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview {
    color: #e7f3ff !important;
    background:
      radial-gradient(circle at 12% 0%, rgba(25, 200, 255, .14), transparent 34%),
      radial-gradient(circle at 86% 9%, rgba(16, 191, 167, .14), transparent 30%),
      linear-gradient(180deg, #081423 0%, #07111f 48%, #06101b 100%) !important;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview > .container.no-print {
    width: min(100% - 28px, 1180px);
    max-width: 1180px !important;
    padding-top: 1.2rem !important;
    padding-bottom: .85rem !important;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview > .container.no-print h3 {
    color: #f4fbff !important;
    font-size: 1.55rem;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview > .container.no-print .text-muted {
    color: #9fb9cf !important;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .layout {
    width: min(100% - 28px, 1180px);
    max-width: 1180px;
    gap: 18px;
    padding: 0 0 2rem;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .layout > .sidebar {
    color: #e7f3ff !important;
    background:
      linear-gradient(180deg, rgba(15, 31, 51, .97), rgba(8, 20, 35, .97)) !important;
    border: 1px solid rgba(148, 163, 184, .20) !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28) !important;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .sidebar .head {
    color: #f4fbff !important;
    background:
      linear-gradient(90deg, rgba(16, 191, 167, .20), rgba(25, 127, 232, .18)) !important;
    border-bottom: 1px solid rgba(142, 234, 255, .22) !important;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .sidebar .list a {
    color: #dcefff !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(148, 163, 184, .16) !important;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .sidebar .list a:hover,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .sidebar .list a.item-active {
    color: #ffffff !important;
    background: rgba(25, 200, 255, .11) !important;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .sidebar .list a.item-active {
    border-left: 4px solid #19c8ff !important;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .sidebar .meta {
    color: #9fb9cf !important;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .sidebar .no,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .sidebar .amt {
    color: #dff9ff !important;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .layout > .paper {
    color: #111827 !important;
    background: #ffffff !important;
    border: 1px solid #d8dee6 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 26px 74px rgba(0, 0, 0, .36) !important;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .paper-inner {
    padding: 10mm !important;
    background: #ffffff !important;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 *,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 .name,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 .sub,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 .k,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 .v,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 .lbl,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 .val,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 .doc-type,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 .tlabel,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 .tval,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 .boxsig {
    color: #111827 !important;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 .title-band,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 .amt-words {
    color: #111827 !important;
    background: #f3c9ad !important;
    background-color: #f3c9ad !important;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 table.items,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 table.items th,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 table.items td,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 table.totals,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 table.totals th,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 table.totals td {
    color: #111827 !important;
    border-color: #111827 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
  }

  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 .bottom-frame,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 .calc-frame,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 .amount-total-row,
  html:not([data-sopha-theme="light"]) body.billing-notice-page.billing-notice-preview .a4 .sign {
    color: #111827 !important;
    border-color: #111827 !important;
    background: #ffffff !important;
  }
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame {
  width: min(100% - 28px, 1320px);
  color: #e7f3ff !important;
  background:
    linear-gradient(180deg, rgba(14, 30, 50, .98), rgba(7, 18, 32, .98)) !important;
  border: 1px solid rgba(25, 200, 255, .22) !important;
  border-radius: 8px !important;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .30) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame > .d-flex:first-child {
  margin: -18px -20px 1rem !important;
  padding: .9rem 1.1rem;
  background: linear-gradient(90deg, rgba(16, 191, 167, .94), rgba(25, 127, 232, .96));
  border-bottom: 1px solid rgba(142, 234, 255, .26);
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame h4,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame h5,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame h6,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame .mini,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame .text-muted,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame .section-title {
  color: #dff9ff !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame > form:not(.m-0):not(.d-inline),
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame > .mini.mb-3,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame > .section-title {
  padding: 1rem;
  color: #dff9ff !important;
  background: rgba(10, 25, 43, .72);
  border: 1px solid rgba(25, 200, 255, .18);
  border-radius: 8px;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame .box-title,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame .section-title > span:first-child {
  color: #06101b !important;
  background: linear-gradient(90deg, #16d0bd, #19c8ff);
  border: 0 !important;
  border-radius: 8px;
  padding: .48rem .75rem !important;
  box-shadow: 0 12px 24px rgba(25, 200, 255, .16);
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame .table-responsive {
  border: 1px solid rgba(25, 200, 255, .22) !important;
  border-radius: 8px !important;
  background: rgba(12, 26, 44, .96) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame table.table {
  min-width: 920px;
  border-collapse: separate !important;
  border-spacing: 0;
  font-size: 12px;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame .table thead.table-header th,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame .table thead th,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame .table-fixed-header thead th,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame .sticky-head thead th {
  color: #eaffff !important;
  background: linear-gradient(180deg, #173b5a, #102b45) !important;
  border-color: rgba(25, 200, 255, .28) !important;
  box-shadow: inset 0 -1px 0 rgba(25, 200, 255, .22);
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame .table tbody td,
html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame .table tfoot td {
  color: #e7f3ff !important;
  background-color: rgba(9, 23, 39, .98) !important;
  border-color: rgba(148, 163, 184, .17) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame .table tbody tr:nth-child(even) td {
  background-color: rgba(12, 31, 52, .98) !important;
}

html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-frame .table tbody tr:hover > td {
  color: #ffffff !important;
  background-color: rgba(25, 200, 255, .09) !important;
}

html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .page-frame {
  width: min(100% - 28px, 1480px);
  max-width: 1480px;
  color: #e7f3ff !important;
  background:
    linear-gradient(180deg, rgba(15, 31, 51, .97), rgba(8, 20, 35, .97)) !important;
  border: 1px solid rgba(25, 200, 255, .24) !important;
  border-radius: 8px !important;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .30) !important;
}

html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .page-frame > .d-flex:first-child {
  margin: -18px -20px 1rem !important;
  padding: .9rem 1.1rem;
  background: linear-gradient(90deg, rgba(16, 191, 167, .94), rgba(25, 127, 232, .96));
  border-bottom: 1px solid rgba(142, 234, 255, .26);
}

html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .page-frame h4,
html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .page-frame .mini,
html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .page-frame .text-muted {
  color: #dff9ff !important;
}

html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .central-price-filters,
html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .mini.mb-3 {
  padding: 1rem;
  color: #cfefff !important;
  background: rgba(7, 17, 31, .34);
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 8px;
}

html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .box-title {
  color: #06101b !important;
  background: linear-gradient(90deg, #16d0bd, #19c8ff);
  border: 0 !important;
  border-radius: 8px;
  padding: .5rem .8rem !important;
  box-shadow: 0 12px 24px rgba(25, 200, 255, .16);
}

html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .central-price-table-wrap {
  max-width: 100%;
  overflow: auto !important;
  border: 1px solid rgba(25, 200, 255, .22) !important;
  border-radius: 8px !important;
  background: rgba(12, 26, 44, .96) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
}

html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .central-price-table {
  min-width: 1180px;
  margin: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0;
  font-size: 12px;
}

html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .central-price-table thead.table-header,
html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .central-price-table thead.table-header tr,
html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .central-price-table thead.table-header th,
html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .central-price-table.sticky-head thead th {
  color: #eaffff !important;
  background: linear-gradient(180deg, #173b5a, #102b45) !important;
  border-color: rgba(25, 200, 255, .28) !important;
  box-shadow: inset 0 -1px 0 rgba(25, 200, 255, .22);
}

html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .central-price-table thead th {
  top: 0;
  z-index: 4;
  min-height: 42px;
  vertical-align: middle;
  white-space: normal;
  line-height: 1.35;
}

html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .central-price-table .eq-col {
  color: #06101b !important;
  background: linear-gradient(180deg, #ffd166, #f4b740) !important;
  border-color: rgba(244, 183, 64, .42) !important;
}

html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .central-price-table tbody td {
  color: #e7f3ff !important;
  border-color: rgba(148, 163, 184, .16) !important;
  vertical-align: middle;
}

html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .central-price-table tbody tr:hover > td {
  color: #ffffff !important;
  background-color: rgba(25, 200, 255, .09) !important;
}

html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .central-price-table tbody tr.row-selected > td {
  color: #eaffff !important;
  background-color: rgba(67, 224, 178, .10) !important;
}

html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .central-price-table tbody tr.row-missing-central > td {
  color: #ffe7ea !important;
  background-color: rgba(255, 95, 109, .10) !important;
}

html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .central-price-table .form-control,
html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .central-price-table .form-select {
  min-height: 34px;
  color: #eef9ff !important;
  background-color: rgba(5, 16, 30, .88) !important;
  border-color: rgba(148, 163, 184, .24) !important;
}

html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .central-price-table .cell-warn {
  border-color: rgba(255, 95, 109, .72) !important;
  box-shadow: 0 0 0 .12rem rgba(255, 95, 109, .12);
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .page-frame {
  width: min(100% - 28px, 1420px);
  max-width: 1420px;
  color: #e7f3ff !important;
  background:
    linear-gradient(180deg, rgba(14, 30, 50, .98), rgba(7, 18, 32, .98)) !important;
  border: 1px solid rgba(25, 200, 255, .24) !important;
  border-radius: 8px !important;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .32) !important;
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .page-frame > .d-flex:first-child {
  margin: -18px -20px 1rem !important;
  padding: .95rem 1.1rem;
  background: linear-gradient(90deg, rgba(16, 191, 167, .94), rgba(25, 127, 232, .96));
  border-bottom: 1px solid rgba(142, 234, 255, .26);
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .page-frame h4,
html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .page-frame .mini,
html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .page-frame .text-muted {
  color: #dff9ff !important;
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-filter-form,
html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-panel {
  color: #dff9ff !important;
  background: rgba(10, 25, 43, .82) !important;
  border: 1px solid rgba(25, 200, 255, .20) !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .20);
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-filter-form {
  padding: 1rem;
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-panel {
  padding: 1rem !important;
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .box-title {
  color: #06101b !important;
  background: linear-gradient(90deg, #16d0bd, #19c8ff);
  border: 0 !important;
  border-radius: 8px;
  padding: .5rem .8rem !important;
  box-shadow: 0 12px 24px rgba(25, 200, 255, .16);
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .form-label,
html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) label {
  color: #dff9ff !important;
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .form-control,
html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .form-select {
  color: #eef9ff !important;
  background-color: rgba(5, 16, 30, .88) !important;
  border-color: rgba(148, 163, 184, .26) !important;
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .form-control:focus,
html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .form-select:focus {
  border-color: rgba(25, 200, 255, .76) !important;
  box-shadow: 0 0 0 .18rem rgba(25, 200, 255, .15) !important;
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-table-wrap {
  max-width: 100%;
  overflow: auto !important;
  border: 1px solid rgba(25, 200, 255, .22) !important;
  border-radius: 8px !important;
  background: rgba(12, 26, 44, .96) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-table {
  min-width: 960px;
  border-collapse: separate !important;
  border-spacing: 0;
  font-size: 12px;
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-lines-table {
  min-width: 1040px;
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-recent-table {
  min-width: 1180px;
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-table thead.table-header,
html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-table thead.table-header tr,
html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-table thead.table-header th,
html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-table.sticky-head thead th {
  color: #eaffff !important;
  background: linear-gradient(180deg, #173b5a, #102b45) !important;
  border-color: rgba(25, 200, 255, .28) !important;
  box-shadow: inset 0 -1px 0 rgba(25, 200, 255, .22);
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-table tbody td,
html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-table tfoot td {
  color: #e7f3ff !important;
  background-color: rgba(9, 23, 39, .98) !important;
  border-color: rgba(148, 163, 184, .17) !important;
  vertical-align: middle;
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-table tbody tr:nth-child(even) td {
  background-color: rgba(12, 31, 52, .98) !important;
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-table tbody tr:hover > td {
  color: #ffffff !important;
  background-color: rgba(25, 200, 255, .09) !important;
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-table tfoot .table-light td,
html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-table tfoot tr.table-light td {
  color: #06101b !important;
  background: linear-gradient(90deg, rgba(22, 208, 189, .96), rgba(25, 200, 255, .96)) !important;
  border-color: rgba(142, 234, 255, .38) !important;
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-table .form-control,
html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-table .form-select {
  min-height: 34px;
  font-size: 12px;
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-recent-table ul {
  margin: 0;
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .slip-thumb {
  border-color: rgba(25, 200, 255, .35) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .modal-content {
  color: #e7f3ff !important;
  background: #0e2036 !important;
  border: 1px solid rgba(25, 200, 255, .24) !important;
}

html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .modal-header,
html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .modal-footer {
  border-color: rgba(25, 200, 255, .18) !important;
  background: rgba(8, 18, 31, .54) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) {
  background:
    radial-gradient(circle at top right, rgba(25, 200, 255, .10), transparent 34rem),
    linear-gradient(180deg, #0b2134 0, #071322 360px),
    #071322 !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .overview-shell {
  width: min(100% - 28px, 1480px);
  max-width: 1480px;
  padding-top: 1.15rem !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .overview-hero {
  position: relative;
  overflow: hidden;
  color: #e7f3ff;
  background:
    linear-gradient(135deg, rgba(15, 31, 51, .98), rgba(8, 56, 64, .92));
  border: 1px solid rgba(25, 200, 255, .24);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .30);
  padding: 1.15rem 1.25rem;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .overview-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #16d0bd, #19c8ff);
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .overview-eyebrow {
  color: #79f2e6;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .overview-hero h3 {
  color: #f4fbff !important;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .overview-hero .text-muted {
  color: #b7d3e6 !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .overview-filter-card {
  padding: 1rem;
  color: #e7f3ff;
  background: linear-gradient(180deg, rgba(15, 31, 51, .98), rgba(8, 20, 35, .98));
  border: 1px solid rgba(25, 200, 255, .22);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .24);
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .overview-filter-card .form-label {
  color: #dff9ff !important;
  font-weight: 850;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .overview-filter-card .form-control,
html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .overview-filter-card .form-select {
  min-height: 42px;
  color: #eef9ff !important;
  background-color: rgba(5, 16, 30, .88) !important;
  border-color: rgba(148, 163, 184, .28) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .overview-filter-card .form-control:focus,
html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .overview-filter-card .form-select:focus {
  border-color: rgba(25, 200, 255, .76) !important;
  box-shadow: 0 0 0 .18rem rgba(25, 200, 255, .15) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) #pleaseSelectNote,
html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .alert-info {
  color: #dff9ff !important;
  background: rgba(25, 200, 255, .10) !important;
  border: 1px solid rgba(25, 200, 255, .30) !important;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .20);
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .alert-warning {
  color: #ffe7b0 !important;
  background: rgba(255, 209, 102, .12) !important;
  border-color: rgba(255, 209, 102, .36) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .card {
  color: #e7f3ff !important;
  background: linear-gradient(180deg, rgba(15, 31, 51, .98), rgba(8, 20, 35, .98)) !important;
  border: 1px solid rgba(25, 200, 255, .20) !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .24) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .card-body {
  padding: 1rem !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .row.needs-ready > [class*="col-"] > .card {
  min-height: 100%;
  border-top: 3px solid #19c8ff !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .row.needs-ready > [class*="col-"]:nth-child(2) > .card {
  border-top-color: #43e0b2 !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .row.needs-ready > [class*="col-"]:nth-child(3) > .card {
  border-top-color: #ff6b7a !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .row.needs-ready > [class*="col-"]:nth-child(4) > .card {
  border-top-color: #ffd166 !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .card .text-muted,
html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .card small.text-muted,
html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .table .text-muted {
  color: #9eb7c9 !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .card .fs-4 {
  color: #f4fbff;
  line-height: 1.15;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .card .text-success,
html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .table .text-success {
  color: #43e0b2 !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .card .text-danger,
html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .table .text-danger {
  color: #ff9aa3 !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .card-header {
  color: #06101b !important;
  background: linear-gradient(90deg, #16d0bd, #19c8ff) !important;
  border-bottom: 1px solid rgba(142, 234, 255, .34) !important;
  font-weight: 900;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .card-header.bg-warning {
  background: linear-gradient(90deg, #ffd166, #f4b740) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .table-wrap {
  border: 0 !important;
  border-radius: 0 0 8px 8px !important;
  background: rgba(12, 26, 44, .96) !important;
  box-shadow: none !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) table.table {
  min-width: 1120px;
  --bs-table-bg: transparent;
  --bs-table-color: #e7f3ff;
  --bs-table-border-color: rgba(148, 163, 184, .17);
  font-size: 12px;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) table.table thead th {
  color: #eaffff !important;
  background: linear-gradient(180deg, #173b5a, #102b45) !important;
  border-color: rgba(25, 200, 255, .28) !important;
  box-shadow: inset 0 -1px 0 rgba(25, 200, 255, .22);
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) table.table tbody td,
html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) table.table tfoot th,
html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) table.table tfoot td {
  color: #e7f3ff !important;
  background-color: rgba(9, 23, 39, .98) !important;
  border-color: rgba(148, 163, 184, .16) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) table.table tbody tr:nth-child(even) td {
  background-color: rgba(12, 31, 52, .98) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) table.table tbody tr:hover > * {
  background-color: rgba(25, 200, 255, .09) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) table.table tfoot th,
html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) table.table tfoot td {
  color: #06101b !important;
  background: linear-gradient(90deg, rgba(22, 208, 189, .96), rgba(25, 200, 255, .96)) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .img-thumbnail {
  background: rgba(5, 16, 30, .88) !important;
  border-color: rgba(25, 200, 255, .32) !important;
  border-radius: 8px;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) {
  background:
    radial-gradient(circle at top right, rgba(25, 200, 255, .10), transparent 34rem),
    linear-gradient(180deg, #0b2134 0, #071322 340px),
    #071322 !important;
  color: #e7f3ff !important;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .sopha-navbar + div[style*="height"] {
  height: 22px !important;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .sticky-topbar {
  position: relative !important;
  top: auto !important;
  z-index: 1 !important;
  padding: 0 !important;
  margin: 1rem auto 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .container {
  width: min(100% - 28px, 1480px);
  max-width: 1480px;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .sticky-topbar .container {
  position: relative;
  overflow: hidden;
  color: #e7f3ff;
  background:
    linear-gradient(135deg, rgba(15, 31, 51, .98), rgba(8, 56, 64, .92));
  border: 1px solid rgba(25, 200, 255, .24);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .30);
  padding: 1.15rem 1.25rem;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .sticky-topbar .container::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #16d0bd, #19c8ff);
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .sticky-topbar h3 {
  color: #f4fbff !important;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.25;
  font-weight: 900;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .container.my-4 {
  margin-top: 1rem !important;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) #select-form.card,
html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .card {
  color: #e7f3ff !important;
  background: linear-gradient(180deg, rgba(15, 31, 51, .98), rgba(8, 20, 35, .98)) !important;
  border: 1px solid rgba(25, 200, 255, .20) !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .24) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) #select-form .card-body {
  padding: 1.05rem 1.1rem !important;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .card-header {
  color: #06101b !important;
  background: linear-gradient(90deg, #16d0bd, #19c8ff) !important;
  border-bottom: 1px solid rgba(142, 234, 255, .34) !important;
  font-weight: 900;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .form-label {
  color: #dff9ff !important;
  font-weight: 850;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .form-select,
html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .form-control {
  min-height: 42px;
  color: #eef9ff !important;
  background-color: rgba(5, 16, 30, .88) !important;
  border-color: rgba(148, 163, 184, .28) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .form-select:focus,
html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .form-control:focus {
  border-color: rgba(25, 200, 255, .76) !important;
  box-shadow: 0 0 0 .18rem rgba(25, 200, 255, .15) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) #select-form .btn-primary {
  min-height: 42px;
  color: #06101b !important;
  background: linear-gradient(90deg, #16d0bd, #19c8ff) !important;
  border: 0 !important;
  box-shadow: 0 12px 26px rgba(25, 200, 255, .18);
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .table-responsive {
  border: 1px solid rgba(25, 200, 255, .22) !important;
  border-radius: 8px !important;
  background: rgba(12, 26, 44, .96) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) table.table {
  min-width: 1280px;
  --bs-table-bg: transparent;
  --bs-table-color: #e7f3ff;
  --bs-table-border-color: rgba(148, 163, 184, .17);
  font-size: 12px;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) table.table thead th {
  color: #eaffff !important;
  background: linear-gradient(180deg, #173b5a, #102b45) !important;
  border-color: rgba(25, 200, 255, .28) !important;
  box-shadow: inset 0 -1px 0 rgba(25, 200, 255, .22);
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) table.table tbody td,
html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) table.table .table-light td {
  color: #e7f3ff !important;
  background-color: rgba(9, 23, 39, .98) !important;
  border-color: rgba(148, 163, 184, .16) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) table.table tbody tr:nth-child(even) td {
  background-color: rgba(12, 31, 52, .98) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) table.table tbody tr:hover > * {
  background-color: rgba(25, 200, 255, .09) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) tr.table-light td {
  color: #06101b !important;
  background: linear-gradient(90deg, rgba(22, 208, 189, .96), rgba(25, 200, 255, .96)) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .badge.bg-info {
  color: #06101b !important;
  background: #ffd166 !important;
  border: 0 !important;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .text-muted {
  color: #9eb7c9 !important;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .text-danger {
  color: #ff9aa3 !important;
}

html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) #preview {
  background: #ffffff !important;
  border: 1px solid rgba(25, 200, 255, .28) !important;
  border-radius: 8px !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) {
  background:
    radial-gradient(circle at top right, rgba(25, 200, 255, .10), transparent 34rem),
    linear-gradient(180deg, #0b2134 0, #071322 360px),
    #071322 !important;
  color: #e7f3ff !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .container-narrow {
  width: min(100% - 28px, 1480px);
  max-width: 1480px !important;
  padding-inline: 0 !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .container-narrow > h3 {
  position: relative;
  overflow: hidden;
  color: #f4fbff !important;
  background: linear-gradient(135deg, rgba(15, 31, 51, .98), rgba(8, 56, 64, .92));
  border: 1px solid rgba(25, 200, 255, .24);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .30);
  padding: 1.15rem 1.25rem 1.15rem 1.45rem;
  margin-bottom: 1rem !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .container-narrow > h3::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #16d0bd, #19c8ff);
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #filters,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #reqForm,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .container-narrow > .card,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .summary-chip {
  color: #e7f3ff !important;
  background: linear-gradient(180deg, rgba(15, 31, 51, .98), rgba(8, 20, 35, .98)) !important;
  border: 1px solid rgba(25, 200, 255, .20) !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .24) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #filters {
  padding: 1rem;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .card-body,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #reqForm {
  padding: 1rem !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .form-label,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .form-text,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .text-muted,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .summary-chip .label {
  color: #9eb7c9 !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .form-label {
  color: #dff9ff !important;
  font-weight: 850;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .form-select,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .form-control,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) textarea {
  color: #eef9ff !important;
  background-color: rgba(5, 16, 30, .88) !important;
  border-color: rgba(148, 163, 184, .28) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .form-select:focus,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .form-control:focus,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) textarea:focus {
  border-color: rgba(25, 200, 255, .76) !important;
  box-shadow: 0 0 0 .18rem rgba(25, 200, 255, .15) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .summary-chip .value,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .print-title {
  color: #f4fbff !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .row-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(25, 200, 255, .16);
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .row-tools .ms-auto {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .table-responsive {
  border: 1px solid rgba(25, 200, 255, .22) !important;
  border-radius: 8px !important;
  background: rgba(12, 26, 44, .96) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) table.table {
  --bs-table-bg: transparent;
  --bs-table-color: #e7f3ff;
  --bs-table-border-color: rgba(148, 163, 184, .17);
  font-size: 12px;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #latestTbl {
  min-width: 1380px;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) table.table thead th {
  color: #eaffff !important;
  background: linear-gradient(180deg, #173b5a, #102b45) !important;
  border-color: rgba(25, 200, 255, .28) !important;
  box-shadow: inset 0 -1px 0 rgba(25, 200, 255, .22);
  vertical-align: middle;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) table.table tbody td,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) table.table tfoot td {
  color: #e7f3ff !important;
  background-color: rgba(9, 23, 39, .98) !important;
  border-color: rgba(148, 163, 184, .16) !important;
  vertical-align: top;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) table.table tbody tr:nth-child(even) td {
  background-color: rgba(12, 31, 52, .98) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) table.table tbody tr:hover > * {
  background-color: rgba(25, 200, 255, .09) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #latestTbl .col-check { width: 38px; }
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #latestTbl .col-id { width: 54px; }
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #latestTbl .col-cycle { width: 84px; }
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #latestTbl .col-info { width: 330px; }
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #latestTbl .col-main { width: 135px; }
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #latestTbl .col-ctr { width: 120px; }
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #latestTbl .col-items { width: 440px; }
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #latestTbl .col-amt { width: 105px; text-align: right; }
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #latestTbl .col-status { width: 110px; text-align: center; }
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #latestTbl .col-actions { width: 90px; }

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #latestTbl .col-info .small {
  color: #dff9ff !important;
  line-height: 1.45;
  white-space: normal;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #latestTbl .col-info form {
  margin-top: .35rem;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #latestTbl .col-info input[type="date"] {
  min-height: 34px;
  width: 132px !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) #latestTbl .col-info .btn {
  min-height: 34px;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .items-list {
  white-space: normal !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .items-list > .badge {
  margin-bottom: .45rem;
  color: #06101b !important;
  background: linear-gradient(90deg, #16d0bd, #19c8ff) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .items-list ul {
  display: grid;
  gap: .35rem;
  margin: .4rem 0 0 !important;
  padding: 0 !important;
  list-style: none;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .items-list li,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .items-list li.text-dark {
  color: #dff9ff !important;
  background: rgba(5, 16, 30, .72) !important;
  border-left: 3px solid #19c8ff;
  border-radius: 7px;
  padding: .34rem .45rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .items-list li.text-danger {
  color: #ffb3bb !important;
  background: rgba(255, 95, 109, .10) !important;
  border-left-color: #ff5f6d;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .badge.text-bg-secondary,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .badge.bg-secondary {
  color: #06101b !important;
  background: #9eb7c9 !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .badge.text-bg-success,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .badge.bg-success {
  color: #04231b !important;
  background: #43e0b2 !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .badge.text-bg-primary,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .badge.bg-primary {
  color: #06101b !important;
  background: #19c8ff !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .badge.text-bg-danger,
html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .badge.bg-danger {
  color: #25070b !important;
  background: #ff6b7a !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .sticky-actions {
  background: rgba(8, 20, 35, .98) !important;
  border-top-color: rgba(25, 200, 255, .18) !important;
  border-radius: 0 0 8px 8px !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .alert-warning {
  color: #ffe7b0 !important;
  background: rgba(255, 209, 102, .12) !important;
  border-color: rgba(255, 209, 102, .36) !important;
}

html:not([data-sopha-theme="light"]) body.sopha-withdraw-page:not(.auth-bg):not(.sopha-print) .alert-danger {
  color: #ffb3bb !important;
  background: rgba(255, 95, 109, .12) !important;
  border-color: rgba(255, 95, 109, .36) !important;
}

@media (max-width: 767.98px) {
  html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .container {
    width: calc(100% - 16px);
  }

  html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) .sticky-topbar .container {
    padding: .95rem;
  }

  html:not([data-sopha-theme="light"]) body.sopha-print-select-page:not(.auth-bg):not(.sopha-print) #select-form .col-12.col-md-4.d-flex {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 767.98px) {
  html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) {
    padding-inline: .75rem !important;
  }

  html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .overview-shell {
    width: 100%;
    padding-inline: 0 !important;
  }

  html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .overview-hero,
  html:not([data-sopha-theme="light"]) body.sopha-overview-page:not(.auth-bg):not(.sopha-print) .overview-filter-card {
    padding: .9rem;
  }
}

@media (max-width: 767.98px) {
  html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .page-frame {
    width: calc(100% - 16px);
    margin: 12px auto;
    padding: .85rem;
  }

  html:not([data-sopha-theme="light"]) body.central-price-use-page:not(.auth-bg):not(.sopha-print) .page-frame > .d-flex:first-child {
    margin: -.85rem -.85rem 1rem !important;
    align-items: flex-start !important;
  }

  html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .page-frame {
    width: calc(100% - 16px);
    margin: 12px auto;
    padding: .85rem;
  }

  html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .page-frame > .d-flex:first-child {
    margin: -.85rem -.85rem 1rem !important;
    align-items: flex-start !important;
  }

  html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-panel .d-flex {
    align-items: flex-start !important;
    flex-wrap: wrap;
  }

  html:not([data-sopha-theme="light"]) body.purchase-order-page:not(.auth-bg):not(.sopha-print) .po-panel .d-flex.gap-2 {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) {
    padding-inline: .75rem !important;
  }

  html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) > .container-fluid {
    width: 100%;
  }

  html:not([data-sopha-theme="light"]) body.sopha-ie-pay-page:not(.auth-bg):not(.sopha-print) .ie-pay-table-wrap {
    max-height: 62vh;
  }
}

@media (max-width: 767.98px) {
  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .page-spacer {
    height: 44px !important;
  }

  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .summary-bar {
    position: relative !important;
    top: auto !important;
  }

  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .mat-strip,
  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .lab-strip {
    gap: .45rem !important;
  }

  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) .chart-box {
    padding: .5rem;
  }

  html:not([data-sopha-theme="light"]) body:not(.auth-bg):not(.sopha-print) #overallPie {
    height: 340px !important;
    max-height: 58vh;
  }
}
}

/* Explicit V3 light theme layer for pages reached from the main menu */
html[data-sopha-theme="light"] {
  --sopha-v2-bg: #eef2ef;
  --sopha-v2-bg-soft: #f7f4ec;
  --sopha-v2-surface: #fffdf7;
  --sopha-v2-surface-muted: #f4efe4;
  --sopha-v2-ink: #182620;
  --sopha-v2-muted: #66746b;
  --sopha-v2-line: #cbd7cf;
  --sopha-v2-brand: #0d8067;
  --sopha-v2-brand-dark: #095e4c;
  --sopha-v2-warm: #b7742d;
  --sopha-v2-warning: #d99a22;
  --sopha-v2-danger: #a63d3a;
  --sopha-v2-radius: 8px;
  --sopha-v2-shadow: 0 14px 34px rgba(24, 38, 32, .10);
  --sopha-v2-shadow-soft: 0 8px 22px rgba(24, 38, 32, .08);
  color-scheme: light;
}

html[data-sopha-theme="light"],
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print),
html[data-sopha-theme="light"] body.sopha-page:not(.auth-bg):not(.sopha-print),
html[data-sopha-theme="light"] body.sopha-polished:not(.auth-bg):not(.sopha-print),
html[data-sopha-theme="light"] body.bg-light:not(.auth-bg):not(.sopha-print),
html[data-sopha-theme="light"] body.p-3:not(.auth-bg):not(.sopha-print),
html[data-sopha-theme="light"] body.p-4:not(.auth-bg):not(.sopha-print),
html[data-sopha-theme="light"] body.pb-5:not(.auth-bg):not(.sopha-print),
html[data-sopha-theme="light"] body.container:not(.auth-bg):not(.sopha-print),
html[data-sopha-theme="light"] body.container-fluid:not(.auth-bg):not(.sopha-print) {
  color: var(--sopha-v2-ink) !important;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, .94) 0, rgba(238, 242, 239, .98) 310px),
    var(--sopha-v2-bg) !important;
  font-family: "Noto Sans Thai", "Sarabun", Tahoma, "Segoe UI", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) h1,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) h2,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) h3,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) h4,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) h5,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) h6,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .h1,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .h2,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .h3,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .h4,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .h5,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .h6,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .fw-bold,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .fw-semibold,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) strong {
  color: var(--sopha-v2-ink) !important;
  font-weight: 800;
  letter-spacing: 0 !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) p,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) td,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) th,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) li,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) label,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .form-label,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .form-check-label,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .card,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .card-body,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .modal-content,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .accordion-body,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .list-group-item,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .table,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .text-dark {
  color: var(--sopha-v2-ink) !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .text-muted,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .text-muted-soft,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) small,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .small,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .form-text,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .mini,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .muted,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .chip .label,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .summary-chip .label {
  color: var(--sopha-v2-muted) !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) a:not(.btn):not(.dropdown-item):not(.nav-link):not(.navbar-brand) {
  color: var(--sopha-v2-brand) !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) a:not(.btn):not(.dropdown-item):not(.nav-link):not(.navbar-brand):hover {
  color: var(--sopha-v2-brand-dark) !important;
}

html[data-sopha-theme="light"] .sopha-navbar,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .navbar.fixed-top,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .payment-navbar {
  background: linear-gradient(180deg, #18352d 0%, #102820 100%) !important;
  border-bottom: 3px solid var(--sopha-v2-warm) !important;
  box-shadow: 0 14px 30px rgba(16, 40, 32, .22) !important;
  color: #f6efe2 !important;
}

html[data-sopha-theme="light"] .sopha-navbar .navbar-brand,
html[data-sopha-theme="light"] .sopha-navbar .nav-link,
html[data-sopha-theme="light"] .sopha-navbar .navbar-text,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .navbar.fixed-top .navbar-brand,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .navbar.fixed-top .nav-link,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .navbar.fixed-top .navbar-text {
  color: #f6efe2 !important;
  font-weight: 800;
}

html[data-sopha-theme="light"] .sopha-navbar .nav-link:hover,
html[data-sopha-theme="light"] .sopha-navbar .nav-link:focus,
html[data-sopha-theme="light"] .sopha-navbar .nav-link.active {
  color: #f2c078 !important;
  background: rgba(255, 255, 255, .10) !important;
}

html[data-sopha-theme="light"] .sopha-navbar .dropdown-menu,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .dropdown-menu {
  color: #20342b !important;
  background: #f4efe5 !important;
  border: 1px solid #cbbfae !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 38px rgba(24, 38, 32, .20) !important;
}

html[data-sopha-theme="light"] .sopha-navbar .dropdown-item,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .dropdown-item {
  color: #20342b !important;
}

html[data-sopha-theme="light"] .sopha-navbar .dropdown-item:hover,
html[data-sopha-theme="light"] .sopha-navbar .dropdown-item:focus,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .dropdown-item:hover,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .dropdown-item:focus {
  color: #102820 !important;
  background: #dfeadb !important;
}

html[data-sopha-theme="light"] .sopha-navbar .dropdown-header,
html[data-sopha-theme="light"] .sopha-navbar .sec-title,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .dropdown-header {
  color: #6f6254 !important;
  font-weight: 900;
}

html[data-sopha-theme="light"] .sopha-theme-switch {
  border-color: rgba(246, 239, 226, .34) !important;
  background: rgba(246, 239, 226, .14) !important;
}

html[data-sopha-theme="light"] .sopha-theme-switch button {
  color: #dbe7de !important;
}

html[data-sopha-theme="light"] .sopha-theme-switch button.is-active {
  color: #102820 !important;
  background: #f2c078 !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .card,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .filter-card,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .summary-chip,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .modal-content,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .accordion-item,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .list-group,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .page-frame,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .po-panel,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .po-filter-form,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) #filters,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) #reqForm,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .overview-filter-card,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .sticky-topbar .container {
  color: var(--sopha-v2-ink) !important;
  background: var(--sopha-v2-surface) !important;
  border-color: var(--sopha-v2-line) !important;
  box-shadow: var(--sopha-v2-shadow-soft) !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .card-header,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .card-footer,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .modal-header,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .modal-footer,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .accordion-button {
  color: var(--sopha-v2-ink) !important;
  background: var(--sopha-v2-surface-muted) !important;
  border-color: var(--sopha-v2-line) !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .bg-primary,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .bg-info,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .bg-success,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .text-bg-primary,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .text-bg-info,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .text-bg-success,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .card-header.bg-primary,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .card-header.bg-info,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .card-header.bg-success {
  color: #fff !important;
  background: var(--sopha-v2-brand) !important;
  border-color: var(--sopha-v2-brand) !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .bg-warning,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .text-bg-warning,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .card-header.bg-warning {
  color: #3d2b12 !important;
  background: #f0d7a6 !important;
  border-color: #e5c073 !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .bg-danger,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .text-bg-danger,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .card-header.bg-danger {
  color: #fff !important;
  background: var(--sopha-v2-danger) !important;
  border-color: var(--sopha-v2-danger) !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .form-control,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .form-select,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) textarea,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) input[type="text"],
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) input[type="number"],
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) input[type="date"],
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) input[type="email"],
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) input[type="password"],
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) input[type="search"] {
  color: var(--sopha-v2-ink) !important;
  background-color: #fffdf7 !important;
  border-color: #bfccc4 !important;
  box-shadow: none !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .form-control:focus,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .form-select:focus,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) textarea:focus,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) input:focus {
  color: var(--sopha-v2-ink) !important;
  background-color: #fffef9 !important;
  border-color: var(--sopha-v2-brand) !important;
  box-shadow: 0 0 0 .2rem rgba(13, 128, 103, .15) !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .table-responsive,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .table-wrap,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .sopha-table-shell,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .sopha-auto-table-wrap,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .sopha-table-frame,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .po-table-wrap,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .central-price-table-wrap,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .ie-pay-table-wrap {
  background: var(--sopha-v2-surface) !important;
  border-color: var(--sopha-v2-line) !important;
  box-shadow: var(--sopha-v2-shadow-soft) !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) table,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) table.table {
  --bs-table-bg: var(--sopha-v2-surface);
  --bs-table-color: var(--sopha-v2-ink);
  --bs-table-border-color: var(--sopha-v2-line);
  color: var(--sopha-v2-ink) !important;
  background-color: var(--sopha-v2-surface) !important;
  border-color: var(--sopha-v2-line) !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) table.table > :not(caption) > * > *,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) table > :not(caption) > * > * {
  color: var(--sopha-v2-ink) !important;
  background-color: var(--sopha-v2-surface) !important;
  border-color: rgba(102, 116, 107, .22) !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) table.table thead th,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) table thead th,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) table.table thead.table-light th,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) table.table thead.table-dark th,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .table-header th,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .sticky-head th {
  color: #24352d !important;
  background: #dfe8df !important;
  border-color: var(--sopha-v2-line) !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) table.table tbody tr:nth-child(even) > *,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) table tbody tr:nth-child(even) > * {
  background-color: #fbfaf6 !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) table.table tbody tr:hover > *,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) table tbody tr:hover > * {
  background-color: #eef7f1 !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .btn-primary,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .btn-success {
  color: #fff !important;
  background: var(--sopha-v2-brand) !important;
  border-color: var(--sopha-v2-brand) !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .btn-primary:hover,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .btn-success:hover {
  color: #fff !important;
  background: var(--sopha-v2-brand-dark) !important;
  border-color: var(--sopha-v2-brand-dark) !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .btn-outline-primary,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .btn-outline-info {
  color: var(--sopha-v2-brand) !important;
  background: #fffdf7 !important;
  border-color: rgba(13, 128, 103, .44) !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .btn-outline-primary:hover,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .btn-outline-info:hover {
  color: #fff !important;
  background: var(--sopha-v2-brand) !important;
  border-color: var(--sopha-v2-brand) !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .btn-outline-secondary,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .btn-outline-dark,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .btn-outline-light,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .btn-light {
  color: var(--sopha-v2-ink) !important;
  background: #faf6ed !important;
  border-color: #b8c5bd !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .alert-success {
  color: #0f5132 !important;
  background: #dceee5 !important;
  border-color: #b7ddc8 !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .alert-warning {
  color: #4b3412 !important;
  background: #f6e4bd !important;
  border-color: #e5c073 !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .alert-danger {
  color: #6b241f !important;
  background: #f6dddd !important;
  border-color: #e5b7b5 !important;
}

html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .badge,
html[data-sopha-theme="light"] body:not(.auth-bg):not(.sopha-print) .chip {
  font-weight: 800;
}

html[data-sopha-theme="light"] body.sopha-home-page:not(.auth-bg):not(.sopha-print) .hero-content,
html[data-sopha-theme="light"] body.sopha-home-page:not(.auth-bg):not(.sopha-print) .display-welcome,
html[data-sopha-theme="light"] body.sopha-home-page:not(.auth-bg):not(.sopha-print) .menu-card,
html[data-sopha-theme="light"] body.sopha-home-page:not(.auth-bg):not(.sopha-print) .menu-card .title {
  color: #1d2b24 !important;
}
