/* steps/look.css: the Look step, Savva's pick "Four rows, four keys" (option 3, 2026-10-28). A live preview of the
   screen from the priority map on the left, four rows (theme, corners, accent, font) in a side panel on the right, each
   with its own key (T R A F) and a sparkle or an undo back to what was read off the attachment. Everything is scoped to
   .lookv so no other step picks it up. The preview (.lk) uses the build's own tokens (the run's src/theme.css): light is
   Savva's library light (white page and cards on #e7e6e9, controls white on the page, 4.5% grey inside a card, rail
   #fafafa, text never lighter than #616161); dark is the ssych dark. */
main[data-step="look"] { padding: 22px 24px 20px; }
.lookv { height: calc(100vh - 60px - 42px); min-height: 640px; }
.lookv .head { flex: none; }
.lookv .head .label { font-size: 11.5px; }
.lookv kbd { font: 500 10.5px/1 var(--font); color: var(--ink-45); background: var(--fill-2); border-radius: 4px; padding: 3px 5px; min-width: 18px; text-align: center; display: inline-block; flex: none; }
.lookv .seg { display: inline-flex; background: var(--fill); border-radius: 999px; padding: 2px; }
.lookv .seg button { height: 28px; min-width: 30px; padding: 0 12px; border-radius: 999px; border: 0; background: none; color: var(--ink-62); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; transition: background-color .2s var(--ease-kit), color .15s; }
.lookv .seg button:hover { color: var(--ink-100); }
.lookv .seg button.on { background: var(--ink-100); color: #000; }

/* one tooltip, custom */
.lookv [data-tip] { position: relative; }
.lookv [data-tip]:hover::after, .lookv [data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; background: rgba(20,20,20,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink-100); font: 400 11.5px/1 var(--font); padding: 6px 8px; border-radius: 6px; pointer-events: none; z-index: 20; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.lookv .ph .pr[data-tip]:hover::after, .lookv .src [data-tip]:hover::after { left: auto; right: 0; transform: none; }
.lookv .rfoot [data-tip]:hover::after { left: 0; transform: none; }

/* the page: the preview and the side panel */
.lookv .body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; }
.lookv .pvw { position: relative; min-height: 0; }
.lookv .pv { height: 100%; }
.lookv .peek { position: absolute; inset: 0; border-radius: 12px; display: block; opacity: 0; pointer-events: none; transition: opacity .15s; overflow: hidden; background: #fff; }
.lookv .peek.dk { background: #000; }
.lookv .peek.on { opacity: 1; }
.lookv .peek img { width: 100%; height: 100%; object-fit: contain; object-position: top center; display: block; }
.lookv .peek .tag { position: absolute; left: 12px; top: 12px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(0,0,0,.78); color: #fff; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }

/* the side panel: where the look came from, then the four rows */
.lookv .rail { background: var(--fill); border-radius: 12px; padding: 6px; display: flex; flex-direction: column; gap: 2px; min-height: 0; overflow: auto; scrollbar-width: none; }
.lookv .rail::-webkit-scrollbar { display: none; }
.lookv .src { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; }
.lookv .src .th { width: 64px; height: 40px; flex: none; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px var(--hair); cursor: zoom-in; padding: 0; border: 0; background: var(--fill-2); }
.lookv .src .th img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.lookv .src .mk { width: 40px; height: 40px; flex: none; border-radius: 999px; background: var(--fill-2); color: var(--ink-70); display: grid; place-items: center; }
.lookv .src .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lookv .src .t b { color: var(--ink-100); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lookv .src .t span { color: var(--ink-45); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lookv .note { margin: -2px 8px 6px; color: var(--ink-45); font-size: 11.5px; }
.lookv .note.err { color: #f0a0a0; }
.lookv .base { display: flex; gap: 4px; padding: 0 8px 8px; }
.lookv .base .btn { height: 28px; padding: 0 11px; font-size: 12px; }
.lookv .base .btn.on { background: var(--ink-100); color: #000; box-shadow: none; }
.lookv .hr { height: 1px; background: var(--hair); margin: 2px 8px 4px; flex: none; }
.lookv .prow { border-radius: 8px; transition: background-color .3s; }
.lookv .prow.flash { background: var(--fill-2); transition: none; }
.lookv .ph { width: 100%; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 10px; border: 0; background: none; border-radius: 8px; cursor: pointer; text-align: left; }
.lookv .ph:hover { background: var(--fill); }
.lookv .prow.open .ph { background: none; }
.lookv .ph .k { width: 62px; color: var(--ink-45); flex: none; }
.lookv .ph .val { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; color: var(--ink-100); white-space: nowrap; overflow: hidden; }
.lookv .ph .val .dot { width: 14px; height: 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); flex: none; }
.lookv .ph .pr { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 999px; color: var(--ink-45); flex: none; }
.lookv .ph .pr.rev { color: var(--ink-85); background: var(--fill-2); }
.lookv .ph .pr.rev:hover { background: var(--fill-3); color: var(--ink-100); }
.lookv .ch { display: none; padding: 2px 10px 12px; }
.lookv .prow.open .ch { display: block; }
.lookv .ch .label { display: block; margin-top: 8px; }
.lookv .cnr { width: 18px; height: 18px; border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; flex: none; display: inline-block; }
.lookv .ctiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.lookv .ctile { border: 0; background: var(--fill); border-radius: 8px; height: 58px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink-62); font-size: 11.5px; }
.lookv .ctile:hover { background: var(--fill-2); color: var(--ink-100); }
.lookv .ctile.on { background: var(--ink-100); color: #000; }
.lookv .swatches { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lookv .sw { width: 26px; height: 26px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); position: relative; display: grid; place-items: center; flex: none; }
.lookv .sw.on { box-shadow: 0 0 0 2px var(--ground), 0 0 0 3.5px var(--ink-100); }
.lookv .sw.none { background: linear-gradient(135deg, #fff 0 50%, #111 50% 100%); }
.lookv .sw.own { cursor: default; }
.lookv .sw .rd { position: absolute; right: -3px; top: -3px; width: 12px; height: 12px; border-radius: 999px; background: var(--ink-100); color: #000; display: grid; place-items: center; }
/* the accent picker in the app's own style (2026-11-06, Savva at 20:24): a colour field for saturation and brightness,
   a hue strip, the hex; the handles are white rings; dim until it holds the accent */
.lookv .cpick { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; transition: opacity .2s; }
.lookv .cpick.idle { opacity: .6; }
.lookv .cpick.idle:hover, .lookv .cpick.idle:focus-within { opacity: 1; }
.lookv .cp-sv { position: relative; height: 120px; border-radius: 8px; cursor: crosshair; touch-action: none; background: linear-gradient(to top, #000, rgba(0,0,0,0)), linear-gradient(to right, #fff, hsl(var(--h) 100% 50%)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.lookv .cp-hue { position: relative; height: 12px; border-radius: 999px; cursor: ew-resize; touch-action: none; background: linear-gradient(to right, #f00, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00); }
.lookv .cp-sv i, .lookv .cp-hue i { position: absolute; width: 16px; height: 16px; border-radius: 999px; transform: translate(-50%, -50%); box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(0,0,0,.5); pointer-events: none; }
.lookv .cp-hue i { top: 50%; background: hsl(var(--h) 100% 50%); }
.lookv .cp-sv:focus-visible, .lookv .cp-hue:focus-visible { outline: 1.5px solid rgba(90,170,255,.9); outline-offset: 2px; }
.lookv .cpick .hexin { margin-top: 0; }
.lookv .hexin { margin-top: 10px; display: flex; align-items: center; gap: 8px; height: 32px; border-radius: 999px; background: var(--fill); padding: 0 12px; }
.lookv .hexin i { width: 14px; height: 14px; border-radius: 99px; flex: none; }
.lookv .hexin input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--ink-100); font: inherit; font-variant-numeric: tabular-nums; }
/* 28 fonts: the list scrolls inside the row, fading at its foot */
.lookv .fl { display: flex; flex-direction: column; gap: 2px; max-height: 260px; overflow-y: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); padding-bottom: 20px; }
.lookv .fl::-webkit-scrollbar { display: none; }
.lookv .fl button { flex: none; height: 36px; border: 0; background: none; color: var(--ink-85); border-radius: 999px; display: flex; align-items: center; gap: 10px; padding: 0 12px; cursor: pointer; font-size: 13.5px; }
.lookv .fl button:hover { background: var(--fill); }
.lookv .fl button.on { background: var(--fill-3); color: var(--ink-100); }
.lookv .fl button .s { margin-left: auto; color: var(--ink-45); font-size: 12px; font-variant-numeric: tabular-nums; }
.lookv .fl button .rdf { color: var(--ink-45); display: inline-flex; }
/* a reference to pull the look from, when nothing was attached: a pill field with its two round buttons inside
   (36px pill, 28px buttons, 4px gap: both fully round) */
.lookv .refin { margin: 2px 8px 6px; height: 36px; display: flex; align-items: center; gap: 2px; padding: 0 4px 0 14px; border-radius: 999px; background: var(--fill); }
.lookv .refin:focus-within { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.lookv .refin input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; color: var(--ink-100); font: inherit; }
.lookv .refin input::placeholder { color: var(--ink-45); }
.lookv .refin .ib { width: 28px; height: 28px; color: var(--ink-70); }
.lookv .refin .ib:hover { background: var(--fill-2); color: var(--ink-100); }
.lookv .refin .ring { width: 12px; height: 12px; }
.lookv .src .ib.xs { width: 26px; height: 26px; flex: none; }
/* effort, options and credits, above Build it, where they are spent (2026-11-06: they left the priority map) */
.lookv .rcost { margin-top: auto; padding: 10px 8px 2px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 -1px 0 var(--hair); }
.lookv .rc { display: flex; align-items: center; gap: 8px; }
.lookv .rc .k { width: 54px; color: var(--ink-45); flex: none; }
.lookv .rc .seg button { padding: 0 10px; font-size: 12px; }
.lookv .rc-what { margin: -2px 0 2px 62px; color: var(--ink-45); font-size: 11.5px; line-height: 1.4; }
.lookv .rc-cr { margin-left: auto; color: var(--ink-100); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; cursor: help; }
.lookv .rc-cr[data-tip]:hover::after, .lookv .rc-cr[data-tip]:focus-visible::after { white-space: normal; width: 260px; left: auto; right: 0; transform: none; line-height: 1.45; padding: 8px 10px; }
.lookv .rfoot { display: flex; gap: 6px; padding: 8px; flex-wrap: wrap; }
.lookv .rfoot .main { flex: 1; justify-content: center; }
.lookv .rfoot .ico { width: 34px; padding: 0; justify-content: center; }
.lookv .rfoot .err { flex-basis: 100%; font-size: 12px; }
.lookv .reading { display: flex; align-items: center; gap: 8px; color: var(--ink-62); font-size: 11.5px; }
@media (hover: none) { .lookv kbd { display: none; } }

/* ---------- the live preview: the screen's parts in the chosen look, with the build's theme.css tokens ---------- */
.lookv .lkc { container-type: inline-size; min-width: 0; min-height: 0; }
.lookv .lk { --page: #fff; --ink: #0e0e0e; --muted: #616161; --line: #e7e6e9; --card: #fff; --card-ring: 0 0 0 1px #e7e6e9; --rail: #fafafa;
  --ctl: #fff; --ctl-sh: 0 0 0 1px #e7e6e9, 0 1px 2px rgba(0,0,0,.04); --ctl-in: color-mix(in srgb, #0e0e0e 4.5%, #fff); --field: #fff; --field-ring: 0 0 0 1px #e7e6e9;
  --pop: #fff; --pop-sh: 0 0 0 1px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.10); --row-hover: color-mix(in srgb, #0e0e0e 3%, #fff);
  --up-c: #15803d; --down-c: #c62828; --down-soft: rgba(198,40,40,.07);
  --acc: var(--lk-accent, #0e0e0e); --on: var(--lk-on, #fff); --soft: color-mix(in srgb, var(--acc) 10%, transparent); --acc-t: var(--acc);
  height: 100%; display: grid; grid-template-columns: 176px minmax(0, 1fr); border-radius: 12px; overflow: hidden; background: var(--page); color: var(--ink);
  font: 400 12.5px/1.5 var(--lk-font, 'Sora'), system-ui, sans-serif; transition: background-color .3s var(--ease), color .3s var(--ease); position: relative; }
.lookv .lk.dark { --page: #000; --ink: #fff; --muted: rgba(255,255,255,.62); --line: rgba(255,255,255,.06); --card: color-mix(in oklab, #fff 3%, transparent); --card-ring: 0 0 0 0 transparent; --rail: color-mix(in oklab, #fff 2%, transparent);
  --ctl: color-mix(in oklab, #fff 8%, transparent); --ctl-sh: inset 0 1px 0 0 rgba(255,255,255,.06); --ctl-in: color-mix(in oklab, #fff 8%, transparent); --field: color-mix(in oklab, #fff 3%, transparent); --field-ring: inset 0 1px 0 0 rgba(255,255,255,.04);
  --pop: color-mix(in srgb, #fff 6%, #000); --pop-sh: 0 0 0 1px rgba(255,255,255,.06), 0 16px 40px rgba(0,0,0,.6); --row-hover: rgba(255,255,255,.035);
  --up-c: #34c28a; --down-c: #f07a7a; --down-soft: rgba(240,122,122,.10);
  /* the primary keeps the accent; as text and as a tint it lifts so it reads on black, as the builds do */
  --acc: var(--lk-accent, #fff); --on: var(--lk-on, #000); --soft: color-mix(in srgb, var(--acc) 18%, transparent); --acc-t: color-mix(in srgb, var(--acc) 45%, #fff); }
.lookv .lk.ringed { box-shadow: 0 0 0 1px rgba(255,255,255,.07); }
.lookv .lk * { transition: border-radius .25s var(--ease), background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.lookv .lk svg { flex: none; display: block; }
.lookv .lk-rail { background: var(--rail); box-shadow: inset -1px 0 0 var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lookv .lk-logo { display: flex; align-items: center; gap: 8px; padding: 2px 8px 14px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.lookv .lk-logo i, .lookv .lk-mlogo { width: 18px; height: 18px; border-radius: calc(min(var(--lk-rc), 12px) * .5 + 2px); background: var(--acc); flex: none; }
.lookv .lk-nav { height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: min(var(--lk-rc), 10px); color: var(--muted); white-space: nowrap; overflow: hidden; }
.lookv .lk-nav.on { background: var(--soft); color: var(--acc-t); font-weight: 500; }
.lookv .lk.dark .lk-nav.on { color: var(--ink); }
.lookv .lk-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 0; overflow: hidden; }
.lookv .lk-head { display: flex; align-items: center; gap: 8px; flex: none; }
.lookv .lk-head .lk-mlogo { display: none; }
.lookv .lk-head b { font-weight: 600; font-size: 16px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lookv .lk-btn, .lookv .lk-pri { height: 32px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 14px; border: 0; border-radius: var(--lk-rc); font: inherit; font-weight: 500; white-space: nowrap; cursor: pointer; color: var(--ink); }
.lookv .lk-btn { background: var(--ctl); box-shadow: var(--ctl-sh); }
.lookv .lk-ib { width: 32px; padding: 0; }
.lookv .lk-pri { background: var(--acc); color: var(--on); min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lookv .lk-card .lk-btn { background: var(--ctl-in); box-shadow: none; }
.lookv .lk-av { width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; background: var(--ctl-in); font-size: 11px; font-weight: 500; flex: none; }
.lookv .lk-field { height: 32px; display: inline-flex; align-items: center; gap: 8px; padding: 0 10px 0 12px; border-radius: var(--lk-rc); background: var(--field); box-shadow: var(--field-ring); color: var(--ink); border: 0; font: inherit; cursor: pointer; white-space: nowrap; }
.lookv .lk.dark .lk-field { background: var(--ctl); box-shadow: var(--ctl-sh); }
.lookv .lk-field svg { opacity: .6; }
.lookv .lk-menu { position: relative; }
.lookv .lk-pop { position: absolute; right: 0; top: calc(100% + 6px); background: var(--pop); box-shadow: var(--pop-sh); border-radius: var(--lk-rpop); padding: 4px; min-width: 160px; z-index: 4; display: none; }
.lookv .lk-menu.open .lk-pop { display: block; }
.lookv .lk-pop div { height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; border-radius: max(0px, calc(var(--lk-rpop) - 4px)); cursor: pointer; }
.lookv .lk-pop div:hover { background: var(--row-hover); }
.lookv .lk-pop div.on { color: var(--acc-t); font-weight: 500; }
.lookv .lk-grid { display: grid; grid-template-columns: 1.35fr 1fr 1.15fr; gap: 10px; flex: none; }
.lookv .lk-grid.n2 { grid-template-columns: 1.35fr 1fr; }
.lookv .lk-grid.n1 { grid-template-columns: 1fr; }
.lookv .lk-card { background: var(--card); box-shadow: var(--card-ring); border-radius: var(--lk-rcard); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lookv .lk-ch { display: flex; align-items: center; gap: 6px; min-height: 24px; }
.lookv .lk-ch .t { flex: 1; min-width: 0; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lookv .lk-ch .t.strong { color: var(--ink); font-weight: 500; font-size: 12.5px; }
.lookv .lk-tabs { display: inline-flex; padding: 2px; border-radius: min(calc(var(--lk-rc) + 2px), 999px); background: var(--ctl-in); flex: none; }
.lookv .lk-tabs span { height: 22px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: var(--lk-rc); font-size: 11.5px; color: var(--muted); cursor: pointer; }
.lookv .lk-tabs span.on { background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0,0,0,.05); color: var(--ink); }
.lookv .lk.dark .lk-tabs span.on { background: rgba(255,255,255,.12); box-shadow: none; }
.lookv .lk-big { font-size: 34px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lookv .lk-mid { font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lookv .lk-up { color: var(--up-c); font-variant-numeric: tabular-nums; }
.lookv .lk-sub { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lookv .lk-row { display: flex; align-items: center; gap: 8px; min-height: 34px; box-shadow: 0 1px 0 var(--line); }
.lookv .lk-row:last-child { box-shadow: none; }
.lookv .lk-row .g { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lookv .lk-row .g span { color: var(--muted); font-size: 11.5px; }
.lookv .lk-num { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.lookv .lk-sm { height: 26px; padding: 0 10px; font-size: 12px; }
.lookv .lk-badge { height: 20px; display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; border-radius: min(var(--lk-rc), 6px); font-size: 11px; font-weight: 500; white-space: nowrap; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.lookv .lk-badge.paid { color: var(--acc-t); background: var(--soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 35%, transparent); }
.lookv .lk-badge.fail { color: var(--down-c); background: var(--down-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--down-c) 35%, transparent); }
.lookv .lk-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 600; background: var(--down-soft); color: var(--down-c); flex: none; }
.lookv .lk-table { padding: 6px 14px 4px; flex: 1 1 auto; min-height: 0; overflow: hidden; gap: 0; }
.lookv .lk-th { display: flex; align-items: center; gap: 8px; height: 28px; color: var(--muted); font-size: 11.5px; box-shadow: 0 1px 0 var(--line); }
.lookv .lk-th span, .lookv .lk-table .lk-row > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lookv .lk-table .lk-row { min-height: 42px; }
.lookv .lk-c-text { flex: 1; min-width: 0; }
.lookv .lk-c-first { flex: 1.4; min-width: 0; }
.lookv .lk-c-status { width: 84px; flex: none; }
.lookv .lk-c-money, .lookv .lk-c-number { width: 104px; flex: none; text-align: right; font-variant-numeric: tabular-nums; }
.lookv .lk-c-time { width: 52px; flex: none; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.lookv .lk-c-date { width: 88px; flex: none; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.lookv .lk-table .lk-row .lk-c-text:not(.lk-c-first) { color: var(--muted); }
.lookv .lk-bank { display: inline-flex; align-items: center; gap: 5px; }
.lookv .lk-acts { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }
.lookv .lk-acts .lk-pri { flex: 1; }
/* phone: the same screen at phone width */
@container (max-width: 640px) {
  .lookv .lk { grid-template-columns: 1fr; border-radius: 10px; }
  .lookv .lk-rail { display: none; }
  .lookv .lk-main { padding: 14px; gap: 10px; }
  .lookv .lk-head .lk-mlogo { display: block; width: 20px; height: 20px; }
  .lookv .lk-head .lk-hide-s { display: none; }
  .lookv .lk-grid, .lookv .lk-grid.n2 { grid-template-columns: 1fr; }
  .lookv .lk-s-hide { display: none; }
}
@container (min-width: 641px) and (max-width: 860px) {
  .lookv .lk { grid-template-columns: 56px minmax(0, 1fr); }
  .lookv .lk-nav span, .lookv .lk-logo span { display: none; }
  .lookv .lk-logo, .lookv .lk-nav { justify-content: center; padding: 0; }
  .lookv .lk-logo { padding-bottom: 14px; }
  .lookv .lk-grid { grid-template-columns: 1fr 1fr; } .lookv .lk-grid > :first-child { grid-column: 1 / -1; }
  .lookv .lk-c-time { display: none; }
}

@media (max-width: 900px) {
  main[data-step="look"] { padding: 16px 16px 84px; }
  /* the shell's rise holds a transform, which would pin the fixed footer to the view instead of the screen */
  .lookv { height: auto; min-height: 0; animation-name: lookin; }
  .lookv .head .label { display: none; }
  .lookv h1 { font-size: 20px; }
  .lookv .body { grid-template-columns: 1fr; }
  .lookv .pv { height: auto; }
  .lookv .rail { overflow: visible; }
  .lookv .rfoot { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: rgba(0,0,0,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--hair); z-index: 5; }
}
@keyframes lookin { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lookv *, .lookv *::before, .lookv *::after { transition-duration: 0s !important; } }
