/* ============================================================
   АДМИНИСТРИРОВАНИЕ v452: главная с плитками по группам, полоса
   «Требует внимания», раздел с меню слева. Классы adm-.
   ============================================================ */
.adm-page { max-width: 1280px; }
.adm-ico { width: 20px; height: 20px; flex: none; }
.adm-hub { display: grid; gap: 18px; }
.adm-search { position: relative; display: flex; }
.adm-search .adm-ico { position: absolute; top: 12px; left: 14px; width: 18px; height: 18px; color: var(--muted); }
.adm-search input { width: 100%; height: 44px; padding: 0 14px 0 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-card); font-size: 15px; }
.adm-attention { padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--ah-amber, #96660d) 30%, var(--line)); border-radius: 14px; background: var(--ah-amber-bg, #fdf3e0); }
.adm-attention h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--ah-amber, #96660d); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.adm-attention h2 .adm-ico { width: 17px; height: 17px; }
.adm-attention div { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-attention button { padding: 7px 12px; border: 1px solid color-mix(in srgb, var(--ah-amber, #96660d) 25%, transparent); border-radius: 10px; background: var(--surface-card); color: var(--text); font-size: 13.5px; font-weight: 600; text-align: left; cursor: pointer; }
.adm-attention button:hover { border-color: var(--ah-amber, #96660d); }
.adm-group h2 { margin: 0 0 10px; color: var(--muted); font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.adm-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.adm-tile {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; min-height: 96px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface-card); box-shadow: var(--shadow);
  color: var(--text); text-align: left; cursor: pointer; transition: border-color .15s, transform .15s;
}
.adm-tile:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); transform: translateY(-1px); }
.adm-tile:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.adm-tile-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-selected); color: var(--tk-accent, var(--brand)); }
.adm-tile-main { display: grid; gap: 3px; min-width: 0; }
.adm-tile-main b { font-size: 15px; font-weight: 800; }
.adm-tile-main small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.adm-tile-main em { margin-top: 4px; color: var(--state-ok, #0f7a5f); font-size: 12.5px; font-style: normal; font-weight: 700; overflow-wrap: anywhere; }
.adm-tile-main em.is-warn { color: var(--ah-amber, #96660d); }
.adm-tile-main em.is-muted { color: var(--muted); }

/* Раздел: меню слева, содержимое справа */
.adm-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 20px; align-items: start; }
.adm-menu { position: sticky; top: 76px; display: grid; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-card); }
.adm-menu small { margin: 10px 8px 4px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.adm-menu button { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 0; border-radius: 10px; background: none; color: var(--text); font-size: 13.5px; font-weight: 600; text-align: left; cursor: pointer; }
.adm-menu button .adm-ico { width: 17px; height: 17px; color: var(--muted); }
.adm-menu button:hover { background: var(--surface-hover); }
.adm-menu button.is-on { background: var(--surface-selected); color: var(--tk-accent, var(--brand)); }
.adm-menu button.is-on .adm-ico { color: inherit; }
.adm-menu .adm-home { margin-bottom: 4px; color: var(--tk-accent, var(--brand)); font-weight: 800; }
.adm-body { display: grid; gap: 14px; min-width: 0; }
.adm-back { display: none; align-items: center; gap: 4px; justify-self: start; padding: 0; border: 0; background: none; color: var(--tk-accent, var(--brand)); font-size: 14px; font-weight: 700; cursor: pointer; }
.adm-back .adm-ico { width: 18px; height: 18px; }
.adm-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
.adm-section-head h2 { margin: 0; font-size: 22px; font-weight: 800; }
.adm-subtabs { flex-wrap: wrap; }

@media (max-width: 960px) {
  .adm-layout { grid-template-columns: minmax(0, 1fr); }
  .adm-menu { display: none; }
  .adm-back { display: inline-flex; }
}
@media (max-width: 600px) {
  .adm-tiles { grid-template-columns: minmax(0, 1fr); }
  .adm-tile { min-height: 0; }
  .adm-section-head h2 { font-size: 20px; }
}

/* Переключатель баллов активности в карточке центра (v453). */
.center-points-toggle { display: grid !important; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-weight: 500 !important; cursor: pointer; }
.center-points-toggle input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--brand); }
.center-points-toggle b { display: block; color: var(--text); font-size: 14px; }
.center-points-toggle small { display: block; margin-top: 2px; }
