:root {
  --ink: #172033;
  --muted: #667085;
  --line: #d9e1ec;
  --panel: #ffffff;
  --page: #f4f7fb;
  --brand: #ff0000;
  --brand-dark: #ff0000;
  --accent: #ff0000;
  --warning: #b45309;
  --danger: #ff0000;
  --success: #15803d;
}

html {
  font-size: 16px;
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-size: 1rem;
  line-height: 1.5;
  font-family: "Segoe UI", Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

.required-label::after {
  content: " *";
  color: var(--brand);
  font-weight: 900;
}

.required-star {
  color: var(--brand);
  font-weight: 900;
}

.template-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.template-legend span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.legend-required,
.template-required-row td {
  background: #fff1f2;
}

.legend-system,
.template-system-row td {
  background: #f1f5f9;
}

.legend-optional {
  background: #ffffff;
}

.field-hidden {
  display: none !important;
}

.required-label .consent-option::after {
  content: "";
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  color: var(--brand);
}

.app-nav {
  background: linear-gradient(90deg, #ffffff 0%, #fff7f7 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.app-nav .container-fluid {
  width: min(1600px, 100%);
  margin: 0 auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: var(--ink);
  margin-right: 1.5rem;
  min-width: 0;
  white-space: normal;
}

.navbar-brand > span:last-child { display: grid; line-height: 1.05; min-width: 0; }
.navbar-brand strong { font-size: clamp(1rem, 1.4vw, 1.25rem); }
.navbar-brand small { margin-top: 0.2rem; color: var(--brand); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; white-space: normal; }

.brand-logo {
  display: block;
  width: 8.5rem;
  height: 2.35rem;
  object-fit: contain;
  object-position: left center;
}

.pwa-install-banner {
  position: sticky;
  z-index: 1045;
  top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1480px, calc(100% - 2rem));
  margin: 0.75rem auto 0;
  padding: 0.85rem 1rem;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  background: #fff5f5;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.pwa-install-banner strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--ink);
}

.pwa-install-banner p {
  margin: 0;
  color: var(--muted);
}

.pwa-install-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  white-space: nowrap;
}

.nav-link {
  color: #344054;
  font-weight: 600;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--brand-dark);
}

.app-nav .dropdown-menu {
  min-width: 230px;
  padding: 0.45rem;
  border-color: var(--line);
  border-radius: 0.45rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.app-nav .dropdown-item {
  padding: 0.55rem 0.7rem;
  border-radius: 0.3rem;
  color: #344054;
  font-weight: 600;
}

.app-nav .dropdown-item:hover,
.app-nav .dropdown-item:focus {
  color: var(--brand-dark);
  background: #fff1f2;
}

.account-toggle {
  display: block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-container {
  width: min(1480px, calc(100% - 2rem));
  margin: 0 auto;
}

main {
  padding: 1.5rem 0 2.5rem;
}

.page-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  padding: 1.6rem 0 0.5rem;
}

.page-header.compact {
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 760;
}

h2 {
  font-size: 1.05rem;
  font-weight: 750;
}

.header-copy,
.panel-heading p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.header-copy {
  max-width: 720px;
  font-size: 1rem;
}

.header-actions,
.upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  border-radius: 0.4rem;
  font-weight: 700;
}

.btn-primary {
  border-color: var(--brand);
  background: var(--brand);
}

