.role-home-shell {
  padding: 18px 24px 40px;
  max-width: 1180px;
}

/* WI-891 — Banner-mode pages (e.g. Concierge dashboard) drop the max-width
 * cap so the full-bleed dark navy banner can reach the edges of the main
 * column. The bento grid below already constrains its own width. */
.role-home-shell--banner-mode {
  max-width: none;
}

.role-home-loading {
  color: #64748b;
  font-size: 14px;
  padding: 24px 0;
}

.role-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 16px 0 24px;
  border-bottom: 1px solid #e2e8f0;
}

.role-home-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #0f6bb2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.role-home-title {
  margin: 0;
  color: #172033;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
}

.role-home-subtitle {
  margin: 8px 0 0;
  max-width: 720px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.role-home-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.role-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #172033;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.role-home-btn.primary {
  border-color: #0f6bb2;
  background: #0f6bb2;
  color: #ffffff;
}

.role-home-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.role-home-section {
  padding-top: 24px;
}

.role-home-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.role-home-section-title {
  margin: 0;
  color: #172033;
  font-size: 18px;
  font-weight: 800;
}

.role-home-muted {
  color: #64748b;
  font-size: 13px;
}

.center-grid,
.widget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.center-card,
.widget-card {
  min-height: 116px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.center-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  text-align: left;
}

.center-card.active {
  border-color: #0f6bb2;
  box-shadow: 0 0 0 3px rgba(15, 107, 178, 0.1);
}

.center-card-header,
.widget-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.center-card-icon,
.widget-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #e0f2fe;
  color: #075985;
}

.center-card-title,
.widget-card-title {
  margin: 0;
  color: #172033;
  font-size: 15px;
  font-weight: 800;
}

.center-card-meta,
.widget-card-meta {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.center-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #0f6bb2;
  font-size: 12px;
  font-weight: 800;
}

.widget-card {
  min-height: 104px;
}

.widget-status {
  display: inline-flex;
  margin-top: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
}

.quick-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #172033;
  background: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.quick-link .material-icons {
  font-size: 17px;
  color: #0f6bb2;
}

.role-home-error {
  padding: 16px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
  color: #991b1b;
}

@media (max-width: 760px) {
  .role-home-shell {
    padding: 14px 16px 32px;
  }

  .role-home-hero {
    grid-template-columns: 1fr;
  }

  .role-home-actions {
    justify-content: flex-start;
  }

  .role-home-title {
    font-size: 24px;
  }
}
