/* G1120 — WMD five-tab visual refinement.
   Presentation only: no new tabs, no changed routes, no hidden actions.
   Loaded LAST. Scope restricted to authenticated administrator/admin office. */
body.g1020-office {
  --g1120-ink:#142e47;
  --g1120-muted:#506a80;
  --g1120-line:#dae4ee;
  --g1120-paper:#fff;
  background:#edf3f8!important;
  color:var(--g1120-ink)!important;
  -webkit-tap-highlight-color:transparent;
}
body.g1020-office>header {
  min-height:65px!important;
  background:linear-gradient(116deg,#08233c 0%,#123d5d 100%)!important;
  box-shadow:0 4px 14px rgba(5,34,56,.15)!important;
  border-bottom:1px solid rgba(230,180,66,.45)!important;
}
body.g1020-office>header h1{font-size:15px!important;line-height:18px!important;letter-spacing:.1px!important}
body.g1020-office>header small{font-size:10.5px!important;line-height:14px!important;color:#d8e5ed!important}
body.g1020-office .g1020-header-role{font-size:10.5px!important;color:#edf4f8!important}
body.g1020-office main{padding:10px 8px calc(91px + env(safe-area-inset-bottom))!important}
body.g1020-office .g1020-screen,
body.g1020-office .g1020-screen.g1030-home {
  padding:13px 11px 17px!important;
  gap:10px!important;
  background:var(--g1120-paper)!important;
  border:1px solid #e6edf4!important;
  border-radius:16px!important;
  box-shadow:0 3px 12px rgba(11,39,66,.045)!important;
}
body.g1020-office .g1020-banner,
body.g1020-office .g1030-home .g1020-banner {
  padding:0 1px 6px!important;
  border-bottom:1px solid #edf2f7;
}
body.g1020-office .g1020-banner h2,
body.g1020-office .g1030-home .g1020-banner h2 {
  font-size:19px!important;
  line-height:1.22!important;
  letter-spacing:-.25px!important;
  margin:0 0 4px!important;
  color:#0d2d4a!important;
}
body.g1020-office .g1020-company{font-size:11px!important;font-weight:650!important;line-height:1.35!important;color:#4c657c!important}
body.g1020-office .g1020-section-heading{padding-top:4px!important}
body.g1020-office .g1020-section-heading h3{font-size:14px!important;letter-spacing:-.1px!important}
body.g1020-office .g1020-section-heading .g1020-text-link{font-size:11px!important;font-weight:750!important;min-height:35px!important}
body.g1020-office .g1020-kpis,
body.g1020-office .g1030-home .g1020-kpis{gap:8px!important;margin:2px 0 4px!important}
body.g1020-office .g1020-kpi,
body.g1020-office .g1030-home .g1020-kpi {
  min-height:62px!important;
  padding:9px 8px!important;
  gap:9px!important;
  border-radius:12px!important;
  border:1px solid #e4ebf1!important;
  box-shadow:0 2px 6px rgba(9,44,72,.035)!important;
}
body.g1020-office .g1020-kpi-icon{width:31px!important;height:31px!important;min-width:31px!important;border-radius:9px!important}
body.g1020-office .g1020-kpi-copy small,
body.g1020-office .g1030-home .g1020-kpi-copy small{font-size:10px!important;line-height:1.3!important;color:#49637a!important}
body.g1020-office .g1020-kpi-copy strong,
body.g1020-office .g1030-home .g1020-kpi-copy strong{font-size:20px!important;line-height:1.08!important}
body.g1020-office .g1020-primary {
  min-height:44px!important;
  border-radius:10px!important;
  font-size:12px!important;
  box-shadow:0 2px 7px rgba(178,116,19,.12)!important;
}
body.g1020-office .g1020-subnav{min-height:44px!important;border-radius:11px!important;border:1px solid #dde7f0!important}
body.g1020-office .g1020-subnav button.g1020-sub {
  min-height:44px!important;
  font-size:10.5px!important;
  padding:8px 4px!important;
  line-height:1.3!important;
  color:#284966!important;
}
body.g1020-office .g1020-subnav button.g1020-sub.active{
  background:#fffbf2!important;color:#956418!important;
  box-shadow:inset 0 -3px #c38e27!important;
}
body.g1020-office .g1020-chips{gap:6px!important}
body.g1020-office .g1020-chip{
  min-height:36px!important;
  padding:7px 9px!important;
  border-radius:9px!important;
  font-size:10.5px!important;
}
body.g1020-office .g1020-chip.active{background:#123b5b!important}
body.g1020-office .g1020-searchrow{gap:7px!important;margin:5px 0 7px!important}
body.g1020-office .g1020-search{
  min-height:40px!important;
  padding:0 10px!important;
  border:1px solid #dce5ee!important;
  border-radius:10px!important;
  background:#f6f9fc!important;
}
body.g1020-office .g1020-search input{
  font-size:11px!important;
  min-height:38px!important;height:auto!important;
  color:#25465f!important;
}
body.g1020-office .g1020-filter-btn{
  min-height:40px!important;height:40px!important;
  border-radius:10px!important;
}
body.g1020-office .g1020-table-wrap{
  border:1px solid #e8eef4!important;
  border-radius:11px!important;
  overflow-x:auto!important;
  scrollbar-width:thin;
}
body.g1020-office .g1020-table th {
  font-size:9px!important;
  padding:8px 4px!important;
  line-height:1.25!important;
  color:#49627a!important;
  background:#f3f7fa!important;
  font-weight:800!important;
}
body.g1020-office .g1020-table td{
  font-size:9.5px!important;
  padding:9px 4px!important;
  line-height:1.35!important;
  color:#1d3a53!important;
}
body.g1020-office .g1020-table td b{font-size:10px!important;line-height:1.35!important}
body.g1020-office .g1020-table td small{font-size:9px!important;line-height:1.35!important}
body.g1020-office .g1020-badge{font-size:9px!important;border-radius:7px!important}
body.g1020-office .g1020-pagination{
  padding:7px 0 0!important;margin:2px 0 0!important;
  border-top:1px solid #edf1f6!important;
}
body.g1020-office .g1020-pagination small{font-size:10px!important}
body.g1020-office .g1020-empty{
  min-height:80px!important;
  padding:24px 10px!important;
  color:#597086!important;
  font-size:11px!important;
  line-height:1.5!important;
}
body.g1020-office .g1020-loading{
  padding:28px 14px!important;
  border:1px solid #e4ecf3!important;
  border-radius:12px!important;
  background:#f7fafc!important;
  color:#315470!important;
  font-size:12px!important;
  text-align:center!important;
}
body.g1020-office .g1020-report-actions button,
body.g1020-office .g1071-report-actions button,
body.g1020-office .g1050-action,
body.g1020-office .g1078-logout,
body.g1020-office .g1080-revoke {
  min-height:39px!important;
  border-radius:9px!important;
  font-weight:750!important;
}
body.g1020-office .g1020-dates input,
body.g1020-office .g1020-dates select {
  min-height:41px!important;
  font-size:11px!important;
  border-radius:9px!important;
}
body.g1020-office .g1050-card {
  border-radius:11px!important;
  border-color:#e1e9f0!important;
}
body.g1020-office .g1050-line>strong{
  min-height:27px!important;
  font-size:11px!important;
  background:#f5f8fb!important;
  color:#1c3a56!important;
}
body.g1020-office #portalTabs.g1020-bottom-nav:not(.hide){
  background:#fff!important;
  border-top:1px solid #e0e8ef!important;
  box-shadow:0 -4px 15px rgba(11,37,61,.065)!important;
  padding:5px 4px calc(7px + env(safe-area-inset-bottom))!important;
  min-height:68px!important;
}
body.g1020-office #portalTabs.g1020-bottom-nav>button.g1020-tab {
  min-height:55px!important;
  height:55px!important;
  border-radius:11px!important;
  padding:5px 1px!important;
  gap:4px!important;
  color:#526d84!important;
  font-size:10px!important;
  font-weight:700!important;
  transition:background-color .14s ease,color .14s ease!important;
}
body.g1020-office #portalTabs.g1020-bottom-nav>button.g1020-tab.active {
  color:#8d5c10!important;
  background:#fff4df!important;
  box-shadow:inset 0 3px #cb932b!important;
}
body.g1020-office #portalTabs.g1020-bottom-nav .g1020-tab-icon svg{
  width:21px!important;height:21px!important;
}
body.g1020-office button:focus-visible,
body.g1020-office input:focus-visible,
body.g1020-office select:focus-visible,
body.g1020-office summary:focus-visible {
  outline:2px solid #c58d24!important;
  outline-offset:2px!important;
}
@media (max-width:350px){
 body.g1020-office .g1020-screen,
 body.g1020-office .g1020-screen.g1030-home{padding:11px 8px 14px!important}
 body.g1020-office .g1020-table th{font-size:8px!important;padding:6px 2px!important}
 body.g1020-office .g1020-table td{font-size:9px!important;padding:7px 2px!important}
 body.g1020-office #portalTabs.g1020-bottom-nav>button.g1020-tab{font-size:9px!important}
}
@media (prefers-reduced-motion:reduce){
 body.g1020-office #portalTabs.g1020-bottom-nav>button.g1020-tab{transition:none!important}
}