.btn-primary:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.metric-card,
.panel,
.filter-panel {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.metric-card {
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.metric-card span,
.metric-card small {
  display: block;
  color: var(--muted);
}

.metric-card strong {
  display: block;
  margin: 0.35rem 0;
  font-size: 2rem;
  line-height: 1;
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.35rem;
  background: #94a3b8;
}

.metric-card.success::before,
.status-summary-item.success {
  background: #dcfce7;
  color: #166534;
}

.metric-card.info::before,
.status-summary-item.info {
  background: #dbeafe;
  color: #1d4ed8;
}

.metric-card.warning::before,
.status-summary-item.warning {
  background: #fef3c7;
  color: #92400e;
}

.metric-card.danger::before,
.status-summary-item.danger {
  background: #fee2e2;
  color: #991b1b;
}

.metric-card.muted::before,
.status-summary-item.muted {
  background: #e5e7eb;
  color: #374151;
}

.metric-card.success::before {
  background: var(--success);
}

.metric-card.info::before {
  background: var(--accent);
}

.metric-card.warning::before {
  background: var(--warning);
}

.metric-card.danger::before {
  background: var(--danger);
}

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

.status-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.45rem;
  font-weight: 750;
}

.status-summary-item span {
  font-size: 0.9rem;
}

.status-summary-item strong {
  font-size: 1.35rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.upload-layout {
  align-items: stretch;
}

.template-grid,
.report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.template-card,
.report-card {
  display: flex;
  min-height: 8rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.template-card.selected,
.report-card.selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.12);
}

.template-card strong,
.report-card h2 {
  color: var(--ink);
}

.template-card span,
.report-card span,
.report-card p {
  color: var(--muted);
}

.report-card span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-card p {
  margin: 0.35rem 0 0;
}

.report-actions,
.report-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.report-columns span {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: #344054;
  background: #eef2f7;
  font-size: 0.85rem;
  font-weight: 700;
}

.panel {
  padding: 1rem;
  margin-bottom: 1rem;
}

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

.asset-bars {
  display: grid;
  gap: 0.9rem;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
  color: #344054;
  font-weight: 650;
}

.bar-track {
  height: 0.55rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef6;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

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

.alert-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.8rem;
  border: 1px solid #fecaca;
  border-radius: 0.45rem;
  background: #fff1f2;
}

.alert-item p {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

.alert-status {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: var(--muted);
}

.alert-status.high {
  background: var(--danger);
}

.alert-status.medium {
  background: var(--warning);
}

.alert-status.low {
  background: var(--success);
}

.asset-table {
  width: 100%;
  min-width: 980px;
  margin: 0;
  vertical-align: middle;
  table-layout: auto;
}

.asset-table thead th {
  color: #475467;
  background: #f8fafc;
  font-size: 0.8rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.asset-table td {
  color: #344054;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-table th,
.asset-table td {
  padding: 0.75rem 0.8rem;
  border-bottom: 1px solid #eef2f7;
}

.asset-table tbody tr:hover {
  background: #f8fafc;
}

.register-table {
  min-width: 1200px;
}

.compact-register-table th,
.compact-register-table td {
  min-width: 120px;
}

.compact-register-table th:first-child,
.compact-register-table td:first-child {
  min-width: 145px;
  position: sticky;
  left: 0;
  z-index: 2;
  background: #ffffff;
}

.compact-register-table thead th:first-child {
  background: #f8fafc;
}

.compact-register-table td:nth-child(2),
.compact-register-table td:nth-child(5),
.compact-register-table td:nth-child(8),
.compact-register-table td:nth-child(9) {
  max-width: 190px;
}

.table-responsive {
  border: 1px solid #eef2f7;
  border-radius: 0.45rem;
}

.employee-table {
  min-width: 1150px;
}

.mobility-table {
  min-width: 1250px;
}

.assignment-table {
  min-width: 1900px;
}

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

.structure-grid > div {
  padding: 1rem;
  border: 1px solid #e6ebf2;
  border-radius: 0.45rem;
  background: #fbfcfe;
}

.structure-grid strong {
  display: block;
  margin-bottom: 0.35rem;
}

.structure-grid p {
  margin: 0;
  color: var(--muted);
}

.column-chooser {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #eef2f7;
}

.column-chooser summary {
  cursor: pointer;
  color: var(--brand-dark);
  font-weight: 800;
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 0.5rem 0.8rem;
  margin-top: 0.85rem;
}

.column-option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid #e6ebf2;
  border-radius: 0.35rem;
  background: #fbfcfe;
  color: #344054;
  font-size: 0.85rem;
  font-weight: 650;
}

.column-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.flow-list {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.1rem;
  color: #344054;
}

.login-shell {
  display: grid;
  min-height: calc(100vh - 96px);
  align-items: center;
  justify-items: center;
  padding: clamp(1rem, 4vh, 2.5rem) 1rem;
}

.login-panel {
  width: min(460px, calc(100vw - 2rem));
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

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

.login-form label {
  color: #475467;
  font-size: 0.9rem;
  font-weight: 700;
}

.login-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.credential-box {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #fde68a;
  border-radius: 0.45rem;
  color: #78350f;
  background: #fffbeb;
}

.credential-box p {
  margin: 0.35rem 0 0;
}

.reset-result {
  margin-top: 0;
  margin-bottom: 1rem;
}

.user-admin-table {
  min-width: 1050px;
}

.user-role-options { display:grid; grid-template-columns:repeat(2,minmax(110px,1fr)); gap:0.35rem; min-width:260px; }
.user-role-options label { display:flex; align-items:center; gap:0.4rem; margin:0; padding:0.35rem 0.45rem; border:1px solid var(--line); border-radius:0.3rem; background:#f8fafc; font-size:0.82rem; font-weight:650; }
.table-page-controls { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:0.55rem 0; color:var(--muted); font-size:0.82rem; }
.table-page-size,.table-page-nav { display:flex; align-items:center; gap:0.5rem; margin:0; white-space:nowrap; }
.table-page-size .form-select { width:auto; min-width:72px; }

.status-pill.pending {
  color: #92400e;
  background: #fef3c7;
}

.account-nav {
  align-items: center;
}

.form-panel {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

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

.assignment-form fieldset {
  padding: 1rem;
  border: 1px solid #e6ebf2;
  border-radius: 0.45rem;
  background: #fbfcfe;
}

.assignment-form legend {
  float: none;
  width: auto;
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

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

.form-grid label {
  color: #475467;
  font-size: 0.85rem;
  font-weight: 700;
}

.form-grid .span-2 {
  grid-column: span 2;
}

.form-actions {
  display: flex;
  gap: 0.7rem;
  justify-content: flex-end;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: #1f2937;
  background: #eef2f7;
  font-size: 0.8rem;
  font-weight: 750;
  white-space: nowrap;
}

.status-pill.active {
  color: #166534;
  background: #dcfce7;
}

.status-pill.in-stock {
  color: #1d4ed8;
  background: #dbeafe;
}

.filter-panel {
  padding: 1rem;
  margin-bottom: 1rem;
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.45fr) minmax(180px, 0.45fr) auto;
  gap: 0.85rem;
  align-items: end;
}

.filter-grid label {
  color: #475467;
  font-size: 0.85rem;
  font-weight: 700;
}

.upload-box {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px dashed #b8c3d2;
  border-radius: 0.5rem;
  background: #f8fafc;
}

.upload-result {
  margin-top: 1rem;
  padding: 0.9rem;
  border: 1px solid #fecaca;
  border-left: 0.35rem solid var(--brand);
  border-radius: 0.45rem;
  color: #7f1d1d;
  background: #fff1f2;
}

.upload-result p {
  margin: 0.25rem 0 0;
}

.control-list {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.1rem;
  color: #344054;
}

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

.dashboard-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 1050px) { .dashboard-action-grid { grid-template-columns: 1fr; } }

.renewal-summary article {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #ffffff;
}

.login-logo {
  display: block;
  width: min(13rem, 100%);
  height: auto;
  margin: 0 0 1rem;
}

.renewal-summary span,
.renewal-summary strong {
  display: block;
}

.renewal-summary span {
  color: var(--muted);
  font-weight: 700;
}

.renewal-summary strong {
  margin-top: 0.3rem;
  font-size: 1.8rem;
}

.renewal-table {
  min-width: 1600px;
}

.lifecycle-table {
  min-width: 1400px;
}

.status-pill.overdue {
  color: #991b1b;
  background: #fee2e2;
}

.status-pill.due-soon {
  color: #92400e;
  background: #fef3c7;
}

.status-pill.scheduled {
  color: #166534;
  background: #dcfce7;
}

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

.request-panel {
  min-width: 0;
}

.quick-link-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.quick-link-card:hover {
  color: inherit;
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.quick-link-card strong {
  color: #1d4ed8;
}

.request-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.privacy-notice {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #fcd34d;
  border-radius: 0.45rem;
  color: #78350f;
  background: #fffbeb;
}

.privacy-notice p {
  margin: 0.35rem 0 0;
}

.consent-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding-top: 1.8rem;
}

.employee-hero {
  align-items: center;
}

.employee-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.employee-metrics article {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.employee-metrics span,
.employee-metrics strong,
.employee-metrics small {
  display: block;
}

.employee-metrics span,
.employee-metrics small {
  color: var(--muted);
}

.employee-metrics strong {
  margin: 0.25rem 0;
  font-size: 1.8rem;
}

.employee-assets-table {
  min-width: 1100px;
}

.usage-chip {
  display: inline-flex;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: 0.82rem;
  font-weight: 800;
}

.notice-list,
.policy-list,
.quick-link-list {
  display: grid;
  gap: 0.75rem;
}

.notice-item,
.policy-item,
.quick-link-list a {
  display: block;
  padding: 0.85rem;
  border: 1px solid #e6ebf2;
  border-radius: 0.45rem;
  background: #fbfcfe;
}

.notice-item span,
.policy-item span,
.quick-link-list span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.notice-item strong,
.policy-item strong,
.quick-link-list strong {
  display: block;
  margin: 0.2rem 0;
  color: var(--ink);
}

.notice-item p,
.policy-item p {
  margin: 0;
  color: var(--muted);
}

.notice-item.high,
.notice-item.critical {
  border-left: 0.3rem solid var(--danger);
}

.policy-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.policy-item small {
  color: var(--muted);
  white-space: nowrap;
}

.employee-compact-grid,
.assistant-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.assistant-action-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-employee-hero {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.policy-highlight {
  border-top: 0.3rem solid #1d4ed8;
  background: linear-gradient(180deg, #eff6ff 0, #ffffff 110px);
}

.compact-policy-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-policy-list .policy-item {
  min-height: 128px;
}

.employee-actions-panel .quick-link-list a:first-child {
  border-color: #60a5fa;
  background: #eff6ff;
}

.employee-assets-compact,
.compact-notices {
  margin-bottom: 1rem;
}

.renewal-action-panel {
  margin-bottom: 1rem;
  border-top: 0.35rem solid var(--brand);
}

.renewal-flash { position:fixed; z-index:1080; top:1rem; right:1rem; width:min(430px,calc(100% - 2rem)); max-height:80vh; overflow:auto; padding:1rem 1.1rem; border:2px solid #fff; border-radius:0.55rem; color:#fff; background:var(--brand); box-shadow:0 18px 45px rgba(15,23,42,0.35); }
.renewal-flash h2 { margin:0 2rem 0.65rem 0; font-size:1.2rem; }
.renewal-flash .eyebrow { color:#fff; }
.renewal-flash-close { position:absolute; top:0.35rem; right:0.55rem; border:0; color:#fff; background:transparent; font-size:1.7rem; line-height:1; }
.renewal-flash-item { display:grid; gap:0.1rem; margin-bottom:0.55rem; padding:0.55rem; border-radius:0.35rem; background:rgba(255,255,255,0.14); }
.renewal-flash-item span { font-size:0.82rem; }

.renewal-row.overdue {
  background: #fff1f2;
}

.renewal-row.due-soon {
  background: #fffbeb;
}

.status-pill.overdue {
  color: #991b1b;
  background: #fee2e2;
}

.status-pill.due-soon {
  color: #92400e;
  background: #fef3c7;
}

.status-pill.approved {
  color: #166534;
  background: #dcfce7;
}

.status-pill.rejected {
  color: #991b1b;
  background: #fee2e2;
}

.approval-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid #f59e0b;
  border-radius: 0.55rem;
  background: #fffbeb;
}

.approval-banner strong,
.approval-banner span {
  display: block;
}

.approval-banner span {
  margin-top: 0.2rem;
  color: #78350f;
}

.approval-actions {
  display: grid;
  gap: 0.45rem;
  min-width: 220px;
}

.approval-actions form {
  display: flex;
  gap: 0.4rem;
}

.sap-auth-heading,
.sap-review-actions,
.sap-ticket-facts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sap-auth-heading {
  margin: 1.5rem 0 0.75rem;
}

.sap-auth-heading h3,
.sap-auth-heading p {
  margin: 0;
}

.sap-auth-heading span {
  color: var(--muted);
  font-size: 0.85rem;
}

.sap-auth-matrix {
  max-height: 620px;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
}

.sap-auth-matrix thead {
  position: sticky;
  z-index: 2;
  top: 0;
  background: #f8fafc;
}

.sap-ticket-detail {
  margin-top: 1rem;
}

.sap-ticket-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 0.45rem;
  background: #f8fafc;
}

.sap-ticket-facts span,
.sap-ticket-facts strong {
  display: block;
}

.sap-ticket-facts span {
  color: var(--muted);
  font-size: 0.8rem;
}

.no-change-row {
  color: var(--muted);
  background: #fafafa;
}

.sap-review-actions {
  align-items: stretch;
  margin-top: 1rem;
}

.sap-review-actions form {
  display: flex;
  flex: 1;
  gap: 0.5rem;
}

.sap-implementation-form {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #93c5fd;
  border-radius: 0.5rem;
  background: #eff6ff;
}

.sap-audit-trail {
  margin-top: 1.25rem;
}

.sap-audit-trail article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.sap-audit-trail time,
.sap-audit-trail p {
  color: var(--muted);
}

.sap-support-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.sap-support-summary article {
  padding: 1rem;
  border: 1px solid var(--line);
  border-top: 0.3rem solid #64748b;
  border-radius: 0.5rem;
  background: #fff;
}

.sap-support-summary article.danger { border-top-color: var(--brand); }
.sap-support-summary article.warning { border-top-color: #f59e0b; }
.sap-support-summary article.info { border-top-color: #2563eb; }

.sap-support-summary span,
.sap-support-summary strong,
.sap-support-summary small {
  display: block;
}

.sap-support-summary strong {
  margin: 0.15rem 0;
  font-size: 1.8rem;
}

.sap-support-summary span,
.sap-support-summary small {
  color: var(--muted);
}

.sap-data-quality {
  margin-bottom: 1rem;
}

.sap-support-filters {
  margin-bottom: 1rem;
  padding: 0.85rem;
  border-radius: 0.45rem;
  background: #f8fafc;
}

.sap-support-table {
  min-width: 1450px;
}

.sap-support-table th:nth-child(2),
.sap-support-table td:nth-child(2) {
  min-width: 360px;
}

.sap-support-table th:nth-child(7),
.sap-support-table td:nth-child(7) {
  min-width: 300px;
  white-space: normal;
}

.support-open-row {
  background: #fffdf5;
}

.sap-nav-link {
  color: #0f4c81 !important;
  font-weight: 800;
}

.sap-nav-link::before {
  display: inline-block;
  margin-right: 0.3rem;
  padding: 0.05rem 0.3rem;
  border-radius: 0.25rem;
  color: #fff;
  background: #0f4c81;
  content: "B1";
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}

.sap-audit-trail p {
  margin: 0.2rem 0 0;
}

.footer {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  color: #ffffff;
  background: var(--brand-dark);
}

.footer-content {
  display: flex;
  justify-content: flex-end;
  text-align: right;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-system-name {
  font-weight: 600;
}

.footer-creator {
  margin-left: auto;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
}

.role-save-top {
  justify-content: flex-start;
  margin: -0.25rem 0 0;
}

.table-check {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  margin: 0;
  white-space: nowrap;
}

.ack-stay-actions {
  margin-top: 0.75rem;
}

.validation-banner, .save-confirmation { margin-bottom: 1rem; padding: 0.8rem 1rem; border: 1px solid #fecaca; border-radius: 0.4rem; color: #991b1b; background: #fff1f2; }
.save-confirmation { border-color: #86efac; color: #166534; background: #f0fdf4; }

.role-editor-list { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.role-edit-card { overflow: hidden; border: 1px solid var(--line); border-radius: 0.45rem; background: #fff; }
.role-edit-card > summary { display: grid; grid-template-columns: minmax(130px,0.35fr) minmax(260px,1fr) auto; gap: 1rem; align-items: center; padding: 0.9rem 1rem; cursor: pointer; }
.role-edit-card > summary span { color: var(--muted); }
.role-edit-card .role-type { padding: 0.2rem 0.5rem; border-radius: 999px; background: #f2f4f7; font-size: 0.75rem; font-weight: 700; }
.role-edit-form { display: grid; gap: 1rem; padding: 1rem; border-top: 1px solid var(--line); }
.access-matrix { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0.9rem; }
.permission-scope, .permission-checks { margin: 0; padding: 0.8rem; border: 1px solid var(--line); border-radius: 0.4rem; }
.permission-scope legend, .permission-checks legend { float: none; width: auto; margin: 0; padding: 0 0.35rem; font-size: 0.9rem; font-weight: 800; }
.permission-option-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0.45rem; }
.permission-option-grid label { display: flex; align-items: flex-start; gap: 0.45rem; min-width: 0; padding: 0.45rem; border-radius: 0.3rem; background: #f8fafc; }
.permission-option-grid label > span, .permission-option-grid small { display: block; min-width: 0; }
.permission-option-grid small { margin-top: 0.1rem; color: var(--muted); font-size: 0.75rem; }

.permission-flow-list { display:grid; gap:0.9rem; margin-top:0.75rem; }
.permission-flow-card { overflow:hidden; border:1px solid var(--line); border-radius:0.45rem; background:#fff; }
.permission-flow-menu { display:flex; align-items:flex-start; gap:0.55rem; margin:0; padding:0.75rem; background:#fff5f5; }
.permission-flow-menu span,.permission-flow-menu small { display:block; }
.permission-flow-menu small { margin-top:0.1rem; color:var(--muted); font-weight:500; }
.permission-flow-level { padding:0.7rem 0.8rem; border-top:1px solid var(--line); }
.permission-flow-level > strong { display:block; margin-bottom:0.45rem; color:#475467; font-size:0.8rem; text-transform:uppercase; }
.permission-inline-options { display:flex; flex-wrap:wrap; gap:0.45rem; }
.permission-inline-options label { display:flex; align-items:center; gap:0.35rem; margin:0; padding:0.35rem 0.5rem; border:1px solid var(--line); border-radius:0.35rem; background:#f8fafc; font-size:0.8rem; }

.historical-ack-panel { margin-bottom: 1rem; border-top: 0.35rem solid var(--brand); }
.consumable-selector { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0.55rem; padding: 0.85rem; border: 1px solid var(--line); border-radius: 0.4rem; }
.consumable-selector legend { float: none; width: auto; margin: 0; padding: 0 0.35rem; font-size: 0.9rem; font-weight: 700; }
.consumable-selector label { display: flex; align-items: center; gap: 0.45rem; font-weight: 500; }
.lifecycle-note { margin: 0; padding: 0.8rem 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.employee-context { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0.6rem; padding:0.75rem; border:1px solid var(--line); border-radius:0.4rem; background:#fffafa; }
.employee-context span,.employee-context strong { display:block; }
.employee-context span { color:var(--muted); font-size:0.75rem; }

.request-alert-panel { margin-bottom: 1rem; border-top: 0.35rem solid var(--brand); }
.request-urgent { background: #fff1f2; }
.table-responsive { width: 100%; }
.asset-table { min-width: max-content; }
.table-actions { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.table-actions form { margin: 0; }
.field-note { display: grid; align-content: center; min-height: 66px; padding: 0.65rem 0.8rem; border: 1px dashed var(--line); border-radius: 0.4rem; background: #fffafa; }
.field-note span { color: var(--muted); font-size: 0.85rem; }

@media (max-width: 1050px) {
  .metric-grid,
  .employee-metrics,
  .status-summary,
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .employee-compact-grid,
  .assistant-action-grid {
    grid-template-columns: 1fr;
  }

  .panel-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .app-container {
    width: min(100% - 1rem, 1480px);
  }

  .page-header,
  .panel-heading,
  .footer-content,
  .pwa-install-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-grid,
  .status-summary,
  .content-grid,
  .template-grid,
  .report-grid,
  .renewal-summary,
  .request-grid,
  .structure-grid,
  .form-grid,
  .filter-grid,
  .column-grid {
    grid-template-columns: 1fr;
  }

  .employee-compact-grid,
  .assistant-action-grid,
  .compact-policy-list {
    grid-template-columns: 1fr;
  }

  .access-matrix,
  .permission-option-grid,
  .role-edit-card > summary {
    grid-template-columns: 1fr;
  }

  .approval-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .sap-ticket-facts {
    grid-template-columns: 1fr;
  }

  .sap-support-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sap-review-actions,
  .sap-review-actions form {
    flex-direction: column;
  }

  .sap-audit-trail article {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .sap-support-summary {
    grid-template-columns: 1fr;
  }

  .pwa-install-actions {
    white-space: normal;
  }

  .form-grid .span-2 {
    grid-column: auto;
  }

  .consumable-selector { grid-template-columns: 1fr; }

  h1 {
    font-size: 1.9rem;
  }
}

/* FDS_SCOPED_TEXT_WRAP_FIX_START */
/*
   Wrap long content carefully.
   Do NOT force wrapping on menu, sub-menu, headings, labels or buttons.
*/

/* Normal menu / heading behavior */
.site-header,
.site-header *,
.navbar,
.navbar *,
.nav,
.nav *,
.nav-link,
.dropdown-menu,
.dropdown-menu *,
.dropdown-item,
.brand-block,
.brand-block *,
.page-title,
.page-title *,
.page-header h1,
.page-header h2,
.page-header h3,
.panel-heading h1,
.panel-heading h2,
.panel-heading h3,
.card-title,
h1,
h2,
h3,
h4,
h5,
h6,
button,
.btn,
label,
.form-label {
    overflow-wrap: normal !important;
    word-break: normal !important;
}

.nav-link,
.dropdown-item,
.btn,
button {
    white-space: nowrap !important;
}

/* Allow dropdown menu to keep words readable */
.dropdown-menu {
    max-width: 92vw;
}

.dropdown-item {
    line-height: 1.3;
}

/* Wrap only real content areas */
.table,
.asset-table {
    table-layout: auto;
    width: 100%;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table th,
.table td,
.asset-table th,
.asset-table td {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    vertical-align: top;
    max-width: 380px;
}

/* Long values inside cells/cards */
td small,
td span,
td div,
.asset-table small,
.asset-table span,
.asset-table div,
.record-details,
.record-details *,
.detail-grid,
.detail-grid *,
.meta-grid,
.meta-grid *,
.timeline,
.timeline *,
.upload-result,
.upload-result *,
.validation-summary-errors,
.validation-summary-errors *,
.alert,
.alert *,
.text-muted,
.help-text,
.form-text,
.description,
.remarks,
.notes {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Form controls should not overflow */
.form-control,
.form-select,
textarea,
input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"] {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Long card/body text only, not headings */
.panel p,
.card p,
.form-section p,
.upload-box p,
.page-copy,
.page-copy *,
.content-copy,
.content-copy * {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Action areas can move buttons to next line, but button text itself stays single-line */
.header-actions,
.form-actions,
.panel-actions,
.action-row {
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 900px) {
    .table th,
    .table td,
    .asset-table th,
    .asset-table td {
        max-width: 260px;
        font-size: 0.88rem;
    }
}
/* FDS_SCOPED_TEXT_WRAP_FIX_END */

/* FIDS global notification dropdown */
.notification-nav { position:relative; display:flex; align-items:center; margin-right:.25rem; }
.notification-toggle { position:relative; min-width:3rem; min-height:2.6rem; display:inline-flex; align-items:center; justify-content:center; padding-left:.55rem; padding-right:.55rem; }
.notification-symbol { width:2rem; height:2rem; border:1px solid var(--line); border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:1.05rem; font-weight:900; color:var(--brand); background:#fff; line-height:1; box-shadow:0 6px 14px rgba(15,23,42,.08); }
.notification-count { position:absolute; top:.05rem; right:.05rem; min-width:1.35rem; height:1.35rem; padding:0 .3rem; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; font-size:.72rem; font-weight:900; color:#fff; background:var(--brand); border:2px solid #fff; }
.notification-menu { min-width:330px; max-width:min(440px,calc(100vw - 1rem)); max-height:min(520px,70vh); overflow:auto; }
.notification-menu .dropdown-item { white-space:normal !important; display:grid; gap:.12rem; padding:.65rem .85rem; }
.notification-menu small { color:var(--muted); }
.notification-entry.unread { border-left:4px solid var(--brand); background:#fff7f7; }
.notification-entry.read { opacity:.72; }
.notification-read-state { justify-self:start; border-radius:999px; padding:.1rem .45rem; background:#f1f5f9; color:#475569; font-size:.68rem; font-weight:900; }
.notification-entry.unread .notification-read-state { background:var(--brand); color:#fff; }
.notification-clear { font-weight:900; color:var(--brand) !important; }

/* FIDS neutral palette: keep fischer red for primary action/brand, render all other states in greys. */
:root {
  --warning: #6b7280;
  --success: #4b5563;
}

.status-pill.pending,
.status-pill.active,
.status-pill.in-stock,
.status-pill.overdue,
.status-pill.due-soon,
.status-pill.scheduled,
.metric-card.success::before,
.metric-card.info::before,
.metric-card.warning::before,
.status-summary-item.success,
.status-summary-item.info,
.status-summary-item.warning,
.status-summary-item.danger,
.old-asset-status.available,
.old-asset-status.pending,
.old-asset-status.sold,
.old-asset-status.rejected {
  color: #111827 !important;
  background: #e5e7eb !important;
}

.app-nav {
  background: linear-gradient(90deg, #ffffff 0%, #f3f4f6 100%) !important;
}

.app-nav .dropdown-item:hover,
.app-nav .dropdown-item:focus,
.quick-link-card:hover,
.privacy-notice,
.alert-info,
.notification-entry.unread {
  border-color: #d1d5db !important;
  background: #f3f4f6 !important;
  color: #111827 !important;
}

.quick-link-card strong {
  color: #111827 !important;
}

.notification-read-state {
  background: #e5e7eb !important;
  color: #111827 !important;
}

.notification-entry.unread .notification-read-state {
  background: var(--brand) !important;
  color: #ffffff !important;
}


/* =========================================================
   FIDS FORCE LOADED CSS FIX - OVERRIDE ALL OLD HEADER/TABS
   ========================================================= */
html,body{margin:0!important;overflow-x:hidden!important;background:#f7f8fa!important;}
body{padding-top:64px!important;padding-left:260px!important;font-size:13px!important;}
header,.app-header,.main-header,.top-header,.shell-header,.fids-topbar{position:fixed!important;top:0!important;left:0!important;right:0!important;height:64px!important;min-height:64px!important;max-height:64px!important;margin:0!important;padding:0!important;background:#fff!important;border-bottom:3px solid #e30613!important;z-index:99999!important;overflow:visible!important;}
header nav,header .navbar,header .app-nav{height:64px!important;min-height:64px!important;max-height:64px!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;display:flex!important;align-items:center!important;}
header .container-fluid{height:64px!important;max-height:64px!important;width:100%!important;max-width:none!important;margin:0!important;padding:0 24px!important;display:flex!important;align-items:center!important;}
.brand-logo{width:112px!important;height:36px!important;max-height:36px!important;object-fit:contain!important;}
.fids-official-brand-text{display:flex!important;flex-direction:row!important;align-items:baseline!important;gap:6px!important;white-space:nowrap!important;}
.fids-official-brand-text strong{font-size:16px!important;line-height:18px!important;font-weight:800!important;}
.fids-official-brand-text small{font-size:12px!important;line-height:14px!important;color:#e30613!important;}
.navbar-collapse{display:flex!important;justify-content:flex-end!important;flex:1!important;}
.account-nav{margin-left:auto!important;height:64px!important;display:flex!important;align-items:center!important;}
.account-toggle,.notification-toggle{height:64px!important;display:flex!important;align-items:center!important;}
.fids-v3-sidebar,.sidebar,.left-sidebar,.app-sidebar{position:fixed!important;top:64px!important;left:0!important;bottom:0!important;width:260px!important;min-width:260px!important;max-width:260px!important;height:auto!important;background:#fff!important;z-index:9000!important;border-right:1px solid #e5e7eb!important;}
.fids-v3-favbox{display:none!important;}
.fids-v3-tabs,.tab-strip,.page-tabs,.shell-tabs{display:none!important;}
.app-container,.content-wrapper,.main-content{max-width:none!important;margin:0!important;padding:24px!important;}
main{margin:0!important;padding:0!important;}
.dropdown-menu{z-index:120000!important;}
/* ========================================================= */


/* FIDS_HARD_RUNTIME_HEADER_REBUILD_START */
html,body{margin:0!important;overflow-x:hidden!important;background:#f7f8fa!important;}
body.fids-hard-ui-fixed{padding-top:64px!important;padding-left:260px!important;font-size:13px!important;}
body.fids-hard-ui-fixed header{position:fixed!important;top:0!important;left:0!important;right:0!important;height:64px!important;min-height:64px!important;max-height:64px!important;margin:0!important;padding:0 24px!important;background:#fff!important;border-bottom:3px solid #e30613!important;z-index:2147483000!important;box-sizing:border-box!important;overflow:visible!important;}
body.fids-hard-ui-fixed .fids-v3-sidebar,body.fids-hard-ui-fixed .sidebar,body.fids-hard-ui-fixed .left-sidebar,body.fids-hard-ui-fixed .app-sidebar{position:fixed!important;top:64px!important;left:0!important;bottom:0!important;width:260px!important;min-width:260px!important;max-width:260px!important;height:auto!important;background:#fff!important;z-index:2147480000!important;border-right:1px solid #e5e7eb!important;}
body.fids-hard-ui-fixed .fids-v3-favbox{display:none!important;}
body.fids-hard-ui-fixed main,body.fids-hard-ui-fixed .app-container,body.fids-hard-ui-fixed .content-wrapper,body.fids-hard-ui-fixed .main-content{max-width:none!important;margin-top:0!important;}
.fids-hard-header{height:64px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;}
.fids-hard-brand{display:flex!important;align-items:center!important;gap:12px!important;}
.fids-hard-brand img{width:112px!important;height:36px!important;object-fit:contain!important;}
.fids-hard-title{display:flex!important;align-items:baseline!important;gap:6px!important;white-space:nowrap!important;}
.fids-hard-title strong{font-size:16px!important;line-height:18px!important;color:#111827!important;font-weight:800!important;}
.fids-hard-title span{font-size:12px!important;line-height:14px!important;color:#e30613!important;font-weight:600!important;}
.fids-hard-user{display:flex!important;align-items:center!important;gap:8px!important;color:#e30613!important;font-size:13px!important;font-weight:800!important;white-space:nowrap!important;}
.fids-hard-avatar{width:28px!important;height:28px!important;border:3px solid #111827!important;border-radius:50%!important;display:inline-block!important;}
/* FIDS_HARD_RUNTIME_HEADER_REBUILD_END */


/* FIDS_FINAL_REAL_HEADER_PROFILE_FIX_START */
html,body{margin:0!important;overflow-x:hidden!important;background:#f7f8fa!important;}
body{padding-top:64px!important;padding-left:260px!important;font-size:13px!important;}
.fids-final-header{position:fixed!important;top:0!important;left:0!important;right:0!important;height:64px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;background:#fff!important;border-bottom:3px solid #e30613!important;z-index:2147483000!important;padding:0 24px!important;box-sizing:border-box!important;}
.fids-final-brand{display:flex!important;align-items:center!important;gap:12px!important;text-decoration:none!important;min-width:0!important;}
.fids-final-brand img{width:112px!important;height:36px!important;object-fit:contain!important;}
.fids-final-title{display:flex!important;align-items:baseline!important;gap:6px!important;white-space:nowrap!important;}
.fids-final-title strong{font-size:16px!important;line-height:18px!important;font-weight:800!important;color:#111827!important;}
.fids-final-title small{font-size:12px!important;line-height:14px!important;font-weight:600!important;color:#e30613!important;}
.fids-final-actions{display:flex!important;align-items:center!important;gap:14px!important;margin-left:auto!important;}
.fids-final-bell,.fids-final-user{border:0!important;background:transparent!important;height:64px!important;display:flex!important;align-items:center!important;gap:8px!important;color:#e30613!important;font-weight:800!important;white-space:nowrap!important;}
.fids-final-bell{font-size:20px!important;position:relative!important;}
.fids-final-bell span{position:absolute!important;top:14px!important;right:-4px!important;background:#e30613!important;color:#fff!important;border-radius:999px!important;font-size:10px!important;line-height:16px!important;min-width:16px!important;text-align:center!important;}
.fids-final-avatar{width:28px!important;height:28px!important;border:3px solid #111827!important;border-radius:50%!important;display:inline-block!important;}
.fids-v3-sidebar,.sidebar,.left-sidebar,.app-sidebar{position:fixed!important;top:64px!important;left:0!important;bottom:0!important;width:260px!important;min-width:260px!important;max-width:260px!important;height:auto!important;background:#fff!important;z-index:8000!important;border-right:1px solid #e5e7eb!important;}
.fids-v3-favbox{display:none!important;}
.app-container,.content-wrapper,.main-content{max-width:none!important;margin:0!important;padding:24px!important;}
main{margin:0!important;padding:0!important;}
.dropdown-menu{z-index:2147483500!important;}
/* FIDS_FINAL_REAL_HEADER_PROFILE_FIX_END */


/* FIDS_HEADER_VISIBLE_FORCE_START */
html,body{margin:0!important;overflow-x:hidden!important;background:#f7f8fa!important;}
body{padding-top:64px!important;padding-left:260px!important;}
header,.fids-visible-header{display:flex!important;visibility:visible!important;opacity:1!important;}
.fids-visible-header{position:fixed!important;top:0!important;left:0!important;right:0!important;height:64px!important;min-height:64px!important;max-height:64px!important;background:#fff!important;border-bottom:3px solid #e30613!important;z-index:2147483640!important;align-items:center!important;justify-content:space-between!important;padding:0 28px!important;box-sizing:border-box!important;}
.fids-visible-brand{display:flex!important;align-items:center!important;gap:12px!important;text-decoration:none!important;white-space:nowrap!important;}
.fids-visible-brand img{width:112px!important;height:36px!important;object-fit:contain!important;background:#e30613!important;}
.fids-visible-brand strong{font-size:18px!important;line-height:20px!important;font-weight:800!important;color:#111827!important;}
.fids-visible-brand span{font-size:13px!important;color:#e30613!important;font-weight:600!important;}
.fids-visible-user{margin-left:auto!important;}
.fids-visible-user-btn{height:64px!important;border:0!important;background:transparent!important;color:#e30613!important;font-weight:800!important;display:flex!important;align-items:center!important;gap:8px!important;}
.fids-visible-avatar{width:30px!important;height:30px!important;border:3px solid #111827!important;border-radius:50%!important;display:inline-block!important;}
.fids-v3-sidebar,.sidebar,.left-sidebar,.app-sidebar{top:64px!important;}
.fids-v3-favbox{display:none!important;}
.dropdown-menu{z-index:2147483641!important;}
/* FIDS_HEADER_VISIBLE_FORCE_END */












