/* PPDO MIS Dashboard Executive Upgrade - 2026-07-06
   Lightweight layout only: no heavy timers, no large slideshow, no database changes. */

html body .office-fixed-banner{
  min-height:82px!important;
  padding:10px 20px!important;
  gap:14px!important;
  align-items:center!important;
}
html body .office-banner-logo{
  width:68px!important;
  height:68px!important;
  flex:0 0 68px!important;
}
html body .office-banner-left h1{
  font-size:30px!important;
  line-height:1.04!important;
  letter-spacing:.03em!important;
  margin:0!important;
}
html body .office-banner-left p{
  font-size:13px!important;
  margin-top:3px!important;
}
html body .office-banner-meta{
  min-width:320px!important;
}
html body .office-banner-meta .header-search input,
html body .header-search input{
  min-height:38px!important;
  padding:10px 12px!important;
}
html body .office-banner-meta .header-search button,
html body .header-search button{
  min-height:38px!important;
  width:46px!important;
}
html body .app{
  padding-top:112px!important;
}

/* Better sidebar spacing and active visibility */
html body .sidebar,
html body #ppdoMisSidebar{
  padding:12px 14px!important;
}
html body .nav-group-title,
html body .sidebar .nav-link,
html body .sidebar a{
  line-height:1.2!important;
}
html body .nav-group-title{
  min-height:42px!important;
  padding:11px 13px!important;
  margin:8px 0!important;
  border-radius:10px!important;
}
html body .nav-dropdown{
  gap:2px!important;
  padding:4px 0 9px!important;
}
html body .nav-dropdown .nav-link,
html body .sidebar .nav-link{
  min-height:36px!important;
  padding:9px 12px!important;
  border-radius:9px!important;
  font-size:13px!important;
}
html body .sidebar .nav-link.active,
html body .nav-dropdown .nav-link.active{
  background:#2b6380!important;
  color:#fff!important;
  box-shadow:inset 4px 0 0 #f1c232!important;
}

/* Compact dashboard banner/topbar */
html body .ppdo-dashboard-compact-topbar{
  min-height:auto!important;
  padding:14px 18px!important;
  margin-bottom:12px!important;
  border-radius:8px!important;
  background:#fff!important;
  border:1px solid #dbe6ef!important;
  box-shadow:0 3px 12px rgba(15,23,42,.08)!important;
}
html body .ppdo-dashboard-compact-topbar.ppdo-dashboard-slim-banner{
  min-height:108px!important;
  background-size:cover!important;
  background-position:center!important;
  color:#fff!important;
  border:0!important;
  position:relative!important;
  overflow:hidden!important;
}
html body .ppdo-dashboard-compact-topbar.ppdo-dashboard-slim-banner:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,37,62,.72), rgba(0,37,62,.18));
  pointer-events:none;
}
html body .ppdo-dashboard-compact-topbar .topbar-row{
  align-items:center!important;
  position:relative!important;
  z-index:1!important;
}
html body .ppdo-dashboard-compact-topbar h2{
  font-size:26px!important;
  margin:0 0 3px!important;
  line-height:1.05!important;
}
html body .ppdo-dashboard-compact-topbar p{
  margin:0!important;
  font-size:13px!important;
}
html body .ppdo-dashboard-slim-banner h2,
html body .ppdo-dashboard-slim-banner p{
  color:#fff!important;
  text-shadow:0 2px 7px rgba(0,0,0,.4)!important;
}
html body .ppdo-dashboard-compact-topbar .dashboard-topbar-logo{
  width:54px!important;
  height:54px!important;
  border-radius:50%!important;
  background:#fff!important;
}

/* Reminder and quick actions */
.ppdo-daily-reminder{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin:0 0 12px;
  background:#fff;
  border:1px solid #dbe6ef;
  border-left:6px solid #0879bb;
  border-radius:8px;
  box-shadow:0 3px 12px rgba(15,23,42,.07);
  overflow:hidden;
}
.ppdo-daily-reminder strong{
  background:#0879bb;
  color:#fff;
  padding:12px 18px;
  text-transform:uppercase;
  letter-spacing:.05em;
  font-size:13px;
}
.ppdo-daily-reminder span{
  padding:10px 14px 10px 0;
  color:#1f2937;
  font-weight:700;
}
.ppdo-quick-actions{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  align-items:center;
  margin:0 0 12px;
}
.ppdo-quick-actions .btn{
  border-radius:8px!important;
  min-height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
}

