@media (max-width: 700px) {
  body:has(header.topbar) input:not([type=checkbox]):not([type=radio]),
  body:has(header.topbar) select, body:has(header.topbar) textarea,
  .admin-shell input:not([type=checkbox]):not([type=radio]),
  .admin-shell select, .admin-shell textarea { font-size: 16px; max-width: 100%; box-sizing: border-box; }
  body:has(header.topbar) .btn, .admin-shell .btn,
  .admin-shell .table-action, .admin-shell .lead-close { min-height: 44px; }
  body:has(header.topbar) .nav a { min-height: 44px; display: inline-flex; align-items: center; }
  body:has(header.topbar) img { max-width: 100%; }
  body:has(header.topbar) :is(h1,h2,h3,p), .admin-shell :is(h1,h2,h3,p) { overflow-wrap: break-word; }
  .admin-shell .form-grid { grid-template-columns: minmax(0,1fr); }
  .admin-shell .form-grid > *, .admin-shell .form > * { min-width: 0; }
  .admin-shell .lead-modal { padding: 12px; box-sizing: border-box; }
  .admin-shell .lead-modal-card { width: 100%; max-width: 100%; max-height: calc(100dvh - 24px); overflow-y: auto; padding: 20px; box-sizing: border-box; }
  .admin-shell .lead-detail-grid { grid-template-columns: minmax(0,1fr); }
  .admin-shell .lead-detail-grid strong { overflow-wrap: anywhere; }
  .admin-shell .lead-modal-head { gap: 12px; flex-wrap: wrap; }
  .admin-shell .cms-actions, .admin-shell .actions { flex-wrap: wrap; gap: 10px; }
  .admin-shell .wse-toolbar { flex-wrap: wrap; }
  .admin-shell .wse-toolbar button { min-height: 40px; }
  .admin-shell .wse-inspector { min-width: 0; max-width: 100%; }
}
@media (max-width: 380px) {
  body:has(header.topbar) .topbar .actions { flex-wrap: wrap; }
  body:has(header.topbar) .topbar .actions .btn { min-height: 44px; }
  .admin-shell .overview-metrics { grid-template-columns: minmax(0,1fr); }
  .admin-shell .course-list-actions { flex-direction: column; align-items: stretch; }
  .admin-shell .course-list-actions .btn { width: 100%; box-sizing: border-box; }
}
.sitemap-directory ul{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:12px}.sitemap-directory li a{display:block;padding:10px 0;border-bottom:1px solid #dce4f3;color:#254ca9;line-height:1.5}.sitemap-directory h2{color:#172744;font-size:24px}.sitemap-directory .card{background:#fff;color:#172744;padding:24px}.sitemap-directory .grid{align-items:start}
