/* PM24 V228 — owner workspace consistency audit.
   Scope is deliberately limited to authenticated owner-shell pages. */
:root{
  --v228-pm24-navy:#09275e;
  --v228-pm24-blue:#0877ff;
  --v228-pm24-pink:#f51b78;
  --v228-pm24-line:#dce7f6;
  --v228-pm24-muted:#667a98;
}

/* Retire the legacy lime/yellow global action rule inside the owner workspace.
   Secondary, outline, ghost and destructive actions retain their own hierarchy. */
.owner-shell-page .owner-page .btn:not(.ghost):not(.outline):not(.danger):not(.secondary),
.owner-shell-page .owner-page a.btn:not(.ghost):not(.outline):not(.danger):not(.secondary),
.owner-shell-page .owner-page button.btn:not(.ghost):not(.outline):not(.danger):not(.secondary){
  background:linear-gradient(135deg,var(--v228-pm24-pink),var(--v228-pm24-blue))!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 9px 22px rgba(8,119,255,.18)!important;
  text-shadow:none!important;
}
.owner-shell-page .owner-page .btn:not(.ghost):not(.outline):not(.danger):not(.secondary):hover,
.owner-shell-page .owner-page a.btn:not(.ghost):not(.outline):not(.danger):not(.secondary):hover,
.owner-shell-page .owner-page button.btn:not(.ghost):not(.outline):not(.danger):not(.secondary):hover{
  filter:brightness(1.03)!important;
  transform:translateY(-1px);
  box-shadow:0 12px 27px rgba(8,119,255,.24)!important;
}
.owner-shell-page .owner-page .btn:focus-visible{
  outline:3px solid rgba(8,119,255,.24)!important;
  outline-offset:3px;
}
.owner-shell-page .owner-page .btn:disabled,
.owner-shell-page .owner-page .btn[aria-disabled="true"]{
  opacity:.58!important;
  cursor:not-allowed!important;
  transform:none!important;
  box-shadow:none!important;
}


/* Legacy public-theme rules also leaked lime tags and focus rings into private pages. */
.owner-shell-page .owner-page .tag,
.owner-shell-page .owner-page .badge{
  background:#eef5ff!important;
  color:#1457b9!important;
  border:1px solid #d5e5fb!important;
}
.owner-shell-page .owner-page .tag.verified,
.owner-shell-page .owner-page .tag.available,
.owner-shell-page .owner-page .tag.active,
.owner-shell-page .owner-page .tag.completed,
.owner-shell-page .owner-page .tag.confirmed,
.owner-shell-page .owner-page .tag.checked_in,
.owner-shell-page .owner-page .tag.resolved{
  background:#e7f8ef!important;
  color:#087443!important;
  border-color:#c8ead7!important;
}
.owner-shell-page .owner-page .tag.pending,
.owner-shell-page .owner-page .tag.planned,
.owner-shell-page .owner-page .tag.no_show{
  background:#fff3e2!important;
  color:#a95b00!important;
  border-color:#f6dbb5!important;
}
.owner-shell-page .owner-page .tag.cancelled,
.owner-shell-page .owner-page .tag.rejected,
.owner-shell-page .owner-page .tag.overdue,
.owner-shell-page .owner-page .tag.expired{
  background:#fff0f2!important;
  color:#ad2941!important;
  border-color:#f4cbd3!important;
}
.owner-shell-page .owner-page .tag.closed{
  background:#f1f4f8!important;
  color:#59677b!important;
  border-color:#dbe2eb!important;
}
.owner-shell-page .owner-page input:focus,
.owner-shell-page .owner-page select:focus,
.owner-shell-page .owner-page textarea:focus{
  border-color:#6da9ff!important;
  box-shadow:0 0 0 4px rgba(8,119,255,.13)!important;
  outline:0!important;
}

/* Dedicated compact Due Alerts view: no duplicate Residents hero or Add action. */
.app-members .pgco-due-alerts-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin:2px 0 12px;
  padding:4px 4px 0;
}
.app-members .pgco-due-alerts-head span{
  display:block;
  margin-bottom:5px;
  color:var(--v228-pm24-blue);
  font-size:11px;
  font-weight:950;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.app-members .pgco-due-alerts-head h1{
  margin:0;
  color:var(--v228-pm24-navy);
  font-size:clamp(28px,3vw,40px);
  line-height:1.08;
  letter-spacing:-.035em;
}
.app-members .pgco-due-alerts-head p{
  margin:6px 0 0;
  color:var(--v228-pm24-muted);
  font-size:13px;
}
.app-members .pgco-member-view-tabs{
  margin-top:10px;
}
.app-members .pgco-member-view-tabs a.is-active{
  background:#eaf3ff!important;
  border-color:#8db8ff!important;
  color:#075fd7!important;
  box-shadow:0 7px 18px rgba(8,119,255,.10)!important;
}
.app-members .pgco-due-alerts-empty{
  min-height:330px!important;
  display:grid!important;
  place-content:center!important;
  justify-items:center!important;
  gap:7px!important;
  padding:34px!important;
  background:linear-gradient(135deg,#fff,#f7faff)!important;
  border:1px dashed #bfd3ef!important;
  border-radius:22px!important;
  color:var(--v228-pm24-muted)!important;
}
.app-members .pgco-due-alerts-empty:before{
  content:"✓"!important;
  width:66px!important;
  height:66px!important;
  display:grid!important;
  place-items:center!important;
  margin:0 auto 4px!important;
  border-radius:20px!important;
  background:#edf5ff!important;
  color:var(--v228-pm24-blue)!important;
  font-size:34px!important;
  font-weight:800!important;
}
.app-members .pgco-due-alerts-empty h2{
  margin:8px 0 0;
  color:var(--v228-pm24-navy);
  font-size:23px;
}
.app-members .pgco-due-alerts-empty p{
  margin:0;
  color:var(--v228-pm24-muted);
  text-align:center;
}

@media(max-width:720px){
  .app-members .pgco-due-alerts-head{padding-inline:1px;margin-top:0}
  .app-members .pgco-due-alerts-head h1{font-size:28px}
  .app-members .pgco-member-view-tabs{display:flex;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}
  .app-members .pgco-member-view-tabs a{flex:0 0 auto}
  .app-members .pgco-due-alerts-empty{min-height:270px!important;padding:26px 18px!important}
}