/* Dashboard panels */
.ppdo-dashboard-welcome{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px!important;
  margin-bottom:14px!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#ffffff,#f2f9ff)!important;
}
.ppdo-dashboard-welcome h3{
  font-size:23px;
  color:#0b2a52;
  margin:4px 0 5px;
}
.ppdo-dashboard-welcome p{
  margin:0;
  color:#52667a;
  line-height:1.5;
}
.ppdo-dash-eyebrow{
  display:inline-flex;
  align-items:center;
  background:#e0f2fe;
  color:#075985;
  border:1px solid #bae6fd;
  border-radius:999px;
  padding:5px 10px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.ppdo-dash-month{
  flex:0 0 auto;
  text-align:right;
  background:#fff;
  border:1px solid #dbe6ef;
  border-radius:10px;
  padding:12px 14px;
  min-width:160px;
}
.ppdo-dash-month small{
  display:block;
  color:#64748b;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  margin-bottom:3px;
}
.ppdo-dash-month strong{
  color:#0b2a52;
  font-size:18px;
}
.ppdo-dashboard-stats{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
  gap:12px!important;
  margin-bottom:14px!important;
}
.ppdo-dash-kpi{
  display:block!important;
  text-decoration:none!important;
  color:#0f172a!important;
  border-radius:10px!important;
  padding:16px!important;
  min-height:126px!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  border:1px solid #dbe6ef!important;
  box-shadow:0 6px 18px rgba(15,23,42,.07)!important;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease!important;
}
.ppdo-dash-kpi:hover{
  transform:translateY(-2px)!important;
  border-color:#8cccf0!important;
  box-shadow:0 12px 24px rgba(15,23,42,.12)!important;
}
.ppdo-dash-kpi .dashboard-kpi-icon{
  width:40px!important;
  height:40px!important;
  border-radius:12px!important;
  margin-bottom:10px!important;
}
.ppdo-dash-kpi .stat-title{
  color:#334155!important;
  letter-spacing:.08em!important;
}
.ppdo-dash-kpi .stat-value{
  font-size:31px!important;
  color:#0b2a52!important;
}
.ppdo-kpi-note{
  margin-top:4px;
  font-size:12px;
  color:#64748b;
  font-weight:700;
}
.ppdo-dashboard-grid{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);
  gap:14px;
  align-items:start;
}
.ppdo-dashboard-left,
.ppdo-dashboard-right{
  display:grid;
  gap:14px;
}
.ppdo-panel{
  border-radius:12px!important;
  padding:16px!important;
  background:#fff!important;
  border:1px solid #dbe6ef!important;
  box-shadow:0 5px 18px rgba(15,23,42,.07)!important;
}
.ppdo-panel .section-title{
  margin-bottom:10px!important;
}
.ppdo-panel .section-title h3{
  color:#0b2a52!important;
  font-size:19px!important;
  margin:0 0 4px!important;
}
.ppdo-panel .section-title p{
  color:#64748b!important;
  font-size:13px!important;
  margin:0!important;
}
.ppdo-pending-list{
  display:grid;
  gap:8px;
}
.ppdo-pending-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid #dbe6ef;
  background:#f8fbff;
  text-decoration:none;
  color:#0f172a;
}
.ppdo-pending-item:hover{
  background:#eaf6ff;
  border-color:#8cccf0;
}
.ppdo-pending-item b{
  display:block;
  color:#0b2a52;
  font-size:14px;
}
.ppdo-pending-item small{
  display:block;
  color:#64748b;
  margin-top:3px;
}
.ppdo-pending-item strong{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:34px;
  padding:0 9px;
  border-radius:999px;
  color:#fff;
  background:#0879bb;
  font-size:18px;
}
.ppdo-list-item{
  margin-top:8px!important;
  background:#f8fbff!important;
  border:1px solid #dbe6ef!important;
  border-radius:10px!important;
  color:#0f172a!important;
}
.ppdo-list-item strong{
  color:#0b2a52!important;
}
.ppdo-list-item small{
  color:#52667a!important;
}
.ppdo-note-highlight{
  background:#fff7ed;
  color:#7c2d12;
  border:1px solid #fed7aa;
  border-radius:10px;
  padding:12px 14px;
  line-height:1.6;
  font-weight:800;
  margin-bottom:10px;
}
.ppdo-chart-title{
  margin:14px 0 8px;
  color:#0b2a52;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.ppdo-bar-row{
  display:block;
  padding:10px 0;
  text-decoration:none;
  color:#0f172a;
}
.ppdo-bar-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom:7px;
  font-weight:800;
  font-size:13px;
}
.ppdo-bar-head span{
  color:#334155;
}
.ppdo-bar-head strong{
  color:#0b2a52;
}
.ppdo-bar{
  height:10px;
  background:#e8eef5;
  border-radius:999px;
  overflow:hidden;
}
.ppdo-bar i{
  display:block;
  height:100%;
  min-width:4px;
  border-radius:999px;
  background:linear-gradient(90deg,#0879bb,#0b2a52);
}
.ppdo-calendar-grid{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:8px;
  text-align:center;
}
.ppdo-calendar-day-name{
  font-weight:900;
  color:#0b2a52;
  padding:6px 0;
  font-size:12px;
  text-transform:uppercase;
}
.ppdo-calendar-day{
  display:block;
  width:100%;
  padding:10px 6px;
  border-radius:10px;
  border:1px solid #dbe6ef;
  background:#fff;
  color:#0b2a52;
  min-height:58px;
  cursor:pointer;
}
.ppdo-calendar-day span{
  display:block;
  font-weight:900;
}
.ppdo-calendar-day small{
  display:block;
  font-size:10px;
  margin-top:3px;
}
.ppdo-calendar-day.has-activity{
  background:#e0f2fe;
  border-color:#7dd3fc;
}
.ppdo-tracker-stats .ppdo-mini-stat{
  text-decoration:none!important;
  color:#0f172a!important;
  border-radius:10px!important;
  min-height:92px!important;
}

@media(max-width:1200px){
  html body .app{padding-top:0!important;}
  html body .office-fixed-banner{position:sticky!important;min-height:auto!important;}
  html body .office-banner-left h1{font-size:24px!important;}
  .ppdo-dashboard-grid{grid-template-columns:1fr;}
}
@media(max-width:760px){
  html body .office-banner-logo{width:56px!important;height:56px!important;flex-basis:56px!important;}
  html body .office-banner-left h1{font-size:20px!important;}
  html body .office-banner-meta{min-width:0!important;width:100%!important;}
  .ppdo-dashboard-welcome{display:block;}
  .ppdo-dash-month{text-align:left;margin-top:12px;}
  .ppdo-dashboard-stats{grid-template-columns:1fr!important;}
  .ppdo-calendar-grid{gap:5px;}
  .ppdo-calendar-day{min-height:48px;padding:8px 4px;}
  .ppdo-daily-reminder strong{width:100%;}
  .ppdo-daily-reminder span{padding:10px 14px;}
}
