:root {
  --fids-red:#ff0000;
  --fids-grey:#bdbab0;
  --fids-grey-light:#f4f3ef;
  --fids-grey-panel:#ebe9e3;
  --fids-border:#ddd9d1;
  --fids-ink:#111827;
  --fids-muted:#64625d;
  --fids-sidebar:292px;
  --fids-shadow:0 12px 30px rgba(17,24,39,.08);
}

body.fids-shell-v3 {
  padding-left: var(--fids-sidebar) !important;
  background: linear-gradient(180deg,#fbfbfa 0%,#f4f3ef 100%) !important;
  color: var(--fids-ink);
}

body.fids-shell-v3.fids-mini { padding-left: 78px !important; }

.fids-v3-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--fids-sidebar);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg,#f7f6f3 0%,#ebe9e3 100%);
  border-right: 1px solid var(--fids-border);
  box-shadow: 10px 0 28px rgba(17,24,39,.07);
}

body.fids-mini .fids-v3-sidebar { width: 78px; }

.fids-v3-brand {
  min-height: 78px;
  display:flex;
  align-items:center;
  gap:.78rem;
  padding:1rem;
  border-bottom:1px solid var(--fids-border);
  background:rgba(255,255,255,.78);
}

.fids-v3-logo {
  min-width:112px;
  height:44px;
  border-radius:7px;
  background:var(--fids-red);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
  font-size:1.18rem;
  letter-spacing:-.035em;
  box-shadow:0 10px 22px rgba(255,0,0,.16);
}

.fids-v3-brand-text { display:grid; gap:.05rem; }
.fids-v3-brand-text strong { font-size:1.12rem; letter-spacing:.02em; }
.fids-v3-brand-text span { color:var(--fids-muted); font-size:.78rem; }

body.fids-mini .fids-v3-brand-text,
body.fids-mini .fids-v3-label,
body.fids-mini .fids-v3-chevron,
body.fids-mini .fids-v3-subnav,
body.fids-mini .fids-v3-search,
body.fids-mini .fids-v3-favbox { display:none !important; }
body.fids-mini .fids-v3-brand { justify-content:center; padding:.7rem .35rem; }
body.fids-mini .fids-v3-logo { min-width:48px; width:48px; font-size:.72rem; }

.fids-v3-search { padding:.78rem .9rem .45rem; }
.fids-v3-search input {
  width:100%;
  height:40px;
  border:1px solid var(--fids-border);
  border-radius:11px;
  background:#fff;
  padding:0 .8rem;
  font-weight:760;
  color:var(--fids-ink);
}
.fids-v3-search input:focus {
  outline:2px solid rgba(255,0,0,.13);
  border-color:rgba(255,0,0,.42);
}

.fids-v3-favbox {
  margin:.35rem .9rem .55rem;
  padding:.7rem;
  border:1px solid var(--fids-border);
  border-radius:13px;
  background:rgba(255,255,255,.65);
}
.fids-v3-fav-title {
  display:flex;
  justify-content:space-between;
  color:var(--fids-muted);
  font-weight:950;
  font-size:.74rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:.35rem;
}
.fids-v3-fav-empty { color:var(--fids-muted); font-size:.78rem; }
.fids-v3-fav {
  display:block;
  color:var(--fids-ink);
  font-weight:800;
  font-size:.86rem;
  text-decoration:none;
  padding:.25rem 0;
}
.fids-v3-fav:hover { color:var(--fids-red); }

.fids-v3-scroll {
  flex:1;
  overflow-y:auto;
  overflow-x:hidden;
  padding:.55rem .72rem 1rem;
  scrollbar-width:thin;
  scrollbar-color:var(--fids-grey) transparent;
}
.fids-v3-scroll::-webkit-scrollbar { width:8px; }
.fids-v3-scroll::-webkit-scrollbar-thumb { background:var(--fids-grey); border-radius:999px; }

