/* Clay's Oct 22 decisions pages (decisions-pages.js), in the shop design (shop.css tokens). */
.dp-card { display: grid; gap: 10px; }
.dp-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dp-row h2, .dp-row h3 { margin: 0; flex: 1 1 auto; }
.dp-row input, .dp-row select { min-width: 0; flex: 1 1 160px; }
.dp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dp-li { border: 1px solid var(--hair, rgba(127,127,127,.25)); border-radius: 10px; padding: 8px 12px; display: grid; gap: 4px; }
.dp-warn { color: var(--amber); }
.dp-kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; }
.ck-cn-row { display: grid; gap: 4px; }
.dp-two { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.dp-changes { margin: 0; padding-left: 18px; }
.dp-ev { border: 0; padding: 0; margin: 0; display: grid; gap: 4px; }
.dp-ev legend { font-weight: 600; margin-bottom: 4px; }
.dp-check { display: flex; gap: 8px; align-items: center; }
/* inline question under a button (no browser dialogs) */
.dp-ask { margin: 8px 0 4px; padding: 10px 12px; border-radius: 12px; background: var(--fill); display: grid; gap: 8px; }
.dp-ask-q { margin: 0; font-size: 14px; }
.dp-ask input { width: 100%; box-sizing: border-box; }
.dp-ask input[aria-invalid="true"] { outline: 2px solid var(--red); }
.dp-ok { color: var(--green); }
.dp-panel h3 { margin: 12px 0 6px; font-size: 15px; }
/* 296: a draft message for the advisor (never sent by the system) */
.dp-draft { margin: 6px 0; padding: 8px 10px; border-left: 3px solid var(--hair); background: var(--fill); border-radius: 6px; font-size: 0.92rem; }
.dp-stack { display: grid; gap: 12px; }
@media (max-width: 600px) { .dp-kv { grid-template-columns: minmax(0, 1fr); } }
.dp-check span { white-space: nowrap; }

/* Batch 30 (UI_COVERAGE.md, stream B): the decisions pages' cards under the shared band look (stream A's .band: the accent, white heavy
   italic, square). Markup unchanged: a panel whose first child is its heading (or a head row holding it) gets the band. */
body.shop-on :is(.dp-card):has(> h2:first-child, > :is(div, header):first-child > h2) { padding-top: 0; padding-left: 18px; padding-right: 18px; }   /* no overflow clip: rows, menus and popovers stay reachable */
body.shop-on :is(.dp-card) > h2:first-child,
body.shop-on :is(.dp-card) > :is(div, header):first-child:has(> h2) { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap;
  margin: 0 -18px 14px; padding: 9px 18px; min-height: 44px; box-sizing: border-box; background: var(--accent); color: var(--accent-ink, #fff); border-radius: 3px 3px 0 0; }
body.shop-on :is(.dp-card) > :is(div, header):first-child > h2 { margin: 0; }
body.shop-on :is(.dp-card) > h2:first-child, body.shop-on :is(.dp-card) > :is(div, header):first-child > h2 { color: var(--accent-ink, #fff);
  font: italic 900 23px/1.08 var(--font-title); text-transform: uppercase; letter-spacing: -0.004em; }
body.shop-on :is(.dp-card) > :is(div, header):first-child:has(> h2) :is(span, small, label, .cp-fine, a:not(.btn)) { color: inherit; }
body.shop-on :is(.dp-card) > :is(div, header):first-child:has(> h2) :is(button.quiet, .btn.quiet) { color: inherit; background: rgba(255, 255, 255, 0.14); }
@media (max-width: 860px) { body.shop-on :is(.dp-card) > h2:first-child, body.shop-on :is(.dp-card) > :is(div, header):first-child > h2 { font-size: 19px; } body.shop-on :is(.dp-card):has(> h2:first-child, > :is(div, header):first-child > h2) { padding-left: 14px; padding-right: 14px; } body.shop-on :is(.dp-card) > h2:first-child, body.shop-on :is(.dp-card) > :is(div, header):first-child:has(> h2) { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; } }
