/* receipt {"source":"kasten/platform/js/deal.css","source_sha":"05e973fb340f","why":"platform code, new_car_sow_001 scope item 9 SCREEN + WINDOW STACK (NEW-D-003)","writer":"kasten/platform/factory.py","writer_sha":"1a878b7c75b6"} */
/* Kasten deal: the New game page (new_car_sow_022 AMENDMENT-04 E1-E6). The old car's surface/new.html:62-211 lifted by look, not by file:
   the strip of four pills (:62-68), one column on a phone, the width used on an upright iPad / 900+ wide (CG-D-227, :187-211). */
.deal-page { width: min(100%, 560px); margin: 0 auto; padding: 8px 16px 0; display: grid; gap: 12px; text-align: left; box-sizing: border-box; grid-template-columns: minmax(0, 1fr); }   /* F7: the one column never sizes to its widest child (a typed name grew the page to 426 px at 360) */
.deal-page .h { margin: 4px 0 0; font-size: 1.5rem; text-align: center; }
.deal-page .stepslot { display: contents; }   /* the step's own slot (deal.mjs paint): a paint swaps only this and the strip */
.deal-page .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.deal-page .steps button { min-height: 36px; border-radius: 999px; border: 2px solid currentColor; background: none; color: inherit; font: inherit; font-weight: 600; opacity: 0.55; }
.deal-page .steps button.done { opacity: 0.9; }
.deal-page .steps button.on { opacity: 1; background: var(--accent); color: var(--accent_ink); border-color: var(--accent); }
.deal-page .step { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }   /* F7 re-check (f679 robot, 2026-11-08): the nested step grid too, else its auto column takes the typed name's min-content and the page grows */
.deal-page .stepq { margin: 0; font-size: 1.15rem; }
.deal-page .comprow { display: grid; gap: 8px; }
.deal-page .cstep { display: flex; align-items: center; gap: 10px; }
.deal-page .cstep .lbl { flex: 1; font-weight: 600; }
.deal-page .pm { width: 44px; height: 44px; border-radius: 50%; border: 2px solid currentColor; background: none; color: inherit; font: inherit; font-size: 1.3rem; }
.deal-page .pm:disabled { opacity: 0.35; }
.deal-page .cstep .n { min-width: 1.5em; text-align: center; font-size: 1.2rem; }
.deal-page .compline:empty { display: none; }
.deal-page .addrow { display: flex; gap: 8px; }
.deal-page .addrow input { flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(0, 0, 0, 0.2); }
.deal-page .addrow .add { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 2px solid currentColor; background: none; color: inherit; font: inherit; font-weight: 600; white-space: nowrap; max-width: calc(100% - 104px); overflow: hidden; text-overflow: ellipsis; }   /* F7 (CG-D-1307): it says who it adds, never wider than the row (the old car's #addnew, new.html:97) */
.deal-page .playing { display: flex; gap: 6px; align-items: center; overflow-x: auto; white-space: nowrap; min-height: 44px; padding-block: 4px; margin-block: -4px; }   /* C4 (pilot B F11): the row scrolls sideways, so it clips what leaves it; its box holds the chip's 44px ✕ (was 36, + 4 + 4) and its margins give the 8px back, so the page does not move */
.deal-page .plbl { font-size: 0.85rem; opacity: 0.8; }
.deal-page .chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }
.deal-page .chip button { border: 0; background: none; color: inherit; font: inherit; min-width: 44px; min-height: 44px; margin: -8px; }   /* C4 (pilot B F11): the ✕ is a 44px tap, as the ± beside it (:14); -8px each side keeps the 28px it took, the ✕ where it was (the old car's surface/home.html:176 #lists .g .x, 44px pulled back by negative margins) */
.deal-page .people { display: grid; gap: 6px; }
.deal-page .person { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px; min-height: 44px; padding: 6px 10px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25); background: none; color: inherit; font: inherit; text-align: left; }
.deal-page .person.on { border-color: var(--accent); }
.deal-page .person .sub { font-size: 0.85rem; opacity: 0.75; }
.deal-page .same { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; border: 2px solid var(--accent); background: none; color: inherit; font: inherit; text-align: left; }
.deal-page .same span { font-size: 0.85rem; opacity: 0.85; }
/* the reason rides ONE block WITH Next, stuck above the foot of the screen (FS0052; new.html:100-106, sow_065 S4 review #3) */
.deal-page .foot { position: sticky; bottom: 0; z-index: var(--z-chrome); display: grid; gap: 4px; padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); background: var(--felt); }
/* look five item 4 (CG-D-1660; the robot's 7b03527 shot: a black empty band behind Send, and Next on Rules). The cause: the stuck block
   paints the felt colour, and since the dresses' rooms (screen.css THE ROOM AND ITS RIM) the page's ground is the room's material over
   the felt, so the felt colour alone reads as a band on every step, stuck or not. OLD CAR FIRST: the old car's new.html:100-106 gives
   the stuck block "the felt behind it so nothing scrolling under shows through"; the page's ground is now the room, so the block paints
   the room as the page does (its rows room and room.blend, fixed to the screen as body::before is), over the felt: the same pixels where
   nothing scrolls under, and still nothing shows through when something does. No room worn: the felt alone, as before. */
.deal-page .foot { background: var(--room, none); background-blend-mode: var(--room-blend, normal); background-attachment: fixed; background-color: var(--felt); }
.deal-page .foot .deal, .deal-page .deal.phone { width: 100%; padding: 14px 16px; text-align: center; text-decoration: none; box-sizing: border-box; display: block; }
.deal-page .deal:disabled { opacity: 0.45; }
.deal-page .deal[aria-busy="true"] { pointer-events: none; }
.deal-page .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.deal-page .tile { display: grid; gap: 4px; align-content: start; padding: 12px; border-radius: 12px; border: 2px solid rgba(255, 255, 255, 0.25); background: none; color: inherit;
  font: inherit; text-align: left; min-height: 72px; }
.deal-page .tile.on { border-color: var(--accent); }
.deal-page .tile.no { opacity: 0.45; }
.deal-page .tile span { font-size: 0.85rem; opacity: 0.85; }
.deal-page .sendcard { display: grid; gap: 4px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); }
.deal-page .sendcard b { font-size: 1.15rem; }
.deal-page .stepback { justify-self: start; }
.deal-page .link.phone { text-align: center; }
/* an upright iPad, a laptop: the page uses the width (CG-D-227) */
@media (min-width: 768px) {
  .deal-page { width: min(100%, 860px); }
  .deal-page .people { grid-template-columns: 1fr 1fr; }
  .deal-page .tiles { grid-template-columns: repeat(3, 1fr); }
}
