.afh-admin-focus {
  margin: 18px 0 22px;
  padding: 24px;
  border: 1px solid #dce6f5;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 12px 32px rgba(28, 73, 135, .08);
  color: #10274f;
}

.afh-admin-focus svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.afh-admin-focus__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.afh-admin-focus__header--compact { align-items: center; }
.afh-admin-focus__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #1269e8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.afh-admin-focus h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); color: #0f2d5c; }
.afh-admin-focus p { margin: 8px 0 0; color: #68778e; line-height: 1.5; }

.afh-intro-grid,
.afh-focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.afh-intro-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  min-height: 150px;
  padding: 18px;
  border: 1px solid #dce6f5;
  border-radius: 18px;
  background: #fff;
}

.afh-intro-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #edf4ff;
  color: #1269e8;
}

.afh-intro-card small {
  display: block;
  margin-bottom: 4px;
  color: #1269e8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.afh-intro-card h3 { margin: 0 0 6px; color: #16325d; font-size: 17px; }
.afh-intro-card p { margin: 0; color: #718097; font-size: 14px; line-height: 1.45; }
.afh-intro-card ol { display: grid; gap: 7px; margin: 10px 0 12px; padding: 0; list-style: none; }
.afh-intro-card li { display: flex; align-items: center; gap: 8px; color: #52637d; font-size: 14px; }
.afh-intro-card li b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eaf2ff;
  color: #1269e8;
  font-size: 12px;
}
.afh-intro-card button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  color: #0b5fc7;
  background: #eaf2ff;
  font-weight: 800;
  cursor: pointer;
}
.afh-intro-card button:hover,
.afh-intro-card button:focus-visible { background: #dceaff; outline: none; }
.afh-intro-card button svg { width: 15px; height: 15px; }

.afh-focus-primary {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #1b74eb, #0758bf);
  box-shadow: 0 10px 22px rgba(18, 105, 232, .22);
  font-weight: 800;
  cursor: pointer;
}
.afh-focus-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  min-height: 108px;
  padding: 18px;
  border: 1px solid #dce6f5;
  border-radius: 18px;
  background: #fff;
  color: #17325c;
  text-align: left;
  cursor: pointer;
}
.afh-focus-card > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #edf4ff;
  color: #1269e8;
}
.afh-focus-card small,
.afh-focus-card strong,
.afh-focus-card em { display: block; }
.afh-focus-card small { color: #7b8799; font-size: 12px; }
.afh-focus-card strong { margin: 3px 0; font-size: 17px; }
.afh-focus-card em { color: #1269e8; font-size: 13px; font-style: normal; font-weight: 750; }
.afh-focus-card > svg { width: 17px; height: 17px; color: #8fa0b7; }
.afh-focus-card:hover,
.afh-focus-card:focus-visible { border-color: #a8c6f3; box-shadow: 0 10px 24px rgba(18,105,232,.1); outline: none; }

.afh-kpi-grid { gap: 12px !important; }
.afh-kpi-card {
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.afh-kpi-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(21, 63, 123, .09); }
.afh-kpi-card--zero { opacity: .82; }
.afh-kpi-card--zero [class*="value"],
.afh-kpi-card--zero strong { color: #52647f !important; }

.afh-meaningful-status[data-state="setup"] { background: #fff4d9 !important; color: #8a5b00 !important; border-color: #f0d394 !important; }
.afh-meaningful-status[data-state="ready"] { background: #eaf2ff !important; color: #0f5cb8 !important; border-color: #bed5f5 !important; }
.afh-meaningful-status[data-state="active"] { background: #e9f8f0 !important; color: #14734f !important; border-color: #b9e7d0 !important; }

.afh-empty-state {
  display: grid !important;
  align-content: center;
  gap: 6px;
  min-height: 112px;
  padding: 18px !important;
  border: 1px dashed #d8e0eb !important;
  border-radius: 14px !important;
  background: #fbfcfe !important;
}
.afh-empty-state__title { color: #324663 !important; font-weight: 800 !important; }
.afh-empty-state__detail { color: #76849a; font-size: 13px; line-height: 1.45; }
.afh-empty-state button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  padding: 7px 10px;
  border: 0;
  border-radius: 9px;
  color: #0d61c8;
  background: #eaf2ff;
  font-weight: 800;
  cursor: pointer;
}
.afh-empty-state button svg { width: 14px; height: 14px; }
.afh-panel--empty { min-height: 0 !important; }
.afh-panel--hours-empty { opacity: .88; }

.afh-dashboard-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 10000;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 12px;
  background: #12284b;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: .2s ease;
}
.afh-dashboard-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .afh-intro-grid,
  .afh-focus-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .afh-admin-focus { padding: 18px; border-radius: 18px; }
  .afh-admin-focus__header,
  .afh-admin-focus__header--compact { display: grid; gap: 14px; }
  .afh-focus-primary { width: 100%; }
  .afh-intro-card { grid-template-columns: 1fr; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .afh-kpi-card,
  .afh-dashboard-toast { transition: none; }
}
