/* Sora v5.4 — restore original dashboard width, align filter height, highlight impact,
   and render approved departments as intentionally locked (distinct from Submitted). */
@media (min-width:901px){
  html[data-theme] body .shell .content.sora-dashboard-page{
    max-width:1400px!important;
    width:100%!important;
    margin:0 auto!important;
    padding:34px 36px 80px!important;
  }
  html[data-theme] body .sora-dashboard-page .sora-dashboard-workspace{
    display:grid; grid-template-columns:minmax(216px,260px) minmax(0,1fr)!important;
    gap:20px;align-items:stretch!important;
  }
  html[data-theme] body .sora-dashboard-page .sora-location-cards{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  html[data-theme] body .sora-dashboard-page .sora-filter-drawer[open]{
    display:flex; flex-direction:column;align-self:stretch;height:100%;min-height:0;
  }
  html[data-theme] body .sora-dashboard-page .sora-filter-drawer[open] .sora-filter-body{
    display:flex; flex:1; flex-direction:column;
  }
  html[data-theme] body .sora-dashboard-page .sora-filter-reset{margin-top:auto}
}
@media (max-width:900px){
  html[data-theme] body .sora-dashboard-page .sora-filter-drawer{height:auto;min-height:0}
}
/* Employee Impact is intentionally a more prominent theme-aware card. */
html[data-theme="dark"] body .sora-employee-impact{
  background:#292b40!important;border:1px solid #655477!important;
  box-shadow:0 8px 28px rgba(0,0,0,.22);
  border-left:4px solid #e981ad!important;
}
html[data-theme="dark"] body .sora-employee-impact .sora-impact-stat{
  background:#34364c!important;border-color:#52546d!important;
}
html[data-theme="light"] body .sora-employee-impact{
  background:#e6e0ee!important;border:1px solid #c0b3cd!important;
  border-left:4px solid #aa477d!important;
  box-shadow:0 6px 22px rgba(62,48,74,.09);
}
html[data-theme="light"] body .sora-employee-impact .sora-impact-stat{
  background:#faf7fc!important;border-color:#d2c5db!important;
}
/* Submitting a location is GREEN. Manager approval is LAVENDER & LOCKED. */
html[data-theme] body .sora-dashboard-page a.location-card.sora-location-approved{
  opacity:.77;filter:saturate(.7);
  background:color-mix(in srgb,var(--panel) 78%,var(--bg) 22%)!important;
  border:1px solid #8074ad!important;
}
html[data-theme] body .sora-dashboard-page a.location-card.sora-location-approved:hover,
html[data-theme] body .sora-dashboard-page a.location-card.sora-location-approved:focus-visible{
  opacity:.95;filter:none;border-color:#a99de0!important;
}
html[data-theme] body .sora-dashboard-page a.location-card.sora-location-approved .status,
html[data-theme] body .sora-dashboard-page a.location-card.sora-location-approved .status.sora-status-approved,
html[data-theme] body .sora-department-card .status.sora-status-approved{
  background:#4e456f!important;color:#f5edff!important;border:1px solid #8676bd!important;
}
html[data-theme="light"] body .sora-dashboard-page a.location-card.sora-location-approved .status,
html[data-theme="light"] body .sora-department-card .status.sora-status-approved{
  background:#e5dcf6!important;color:#514080!important;border-color:#a69ac3!important;
}
html[data-theme] body .sora-dashboard-page a.location-card.sora-location-approved .progress i{
  background:#8e7bc7!important;
}
html[data-theme] body .sora-approved-readonly{
  border:1px solid #8e7bc7!important;
  background:color-mix(in srgb,var(--panel) 78%,#8e7bc7 22%)!important;
}
html[data-theme] body .sora-approved-readonly h2{color:var(--text)}
html[data-theme] body .sora-approved-values{max-width:100%;overflow-x:auto}
@media (prefers-reduced-motion:reduce){
  html[data-theme] body .sora-dashboard-page a.location-card.sora-location-approved{transition:none}
}
