:root {
  --cativa-primary: #006298;
  --cativa-action: #006298;
  --cativa-action-hover: #004f7a;
  --cativa-action-active: #003f62;
  --cativa-brand: #006298;
  --cativa-primary-dark: #004f7a;
  --cativa-primary-deep: #0b344f;
  --cativa-primary-soft: #e6f1f7;
  --cativa-primary-soft-strong: #cfe3ef;
  --cativa-surface: #ffffff;
  --cativa-surface-alt: #f5f8fb;
  --cativa-surface-soft: #edf3f7;
  --cativa-border: #d8e3eb;
  --cativa-border-strong: #c1d1dd;
  --cativa-text: #173246;
  --cativa-text-muted: #5f7382;
  --cativa-success: #15825b;
  --cativa-warning: #b7791f;
  --cativa-danger: #c4495d;
  --cativa-info: #006298;
  --cativa-shadow: 0 22px 50px rgba(16, 42, 64, 0.08);
  --cativa-shadow-soft: 0 14px 32px rgba(16, 42, 64, 0.06);
  --cativa-radius: 24px;
  --cativa-radius-sm: 16px;
}

html[data-internal-theme='dark'] {
  --cativa-brand: #63bbea;
  --cativa-primary-dark: #6fc4ec;
  --cativa-primary-deep: #dff3ff;
  --cativa-primary-soft: #0f2d42;
  --cativa-primary-soft-strong: #17425d;
  --cativa-surface: #0d1822;
  --cativa-surface-alt: #13212d;
  --cativa-surface-soft: #192937;
  --cativa-border: #294050;
  --cativa-border-strong: #355168;
  --cativa-text: #e5eef5;
  --cativa-text-muted: #9aafbe;
  --cativa-success: #58d39d;
  --cativa-warning: #f4c66c;
  --cativa-danger: #ef96a3;
  --cativa-info: #63bbea;
  --cativa-shadow: 0 26px 54px rgba(0, 0, 0, 0.28);
  --cativa-shadow-soft: 0 18px 36px rgba(0, 0, 0, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--cativa-text);
  background:
    radial-gradient(circle at top left, rgba(0, 98, 152, 0.16), transparent 34%),
    linear-gradient(180deg, #f7fafc 0%, #edf3f7 100%);
}

html[data-internal-theme='dark'] body.app-shell-internal {
  color-scheme: dark;
  background:
    radial-gradient(circle at top left, rgba(0, 98, 152, 0.24), transparent 30%),
    linear-gradient(180deg, #08131c 0%, #0e1924 100%);
}

h1,
h2,
h3,
h4,
h5,
h6,
.app-topbar__eyebrow,
.sidebar-section__title {
  font-family: 'IBM Plex Sans', sans-serif;
}

a {
  color: var(--cativa-primary);
}

a:hover {
  color: var(--cativa-primary-dark);
}

.btn {
  border-radius: 7px;
  background-image: none !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.72rem 1.2rem;
  border-width: 1px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: none;
}

.btn:focus {
  box-shadow: none;
}

.btn:focus-visible {
  outline: 3px solid var(--cativa-info);
  outline-offset: 3px;
  box-shadow: none;
}

.btn-primary,
.bg-primary {
  background: var(--cativa-action) !important;
  border-color: var(--cativa-action) !important;
  color: #ffffff !important;
  box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--cativa-action-hover) !important;
  border-color: var(--cativa-action-hover) !important;
  color: #ffffff !important;
}

.btn-primary:active,
.btn-primary.active,
.btn-check:checked + .btn-primary {
  background: var(--cativa-action-active) !important;
  border-color: var(--cativa-action-active) !important;
}

.btn-primary:disabled,
.btn-primary.disabled {
  background: var(--cativa-action) !important;
  border-color: var(--cativa-action) !important;
}

.btn-outline-primary {
  border-color: rgba(0, 98, 152, 0.2);
  color: var(--cativa-primary);
  background: rgba(255, 255, 255, 0.8);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  border-color: rgba(0, 98, 152, 0.32);
  color: var(--cativa-primary-dark);
  background: var(--cativa-primary-soft);
}

.btn-outline-secondary,
.btn-secondary {
  border-color: var(--cativa-border-strong);
  color: var(--cativa-text);
  background: rgba(255, 255, 255, 0.9);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--cativa-surface-soft);
  border-color: var(--cativa-border-strong);
  color: var(--cativa-text);
}

.btn-success {
  background: var(--cativa-success);
  border-color: transparent;
}

.btn-danger {
  background: var(--cativa-danger);
  border-color: transparent;
}

.form-control,
.form-select,
.input-group-text {
  border-color: var(--cativa-border);
  background: rgba(255, 255, 255, 0.94);
  color: var(--cativa-text);
  border-radius: 18px;
  min-height: 48px;
}

.form-control::placeholder {
  color: #8aa0b1;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(0, 98, 152, 0.45);
  box-shadow: 0 0 0 0.18rem rgba(0, 98, 152, 0.14);
}

.form-label {
  color: var(--cativa-text);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.form-text,
.text-muted,
small.text-muted {
  color: var(--cativa-text-muted) !important;
}

.card {
  border: 1px solid rgba(193, 209, 221, 0.9);
  border-radius: var(--cativa-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--cativa-shadow-soft);
  overflow: hidden;
}

.card.shadow-sm,
.shadow-sm {
  box-shadow: var(--cativa-shadow-soft) !important;
}

.card-header,
.card-footer {
  border-color: var(--cativa-border);
  background: linear-gradient(180deg, rgba(245, 248, 251, 0.96) 0%, rgba(237, 243, 247, 0.92) 100%);
  padding: 1rem 1.25rem;
}

.card-header.bg-light,
.table-light,
.bg-light {
  background: linear-gradient(180deg, rgba(245, 248, 251, 0.96) 0%, rgba(237, 243, 247, 0.92) 100%) !important;
}

.card-body {
  padding: 1.25rem;
}

.table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(237, 243, 247, 0.65);
  --bs-table-hover-bg: rgba(0, 98, 152, 0.05);
  color: var(--cativa-text);
}

.table thead th {
  color: var(--cativa-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom-color: var(--cativa-border);
}

.table td,
.table th {
  border-color: var(--cativa-border);
  vertical-align: middle;
}

.table-responsive {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 98, 152, 0.24) transparent;
}

.table-responsive::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: rgba(0, 98, 152, 0.24);
  border-radius: 999px;
}

.badge {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.75rem;
}

.bg-success {
  background: var(--cativa-success) !important;
}

.bg-danger {
  background: var(--cativa-danger) !important;
}

.bg-warning {
  background: #d79a34 !important;
}

.bg-info,
.badge-info {
  background: var(--cativa-info) !important;
}

.alert {
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 0.95rem 1.1rem;
}

.alert-primary {
  color: var(--cativa-primary-deep);
  background: var(--cativa-primary-soft);
  border-color: rgba(0, 98, 152, 0.16);
}

.alert-success {
  color: #0d4d36;
  background: rgba(21, 130, 91, 0.12);
  border-color: rgba(21, 130, 91, 0.16);
}

.alert-warning {
  color: #704813;
  background: rgba(183, 121, 31, 0.12);
  border-color: rgba(183, 121, 31, 0.16);
}

.alert-danger {
  color: #7d2637;
  background: rgba(196, 73, 93, 0.12);
  border-color: rgba(196, 73, 93, 0.16);
}

.modal-content {
  border-radius: 24px;
  border: 1px solid var(--cativa-border);
  box-shadow: var(--cativa-shadow);
}

.modal-header,
.modal-footer {
  border-color: var(--cativa-border);
}

.spinner-border {
  color: var(--cativa-primary);
}

body.app-shell-evendas .evendas-scroll-top {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 98, 152, 0.18);
  border-radius: 999px;
  bottom: 1.35rem;
  box-shadow: 0 12px 28px rgba(8, 26, 41, 0.14);
  color: var(--cativa-primary);
  cursor: pointer;
  display: inline-flex;
  height: 2.55rem;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 1.35rem;
  transform: translateY(0.55rem);
  transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  width: 2.55rem;
  z-index: 1040;
}

body.app-shell-evendas .evendas-scroll-top i {
  font-size: 1rem;
  line-height: 1;
}

body.app-shell-evendas .evendas-scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.app-shell-evendas .evendas-scroll-top:hover,
body.app-shell-evendas .evendas-scroll-top:focus {
  background: #ffffff;
  border-color: rgba(0, 98, 152, 0.34);
  color: var(--cativa-primary-dark);
  outline: 0;
}

html[data-internal-theme='dark'] body.app-shell-evendas .evendas-scroll-top {
  background: rgba(18, 31, 43, 0.9);
  border-color: rgba(125, 188, 216, 0.24);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  color: #8fd1ee;
}

html[data-internal-theme='dark'] body.app-shell-evendas .evendas-scroll-top:hover,
html[data-internal-theme='dark'] body.app-shell-evendas .evendas-scroll-top:focus {
  background: rgba(24, 42, 56, 0.98);
  border-color: rgba(143, 209, 238, 0.44);
  color: #d9f3ff;
}

@media (max-width: 640px) {
  body.app-shell-evendas .evendas-scroll-top {
    bottom: 0.9rem;
    height: 2.4rem;
    right: 0.9rem;
    width: 2.4rem;
  }
}

.pagination .page-link {
  border-radius: 999px;
  margin: 0 0.18rem;
  border-color: var(--cativa-border);
  color: var(--cativa-primary);
}

.pagination .page-item.active .page-link {
  background: var(--cativa-primary);
  border-color: var(--cativa-primary);
}

.app-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 332px minmax(0, 1fr);
  transition: grid-template-columns 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: grid-template-columns;
}

body.app-shell-no-sidebar .app-layout {
  grid-template-columns: minmax(0, 1fr);
}

.app-sidebar {
  position: sticky;
  top: 0;
  box-sizing: border-box;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  min-width: 0;
  overflow: hidden;
  padding: 1rem 1rem 1.05rem;
  width: 100%;
  background: #ffffff;
  color: var(--cativa-text);
  border-right: 1px solid var(--cativa-border);
  box-shadow: 14px 0 34px rgba(16, 42, 64, 0.06);
  transition:
    gap 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
  z-index: 40;
}

.app-sidebar__top {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
  transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-sidebar__toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  min-width: 0;
  padding: 0 0.15rem;
  transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-brand {
  position: relative;
  display: grid;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--cativa-text);
  text-decoration: none;
  padding: 0.15rem 0.15rem 0;
  transition:
    width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    gap 0.22s ease;
}

.app-brand__logo-wrap {
  display: flex;
  align-items: center;
  width: 182px;
  min-width: 182px;
  overflow: hidden;
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  transition:
    opacity 0.16s ease,
    transform 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear;
}

.app-brand__mark {
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.94);
  transform-origin: left center;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.16s ease,
    transform 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.16s;
}

.app-brand__mark .app-brand__logo {
  width: auto;
  height: 44px;
  max-width: none;
  flex: 0 0 auto;
}

.app-brand__logo {
  display: block;
  width: 182px;
  height: auto;
  max-width: none;
}

.app-brand__logo--dark {
  display: none;
}

.app-brand__text {
  display: block;
  max-width: 220px;
  overflow: hidden;
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  transition:
    max-width 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.16s ease 0.08s,
    transform 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear;
}

.app-brand__text strong {
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

.app-brand__text small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  opacity: 1;
  color: var(--cativa-text-muted);
  text-transform: uppercase;
}

.app-logout-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  color: var(--cativa-text-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  min-height: 40px;
  padding: 0.55rem 0.95rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--cativa-border);
  max-width: 110px;
  overflow: hidden;
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  transition:
    max-width 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    min-height 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.14s ease 0.06s,
    transform 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    visibility 0s linear;
}

.app-logout-link:hover {
  color: var(--cativa-primary-dark);
  background: var(--cativa-primary-soft);
}

.app-sidebar-minimize {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--cativa-border);
  border-radius: 14px;
  background: #ffffff;
  color: var(--cativa-text-muted);
  cursor: pointer;
  padding: 0.58rem 0.75rem;
  font-family: inherit;
  font-weight: 700;
  overflow: hidden;
  transition:
    width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    gap 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.app-sidebar-minimize span {
  max-width: 220px;
  overflow: hidden;
  white-space: nowrap;
  opacity: 1;
  transform: translateX(0);
  transition:
    max-width 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.14s ease 0.08s,
    transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-context-switch {
  text-decoration: none;
}

.app-sidebar-minimize:hover {
  background: var(--cativa-primary-soft);
  color: var(--cativa-primary-dark);
}

.app-sidebar-search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--cativa-border);
  box-shadow: 0 0 0 3px rgba(0, 98, 152, 0.05);
  max-height: 52px;
  overflow: hidden;
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  transition:
    max-height 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.14s ease 0.06s,
    transform 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    visibility 0s linear;
}

.app-sidebar-search i {
  color: var(--cativa-primary);
}

.app-sidebar-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--cativa-text);
  font-size: 0.92rem;
  min-height: auto;
  padding: 0;
}

.app-sidebar-search input::placeholder {
  color: #8093a3;
}

.app-theme-toggle {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.72rem;
  min-height: 46px;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--cativa-border);
  border-radius: 16px;
  background: #ffffff;
  color: var(--cativa-text);
  font-weight: 700;
  text-align: left;
  max-height: 54px;
  overflow: hidden;
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  transition:
    max-height 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    min-height 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.14s ease 0.06s,
    transform 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    visibility 0s linear;
}

.app-theme-toggle:hover {
  background: var(--cativa-primary-soft);
  color: var(--cativa-primary-dark);
}

.app-theme-toggle:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 98, 152, 0.14);
}

.app-theme-toggle__icon {
  width: 1.95rem;
  height: 1.95rem;
  flex: 0 0 1.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--cativa-primary-soft);
  color: var(--cativa-primary);
  font-size: 1rem;
}

.app-theme-toggle__text {
  line-height: 1.2;
  font-size: 0.92rem;
}

.app-sidebar__nav {
  flex: 1;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.95rem 0.78rem;
  background: #ffffff;
  border: 1px solid var(--cativa-border);
  border-radius: 30px;
  box-shadow: 0 16px 30px rgba(8, 26, 41, 0.06);
  transition:
    padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.app-sidebar__nav::-webkit-scrollbar {
  width: 6px;
}

.app-sidebar__nav::-webkit-scrollbar-thumb {
  background: rgba(0, 98, 152, 0.18);
  border-radius: 999px;
}

.sidebar-section + .sidebar-section {
  margin-top: 0.2rem;
}

.sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.28rem;
}

.sidebar-nav--level-1,
.sidebar-nav--level-2 {
  padding-left: 0;
}

.sidebar-disclosure {
  border-radius: 18px;
}

.sidebar-disclosure[open] {
  background: transparent;
}

.sidebar-disclosure summary {
  list-style: none;
}

.sidebar-disclosure summary::-webkit-details-marker {
  display: none;
}

.sidebar-link {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.82rem 0.95rem;
  border-radius: 16px;
  color: var(--cativa-text);
  text-decoration: none;
  font-weight: 700;
  transition:
    width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    min-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.is-active,
.sidebar-nav__item.is-active > .sidebar-link {
  background: rgba(0, 98, 152, 0.08);
  color: var(--cativa-primary-deep);
  box-shadow: inset 4px 0 0 var(--cativa-primary);
}

.sidebar-link--summary {
  cursor: pointer;
}

.sidebar-link--block,
.sidebar-link--standalone {
  min-height: 50px;
  font-size: 1.02rem;
  font-weight: 800;
}

.sidebar-link--block .sidebar-link__label,
.sidebar-link--standalone .sidebar-link__label {
  font-size: 1rem;
  line-height: 1.2;
}

.sidebar-link__start {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.72rem;
  flex: 1;
}

.sidebar-link__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--cativa-primary-dark);
  box-shadow: none;
  font-size: 1.08rem;
  line-height: 1;
}

.sidebar-link__icon > i,
.sidebar-link__icon > i::before {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.sidebar-link.is-active .sidebar-link__icon,
.sidebar-link:hover .sidebar-link__icon,
.sidebar-nav__item.is-active > .sidebar-link .sidebar-link__icon,
.sidebar-disclosure[open] > .sidebar-link .sidebar-link__icon,
.sidebar-disclosure[open] > summary .sidebar-link__icon {
  background: transparent;
  color: var(--cativa-primary);
}

.sidebar-link__label {
  flex: 1;
  min-width: 0;
  max-width: 240px;
  overflow: hidden;
  line-height: 1.25;
  font-size: 0.99rem;
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  transition:
    max-width 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.14s ease 0.08s,
    transform 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear;
}

.sidebar-link__warning {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.2rem;
  border-radius: 999px;
  background: rgba(183, 121, 31, 0.12);
  color: var(--cativa-warning);
  font-size: 0.82rem;
  animation: sidebar-warning-pulse 1.9s ease-in-out infinite;
  position: relative;
  transform-origin: center;
  will-change: box-shadow, opacity, transform;
}

body:not(.sidebar-minimized) .sidebar-link__warning {
  animation: none;
  opacity: 1;
  transform: none;
  will-change: auto;
}

body:not(.sidebar-minimized) .sidebar-link__warning::after {
  content: "";
  position: absolute;
  inset: -0.28rem;
  border: 1px solid rgba(244, 166, 42, 0.45);
  border-radius: 999px;
  pointer-events: none;
  animation: sidebar-warning-ring-pulse 1.9s ease-in-out infinite;
}

@keyframes sidebar-warning-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(244, 166, 42, 0.1);
    opacity: 0.72;
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(244, 166, 42, 0.18);
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes sidebar-warning-ring-pulse {
  0%,
  100% {
    opacity: 0.24;
    transform: scale(0.92);
  }

  50% {
    opacity: 0.92;
    transform: scale(1.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-layout,
  .app-sidebar,
  .app-sidebar__top,
  .app-sidebar__toolbar,
  .app-brand,
  .app-brand__mark,
  .app-brand__logo-wrap,
  .app-brand__logo,
  .app-brand__text,
  .app-logout-link,
  .app-sidebar-minimize,
  .app-sidebar-minimize span,
  .app-sidebar-search,
  .app-theme-toggle,
  .app-sidebar__nav,
  .sidebar-link,
  .sidebar-link__label,
  .sidebar-link__chevron,
  .sidebar-disclosure__body,
  .app-sidebar__footer,
  .app-user-card,
  .app-overlay {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .sidebar-link__warning {
    animation: none;
    opacity: 1;
  }

  .sidebar-link__warning::after {
    animation: none;
    opacity: 0.65;
  }
}

.sidebar-link__chevron {
  width: 0.8rem;
  flex: 0 0 0.8rem;
  font-size: 0.8rem;
  color: #6d8291;
  opacity: 1;
  visibility: visible;
  transition:
    width 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    flex-basis 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.14s ease 0.08s,
    transform 0.2s ease,
    color 0.2s ease,
    visibility 0s linear;
}

.sidebar-disclosure[open] > .sidebar-link .sidebar-link__chevron,
.sidebar-disclosure[open] > summary .sidebar-link__chevron {
  transform: rotate(90deg);
  color: var(--cativa-primary);
}

.sidebar-disclosure__body {
  padding: 0.12rem 0 0.32rem;
  max-height: 2400px;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition:
    max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.16s ease 0.08s,
    transform 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear;
}

.sidebar-disclosure__body--block {
  padding-top: 0.16rem;
}

.sidebar-nav--level-1,
.sidebar-nav--level-2,
.sidebar-nav--level-3 {
  position: relative;
  margin: 0.14rem 0 0.25rem 1.05rem;
  padding-left: 0.95rem;
  gap: 0.08rem;
}

.sidebar-nav--level-1::before,
.sidebar-nav--level-2::before,
.sidebar-nav--level-3::before {
  content: '';
  position: absolute;
  left: 0.22rem;
  top: 0.18rem;
  bottom: 0.2rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(0, 98, 152, 0.28) 0%, rgba(0, 98, 152, 0.08) 100%);
}

.sidebar-nav--level-1 .sidebar-link,
.sidebar-nav--level-2 .sidebar-link,
.sidebar-nav--level-3 .sidebar-link {
  padding: 0.52rem 0.55rem 0.52rem 0.92rem;
  border-radius: 12px;
  color: var(--cativa-text-muted);
  font-weight: 600;
  background: transparent;
  box-shadow: none;
}

.sidebar-nav--level-1 .sidebar-link::before,
.sidebar-nav--level-2 .sidebar-link::before,
.sidebar-nav--level-3 .sidebar-link::before {
  content: '';
  position: absolute;
  left: 0.18rem;
  top: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.18);
  transform: translateY(-50%);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-nav--level-1 .sidebar-link:hover,
.sidebar-nav--level-1 .sidebar-link.is-active,
.sidebar-nav--level-1 .sidebar-nav__item.is-active > .sidebar-link,
.sidebar-nav--level-2 .sidebar-link:hover,
.sidebar-nav--level-2 .sidebar-link.is-active,
.sidebar-nav--level-2 .sidebar-nav__item.is-active > .sidebar-link,
.sidebar-nav--level-3 .sidebar-link:hover,
.sidebar-nav--level-3 .sidebar-link.is-active,
.sidebar-nav--level-3 .sidebar-nav__item.is-active > .sidebar-link {
  background: rgba(0, 98, 152, 0.06);
  color: var(--cativa-primary-dark);
  box-shadow: none;
}

.sidebar-nav--level-1 .sidebar-link.is-active::before,
.sidebar-nav--level-1 .sidebar-nav__item.is-active > .sidebar-link::before,
.sidebar-nav--level-1 .sidebar-link:hover::before,
.sidebar-nav--level-2 .sidebar-link.is-active::before,
.sidebar-nav--level-2 .sidebar-nav__item.is-active > .sidebar-link::before,
.sidebar-nav--level-2 .sidebar-link:hover::before,
.sidebar-nav--level-3 .sidebar-link.is-active::before,
.sidebar-nav--level-3 .sidebar-nav__item.is-active > .sidebar-link::before,
.sidebar-nav--level-3 .sidebar-link:hover::before {
  background: var(--cativa-primary);
  box-shadow: 0 0 0 4px rgba(0, 98, 152, 0.12);
}

.sidebar-nav--level-1 .sidebar-link__icon,
.sidebar-nav--level-2 .sidebar-link__icon,
.sidebar-nav--level-3 .sidebar-link__icon {
  display: none;
}

body.app-shell-evendas .sidebar-nav--level-1 .sidebar-link__icon,
body.app-shell-evendas .sidebar-nav--level-2 .sidebar-link__icon,
body.app-shell-evendas .sidebar-nav--level-3 .sidebar-link__icon {
  display: inline-flex;
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 1.05rem;
  color: var(--cativa-primary-dark);
  font-size: 0.94rem;
}

.sidebar-nav--level-1 .sidebar-link__start,
.sidebar-nav--level-2 .sidebar-link__start,
.sidebar-nav--level-3 .sidebar-link__start {
  gap: 0;
}

body.app-shell-evendas .sidebar-nav--level-1 .sidebar-link__start,
body.app-shell-evendas .sidebar-nav--level-2 .sidebar-link__start,
body.app-shell-evendas .sidebar-nav--level-3 .sidebar-link__start {
  gap: 0.55rem;
}

body.app-shell-evendas .sidebar-nav--level-1 .sidebar-link:hover .sidebar-link__icon,
body.app-shell-evendas .sidebar-nav--level-1 .sidebar-link.is-active .sidebar-link__icon,
body.app-shell-evendas .sidebar-nav--level-1 .sidebar-nav__item.is-active > .sidebar-link .sidebar-link__icon,
body.app-shell-evendas .sidebar-nav--level-2 .sidebar-link:hover .sidebar-link__icon,
body.app-shell-evendas .sidebar-nav--level-2 .sidebar-link.is-active .sidebar-link__icon,
body.app-shell-evendas .sidebar-nav--level-2 .sidebar-nav__item.is-active > .sidebar-link .sidebar-link__icon,
body.app-shell-evendas .sidebar-nav--level-3 .sidebar-link:hover .sidebar-link__icon,
body.app-shell-evendas .sidebar-nav--level-3 .sidebar-link.is-active .sidebar-link__icon,
body.app-shell-evendas .sidebar-nav--level-3 .sidebar-nav__item.is-active > .sidebar-link .sidebar-link__icon {
  color: var(--cativa-primary);
}

.sidebar-nav--level-1 .sidebar-link__label {
  font-size: 0.92rem;
  line-height: 1.35;
}

.sidebar-nav--level-2 .sidebar-link__label,
.sidebar-nav--level-3 .sidebar-link__label {
  font-size: 0.88rem;
  line-height: 1.35;
}

.app-sidebar__footer {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
  padding-top: 0.1rem;
  transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-user-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--cativa-border);
  max-height: 74px;
  overflow: hidden;
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  transition:
    max-height 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.14s ease 0.06s,
    transform 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.2s ease,
    visibility 0s linear;
}

.app-user-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cativa-primary-soft);
  color: var(--cativa-primary-dark);
  font-weight: 800;
}

