/* The top bar in three (item 696; picture docs/design/sketches/696-picture.md, option A): the bar stays on top while picking,
   with "3 selected | Done" under it; Make's landing (kinds as rows, the carried photos, Your orders, Recommend cards);
   Public's type chips. Theme tokens only. */
@media (max-width: 899px) {
  body.selecting.privscreen .apphd { position: fixed; top: 0; left: 0; right: 0; z-index: 61; background: var(--bg); padding-top: var(--safe-t); }
  .privscreen .selhd { top: calc(var(--hdh, 0px) + var(--safe-t)); padding-top: var(--s-2); }
}

.mk { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5) var(--edge) 0; }
.mk-kinds { display: flex; flex-direction: column; gap: var(--s-2); }
.privscreen .mk-row { display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: calc(var(--btn) + var(--s-3)); padding: var(--s-2) var(--s-3);
  border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 var(--line-w) var(--line); color: var(--ink); text-align: start; text-decoration: none; box-sizing: border-box; }
.mk-row > svg.i { flex: none; width: var(--icon-sm); height: var(--icon-sm); color: var(--muted); }
.mk-ic { flex: none; width: 2.75rem; height: 2.75rem; border-radius: var(--r-sm); background: var(--surface-2); display: grid; place-items: center; }
.mk-ic svg.i { width: var(--icon); height: var(--icon); }
.mk-tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mk-tx b { font: 650 var(--t-lead)/1.2 var(--ui); overflow-wrap: anywhere; }
.mk-tx small { color: var(--muted); font-size: var(--t-small); overflow-wrap: anywhere; }
.privscreen .mk-row.hot { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.mk-row.hot small, .mk-row.hot > svg.i { color: inherit; opacity: .9; }
.mk-row.hot .mk-ic { background: color-mix(in srgb, var(--accent-ink) 18%, transparent); }
.mk-row[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--sel); }
.mk-row[aria-expanded="true"] > svg.i { transform: rotate(90deg); }
.mk-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: var(--s-2); }
.privscreen .mk-pick button { aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.mk-pick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-carry { display: flex; align-items: center; gap: var(--s-3); min-height: var(--btn); padding: var(--s-2) var(--s-3); border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 2px var(--sel); }
.mk-carry b { flex: 1; min-width: 0; font: 650 var(--t-body)/1.25 var(--ui); overflow-wrap: anywhere; }
.mk-thumbs { display: flex; flex: none; }
.mk-thumbs img, .mk-thumbs i { width: 2.5rem; height: 2.5rem; border-radius: var(--s-2); object-fit: cover; background: var(--surface-2); box-shadow: 0 0 0 2px var(--surface); }
.mk-thumbs > * + * { margin-inline-start: -.75rem; }
.privscreen .mk-clear { min-height: var(--tap); padding: 0 var(--s-2); color: var(--sel); font-weight: 700; }
.mk-note { margin: 0; color: var(--muted); font-size: var(--t-small); }
.mk-gl { display: flex; align-items: center; gap: var(--s-2); min-height: var(--tap); margin-top: var(--s-3); border-bottom: var(--line-w) solid var(--line); }
.mk-gl b { font: 650 var(--t-lead)/1.2 var(--ui); }
.mk-gl .n { color: var(--muted); font-size: var(--t-small); }
.mk-gl svg.i { width: var(--icon); height: var(--icon); }
.mk-orders { display: flex; flex-direction: column; margin-top: calc(-1 * var(--s-3)); }
.mk-o { display: flex; align-items: center; gap: var(--s-3); min-height: calc(var(--btn) + var(--s-3)); color: var(--ink); text-decoration: none; }
.mk-o + .mk-o { border-top: var(--line-w) solid var(--line); }
.mk-o i { flex: none; width: 3.25rem; height: 3.25rem; border-radius: var(--s-2); background: var(--surface-2); display: grid; place-items: center; color: var(--muted); }
.mk-o i svg.i { width: var(--icon); height: var(--icon); }
.mk-o span { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mk-o b { font: 650 var(--t-body)/1.25 var(--ui); overflow-wrap: anywhere; }
.mk-o small { color: var(--muted); font-size: var(--t-small); }
.privscreen .mk-rc { margin-top: var(--s-3); }
body.onmake .inv { padding-bottom: calc(var(--s-5) + var(--safe-b)); }

/* Public's types: All, then only the types the person has; the chips wrap, never scroll sideways */
.pubchips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-3) var(--edge) var(--s-1); }
.privscreen .pubchip { min-height: var(--tap); padding: 0 var(--s-4); border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 var(--line-w) var(--line); font-weight: 600; font-size: var(--t-body); }
.privscreen .pubchip[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
body.onmake :is(.findrow, .duo, .band, .tray, .netline) { display: none; }
/* a wide screen (632): the kinds in a grid, the landing a readable width */
@media (min-width: 900px) {
  .mk { max-width: 60rem; margin-inline: auto; }
  .mk-kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
  .mk-pick { grid-column: 1 / -1; }
}

.pubdoors { display: flex; flex-direction: column; gap: var(--s-2); }
.pubdoors .lookrow { width: 100%; margin: 0; text-align: start; }

/* 2738: the shop window: her photo drawn on each thing (make_scenes.js), the price on the tile, the framed print largest. Tokens only. */
.privscreen .mk-lead h2 { margin: 0; color: var(--ink) !important; font: 700 1.625rem/1.1 var(--ui) !important; letter-spacing: -.01em !important; margin: 0 !important; }
.mk-lead p { margin: var(--s-1) 0 0; color: var(--muted); font-size: var(--t-body); }
.mk-add { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2) var(--s-3); border-radius: var(--r); background: var(--surface-2); }
.mk-add b { flex: 1; min-width: 0; font: 600 var(--t-body)/1.25 var(--ui); overflow-wrap: anywhere; }
.mk-add img { flex: none; width: 2.5rem; height: 2.5rem; border-radius: var(--s-2); object-fit: cover; }
.privscreen .mk-add button { flex: none; min-height: var(--tap); padding: 0 var(--s-4); border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.mk-win { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.privscreen .mk-tile { position: relative; display: flex; flex-direction: column; width: 100%; padding: 0; overflow: hidden; border-radius: var(--r); background: var(--surface);
  box-shadow: inset 0 0 0 var(--line-w) var(--line); color: var(--ink); text-align: start; }
.mk-tile.hero, .mk-tile.wide { grid-column: 1 / -1; }
.mk-tile canvas { display: block; width: 100%; min-width: 0; aspect-ratio: 1 / 1; background: var(--surface-2); }
.mk-tile.hero canvas { aspect-ratio: 1 / .92; }
.mk-tile.wide canvas { aspect-ratio: 1.7 / 1; }
.mk-cap { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-2) var(--s-3) var(--s-3); margin-top: auto; }
.mk-tile.hero .mk-cap, .mk-tile.wide .mk-cap { flex-direction: row; align-items: baseline; gap: var(--s-2); }
.mk-nm { flex: 1; min-width: 0; display: grid; }
.mk-nm b { font: 650 var(--t-lead)/1.2 var(--ui); overflow-wrap: break-word; }
.mk-nm small { color: var(--muted); font-size: var(--t-small); overflow-wrap: break-word; }
.mk-pr { flex: none; font: 700 var(--t-body)/1.2 var(--ui); font-variant-numeric: tabular-nums; }
.mk-rib { position: absolute; inset-inline-start: var(--s-2); top: var(--s-2); padding: .25rem .7rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 700 var(--t-small)/1.2 var(--ui); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.mk-rib.soft { background: var(--surface); color: var(--ink); }
.mk-tile:focus-visible { outline: 3px solid var(--sel); outline-offset: 2px; }
@media (hover: hover) { .privscreen .mk-tile:hover { transform: translateY(-2px); } }
@media (min-width: 700px) { .mk-win { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mk-tile.hero { grid-column: span 2; grid-row: span 2; } .mk-tile.hero canvas { aspect-ratio: auto; flex: 1; min-height: 0; } .mk-tile.wide { grid-column: span 2; } .mk-win > .mk-tile[data-mk="video"] { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: no-preference) { .privscreen .mk-tile { transition: transform .18s ease; } .privscreen .mk-tile:active { transform: scale(.985); } }
/* 2548: Make is her photo in a frame and on a card, then plain rows: no pills, no boxes, no pictures of rooms */
.privscreen .mk-add { background: none; border-radius: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-inline: 0; }
.privscreen .mk-add img { border-radius: 0; }
.privscreen .mk-add button { border-radius: 4px; background: none; color: var(--ink); border: 1.5px solid var(--ink); }
.privscreen .mk-lead h2 { font: 400 1.5rem/1.2 var(--display) !important; }
.privscreen .mk-rib { display: none; }
.privscreen .mk-tile { border-radius: 0; box-shadow: none; }
.privscreen .mk-row { border-radius: 0; background: none; box-shadow: none; border: 0; border-top: 1px solid var(--line); }
.privscreen .mk-row .mk-ic { display: none; }
/* 2738 live review: the rooms are back (framed on a wall by a sofa, card on a table, mug, tee); the label never squeezes to a letter; a tile is never larger than the hero */
.privscreen .mk-add { flex-wrap: wrap; row-gap: var(--s-2); }
.privscreen .mk-add b { flex: 1 1 9rem; }
.mk-tile.wide canvas { aspect-ratio: 2 / 1; }
@media (min-width: 700px) { .mk-tile.wide canvas { aspect-ratio: 2 / 1; } }
.mk-win .mk-tile:not(.hero):not(.wide) .mk-cap { margin-top: 0; }

/* 2548 live: the newest-photo row keeps photo and words on one line, the change under them as a text link; never breaks a word */
.privscreen .mk-add { flex-wrap: wrap; row-gap: var(--s-1); }
.privscreen .mk-add .mk-who { display: flex; align-items: center; gap: var(--s-3); flex: 1 1 100%; min-width: 0; }
.privscreen .mk-add .mk-who b { overflow-wrap: normal; word-break: normal; }
.privscreen .mk-add .mk-who + button { flex: none; min-height: var(--tap); padding: 0; border: 0; background: none; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
/* the hero print takes the full width on a wide screen */
@media (min-width: 900px) { .mk-win .mk-tile.hero { grid-column: 1 / -1; grid-row: auto; } .mk-win .mk-tile.hero canvas { aspect-ratio: 16 / 7; flex: none; } }
