/* ht-push-panel.css - the Half-Time push panel on the Primary Dashboard (2026-10-21).
   Built on the dashboard's own .hub-back / .hub shell (styles.css), widened, with every new rule under .htp so
   nothing else on the page changes. Colours come from the design tokens; every text colour is AA on its background,
   every control is 44px tall on a phone. No emoji, no dashes. */
/* A modal over the whole page: above the phone's bottom nav (850), and the live pill steps aside while it is open
   (the member-send.js and VISTA sheet rule), so neither covers the panel's last lines. */
.hub-back.htp-back { z-index: 900; }
html:has(#htPushBack.open) #rrccLive { visibility: hidden; }
.hub-back .hub.htp { max-width: 1080px; padding: 0; }
.htp .htp-head { position: sticky; top: 0; z-index: 2; background: #fff; border-radius: 16px 16px 0 0; }
.htp .htp-head { align-items: center; }
.htp .htp-titles h2 { margin: 0; font-size: 20px; color: var(--rr-navy, #1f2a44); outline: none; }
.htp .htp-top { padding: 12px 20px 10px; border-bottom: 1px solid var(--rr-line, #e5e0dd); background: var(--rr-surface-soft, #faf8f7); }
.htp .htp-dates p { margin: 0 0 4px; font-size: 14px; line-height: 1.45; color: var(--rr-body-copy, #3d3733); }
.htp .htp-dates b { color: var(--rr-navy, #1f2a44); }
.htp .htp-warn { color: var(--rr-amber, #8a5a12) !important; font-weight: 700; }
.htp .htp-hacts { display: flex; gap: 8px; align-items: flex-start; flex: none; }
.htp .htp-tools { margin-top: 8px; }
.htp .htp-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.htp .htp-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--rr-line-strong, #d3ccc7); background: #fff; color: var(--rr-navy, #1f2a44); font: 700 13px/1.2 var(--rr-body, system-ui, sans-serif); cursor: pointer; }
.htp .htp-chip[aria-pressed="true"] { background: var(--rr-navy, #1f2a44); border-color: var(--rr-navy, #1f2a44); color: #fff; }
.htp .htp-chip .htp-n { font-variant-numeric: tabular-nums; }
.htp .htp-sum { margin: 8px 0 0; font-size: 13px; color: var(--rr-muted, #5d5551); }
.htp .htp-list { padding: 14px 20px 20px; display: grid; gap: 12px; }
.htp .htp-empty { color: var(--rr-muted, #5d5551); margin: 8px 0; }
.htp .htp-error { border: 1px solid var(--rr-red-line, #f0cdcd); background: var(--rr-red-soft, #fdf0f0); color: #8c1b17; border-radius: 12px; padding: 12px 14px; }
.htp .htp-error p { margin: 0 0 10px; font-weight: 600; }
.htp .htp-row { border: 1px solid var(--rr-line, #e5e0dd); border-left: 4px solid var(--rr-green, #186b45); border-radius: 12px; background: #fff; padding: 12px 14px; }
.htp .htp-row.is-work { border-left-color: #b7791f; }
.htp .htp-rhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.htp .htp-rhead h3 { margin: 0; font-size: 16px; color: var(--rr-navy, #1f2a44); outline: none; }
.htp .htp-city { font-weight: 500; color: var(--rr-muted, #5d5551); font-size: 13px; margin-left: 4px; }
.htp .htp-state { font: 700 11px/1 var(--rr-body, system-ui, sans-serif); text-transform: uppercase; letter-spacing: .04em; padding: 4px 8px; border-radius: 999px; border: 1px solid; }
.htp .htp-state.ok { color: var(--rr-green, #186b45); background: var(--rr-green-soft, #e9f4ee); border-color: var(--rr-green-line, #c2e0d0); }
.htp .htp-state.warn { color: var(--rr-amber, #8a5a12); background: var(--rr-amber-soft, #fdf3e3); border-color: var(--rr-amber-line, #efd9b4); }
.htp .htp-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.htp .htp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--rr-line-strong, #d3ccc7); background: #fff; color: var(--rr-navy, #1f2a44); font: 700 13px/1.2 var(--rr-body, system-ui, sans-serif); cursor: pointer; }
.htp .htp-btn:hover:not(:disabled) { border-color: var(--rr-navy, #1f2a44); }
.htp .htp-btn.primary { background: var(--rr-red, #b8232a); border-color: var(--rr-red, #b8232a); color: #fff; }
.htp .htp-btn.primary:hover:not(:disabled) { background: var(--rr-red-hover, #9c1d23); }
.htp .htp-btn.quiet { color: var(--rr-muted, #5d5551); }
.htp .htp-btn.small { min-height: 30px; padding: 4px 12px; font-size: 12.5px; margin-left: 8px; }
.htp .htp-btn:disabled { cursor: default; background: var(--rr-surface-soft, #faf8f7); color: var(--rr-muted, #5d5551); border-color: var(--rr-line, #e5e0dd); }
.htp .htp-why, .htp .htp-goes, .htp .htp-note { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--rr-muted, #5d5551); }
.htp .htp-why { color: var(--rr-amber, #8a5a12); font-weight: 600; }
.htp .htp-msg { margin: 6px 0 0; font-size: 13px; font-weight: 700; color: var(--rr-navy, #1f2a44); }
.htp .htp-flags { margin: 10px 0 0; padding: 8px 12px 8px 28px; border-radius: 10px; background: var(--rr-amber-soft, #fdf3e3); border: 1px solid var(--rr-amber-line, #efd9b4); color: var(--rr-amber, #8a5a12); font-size: 13px; font-weight: 600; }
.htp .htp-flags li + li { margin-top: 2px; }
.htp .htp-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 16px; margin: 12px 0 0; }
.htp .htp-fact { margin: 0; min-width: 0; }
.htp .htp-fact.wide { grid-column: span 2; }
.htp .htp-fact dt { font: 700 11px/1.3 var(--rr-body, system-ui, sans-serif); text-transform: uppercase; letter-spacing: .04em; color: var(--rr-muted, #5d5551); }
.htp .htp-fact dd { margin: 2px 0 0; font-size: 14px; line-height: 1.4; color: var(--rr-ink, #16203a); overflow-wrap: anywhere; }
.htp .htp-fact.sent dd { color: var(--rr-green, #186b45); font-weight: 600; }
.htp .htp-held { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--rr-amber-soft, #fdf3e3); border: 1px solid var(--rr-amber-line, #efd9b4); color: var(--rr-amber, #8a5a12); font-size: 12.5px; font-weight: 700; }
.htp .htp-sub { display: block; margin-top: 2px; font-size: 12.5px; color: var(--rr-muted, #5d5551); }
/* Each held application on its own line: when, term and status, what its address did, and its own Count button. */
.htp .htp-heldlist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.htp .htp-helditem { padding: 4px 0 4px 10px; border-left: 3px solid var(--rr-amber-line, #efd9b4); }
.htp .htp-heldwhen { display: block; font-size: 13.5px; font-weight: 600; color: var(--rr-ink, #16203a); }
.htp .htp-helditem .htp-btn.small { margin: 6px 0 0; }
.htp .htp-bad { color: var(--rr-amber, #8a5a12); font-weight: 700; }
@media (max-width: 680px) {
  .hub-back.htp-back { padding: 0; align-items: stretch; }
  .hub-back .hub.htp { border-radius: 0; min-height: 100%; }
  .htp .htp-head { border-radius: 0; padding: 14px 16px 12px; }
  .htp .htp-top, .htp .htp-list { padding-left: 16px; padding-right: 16px; }
  .htp .htp-chip, .htp .htp-btn, .htp .htp-btn.small, .htp .hub-x { min-height: 44px; }
  .htp .hub-x { min-width: 44px; }
  .htp .htp-btn.small { margin: 6px 0 0; }
  .htp .htp-acts .htp-btn { flex: 1 1 140px; }
  .htp .htp-facts { grid-template-columns: 1fr 1fr; }
  .htp .htp-fact.wide { grid-column: 1 / -1; }
  .htp .htp-held { margin: 4px 0 0; }
}
@media (max-width: 380px) { .htp .htp-facts { grid-template-columns: 1fr; } }