.app-user-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.app-user-card__meta strong {
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-user-card__meta small {
  color: var(--cativa-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Labeled navigation keeps every ERP module identifiable at a glance. */
.app-shell-internal #appSidebar.app-sidebar--labeled {
  display: flex;
  flex-direction: column;
  gap: 16px;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 16px 12px 12px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  color: #ffffff;
  background: var(--erp-sidebar-bg, #072e47);
  box-shadow: none;
  font-family: 'Vend Sans', sans-serif;
}

.app-shell-internal #appSidebar.app-sidebar--labeled :is(button, input) { font-family: inherit; }
.app-shell-internal #appSidebar.app-sidebar--labeled [hidden] { display: none !important; }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar__top { gap: 12px; }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 6px;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .app-brand {
  display: flex;
  min-height: 36px;
  width: auto;
  padding: 0;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .app-brand__logo-wrap {
  display: flex;
  min-width: 0;
  width: 118px;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .app-brand__logo { width: 118px; height: auto; }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-brand__mark { display: none; }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar__actions { display: flex; gap: 2px; }
.app-shell-internal #appSidebar.app-sidebar--labeled :is(.app-sidebar-minimize, .app-sidebar-close) {
  display: inline-flex;
  width: 32px;
  min-width: 32px;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.65);
  background: transparent;
  box-shadow: none;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar-close { display: none; }
.app-shell-internal #appSidebar.app-sidebar--labeled :is(.app-sidebar-minimize, .app-sidebar-close):hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar-search {
  display: flex;
  min-height: 40px;
  max-height: none;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar-search:focus-within {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.07);
}
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar-search input {
  min-width: 0;
  color: #ffffff;
  font-size: 0.79rem;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar-search input::placeholder { color: rgba(255, 255, 255, 0.62); }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar-search .material-symbols-outlined { color: inherit; font-size: 19px; }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar-search__clear {
  display: inline-flex;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar-search__clear:hover { background: rgba(255, 255, 255, 0.1); }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar__nav {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar__nav::-webkit-scrollbar { width: 4px; }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar__nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.22); border-radius: 10px; }
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-section + .sidebar-section { margin-top: 2px; }
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-link {
  width: 100%;
  min-height: 36px;
  gap: 8px;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 400;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-link__start { min-width: 0; gap: 10px; }
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-link__label {
  display: block;
  flex: 1 1 auto;
  max-width: none;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  color: inherit;
  font: inherit;
  line-height: 1.4;
  opacity: 1;
  visibility: visible;
  transform: none;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-link__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  box-shadow: none;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-link__icon .material-symbols-outlined { font-size: 21px; }
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-link:hover { color: #ffffff; background: rgba(255, 255, 255, 0.055); }
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-disclosure--block[open] > summary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.065);
  font-weight: 500;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-link.is-active { color: #ffffff; box-shadow: none; }
.app-shell-internal #appSidebar.app-sidebar--labeled a.sidebar-link.is-active {
  color: #ffffff;
  background: #006298;
  font-weight: 500;
  box-shadow: inset 2px 0 0 #9ed5ed;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-link:is(:hover, .is-active) .sidebar-link__icon { color: #ffffff; }
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-link__chevron {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  transform: rotate(-90deg);
}
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-disclosure[open] > summary .sidebar-link__chevron { transform: rotate(0); }
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-disclosure__body { max-height: none; padding: 3px 0 7px; }
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-nav {
  display: grid;
  gap: 1px;
  margin: 4px 0 4px 20px;
  padding: 0 0 0 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-nav .sidebar-nav { margin-left: 12px; }
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-nav .sidebar-link { min-height: 34px; padding: 7px 10px; font-size: 0.75rem; font-weight: 400; }
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-nav .sidebar-link__start { gap: 0; }
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-nav .sidebar-link__icon { display: none; }
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-nav::before,
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-nav .sidebar-link::before { display: none; }
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-link__warning { animation: none; box-shadow: none; will-change: auto; }
.app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-link__warning::after { display: none; }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar__empty { padding: 9px 10px; color: rgba(255, 255, 255, 0.8); font-size: 0.8rem; line-height: 1.6; }
.app-shell-internal #appSidebar.app-sidebar--labeled.is-searching [data-menu-unavailable] { display: none; }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar__footer { display: grid; gap: 6px; padding: 10px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }

.app-shell-internal #appSidebar.app-sidebar--labeled .app-context-switch {
  display: flex;
  width: 100%;
  min-height: 36px;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 0;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .app-context-switch:hover { color: #ffffff; background: rgba(255, 255, 255, 0.06); }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-profile-menu { position: relative; border: 0; }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-user-card {
  display: flex;
  width: 100%;
  min-height: 52px;
  max-height: none;
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: transparent;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  cursor: pointer;
  list-style: none;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .app-user-card::-webkit-details-marker { display: none; }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-user-card:hover,
.app-shell-internal #appSidebar.app-sidebar--labeled .app-profile-menu[open] > .app-user-card { background: rgba(255, 255, 255, 0.06); }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-user-card__avatar {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  font-weight: 600;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .app-user-card__meta { flex: 1 1 auto; gap: 3px; }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-user-card__meta strong { color: #ffffff; font-size: 0.77rem; font-weight: 600; }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-user-card__meta small { color: rgba(255, 255, 255, 0.62); font-size: 0.69rem; }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-profile-menu__actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  display: grid;
  gap: 3px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #ffffff;
  background: var(--erp-popover-bg, #0c354f);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 5;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .app-profile-action {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .app-profile-action:hover { background: rgba(255, 255, 255, 0.07); }
.app-shell-internal #appSidebar.app-sidebar--labeled :is(a, button, summary):focus-visible { outline: 2px solid rgba(255, 255, 255, 0.9); outline-offset: -2px; }

@media (min-width: 1101px) {
  /* Share the page background across the navigation and work area. */
  .app-shell-internal #appSidebar.app-sidebar--labeled { background: transparent; }
  body.app-shell-internal:not(.app-shell-evendas):has(#appSidebar.app-sidebar--labeled) .app-layout { grid-template-columns: 280px minmax(0, 1fr); }
  body.app-shell-internal.sidebar-minimized:has(#appSidebar.app-sidebar--labeled) .app-layout { grid-template-columns: 72px minmax(0, 1fr); }
  .app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled { gap: 12px; padding: 14px 6px 10px; }
  .app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled .app-sidebar__toolbar { flex-direction: column; gap: 6px; padding: 0; }
  .app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled .app-brand { width: 36px; height: 36px; min-height: 36px; }
  .app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled .app-brand__logo-wrap { display: none; }
  .app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled .app-brand__mark {
    position: static;
    display: flex;
    width: 36px;
    height: 36px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled .app-brand__mark .app-brand__logo { height: 36px; width: auto; }
  .app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled .app-sidebar-search { display: none; }
  .app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled .app-sidebar__nav { padding: 0; }
  .app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled .sidebar-link { width: 44px; height: 44px; min-height: 44px; margin: 0 auto; padding: 0; justify-content: center; }
  .app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled .sidebar-link__start { flex: 0 0 auto; justify-content: center; gap: 0; }
  .app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled :is(.sidebar-link__label, .sidebar-link__chevron, .sidebar-disclosure__body) { display: none; }
  .app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled .app-context-switch { justify-content: center; padding: 7px 0; }
  .app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled :is(.app-context-switch__label, .app-user-card__meta) { display: none; }
  .app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled .app-user-card { justify-content: center; padding: 8px 0; }
  .app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled .app-profile-menu__actions { position: fixed; left: 68px; right: auto; bottom: 12px; width: 232px; }

  /* The expanded menu overlays a stable rail without moving the work area. */
  body.app-shell-internal:not(.app-shell-evendas):has(#appSidebar.app-sidebar--hover) { background-attachment: fixed; }
  body.app-shell-internal:not(.app-shell-evendas):has(#appSidebar.app-sidebar--hover) .app-layout {
    grid-template-columns: 72px minmax(0, 1fr);
    background: inherit;
    background-attachment: fixed;
    transition: none;
  }
  /* Clip a fixed-width interior so icons stay in place while the rail opens. */
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover {
    --sidebar-motion: 220ms cubic-bezier(0.22, 1, 0.36, 1);
    --sidebar-row-height: 40px;
    width: 280px;
    gap: 16px;
    padding: 14px 8px 12px;
    z-index: 40;
    background: inherit;
    background-attachment: fixed;
    transition: width var(--sidebar-motion);
  }
  body.app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled.app-sidebar--hover { width: 72px; }
  html[data-menu-density='compact'] body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover { --sidebar-row-height: 36px; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover :is(.app-sidebar__top, .app-sidebar__nav, .app-sidebar__footer) { width: 264px; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-sidebar__top {
    flex: 0 0 88px;
    height: 88px;
    display: grid;
    grid-template-rows: 36px 40px;
    gap: 12px;
    transition: none;
  }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-sidebar__toolbar {
    width: 264px;
    height: 36px;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    padding: 0 10px;
    transition: none;
  }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-brand {
    flex: 0 0 118px;
    width: 118px;
    height: 36px;
    min-height: 36px;
    align-items: center;
    justify-content: flex-start;
    transition: none;
  }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-brand__mark { display: none; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-brand__logo-wrap {
    display: flex;
    flex: 0 0 118px;
    width: 118px;
    min-width: 118px;
    opacity: 1;
    visibility: visible;
    transform: none;
    clip-path: inset(0 0 0 0);
    transition: clip-path var(--sidebar-motion);
  }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-brand__logo { width: 118px; height: auto; max-width: none; flex-shrink: 0; }
  body.app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-brand__logo-wrap { clip-path: inset(0 82px 0 0); }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-sidebar__actions { flex-direction: row; align-items: center; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover :is(.app-sidebar__actions, .app-settings-toggle, .app-sidebar-search input, .app-sidebar-search__clear, .app-context-switch__label, .app-user-card__meta) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 140ms ease;
  }
  body.app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled.app-sidebar--hover :is(.app-sidebar__actions, .app-settings-toggle, .app-sidebar-search input, .app-sidebar-search__clear, .app-context-switch__label, .app-user-card__meta) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-sidebar-search {
    display: flex;
    width: 264px;
    height: 40px;
    min-height: 40px;
    max-height: none;
    padding: 0 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: background-color 140ms ease, border-color 140ms ease;
  }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-sidebar-search > .material-symbols-outlined { display: inline-flex; flex: 0 0 22px; width: 22px; align-items: center; justify-content: center; }
  body.app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-sidebar-search { border-color: transparent; background: transparent; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-sidebar__nav { padding: 0; scrollbar-width: thin; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-sidebar__nav::-webkit-scrollbar { width: 4px; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .sidebar-section + .sidebar-section { margin-top: 2px; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .sidebar-link {
    width: 264px;
    height: auto;
    min-height: var(--sidebar-row-height);
    margin: 0;
    padding: 0 17px;
    justify-content: flex-start;
  }
  html[data-menu-density='compact'] body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover :is(.sidebar-link--block, .sidebar-link--standalone) { padding-top: 0; padding-bottom: 0; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .sidebar-link__start { flex: 1 1 auto; min-width: 0; justify-content: flex-start; gap: 10px; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .sidebar-link__icon { width: 22px; height: 22px; flex: 0 0 22px; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .sidebar-link__label { display: block; flex: 1 1 auto; max-width: none; opacity: 1; visibility: visible; transform: none; transition: opacity 140ms ease, visibility 0s; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .sidebar-link__chevron { display: inline-flex; width: 16px; flex: 0 0 16px; opacity: 1; visibility: visible; }
  body.app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled.app-sidebar--hover :is(.sidebar-link__label, .sidebar-link__chevron) { opacity: 0; visibility: hidden; pointer-events: none; }
  body.app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled.app-sidebar--hover .sidebar-link__label { transition: opacity 140ms ease, visibility 0s linear 140ms; }
  body.app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled.app-sidebar--hover .sidebar-link__warning { left: 34px; right: auto; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .sidebar-disclosure__body {
    display: grid;
    grid-template-rows: 1fr;
    max-height: none;
    padding: 3px 0 7px;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: grid-template-rows var(--sidebar-motion), padding var(--sidebar-motion), opacity 140ms ease;
  }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .sidebar-disclosure__body > .sidebar-nav { min-height: 0; overflow: hidden; margin: 0 0 0 20px; }
  body.app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled.app-sidebar--hover .sidebar-disclosure__body { grid-template-rows: 0fr; padding: 0; opacity: 0; visibility: hidden; pointer-events: none; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .sidebar-nav .sidebar-link { width: 100%; height: auto; min-height: 34px; padding: 7px 10px; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .sidebar-nav .sidebar-link__start { gap: 0; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .sidebar-nav .sidebar-link__icon { display: none; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-sidebar__footer { display: grid; flex: 0 0 auto; gap: 6px; padding: 10px 0 0; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-sidebar__utility { width: 264px; height: 36px; flex-direction: row; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-context-switch { justify-content: flex-start; height: 36px; padding: 7px 17px; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-context-switch > .material-symbols-outlined { width: 22px; flex: 0 0 22px; text-align: center; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-context-switch__label { display: block; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-user-card { height: 52px; min-height: 52px; max-height: none; padding: 8px 12px; justify-content: flex-start; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover .app-user-card__meta { display: flex; }
}

@media (max-width: 1100px) {
  .app-shell-internal #appSidebar.app-sidebar--labeled { position: fixed; width: min(280px, calc(100vw - 12px)); padding-top: 16px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .app-shell-internal #appSidebar.app-sidebar--labeled [data-sidebar-minimize] { display: none; }
  .app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar-close { display: inline-flex; width: 44px; min-width: 44px; height: 44px; min-height: 44px; max-height: 44px; }
  .app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-link,
  .app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-nav .sidebar-link,
  .app-shell-internal #appSidebar.app-sidebar--labeled .app-profile-action { min-height: 44px; }
  .app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar-search__clear { flex-basis: 32px; width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .app-shell-internal #appSidebar.app-sidebar--labeled :is(.app-context-switch) { transition: none; }
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover,
  body.app-shell-internal #appSidebar.app-sidebar--labeled.app-sidebar--hover * { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

/* Small utility actions keep operational module names in the main menu. */
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar-icon {
  position: relative;
  display: inline-flex;
  flex: 0 0 32px;
  width: 32px;
  height: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar-icon:hover,
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar-icon.is-active { color: #ffffff; background: rgba(255, 255, 255, 0.09); }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar-icon .material-symbols-outlined { font-size: 21px; }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar-icon__badge { position: absolute; top: 6px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: #efb556; }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar__utility { display: flex; min-width: 0; align-items: center; gap: 6px; }
.app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar__utility .app-context-switch { min-width: 0; flex: 1; }

html[data-internal-palette='petroleo'] body.app-shell-internal:not(.app-shell-evendas):has(#appSidebar.app-sidebar--labeled) {
  --erp-sidebar-bg: #103c43;
  --erp-popover-bg: #164b53;
  --cativa-institutional-gradient: radial-gradient(circle at top right, rgba(255,255,255,0.08), transparent 34%), linear-gradient(135deg, #103c43 0%, #175e67 52%, #207482 100%);
  background: var(--cativa-institutional-gradient);
  background-attachment: fixed;
}
html[data-internal-palette='grafite'] body.app-shell-internal:not(.app-shell-evendas):has(#appSidebar.app-sidebar--labeled) {
  --erp-sidebar-bg: #263341;
  --erp-popover-bg: #324354;
  --cativa-institutional-gradient: radial-gradient(circle at top right, rgba(255,255,255,0.08), transparent 34%), linear-gradient(135deg, #263341 0%, #3c5064 52%, #52677c 100%);
  background: var(--cativa-institutional-gradient);
  background-attachment: fixed;
}
html[data-menu-density='compact'] .app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-link { min-height: 34px; padding-top: 6px; padding-bottom: 6px; }
html[data-menu-density='compact'] .app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-nav .sidebar-link { min-height: 32px; padding-top: 5px; padding-bottom: 5px; }

.app-appearance-dialog {
  --appearance-surface: #ffffff;
  --appearance-text: #173247;
  --appearance-muted: #647889;
  --appearance-border: #dce4ea;
  --appearance-control: #f7f9fb;
  --appearance-selected: #edf5fa;
  box-sizing: border-box;
  width: min(460px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 24px;
  overflow: auto;
  border: 1px solid var(--appearance-border);
  border-radius: 16px;
  color: var(--appearance-text);
  background: var(--appearance-surface);
  font-family: 'Vend Sans', sans-serif;
  box-shadow: 0 24px 80px rgba(4, 21, 34, 0.25);
}
.app-appearance-dialog::backdrop { background: rgba(4, 17, 29, 0.5); }
.app-appearance-dialog__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.app-appearance-dialog__header h2 { margin: 0; color: inherit; font: 600 1.25rem/1.3 'Vend Sans', sans-serif; }
.app-appearance-dialog__header p { margin: 6px 0 0; color: var(--appearance-muted); font-size: 0.83rem; }
.app-appearance-dialog__close { display: inline-flex; width: 32px; min-width: 32px; height: 32px; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 6px; color: var(--appearance-muted); background: transparent; }
.app-appearance-dialog__close:hover { background: var(--appearance-control); }
.app-appearance-dialog__body { display: grid; gap: 22px; }
.app-appearance-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.app-appearance-group legend { float: none; width: auto; margin: 0 0 9px; padding: 0; color: var(--appearance-text); font-size: 0.83rem; font-weight: 500; }
.app-appearance-options { display: grid; gap: 8px; }
.app-appearance-options--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.app-appearance-options--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app-appearance-choice { display: flex; min-width: 0; min-height: 42px; align-items: center; justify-content: center; gap: 9px; padding: 9px 10px; border: 1px solid var(--appearance-border); border-radius: 8px; color: var(--appearance-text); background: var(--appearance-surface); font: 400 0.84rem/1.35 'Vend Sans', sans-serif; }
.app-appearance-choice:hover { background: var(--appearance-control); }
.app-appearance-choice[aria-pressed='true'] { border-color: #006298; background: var(--appearance-selected); font-weight: 500; }
.app-appearance-choice--palette { flex-direction: column; gap: 7px; padding: 12px 6px; font-size: 0.8rem; }
.app-appearance-swatch { width: 27px; height: 27px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); }
.app-appearance-swatch--cativa { background: #072e47; }
.app-appearance-swatch--petroleo { background: #103c43; }
.app-appearance-swatch--grafite { background: #263341; }
.app-appearance-note { margin: 0; color: var(--appearance-muted); font-size: 0.8rem; line-height: 1.5; }
.app-appearance-dialog__footer { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--appearance-border); }
.app-appearance-dialog__footer > small { display: block; margin-bottom: 14px; color: var(--appearance-muted); font-size: 0.75rem; }
.app-appearance-dialog__buttons { display: flex; justify-content: space-between; gap: 10px; }
.app-appearance-reset, .app-appearance-done { min-height: 40px; padding: 9px 13px; border: 1px solid var(--appearance-border); border-radius: 7px; font: 500 0.83rem/1.35 'Vend Sans', sans-serif; }
.app-appearance-reset { color: var(--appearance-text); background: var(--appearance-surface); }
.app-appearance-reset:hover { background: var(--appearance-control); }
.app-appearance-done { border-color: #006298; color: #ffffff; background: #006298; }
.app-appearance-done:hover { border-color: #004f7a; background: #004f7a; }
.app-appearance-dialog :is(button, input):focus-visible { outline: 2px solid #58a9d6; outline-offset: 2px; }
html[data-internal-theme='dark'] .app-appearance-dialog { --appearance-surface: #152638; --appearance-text: #edf4fb; --appearance-muted: #b0c1d1; --appearance-border: #354b60; --appearance-control: #1d344a; --appearance-selected: #16445f; }
html[data-internal-theme='dark'] .app-appearance-choice[aria-pressed='true'] { border-color: #72badf; }

@media (min-width: 1101px) {
  .app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled .app-sidebar__actions { flex-direction: column; align-items: center; }
  .app-shell-internal.sidebar-minimized #appSidebar.app-sidebar--labeled .app-sidebar__utility { flex-direction: column; }
}
@media (max-width: 1100px) {
  .app-shell-internal #appSidebar.app-sidebar--labeled .app-sidebar-icon { flex-basis: 44px; width: 44px; height: 44px; min-height: 44px; }
  html[data-menu-density='compact'] .app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-link,
  html[data-menu-density='compact'] .app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-nav .sidebar-link { min-height: 44px; }
  .app-appearance-dialog { padding: 20px; }
  .app-appearance-choice, .app-appearance-dialog__close { min-height: 44px; }
}

.app-appearance-refresh {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--appearance-border);
  border-radius: 7px;
  color: var(--appearance-text);
  background: var(--appearance-surface);
  text-decoration: none;
  font-size: 0.81rem;
}
.app-appearance-refresh:hover { color: var(--appearance-text); background: var(--appearance-control); }
@media (max-width: 1100px) {
  .app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-link,
  .app-shell-internal #appSidebar.app-sidebar--labeled .sidebar-nav .sidebar-link { font-size: 0.8125rem; }
}

.app-frame {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1.15rem 1.4rem 0;
}

.app-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(216, 227, 235, 0.92);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: var(--cativa-shadow-soft);
}

.app-topbar__start {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.app-topbar__end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.app-sidebar-toggle {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 16px;
  background: var(--cativa-primary-soft);
  color: var(--cativa-primary);
  font-size: 1.3rem;
}

.app-topbar__heading {
  min-width: 0;
}

.app-topbar__eyebrow {
  display: inline-block;
  color: var(--cativa-primary);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.18rem;
}

.app-topbar__title {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.08;
}

.app-topbar__subtitle {
  margin: 0.35rem 0 0;
  color: var(--cativa-text-muted);
  font-size: 0.94rem;
}

.app-main {
  flex: 1;
  min-width: 0;
  padding: 1.25rem 1.4rem 1.6rem;
}

.app-main__inner {
  width: min(1360px, 100%);
  margin: 0 auto;
}

.app-main__inner.app-main__inner--wide {
  width: 100%;
  max-width: none;
}

.app-main__inner.app-main__inner--evendas-home {
  width: min(1180px, 100%);
  max-width: none;
}

.app-flash-stack {
  margin-bottom: 1rem;
}

.app-flash-stack--public {
  margin-bottom: 1.3rem;
}

.app-overlay {
  position: fixed;
  inset: 0;
  border: 0;
  background: rgba(12, 28, 42, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 35;
}

@media (min-width: 1101px) {
  body.sidebar-minimized .app-layout {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  body.sidebar-minimized .app-sidebar {
    gap: 0.65rem;
    padding: 0.55rem 0.45rem 0.65rem;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
    border-right: 1px solid rgba(0, 98, 152, 0.14);
    box-shadow: 10px 0 28px rgba(8, 29, 46, 0.08);
    color: var(--cativa-text);
  }

  body.sidebar-minimized .app-sidebar__top {
    gap: 0.6rem;
  }

  body.sidebar-minimized .app-sidebar__toolbar {
    justify-content: center;
    gap: 0;
    padding: 0;
  }

  body.sidebar-minimized .app-brand {
    width: 48px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0;
  }

  body.sidebar-minimized .app-brand__logo-wrap {
    opacity: 0;
    transform: translateX(0.4rem);
    visibility: hidden;
  }

  body.sidebar-minimized .app-brand__mark {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
    transition-delay: 0s;
  }

  body.sidebar-minimized .app-brand__logo--light {
    display: block;
  }

  body.sidebar-minimized .app-brand__logo--dark {
    display: none;
  }

  body.sidebar-minimized .app-brand__text,
  body.sidebar-minimized .app-sidebar__toolbar .app-logout-link,
  body.sidebar-minimized .app-sidebar-search,
  body.sidebar-minimized .app-theme-toggle,
  body.sidebar-minimized .app-user-card,
  body.sidebar-minimized .sidebar-link__label,
  body.sidebar-minimized .sidebar-link__chevron,
  body.sidebar-minimized .sidebar-disclosure__body {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-0.45rem);
  }

  body.sidebar-minimized:not(.sidebar-transitioning) .app-brand__text,
  body.sidebar-minimized:not(.sidebar-transitioning) .app-sidebar__toolbar .app-logout-link,
  body.sidebar-minimized:not(.sidebar-transitioning) .app-sidebar-search,
  body.sidebar-minimized:not(.sidebar-transitioning) .app-theme-toggle,
  body.sidebar-minimized:not(.sidebar-transitioning) .app-user-card,
  body.sidebar-minimized:not(.sidebar-transitioning) .sidebar-link__label,
  body.sidebar-minimized:not(.sidebar-transitioning) .sidebar-link__chevron,
  body.sidebar-minimized:not(.sidebar-transitioning) .sidebar-disclosure__body {
    visibility: hidden;
  }

  body.sidebar-minimized .app-brand__text {
    max-width: 0;
  }

  body.sidebar-minimized .app-sidebar__toolbar .app-logout-link {
    width: 0;
    max-width: 0;
    min-height: 0;
    padding-inline: 0;
    border-color: transparent;
  }

  body.sidebar-minimized .app-sidebar-search,
  body.sidebar-minimized .app-theme-toggle,
  body.sidebar-minimized .app-user-card {
    max-height: 0;
    min-height: 0;
    padding-block: 0;
    border-color: transparent;
    box-shadow: none;
  }

  body.sidebar-minimized .sidebar-link__label {
    flex: 0 0 0;
    max-width: 0;
  }

  body.sidebar-minimized .sidebar-link__chevron {
    width: 0;
    flex-basis: 0;
  }

  body.sidebar-minimized .sidebar-disclosure__body {
    max-height: 0;
    padding: 0;
    transform: translateY(-0.35rem);
  }

  body.sidebar-minimized .app-sidebar__nav {
    padding: 0.35rem 0;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.sidebar-minimized .app-sidebar__nav::-webkit-scrollbar {
    width: 0;
  }

  body.sidebar-minimized .sidebar-section + .sidebar-section {
    margin-top: 0.55rem;
  }

  body.sidebar-minimized .sidebar-nav {
    gap: 0.55rem;
  }

  body.sidebar-minimized .sidebar-disclosure,
  body.sidebar-minimized .sidebar-disclosure[open] {
    border-radius: 8px;
    background: transparent;
  }

  body.sidebar-minimized .sidebar-link,
  body.sidebar-minimized .sidebar-link--block,
  body.sidebar-minimized .sidebar-link--standalone {
    width: 42px;
    min-height: 42px;
    height: 42px;
    margin: 0 auto;
    padding: 0;
    gap: 0;
    justify-content: center;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--cativa-primary-dark);
    box-shadow: none;
  }

  body.sidebar-minimized .sidebar-link:hover,
  body.sidebar-minimized .sidebar-link.is-active,
  body.sidebar-minimized .sidebar-nav__item.is-active > .sidebar-link,
  body.sidebar-minimized .sidebar-nav__item.is-active > .sidebar-disclosure > summary.sidebar-link {
    background: var(--cativa-primary-soft);
    border-color: rgba(0, 98, 152, 0.2);
    color: var(--cativa-primary-deep);
    box-shadow: inset 3px 0 0 var(--cativa-primary);
  }

  body.sidebar-minimized .sidebar-link__start {
    flex: 0 0 auto;
    justify-content: center;
    gap: 0;
    min-width: 0;
  }

  body.sidebar-minimized .sidebar-link__icon,
  body.sidebar-minimized .sidebar-nav--level-1 .sidebar-link__icon,
  body.sidebar-minimized .sidebar-nav--level-2 .sidebar-link__icon,
  body.sidebar-minimized .sidebar-nav--level-3 .sidebar-link__icon {
    display: inline-flex;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 1.25rem;
    color: var(--cativa-primary-dark);
    font-size: 1.08rem;
  }

  body.sidebar-minimized .sidebar-link__warning {
    position: absolute;
    top: 0.32rem;
    right: 0.32rem;
    width: 0.58rem;
    height: 0.58rem;
    flex-basis: 0.58rem;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.86);
    background: #f4a62a;
    color: transparent;
    font-size: 0;
  }

  body.sidebar-minimized .sidebar-link__warning i {
    display: none;
  }

  body.sidebar-minimized .sidebar-link__warning::after {
    display: none;
  }

  body.sidebar-minimized .app-sidebar__footer {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-top: auto;
    padding-top: 0.3rem;
    gap: 0.45rem;
  }

  body.sidebar-minimized .app-sidebar-minimize {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    gap: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--cativa-primary-dark);
    font-size: 1rem;
  }

  body.sidebar-minimized .app-sidebar-minimize:hover {
    background: var(--cativa-primary-soft);
    color: var(--cativa-primary-deep);
  }

  body.sidebar-minimized .app-sidebar-minimize span {
    max-width: 0;
    opacity: 0;
    transform: translateX(-0.35rem);
  }

  body.sidebar-expanding .app-brand__logo-wrap {
    opacity: 0;
    transform: translateX(0.4rem);
    visibility: hidden;
  }

  body.sidebar-expanding .app-brand__mark {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
    transition-delay: 0s;
  }

  body.sidebar-expanding .app-brand__text,
  body.sidebar-expanding .app-sidebar__toolbar .app-logout-link,
  body.sidebar-expanding .app-sidebar-search,
  body.sidebar-expanding .app-theme-toggle,
  body.sidebar-expanding .app-user-card,
  body.sidebar-expanding .sidebar-link__label,
  body.sidebar-expanding .sidebar-link__chevron,
  body.sidebar-expanding .sidebar-disclosure__body {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-0.45rem);
  }

  body.sidebar-expanding .app-brand__text,
  body.sidebar-expanding .sidebar-link__label {
    max-width: 0;
  }

  body.sidebar-expanding .app-sidebar__toolbar .app-logout-link {
    width: 0;
    max-width: 0;
    min-height: 0;
    padding-inline: 0;
    border-color: transparent;
  }

  body.sidebar-expanding .app-sidebar-search,
  body.sidebar-expanding .app-theme-toggle,
  body.sidebar-expanding .app-user-card {
    max-height: 0;
    min-height: 0;
    padding-block: 0;
    border-color: transparent;
    box-shadow: none;
  }

  body.sidebar-expanding .sidebar-link__label {
    flex: 0 0 0;
  }

  body.sidebar-expanding .sidebar-link__chevron {
    width: 0;
    flex-basis: 0;
  }

  body.sidebar-expanding .sidebar-disclosure__body {
    max-height: 0;
    padding: 0;
    transform: translateY(-0.35rem);
  }

  body.sidebar-expanding .app-sidebar__nav {
    padding: 0.35rem 0;
    border-color: transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.sidebar-expanding .sidebar-section + .sidebar-section {
    margin-top: 0.55rem;
  }

  body.sidebar-expanding .sidebar-nav {
    gap: 0.55rem;
  }

  body.sidebar-expanding .sidebar-disclosure,
  body.sidebar-expanding .sidebar-disclosure[open] {
    border-radius: 8px;
    background: transparent;
  }

  body.sidebar-expanding .sidebar-link,
  body.sidebar-expanding .sidebar-link--block,
  body.sidebar-expanding .sidebar-link--standalone {
    width: 42px;
    min-height: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    gap: 0;
    justify-content: center;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--cativa-primary-dark);
    box-shadow: none;
  }

  body.sidebar-expanding .sidebar-link__start {
    flex: 0 0 auto;
    justify-content: center;
    gap: 0;
    min-width: 0;
  }
}

body.app-shell-public {
  background:
    linear-gradient(rgba(8, 24, 37, 0.6), rgba(8, 24, 37, 0.58)),
    url('https://dashboard.portalcativa.com.br/imagem/erp-cativa/background-erp.png') center center / cover no-repeat fixed;
}

html[data-internal-theme='dark'] body.app-shell-public {
  color-scheme: dark;
  background:
    linear-gradient(rgba(4, 13, 21, 0.78), rgba(4, 13, 21, 0.72)),
    url('https://dashboard.portalcativa.com.br/imagem/erp-cativa/background-erp.png') center center / cover no-repeat fixed;
}

.public-main {
  min-height: 100vh;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.public-main__inner {
  width: min(540px, 100%);
}

.login-shell {
  width: 100%;
}

.login-panel,
.login-support {
  border: 1px solid rgba(193, 209, 221, 0.92);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--cativa-shadow);
}

.login-shell--single {
  max-width: 520px;
  margin: 0 auto;
}

.login-panel--single {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

html[data-internal-theme='dark'] body.app-shell-public .login-panel,
html[data-internal-theme='dark'] body.app-shell-public .login-support {
  background: rgba(13, 24, 34, 0.92);
  border-color: rgba(72, 108, 135, 0.7);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.34);
}

html[data-internal-theme='dark'] body.app-shell-public .login-panel--single {
  background: rgba(13, 24, 34, 0.9);
}

.login-panel__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.35rem;
}

.login-panel__brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cativa-primary) 0%, var(--cativa-primary-dark) 100%);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 18px 28px rgba(0, 98, 152, 0.22);
}

.login-panel__brand-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.login-panel__brand-copy strong {
  font-size: 1.18rem;
  letter-spacing: 0.02em;
}

.login-panel__brand-copy small {
  color: var(--cativa-text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[data-internal-theme='dark'] body.app-shell-public .login-panel__brand-mark {
  background: linear-gradient(135deg, #2f99cf 0%, #63bbea 100%);
  color: #07131d;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.32);
}

html[data-internal-theme='dark'] body.app-shell-public .login-panel__brand-copy strong,
html[data-internal-theme='dark'] body.app-shell-public .login-panel__title,
html[data-internal-theme='dark'] body.app-shell-public .form-label {
  color: var(--cativa-text);
}

html[data-internal-theme='dark'] body.app-shell-public .login-panel__brand-copy small,
html[data-internal-theme='dark'] body.app-shell-public .login-panel__subtitle {
  color: #a7bac8;
}

.login-support {
  padding: 2.25rem;
  background:
    radial-gradient(circle at top right, rgba(0, 98, 152, 0.22), transparent 34%),
    linear-gradient(135deg, #0d334c 0%, #0a2232 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.login-support__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.login-support__title {
  margin: 1.2rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
}

.login-support__text {
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1rem;
}

.login-support__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.login-support__stat {
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.login-support__stat strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 0.12rem;
}

.login-support__stat span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.login-panel {
  padding: 2.25rem;
}

.login-panel__header {
  margin-bottom: 1.5rem;
}

.login-panel__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.52rem 0.82rem;
  border-radius: 999px;
  background: var(--cativa-primary-soft);
  color: var(--cativa-primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.login-panel__title {
  margin: 1rem 0 0.45rem;
  font-size: 2rem;
  line-height: 1.08;
}

.login-panel__subtitle {
  margin: 0;
  color: var(--cativa-text-muted);
  max-width: 34rem;
}

.login-form {
  display: grid;
  gap: 1rem;
}

.login-form__field .input-group-text {
  min-width: 52px;
  justify-content: center;
  border-right: 0;
  background: var(--cativa-surface-alt);
}

.login-form__field .form-control {
  border-left: 0;
}

.login-form__field .input-group .form-control,
.login-form__field .input-group .input-group-text {
  border-radius: 18px;
}

.login-form__field .input-group .input-group-text {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.login-form__field .input-group .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.login-mode-switch {
  border-radius: 16px;
  border-color: rgba(0, 98, 152, 0.22);
  background: rgba(255, 255, 255, 0.68);
  color: var(--cativa-primary-deep);
  font-weight: 700;
}

.login-mode-switch:hover,
.login-mode-switch:focus {
  border-color: rgba(0, 98, 152, 0.38);
  background: rgba(230, 241, 247, 0.92);
  color: var(--cativa-primary-deep);
  box-shadow: 0 12px 24px rgba(0, 98, 152, 0.12);
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  margin: -0.1rem 0 0.1rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(0, 98, 152, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
}

.login-remember .form-check-input {
  width: 1.08rem;
  height: 1.08rem;
  margin: 0;
  border-color: rgba(0, 98, 152, 0.36);
  cursor: pointer;
}

.login-remember .form-check-input:checked {
  background-color: var(--cativa-primary);
  border-color: var(--cativa-primary);
}

.login-remember .form-check-input:focus {
  border-color: rgba(0, 98, 152, 0.72);
  box-shadow: 0 0 0 0.2rem rgba(0, 98, 152, 0.14);
}

.login-remember .form-check-label {
  color: var(--cativa-text);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
}

html[data-internal-theme='dark'] body.app-shell-public .login-form__field .input-group-text,
html[data-internal-theme='dark'] body.app-shell-public .login-form__field .form-control {
  background: rgba(8, 18, 27, 0.95);
  border-color: rgba(65, 96, 119, 0.86);
  color: var(--cativa-text);
}

html[data-internal-theme='dark'] body.app-shell-public .login-form__field .input-group-text {
  color: #8fd0f2;
}

html[data-internal-theme='dark'] body.app-shell-public .login-form__field .form-control::placeholder {
  color: #7f95a6;
}

html[data-internal-theme='dark'] body.app-shell-public .login-form__field .form-control:focus {
  border-color: rgba(99, 187, 234, 0.78);
  box-shadow: 0 0 0 0.2rem rgba(99, 187, 234, 0.16);
}

html[data-internal-theme='dark'] body.app-shell-public .login-mode-switch {
  background: rgba(14, 29, 42, 0.92);
  border-color: rgba(99, 187, 234, 0.34);
  color: #d8f1ff;
}

html[data-internal-theme='dark'] body.app-shell-public .login-mode-switch:hover,
html[data-internal-theme='dark'] body.app-shell-public .login-mode-switch:focus {
  background: rgba(31, 69, 95, 0.92);
  border-color: rgba(126, 207, 246, 0.58);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

html[data-internal-theme='dark'] body.app-shell-public .login-remember {
  background: rgba(8, 18, 27, 0.58);
  border-color: rgba(99, 187, 234, 0.18);
}

html[data-internal-theme='dark'] body.app-shell-public .login-remember .form-check-input {
  background-color: rgba(8, 18, 27, 0.95);
  border-color: rgba(99, 187, 234, 0.42);
}

html[data-internal-theme='dark'] body.app-shell-public .login-remember .form-check-input:checked {
  background-color: #63bbea;
  border-color: #63bbea;
}

html[data-internal-theme='dark'] body.app-shell-public .login-remember .form-check-label {
  color: #d8f1ff;
}

html[data-internal-theme='dark'] body.app-shell-public .alert-danger {
  background: rgba(105, 28, 42, 0.34);
  border-color: rgba(239, 150, 163, 0.36);
  color: #ffd6dc;
}

.login-info-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.login-info-card {
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: var(--cativa-surface-alt);
  border: 1px solid var(--cativa-border);
}

.login-info-card strong {
  display: block;
  margin-bottom: 0.25rem;
}

.home-page {
  display: grid;
  gap: 1.4rem;
}

.home-page--institutional {
  gap: 1.5rem;
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.95fr);
  gap: 1.1rem;
  padding: 1.8rem;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #072e47 0%, #006298 52%, #0c7db9 100%);
  color: #ffffff;
  box-shadow: 0 26px 46px rgba(0, 98, 152, 0.22);
  overflow: hidden;
}

.home-hero::after {
  content: '';
  position: absolute;
  inset: auto -4rem -4rem auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.home-hero__main,
.home-hero__meta {
  position: relative;
  z-index: 1;
}

.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.home-hero__lead {
  margin: 1.15rem 0 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
}

.home-hero__title {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 0.92;
}

.home-hero__subtitle {
  margin: 1rem 0 0;
  max-width: 39rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.7;
}

.home-hero__meta {
  display: grid;
  gap: 0.9rem;
}

.home-hero__card {
  padding: 1.1rem 1.15rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(14px);
}

.home-hero__card--brand {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.home-hero__card span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.home-hero__card strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.05;
}

.home-hero__card p {
  margin: 0.6rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  line-height: 1.6;
}

.home-section-card {
  padding: 1.45rem;
  border-radius: 28px;
  border: 1px solid rgba(193, 209, 221, 0.92);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 248, 251, 0.94) 100%);
  box-shadow: var(--cativa-shadow-soft);
}

.home-section-card--institutional {
  backdrop-filter: blur(8px);
}

.home-section-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.home-section-card__head--stacked {
  align-items: flex-start;
}

.home-section-card__eyebrow {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--cativa-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.screen-stamp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.screen-stamp {
  display: inline-block;
  color: var(--cativa-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-section-card__head h3 {
  margin: 0;
  font-size: 1.3rem;
}

.home-section-card__head p {
  margin: 0.35rem 0 0;
  max-width: 52rem;
  color: var(--cativa-text-muted);
  line-height: 1.7;
}

.home-essence-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.essence-card {
  position: relative;
  padding: 1.35rem;
  border-radius: 26px;
  border: 1px solid rgba(193, 209, 221, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 248, 251, 0.96) 100%);
  box-shadow: 0 18px 30px rgba(16, 42, 64, 0.05);
}

.essence-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
}

.essence-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cativa-primary-soft);
  color: var(--cativa-primary);
  font-size: 1.15rem;
}

.essence-card__eyebrow {
  display: block;
  color: var(--cativa-text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.essence-card h4 {
  margin: 0;
  padding-top: 0.18rem;
  font-size: 1.2rem;
}

.essence-card p {
  margin: 0;
  color: var(--cativa-text-muted);
  line-height: 1.75;
}

.home-values-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.home-value-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 220px;
  padding: 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(193, 209, 221, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(235, 243, 248, 0.94) 100%);
}

.home-value-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.home-value-card__index {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cativa-primary-soft);
  color: var(--cativa-primary);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-value-card h4 {
  margin: 0;
  font-size: 1.05rem;
}

.home-value-card p {
  margin: 0;
  color: var(--cativa-text-muted);
  line-height: 1.68;
}

.home-signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 0.35rem;
}

.home-signature__text {
  color: var(--cativa-text);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-signature__line {
  flex: 1;
  min-width: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 98, 152, 0.45), rgba(0, 98, 152, 0));
}

.evendas-home-page {
  display: grid;
  gap: 1.15rem;
  min-height: calc(100vh - 4.1rem);
  align-content: center;
}

.evendas-home-hero,
.evendas-home-menu {
  border: 1px solid rgba(193, 209, 221, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 36px rgba(16, 42, 64, 0.08);
}

.evendas-home-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem;
  border-top: 4px solid #006298;
}

.evendas-home-hero__copy {
  min-width: 0;
}

.evendas-home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #006298;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.evendas-home-hero h1 {
  margin: 0.36rem 0 0;
  color: #102a40;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 0.95;
}

.evendas-home-hero p {
  max-width: 44rem;
  margin: 0.7rem 0 0;
  color: #607488;
  font-size: 1rem;
  line-height: 1.55;
}

.evendas-home-hero__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.evendas-home-control,
.evendas-home-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.45rem;
  border: 1px solid rgba(0, 98, 152, 0.18);
  border-radius: 8px;
  background: #eef8fc;
  color: #006298;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.evendas-home-control {
  padding: 0.45rem 0.72rem;
}

.evendas-home-control .app-theme-toggle__icon {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 0.95rem;
}

.evendas-home-control .app-theme-toggle__text {
  font-size: inherit;
  line-height: 1.2;
}

.evendas-home-action {
  width: 3.05rem;
  min-height: 3.05rem;
  padding: 0;
  border-width: 2px;
  background: var(--cativa-action);
  color: #ffffff;
  font-size: 1.28rem;
  box-shadow: none;
}

.evendas-home-action i {
  line-height: 1;
}

.evendas-home-control:hover,
.evendas-home-control:focus,
.evendas-home-action:hover,
.evendas-home-action:focus {
  background: #006298;
  border-color: #006298;
  color: #ffffff;
  transform: translateY(-1px);
}

.evendas-home-action:hover,
.evendas-home-action:focus {
  background: var(--cativa-action-hover);
  border-color: rgba(0, 98, 152, 0.78);
  color: #ffffff;
  box-shadow: none;
}

.evendas-home-control--logout {
  background: #fff3ec;
  border-color: rgba(219, 87, 35, 0.22);
  color: #b9471e;
}

.evendas-home-control--institutional {
  background: #ecfdf3;
  border-color: rgba(23, 164, 107, 0.24);
  color: #137a50;
}

.evendas-home-theme-toggle {
  backdrop-filter: blur(10px);
  background: rgba(238, 248, 252, 0.94);
  bottom: 1.25rem;
  box-shadow: 0 12px 28px rgba(8, 26, 41, 0.14);
  left: 1.25rem;
  position: fixed;
  z-index: 1041;
}

.evendas-institutional-bar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.evendas-institutional-bar .evendas-back-action {
  align-items: center;
  background: #eef8fc;
  border: 1px solid rgba(0, 98, 152, 0.2);
  border-radius: 8px;
  color: #006298;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.84rem;
  font-weight: 900;
  gap: 0.44rem;
  justify-content: center;
  line-height: 1.1;
  min-height: 2.42rem;
  min-width: 0;
  padding: 0.5rem 0.82rem 0.5rem 0.66rem;
  text-decoration: none;
  white-space: nowrap;
  width: auto;
}

.evendas-institutional-bar .evendas-back-action i {
  font-size: 1rem;
  line-height: 1;
}

.evendas-institutional-bar .evendas-back-action:hover,
.evendas-institutional-bar .evendas-back-action:focus-visible {
  background: #006298;
  border-color: #006298;
  color: #ffffff;
  text-decoration: none;
}

.evendas-home-menu {
  padding: 1rem;
}

.evendas-home-menu__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.evendas-home-menu__head span {
  display: block;
  color: #006298;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.evendas-home-menu__head h2 {
  margin: 0.22rem 0 0;
  color: #102a40;
  font-size: 1.25rem;
}

.evendas-home-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.evendas-home-card {
  --evendas-card-accent: #006298;
  --evendas-card-soft: rgba(0, 98, 152, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 152px;
  padding: 0.85rem;
  border: 1px solid rgba(193, 209, 221, 0.92);
  border-top: 4px solid var(--evendas-card-accent);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
  color: #102a40;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.evendas-home-card:nth-child(2n) {
  --evendas-card-accent: #17a46b;
  --evendas-card-soft: rgba(23, 164, 107, 0.11);
}

.evendas-home-card:nth-child(3n) {
  --evendas-card-accent: #db5723;
  --evendas-card-soft: rgba(219, 87, 35, 0.11);
}

.evendas-home-card:nth-child(4n) {
  --evendas-card-accent: #9b5bd8;
  --evendas-card-soft: rgba(155, 91, 216, 0.12);
}

.evendas-home-card:nth-child(5n) {
  --evendas-card-accent: #d39316;
  --evendas-card-soft: rgba(211, 147, 22, 0.13);
}

.evendas-home-card:hover,
.evendas-home-card:focus {
  border-color: var(--evendas-card-accent);
  box-shadow: 0 18px 32px rgba(16, 42, 64, 0.13);
  color: #102a40;
  transform: translateY(-3px);
}

.evendas-home-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
}

.evendas-home-card__alerts {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  justify-content: flex-end;
  min-width: 0;
}

.evendas-home-card__icon {
  width: 2.7rem;
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--evendas-card-soft);
  color: var(--evendas-card-accent);
  font-size: 1.35rem;
}

.evendas-home-card__label {
  display: block;
  min-height: 2.45rem;
  color: #102a40;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.18;
}

.evendas-home-card .sidebar-link__warning {
  margin-left: 0;
}

.evendas-home-card__count {
  align-items: center;
  background: #c4495d;
  border: 1px solid rgba(196, 73, 93, 0.3);
  border-radius: 999px;
  box-shadow: 0 10px 18px rgba(196, 73, 93, 0.24);
  color: #ffffff;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 900;
  justify-content: center;
  line-height: 1;
  min-height: 1.65rem;
  min-width: 1.65rem;
  padding: 0.24rem 0.48rem;
  position: relative;
}

.evendas-home-card__count::after {
  animation: evendas-home-count-beacon 1.9s ease-in-out infinite;
  background: #c4495d;
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(196, 73, 93, 0.26);
  content: "";
  height: 0.48rem;
  pointer-events: none;
  position: absolute;
  right: -0.18rem;
  top: -0.18rem;
  width: 0.48rem;
}

@keyframes evendas-home-count-beacon {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.88);
  }

  50% {
    box-shadow: 0 0 0 0.32rem rgba(196, 73, 93, 0.12);
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .evendas-home-card__count::after {
    animation: none;
    opacity: 0.82;
  }
}

.evendas-home-empty {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  min-height: 12rem;
  padding: 1rem;
  border: 1px dashed rgba(0, 98, 152, 0.25);
  border-radius: 8px;
  color: #607488;
  text-align: center;
}

.evendas-home-empty i {
  color: #006298;
  font-size: 2rem;
}

.evendas-home-empty strong {
  color: #102a40;
}

.easy-admin-page {
  display: grid;
  gap: 1.25rem;
}

.easy-admin-detail-page {
  gap: 1.35rem;
}

.easy-admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.9fr);
  gap: 1rem;
  padding: 1.7rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #0b344f 0%, #006298 56%, #1582b8 100%);
  color: #ffffff;
  box-shadow: 0 24px 42px rgba(0, 98, 152, 0.18);
}

.easy-admin-hero__copy,
.easy-admin-hero__stats {
  position: relative;
  z-index: 1;
}

.easy-admin-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.easy-admin-hero h2 {
  margin: 1rem 0 0.7rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.96;
}

.easy-admin-hero p {
  margin: 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.68;
}

.easy-admin-hero__stats {
  display: grid;
  gap: 0.85rem;
}

.easy-admin-kpi {
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(10px);
}

.easy-admin-kpi span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 0.24rem;
  text-transform: uppercase;
}

.easy-admin-kpi strong {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
  word-break: break-word;
}

.easy-admin-toolbar__meta {
  display: grid;
  gap: 0.45rem;
}

.easy-admin-toolbar__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.easy-admin-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.easy-admin-bulk-select {
  min-width: 180px;
}

.easy-admin-note {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--cativa-border);
  border-bottom: 1px solid var(--cativa-border);
  background: rgba(255, 255, 255, 0.88);
}

.easy-admin-product-link {
  font-weight: 800;
  text-decoration: none;
}

.easy-admin-product-link:hover {
  text-decoration: underline;
}

.easy-admin-section-head {
  align-items: flex-start;
}

.easy-admin-table-card {
  overflow: hidden;
}

.easy-admin-table-shell {
  overflow: auto;
  border: 1px solid #eef2f6;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  position: relative;
}

.easy-admin-table-loading {
  align-items: center;
  background: rgba(31, 41, 55, 0.82);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
  color: #fff;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 750;
  gap: 0.6rem;
  left: 50%;
  padding: 0.65rem 1rem;
  position: absolute;
  top: 0.85rem;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 5;
}

.easy-admin-table-loading[hidden] {
  display: none;
}

.easy-admin-table-shell.is-loading {
  cursor: progress;
}

.easy-admin-table-shell.is-loading .easy-admin-products-table {
  filter: grayscale(0.75);
  opacity: 0.42;
  pointer-events: none;
  transition: filter 120ms ease, opacity 120ms ease;
}

.easy-admin-products-table {
  min-width: 920px;
}

.easy-admin-col-check {
  width: 52px;
}

.easy-admin-col-product {
  width: 16%;
}

.easy-admin-col-stock-pieces {
  width: 124px;
}

.easy-admin-col-stock-kits {
  width: 132px;
}

.easy-admin-col-category {
  width: 28%;
}

.easy-admin-col-collection {
  width: 18%;
}

.easy-admin-col-visible {
  width: 120px;
}

.easy-admin-col-action {
  width: 118px;
}

.easy-admin-products-table > :not(:first-child) {
  border-top: 0;
}

.easy-admin-products-table thead th {
  background: #f8fbfd;
  border-bottom: 1px solid #eef2f6;
  border-top: 0;
  color: var(--cativa-text-muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.easy-admin-products-table tbody td {
  border-color: #edf2f7;
  vertical-align: middle;
}

.easy-admin-products-table tbody tr:nth-child(even) td {
  background: rgba(245, 248, 251, 0.76);
}

.easy-admin-products-table tbody tr:hover td {
  background: rgba(0, 98, 152, 0.06);
}

.easy-admin-sort-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  display: inline-flex;
  font: inherit;
  gap: 0.25rem;
  justify-content: flex-start;
  padding: 0;
  text-align: left;
  text-decoration: none;
  text-transform: inherit;
  width: 100%;
}

.easy-admin-sort-button:hover,
.easy-admin-sort-button:focus {
  color: #006298;
  text-decoration: none;
}

.easy-admin-sort-button:focus-visible {
  border-radius: 6px;
  outline: 2px solid rgba(0, 98, 152, 0.34);
  outline-offset: 3px;
}

.easy-admin-sort-button i {
  color: #98a2b3;
  font-size: 0.78rem;
}

.easy-admin-sort-button.is-active,
.easy-admin-sort-button.is-active i {
  color: #006298;
}

.easy-admin-sort-button--center {
  justify-content: center;
  text-align: center;
}

.easy-admin-stock-column-heading {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
  justify-content: center;
}

.easy-admin-stock-column-heading .easy-admin-sort-button {
  width: auto;
}

.easy-admin-stock-help {
  align-items: center;
  color: #667085;
  cursor: help;
  display: inline-flex;
  font-size: 0.82rem;
  justify-content: center;
  position: relative;
}

.easy-admin-stock-help::after {
  background: #1f2937;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
  color: #fff;
  content: attr(data-tooltip);
  font-size: 0.76rem;
  font-weight: 600;
  left: 50%;
  line-height: 1.35;
  opacity: 0;
  padding: 0.55rem 0.7rem;
  pointer-events: none;
  position: absolute;
  text-align: left;
  text-transform: none;
  top: calc(100% + 0.5rem);
  transform: translate(-50%, -4px);
  transition: opacity 120ms ease, transform 120ms ease;
  visibility: hidden;
  white-space: normal;
  width: 250px;
  z-index: 20;
}

.easy-admin-stock-help:hover::after,
.easy-admin-stock-help:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.easy-admin-stock-help:focus-visible {
  border-radius: 50%;
  outline: 2px solid rgba(0, 98, 152, 0.4);
  outline-offset: 2px;
}

.easy-admin-stock-summary {
  align-items: stretch;
  background: linear-gradient(135deg, rgba(0, 98, 152, 0.08), rgba(0, 98, 152, 0.02));
  border: 1px solid rgba(0, 98, 152, 0.15);
  border-radius: 14px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(130px, 1fr)) minmax(260px, 1.8fr);
  margin: 0.9rem 0 1.25rem;
  padding: 0.85rem 1rem;
}

.easy-admin-stock-summary__metric {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.easy-admin-stock-summary__metric > span {
  color: var(--cativa-text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.easy-admin-stock-summary__metric strong {
  color: var(--cativa-text);
  font-size: 1.2rem;
  line-height: 1.2;
}

.easy-admin-stock-summary__metric small {
  color: var(--cativa-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.easy-admin-stock-summary__notice {
  align-items: center;
  align-self: center;
  color: var(--cativa-text-muted);
  display: flex;
  font-size: 0.78rem;
  gap: 0.5rem;
  line-height: 1.4;
  margin: 0;
}

.easy-admin-stock-summary__notice i {
  color: #006298;
  font-size: 1rem;
}

@media (max-width: 991.98px) {
  .easy-admin-stock-summary {
    grid-template-columns: repeat(3, minmax(110px, 1fr));
  }

  .easy-admin-stock-summary__notice {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .easy-admin-stock-summary {
    grid-template-columns: 1fr;
  }

  .easy-admin-stock-summary__notice {
    grid-column: auto;
  }
}

.easy-admin-empty-row td {
  padding: 2rem 1rem !important;
  color: var(--cativa-text-muted);
  text-align: center;
}

.easy-admin-pagination-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f6;
}

.product-thumb-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid var(--cativa-border);
  background: linear-gradient(180deg, rgba(245, 248, 251, 0.96) 0%, rgba(237, 243, 247, 0.9) 100%);
}

.product-thumb {
  max-width: 180px;
  max-height: 180px;
  width: auto;
  height: auto;
  border-radius: 14px;
}

.product-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.8rem;
}

.product-summary-item {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--cativa-border);
  background: rgba(255, 255, 255, 0.88);
}

.product-summary-label {
  display: block;
  margin-bottom: 0.24rem;
  color: var(--cativa-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-summary-value {
  display: block;
  color: var(--cativa-text);
  line-height: 1.4;
  word-break: break-word;
}

.product-summary-value.is-code {
  font-weight: 800;
}

.product-summary-value .badge {
  font-size: 0.74rem;
}

.color-swatch-preview {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(23, 50, 70, 0.18);
  display: inline-block;
  vertical-align: middle;
}

.pattern-preview {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--cativa-border);
  border-radius: 10px;
}

.hexa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
}

.hexa-badge .color-swatch-preview {
  width: 14px;
  height: 14px;
}

.form-section-divider {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--cativa-border);
}

.color-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.color-form-mode {
  color: var(--cativa-text-muted);
  font-size: 0.76rem;
}

.actions-stack {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 140px;
}

.placeholder-screen {
  padding: 2rem;
  border-radius: 30px;
  border: 1px dashed rgba(0, 98, 152, 0.22);
  background: linear-gradient(180deg, rgba(230, 241, 247, 0.74) 0%, rgba(255, 255, 255, 0.92) 100%);
  text-align: center;
}

.placeholder-screen__icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 1rem;
  border-radius: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 98, 152, 0.12);
  color: var(--cativa-primary);
  font-size: 2rem;
}

.placeholder-screen__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.1);
  color: var(--cativa-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.placeholder-screen h2 {
  margin: 1rem 0 0.65rem;
  font-size: 1.8rem;
}

.placeholder-screen p {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--cativa-text-muted);
}

.query-page .query-area {
  min-height: 150px;
  font-family: 'IBM Plex Sans', monospace;
  resize: vertical;
}

.query-page .result-container {
  margin-top: 20px;
  border-radius: 24px;
  overflow: hidden;
}

.query-page code {
  white-space: pre-wrap;
}

.query-page .modal code {
  display: block;
}

.nps-page .hidden {
  display: none;
}

.nps-page .message-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nps-page .message-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cativa-shadow);
}

.nps-page .message-content {
  white-space: pre-wrap;
  max-height: 200px;
  overflow-y: auto;
  background-color: var(--cativa-surface-alt);
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--cativa-border);
  font-size: 0.9rem;
}

.nps-page .message-preview,
.message-editor-page .message-preview {
  background: linear-gradient(135deg, #075e54 0%, #0b7d6f 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 15px;
  margin-top: 15px;
  white-space: pre-wrap;
  box-shadow: 0 14px 24px rgba(7, 94, 84, 0.18);
}

.nps-page .active-message {
  border: 2px solid var(--cativa-primary);
  background-color: var(--cativa-primary-soft);
}

.nps-page .btn-icon {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.nps-page .test-message-form {
  background-color: rgba(245, 248, 251, 0.92);
  border: 1px solid var(--cativa-border);
  border-radius: 24px;
  padding: 15px;
  margin-top: 20px;
}

.message-editor-page .content-textarea {
  min-height: 250px;
  font-family: 'IBM Plex Sans', monospace;
  white-space: pre-wrap;
  resize: vertical;
}

.message-editor-page .emoji-list,
.message-editor-page .placeholder-tags {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--cativa-border);
  border-radius: 18px;
  padding: 10px;
  margin-bottom: 15px;
}

.message-editor-page .emoji-btn {
  font-size: 1.2rem;
  margin: 5px;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 10px;
  transition: background-color 0.2s;
}

.message-editor-page .emoji-btn:hover {
  background-color: var(--cativa-surface-alt);
}

.apigateway-page {
  display: grid;
  gap: 1.25rem;
}

.apigateway-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
  gap: 1rem;
  padding: 1.8rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #006298 0%, #0b344f 100%);
  color: #ffffff;
  box-shadow: 0 24px 42px rgba(0, 98, 152, 0.2);
}

.apigateway-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.apigateway-hero h2 {
  margin: 1rem 0 0.85rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.02;
}

.apigateway-hero p {
  margin: 0;
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.8);
}

.apigateway-hero strong {
  color: #ffffff;
}

.apigateway-hero__meta {
  display: grid;
  gap: 0.9rem;
}

.apigateway-kpi {
  padding: 1rem 1.05rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.apigateway-kpi span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.22rem;
  text-transform: uppercase;
}

.apigateway-kpi strong {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
  word-break: break-word;
}

.apigateway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.apigateway-section {
  padding: 1.4rem;
}

.apigateway-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.apigateway-section__head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.apigateway-section__head p {
  margin: 0.35rem 0 0;
  color: var(--cativa-text-muted);
}

.apigateway-session-summary {
  display: grid;
  gap: 0.8rem;
}

.apigateway-bootstrap-status {
  margin-top: 1rem;
}

.apigateway-bootstrap-card {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid var(--cativa-border);
  background: rgba(245, 248, 251, 0.92);
}

.apigateway-bootstrap-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.apigateway-bootstrap-card__head strong {
  font-size: 0.98rem;
}

.apigateway-bootstrap-card__head span {
  color: var(--cativa-text-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.apigateway-bootstrap-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.apigateway-bootstrap-card__grid span {
  display: block;
  color: var(--cativa-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
}

.apigateway-bootstrap-card__grid strong {
  display: block;
  word-break: break-word;
}

.apigateway-bootstrap-card__raw {
  margin: 0.9rem 0 0;
  max-height: 180px;
  padding: 0.9rem;
  border-radius: 16px;
  background: #10212f;
  color: #e8f1f7;
  font-family: 'IBM Plex Sans', monospace;
  font-size: 0.78rem;
  white-space: pre-wrap;
  word-break: break-word;
  overflow: auto;
}

.apigateway-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--cativa-border);
  background: rgba(245, 248, 251, 0.92);
}

.apigateway-summary-row span {
  color: var(--cativa-text-muted);
  font-size: 0.88rem;
}

.apigateway-summary-row strong {
  text-align: right;
  word-break: break-word;
}

.apigateway-summary-row strong.is-success {
  color: var(--cativa-success);
}

.apigateway-summary-row strong.is-muted {
  color: var(--cativa-text-muted);
}

.apigateway-empty-state {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px dashed rgba(0, 98, 152, 0.22);
  background: rgba(230, 241, 247, 0.64);
  color: var(--cativa-text-muted);
}

.apigateway-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.apigateway-payload {
  min-height: 220px;
  font-family: 'IBM Plex Sans', monospace;
  resize: vertical;
}

.apigateway-response-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.apigateway-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.1);
  color: var(--cativa-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.apigateway-status-pill.is-success {
  background: rgba(21, 130, 91, 0.12);
  color: #0d4d36;
}

.apigateway-status-pill.is-danger {
  background: rgba(196, 73, 93, 0.12);
  color: #7d2637;
}

.apigateway-response {
  margin: 0;
  min-height: 280px;
  padding: 1.2rem;
  border-radius: 22px;
  border: 1px solid var(--cativa-border);
  background: #10212f;
  color: #e8f1f7;
  font-family: 'IBM Plex Sans', monospace;
  font-size: 0.88rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  overflow: auto;
}

.sic-approval-page {
  display: grid;
  gap: 1.25rem;
}

.sic-approval-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.95fr);
  gap: 1rem;
  padding: 1.8rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #0b344f 0%, #006298 58%, #1582b8 100%);
  color: #ffffff;
  box-shadow: 0 24px 42px rgba(0, 98, 152, 0.2);
}

.sic-approval-hero__copy,
.sic-approval-hero__meta {
  position: relative;
  z-index: 1;
}

.sic-approval-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.84rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sic-approval-hero h2 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1;
}

.sic-approval-hero p {
  margin: 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.72;
}

.sic-approval-hero__meta {
  display: grid;
  gap: 0.85rem;
}

.sic-approval-kpi {
  padding: 1rem 1.05rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.sic-approval-kpi span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 0.24rem;
  text-transform: uppercase;
}

.sic-approval-kpi strong {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
  word-break: break-word;
}

.sic-approval-alert {
  margin: 0;
}

.sic-toolbar-card {
  display: grid;
  gap: 1rem;
}

.sic-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sic-toolbar__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

.sic-toolbar__controls--bulk {
  justify-content: flex-start;
}

/* Mantém a busca encostada à esquerda (após as abas) e empurra as ações em lote
   para a direita, evitando que o campo de busca flutue centralizado. */
.sic-toolbar__controls--search {
  margin-right: auto;
  justify-content: flex-start;
}

.sic-status-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.sic-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--cativa-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--cativa-text);
  font-weight: 700;
}

.sic-inline-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--cativa-primary);
}

.sic-search-field {
  position: relative;
  width: min(360px, 100%);
}

.sic-search-field i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cativa-primary);
}

.sic-search-field .form-control {
  padding-left: 2.7rem;
}

.sic-selection-counter {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.5rem 0.82rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.1);
  color: var(--cativa-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.sic-summary-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.sic-summary-card {
  padding: 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(193, 209, 221, 0.92);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(245, 248, 251, 0.94) 100%);
  box-shadow: var(--cativa-shadow-soft);
}

.sic-summary-card span {
  display: block;
  color: var(--cativa-text-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 0.32rem;
  text-transform: uppercase;
}

.sic-summary-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--cativa-primary-deep);
}

.sic-summary-card p {
  margin: 0.6rem 0 0;
  color: var(--cativa-text-muted);
  line-height: 1.6;
}

.sic-summary-card--warning strong {
  color: var(--cativa-warning);
}

.sic-table-card {
  display: grid;
  gap: 1rem;
}

.sic-table-head__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sic-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.1);
  color: var(--cativa-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.sic-table thead th {
  white-space: nowrap;
}

.sic-sort-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  display: inline-flex;
  font: inherit;
  gap: 0.25rem;
  justify-content: flex-start;
  padding: 0;
  text-align: left;
  text-transform: inherit;
  width: 100%;
}

.sic-sort-button--end {
  justify-content: flex-end;
  text-align: right;
}

.sic-sort-button i {
  color: #98a2b3;
  font-size: 0.78rem;
}

.sic-sort-button.is-active,
.sic-sort-button.is-active i {
  color: var(--cativa-primary);
}

.sic-loading-state,
.sic-empty-state,
.sic-detail-empty {
  padding: 1.4rem;
  border-radius: 24px;
  border: 1px dashed rgba(0, 98, 152, 0.22);
  background: rgba(230, 241, 247, 0.64);
  color: var(--cativa-text-muted);
  text-align: center;
}

.sic-loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.sic-empty-state__icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 0.9rem;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 98, 152, 0.12);
  color: var(--cativa-primary);
  font-size: 1.8rem;
}

.sic-empty-state h4 {
  margin: 0 0 0.45rem;
  color: var(--cativa-text);
}

.sic-empty-state p {
  margin: 0;
}

.sic-row--blocked {
  background: rgba(183, 121, 31, 0.06);
}

.sic-row--selected {
  background: rgba(0, 98, 152, 0.06);
}

.sic-selection-column,
.sic-selection-cell {
  width: 44px;
  min-width: 44px;
  text-align: center;
}

.sic-selection-cell .form-check-input,
.sic-selection-column .form-check-input {
  margin: 0;
}

.sic-primary-cell {
  display: grid;
  gap: 0.18rem;
}

.sic-primary-cell strong {
  font-size: 0.95rem;
}

.sic-primary-cell small {
  color: var(--cativa-text-muted);
}

.sic-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sic-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.1);
  color: var(--cativa-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.sic-chip--ok,
.sic-status-badge--ok {
  background: rgba(21, 130, 91, 0.12);
  color: #0d4d36;
}

.sic-chip--warning,
.sic-status-badge--warning {
  background: rgba(183, 121, 31, 0.14);
  color: #704813;
}

.sic-chip--danger,
.sic-status-badge--danger {
  background: rgba(196, 73, 93, 0.14);
  color: #7d2637;
}

.sic-chip--muted,
.sic-status-badge--muted {
  background: rgba(95, 115, 130, 0.14);
  color: var(--cativa-text-muted);
}

.sic-chip--primary {
  background: rgba(0, 98, 152, 0.1);
  color: var(--cativa-primary);
}

.sic-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.sic-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.sic-actions .btn {
  padding: 0.52rem 0.82rem;
}

.sic-detail-summary {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.sic-detail-header-card {
  padding: 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(0, 98, 152, 0.16);
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 0.98) 0%, rgba(239, 246, 250, 0.94) 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.sic-detail-header-card__top {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  align-items: start;
}

.sic-detail-header-card__identity {
  min-width: 0;
}

.sic-detail-header-card__eyebrow {
  display: inline-flex;
  margin-bottom: 0.5rem;
  color: var(--cativa-primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sic-detail-header-card__sic-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.sic-detail-header-card__sic-line strong {
  color: var(--cativa-text);
  font-size: clamp(1.55rem, 2vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.sic-detail-header-card__support {
  margin: 0.75rem 0 0;
  color: var(--cativa-text-muted);
  line-height: 1.55;
}

.sic-detail-header-card__metrics,
.sic-detail-header-card__fields {
  display: grid;
  gap: 0.8rem;
}

.sic-detail-header-card__metrics {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.sic-detail-header-card__fields {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 98, 152, 0.12);
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.sic-detail-header-card__metric,
.sic-detail-header-card__field {
  min-width: 0;
  position: relative;
  padding-top: 0.85rem;
}

.sic-detail-header-card__metric::before,
.sic-detail-header-card__field::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.2);
}

.sic-detail-header-card__field--full {
  grid-column: 1 / -1;
}

.sic-detail-header-card__metric span,
.sic-detail-header-card__field span {
  display: block;
  color: var(--cativa-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.sic-detail-header-card__metric strong,
.sic-detail-header-card__field strong {
  display: block;
  color: var(--cativa-text);
  line-height: 1.5;
}

.sic-detail-summary__item {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--cativa-border);
  background: rgba(245, 248, 251, 0.92);
}

.sic-detail-summary__item span,
.sic-cotacao-grid span {
  display: block;
  color: var(--cativa-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.sic-detail-summary__item strong,
.sic-cotacao-grid strong {
  display: block;
  color: var(--cativa-text);
  line-height: 1.45;
}

.sic-detail-section + .sic-detail-section {
  margin-top: 1rem;
}

.sic-detail-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.sic-detail-section__head h6 {
  margin: 0;
  font-size: 1rem;
}

.sic-detail-section__head p {
  margin: 0.3rem 0 0;
  color: var(--cativa-text-muted);
}

.sic-item-list {
  display: grid;
  gap: 0.85rem;
}

.sic-item-card {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--cativa-border);
  background: rgba(245, 248, 251, 0.9);
}

.sic-item-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.sic-item-card__head h6 {
  margin: 0;
  font-size: 1rem;
}

.sic-item-card__head p {
  margin: 0.3rem 0 0;
  color: var(--cativa-text-muted);
}

.sic-item-card__fields {
  display: grid;
  gap: 0.8rem 1rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  padding-top: 0.9rem;
  border-top: 1px solid rgba(0, 98, 152, 0.1);
}

.sic-item-card__cotacoes {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 98, 152, 0.1);
}

.sic-item-card__subhead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.sic-item-card__subhead h6 {
  margin: 0;
  font-size: 0.96rem;
}

.sic-item-card__subhead p {
  margin: 0.3rem 0 0;
  color: var(--cativa-text-muted);
}

.sic-item-card__field {
  min-width: 0;
}

.sic-item-card__field span {
  display: block;
  color: var(--cativa-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.sic-item-card__field strong {
  display: block;
  color: var(--cativa-text);
  line-height: 1.45;
}

.sic-cotacao-list {
  display: grid;
  gap: 0.85rem;
}

.sic-cotacao-card {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--cativa-border);
  background: rgba(255, 255, 255, 0.92);
}

.sic-cotacao-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.sic-cotacao-card header strong {
  display: block;
}

.sic-cotacao-card header span {
  color: var(--cativa-text-muted);
  font-size: 0.84rem;
}

.sic-cotacao-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 0.75rem;
}

.tramite-approval-page {
  display: grid;
  gap: 1.25rem;
}

.tramite-approval-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.95fr);
  gap: 1rem;
  padding: 1.8rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #0a2d44 0%, #006298 56%, #1890bb 100%);
  color: #ffffff;
  box-shadow: 0 24px 42px rgba(0, 98, 152, 0.2);
}

.tramite-approval-hero__copy,
.tramite-approval-hero__meta {
  position: relative;
  z-index: 1;
}

.tramite-approval-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.84rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tramite-approval-hero h2 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1;
}

.tramite-approval-hero p {
  margin: 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.72;
}

.tramite-approval-hero__meta {
  display: grid;
  gap: 0.85rem;
}

.tramite-approval-kpi {
  padding: 1rem 1.05rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.tramite-approval-kpi span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 0.24rem;
  text-transform: uppercase;
}

.tramite-approval-kpi strong {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
  word-break: break-word;
}

.tramite-approval-alert {
  margin: 0;
}

.tramite-toolbar-card {
  display: grid;
  gap: 1rem;
}

.tramite-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.tramite-toolbar__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.85rem;
}

.tramite-filter-field {
  min-width: 150px;
}

.tramite-search-field {
  position: relative;
  width: min(390px, 100%);
}

.tramite-search-field i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cativa-primary);
}

.tramite-search-field .form-control {
  padding-left: 2.7rem;
}

.tramite-summary-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.tramite-summary-card {
  padding: 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(193, 209, 221, 0.92);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(245, 248, 251, 0.94) 100%);
  box-shadow: var(--cativa-shadow-soft);
}

.tramite-summary-card span {
  display: block;
  color: var(--cativa-text-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 0.32rem;
  text-transform: uppercase;
}

.tramite-summary-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--cativa-primary-deep);
}

.tramite-summary-card p {
  margin: 0.6rem 0 0;
  color: var(--cativa-text-muted);
  line-height: 1.6;
}

.tramite-summary-card--accent strong {
  color: var(--cativa-success);
}

.tramite-table-card {
  display: grid;
  gap: 1rem;
}

.tramite-table-head__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tramite-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.1);
  color: var(--cativa-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.tramite-loading-state,
.tramite-empty-state,
.tramite-detail-empty {
  padding: 1.4rem;
  border-radius: 24px;
  border: 1px dashed rgba(0, 98, 152, 0.22);
  background: rgba(230, 241, 247, 0.64);
  color: var(--cativa-text-muted);
  text-align: center;
}

.tramite-loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.tramite-empty-state__icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 0.9rem;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 98, 152, 0.12);
  color: var(--cativa-primary);
  font-size: 1.8rem;
}

.tramite-empty-state h4 {
  margin: 0 0 0.45rem;
  color: var(--cativa-text);
}

.tramite-empty-state p {
  margin: 0;
}

.tramite-row--warning {
  background: rgba(183, 121, 31, 0.06);
}

.tramite-primary-cell {
  display: grid;
  gap: 0.22rem;
}

.tramite-primary-cell strong {
  font-size: 0.95rem;
}

.tramite-primary-cell small,
.tramite-meta-stack small {
  color: var(--cativa-text-muted);
}

.tramite-primary-cell p {
  margin: 0;
  color: var(--cativa-text);
  line-height: 1.5;
}

.tramite-meta-stack {
  display: grid;
  gap: 0.28rem;
}

.tramite-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tramite-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.1);
  color: var(--cativa-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tramite-chip--industrial {
  background: rgba(0, 98, 152, 0.12);
  color: var(--cativa-primary-dark);
}

.tramite-chip--cativams {
  background: rgba(21, 130, 91, 0.12);
  color: #0d4d36;
}

.tramite-chip--primary {
  background: rgba(0, 98, 152, 0.1);
  color: var(--cativa-primary);
}

.tramite-chip--warning {
  background: rgba(183, 121, 31, 0.14);
  color: #704813;
}

.tramite-chip--muted {
  background: rgba(95, 115, 130, 0.14);
  color: var(--cativa-text-muted);
}

.tramite-count-badge {
  min-width: 44px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(95, 115, 130, 0.12);
  color: var(--cativa-text-muted);
  font-weight: 800;
}

.tramite-count-badge.is-active {
  background: rgba(0, 98, 152, 0.12);
  color: var(--cativa-primary);
}

.tramite-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.tramite-actions .btn {
  padding: 0.52rem 0.82rem;
}

.tramite-detail-summary {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.tramite-detail-summary__item {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--cativa-border);
  background: rgba(245, 248, 251, 0.92);
}

.tramite-detail-summary__item span {
  display: block;
  color: var(--cativa-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.tramite-detail-summary__item strong {
  display: block;
  color: var(--cativa-text);
  line-height: 1.45;
}

.tramite-detail-section + .tramite-detail-section {
  margin-top: 1rem;
}

.tramite-detail-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.tramite-detail-section__head h6 {
  margin: 0;
  font-size: 1rem;
}

.tramite-detail-section__head p {
  margin: 0.3rem 0 0;
  color: var(--cativa-text-muted);
}

.tramite-detail-text {
  white-space: pre-wrap;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid var(--cativa-border);
  background: rgba(245, 248, 251, 0.92);
  line-height: 1.7;
}

.tramite-detail-table {
  margin: 0;
}

.meta-fat-page {
  display: grid;
  gap: 1rem;
}

.meta-fat-alert {
  margin: 0;
}

.meta-fat-toolbar-card {
  display: grid;
  gap: 1.15rem;
  border: 1px solid rgba(0, 98, 152, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 253, 0.95) 100%);
}

.meta-fat-command {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 98, 152, 0.1);
}

.meta-fat-command__intro {
  min-width: 0;
  flex: 1;
}

.meta-fat-command__code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.7rem;
}

.meta-fat-command__stamp {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.08);
  color: var(--cativa-primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.meta-fat-command h2 {
  margin: 0;
  color: var(--cativa-primary-deep);
  font-size: 1.38rem;
  line-height: 1.08;
}

.meta-fat-command p {
  margin: 0.52rem 0 0;
  max-width: 46rem;
  color: var(--cativa-text-muted);
  font-size: 0.95rem;
  line-height: 1.62;
}

.meta-fat-command__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.meta-fat-command__actions .btn {
  min-width: 144px;
}

.meta-fat-filter-field {
  min-width: 0;
}

.meta-fat-filters {
  display: grid;
  gap: 0.85rem;
}

.meta-fat-filters__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.85rem;
}

.meta-fat-filter-field--company {
  grid-column: span 3;
}

.meta-fat-filter-field--collection {
  grid-column: span 3;
}

.meta-fat-filter-field--search {
  grid-column: span 6;
}

.meta-fat-search-field {
  position: relative;
}

.meta-fat-search-field i {
  position: absolute;
  left: 1rem;
  top: calc(50% + 0.95rem);
  transform: translateY(-50%);
  color: var(--cativa-primary);
}

.meta-fat-search-field .form-control {
  padding-left: 2.7rem;
}

.meta-fat-filters__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.meta-fat-summary-strip {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.meta-fat-summary-item {
  display: grid;
  gap: 0.28rem;
  min-height: 82px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 98, 152, 0.1);
  background: rgba(255, 255, 255, 0.88);
}

.meta-fat-summary-item span {
  color: var(--cativa-text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meta-fat-summary-item strong {
  display: block;
  color: var(--cativa-text);
  font-size: 1.18rem;
  line-height: 1.2;
  word-break: break-word;
}

.meta-fat-summary-item--value strong {
  color: var(--cativa-primary-deep);
}

.meta-fat-table-card {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(0, 98, 152, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

.meta-fat-table-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.meta-fat-table-head__copy {
  min-width: 0;
}

.meta-fat-table-head__label {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--cativa-text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meta-fat-table-head__copy h3 {
  margin: 0;
  font-size: 1.12rem;
}

.meta-fat-table-head__copy p {
  margin: 0.3rem 0 0;
  color: var(--cativa-text-muted);
  line-height: 1.58;
}

.meta-fat-table-head__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.meta-fat-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.1);
  color: var(--cativa-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.meta-fat-table-card .table-responsive {
  border-radius: 18px;
  border: 1px solid rgba(0, 98, 152, 0.08);
  overflow: hidden;
  background: #ffffff;
}

.meta-fat-table {
  margin: 0;
}

.meta-fat-table thead th {
  background: rgba(0, 98, 152, 0.06);
  color: var(--cativa-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta-fat-table tbody td {
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
  vertical-align: top;
}

.meta-fat-table tbody tr:nth-child(even) td {
  background: rgba(245, 248, 251, 0.74);
}

.meta-fat-table tbody tr:hover td {
  background: rgba(0, 98, 152, 0.04);
}

.meta-fat-loading-state,
.meta-fat-empty-state {
  padding: 1.2rem 1.25rem;
  border-radius: 18px;
  border: 1px dashed rgba(0, 98, 152, 0.18);
  background: rgba(247, 250, 252, 0.94);
  color: var(--cativa-text-muted);
  text-align: center;
}

.meta-fat-loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.meta-fat-empty-state__icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 0.9rem;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 98, 152, 0.12);
  color: var(--cativa-primary);
  font-size: 1.8rem;
}

.meta-fat-empty-state h4 {
  margin: 0 0 0.45rem;
  color: var(--cativa-text);
}

.meta-fat-empty-state p {
  margin: 0;
}

.meta-fat-primary-cell {
  display: grid;
  gap: 0.2rem;
}

.meta-fat-primary-cell strong {
  font-size: 0.95rem;
}

.meta-fat-primary-cell small {
  color: var(--cativa-text-muted);
}

.meta-fat-value-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  justify-content: center;
  min-width: 122px;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  background: rgba(7, 39, 61, 0.06);
  color: var(--cativa-primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.meta-fat-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.meta-fat-actions .btn {
  padding: 0.52rem 0.82rem;
}

.meta-fat-modal-mode {
  margin-bottom: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 98, 152, 0.16);
  background: rgba(230, 241, 247, 0.8);
  color: var(--cativa-primary-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.orp00007-page {
  display: grid;
  gap: 1.25rem;
}

.orp00007-alert {
  margin-top: 0.1rem;
  margin-bottom: 0.25rem;
}

.orp00007-form-card,
.orp00007-result-card {
  display: grid;
  gap: 1rem;
}

.orp00007-form-card {
  position: relative;
  overflow: hidden;
}

.orp00007-form-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cativa-primary) 0%, #1691c4 100%);
}

.orp00007-context-strip {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(0, 98, 152, 0.12);
  background: linear-gradient(180deg, rgba(230, 241, 247, 0.72) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.orp00007-context-chip {
  display: grid;
  gap: 0.22rem;
  min-height: 76px;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 98, 152, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(4, 24, 38, 0.06);
}

.orp00007-context-chip span {
  color: var(--cativa-text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orp00007-context-chip strong {
  color: var(--cativa-primary-deep);
  font-size: 0.98rem;
  line-height: 1.45;
  word-break: break-word;
}

.orp00007-context-chip--wide {
  grid-column: span 2;
}

.orp00007-form {
  display: grid;
  gap: 1rem;
}

.orp00007-form .form-control,
.orp00007-form .form-select,
.orp00007-form textarea {
  border-radius: 16px;
  border-color: rgba(0, 98, 152, 0.16);
  box-shadow: none;
}

.orp00007-form .form-control[readonly] {
  background: rgba(245, 248, 251, 0.96);
  color: var(--cativa-text);
}

.orp00007-form .form-control:focus,
.orp00007-form .form-select:focus,
.orp00007-form textarea:focus {
  border-color: var(--cativa-primary);
  box-shadow: 0 0 0 0.25rem rgba(0, 98, 152, 0.12);
}

.orp00007-form .form-text {
  color: var(--cativa-text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.orp00007-armazem-hint {
  display: block;
  margin-top: 0.4rem;
  min-height: 1.1rem;
}

.orp00007-queue-card {
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(0, 98, 152, 0.14);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.orp00007-queue-card .home-section-card__head {
  margin-bottom: 0.9rem;
}

.orp00007-queue-card h4 {
  margin: 0;
  color: var(--cativa-primary-deep);
  font-size: 1rem;
}

.orp00007-queue-card p {
  margin: 0.32rem 0 0;
  color: var(--cativa-text-muted);
  line-height: 1.55;
}

.orp00007-queue-card .table-responsive {
  border-radius: 18px;
  border: 1px solid rgba(0, 98, 152, 0.08);
  overflow: hidden;
}

.orp00007-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.55rem;
}

.orp00007-volume-count {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.1);
  color: var(--cativa-primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.orp00007-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.orp00007-form-actions .btn {
  min-height: 44px;
  padding: 0.72rem 1rem;
}

.orp00007-result-head__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.orp00007-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.1);
  color: var(--cativa-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.orp00007-status-pill.is-success {
  background: rgba(22, 145, 196, 0.12);
  color: var(--cativa-success);
}

.orp00007-status-pill.is-danger {
  background: rgba(214, 51, 51, 0.12);
  color: #b42318;
}

.orp00007-status-pill.is-warning {
  background: rgba(190, 126, 0, 0.12);
  color: #8a5b00;
}

.orp00007-loading-state,
.orp00007-empty-state {
  padding: 1.35rem;
  border-radius: 24px;
  border: 1px dashed rgba(0, 98, 152, 0.22);
  background: rgba(230, 241, 247, 0.6);
  color: var(--cativa-text-muted);
  text-align: center;
}

.orp00007-loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.orp00007-empty-state {
  display: grid;
  justify-items: center;
}

.orp00007-empty-state__icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 0.9rem;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 98, 152, 0.12);
  color: var(--cativa-primary);
  font-size: 1.8rem;
}

.orp00007-empty-state h4 {
  margin: 0 0 0.45rem;
  color: var(--cativa-text);
}

.orp00007-empty-state p {
  margin: 0;
  max-width: 36rem;
}

.orp00007-response-message {
  margin: 0;
  border-radius: 18px;
}

.orp00007-response-summary {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.orp00007-summary-item {
  display: grid;
  gap: 0.22rem;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 98, 152, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(245, 248, 251, 0.94) 100%);
  box-shadow: var(--cativa-shadow-soft);
}

.orp00007-summary-item span {
  color: var(--cativa-text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orp00007-summary-item strong {
  color: var(--cativa-primary-dark);
  font-size: 0.98rem;
  line-height: 1.45;
  word-break: break-word;
}

.orp00007-result-card .table-responsive {
  border-radius: 20px;
  border: 1px solid rgba(0, 98, 152, 0.12);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--cativa-shadow-soft);
}

.orp00007-result-card .table {
  margin: 0;
}

.orp00007-result-card .table thead th {
  background: rgba(0, 98, 152, 0.08);
  color: var(--cativa-primary-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orp00007-result-card .table tbody td {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  vertical-align: top;
}

.orp00007-result-card .table tbody tr:nth-child(even) td {
  background: rgba(245, 248, 251, 0.76);
}

.orp00007-json-card {
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(0, 98, 152, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 251, 0.95) 100%);
  box-shadow: var(--cativa-shadow-soft);
}

.orp00007-json-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.orp00007-json-card__head h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--cativa-text);
}

.orp00007-json-card__head p {
  margin: 0.28rem 0 0;
  color: var(--cativa-text-muted);
  font-size: 0.88rem;
}

.orp00007-json {
  margin: 0;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #06253a;
  color: #eaf3f8;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.84rem;
  line-height: 1.6;
  max-height: 360px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.orp00008-page {
  display: grid;
  gap: 1rem;
}

.orp00008-form {
  margin-top: 0.25rem;
}

.orp00008-form .form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cativa-text);
}

.orp00008-form .form-control,
.orp00008-form .form-select {
  border-radius: 16px;
}

.orp00008-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.orp00008-form-actions--right {
  align-items: flex-end;
  height: 100%;
}

.orp00008-form-actions .btn {
  min-width: 128px;
  min-height: 38px;
}

.orp00008-feedback {
  margin-top: 1rem;
  border-radius: 18px;
}

.orp00008-summary-card,
.orp00008-table-card {
  padding-bottom: 1.1rem;
}

.orp00008-page {
  position: relative;
}

.orp00008-summary-head__meta,
.orp00008-table-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.orp00008-badge,
.orp00008-period-pill,
.orp00008-secondary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.orp00008-badge--neutral,
.orp00008-period-pill--neutral {
  background: rgba(0, 98, 152, 0.08);
  border-color: rgba(0, 98, 152, 0.15);
  color: var(--cativa-brand);
}

.orp00008-badge--success,
.orp00008-period-pill--success {
  background: rgba(29, 145, 76, 0.1);
  border-color: rgba(29, 145, 76, 0.18);
  color: #146a36;
}

.orp00008-badge--warning,
.orp00008-period-pill--warning {
  background: rgba(244, 160, 0, 0.14);
  border-color: rgba(244, 160, 0, 0.18);
  color: #8a5a00;
}

.orp00008-badge--danger,
.orp00008-period-pill--danger {
  background: rgba(182, 55, 55, 0.12);
  border-color: rgba(182, 55, 55, 0.2);
  color: #9f2d2d;
}

.orp00008-secondary-pill {
  background: rgba(7, 39, 61, 0.06);
  border-color: rgba(7, 39, 61, 0.1);
  color: var(--cativa-text-muted);
}

.orp00008-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.9rem;
}

.orp00008-summary-overview {
  display: grid;
  grid-template-columns: minmax(18rem, 1.05fr) minmax(0, 1.95fr);
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.orp00008-summary-hero {
  min-height: 154px;
  border-radius: 8px;
  padding: 1rem 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, #006298 0%, #087aae 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 34px rgba(0, 98, 152, 0.18);
}

.orp00008-summary-hero span,
.orp00008-summary-kpi span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.orp00008-summary-hero strong {
  display: block;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: 0;
  margin: 0.5rem 0;
  word-break: break-word;
}

.orp00008-summary-hero small {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.orp00008-summary-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.orp00008-summary-kpi {
  min-height: 72px;
  border-radius: 8px;
  border: 1px solid rgba(0, 98, 152, 0.12);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.78rem 0.85rem;
  display: grid;
  gap: 0.35rem;
}

.orp00008-summary-kpi span {
  color: var(--cativa-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.orp00008-summary-kpi strong {
  color: var(--cativa-text);
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: 0;
}

.orp00008-summary-kpi--receivable {
  border-color: rgba(0, 98, 152, 0.28);
  background: rgba(237, 247, 252, 0.95);
}

.orp00008-summary-kpi--receivable strong {
  color: #006298;
}

.orp00008-summary-kpi--brand strong {
  color: #006298;
}

.orp00008-summary-kpi--credit strong {
  color: #027a48;
}

.orp00008-summary-kpi--tax strong {
  color: #7a4d00;
}

.orp00008-summary-kpi--muted strong {
  color: #475467;
}

.orp00008-summary-section {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(0, 98, 152, 0.12);
  background: rgba(255, 255, 255, 0.94);
}

.orp00008-summary-section h4 {
  margin: 0;
  padding: 0.72rem 0.85rem;
  background: #f8fbfd;
  border-bottom: 1px solid rgba(0, 98, 152, 0.1);
  color: var(--cativa-text);
  font-size: 0.86rem;
  font-weight: 850;
}

.orp00008-summary-section__rows {
  display: grid;
}

.orp00008-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  min-height: 42px;
  padding: 0.58rem 0.85rem;
  border-top: 1px solid #eef2f6;
}

.orp00008-summary-row:first-child {
  border-top: 0;
}

.orp00008-summary-row span {
  color: var(--cativa-text);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.25;
}

.orp00008-summary-row strong {
  min-width: 8.6rem;
  border-radius: 6px;
  padding: 0.26rem 0.45rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
}

.orp00008-summary-row--emphasis {
  background: #f8fbfd;
}

.orp00008-summary-row--emphasis span {
  font-weight: 850;
}

.orp00008-summary-row--credit strong {
  background: #eef8f2;
  color: #027a48;
}

.orp00008-summary-row--debit strong {
  background: #fff1f0;
  color: #b42318;
}

.orp00008-summary-row--tax strong {
  background: #fff4c2;
  color: #7a4d00;
}

.orp00008-summary-row--muted strong {
  background: #f2f4f7;
  color: #475467;
}

.orp00008-summary-row--neutral strong {
  background: #edf7fc;
  color: #006298;
}

.orp00008-summary-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  color: var(--cativa-text-muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.orp00008-summary-note i {
  color: #006298;
}

.orp00008-loading-state,
.orp00008-empty-state {
  min-height: 150px;
  border-radius: 20px;
  border: 1px dashed rgba(0, 98, 152, 0.18);
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: var(--cativa-text-muted);
  margin-top: 1rem;
  padding: 1.25rem;
  text-align: center;
}

.orp00008-loading-state {
  font-weight: 700;
}

.orp00008-loading-overlay {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  pointer-events: none;
  position: fixed;
  z-index: 1080;
}

.orp00008-loading-overlay__box {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 98, 152, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 35, 52, 0.18);
  color: var(--cativa-text);
  display: inline-flex;
  gap: 0.75rem;
  min-width: 12rem;
  padding: 0.9rem 1rem;
  font-weight: 800;
}

.orp00008-empty-state {
  flex-direction: column;
}

.orp00008-empty-state__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(0, 98, 152, 0.08);
  color: var(--cativa-brand);
  font-size: 1.4rem;
}

.orp00008-empty-state h4 {
  margin: 0;
  color: var(--cativa-text);
  font-size: 1.05rem;
}

.orp00008-empty-state p {
  margin: 0;
  max-width: 42rem;
}

.orp00008-table {
  margin-top: 1rem;
}

.orp00008-table thead th {
  background: #f8fbfd;
  border-bottom: 1px solid #eef2f6;
  border-top: 0;
  color: var(--cativa-text-muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.orp00008-table > :not(:first-child) {
  border-top: 0;
}

.orp00008-sort-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  display: inline-flex;
  font: inherit;
  gap: 0.25rem;
  justify-content: flex-start;
  padding: 0;
  text-align: left;
  text-transform: inherit;
  width: 100%;
}

.orp00008-sort-button--end {
  justify-content: flex-end;
  text-align: right;
}

.orp00008-sort-button i {
  color: #98a2b3;
  font-size: 0.78rem;
}

.orp00008-sort-button.is-active {
  color: #006298;
}

.orp00008-sort-button.is-active i {
  color: #006298;
}

.orp00008-table tbody td {
  vertical-align: top;
}

.orp00008-table tbody tr:nth-child(even) td {
  background: rgba(245, 248, 251, 0.76);
}

.orp00008-value-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
}

.orp00008-value-pill.is-green {
  background: linear-gradient(135deg, #198754 0%, #36a86e 100%);
}

.orp00008-value-pill.is-red {
  background: linear-gradient(135deg, #b23b3b 0%, #dc5a5a 100%);
}

.orp00009-page {
  display: grid;
  gap: 1rem;
}

.orp00009-filter-card,
.orp00009-grid-card {
  border: 1px solid rgba(0, 98, 152, 0.14);
}

.orp00009-form {
  display: grid;
  gap: 1rem;
}

.orp00009-form .form-control:focus,
.orp00009-form .form-select:focus {
  border-color: rgba(0, 98, 152, 0.5);
  box-shadow: 0 0 0 0.18rem rgba(0, 98, 152, 0.16);
}

.orp00009-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.orp00009-form-actions .btn {
  min-width: 168px;
}

.orp00009-size-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 38px;
}

.orp00009-size-button {
  min-width: 52px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.orp00009-size-button.is-active {
  background: #006298;
  border-color: #006298;
  color: #fff;
}

.orp00009-size-empty {
  font-size: 0.83rem;
  color: #5d7488;
}

.orp00009-feedback {
  margin: 0;
}

.orp00009-grid-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.orp00009-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.14);
  color: #05527f;
  font-weight: 700;
  font-size: 0.78rem;
}

.orp00009-pill--muted {
  background: rgba(11, 36, 54, 0.08);
  color: #2a4b62;
}

.orp00009-loading-state,
.orp00009-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 14px;
  border: 1px dashed rgba(0, 98, 152, 0.24);
  background: rgba(0, 98, 152, 0.04);
  color: #21435a;
  padding: 1rem;
  font-size: 0.9rem;
}

.orp00009-empty-state {
  flex-direction: column;
  text-align: center;
}

.orp00009-empty-state__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 98, 152, 0.12);
  color: #006298;
  font-size: 1.2rem;
}

.orp00009-empty-state h4 {
  margin: 0;
  font-size: 1.03rem;
}

.orp00009-empty-state p {
  margin: 0;
  color: #587084;
}

.orp00009-table thead th {
  white-space: nowrap;
}

.orp00009-table tbody tr:nth-child(even) td {
  background: rgba(245, 248, 251, 0.82);
}

.orp00009-avisos {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.5rem;
}

.orp00009-aviso-item {
  border-radius: 12px;
  border: 1px solid rgba(179, 92, 0, 0.24);
  background: rgba(255, 244, 227, 0.92);
  color: #6c4312;
  padding: 0.72rem 0.82rem;
  display: grid;
  gap: 0.22rem;
}

.orp00009-aviso-item strong {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.orp00009-aviso-item span {
  font-size: 0.85rem;
}

.orp00011-page {
  display: grid;
  gap: 1rem;
}

.orp00011-filter-card,
.orp00011-summary-card,
.orp00011-table-card {
  border: 1px solid rgba(0, 98, 152, 0.14);
}

.orp00011-form {
  display: grid;
  gap: 1rem;
}

.orp00011-form .form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cativa-text);
}

.orp00011-form .form-control,
.orp00011-form .form-select {
  border-radius: 16px;
}

.orp00011-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.orp00011-form-actions .btn {
  min-width: 144px;
}

.orp00011-feedback {
  margin: 0;
  border-radius: 18px;
}

.orp00011-summary-card,
.orp00011-table-card {
  padding-bottom: 1.1rem;
}

.orp00011-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}

.orp00011-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: rgba(0, 98, 152, 0.08);
  border-color: rgba(0, 98, 152, 0.15);
  color: var(--cativa-brand);
}

.orp00011-pill--muted {
  background: rgba(7, 39, 61, 0.06);
  border-color: rgba(7, 39, 61, 0.1);
  color: var(--cativa-text-muted);
}

.orp00011-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.orp00011-summary-item {
  display: grid;
  gap: 0.55rem;
  min-height: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 98, 152, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.orp00011-summary-item__label {
  font-size: 0.79rem;
  line-height: 1.32;
  color: var(--cativa-text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.orp00011-summary-item__value {
  font-size: 1.02rem;
  color: var(--cativa-text);
  font-weight: 800;
  word-break: break-word;
}

.orp00011-summary-empty {
  grid-column: 1 / -1;
  padding: 1.35rem;
  border-radius: 20px;
  border: 1px dashed rgba(0, 98, 152, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--cativa-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

.orp00011-summary-empty i {
  font-size: 1.15rem;
  color: var(--cativa-brand);
}

.orp00011-summary-empty p {
  margin: 0;
}

.orp00011-loading-state,
.orp00011-empty-state {
  min-height: 150px;
  border-radius: 20px;
  border: 1px dashed rgba(0, 98, 152, 0.18);
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: var(--cativa-text-muted);
  margin-top: 1rem;
  padding: 1.25rem;
  text-align: center;
}

.orp00011-loading-state {
  font-weight: 700;
}

.orp00011-empty-state {
  flex-direction: column;
}

.orp00011-empty-state__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(0, 98, 152, 0.08);
  color: var(--cativa-brand);
  font-size: 1.4rem;
}

.orp00011-empty-state h4 {
  margin: 0;
  color: var(--cativa-text);
  font-size: 1.05rem;
}

.orp00011-empty-state p {
  margin: 0;
  max-width: 42rem;
}

.orp00011-table {
  margin-top: 1rem;
}

.orp00011-table thead th {
  white-space: nowrap;
  font-size: 0.77rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.orp00011-table tbody td {
  vertical-align: top;
}

.orp00011-table tbody tr:nth-child(even) td {
  background: rgba(245, 248, 251, 0.76);
}

.orp00011-op-link,
.orp00011-observacao-link {
  padding: 0;
  text-align: left;
  text-decoration: none;
}

.orp00011-op-link {
  font-weight: 800;
  color: var(--cativa-brand);
}

.orp00011-observacao-link {
  max-width: 16rem;
  color: var(--cativa-text);
  line-height: 1.45;
  white-space: normal;
}

.orp00011-date-editor {
  display: grid;
  gap: 0.35rem;
  min-width: 152px;
}

.orp00011-date-input {
  min-width: 0;
  font-weight: 700;
}

.orp00011-date-editor small {
  color: var(--cativa-text-muted);
}

.orp00011-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.orp00011-modal-note {
  color: var(--cativa-text-muted);
  line-height: 1.7;
  white-space: pre-wrap;
}

html[data-internal-theme='dark'] body.app-shell-internal a {
  color: #87caee;
}

html[data-internal-theme='dark'] body.app-shell-internal a:hover {
  color: #b2e2ff;
}

html[data-internal-theme='dark'] body.app-shell-internal .btn-outline-primary {
  background: rgba(11, 24, 34, 0.88);
  border-color: rgba(0, 98, 152, 0.34);
  color: #87caee;
}

html[data-internal-theme='dark'] body.app-shell-internal .btn-outline-primary:hover,
html[data-internal-theme='dark'] body.app-shell-internal .btn-outline-primary:focus {
  background: rgba(0, 98, 152, 0.18);
  color: #f3fbff;
}

html[data-internal-theme='dark'] body.app-shell-internal .btn-outline-secondary,
html[data-internal-theme='dark'] body.app-shell-internal .btn-secondary {
  background: rgba(12, 21, 30, 0.9);
  border-color: var(--cativa-border-strong);
  color: var(--cativa-text);
}

html[data-internal-theme='dark'] body.app-shell-internal .form-control,
html[data-internal-theme='dark'] body.app-shell-internal .form-select,
html[data-internal-theme='dark'] body.app-shell-internal .input-group-text {
  background: rgba(10, 18, 26, 0.96);
  border-color: var(--cativa-border);
  color: var(--cativa-text);
}

html[data-internal-theme='dark'] body.app-shell-internal .form-control::placeholder {
  color: #7f95a6;
}

html[data-internal-theme='dark'] body.app-shell-internal .card,
html[data-internal-theme='dark'] body.app-shell-internal .modal-content {
  background: rgba(12, 20, 29, 0.94);
  border-color: rgba(53, 81, 104, 0.92);
}

html[data-internal-theme='dark'] body.app-shell-internal .card-header,
html[data-internal-theme='dark'] body.app-shell-internal .card-footer,
html[data-internal-theme='dark'] body.app-shell-internal .card-header.bg-light,
html[data-internal-theme='dark'] body.app-shell-internal .table-light,
html[data-internal-theme='dark'] body.app-shell-internal .bg-light {
  background: linear-gradient(180deg, rgba(19, 32, 44, 0.98) 0%, rgba(14, 24, 34, 0.95) 100%) !important;
  border-color: var(--cativa-border);
  color: var(--cativa-text);
}

html[data-internal-theme='dark'] body.app-shell-internal .table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

html[data-internal-theme='dark'] body.app-shell-internal .pagination .page-link {
  background: rgba(11, 24, 34, 0.9);
  border-color: var(--cativa-border);
  color: #87caee;
}

html[data-internal-theme='dark'] body.app-shell-internal .app-sidebar {
  background: linear-gradient(180deg, #0c1620 0%, #101a25 100%);
  border-right-color: rgba(255, 255, 255, 0.06);
  box-shadow: 18px 0 40px rgba(0, 0, 0, 0.3);
}

html[data-internal-theme='dark'] body.app-shell-internal .app-brand__logo--light {
  display: none;
}

html[data-internal-theme='dark'] body.app-shell-internal .app-brand__logo--dark {
  display: block;
}

html[data-internal-theme='dark'] body.app-shell-internal .app-logout-link,
html[data-internal-theme='dark'] body.app-shell-internal .app-sidebar-minimize,
html[data-internal-theme='dark'] body.app-shell-internal .app-sidebar-search,
html[data-internal-theme='dark'] body.app-shell-internal .app-theme-toggle,
html[data-internal-theme='dark'] body.app-shell-internal .app-sidebar__nav,
html[data-internal-theme='dark'] body.app-shell-internal .app-user-card {
  background: rgba(12, 20, 29, 0.9);
  border-color: rgba(53, 81, 104, 0.92);
  color: var(--cativa-text);
}

html[data-internal-theme='dark'] body.app-shell-internal .app-logout-link:hover,
html[data-internal-theme='dark'] body.app-shell-internal .app-sidebar-minimize:hover,
html[data-internal-theme='dark'] body.app-shell-internal .app-theme-toggle:hover {
  background: rgba(0, 98, 152, 0.18);
  color: #f3fbff;
}

html[data-internal-theme='dark'] body.app-shell-internal.sidebar-minimized .app-sidebar {
  background: #243a50;
  border-right: 0;
  box-shadow: 10px 0 28px rgba(8, 29, 46, 0.22);
  color: #ffffff;
}

html[data-internal-theme='dark'] body.app-shell-internal.sidebar-minimized .app-sidebar__nav {
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
}

html[data-internal-theme='dark'] body.app-shell-internal.sidebar-minimized .sidebar-link,
html[data-internal-theme='dark'] body.app-shell-internal.sidebar-minimized .sidebar-link--block,
html[data-internal-theme='dark'] body.app-shell-internal.sidebar-minimized .sidebar-link--standalone {
  background: transparent;
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
}

html[data-internal-theme='dark'] body.app-shell-internal.sidebar-minimized .sidebar-link:hover,
html[data-internal-theme='dark'] body.app-shell-internal.sidebar-minimized .sidebar-link.is-active,
html[data-internal-theme='dark'] body.app-shell-internal.sidebar-minimized .sidebar-nav__item.is-active > .sidebar-link,
html[data-internal-theme='dark'] body.app-shell-internal.sidebar-minimized .sidebar-nav__item.is-active > .sidebar-disclosure > summary.sidebar-link {
  background: #0f2235;
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: inset 3px 0 0 #ffffff;
}

html[data-internal-theme='dark'] body.app-shell-internal.sidebar-minimized .sidebar-link__icon,
html[data-internal-theme='dark'] body.app-shell-internal.sidebar-minimized .sidebar-nav--level-1 .sidebar-link__icon,
html[data-internal-theme='dark'] body.app-shell-internal.sidebar-minimized .sidebar-nav--level-2 .sidebar-link__icon,
html[data-internal-theme='dark'] body.app-shell-internal.sidebar-minimized .sidebar-nav--level-3 .sidebar-link__icon {
  color: #ffffff;
}

html[data-internal-theme='dark'] body.app-shell-internal.sidebar-minimized .app-sidebar-minimize {
  background: transparent;
  border: 0;
  color: #ffffff;
}

html[data-internal-theme='dark'] body.app-shell-internal.sidebar-minimized .app-sidebar-minimize:hover {
  background: #172b3f;
  color: #ffffff;
}

html[data-internal-theme='dark'] body.app-shell-internal.sidebar-expanding .app-sidebar__nav {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

html[data-internal-theme='dark'] body.app-shell-internal.sidebar-expanding .sidebar-link,
html[data-internal-theme='dark'] body.app-shell-internal.sidebar-expanding .sidebar-link--block,
html[data-internal-theme='dark'] body.app-shell-internal.sidebar-expanding .sidebar-link--standalone {
  background: transparent;
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
}

html[data-internal-theme='dark'] body.app-shell-internal .app-sidebar-search {
  box-shadow: 0 0 0 3px rgba(0, 98, 152, 0.12);
}

html[data-internal-theme='dark'] body.app-shell-internal .app-sidebar-search input::placeholder {
  color: #7590a5;
}

html[data-internal-theme='dark'] body.app-shell-internal .app-theme-toggle__icon,
html[data-internal-theme='dark'] body.app-shell-internal .app-user-card__avatar {
  background: rgba(0, 98, 152, 0.18);
  color: #8bcbee;
}

html[data-internal-theme='dark'] body.app-shell-internal .app-sidebar__nav {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

html[data-internal-theme='dark'] body.app-shell-internal .app-sidebar__nav::-webkit-scrollbar-thumb {
  background: rgba(139, 203, 238, 0.25);
}

html[data-internal-theme='dark'] body.app-shell-internal .sidebar-link {
  color: var(--cativa-text);
}

html[data-internal-theme='dark'] body.app-shell-internal .sidebar-link__icon {
  color: #8bcbee;
}

html[data-internal-theme='dark'] body.app-shell-internal .sidebar-link__chevron {
  color: #89a1b2;
}

html[data-internal-theme='dark'] body.app-shell-internal .sidebar-link__warning {
  background: rgba(244, 198, 108, 0.16);
  color: var(--cativa-warning);
}

html[data-internal-theme='dark'] body.app-shell-internal.sidebar-minimized .sidebar-link__warning {
  background: #f4a62a;
  color: transparent;
}

html[data-internal-theme='dark'] body.app-shell-internal .sidebar-link:hover,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-link.is-active,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav__item.is-active > .sidebar-link {
  background: rgba(0, 98, 152, 0.18);
  color: #f3fbff;
  box-shadow: inset 4px 0 0 #63bbea;
}

html[data-internal-theme='dark'] body.app-shell-internal .sidebar-link:hover .sidebar-link__icon,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-link.is-active .sidebar-link__icon,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav__item.is-active > .sidebar-link .sidebar-link__icon,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-disclosure[open] > summary .sidebar-link__icon,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-disclosure[open] > summary .sidebar-link__chevron {
  color: #f3fbff;
}

html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-1::before,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-2::before,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-3::before {
  background: linear-gradient(180deg, rgba(139, 203, 238, 0.22) 0%, rgba(139, 203, 238, 0.04) 100%);
}

html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-1 .sidebar-link,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-2 .sidebar-link,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-3 .sidebar-link {
  color: var(--cativa-text-muted);
}

html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-1 .sidebar-link:hover,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-1 .sidebar-link.is-active,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-1 .sidebar-nav__item.is-active > .sidebar-link,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-2 .sidebar-link:hover,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-2 .sidebar-link.is-active,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-2 .sidebar-nav__item.is-active > .sidebar-link,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-3 .sidebar-link:hover,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-3 .sidebar-link.is-active,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-3 .sidebar-nav__item.is-active > .sidebar-link {
  background: rgba(0, 98, 152, 0.14);
  color: #f3fbff;
}

html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-1 .sidebar-link::before,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-2 .sidebar-link::before,
html[data-internal-theme='dark'] body.app-shell-internal .sidebar-nav--level-3 .sidebar-link::before {
  background: rgba(139, 203, 238, 0.22);
}

html[data-internal-theme='dark'] body.app-shell-internal .app-topbar__inner {
  background: rgba(10, 18, 26, 0.8);
  border-color: rgba(53, 81, 104, 0.78);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

html[data-internal-theme='dark'] body.app-shell-internal .app-sidebar-toggle {
  background: rgba(0, 98, 152, 0.16);
  color: #8bcbee;
}

html[data-internal-theme='dark'] body.app-shell-internal :is(.home-section-card, .placeholder-screen, .easy-admin-note, .orp00007-queue-card, .orp00007-json-card, .orp00007-summary-item, .orp00008-summary-section, .orp00008-summary-kpi, .orp00009-filter-card, .orp00009-grid-card, .orp00011-filter-card, .orp00011-summary-card, .orp00011-summary-item, .orp00011-table-card) {
  background: linear-gradient(180deg, rgba(12, 20, 29, 0.96) 0%, rgba(15, 26, 36, 0.92) 100%);
  border-color: rgba(53, 81, 104, 0.9);
  box-shadow: var(--cativa-shadow-soft);
  color: var(--cativa-text);
}

html[data-internal-theme='dark'] body.app-shell-internal :is(.orp00007-loading-state, .orp00007-empty-state, .orp00008-loading-state, .orp00008-empty-state, .orp00009-loading-state, .orp00009-empty-state, .orp00011-loading-state, .orp00011-empty-state, .orp00011-summary-empty) {
  background: rgba(11, 24, 34, 0.82);
  border-color: rgba(0, 98, 152, 0.22);
  color: var(--cativa-text-muted);
}

html[data-internal-theme='dark'] body.app-shell-internal .meta-fat-toolbar-card,
html[data-internal-theme='dark'] body.app-shell-internal .meta-fat-table-card,
html[data-internal-theme='dark'] body.app-shell-internal .meta-fat-summary-item {
  background: linear-gradient(180deg, rgba(12, 20, 29, 0.96) 0%, rgba(15, 26, 36, 0.92) 100%);
  border-color: rgba(53, 81, 104, 0.9);
  color: var(--cativa-text);
}

html[data-internal-theme='dark'] body.app-shell-internal .meta-fat-command {
  border-bottom-color: rgba(139, 203, 238, 0.12);
}

html[data-internal-theme='dark'] body.app-shell-internal .meta-fat-command__stamp {
  background: rgba(0, 98, 152, 0.18);
  color: #8bcbee;
}

html[data-internal-theme='dark'] body.app-shell-internal .meta-fat-summary-item strong {
  color: var(--cativa-text);
}

html[data-internal-theme='dark'] body.app-shell-internal .meta-fat-summary-item--value strong {
  color: #8bcbee;
}

html[data-internal-theme='dark'] body.app-shell-internal .meta-fat-table-card .table-responsive {
  background: rgba(10, 18, 26, 0.92);
  border-color: rgba(53, 81, 104, 0.86);
}

html[data-internal-theme='dark'] body.app-shell-internal .meta-fat-table thead th {
  background: rgba(0, 98, 152, 0.12);
  color: var(--cativa-text-muted);
}

html[data-internal-theme='dark'] body.app-shell-internal .meta-fat-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03);
}

html[data-internal-theme='dark'] body.app-shell-internal .meta-fat-table tbody tr:hover td {
  background: rgba(0, 98, 152, 0.1);
}

html[data-internal-theme='dark'] body.app-shell-internal .meta-fat-loading-state,
html[data-internal-theme='dark'] body.app-shell-internal .meta-fat-empty-state {
  background: rgba(11, 24, 34, 0.82);
  border-color: rgba(0, 98, 152, 0.22);
  color: var(--cativa-text-muted);
}

html[data-internal-theme='dark'] body.app-shell-internal .meta-fat-value-badge {
  background: rgba(139, 203, 238, 0.12);
  color: #d5efff;
}

html[data-internal-theme='dark'] body.app-shell-internal .home-hero {
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.26);
}

html[data-internal-theme='dark'] body.app-shell-internal .home-hero__eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #f3fbff;
}

html[data-internal-theme='dark'] body.app-shell-internal .home-hero__lead {
  color: rgba(223, 241, 252, 0.82);
}

html[data-internal-theme='dark'] body.app-shell-internal .home-hero__subtitle,
html[data-internal-theme='dark'] body.app-shell-internal .home-hero__card p,
html[data-internal-theme='dark'] body.app-shell-internal .home-hero__card span {
  color: rgba(233, 245, 252, 0.88);
}

html[data-internal-theme='dark'] body.app-shell-internal .home-hero__card {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.1) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-internal-theme='dark'] body.app-shell-internal .home-hero__card strong {
  color: #ffffff;
}

html[data-internal-theme='dark'] body.app-shell-internal .home-section-card__head p,
html[data-internal-theme='dark'] body.app-shell-internal .home-section-card__eyebrow,
html[data-internal-theme='dark'] body.app-shell-internal .home-signature__text {
  color: #c0d1dd;
}

html[data-internal-theme='dark'] body.app-shell-internal .easy-admin-table-shell {
  background: rgba(10, 18, 26, 0.92);
  border-color: rgba(53, 81, 104, 0.86);
}

html[data-internal-theme='dark'] body.app-shell-internal .easy-admin-products-table thead th {
  background: rgba(0, 98, 152, 0.12);
  border-bottom-color: rgba(53, 81, 104, 0.86);
  color: var(--cativa-text-muted);
}

html[data-internal-theme='dark'] body.app-shell-internal .easy-admin-products-table tbody td {
  border-color: rgba(53, 81, 104, 0.68);
}

html[data-internal-theme='dark'] body.app-shell-internal .easy-admin-products-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03);
}

html[data-internal-theme='dark'] body.app-shell-internal .easy-admin-products-table tbody tr:hover td {
  background: rgba(0, 98, 152, 0.1);
}

html[data-internal-theme='dark'] body.app-shell-internal .easy-admin-sort-button.is-active,
html[data-internal-theme='dark'] body.app-shell-internal .easy-admin-sort-button.is-active i {
  color: #8bcbee;
}

html[data-internal-theme='dark'] body.app-shell-internal .easy-admin-stock-summary {
  background: linear-gradient(135deg, rgba(0, 98, 152, 0.2), rgba(0, 98, 152, 0.06));
  border-color: rgba(139, 203, 238, 0.22);
}

html[data-internal-theme='dark'] body.app-shell-internal .easy-admin-stock-summary__notice i,
html[data-internal-theme='dark'] body.app-shell-internal .easy-admin-stock-help {
  color: #8bcbee;
}

html[data-internal-theme='dark'] body.app-shell-internal .sic-sort-button.is-active,
html[data-internal-theme='dark'] body.app-shell-internal .sic-sort-button.is-active i {
  color: #8bcbee;
}

html[data-internal-theme='dark'] body.app-shell-internal .easy-admin-pagination-footer {
  border-top-color: rgba(53, 81, 104, 0.86);
}

html[data-internal-theme='dark'] body.app-shell-internal .home-signature__line {
  background: linear-gradient(90deg, rgba(139, 203, 238, 0.42), rgba(139, 203, 238, 0.02));
}

html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-hero,
html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-menu,
html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-card {
  background: linear-gradient(180deg, rgba(12, 20, 29, 0.96) 0%, rgba(15, 26, 36, 0.92) 100%);
  border-color: rgba(53, 81, 104, 0.9);
  color: var(--cativa-text);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-hero {
  border-top-color: #63bbea;
}

html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-hero h1,
html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-menu__head h2,
html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-card__label,
html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-empty strong {
  color: #f3fbff;
}

html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-hero p,
html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-empty {
  color: #a9bfce;
}

html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-hero__eyebrow,
html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-menu__head span {
  color: #8bcbee;
}

html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-card:hover,
html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-card:focus {
  border-color: var(--evendas-card-accent);
  color: #f3fbff;
}

html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-control,
html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-action {
  background: rgba(0, 98, 152, 0.16);
  border-color: rgba(139, 203, 238, 0.2);
  color: #d7efff;
}

html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-control:hover,
html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-control:focus,
html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-action:hover,
html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-action:focus {
  background: rgba(99, 187, 234, 0.22);
  border-color: rgba(139, 203, 238, 0.42);
  color: #ffffff;
}

html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-action {
  background: var(--cativa-action);
  border-color: rgba(139, 203, 238, 0.46);
  color: #ffffff;
  box-shadow: none;
}

html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-action:hover,
html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-action:focus {
  background: var(--cativa-action-hover);
  border-color: rgba(139, 203, 238, 0.56);
  color: #ffffff;
}

html[data-internal-theme='dark'] body.app-shell-internal .evendas-institutional-bar .evendas-back-action {
  background: rgba(0, 98, 152, 0.2);
  border-color: rgba(139, 203, 238, 0.24);
  color: #d7efff;
}

html[data-internal-theme='dark'] body.app-shell-internal .evendas-institutional-bar .evendas-back-action:hover,
html[data-internal-theme='dark'] body.app-shell-internal .evendas-institutional-bar .evendas-back-action:focus-visible {
  background: rgba(99, 187, 234, 0.28);
  border-color: rgba(139, 203, 238, 0.46);
  color: #ffffff;
}

html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-theme-toggle {
  background: rgba(0, 98, 152, 0.22);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-card__count {
  background: #ef6578;
  border-color: rgba(239, 150, 163, 0.32);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
  color: #ffffff;
}

html[data-internal-theme='dark'] body.app-shell-internal .evendas-home-card__count::after {
  background: #ef6578;
  border-color: #172635;
  box-shadow: 0 0 0 0 rgba(239, 101, 120, 0.28);
}

html[data-internal-theme='dark'] body.app-shell-internal .essence-card,
html[data-internal-theme='dark'] body.app-shell-internal .home-value-card {
  background: linear-gradient(180deg, rgba(16, 28, 39, 0.98) 0%, rgba(12, 22, 31, 0.96) 100%);
  border-color: rgba(53, 81, 104, 0.92);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

html[data-internal-theme='dark'] body.app-shell-internal .essence-card__icon,
html[data-internal-theme='dark'] body.app-shell-internal .home-value-card__index {
  background: rgba(0, 98, 152, 0.2);
  color: #a6ddf9;
}

html[data-internal-theme='dark'] body.app-shell-internal .essence-card__eyebrow,
html[data-internal-theme='dark'] body.app-shell-internal .essence-card p,
html[data-internal-theme='dark'] body.app-shell-internal .home-value-card p {
  color: #c9d9e4;
}

html[data-internal-theme='dark'] body.app-shell-internal .essence-card h4,
html[data-internal-theme='dark'] body.app-shell-internal .home-value-card h4 {
  color: #f3fbff;
}

html[data-internal-theme='dark'] body.app-shell-internal .alert-success {
  color: #dcfff0;
  background: rgba(21, 130, 91, 0.16);
  border-color: rgba(88, 211, 157, 0.28);
}

html[data-internal-theme='dark'] body.app-shell-internal .alert-warning {
  color: #fff1d5;
  background: rgba(183, 121, 31, 0.18);
  border-color: rgba(244, 198, 108, 0.28);
}

html[data-internal-theme='dark'] body.app-shell-internal .alert-danger {
  color: #ffe0e5;
  background: rgba(196, 73, 93, 0.18);
  border-color: rgba(239, 150, 163, 0.28);
}

html[data-internal-theme='dark'] body.app-shell-internal :is(
  .apigateway-status-pill,
  .sic-selection-counter,
  .sic-chip,
  .sic-chip--primary,
  .tramite-chip,
  .tramite-chip--industrial,
  .tramite-chip--primary,
  .meta-fat-status-pill,
  .orp00007-status-pill,
  .orp00008-badge--neutral,
  .orp00008-period-pill--neutral,
  .orp00008-secondary-pill,
  .orp00009-pill,
  .orp00009-pill--muted,
  .orp00011-pill,
  .orp00011-pill--muted,
  .meta-fat-value-badge
) {
  background: rgba(0, 98, 152, 0.16);
  border-color: rgba(139, 203, 238, 0.18);
  color: #d7efff;
}

html[data-internal-theme='dark'] body.app-shell-internal :is(
  .apigateway-status-pill.is-success,
  .sic-chip--ok,
  .sic-status-badge--ok,
  .tramite-chip--cativams,
  .orp00007-status-pill.is-success,
  .orp00008-badge--success,
  .orp00008-period-pill--success
) {
  background: rgba(21, 130, 91, 0.18);
  border-color: rgba(88, 211, 157, 0.28);
  color: #dcfff0;
}

html[data-internal-theme='dark'] body.app-shell-internal :is(
  .sic-chip--warning,
  .sic-status-badge--warning,
  .tramite-chip--warning,
  .orp00007-status-pill.is-warning,
  .orp00008-badge--warning,
  .orp00008-period-pill--warning,
  .orp00009-aviso-item
) {
  background: rgba(183, 121, 31, 0.18);
  border-color: rgba(244, 198, 108, 0.28);
  color: #fff1d5;
}

html[data-internal-theme='dark'] body.app-shell-internal :is(
  .apigateway-status-pill.is-danger,
  .sic-chip--danger,
  .sic-status-badge--danger,
  .orp00007-status-pill.is-danger,
  .orp00008-badge--danger,
  .orp00008-period-pill--danger
) {
  background: rgba(196, 73, 93, 0.18);
  border-color: rgba(239, 150, 163, 0.28);
  color: #ffe0e5;
}

html[data-internal-theme='dark'] body.app-shell-internal :is(
  .sic-empty-state p,
  .tramite-empty-state p,
  .meta-fat-empty-state p,
  .orp00007-empty-state p,
  .orp00008-empty-state p,
  .orp00009-empty-state p,
  .orp00011-empty-state p,
  .orp00011-summary-empty p,
  .orp00011-date-editor small,
  .orp00011-modal-note,
  .orp00009-size-empty,
  .orp00009-aviso-item strong,
  .orp00009-aviso-item span
) {
  color: #c6d7e3;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00008-summary-section h4,
html[data-internal-theme='dark'] body.app-shell-internal .orp00008-summary-row--emphasis {
  background: rgba(0, 98, 152, 0.1);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00008-summary-row {
  border-top-color: rgba(255, 255, 255, 0.08);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00008-summary-row span,
html[data-internal-theme='dark'] body.app-shell-internal .orp00008-summary-kpi strong {
  color: var(--cativa-text);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00008-loading-overlay__box {
  background: rgba(12, 20, 29, 0.96);
  border-color: rgba(139, 203, 238, 0.18);
  color: var(--cativa-text);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00009-loading-state,
html[data-internal-theme='dark'] body.app-shell-internal .orp00009-empty-state {
  background: rgba(11, 24, 34, 0.84);
  border-color: rgba(99, 187, 234, 0.22);
  color: #d7e8f4;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00009-empty-state__icon {
  background: rgba(99, 187, 234, 0.14);
  color: #9fdbfb;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00011-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00011-summary-item__value,
html[data-internal-theme='dark'] body.app-shell-internal .orp00011-observacao-link {
  color: #e5f1f8;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00011-date-input {
  color-scheme: dark;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00011-empty-state__icon {
  background: rgba(99, 187, 234, 0.14);
  color: #9fdbfb;
}

@media (max-width: 1280px) {
  .home-hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.9fr);
    padding: 1.55rem;
  }

  .home-hero__title {
    max-width: 12ch;
    font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  }

  .home-hero__subtitle {
    max-width: 34rem;
    font-size: 0.96rem;
  }

  .home-values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .app-layout {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: min(296px, 88vw);
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    box-shadow: 0 22px 46px rgba(4, 24, 38, 0.24);
  }

  body.sidebar-open {
    overflow: hidden;
  }

  body.sidebar-open .app-sidebar {
    transform: translateX(0);
  }

  body.sidebar-open .app-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .app-sidebar-toggle {
    display: inline-flex;
  }

  .app-sidebar-minimize:not(.app-context-switch) {
    display: none !important;
  }

  .app-topbar {
    padding-top: 1rem;
  }

  .app-topbar__inner {
    align-items: flex-start;
  }

  .evendas-home-page {
    min-height: auto;
    align-content: start;
  }

  .evendas-home-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .evendas-home-hero__actions {
    justify-content: flex-start;
    width: 100%;
  }

  .evendas-home-grid {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }

  .home-page--institutional {
    gap: 1.2rem;
  }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.45rem;
  }

  .home-hero__main {
    max-width: 100%;
  }

  .home-hero__title {
    max-width: 13ch;
  }

  .home-hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .home-section-card {
    padding: 1.25rem;
  }

  .home-section-card__head p {
    max-width: none;
  }

  .home-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .easy-admin-hero {
    grid-template-columns: 1fr;
  }

  .easy-admin-toolbar__actions {
    justify-content: flex-start;
  }

  .easy-admin-section-head {
    align-items: stretch;
  }

  .easy-admin-table-shell {
    border-radius: 14px;
  }

  .apigateway-hero,
  .apigateway-grid {
    grid-template-columns: 1fr;
  }

  .sic-approval-hero,
  .sic-toolbar,
  .sic-toolbar__controls {
    grid-template-columns: 1fr;
  }

  .sic-approval-hero,
  .sic-toolbar {
    display: grid;
  }

  .sic-toolbar__controls {
    justify-content: flex-start;
  }

  .tramite-approval-hero,
  .tramite-toolbar,
  .tramite-toolbar__controls {
    grid-template-columns: 1fr;
  }

  .tramite-approval-hero,
  .tramite-toolbar {
    display: grid;
  }

  .tramite-toolbar__controls {
    justify-content: flex-start;
  }

  .meta-fat-command,
  .meta-fat-table-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .meta-fat-filters__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .meta-fat-filter-field--company,
  .meta-fat-filter-field--collection,
  .meta-fat-filter-field--search {
    grid-column: span 1;
  }

  .meta-fat-command__actions,
  .meta-fat-filters__actions,
  .meta-fat-table-head__meta {
    justify-content: flex-start;
  }

  .meta-fat-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .orp00007-context-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .orp00007-context-chip--wide {
    grid-column: span 2;
  }

  .orp00007-json-card__head {
    flex-direction: column;
  }

  .orp00007-loading-state {
    justify-content: flex-start;
  }

  .orp00008-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .orp00008-summary-overview {
    grid-template-columns: 1fr;
  }

  .orp00008-form-actions {
    justify-content: flex-start;
  }

  .orp00008-summary-head__meta,
  .orp00008-table-head__meta {
    justify-content: flex-start;
  }

  .orp00008-loading-state {
    justify-content: flex-start;
  }

  .orp00009-grid-head__meta {
    justify-content: flex-start;
  }

  .orp00011-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .orp00011-head__meta,
  .orp00011-form-actions {
    justify-content: flex-start;
  }

  .apigateway-bootstrap-card__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .public-main {
    padding: 1rem;
  }

  .login-shell,
  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding: 1.25rem;
    border-radius: 26px;
  }

  .home-hero__eyebrow {
    flex-wrap: wrap;
    width: fit-content;
    max-width: 100%;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
  }

  .home-hero__lead {
    margin-top: 0.95rem;
    letter-spacing: 0.18em;
  }

  .home-hero__title {
    max-width: none;
    font-size: clamp(2rem, 7vw, 2.9rem);
    line-height: 0.96;
  }

  .home-hero__subtitle {
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .home-hero__meta {
    grid-template-columns: 1fr;
  }

  .home-hero__card {
    padding: 1rem 1.05rem;
    border-radius: 20px;
  }

  .product-summary-grid {
    grid-template-columns: 1fr;
  }

  .home-essence-grid {
    grid-template-columns: 1fr;
  }

  .home-section-card__head h3 {
    font-size: 1.18rem;
  }

  .home-section-card__head p,
  .essence-card p,
  .home-value-card p {
    line-height: 1.62;
  }

  .home-values-grid {
    grid-template-columns: 1fr;
  }

  .orp00011-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .essence-card,
  .home-value-card {
    padding: 1.05rem;
    border-radius: 20px;
  }

  .login-panel,
  .login-support,
  .home-section-card {
    border-radius: 24px;
  }

  .login-info-grid,
  .login-support__stats {
    grid-template-columns: 1fr;
  }

  .orp00011-head__meta,
  .orp00011-form-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .app-main,
  .app-topbar {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .app-topbar__inner {
    padding: 0.95rem 1rem;
  }

  .app-topbar__title {
    font-size: 1.25rem;
  }

  .app-topbar__subtitle {
    display: none;
  }

  .app-main__inner {
    width: 100%;
  }

  .home-hero,
  .home-section-card,
  .evendas-home-hero,
  .evendas-home-menu,
  .placeholder-screen,
  .login-panel,
  .login-support {
    padding: 1.2rem;
  }

  .evendas-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evendas-home-card {
    min-height: 136px;
    padding: 0.72rem;
  }

  .evendas-home-card__icon {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.12rem;
  }

  .evendas-home-card__label {
    font-size: 0.9rem;
  }

  .evendas-home-control {
    flex: 1 1 11rem;
  }

  .evendas-home-theme-toggle {
    bottom: 0.85rem;
    flex: 0 1 auto;
    left: 0.85rem;
    max-width: calc(100vw - 5rem);
  }

  .home-page--institutional {
    gap: 1rem;
  }

  .home-hero {
    padding: 1rem;
    border-radius: 22px;
  }

  .home-hero__eyebrow {
    padding: 0.42rem 0.68rem;
    font-size: 0.7rem;
  }

  .home-hero__lead {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .home-hero__title {
    font-size: clamp(1.85rem, 10vw, 2.45rem);
  }

  .home-hero__subtitle {
    margin-top: 0.85rem;
    font-size: 0.9rem;
  }

  .home-hero__card strong {
    font-size: 1.3rem;
  }

  .home-hero__card p {
    font-size: 0.88rem;
  }

  .home-section-card__eyebrow,
  .home-signature__text {
    letter-spacing: 0.12em;
  }

  .essence-card__header {
    gap: 0.75rem;
  }

  .essence-card__icon,
  .home-value-card__index {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .home-value-card {
    min-height: unset;
  }

  .easy-admin-bulk-select,
  .actions-stack {
    min-width: 0;
    width: 100%;
  }

  .sic-status-toggle,
  .sic-toolbar__controls,
  .sic-actions {
    width: 100%;
  }

  .sic-detail-header-card {
    padding: 1rem;
  }

  .sic-detail-header-card__top,
  .sic-detail-header-card__metrics,
  .sic-detail-header-card__fields {
    grid-template-columns: 1fr;
  }

  .sic-detail-header-card__sic-line {
    align-items: flex-start;
  }

  .sic-item-card__head {
    flex-direction: column;
  }

  .sic-item-card__fields {
    grid-template-columns: 1fr;
  }

  .sic-item-card__subhead {
    flex-direction: column;
  }

  .sic-actions {
    justify-content: flex-start;
  }

  .tramite-toolbar__controls,
  .tramite-actions,
  .tramite-search-field {
    width: 100%;
  }

  .tramite-actions {
    justify-content: flex-start;
  }

  .meta-fat-command__actions,
  .meta-fat-filters__actions,
  .meta-fat-actions,
  .meta-fat-search-field {
    width: 100%;
  }

  .meta-fat-filters__grid,
  .meta-fat-summary-strip {
    grid-template-columns: 1fr;
  }

  .meta-fat-actions {
    justify-content: flex-start;
  }

  .meta-fat-command__actions,
  .meta-fat-filters__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .meta-fat-command__actions .btn,
  .meta-fat-filters__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .orp00007-context-strip {
    grid-template-columns: 1fr;
  }

  .orp00007-context-chip--wide {
    grid-column: span 1;
  }

  .orp00007-form-footer,
  .orp00007-form-actions,
  .orp00007-json-card__head {
    align-items: stretch;
    flex-direction: column;
  }

  .orp00007-form-actions .btn,
  .orp00007-json-card__head .btn {
    width: 100%;
    justify-content: center;
  }

  .orp00007-response-summary {
    grid-template-columns: 1fr;
  }

  .orp00007-loading-state {
    flex-direction: column;
  }

  .orp00008-summary-grid {
    grid-template-columns: 1fr;
  }

  .orp00008-summary-overview,
  .orp00008-summary-kpis {
    grid-template-columns: 1fr;
  }

  .orp00008-summary-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .orp00008-summary-row strong {
    min-width: 0;
    width: 100%;
  }

  .orp00008-form-actions,
  .orp00008-summary-head__meta,
  .orp00008-table-head__meta {
    width: 100%;
    justify-content: flex-start;
  }

  .orp00008-form-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .orp00008-summary-kpi strong {
    font-size: 1rem;
  }

  .orp00008-table thead th,
  .orp00008-table tbody td {
    white-space: nowrap;
  }

  .orp00009-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .orp00009-form-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .orp00009-grid-head__meta {
    width: 100%;
  }

  .orp00011-summary-grid {
    grid-template-columns: 1fr;
  }

  .orp00011-form-actions,
  .orp00011-head__meta {
    width: 100%;
  }

  .orp00011-form-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .orp00011-table thead th,
  .orp00011-table tbody td {
    font-size: 0.82rem;
  }

  .home-signature {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .home-signature__line {
    width: 100%;
  }
}

.orp00014-page,
.nfe-entry-page {
  display: grid;
  gap: 1rem;
}

.orp00014-filter-card,
.orp00014-context-card,
.orp00014-items-card,
.orp00014-saldo-card {
  border: 1px solid rgba(0, 98, 152, 0.14);
}

.orp00014-form {
  display: grid;
  gap: 1rem;
}

.orp00014-form .form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cativa-text);
}

.orp00014-form .form-control,
.orp00014-form .form-select {
  border-radius: 16px;
}

.orp00014-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.orp00014-form-actions .btn {
  min-width: 148px;
}

.orp00014-feedback {
  margin: 0;
  border-radius: 18px;
}

.orp00014-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.orp00014-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: rgba(0, 98, 152, 0.08);
  border-color: rgba(0, 98, 152, 0.15);
  color: var(--cativa-brand);
}

.orp00014-pill--muted {
  background: rgba(7, 39, 61, 0.06);
  border-color: rgba(7, 39, 61, 0.1);
  color: var(--cativa-text-muted);
}

.orp00014-context-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.orp00014-context-item,
.orp00014-saldo-card-item {
  display: grid;
  gap: 0.55rem;
  min-height: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 98, 152, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.orp00014-context-item span {
  font-size: 0.79rem;
  line-height: 1.32;
  color: var(--cativa-text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.orp00014-context-item strong {
  font-size: 1rem;
  color: var(--cativa-text);
  font-weight: 800;
  word-break: break-word;
}

.orp00014-loading-state,
.orp00014-empty-state {
  min-height: 150px;
  border-radius: 20px;
  border: 1px dashed rgba(0, 98, 152, 0.18);
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: var(--cativa-text-muted);
  margin-top: 1rem;
  padding: 1.25rem;
  text-align: center;
}

.orp00014-loading-state {
  font-weight: 700;
}

.orp00014-empty-state {
  flex-direction: column;
}

.orp00014-empty-state__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(0, 98, 152, 0.08);
  color: var(--cativa-brand);
  font-size: 1.4rem;
}

.orp00014-empty-state h4 {
  margin: 0;
  color: var(--cativa-text);
  font-size: 1.05rem;
}

.orp00014-empty-state p {
  margin: 0;
  max-width: 42rem;
}

.orp00014-table {
  margin-top: 1rem;
}

.orp00014-table thead th {
  white-space: nowrap;
  font-size: 0.77rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.orp00014-table tbody td {
  vertical-align: top;
}

.orp00014-table tbody tr:nth-child(even) td {
  background: rgba(245, 248, 251, 0.76);
}

.orp00014-saldo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.orp00014-saldo-card-item__head {
  display: grid;
  gap: 0.25rem;
}

.orp00014-saldo-card-item__head strong {
  color: var(--cativa-text);
  font-size: 0.98rem;
}

.orp00014-saldo-card-item__head span {
  color: var(--cativa-text-muted);
  font-size: 0.82rem;
}

.orp00014-saldo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.orp00014-saldo-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 32px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.08);
  border: 1px solid rgba(0, 98, 152, 0.12);
  color: var(--cativa-text);
  font-size: 0.82rem;
  font-weight: 700;
}

.orp00014-saldo-tag strong {
  color: var(--cativa-brand);
}

html[data-internal-theme='dark'] body.app-shell-internal :is(.orp00014-filter-card, .orp00014-context-card, .orp00014-items-card, .orp00014-saldo-card, .orp00014-context-item, .orp00014-saldo-card-item) {
  background: linear-gradient(180deg, rgba(12, 20, 29, 0.96) 0%, rgba(15, 26, 36, 0.92) 100%);
  border-color: rgba(53, 81, 104, 0.9);
  box-shadow: var(--cativa-shadow-soft);
  color: var(--cativa-text);
}

html[data-internal-theme='dark'] body.app-shell-internal :is(.orp00014-loading-state, .orp00014-empty-state) {
  background: rgba(11, 24, 34, 0.82);
  border-color: rgba(0, 98, 152, 0.22);
  color: var(--cativa-text-muted);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00014-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00014-pill--muted,
html[data-internal-theme='dark'] body.app-shell-internal .orp00014-saldo-card-item__head span,
html[data-internal-theme='dark'] body.app-shell-internal .orp00014-empty-state p,
html[data-internal-theme='dark'] body.app-shell-internal .orp00014-context-item span {
  color: var(--cativa-text-muted);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00014-empty-state__icon,
html[data-internal-theme='dark'] body.app-shell-internal .orp00014-saldo-tag strong {
  color: #8bcbee;
}

@media (max-width: 1199.98px) {
  .orp00014-context-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .orp00014-form-actions,
  .orp00014-head__meta {
    width: 100%;
  }

  .orp00014-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .orp00014-form-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .orp00014-context-grid,
  .orp00014-saldo-grid {
    grid-template-columns: 1fr;
  }

  .orp00014-table thead th,
  .orp00014-table tbody td {
    font-size: 0.82rem;
    white-space: nowrap;
  }
}

.nfe-entry-header-card,
.nfe-entry-history-card,
.nfe-entry-detail-card {
  border: 1px solid rgba(0, 98, 152, 0.12);
  box-shadow: 0 12px 28px rgba(8, 34, 58, 0.07);
}

.nfe-entry-header-card {
  padding: 1.15rem 1.25rem;
}

.nfe-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
}

.nfe-entry-header h2 {
  margin: 0;
  color: var(--cativa-text);
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
}

.nfe-entry-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.nfe-entry-controls {
  display: grid;
  grid-template-columns: minmax(320px, 680px);
  gap: 0.9rem;
  align-items: end;
  margin-top: 1rem;
}

.nfe-entry-cnpj-control {
  min-width: 0;
}

.nfe-entry-feedback {
  margin-top: 1rem;
}

.nfe-entry-window-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.85rem;
  padding: 0.62rem 0.8rem;
  border: 1px solid rgba(0, 98, 152, 0.14);
  border-radius: 8px;
  background: rgba(0, 98, 152, 0.06);
  color: var(--cativa-text);
  font-size: 0.88rem;
  line-height: 1.35;
}

.nfe-entry-window-status i {
  color: var(--cativa-primary);
  flex: 0 0 auto;
}

.nfe-entry-window-status--warning {
  border-color: rgba(183, 121, 31, 0.22);
  background: rgba(183, 121, 31, 0.1);
}

.nfe-entry-window-status--warning i {
  color: #8b5c14;
}

.nfe-entry-layout {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.nfe-entry-history-meta,
.nfe-entry-detail-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nfe-entry-detail-card,
.nfe-entry-history-card {
  min-width: 0;
}

.nfe-entry-detail-card .home-section-card__head {
  align-items: flex-start;
}

.nfe-entry-detail-card .home-section-card__head > div:first-child {
  min-width: 0;
}

.nfe-entry-detail-card .home-section-card__head p {
  word-break: break-word;
}

.nfe-entry-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.12);
  color: var(--cativa-text);
  font-size: 0.78rem;
  font-weight: 800;
}

.nfe-entry-status-pill--muted {
  background: rgba(12, 34, 52, 0.08);
  color: rgba(12, 34, 52, 0.74);
}

.nfe-entry-status-pill--success {
  background: rgba(21, 130, 91, 0.14);
  color: #106649;
}

.nfe-entry-status-pill--info {
  background: rgba(0, 98, 152, 0.12);
  color: #005076;
}

.nfe-entry-status-pill--warning {
  background: rgba(183, 121, 31, 0.14);
  color: #8b5c14;
}

.nfe-entry-status-pill--danger {
  background: rgba(196, 73, 93, 0.14);
  color: #8c1f34;
}

.nfe-entry-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 0.36rem 0.62rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
}

.nfe-entry-status-badge--success {
  background: rgba(21, 130, 91, 0.14);
  color: #106649;
}

.nfe-entry-status-badge--info {
  background: rgba(0, 98, 152, 0.12);
  color: #005076;
}

.nfe-entry-status-badge--warning {
  background: rgba(183, 121, 31, 0.15);
  color: #8b5c14;
}

.nfe-entry-status-badge--danger {
  background: rgba(196, 73, 93, 0.14);
  color: #8c1f34;
}

.nfe-entry-status-badge--muted {
  background: rgba(12, 34, 52, 0.08);
  color: rgba(12, 34, 52, 0.74);
}

.nfe-entry-table {
  min-width: 980px;
}

.nfe-entry-table th,
.nfe-entry-table td {
  padding: 0.72rem 0.8rem;
}

.nfe-entry-table tbody tr.is-selected {
  background: rgba(0, 98, 152, 0.06);
}

.nfe-entry-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 0.85rem;
}

.nfe-entry-pagination__summary,
.nfe-entry-page-indicator {
  color: var(--cativa-text-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.nfe-entry-pagination__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.nfe-entry-pagination__controls .btn {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
}

.nfe-entry-page-size {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--cativa-text-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.nfe-entry-page-size .form-select {
  width: 4.8rem;
}

.nfe-entry-row-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cativa-primary);
  font-weight: 800;
  text-decoration: none;
}

.nfe-entry-row-link:hover {
  color: var(--cativa-primary-dark);
}

.nfe-entry-detail-summary {
  margin-bottom: 0.85rem;
}

.nfe-entry-detail-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.nfe-entry-detail-card-item {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(0, 98, 152, 0.1);
  border-radius: 8px;
  background: rgba(0, 98, 152, 0.05);
}

.nfe-entry-detail-card-item span {
  color: var(--cativa-text-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nfe-entry-detail-card-item strong {
  color: var(--cativa-text);
  line-height: 1.3;
}

.nfe-entry-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}

.nfe-entry-panel {
  overflow: hidden;
  border: 1px solid rgba(0, 98, 152, 0.08);
  border-radius: 8px;
  background: rgba(247, 250, 252, 0.86);
}

.nfe-entry-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid rgba(0, 98, 152, 0.08);
}

.nfe-entry-panel__head h4 {
  margin: 0;
  font-size: 0.94rem;
}

.nfe-entry-panel__counter {
  min-width: 2rem;
  padding: 0.26rem 0.5rem;
  border-radius: 999px;
  background: rgba(12, 34, 52, 0.08);
  color: var(--cativa-text);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
}

.nfe-entry-log-list {
  display: grid;
  gap: 0.6rem;
  max-height: 300px;
  overflow: auto;
  padding: 0.85rem;
}

.nfe-entry-log-item {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(0, 98, 152, 0.08);
  border-radius: 8px;
  background: #ffffff;
}

.nfe-entry-log-item--success {
  border-color: rgba(21, 130, 91, 0.18);
}

.nfe-entry-log-item--warning {
  border-color: rgba(183, 121, 31, 0.2);
}

.nfe-entry-log-item--danger {
  border-color: rgba(196, 73, 93, 0.2);
}

.nfe-entry-log-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}

.nfe-entry-log-item__head strong {
  color: var(--cativa-text);
}

.nfe-entry-log-item__head span {
  color: var(--cativa-text-muted);
}

.nfe-entry-log-item p {
  margin: 0;
  color: rgba(12, 34, 52, 0.82);
  line-height: 1.45;
}

.nfe-entry-doc-table {
  min-width: 680px;
}

.nfe-entry-doc-table td:first-child {
  max-width: 220px;
  word-break: break-all;
}

.nfe-entry-empty-state {
  display: grid;
  place-items: center;
  gap: 0.4rem;
  padding: 1.6rem 1rem;
  color: var(--cativa-text-muted);
  text-align: center;
}

.nfe-entry-empty-state__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(0, 98, 152, 0.1);
  color: var(--cativa-primary);
  font-size: 1.15rem;
}

@media (max-width: 1199.98px) {
  .nfe-entry-detail-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nfe-entry-controls {
    grid-template-columns: minmax(0, 680px);
  }
}

@media (max-width: 767.98px) {
  .nfe-entry-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nfe-entry-actions {
    width: 100%;
    justify-content: stretch;
  }

  .nfe-entry-actions .btn {
    flex: 1 1 0;
  }

  .nfe-entry-controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .nfe-entry-detail-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .nfe-entry-status-badge {
    min-width: 0;
  }

  .nfe-entry-log-item__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .nfe-entry-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .nfe-entry-pagination__controls {
    justify-content: space-between;
  }

  .nfe-entry-page-size {
    flex: 1 1 auto;
  }
}

.orp00012-page {
  display: grid;
  gap: 1rem;
}

.orp00012-header-card {
  padding: 1.15rem 1.25rem;
}

.orp00012-screen-row {
  margin-bottom: 0.75rem;
}

.orp00012-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.orp00012-header h2 {
  margin: 0;
  color: var(--cativa-text);
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
}

.orp00012-header p,
.orp00012-section-head p {
  margin: 0.25rem 0 0;
  color: var(--cativa-text-muted);
  line-height: 1.5;
}

.orp00012-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.orp00012-summary__item {
  min-width: 88px;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(0, 98, 152, 0.12);
  border-radius: 16px;
  background: rgba(0, 98, 152, 0.06);
  text-align: center;
}

.orp00012-summary__item strong {
  display: block;
  color: var(--cativa-text);
  font-size: 1.1rem;
  line-height: 1.1;
}

.orp00012-summary__item span {
  display: block;
  margin-top: 0.18rem;
  color: var(--cativa-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orp00012-summary__item--warning {
  border-color: rgba(183, 121, 31, 0.28);
  background: rgba(183, 121, 31, 0.12);
}

.orp00012-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.orp00012-section-head h3 {
  margin: 0;
  color: var(--cativa-text);
  font-size: 1.12rem;
}

.orp00012-form {
  display: grid;
  grid-template-columns: minmax(280px, 2fr) minmax(150px, 0.7fr) minmax(200px, 1fr) auto;
  gap: 0.9rem;
  align-items: end;
}

.orp00012-field {
  min-width: 0;
}

.orp00012-field--action {
  display: flex;
  align-items: flex-end;
}

.orp00012-field--action .btn {
  min-height: 48px;
  white-space: nowrap;
}

.orp00012-list-card {
  padding-bottom: 1rem;
}

.orp00012-table-wrap {
  overflow-x: auto;
}

.orp00012-table {
  width: 100%;
  min-width: 980px;
  table-layout: fixed;
}

.orp00012-table th:nth-child(1) {
  width: 15%;
}

.orp00012-table th:nth-child(2) {
  width: 9%;
}

.orp00012-table th:nth-child(3) {
  width: 14%;
}

.orp00012-table th:nth-child(4) {
  width: 12%;
}

.orp00012-table th:nth-child(5) {
  width: 26%;
}

.orp00012-table th:nth-child(6) {
  width: 16%;
}

.orp00012-table th:nth-child(7) {
  width: 8%;
}

.orp00012-table th,
.orp00012-table td {
  padding: 0.78rem 0.85rem;
}

.orp00012-table tbody td {
  color: var(--cativa-text);
  font-size: 0.92rem;
}

.orp00012-cnpj-cell strong,
.orp00012-date {
  font-variant-numeric: tabular-nums;
}

.orp00012-type-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: var(--cativa-primary);
  color: #ffffff;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.orp00012-muted {
  display: block;
  margin-top: 0.15rem;
  color: var(--cativa-text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.orp00012-file-name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.orp00012-action-btn {
  min-height: 0;
  padding: 0.44rem 0.7rem;
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  .orp00012-header,
  .orp00012-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .orp00012-summary {
    justify-content: flex-start;
  }

  .orp00012-form {
    grid-template-columns: minmax(260px, 1.2fr) minmax(150px, 0.7fr) minmax(200px, 1fr);
  }

  .orp00012-field--action {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .orp00012-header-card,
  .orp00012-form-card,
  .orp00012-list-card {
    padding: 1rem;
  }

  .orp00012-summary {
    width: 100%;
  }

  .orp00012-summary__item {
    flex: 1 1 0;
    min-width: 0;
  }

  .orp00012-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .orp00012-field--action .btn {
    width: 100%;
  }
}

.orp00015-page {
  display: grid;
  gap: 1rem;
}

.orp00015-header-card,
.orp00015-list-card {
  border: 1px solid rgba(0, 98, 152, 0.12);
  box-shadow: 0 12px 28px rgba(8, 34, 58, 0.07);
}

.orp00015-header-card {
  padding: 1.15rem 1.25rem;
}

.orp00015-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
}

.orp00015-header h2 {
  margin: 0;
  color: var(--cativa-text);
  font-size: clamp(1.32rem, 1.8vw, 1.7rem);
}

.orp00015-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.orp00015-filters {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(220px, 1fr) minmax(190px, 230px) auto auto auto auto;
  gap: 0.85rem;
  align-items: end;
  margin-top: 1rem;
}

.orp00015-field {
  min-width: 0;
}

.orp00015-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  margin: 0;
  color: var(--cativa-text);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.orp00015-feedback {
  margin-top: 1rem;
}

.orp00015-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.12);
  color: var(--cativa-text);
  font-size: 0.78rem;
  font-weight: 800;
}

.orp00015-table {
  min-width: 1180px;
}

.orp00015-table th,
.orp00015-table td {
  padding: 0.68rem 0.75rem;
}

.orp00015-select-col {
  width: 42px;
  text-align: center;
}

.orp00015-key-cell {
  max-width: 250px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  word-break: break-all;
}

.orp00015-error-cell {
  max-width: 260px;
  color: var(--cativa-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.orp00015-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 0.34rem 0.58rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.orp00015-badge--success {
  background: rgba(21, 130, 91, 0.14);
  color: #106649;
}

.orp00015-badge--warning {
  background: rgba(183, 121, 31, 0.14);
  color: #8b5c14;
}

.orp00015-badge--danger {
  background: rgba(196, 73, 93, 0.14);
  color: #8c1f34;
}

.orp00015-badge--muted {
  background: rgba(12, 34, 52, 0.08);
  color: rgba(12, 34, 52, 0.74);
}

.orp00015-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 0.85rem;
}

.orp00015-pagination__summary,
.orp00015-page-indicator {
  color: var(--cativa-text-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.orp00015-pagination__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.orp00015-pagination__controls .btn {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
}

.orp00015-page-size {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--cativa-text-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.orp00015-page-size .form-select {
  width: 4.8rem;
}

@media (max-width: 1199.98px) {
  .orp00015-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .orp00015-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .orp00015-actions {
    width: 100%;
    justify-content: stretch;
  }

  .orp00015-actions .btn {
    flex: 1 1 auto;
  }

  .orp00015-filters {
    grid-template-columns: minmax(0, 1fr);
  }

  .orp00015-check {
    white-space: normal;
  }

  .orp00015-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .orp00015-pagination__controls {
    justify-content: space-between;
  }

  .orp00015-page-size {
    flex: 1 1 auto;
  }
}

.orp00016-page {
  --orp00016-surface: rgba(255, 255, 255, 0.94);
  --orp00016-surface-soft: rgba(245, 249, 252, 0.9);
  --orp00016-border: rgba(0, 98, 152, 0.14);
  --orp00016-shadow: 0 14px 36px rgba(7, 39, 61, 0.08);
  display: grid;
  gap: 1rem;
}

.orp00016-filter-card,
.orp00016-summary-card,
.orp00016-operation-card,
.orp00016-items-card {
  border: 1px solid rgba(0, 98, 152, 0.14);
}

.orp00016-form {
  display: grid;
  gap: 1rem;
}

.orp00016-form .form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cativa-text);
}

.orp00016-form .form-control,
.orp00016-form .form-select {
  border-radius: 16px;
}

.orp00016-form-actions,
.orp00016-action-row,
.orp00016-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.orp00016-form-actions {
  justify-content: flex-end;
}

.orp00016-form-actions .btn,
.orp00016-action-row .btn,
.orp00016-panel-actions .btn {
  min-width: 158px;
}

.orp00016-feedback {
  margin: 0;
  border-radius: 18px;
}

.orp00016-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.orp00016-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: rgba(0, 98, 152, 0.08);
  border-color: rgba(0, 98, 152, 0.15);
  color: var(--cativa-brand);
}

.orp00016-pill--muted {
  background: rgba(7, 39, 61, 0.06);
  border-color: rgba(7, 39, 61, 0.1);
  color: var(--cativa-text-muted);
}

.orp00016-summary-grid {
  margin: 0;
}

.orp00016-destination-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.orp00016-summary-content {
  display: grid;
  gap: 1rem;
}

.orp00016-summary-hero {
  display: grid;
  gap: 0.85rem;
}

.orp00016-volume-hero-card,
.orp00016-volume-status-card,
.orp00016-fact-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 251, 0.95) 100%);
  border-color: rgba(0, 98, 152, 0.14) !important;
  box-shadow: var(--cativa-shadow-soft);
}

.orp00016-volume-hero-card {
  display: grid;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(0, 98, 152, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
  position: relative;
  overflow: hidden;
}

.orp00016-volume-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(0, 98, 152, 0.98) 0%, rgba(0, 98, 152, 0.35) 100%);
}

.orp00016-volume-hero-card__eyebrow,
.orp00016-volume-status-card__eyebrow,
.orp00016-fact-card__label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cativa-brand);
}

.orp00016-volume-hero-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.orp00016-volume-hero-card__head h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--cativa-primary-dark);
}

.orp00016-volume-hero-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.12);
  color: var(--cativa-brand);
  font-size: 0.8rem;
  font-weight: 800;
}

.orp00016-volume-hero-card p,
.orp00016-volume-status-card p {
  margin: 0;
  color: var(--cativa-text-muted);
}

.orp00016-volume-hero-card__meta,
.orp00016-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.orp00016-inline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 34px;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.08);
  border: 1px solid rgba(0, 98, 152, 0.12);
  color: var(--cativa-primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.orp00016-inline-pill i {
  font-size: 0.88rem;
}

.orp00016-inline-pill--brand {
  background: rgba(0, 98, 152, 0.1);
  border-color: rgba(0, 98, 152, 0.16);
  color: var(--cativa-primary-dark);
}

.orp00016-inline-pill--success {
  background: rgba(21, 130, 91, 0.12);
  border-color: rgba(21, 130, 91, 0.18);
  color: #106649;
}

.orp00016-inline-pill--muted {
  background: rgba(12, 34, 52, 0.06);
  border-color: rgba(12, 34, 52, 0.1);
  color: var(--cativa-text-muted);
}

.orp00016-volume-status-card {
  display: grid;
  align-content: center;
  gap: 0.55rem;
  background: linear-gradient(180deg, rgba(240, 249, 244, 0.94) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.orp00016-volume-status-card strong {
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--cativa-primary-dark);
}

.orp00016-fact-card {
  display: grid;
  gap: 0.35rem;
}

.orp00016-fact-card__value {
  color: var(--cativa-primary-dark);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.3;
  word-break: break-word;
}

.orp00016-fact-card__value--pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-start;
}

.orp00016-fact-card__detail {
  color: var(--cativa-text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.orp00016-fact-card--metric .orp00016-fact-card__value {
  font-size: 1.85rem;
  line-height: 1;
}

.orp00016-fact-card--soft .orp00016-fact-card__label {
  color: var(--cativa-text-muted);
}

.orp00016-summary-item {
  display: grid;
  gap: 0.55rem;
  grid-column: span 3;
  min-height: 100%;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--orp00016-border);
  background: linear-gradient(180deg, var(--orp00016-surface) 0%, rgba(248, 251, 253, 0.96) 100%);
  box-shadow: var(--orp00016-shadow);
  position: relative;
  overflow: hidden;
}

.orp00016-summary-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: rgba(0, 98, 152, 0.22);
}

.orp00016-summary-item--hero {
  grid-column: span 5;
}

.orp00016-summary-item--wide {
  grid-column: span 4;
}

.orp00016-summary-item--compact,
.orp00016-summary-item--metric {
  grid-column: span 2;
}

.orp00016-summary-item--brand {
  background: linear-gradient(135deg, rgba(0, 98, 152, 0.1) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.orp00016-summary-item--brand::before {
  background: linear-gradient(180deg, rgba(0, 98, 152, 0.95) 0%, rgba(0, 98, 152, 0.42) 100%);
}

.orp00016-summary-item--success::before {
  background: linear-gradient(180deg, rgba(45, 138, 91, 0.95) 0%, rgba(45, 138, 91, 0.4) 100%);
}

.orp00016-summary-item--soft {
  background: linear-gradient(180deg, var(--orp00016-surface-soft) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.orp00016-summary-item--metric {
  align-content: space-between;
}

.orp00016-summary-item span {
  font-size: 0.79rem;
  line-height: 1.32;
  color: var(--cativa-text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.orp00016-summary-item strong,
.orp00016-summary-item__value {
  font-size: 1rem;
  color: var(--cativa-text);
  font-weight: 800;
  line-height: 1.28;
  word-break: break-word;
}

.orp00016-summary-item__value--mono {
  font-family: "IBM Plex Sans", "Courier New", monospace;
  letter-spacing: 0.02em;
}

.orp00016-summary-item--hero .orp00016-summary-item__value,
.orp00016-summary-item--hero strong {
  font-size: 1.65rem;
  line-height: 1.08;
}

.orp00016-summary-item--metric .orp00016-summary-item__value,
.orp00016-summary-item--metric strong {
  font-size: 1.8rem;
  line-height: 1;
}

.orp00016-action-hub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid var(--orp00016-border);
  background: linear-gradient(135deg, rgba(0, 98, 152, 0.05) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.orp00016-action-hub__copy {
  display: grid;
  gap: 0.2rem;
  max-width: 28rem;
}

.orp00016-action-hub__eyebrow {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cativa-brand);
}

.orp00016-action-hub__copy p {
  margin: 0;
  color: var(--cativa-text-muted);
}

.orp00016-action-row {
  flex: 1 1 auto;
  justify-content: flex-end;
  margin-top: 0;
}

.orp00016-operation-panel {
  display: grid;
  gap: 1rem;
}

.orp00016-destination-card {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 98, 152, 0.12);
  background: rgba(245, 248, 251, 0.72);
}

.orp00016-loading-state,
.orp00016-empty-state,
.orp00016-summary-empty,
.orp00016-operation-empty {
  min-height: 150px;
  border-radius: 20px;
  border: 1px dashed rgba(0, 98, 152, 0.18);
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: var(--cativa-text-muted);
  margin-top: 1rem;
  padding: 1.25rem;
  text-align: center;
}

.orp00016-summary-empty,
.orp00016-operation-empty,
.orp00016-empty-state {
  flex-direction: column;
}

.orp00016-loading-state {
  font-weight: 700;
}

.orp00016-empty-state__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(0, 98, 152, 0.08);
  color: var(--cativa-brand);
  font-size: 1.4rem;
}

.orp00016-summary-empty h4,
.orp00016-operation-empty h4,
.orp00016-empty-state h4 {
  margin: 0;
  color: var(--cativa-text);
  font-size: 1.05rem;
}

.orp00016-summary-empty p,
.orp00016-operation-empty p,
.orp00016-empty-state p {
  margin: 0;
  max-width: 44rem;
}

.orp00016-table {
  margin-top: 1rem;
}

.orp00016-table thead th {
  white-space: nowrap;
  font-size: 0.77rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.orp00016-table tbody td {
  vertical-align: top;
}

.orp00016-table tbody tr:nth-child(even) td {
  background: rgba(245, 248, 251, 0.76);
}

html[data-internal-theme='dark'] body.app-shell-internal :is(.orp00016-filter-card, .orp00016-summary-card, .orp00016-operation-card, .orp00016-items-card, .orp00016-summary-item, .orp00016-destination-card) {
  background: linear-gradient(180deg, rgba(12, 20, 29, 0.96) 0%, rgba(15, 26, 36, 0.92) 100%);
  border-color: rgba(53, 81, 104, 0.9);
  box-shadow: var(--cativa-shadow-soft);
  color: var(--cativa-text);
}

html[data-internal-theme='dark'] body.app-shell-internal :is(.orp00016-volume-hero-card, .orp00016-volume-status-card, .orp00016-fact-card, .orp00016-action-hub) {
  background: linear-gradient(180deg, rgba(10, 23, 34, 0.96) 0%, rgba(12, 27, 39, 0.9) 100%);
  border-color: rgba(53, 81, 104, 0.9) !important;
  box-shadow: var(--cativa-shadow-soft);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00016-action-hub {
  background: linear-gradient(180deg, rgba(8, 28, 42, 0.98) 0%, rgba(10, 23, 34, 0.94) 100%);
}

html[data-internal-theme='dark'] body.app-shell-internal :is(.orp00016-loading-state, .orp00016-empty-state, .orp00016-summary-empty, .orp00016-operation-empty) {
  background: rgba(11, 24, 34, 0.82);
  border-color: rgba(0, 98, 152, 0.22);
  color: var(--cativa-text-muted);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00016-pill--muted,
html[data-internal-theme='dark'] body.app-shell-internal .orp00016-summary-item span,
html[data-internal-theme='dark'] body.app-shell-internal :is(.orp00016-volume-hero-card p, .orp00016-volume-status-card p),
html[data-internal-theme='dark'] body.app-shell-internal .orp00016-action-hub__copy p,
html[data-internal-theme='dark'] body.app-shell-internal .orp00016-fact-card__detail,
html[data-internal-theme='dark'] body.app-shell-internal :is(.orp00016-summary-empty p, .orp00016-operation-empty p, .orp00016-empty-state p) {
  color: var(--cativa-text-muted);
}

html[data-internal-theme='dark'] body.app-shell-internal :is(.orp00016-volume-hero-card__head h3, .orp00016-volume-status-card strong, .orp00016-fact-card__value) {
  color: #f4f9fc;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00016-inline-pill {
  background: rgba(18, 47, 69, 0.9);
  border-color: rgba(99, 187, 234, 0.14);
  color: #dff3ff;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00016-inline-pill--success {
  background: rgba(16, 102, 73, 0.3);
  border-color: rgba(88, 211, 157, 0.22);
  color: #b8f0d4;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00016-inline-pill--muted {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--cativa-text-muted);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00016-empty-state__icon {
  color: #8bcbee;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00016-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 1199.98px) {
  .orp00016-destination-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .orp00016-summary-item--hero {
    grid-column: span 6;
  }

  .orp00016-action-hub {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 767.98px) {
  .orp00016-form-actions,
  .orp00016-action-row,
  .orp00016-panel-actions,
  .orp00016-head__meta {
    width: 100%;
  }

  .orp00016-form-actions,
  .orp00016-action-row,
  .orp00016-panel-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .orp00016-form-actions .btn,
  .orp00016-action-row .btn,
  .orp00016-panel-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .orp00016-destination-grid {
    grid-template-columns: 1fr;
  }

  .orp00016-summary-item,
  .orp00016-summary-item--hero,
  .orp00016-summary-item--wide,
  .orp00016-summary-item--compact,
  .orp00016-summary-item--metric {
    grid-column: auto;
  }

  .orp00016-table thead th,
  .orp00016-table tbody td {
    font-size: 0.82rem;
    white-space: nowrap;
  }
}

/* Consolidated e-Vendas home menu polish. */
body.app-shell-evendas .app-main__inner--evendas-home {
  max-width: 1180px;
}

body.app-shell-evendas .evendas-home-page {
  align-content: start;
  gap: 1rem;
}

body.app-shell-evendas .evendas-home-hero {
  min-width: 0;
}

body.app-shell-evendas .evendas-home-menu {
  min-width: 0;
}

body.app-shell-evendas .evendas-home-grid {
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
}

body.app-shell-evendas .evendas-home-card {
  min-height: 132px;
}

body.app-shell-evendas .evendas-home-card__top,
body.app-shell-evendas .evendas-home-card__label {
  min-width: 0;
}

body.app-shell-evendas .evendas-home-card__label {
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 640px) {
  body.app-shell-evendas .app-main__inner--evendas-home {
    padding-bottom: 7.25rem;
  }

  body.app-shell-evendas .evendas-home-page {
    align-content: start;
  }

  body.app-shell-evendas .evendas-home-hero {
    align-items: flex-start;
    gap: 0.85rem;
  }

  body.app-shell-evendas .evendas-home-hero__actions {
    align-items: flex-end;
    bottom: 0.85rem;
    flex-direction: column;
    gap: 0.45rem;
    position: fixed;
    right: 0.85rem;
    width: auto;
    z-index: 1042;
  }

  body.app-shell-evendas .evendas-home-hero__actions .evendas-home-control {
    box-shadow: 0 12px 26px rgba(8, 26, 41, 0.16);
    flex: 0 0 auto;
    min-height: 2.28rem;
    padding: 0.4rem 0.62rem;
    width: 8.35rem;
  }

  body.app-shell-evendas .evendas-home-theme-toggle {
    bottom: 0.85rem;
    left: 0.85rem;
    max-width: calc(100vw - 10.25rem);
    min-height: 2.28rem;
    padding: 0.4rem 0.62rem;
    white-space: normal;
    z-index: 1041;
  }

body.app-shell-evendas .evendas-home-theme-toggle .app-theme-toggle__text {
    font-size: 0.78rem;
    line-height: 1.12;
  }
}

.orp00031-page {
  --orp00031-border: rgba(0, 98, 152, 0.14);
  --orp00031-surface: rgba(255, 255, 255, 0.96);
  --orp00031-soft: rgba(244, 249, 252, 0.94);
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .orp00031-page {
    overflow-x: hidden;
  }
}

.orp00031-filter-card,
.orp00031-summary-card,
.orp00031-table-card {
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--orp00031-border);
  background: var(--orp00031-surface);
}

.orp00031-page :is(.orp00031-scan-strip, .orp00031-summary-grid, .orp00031-grid, .orp00031-grid > *, .table-responsive) {
  min-width: 0;
  max-width: 100%;
}

.orp00031-form .form-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #35556c;
  text-transform: uppercase;
}

.orp00031-form .form-required-mark {
  display: inline-block;
  margin-left: 0.1rem;
  color: #b4232d;
  font-size: 0.72em;
  line-height: 1;
  vertical-align: top;
}

.orp00031-form .form-control,
.orp00031-form .form-select,
.orp00031-carrier-form .form-control {
  min-height: 2.75rem;
  border-color: rgba(44, 92, 122, 0.2);
}

.orp00031-form .input-group {
  align-items: stretch;
  min-height: 2.75rem;
}

.orp00031-form .input-group > :is(.form-control, .form-select, .input-group-text, .btn) {
  height: 2.75rem;
  min-height: 2.75rem;
}

.orp00031-form .input-group > :first-child {
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

.orp00031-form .input-group > :last-child {
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}

.orp00031-scan-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.orp00031-scan-item {
  display: grid;
  align-content: center;
  gap: 0.18rem;
  min-height: 5rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--orp00031-border);
  border-radius: 8px;
  background: #f8fbfd;
}

.orp00031-scan-item span {
  color: #66798a;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
}

.orp00031-scan-item small {
  color: #6f8292;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.1;
}

.orp00031-scan-item strong {
  color: #17394f;
  font-size: 1.95rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.orp00031-scan-item--pending {
  background: #fff8e6;
  border-color: rgba(255, 193, 7, 0.42);
}

.orp00031-scan-item--read {
  background: #eef9f2;
  border-color: rgba(25, 135, 84, 0.24);
}

.orp00031-buffer-status {
  color: #66798a;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.orp00031-queue-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 100%;
  height: 2.75rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(0, 98, 152, 0.16);
  border-radius: 8px;
  background: #f8fbfd;
  color: #35556c;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.orp00031-queue-metric {
  display: inline-grid;
  width: 100%;
  min-width: 0;
  gap: 0.22rem;
  align-items: center;
  justify-items: center;
  justify-content: center;
}

.orp00031-queue-metric + .orp00031-queue-metric {
  border-left: 1px solid rgba(0, 98, 152, 0.14);
}

.orp00031-queue-metric small {
  color: #66798a;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.orp00031-queue-toggle:hover,
.orp00031-queue-toggle:focus {
  border-color: rgba(0, 98, 152, 0.32);
  background: #eef6ff;
  color: #0d5d87;
  outline: 0;
}

.orp00031-queue-toggle strong,
.orp00031-queue-toggle em {
  display: grid;
  min-width: 1.05rem;
  height: 1.05rem;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.62rem;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.orp00031-queue-toggle strong {
  background: #0d5d87;
}

.orp00031-queue-toggle em {
  background: #b4232d;
}

.orp00031-queue-toggle--active {
  border-color: rgba(0, 98, 152, 0.32);
  background: #eef6ff;
  color: #0d5d87;
}

.orp00031-queue-toggle--danger {
  border-color: rgba(180, 35, 45, 0.28);
  background: #fff1f2;
  color: #842029;
}

.orp00031-queue-modal {
  position: fixed;
  inset: 0;
  z-index: 1065;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(12, 20, 29, 0.52);
}

.orp00031-queue-modal.d-none {
  display: none;
}

.orp00031-queue-dialog {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.75rem;
  width: min(34rem, 100%);
  max-height: min(90vh, 34rem);
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 98, 152, 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(12, 20, 29, 0.24);
}

.orp00031-queue-dialog .orp00031-carrier-header {
  align-items: flex-start;
}

.orp00031-queue-dialog .orp00031-carrier-header p {
  margin: 0.18rem 0 0;
  color: #66798a;
  font-size: 0.78rem;
  font-weight: 700;
}

.orp00031-queue-list {
  display: grid;
  gap: 0;
  min-height: 6rem;
  overflow: auto;
  border: 1px solid rgba(0, 98, 152, 0.1);
  border-radius: 8px;
}

.orp00031-queue-section-title {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  border-bottom: 1px solid rgba(0, 98, 152, 0.08);
  background: #f5f9fc;
  color: #0d5d87;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.orp00031-queue-section-title strong {
  display: inline-grid;
  min-width: 1.15rem;
  height: 1.15rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.1);
  font-size: 0.62rem;
}

.orp00031-queue-section-title--danger {
  background: #fff7f8;
  color: #842029;
}

.orp00031-queue-section-title--danger strong {
  background: rgba(180, 35, 45, 0.12);
}

.orp00031-queue-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.85fr) minmax(9rem, 1.3fr) auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid rgba(0, 98, 152, 0.08);
  font-size: 0.76rem;
}

.orp00031-queue-row strong {
  color: #18384e;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.orp00031-queue-row span {
  color: #465d6f;
  overflow-wrap: anywhere;
}

.orp00031-queue-row small,
.orp00031-queue-more,
.orp00031-queue-empty {
  color: #6c7d8c;
  font-size: 0.7rem;
  font-weight: 700;
}

.orp00031-queue-row--failed {
  border-bottom-color: rgba(180, 35, 45, 0.08);
}

.orp00031-queue-row--failed strong {
  color: #842029;
}

.orp00031-queue-more,
.orp00031-queue-empty {
  padding: 0.5rem 0.65rem;
  text-align: center;
}

.orp00031-buffer-status--active {
  color: #0d5d87;
}

.orp00031-buffer-status--danger {
  color: #b4232d;
}

.orp00031-form-actions,
.orp00031-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.orp00031-form-actions {
  justify-content: flex-start;
  min-width: 0;
  margin-top: 0;
}

.orp00031-form-actions .btn {
  height: 2.75rem;
  min-height: 2.6rem;
  white-space: nowrap;
}

.orp00031-diagnostic-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(185, 123, 19, 0.55);
  border-radius: 10px;
  background: rgba(255, 193, 7, 0.07);
}

.orp00031-diagnostic-panel__copy {
  display: grid;
  gap: 0.12rem;
  min-width: min(100%, 20rem);
}

.orp00031-diagnostic-panel__copy > span {
  color: #9a6700;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.orp00031-diagnostic-panel__copy > strong {
  color: var(--app-text, #17324d);
  font-size: 0.96rem;
}

.orp00031-diagnostic-panel__copy > small {
  color: var(--app-text-muted, #66788a);
}

.orp00031-diagnostic-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.orp00031-diagnostic-progress {
  display: grid;
  grid-basis: 100%;
  gap: 0.3rem;
}

.orp00031-diagnostic-progress__track {
  height: 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(23, 50, 77, 0.13);
}

.orp00031-diagnostic-progress__track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0d6efd, #16a085);
  transition: width 160ms ease;
}

.orp00031-diagnostic-progress > small {
  color: var(--app-text-muted, #66788a);
  font-weight: 700;
}

.orp00031-feedback {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.8rem;
  scroll-margin-top: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
}

.orp00031-search-button {
  display: inline-grid;
  min-width: 2.75rem;
  padding: 0;
  place-items: center;
  line-height: 1;
}

.orp00031-search-button .bi,
.orp00031-search-button .bi::before {
  display: block;
  line-height: 1;
  vertical-align: 0;
}

.orp00031-carrier-modal,
.orp00031-box-modal {
  position: fixed;
  inset: 0;
  z-index: 1055;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(12, 20, 29, 0.48);
}

.orp00031-carrier-modal.d-none,
.orp00031-box-modal.d-none {
  display: none;
}

.orp00031-attention-modal {
  position: fixed;
  inset: 0;
  z-index: 1070;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(12, 20, 29, 0.58);
  color: #ffffff;
}

.orp00031-attention-modal.d-none {
  display: none;
}

.orp00031-attention-dialog {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.75rem;
  width: min(30rem, 100%);
  max-height: calc(100vh - 2rem);
  padding: 1.35rem;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: #b4232d;
  box-shadow: 0 28px 80px rgba(12, 20, 29, 0.28);
  text-align: center;
}

.orp00031-attention-modal--success .orp00031-attention-dialog {
  background: #117047;
}

.orp00031-attention-modal--warning .orp00031-attention-dialog {
  background: #a8650a;
}

.orp00031-attention-modal--info .orp00031-attention-dialog {
  background: #0d5d87;
}

.orp00031-attention-icon {
  display: grid;
  width: 3.65rem;
  height: 3.65rem;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.orp00031-attention-icon i {
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.orp00031-attention-eyebrow {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.orp00031-attention-dialog h2 {
  max-width: 18ch;
  margin: 0;
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.08;
}

.orp00031-attention-dialog p {
  max-width: 48rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.28;
}

.orp00031-attention-detail {
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
  font-size: 1rem !important;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.orp00031-attention-ok {
  min-width: min(18rem, 100%);
  min-height: 3.25rem;
  margin-top: 0.35rem;
  border: 0;
  border-radius: 8px;
  color: #18384e;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(12, 20, 29, 0.2);
}

.orp00031-carrier-dialog,
.orp00031-box-dialog {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 0.75rem;
  width: min(42rem, 100%);
  max-height: min(90vh, 42rem);
  padding: 1rem;
  overflow: hidden;
  border: 1px solid var(--orp00031-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(12, 20, 29, 0.2);
}

.orp00031-box-dialog {
  grid-template-rows: auto minmax(0, 1fr);
  width: min(30rem, 100%);
}

.orp00031-box-details {
  display: grid;
  gap: 0.55rem;
}

.orp00031-box-detail-item {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(0, 98, 152, 0.12);
  border-radius: 8px;
  background: #f8fbfd;
}

.orp00031-box-detail-item span {
  color: #66798a;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.orp00031-box-detail-item strong {
  color: #18384e;
  font-size: 0.95rem;
  line-height: 1.25;
}

.orp00031-carrier-header {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.orp00031-carrier-header h3 {
  margin: 0;
  color: #18384e;
  font-size: 1rem;
  font-weight: 800;
}

.orp00031-carrier-header p {
  margin: 0.18rem 0 0;
  color: #66798a;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.25;
}

.orp00031-carrier-close {
  display: inline-grid;
  width: 2.35rem;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  place-items: center;
}

.orp00031-carrier-form .form-label {
  margin-bottom: 0.3rem;
  color: #35556c;
  font-size: 0.78rem;
  font-weight: 700;
}

.orp00031-carrier-submit {
  display: inline-flex;
  min-width: 7.75rem;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.orp00031-carrier-search-help {
  display: flex;
  gap: 0.5rem 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.45rem;
  color: #66798a;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.3;
}

.orp00031-carrier-search-help .btn-link {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.35rem;
  align-items: center;
  padding: 0.15rem 0;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}

.orp00031-carrier-search-help .btn-link:hover,
.orp00031-carrier-search-help .btn-link:focus {
  text-decoration: underline;
}

.orp00031-carrier-feedback {
  margin: 0;
  padding: 0.6rem 0.75rem;
}

.orp00031-carrier-loading {
  position: relative;
  display: grid;
  min-height: 11rem;
  padding: 1.4rem 1rem;
  overflow: hidden;
  place-items: center;
  align-content: center;
  gap: 0.55rem;
  border: 2px solid rgba(0, 98, 152, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(13, 110, 253, 0.13), transparent 58%),
    #f6fbff;
  color: #17394f;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.orp00031-carrier-loading::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 0.3rem;
  background: linear-gradient(90deg, #006298 0%, #0d6efd 50%, #006298 100%);
  background-size: 200% 100%;
  content: "";
  animation: orp00031-carrier-loading-bar 1.2s linear infinite;
}

.orp00031-carrier-loading__spinner {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #006298;
  box-shadow: 0 12px 28px rgba(0, 98, 152, 0.18);
}

.orp00031-carrier-loading__spinner .spinner-border {
  width: 2.25rem;
  height: 2.25rem;
  border-width: 0.24rem;
}

.orp00031-carrier-loading strong {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.orp00031-carrier-loading > span:last-child {
  color: #597184;
  font-size: 0.84rem;
  font-weight: 650;
}

@keyframes orp00031-carrier-loading-bar {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -100% 0;
  }
}

.orp00031-carrier-results {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  max-height: min(50vh, 24rem);
  min-height: 5rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.35rem;
  scrollbar-color: rgba(0, 98, 152, 0.55) rgba(0, 98, 152, 0.08);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.orp00031-carrier-results::-webkit-scrollbar {
  width: 0.5rem;
}

.orp00031-carrier-results::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.08);
}

.orp00031-carrier-results::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 98, 152, 0.55);
}

.orp00031-carrier-result {
  display: grid;
  gap: 0.15rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(0, 98, 152, 0.14);
  border-radius: 8px;
  background: #f8fbfd;
  color: #18384e;
  text-align: left;
}

.orp00031-carrier-result:hover,
.orp00031-carrier-result:focus {
  border-color: rgba(13, 110, 253, 0.4);
  background: #eef6ff;
}

.orp00031-carrier-result strong {
  font-size: 0.92rem;
  line-height: 1.2;
}

.orp00031-carrier-result span,
.orp00031-carrier-empty {
  color: #66798a;
  font-size: 0.82rem;
}

.orp00031-carrier-empty {
  display: grid;
  min-height: 4rem;
  place-items: center;
  border: 1px dashed rgba(0, 98, 152, 0.2);
  border-radius: 8px;
  text-align: center;
}

body.orp00031-modal-open {
  overflow: hidden;
}

.orp00031-loading-state {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 98, 152, 0.16);
  border-radius: 8px;
  background: var(--orp00031-soft);
  color: #24475f;
  font-weight: 700;
}

.orp00031-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.orp00031-summary-item {
  min-height: 6rem;
  padding: 1rem;
  border: 1px solid var(--orp00031-border);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.orp00031-summary-item span {
  display: block;
  color: #66798a;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.orp00031-summary-item strong {
  display: block;
  margin-top: 0.35rem;
  color: #18384e;
  font-size: 1.7rem;
  line-height: 1.1;
}

.orp00031-pill,
.orp00031-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.orp00031-pill {
  border: 1px solid rgba(0, 98, 152, 0.18);
  background: rgba(0, 98, 152, 0.08);
  color: #0d5d87;
}

.orp00031-status--success {
  background: rgba(25, 135, 84, 0.12);
  color: #0f6841;
}

.orp00031-status--warning {
  background: rgba(255, 193, 7, 0.18);
  color: #856404;
}

.orp00031-status--pending {
  background: rgba(13, 110, 253, 0.1);
  color: #174f9a;
}

.orp00031-status--muted {
  background: rgba(108, 117, 125, 0.14);
  color: #59636d;
}

.orp00031-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

.orp00031-table {
  width: 100%;
  font-size: 0.88rem;
}

.orp00031-table-card .table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.orp00031-table thead th {
  color: #456274;
  font-size: 0.75rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.orp00031-table tbody td {
  vertical-align: middle;
}

.orp00031-table tbody tr:nth-child(even) td {
  background: rgba(244, 249, 252, 0.6);
}

.orp00031-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  margin-top: 0.35rem;
  border-top: 1px solid var(--orp00031-border);
}

.orp00031-pagination__status {
  color: #66798a;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.orp00031-pagination__controls,
.orp00031-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.orp00031-pagination .btn {
  display: inline-grid;
  width: 2.1rem;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  place-items: center;
}

.orp00031-col-check {
  width: 2.5rem;
  text-align: center;
}

.orp00031-col-action {
  width: 2.75rem;
  min-width: 2.75rem;
  text-align: center;
}

.orp00031-box-detail-button {
  display: inline-grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  padding: 0;
  border-radius: 8px;
  color: #0d5d87;
}

.orp00031-box-detail-button i {
  font-size: 0.95rem;
  line-height: 1;
}

.orp00031-box-detail-button:hover,
.orp00031-box-detail-button:focus {
  border-color: rgba(13, 110, 253, 0.45);
  background: #eef6ff;
  color: #0d6efd;
}

.orp00031-barcode-clear {
  display: inline-grid;
  width: 2.45rem;
  min-width: 2.45rem;
  place-items: center;
  padding: 0;
  color: #657789;
}

.orp00031-barcode-clear i {
  font-size: 0.82rem;
  line-height: 1;
}

.orp00031-barcode-clear:hover,
.orp00031-barcode-clear:focus {
  border-color: rgba(13, 110, 253, 0.35);
  background: #eef6ff;
  color: #0d6efd;
}

.orp00031-sort-button {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.orp00031-sort-button i {
  color: #8aa0ad;
  font-size: 0.78rem;
}

.orp00031-sort-button.is-active,
.orp00031-sort-button.is-active i {
  color: #0d6efd;
}

.orp00031-empty-state {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  color: #6c7d8c;
  text-align: center;
}

.orp00031-empty-state__icon {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 98, 152, 0.1);
  color: #0d5d87;
}

.orp00031-empty-state h4 {
  margin: 0;
  font-size: 1rem;
}

html[data-internal-theme='dark'] body.app-shell-internal :is(.orp00031-filter-card, .orp00031-summary-card, .orp00031-table-card, .orp00031-summary-item) {
  border-color: rgba(126, 190, 220, 0.18);
  background: rgba(20, 31, 42, 0.94);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-summary-item {
  background: rgba(24, 38, 50, 0.96);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-scan-item {
  background: rgba(24, 38, 50, 0.96);
}

html[data-internal-theme='dark'] body.app-shell-internal :is(.orp00031-carrier-dialog, .orp00031-box-dialog) {
  border-color: rgba(126, 190, 220, 0.18);
  background: rgba(20, 31, 42, 0.98);
}

html[data-internal-theme='dark'] body.app-shell-internal :is(.orp00031-carrier-result, .orp00031-box-detail-item) {
  border-color: rgba(126, 190, 220, 0.18);
  background: rgba(24, 38, 50, 0.96);
  color: #eef7ff;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-carrier-loading {
  border-color: rgba(126, 190, 220, 0.34);
  background:
    radial-gradient(circle at 50% 0%, rgba(31, 143, 204, 0.22), transparent 58%),
    rgba(24, 38, 50, 0.96);
  color: #eef7ff;
  box-shadow: inset 0 0 0 1px rgba(126, 190, 220, 0.08);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-carrier-loading__spinner {
  background: rgba(13, 30, 43, 0.96);
  color: #7ec7ee;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-carrier-loading > span:last-child {
  color: #b9ccda;
}

html[data-internal-theme='dark'] body.app-shell-internal :is(.orp00031-carrier-header p, .orp00031-carrier-search-help) {
  color: #b9ccda;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-box-detail-item strong {
  color: #eef7ff;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-carrier-result:hover,
html[data-internal-theme='dark'] body.app-shell-internal .orp00031-carrier-result:focus {
  border-color: rgba(126, 190, 220, 0.42);
  background: rgba(30, 52, 68, 0.98);
}

@media (prefers-reduced-motion: reduce) {
  .orp00031-carrier-loading::before {
    animation: none;
  }
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-scan-item--pending {
  border-color: rgba(255, 193, 7, 0.34);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-scan-item--read {
  border-color: rgba(25, 135, 84, 0.38);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-buffer-status--active {
  color: #bfe3f5;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-buffer-status--danger {
  color: #ffb4bf;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-toggle {
  border-color: rgba(126, 190, 220, 0.18);
  background: rgba(24, 38, 50, 0.96);
  color: rgba(230, 239, 246, 0.78);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-toggle:hover,
html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-toggle:focus,
html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-toggle--active {
  border-color: rgba(126, 190, 220, 0.34);
  background: rgba(30, 52, 68, 0.98);
  color: #bfe3f5;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-toggle--danger {
  border-color: rgba(255, 180, 191, 0.28);
  background: rgba(132, 32, 41, 0.24);
  color: #ffccd3;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-toggle strong {
  background: #8fd1ee;
  color: #0d1822;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-toggle em {
  background: #ffb4bf;
  color: #321016;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-metric small {
  color: rgba(230, 239, 246, 0.72);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-dialog {
  border-color: rgba(126, 190, 220, 0.18);
  background: rgba(20, 31, 42, 0.98);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-dialog .orp00031-carrier-header p {
  color: rgba(230, 239, 246, 0.65);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-list {
  border-color: rgba(126, 190, 220, 0.14);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-section-title {
  border-color: rgba(126, 190, 220, 0.1);
  background: rgba(30, 52, 68, 0.82);
  color: #bfe3f5;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-section-title strong {
  background: rgba(143, 209, 238, 0.14);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-section-title--danger {
  background: rgba(132, 32, 41, 0.2);
  color: #ffccd3;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-row {
  border-color: rgba(126, 190, 220, 0.1);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-row strong {
  color: #eef7ff;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-row--failed strong {
  color: #ffb4bf;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-queue-row span {
  color: rgba(230, 239, 246, 0.82);
}

html[data-internal-theme='dark'] body.app-shell-internal :is(.orp00031-queue-row small, .orp00031-queue-more, .orp00031-queue-empty) {
  color: rgba(230, 239, 246, 0.65);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-pagination {
  border-color: rgba(126, 190, 220, 0.18);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-pagination__status {
  color: rgba(230, 239, 246, 0.72);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-box-detail-button {
  border-color: rgba(126, 190, 220, 0.22);
  color: #bfe3f5;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-box-detail-button:hover,
html[data-internal-theme='dark'] body.app-shell-internal .orp00031-box-detail-button:focus {
  border-color: rgba(126, 190, 220, 0.5);
  background: rgba(30, 52, 68, 0.98);
  color: #eef7ff;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-barcode-clear {
  border-color: rgba(126, 190, 220, 0.22);
  color: #bfe3f5;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-barcode-clear:hover,
html[data-internal-theme='dark'] body.app-shell-internal .orp00031-barcode-clear:focus {
  border-color: rgba(126, 190, 220, 0.5);
  background: rgba(30, 52, 68, 0.98);
  color: #eef7ff;
}

html[data-internal-theme='dark'] body.app-shell-internal :is(.orp00031-form .form-label, .orp00031-carrier-form .form-label, .orp00031-table thead th, .orp00031-summary-item span, .orp00031-scan-item span, .orp00031-scan-item small, .orp00031-buffer-status, .orp00031-carrier-result span, .orp00031-carrier-empty, .orp00031-empty-state, .orp00031-box-detail-item span) {
  color: rgba(230, 239, 246, 0.72);
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-form .form-required-mark {
  color: #ffb4bf;
}

html[data-internal-theme='dark'] body.app-shell-internal :is(.orp00031-summary-item strong, .orp00031-scan-item strong, .orp00031-carrier-header h3) {
  color: #eef7ff;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-buffer-status--active {
  color: #bfe3f5;
}

html[data-internal-theme='dark'] body.app-shell-internal .orp00031-buffer-status--danger {
  color: #ffb4bf;
}

@media (max-width: 991.98px) {
  .orp00031-summary-grid,
  .orp00031-grid {
    grid-template-columns: 1fr;
  }

  .orp00031-form-actions {
    justify-content: stretch;
  }

  .orp00031-form-actions .btn {
    flex: 1 1 12rem;
  }
}

@media (min-width: 992px) {
  .orp00031-form-actions {
    flex-wrap: nowrap;
  }
}

@media (max-width: 575.98px) {
  .orp00031-page {
    gap: 0.7rem;
  }

  .orp00031-filter-card,
  .orp00031-summary-card,
  .orp00031-table-card {
    padding: 0.85rem;
    border-radius: 8px;
  }

  .orp00031-page .screen-stamp-row {
    gap: 0.5rem;
    margin-bottom: 0.65rem;
  }

  .orp00031-page .screen-stamp {
    font-size: 0.68rem;
    letter-spacing: 0;
  }

  .orp00031-form .row {
    --bs-gutter-x: 0.65rem;
    --bs-gutter-y: 0.65rem;
  }

  .orp00031-form .form-label {
    margin-bottom: 0.22rem;
    font-size: 0.68rem;
    letter-spacing: 0;
  }

  .orp00031-form .form-control,
  .orp00031-form .form-select,
  .orp00031-form .input-group-text,
  .orp00031-carrier-form .form-control {
    min-height: 2.35rem;
    font-size: 0.9rem;
  }

  .orp00031-form .input-group {
    min-height: 2.35rem;
  }

  .orp00031-form .input-group > :is(.form-control, .form-select, .input-group-text, .btn) {
    height: 2.35rem;
    min-height: 2.35rem;
  }

  .orp00031-barcode-field,
  .orp00031-queue-field {
    flex: 0 0 auto;
  }

  .orp00031-barcode-field {
    order: 1;
    width: 65%;
  }

  .orp00031-queue-field {
    order: 2;
    width: 35%;
  }

  .orp00031-form-actions {
    order: 3;
  }

  .orp00031-queue-toggle {
    height: 2.35rem;
    min-height: 2.35rem;
    gap: 0;
    padding-top: 0.18rem;
    padding-right: 0.3rem;
    padding-bottom: 0.18rem;
    padding-left: 0.3rem;
  }

  .orp00031-queue-metric {
    gap: 0.14rem;
  }

  .orp00031-queue-metric small {
    font-size: 0.5rem;
  }

  .orp00031-scan-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.7rem;
  }

  .orp00031-queue-modal {
    padding: 0.75rem;
  }

  .orp00031-queue-dialog {
    width: 100%;
    max-height: calc(100vh - 1.5rem);
    padding: 0.85rem;
  }

  .orp00031-queue-row {
    grid-template-columns: 1fr;
    gap: 0.18rem;
  }

  .orp00031-feedback {
    margin-bottom: 0.55rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.86rem;
  }

  .orp00031-scan-item {
    min-height: 4.15rem;
    padding: 0.58rem 0.65rem;
  }

  .orp00031-scan-item span,
  .orp00031-scan-item small {
    letter-spacing: 0;
  }

  .orp00031-scan-item span {
    font-size: 0.7rem;
  }

  .orp00031-scan-item small {
    font-size: 0.62rem;
  }

  .orp00031-scan-item strong {
    font-size: 1.65rem;
  }

  .orp00031-carrier-modal {
    align-items: center;
    padding: 0.75rem;
  }

  .orp00031-box-modal {
    align-items: end;
    padding: 0.5rem;
  }

  .orp00031-carrier-dialog {
    width: 100%;
    max-height: calc(100vh - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
    padding: 0.85rem;
  }

  .orp00031-box-dialog {
    width: 100%;
    max-height: calc(100vh - 1rem);
    padding: 0.85rem;
  }

  .orp00031-carrier-results {
    max-height: 42vh;
    max-height: 42dvh;
  }

  .orp00031-carrier-search-help {
    align-items: flex-start;
    flex-direction: column;
  }

  .orp00031-attention-modal {
    padding: 0.75rem;
  }

  .orp00031-attention-dialog {
    width: 100%;
    max-height: calc(100vh - 1.5rem);
    padding: 1rem;
  }

  .orp00031-attention-icon {
    width: 3.35rem;
    height: 3.35rem;
  }

  .orp00031-attention-icon i {
    font-size: 1.85rem;
  }

  .orp00031-attention-dialog h2 {
    font-size: 1.45rem;
  }

  .orp00031-attention-dialog p {
    font-size: 1rem;
  }

  .orp00031-attention-ok {
    width: 100%;
    min-height: 3rem;
  }

  .orp00031-form-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.7rem;
  }

  .orp00031-form-actions .btn {
    height: 2.35rem;
    min-height: 2.35rem;
    min-width: 0;
    padding-right: 0.55rem;
    padding-left: 0.55rem;
    font-size: 0.86rem;
  }

  .orp00031-form-actions [data-orp00031-limpar],
  .orp00031-form-actions [data-orp00031-testar-payloads] {
    grid-column: 1 / -1;
  }

  .orp00031-diagnostic-panel {
    align-items: stretch;
    padding: 0.75rem;
  }

  .orp00031-diagnostic-panel__actions {
    display: grid;
    width: 100%;
  }

  .orp00031-diagnostic-panel__actions .btn {
    width: 100%;
  }

  .orp00031-summary-card .home-section-card__head {
    display: none;
  }

  .orp00031-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .orp00031-summary-item {
    min-height: 4.2rem;
    padding: 0.65rem;
  }

  .orp00031-summary-item span {
    font-size: 0.66rem;
    letter-spacing: 0;
  }

  .orp00031-summary-item strong {
    font-size: 1.35rem;
  }

  .orp00031-table-card .home-section-card__head {
    margin-bottom: 0.65rem;
  }

  .orp00031-table-card .home-section-card__eyebrow {
    margin-bottom: 0.2rem;
    font-size: 0.64rem;
    letter-spacing: 0;
  }

  .orp00031-table-card .home-section-card__head h3 {
    font-size: 1rem;
  }

  .orp00031-table {
    font-size: 0.82rem;
  }

  .orp00031-table thead th,
  .orp00031-table tbody td {
    white-space: nowrap;
  }

  .orp00031-pagination {
    align-items: stretch;
    gap: 0.5rem;
  }

  .orp00031-pagination__status {
    width: 100%;
    text-align: center;
  }

  .orp00031-pagination__controls {
    width: 100%;
    justify-content: center;
  }

  .orp00031-pagination__pages {
    flex-wrap: nowrap;
  }

  .orp00031-col-action {
    width: 2.85rem;
    min-width: 2.85rem;
  }

  .orp00031-box-detail-button {
    width: 2.25rem;
    height: 2.25rem;
  }

  .orp00031-empty-state {
    padding: 1rem 0.75rem;
  }
}

/* Shared Cativa presentation for native form constraints. */
body:is(.app-shell-internal, .app-shell-public) .cativa-constraint-invalid {
  border-color: var(--cativa-danger) !important;
}
body:is(.app-shell-internal, .app-shell-public) .cativa-field-validation {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border-left: 3px solid var(--cativa-info);
  border-radius: 7px;
  background: var(--cativa-primary-soft);
  color: var(--cativa-text);
  font-family: 'Manrope', sans-serif;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
html[data-internal-theme='dark'] body:is(.app-shell-internal, .app-shell-public) .cativa-field-validation {
  --cativa-info: #63bbea;
}
.cativa-field-validation > i {
  color: var(--cativa-info);
  flex-shrink: 0;
  font-size: .9rem;
  line-height: 1.3;
}
.cativa-field-validation > span {
  min-width: 0;
}
