/* HT OS: Service plans > HCP plans > Call scripts, and the status chip of Who to push first
   (Richard, 2026-11-13, mockup approved). Design-system tokens only, so both themes follow. */

.hm-page { padding: var(--s-4) 1.5rem var(--s-6); background: var(--bg); }
.hm-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); align-items: start; }
@media (min-width: 960px) {
  .hm-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}

.hm-card { background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--r-lg, 12px); margin-bottom: var(--s-4); }
.hm-card-h { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--border-subtle); }
.hm-card-h h3 { margin: 0; font-size: var(--text-md, 1rem); font-weight: 700; color: var(--ink); }
.hm-card-b { padding: var(--s-3) var(--s-4) var(--s-4); color: var(--ink); }

.hm-block { margin-bottom: var(--s-3); }
.hm-lbl-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); min-height: 32px; }
.hm-lbl { font-size: var(--text-xs, 0.75rem); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.hm-acts { display: inline-flex; gap: var(--s-1); }
.hm-say { background: var(--surface-2); border-left: 3px solid var(--brand-royal); border-radius: var(--r-sm, 6px); padding: var(--s-3); white-space: pre-wrap; overflow-wrap: anywhere; }
.hm-edit { display: flex; flex-direction: column; gap: var(--s-2); }
.hm-edit-acts { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.hm-ob { border: 1px solid var(--border-subtle); border-radius: var(--r-md, 10px); margin-bottom: var(--s-2); background: var(--surface); }
.hm-ob > summary { cursor: pointer; list-style: none; padding: var(--s-3); min-height: 44px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.hm-ob > summary::-webkit-details-marker { display: none; }
.hm-ob > summary::after { content: "+"; font-size: 1.25rem; color: var(--ink-3); }
.hm-ob[open] > summary::after { content: "-"; }
.hm-ob-body { padding: 0 var(--s-3) var(--s-3); }
.hm-dont { margin-top: var(--s-2); color: var(--danger-ink); font-size: var(--text-sm); }

.hm-off { display: inline-block; padding: 2px var(--s-2); border-radius: 999px; background: var(--danger-soft, #fde8e8); color: var(--danger-ink); font-size: var(--text-xs, 0.75rem); font-weight: 700; }
.hm-rules { margin: 0; padding-left: 1.25rem; }
.hm-rules li { margin: 0 0 var(--s-2); }

/* The status chip of Who to push first is a button (it opens the status dialog). */
.hm-status { cursor: pointer; font: inherit; }
.hm-status:hover { filter: brightness(0.97); }
