/* Admin Hosting servers (master goal V·D·21, page 21): page and dialog styles (strict CSP; no inline styles). */
.hs-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, .6); z-index: 1000; display: flex; align-items: center;
  justify-content: center; padding: 18px; }
.hs-dialog { max-width: 560px; width: 100%; padding: 0; }
.hs-head { padding: 18px 22px 12px; border-bottom: 1px solid var(--border-soft); display: flex; gap: 10px; align-items: center; }
.hs-head-title { margin: 0; flex: 1; }
.hs-form { padding: 16px 22px; display: grid; gap: 10px; }
.hs-row { gap: 10px; }
.hs-lbl { font-weight: 600; display: block; margin-bottom: 4px; }
.hs-in { width: 100%; padding: 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-2); color: var(--text); }
.hs-in:disabled { background: var(--panel-2); }
.hs-mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
.hs-note { margin: 0; }
.hs-foot { padding: 12px 22px 18px; border-top: 1px solid var(--border-soft); display: flex; justify-content: flex-end; gap: 8px; }
@media (max-width: 560px) { .hs-row { grid-template-columns: 1fr; } }
.hs-aged { color: var(--warn); }
/* A narrow screen shows every node as a card: each cell on its own line under the label it carries (data-label). */
@media (max-width: 720px) {
  .hs-cards .ops-table thead { display: none; }
  .hs-cards .ops-table, .hs-cards .ops-table tbody, .hs-cards .ops-table tr, .hs-cards .ops-table td { display: block; inline-size: 100%; }
  .hs-cards .ops-table tr { border: 1px solid var(--border); border-radius: 10px; margin-block-end: 10px; padding: 8px 12px; background: var(--panel); }
  .hs-cards .ops-table td { border: 0; padding: 6px 0; text-align: start; }
  .hs-cards .ops-table td[data-label]::before {
    content: attr(data-label); display: block; font-size: 12px; color: var(--muted); margin-block-end: 2px;
  }
  .hs-cards .ops-actions-cell { justify-content: flex-start; }
/* The same cards in the shell's mobile mode (body.is-mobile) and its mobile preview (body.force-mobile-preview), proven
   with matchMedia or the CSS override, never by window width alone (II·R3). */
body.is-mobile .hs-cards .ops-table thead, body.force-mobile-preview .hs-cards .ops-table thead { display: none; }
body.is-mobile .hs-cards .ops-table, body.is-mobile .hs-cards .ops-table tbody, body.is-mobile .hs-cards .ops-table tr,
body.is-mobile .hs-cards .ops-table td, body.force-mobile-preview .hs-cards .ops-table,
body.force-mobile-preview .hs-cards .ops-table tbody, body.force-mobile-preview .hs-cards .ops-table tr,
body.force-mobile-preview .hs-cards .ops-table td { display: block; inline-size: 100%; }
body.is-mobile .hs-cards .ops-table tr, body.force-mobile-preview .hs-cards .ops-table tr {
  border: 1px solid var(--border); border-radius: 10px; margin-block-end: 10px; padding: 8px 12px; background: var(--panel);
}
body.is-mobile .hs-cards .ops-table td, body.force-mobile-preview .hs-cards .ops-table td { border: 0; padding: 6px 0; text-align: start; }
body.is-mobile .hs-cards .ops-table td[data-label]::before, body.force-mobile-preview .hs-cards .ops-table td[data-label]::before {
  content: attr(data-label); display: block; font-size: 12px; color: var(--muted); margin-block-end: 2px;
}
body.is-mobile .hs-cards .ops-actions-cell, body.force-mobile-preview .hs-cards .ops-actions-cell { justify-content: flex-start; }
}