.fids-v3-section { margin-bottom:.28rem; }

.fids-v3-menu,
.fids-v3-single,
.fids-v3-sub {
  width:100%;
  border:0;
  background:transparent;
  color:var(--fids-ink);
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:.7rem;
  min-height:42px;
  border-radius:12px;
  padding:.58rem .72rem;
  font-weight:900;
  transition:background .15s ease,color .15s ease,box-shadow .15s ease;
}

.fids-v3-menu {
  justify-content:space-between;
  cursor:pointer;
}

.fids-v3-left {
  display:inline-flex;
  align-items:center;
  gap:.7rem;
  min-width:0;
}

.fids-v3-icon {
  width:25px;
  min-width:25px;
  height:25px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#151515;
}

.fids-v3-icon svg {
  width:20px;
  height:20px;
  stroke:currentColor;
  stroke-width:2.1;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.fids-v3-label {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.fids-v3-menu:hover,
.fids-v3-single:hover,
.fids-v3-sub:hover {
  background:#fff;
  color:var(--fids-red);
  box-shadow:0 8px 18px rgba(17,24,39,.06);
}

.fids-v3-menu.active,
.fids-v3-single.active,
.fids-v3-sub.active {
  background:rgba(255,0,0,.065);
  color:var(--fids-red);
  box-shadow:inset 4px 0 0 var(--fids-red);
}

.fids-v3-chevron { color:var(--fids-muted); font-weight:950; transition:transform .15s ease; }
.fids-v3-section.open .fids-v3-chevron { transform:rotate(180deg); }

.fids-v3-subnav {
  display:none;
  margin:.15rem 0 .55rem 1.05rem;
  padding-left:.78rem;
  border-left:2px solid var(--fids-border);
}
.fids-v3-section.open .fids-v3-subnav { display:block; }

.fids-v3-sub {
  min-height:34px;
  padding:.38rem .65rem;
  font-size:.875rem;
  font-weight:760;
  color:#20242c;
  position:relative;
}
.fids-v3-sub::before {
  content:"";
  position:absolute;
  left:-1.1rem;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--fids-grey);
}
.fids-v3-sub.active::before { background:var(--fids-red); }

.fids-v3-footer {
  border-top:1px solid var(--fids-border);
  background:rgba(255,255,255,.72);
  padding:.72rem;
}
.fids-v3-collapse {
  width:100%;
  border:0;
  background:transparent;
  color:var(--fids-muted);
  border-radius:11px;
  min-height:38px;
  display:flex;
  align-items:center;
  gap:.6rem;
  font-weight:900;
  cursor:pointer;
}
.fids-v3-collapse:hover { color:var(--fids-red); background:#fff; }

.fids-v3-top-menu-hidden { display:none !important; }

.fids-v3-tabs {
  position:sticky;
  top:0;
  z-index:4200;
  display:flex;
  align-items:center;
  gap:.38rem;
  min-height:56px;
  padding:.45rem .72rem;
  background:rgba(250,249,247,.96);
  border-bottom:1px solid var(--fids-border);
  box-shadow:0 5px 16px rgba(17,24,39,.05);
  overflow-x:auto;
  scrollbar-width:thin;
  scrollbar-color:var(--fids-grey) transparent;
}
.fids-v3-tabs::-webkit-scrollbar { height:6px; }
.fids-v3-tabs::-webkit-scrollbar-thumb { background:var(--fids-grey); border-radius:999px; }

.fids-v3-tab {
  height:38px;
  min-width:136px;
  max-width:250px;
  border:1px solid var(--fids-border);
  border-radius:10px 10px 0 0;
  background:#fff;
  color:var(--fids-ink);
  text-decoration:none;
  padding:0 .42rem 0 .72rem;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-weight:880;
}
.fids-v3-tab.active {
  color:var(--fids-red);
  border-bottom:3px solid var(--fids-red);
  background:linear-gradient(180deg,#fff 0%,#f7f6f3 100%);
}
.fids-v3-tab-title { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fids-v3-tab-close {
  margin-left:auto;
  border:0;
  background:transparent;
  color:var(--fids-muted);
  border-radius:50%;
  width:22px;
  height:22px;
  cursor:pointer;
  font-size:1rem;
}
.fids-v3-tab-close:hover { background:rgba(255,0,0,.08); color:var(--fids-red); }
.fids-v3-tab-button {
  height:38px;
  border:1px solid var(--fids-border);
  background:#fff;
  color:var(--fids-ink);
  border-radius:10px;
  padding:0 .75rem;
  font-weight:900;
  cursor:pointer;
}
.fids-v3-tab-button:hover { color:var(--fids-red); box-shadow:var(--fids-shadow); }

.fids-v3-breadcrumb {
  display:flex;
  align-items:center;
  gap:.42rem;
  padding:.65rem 1.05rem 0;
  color:var(--fids-muted);
  font-size:.83rem;
  font-weight:800;
}
.fids-v3-breadcrumb strong { color:var(--fids-red); }
.fids-v3-breadcrumb span::after { content:"›"; margin-left:.42rem; color:#9ca3af; }
.fids-v3-breadcrumb span:last-child::after { content:""; }

@media (max-width:980px) {
  body.fids-shell-v3 { padding-left:78px !important; }
  .fids-v3-sidebar { width:78px; }
  .fids-v3-brand-text,.fids-v3-label,.fids-v3-chevron,.fids-v3-subnav,.fids-v3-search,.fids-v3-favbox { display:none !important; }
  .fids-v3-logo { min-width:48px; width:48px; font-size:.72rem; }
}

@media print {
  body.fids-shell-v3 { padding-left:0 !important; }
  .fids-v3-sidebar,.fids-v3-tabs,.fids-v3-breadcrumb { display:none !important; }
}

/* FIDS corporate shell v3 UX fix */
.fids-v3-favbox { display:none !important; }

body.fids-shell-v3 {
  font-size: 14px;
}

body.fids-shell-v3 main,
body.fids-shell-v3 .container,
body.fids-shell-v3 .container-fluid {
  max-width: none;
}

body.fids-shell-v3 h1 {
  font-size: clamp(1.55rem, 1.65vw, 2.05rem) !important;
  line-height: 1.15 !important;
}

body.fids-shell-v3 h2 {
  font-size: clamp(1.2rem, 1.25vw, 1.55rem) !important;
}

body.fids-shell-v3 h3 {
  font-size: 1.05rem !important;
}

body.fids-shell-v3 p,
body.fids-shell-v3 label,
body.fids-shell-v3 input,
body.fids-shell-v3 select,
body.fids-shell-v3 textarea,
body.fids-shell-v3 button,
body.fids-shell-v3 table {
  font-size: .92rem;
}

body.fids-shell-v3 .card,
body.fids-shell-v3 .panel,
body.fids-shell-v3 .section-card,
body.fids-shell-v3 .dashboard-card {
  border-radius: 13px;
}

body.fids-shell-v3 table {
  width: 100%;
  table-layout: auto;
}

body.fids-shell-v3 th,
body.fids-shell-v3 td {
  padding: .48rem .58rem;
  vertical-align: middle;
}

body.fids-shell-v3 input[type="search"],
body.fids-shell-v3 input[type="text"],
body.fids-shell-v3 input[type="email"],
body.fids-shell-v3 input[type="number"],
body.fids-shell-v3 input[type="date"],
body.fids-shell-v3 select {
  min-height: 36px;
}

body.fids-shell-v3 textarea {
  min-height: 82px;
  resize: vertical;
}

body.fids-shell-v3 .form-control,
body.fids-shell-v3 .form-select,
body.fids-shell-v3 .input-group-text {
  min-height: 36px;
  padding-top: .38rem;
  padding-bottom: .38rem;
}

body.fids-shell-v3 .btn {
  padding: .42rem .72rem;
  border-radius: 9px;
}

body.fids-shell-v3 .table-responsive {
  overflow-x: auto;
  max-width: 100%;
}

body.fids-shell-v3 header,
body.fids-shell-v3 .navbar,
body.fids-shell-v3 .topbar {
  position: relative;
  z-index: 7000 !important;
}

body.fids-shell-v3 .dropdown-menu,
body.fids-shell-v3 .dropdown-menu.show,
body.fids-shell-v3 [role="menu"],
body.fids-shell-v3 .popover {
  z-index: 9000 !important;
  background: #fff !important;
  color: var(--fids-ink) !important;
  opacity: 1 !important;
  filter: none !important;
}

body.fids-shell-v3 .dropdown-menu *,
body.fids-shell-v3 [role="menu"] * {
  color: var(--fids-ink) !important;
}

body.fids-shell-v3 .dropdown-menu a:hover,
body.fids-shell-v3 .dropdown-menu button:hover {
  color: var(--fids-red) !important;
  background: rgba(255,0,0,.06) !important;
}

.fids-v3-tabs {
  z-index: 3200;
}

body.fids-mini .fids-v3-sidebar {
  cursor: pointer;
}

body.fids-mini .fids-v3-menu,
body.fids-mini .fids-v3-single {
  justify-content: center;
  padding-left: .45rem;
  padding-right: .45rem;
}

body.fids-mini .fids-v3-menu.active,
body.fids-mini .fids-v3-single.active {
  box-shadow: inset 4px 0 0 var(--fids-red);
}

body.fids-mini .fids-v3-section.open .fids-v3-subnav {
  display: none !important;
}

body.fids-shell-v3:not(.fids-mini) .fids-v3-sub .fids-v3-icon svg {
  width: 17px;
  height: 17px;
}

body.fids-shell-v3 .fids-v3-sub {
  color: #262626;
}

body.fids-shell-v3 .fids-v3-menu {
  color: #0f172a;
}

body.fids-shell-v3 .fids-v3-menu.active .fids-v3-icon,
body.fids-shell-v3 .fids-v3-single.active .fids-v3-icon,
body.fids-shell-v3 .fids-v3-sub.active .fids-v3-icon {
  color: var(--fids-red);
}

/* FIDS left workspace shell, aligned to the July 2026 reference view. */
:root {
  --fids-sidebar: 280px;
  --fids-sidebar-mini: 72px;
  --fids-topbar: 58px;
}

body[data-fids-authenticated="false"] {
  padding: 0 !important;
  background: var(--page) !important;
}

body.fids-shell-v3 {
  padding-top: var(--fids-topbar) !important;
  padding-left: var(--fids-sidebar) !important;
  background: #f7f8fa !important;
}

body.fids-shell-v3.fids-mini {
  padding-left: var(--fids-sidebar-mini) !important;
}

body.fids-shell-v3 header {
  position: fixed !important;
  inset: 0 0 auto 0;
  height: var(--fids-topbar);
  z-index: 7000 !important;
  background: #fff;
}

body.fids-shell-v3 .app-nav {
  height: var(--fids-topbar);
  padding: 0;
  border-bottom: 3px solid var(--fids-red);
  background: #fff !important;
  box-shadow: 0 1px 9px rgba(15, 23, 42, .08);
}

body.fids-shell-v3 .app-nav .container-fluid {
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 0 1.15rem 0 1.35rem;
}

body.fids-shell-v3 .navbar-brand {
  min-width: 220px;
  margin-right: 1rem;
}

body.fids-shell-v3 .navbar-brand > span:last-child {
  display: none;
}

body.fids-shell-v3 .brand-logo {
  width: 12.25rem;
  height: 2.55rem;
}

body.fids-shell-v3 .navbar-toggler {
  display: none;
}

body.fids-shell-v3 .navbar-collapse {
  display: flex !important;
  flex-basis: auto;
}

body.fids-shell-v3 .account-nav {
  margin-left: auto;
  gap: .65rem;
}

body.fids-shell-v3 .account-toggle {
  max-width: 260px;
  color: #111827;
  font-weight: 760;
}

body.fids-shell-v3 .account-toggle::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: .55rem;
  vertical-align: -6px;
  border: 2px solid #111827;
  border-radius: 50%;
  box-shadow: inset 0 -8px 0 -5px #111827;
}

body.fids-shell-v3 .notification-symbol {
  border: 0;
  box-shadow: none;
  color: #111827;
  background: transparent;
  font-size: 1.18rem;
}

body.fids-shell-v3 .notification-count {
  top: .08rem;
  right: .08rem;
}

.fids-v3-sidebar {
  top: var(--fids-topbar);
  bottom: 0;
  height: auto;
  width: var(--fids-sidebar);
  background: #fff;
  border-right: 1px solid #d9dee7;
  box-shadow: 5px 0 16px rgba(15, 23, 42, .05);
}

body.fids-mini .fids-v3-sidebar {
  width: var(--fids-sidebar-mini);
}

.fids-v3-search {
  position: relative;
  padding: 1.05rem .9rem .85rem;
}

.fids-v3-search input {
  height: 48px;
  border-radius: 6px;
  padding: 0 2.45rem 0 .85rem;
  font-weight: 650;
  background: #fff;
}

.fids-v3-search::after {
  content: "⌕";
  position: absolute;
  right: 1.85rem;
  top: 1.53rem;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 900;
  pointer-events: none;
}

.fids-v3-scroll {
  padding: .35rem .78rem 1rem;
}

.fids-v3-section {
  margin-bottom: .42rem;
}

.fids-v3-menu,
.fids-v3-single {
  min-height: 48px;
  border-radius: 6px;
  padding: .68rem .72rem;
  font-weight: 840;
}

.fids-v3-sub {
  border-radius: 5px;
}

.fids-v3-menu.active,
.fids-v3-single.active,
.fids-v3-sub.active {
  background: #fff0f0;
  color: var(--fids-red);
  box-shadow: inset 4px 0 0 var(--fids-red);
}

.fids-v3-footer {
  background: #fff;
}

.fids-v3-collapse {
  min-height: 44px;
  border-radius: 6px;
  color: #111827;
}

.fids-v3-tabs {
  position: sticky;
  top: var(--fids-topbar);
  min-height: 64px;
  padding: .7rem .35rem .35rem;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #d9dee7;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .04);
}

.fids-v3-tab {
  min-width: 170px;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 .55rem 0 1.2rem;
}

.fids-v3-tab.active {
  background: transparent;
  border-bottom: 3px solid var(--fids-red);
}

.fids-v3-tab-button {
  height: 38px;
  border-radius: 6px;
}

.fids-v3-breadcrumb {
  display: none;
}

body.fids-shell-v3 .app-container {
  width: calc(100% - 28px);
  max-width: none;
  margin: 0 14px;
}

body.fids-shell-v3 main {
  padding: .85rem 0 1rem;
}

body.fids-shell-v3 .page-header {
  padding-top: .5rem;
  margin-bottom: .85rem;
}

body.fids-shell-v3 .panel {
  margin-bottom: .6rem;
}

body.fids-shell-v3 .footer {
  display: none;
}

@media (max-width: 980px) {
  body.fids-shell-v3 {
    padding-left: var(--fids-sidebar-mini) !important;
  }

  .fids-v3-sidebar {
    width: var(--fids-sidebar-mini);
  }

  body.fids-shell-v3 .brand-logo {
    width: 9.4rem;
  }

  body.fids-shell-v3 .account-toggle {
    max-width: 170px;
  }
}


/* =========================================================
   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_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 */












