/* EBS00001 | Shared visual system. Scope to authenticated EBS interface. */
body.ebs3 {
  --ebs3-navy:#102f54;
  --ebs3-navy-deep:#0b2341;
  --ebs3-red:#c61933;
  --ebs3-line:#e5eaf0;
  --ebs3-muted:#6b7d91;
  --blue:#123d69;
  --red:#c61933;
  --ink:#17324f;
  --bg:#f5f7fa;
  --line:#e2e8f0;
  --shadow:0 6px 22px rgba(18,43,78,.055);
  color:#17324f;
  background:#f5f7fa;
}
body.ebs3 :is(button,input,select,textarea):focus-visible {outline:3px solid #7f9eca;outline-offset:2px}
body.ebs3 .top241,body.ebs3 .top242 {background:var(--ebs3-navy-deep);color:white;border-bottom:none;box-shadow:0 3px 16px #122d4622}
body.ebs3 .brand241 b {color:#fff;letter-spacing:.035em}
body.ebs3 .brand241 span {color:#b8cbde}
body.ebs3 .top241 .user-chip240 :is(b,small) {color:#fff}
body.ebs3 .top241 .icon-btn240 {border-color:#ffffff28;background:#ffffff12;color:white}
body.ebs3 .top241 .icon-btn240:hover,body.ebs3 .top241 .ebs3-top-search:hover {background:#ffffff24}
body.ebs3 .ebs3-top-search {min-width:42px;min-height:42px;border:1px solid #ffffff26;border-radius:12px;background:#ffffff10;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
body.ebs3 .nav240.ebs3-sidebar {background:#fff;border-right:1px solid var(--ebs3-line);padding:16px 11px;gap:3px}
body.ebs3 .ebs3-sidebar .ebs3-nav-group {font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.11em;color:#8997a7;padding:15px 11px 8px}
body.ebs3 .ebs3-sidebar button[data-view] {border-radius:11px;min-height:44px;transition:background .15s}
body.ebs3 .ebs3-sidebar button.active {background:#eef3fa;color:#103b65}
body.ebs3 .ebs3-sidebar button:hover {background:#f2f6fa}
body.ebs3 .main241 {max-width:1400px;width:100%;margin:0 auto}
body.ebs3 :is(.panel,.card,.mt251-tile,.kpis240>button) {border-radius:16px;box-shadow:0 3px 18px rgba(16,45,81,.045)}
body.ebs3 :is(.btn,button,input,select,textarea) {font-family:inherit}
body.ebs3 .btn {border-radius:11px}
body.ebs3 .btn.primary {background:var(--ebs3-navy);border-color:var(--ebs3-navy)}
body.ebs3 .page-head h1 {letter-spacing:-.035em}
body.ebs3 .table-wrap {max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
body.ebs3 .table :is(th,td) {line-height:1.45}
body.ebs3 .ebs3-welcome {display:flex;gap:14px;justify-content:space-between;align-items:center;margin-bottom:22px}
body.ebs3 .ebs3-welcome h1 {font-size:clamp(25px,3vw,34px);line-height:1.12;margin:8px 0;color:var(--ebs3-navy);letter-spacing:-.04em}
body.ebs3 .ebs3-welcome p {margin:0;color:var(--ebs3-muted);font-size:14px}
body.ebs3 .ebs3-eyebrow {font-size:11px;font-weight:750;letter-spacing:.11em;color:#68809a}
body.ebs3 .ebs3-find-trigger {display:flex;align-items:center;gap:9px;border:1px solid var(--ebs3-line);border-radius:13px;background:#fff;padding:12px 16px;color:#203d5e;font-weight:700;white-space:nowrap}
body.ebs3 .ebs3-quick {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:19px}
body.ebs3 .ebs3-quick button {min-height:75px;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;padding:15px;border:1px solid var(--ebs3-line);background:#fff;color:#234361;border-radius:15px;font-weight:750}
body.ebs3 .ebs3-quick .ebs3-quick-primary {background:var(--ebs3-red);border-color:var(--ebs3-red);color:#fff}
body.ebs3 .ebs3-quick button:hover {filter:brightness(.97)}
body.ebs3 .ebs3-quick button svg {flex:none;opacity:.7}
body.ebs3 .ebs3-stats {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:21px}
body.ebs3 .ebs3-stat {padding:20px;background:#fff;border:1px solid var(--ebs3-line);border-radius:15px;min-width:0}
body.ebs3 .ebs3-stat small {display:block;color:var(--ebs3-muted);font-size:12px;min-height:32px}
body.ebs3 .ebs3-stat strong {display:block;font-size:29px;font-weight:800;letter-spacing:-.04em;color:var(--ebs3-navy)}
body.ebs3 .ebs3-home-section {background:#fff;border:1px solid var(--ebs3-line);border-radius:16px;padding:16px 20px;margin-bottom:12px}
body.ebs3 .ebs3-home-title {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
body.ebs3 .ebs3-home-title h2 {font-size:17px;color:var(--ebs3-navy);margin:0}
body.ebs3 .ebs3-home-title button {display:flex;align-items:center;gap:4px;background:transparent;border:0;color:#34628d;font-size:12px;font-weight:750}
body.ebs3 .ebs3-home-title button svg {width:14px;height:14px}
body.ebs3 .ebs3-upcoming {display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #eef2f7}
body.ebs3 .ebs3-upcoming > span:last-child {min-width:0}
body.ebs3 .ebs3-upcoming b {display:block;font-size:14px}
body.ebs3 .ebs3-upcoming small {display:block;color:var(--ebs3-muted);font-size:12px;margin-top:3px}
body.ebs3 .ebs3-datebox {min-width:45px;padding:7px;text-align:center;color:var(--ebs3-navy);font-size:19px;font-weight:800;border:1px solid #e0e9f5;border-radius:9px}
body.ebs3 .ebs3-datebox small {margin:0}
body.ebs3 .ebs3-empty {font-size:13px;color:var(--ebs3-muted);padding:10px 0}
body.ebs3 .ebs3-oldhome {background:#fff;border:1px solid var(--ebs3-line);border-radius:14px;padding:13px 15px;margin-top:12px}
body.ebs3 .ebs3-oldhome summary {font-size:13px;font-weight:750;color:#47698b;cursor:pointer}
body.ebs3 .ebs3-oldhome-inner {padding-top:12px}
body.ebs3 .ebs3-oldhome-inner .mobile-home-head241 {display:none}
body.ebs3 .ebs3-oldhome-inner .home-menu241 {margin-top:0}
body.ebs3 .ebs3-report-links,body.ebs3 .ebs3-perm-help {border:1px solid var(--ebs3-line);border-radius:14px;padding:17px;background:#fff;margin:12px 0 20px}
body.ebs3 .ebs3-report-links h2 {font-size:16px;margin:0 0 12px}
body.ebs3 .ebs3-report-links>div {display:flex;gap:9px;flex-wrap:wrap}
body.ebs3 .ebs3-report-links button {padding:12px 15px;border:1px solid #dae5f0;background:#f7faff;border-radius:11px;color:#234665;font-weight:700;display:flex;align-items:center;gap:8px}
body.ebs3 .ebs3-perm-help strong {color:var(--ebs3-navy)}
body.ebs3 .ebs3-perm-help p {margin:7px 0 0;font-size:13px;line-height:1.55;color:#536c83}
.ebs3-overlay {position:fixed;inset:0;z-index:5500;background:#071e3880;display:flex;justify-content:center;align-items:flex-start;padding:5vh 16px;overflow:auto}
.ebs3-dialog {width:min(700px,100%);background:#fff;border-radius:19px;box-shadow:0 28px 100px #0b27494a;overflow:hidden}
.ebs3-dialog-head {display:flex;justify-content:space-between;gap:8px;align-items:center;border-bottom:1px solid #e6eaf0;padding:19px 22px;color:#122f50}
.ebs3-dialog-head strong {font-size:18px}
.ebs3-icon-close {width:40px;height:40px;border-radius:10px;background:#f0f4f7;border:0;color:#4b6075;display:flex;align-items:center;justify-content:center}
.ebs3-dialog-body {max-height:75vh;overflow:auto;padding:19px 22px}
.ebs3-drawer-group {margin-bottom:22px}
.ebs3-drawer-group h3 {font-size:11px;letter-spacing:.09em;color:#75849a;text-transform:uppercase;margin:0 0 9px}
.ebs3-linkgrid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.ebs3-action {display:flex;align-items:center;gap:12px;text-align:left;padding:12px 13px;min-height:57px;border-radius:12px;border:1px solid #e3e9f2;background:#fbfcfe;color:#18395b;font-weight:700}
.ebs3-action svg {width:16px;height:16px;margin-left:auto;color:#71859b}
.ebs3-action-symbol {font-size:22px;width:24px;text-align:center;color:#b72239;font-weight:700}
.ebs3-searchlabel {display:block;font-size:12px;font-weight:750;color:#647990;margin-bottom:8px}
#ebs3Find {width:100%;padding:15px;border-radius:12px;border:1px solid #cfdde9;background:#f9fbfd;outline-offset:3px;color:#153656}
.ebs3-find-results {padding:10px 0}
.ebs3-search-result {border:0;border-bottom:1px solid #edf0f4;padding:12px 5px;width:100%;background:#fff;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:10px;color:#193b5a}
.ebs3-search-result b,.ebs3-search-result small {display:block}
.ebs3-search-result b {font-size:14px}
.ebs3-search-result small {font-size:12px;color:#6a7d90;margin-top:4px;line-height:1.3}
.ebs3-search-result svg {flex:none;color:#8ba0b4}
.ebs3-searchfoot {display:block;margin-top:12px;color:#7b8b9b;font-size:11px}
body.ebs3-modal-open {overflow:hidden}
@media (max-width:1000px){body.ebs3 .ebs3-quick {grid-template-columns:repeat(2,minmax(0,1fr))}body.ebs3 .ebs3-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
 body.ebs3 .top241 {padding:10px 13px;min-height:58px}
 body.ebs3 .brand241 img {width:30px;height:30px}
 body.ebs3 .brand241 b {font-size:13px}
 body.ebs3 .brand241 span {font-size:9px}
 body.ebs3 .top241 .user-chip240 {display:none}
 body.ebs3 .main241 {padding:14px 12px calc(91px + env(safe-area-inset-bottom))!important}
 body.ebs3 .ebs3-welcome {align-items:flex-start}
 body.ebs3 .ebs3-welcome h1 {font-size:25px}
 body.ebs3 .ebs3-find-trigger {width:44px;height:44px;padding:10px;justify-content:center}
 body.ebs3 .ebs3-find-trigger span {display:none}
 body.ebs3 .ebs3-quick {gap:8px}
 body.ebs3 .ebs3-quick button {min-height:60px;padding:12px;font-size:12px}
 body.ebs3 .ebs3-quick .ebs3-quick-primary {grid-column:1 / -1;font-size:16px;min-height:63px}
 body.ebs3 .ebs3-stats {gap:8px}
 body.ebs3 .ebs3-stat {padding:13px}
 body.ebs3 .ebs3-stat small {min-height:33px;font-size:11px}
 body.ebs3 .ebs3-stat strong {font-size:25px}
 body.ebs3 .ebs3-home-section {padding:13px}
 body.ebs3 .mobile-bottom241.ebs3-bottom {position:fixed!important;z-index:200!important;bottom:0!important;left:0!important;right:0!important;display:flex!important;justify-content:space-around;align-items:stretch;background:#fff;min-height:62px;height:auto;padding:7px 5px calc(7px + env(safe-area-inset-bottom));border-top:1px solid #e2e7ee;box-shadow:0 -6px 22px #1130500d}
 body.ebs3 .mobile-bottom241.ebs3-bottom button {flex:1 1 0;min-width:0;width:auto;height:54px;border:none;border-radius:11px;background:transparent;color:#647589;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:10px;font-weight:700;padding:5px}
 body.ebs3 .mobile-bottom241.ebs3-bottom button.active {color:#bc1932;background:#fff3f5}
 body.ebs3 .mobile-bottom241.ebs3-bottom button svg {width:19px;height:19px}
 .ebs3-overlay {padding:0;align-items:stretch}
 .ebs3-dialog {width:100%;max-height:100dvh;height:100dvh;border-radius:0;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom)}
 .ebs3-dialog-body {max-height:none;flex:1 1 auto;padding:14px 15px;overflow:auto}
 .ebs3-dialog-head {padding:14px 16px}
 .ebs3-linkgrid {grid-template-columns:1fr}
 body.ebs3 .page-head .actions {gap:6px;flex-wrap:wrap}
 body.ebs3 .page-head .btn {min-height:42px}
}
@media (prefers-reduced-motion:reduce){body.ebs3 *,body.ebs3 *::before,body.ebs3 *::after {animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media print{body.ebs3 .ebs3-top-search,body.ebs3 .ebs3-oldhome,body.ebs3 .ebs3-bottom,body.ebs3 .ebs3-find-trigger,body.ebs3 .ebs3-report-links{display:none!important}body.ebs3 .main241{max-width:none!important}body.ebs3 .panel{box-shadow:none!important}}
