@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap");

/* FoodyBot brand, the same tokens as FoodyBot Production (~/zaucersuite
   src/app/globals.css) and FoodyBot POS: orange on charcoal, "ink" neutrals,
   tight radius. Always dark, like them. */
:root {
  color-scheme: dark;
  --bg: #101018;
  --card: #16161f;
  --card-2: #1e1e29;
  --fg: #f5f1ea;
  --muted: #8a8a9c;
  --line: #2a2a37;
  --line-strong: #3a3a4a;
  --accent: #f87000;
  --accent-fg: #0b0b10;
  --accent-hover: #ff8a2a;
  --accent-soft: rgba(248, 112, 0, 0.14);
  --link: #ffa75c;
  --ok: #22c55e;
  --warn: #eab308;
  --bad: #ef4444;
  --placeholder: #5b5b6e;
  --radius: 6px;
  --radius-field: 9px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
::selection { background: rgba(248, 112, 0, 0.4); color: #f5f1ea; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 14px/1.45 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 760px; margin: 0 auto; padding: 20px 16px 48px; }
h1 { font-size: 1.5rem; margin: 8px 0 16px; }
h2 { font-size: 1.1rem; margin: 24px 0 8px; }
.muted { color: var(--muted); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin: 12px 0;
}
label { display: block; font-weight: 600; margin: 14px 0 6px; }
input, select, button { font: inherit; }
input, select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--fg);
}
button {
  padding: 9px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg);
  cursor: pointer;
}
button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); font-weight: 600; width: 100%; margin-top: 18px; }
button:hover:not(:disabled) { background: var(--card-2); border-color: var(--line-strong); }
button.primary:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); }
input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
::placeholder { color: var(--placeholder); }
a { color: var(--link); }
select option { background: var(--card); color: var(--fg); }
/* phones: 16px fields so iOS doesn't zoom in */
@media (max-width: 640px) { input, select, textarea { font-size: 16px; } }
button.danger { color: var(--bad); }
button:disabled { opacity: 0.5; cursor: default; }
.error { color: var(--bad); margin-top: 10px; }
.code { font-family: var(--mono); font-size: 1.6rem; letter-spacing: 0.06em; }
.boards { display: grid; gap: 8px; }
.board-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 400;
  margin: 0;
}
.board-option input { width: auto; }
.board-option .name { flex: 1; }
.pill { font-size: 0.8rem; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.pill.exact, .pill.fits, .pill.online { color: var(--ok); border-color: var(--ok); }
.pill.letterbox, .pill.disabled { color: var(--warn); border-color: var(--warn); }
.pill.offline { color: var(--muted); }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row .grow { flex: 1; min-width: 160px; }
.screen-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.match { font: 700 3.5rem/1 var(--mono); margin: 4px 0 12px; letter-spacing: 0.04em; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; }
.choices button { font: 700 2rem/1 var(--mono); padding: 18px 0; }

/* ---------- brand + studio ---------- */
main.wide { max-width: 1180px; }
nav.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 16px; }
nav.tabs a { padding: 6px 12px; border-radius: var(--radius); border: 1px solid transparent; color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
nav.tabs a:hover { background: rgba(30, 30, 41, 0.5); color: var(--fg); }
nav.tabs a.on { background: var(--card-2); color: var(--fg); border-color: var(--line); }
.section-title { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 22px 0 4px; }
.help { color: var(--muted); font-size: 0.9rem; margin: 2px 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--card); color: var(--fg); padding: 8px 12px; border-radius: 999px; cursor: pointer; font: inherit; }
.chip small { color: var(--muted); margin-left: 4px; }
.chip.on { background: var(--accent-soft); border-color: var(--accent); color: var(--link); }
.chip.on small { color: var(--link); }
.chip.sub { font-size: 0.9rem; padding: 6px 10px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.swatch { display: grid; gap: 4px; justify-items: center; font-size: 0.8rem; color: var(--muted); }
.swatch input[type=color] { width: 54px; height: 54px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: none; cursor: pointer; }
.dot { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line); display: inline-block; }
.uploads { display: flex; gap: 10px; flex-wrap: wrap; }
.upload { position: relative; width: 112px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.upload img { width: 100%; height: 84px; object-fit: contain; display: block; background: repeating-conic-gradient(#0001 0 25%, #0000 0 50%) 0 0/12px 12px; }
.upload .pal { display: flex; height: 10px; }
.upload .pal span { flex: 1; }
.upload button { position: absolute; top: 4px; right: 4px; padding: 0 7px; border-radius: 999px; font-size: 0.8rem; }
.filebtn { display: inline-flex; align-items: center; justify-content: center; width: 112px; height: 94px; border: 1px dashed var(--line); border-radius: var(--radius); cursor: pointer; color: var(--muted); text-align: center; font-weight: 400; margin: 0; }
.filebtn input { display: none; }
textarea { width: 100%; min-height: 90px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--fg); font: inherit; resize: vertical; }
.fontpair { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-top: 10px; }
.fontpair .d { font-size: 2rem; line-height: 1.1; }
.fontpair .b { margin-top: 6px; }
.sticky-actions { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 30%); padding: 18px 0 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.sticky-actions button.primary { width: auto; margin: 0; }
.designs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.design { background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.design .shot { background: #000; display: flex; justify-content: center; align-items: center; aspect-ratio: 16/10; overflow: hidden; cursor: zoom-in; }
.design .shot img { max-width: 100%; max-height: 100%; display: block; }
.design .body { padding: 12px 14px; display: grid; gap: 6px; flex: 1; }
.design .body h3 { margin: 0; font-size: 1.05rem; display: flex; gap: 6px; align-items: center; }
.design .row2 { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.design .row2 button { padding: 7px 10px; }
.star { background: none; border: 0; font-size: 1.3rem; cursor: pointer; padding: 0 4px; color: var(--muted); }
.star.on { color: var(--accent); }
.progress { display: grid; gap: 4px; font-size: 0.95rem; }
.progress .live::after { content: ' …'; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
@media (max-width: 860px) { .editor { grid-template-columns: 1fr; } }
.stage { background: #000; border-radius: 8px; overflow: hidden; position: relative; }
.stage iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #000; }
.issues { font-size: 0.85rem; color: var(--warn); margin: 0; padding-left: 18px; }
.ok { color: var(--ok); font-size: 0.9rem; }
dialog { border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--fg); max-width: min(1180px, 96vw); width: 100%; padding: 18px; }
dialog::backdrop { background: #0008; }
.rot { display: grid; gap: 8px; }
.rot .r { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.rot .r .grow { flex: 1; min-width: 140px; }
.warnbox { border: 1px solid var(--warn); color: var(--warn); border-radius: var(--radius); padding: 10px 12px; margin: 10px 0; }

/* quick view, pause, reject */
.design.paused .shot img { filter: grayscale(1) blur(1.5px); opacity: 0.75; }
.design.paused .body { opacity: 0.6; }
.design .shot { position: relative; }
.design .shot .zoom { position: absolute; right: 8px; bottom: 8px; background: #000a; color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 0.8rem; pointer-events: none; }
.design.paused .shot::after { content: 'Paused'; position: absolute; top: 8px; left: 8px; background: #000c; color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 0.8rem; }
dialog.quick { max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; padding: 0; border: 0; border-radius: 0; background: #070707f7; color: #fff; }
dialog.quick .qv { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; }
dialog.quick .qbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; }
dialog.quick .qbar h2 { margin: 0; font-size: 1.1rem; }
dialog.quick .qbar button { background: #ffffff1a; color: #fff; border-color: #ffffff33; }
dialog.quick .qstage { display: grid; place-items: center; overflow: hidden; }
dialog.quick .stage { border-radius: 6px; box-shadow: 0 10px 40px #000; }
dialog.quick .nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2rem; padding: 6px 16px; background: #ffffff1a; color: #fff; border: 1px solid #ffffff33; border-radius: 999px; }
dialog.quick .prev { left: 12px; } dialog.quick .next { right: 12px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: var(--radius); display: flex; gap: 12px; align-items: center; z-index: 10; box-shadow: 0 6px 24px #0005; }
.toast button { background: transparent; color: var(--bg); border-color: currentColor; padding: 4px 10px; }
.pill.asleep { color: #a78bfa; border-color: #a78bfa; }
.rot .r.now { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.board-row { border-top: 1px solid var(--line); padding: 10px 0; }
.board-row:first-of-type { border-top: 0; }
.board-row .chips { flex-wrap: wrap; }

/* Boards + Menu tabs */
.styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.style { display: grid; gap: 4px; text-align: left; padding: 6px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--fg); cursor: pointer; font: inherit; }
.style.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
.style .shot { aspect-ratio: 4/5; background: #000; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.style .shot img { max-width: 100%; max-height: 100%; }
.style .label { font-weight: 600; font-size: 0.9rem; }
.style small { color: var(--muted); font-size: 0.75rem; }
.slice-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0; border-top: 1px solid var(--line); }
.slice-row:first-child { border-top: 0; }
.design.board .shot { aspect-ratio: 4/5; cursor: default; }
.design .placeholder { color: var(--muted); font-size: 0.9rem; padding: 0 24px; text-align: center; }
.design .facts { display: grid; gap: 2px; font-size: 0.9rem; }
.design .facts b { display: inline-block; width: 4.6em; color: var(--muted); font-weight: 500; }
.design h3 .link, button.link { background: none; border: 0; color: var(--accent); padding: 0 4px; font-size: 0.8rem; cursor: pointer; width: auto; margin: 0; }
.on-screens { display: flex; flex-wrap: wrap; gap: 4px; }
details.warn summary { color: var(--warn); cursor: pointer; font-size: 0.9rem; }
.conn { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-top: 8px; }
.conn.ok { border-left: 4px solid var(--ok); }
.conn.bad { border-left: 4px solid var(--warn); }
.menu-section .groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-top: 10px; }
.group { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin-top: 10px; }
.groups .group { margin-top: 0; }
.item { display: flex; flex-wrap: wrap; column-gap: 12px; align-items: baseline; padding: 5px 0; border-top: 1px dashed var(--line); font-size: 0.95rem; }
.item .grow { flex: 1 1 14em; }
.item.off { opacity: 0.55; }
.item .price { margin-left: auto; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.item .pill, .item .tag { margin-left: 6px; }
.tag { font-size: 0.72rem; color: var(--ok); border: 1px solid var(--ok); border-radius: 999px; padding: 0 6px; }
a.button { display: inline-block; border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; color: var(--fg); text-decoration: none; background: var(--card); white-space: nowrap; }
a.button:hover { border-color: var(--accent); }

/* TapBot: Taps tab (tapbot/service/portal/taps.html). Variables only. */
.tap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 8px; }
.tap { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: var(--card); display: grid; gap: 6px; align-content: start; }
/* Kicked and 86'd: no coloured bar (Aaron 2026-11-20), the corner pill says it; just a quieter card. */
.tap.kicked, .tap.out { background: var(--bg); }
.tap .num { font-family: var(--mono); color: var(--muted); font-size: 0.85rem; }
.tap { min-width: 0; }
.tap > * { min-width: 0; }
.tap .actions { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.tap .actions button { width: auto; margin: 0; flex: none; }
.tap .actions select { flex: 1 1 140px; min-width: 0; width: auto; margin: 0; }
.tap details > summary { color: var(--muted); font-size: 0.85rem; cursor: pointer; }
.tap details[open] > summary { margin-bottom: 6px; }
.level { height: 6px; border-radius: 999px; background: var(--card-2); overflow: hidden; }
.level > span { display: block; height: 100%; background: var(--accent); }
.pill.bad { color: var(--bad); border-color: var(--bad); }

/* ---------- product front door (MenuBot / TapBot) ---------- */
.brandbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 0 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.brandbar .brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--fg); }
.brandbar .brand img { height: 38px; width: auto; display: block; }
.brandbar .brand span { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brandbar .switch { display: flex; gap: 8px; flex-wrap: wrap; }
.brandbar .switch a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--radius); }
.brandbar .switch a:hover { color: var(--fg); border-color: var(--line-strong); background: var(--card-2); }

/* ---------- sidebar, like FoodyBot Production (wider screens) ---------- */
aside.sidebar { display: none; }
@media (min-width: 900px) {
  body.has-sidebar { display: flex; align-items: flex-start; }
  body.has-sidebar > main { flex: 1 1 auto; min-width: 0; padding-top: 24px; }
  body.has-sidebar .brandbar, body.has-sidebar main nav.tabs { display: none; }
  aside.sidebar { display: flex; position: sticky; top: 0; height: 100vh; flex-shrink: 0; background: var(--bg); }
  aside.sidebar .rail { width: 56px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 0; border-right: 1px solid var(--line); overflow-y: auto; }
  aside.sidebar .rail a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); color: var(--muted); text-decoration: none; }
  aside.sidebar .rail a:hover { background: rgba(30, 30, 41, 0.5); color: var(--fg); }
  aside.sidebar .rail a.on { background: var(--card-2); color: var(--fg); }
  aside.sidebar .rail img { width: 26px; height: 26px; object-fit: contain; }
  aside.sidebar .head .venue.wrap { white-space: normal; }
  aside.sidebar .rail-sep { width: 24px; height: 1px; background: var(--line); margin: 6px 0; }
  aside.sidebar .rail .letter { font-weight: 700; font-size: 1.05rem; }
  aside.sidebar .pages { width: 184px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
  aside.sidebar .head { padding: 12px; border-bottom: 1px solid var(--line); }
  aside.sidebar .head .brand { display: inline-flex; align-items: center; color: var(--fg); text-decoration: none; }
  aside.sidebar .head .brand img { height: 32px; width: auto; display: block; }
  aside.sidebar .head .brand span { font-weight: 600; font-size: 0.95rem; }
  aside.sidebar .head .venue { color: var(--muted); font-size: 0.8rem; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  aside.sidebar nav { display: flex; flex-direction: column; gap: 2px; padding: 8px; flex: 1; overflow-y: auto; }
  aside.sidebar nav a { padding: 7px 10px; border-radius: var(--radius); color: var(--muted); text-decoration: none; font-size: 0.93rem; font-weight: 500; }
  aside.sidebar nav a:hover { background: rgba(30, 30, 41, 0.5); color: var(--fg); }
  aside.sidebar nav a.on { background: var(--card-2); color: var(--fg); }
  aside.sidebar nav .sub { display: flex; flex-direction: column; gap: 1px; margin: 0 0 4px 10px; padding-left: 8px; border-left: 1px solid var(--line); }
  aside.sidebar nav .sub a { font-size: 0.86rem; padding: 5px 8px; }
  aside.sidebar .foot { padding: 10px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body.has-sidebar .topbar #who { display: none; }
}
dialog.quick img.zoomed { max-width: calc(100vw - 140px); max-height: calc(100vh - 130px); object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px #000; display: block; }

/* Form dialog (TapBot beer editor; reusable): fixed head/foot, scrolling body, full screen on phones. */
dialog.form { max-width: 640px; padding: 0; max-height: 90vh; max-height: 90dvh; }
dialog.form[open] { display: flex; flex-direction: column; }
dialog.form .dlg-head { padding: 14px 18px 10px; border-bottom: 1px solid var(--line); }
dialog.form .dlg-body { padding: 4px 18px 16px; overflow-y: auto; flex: 1 1 auto; min-height: 0; }
dialog.form .dlg-body:focus-visible { outline: none; } /* Chrome focuses the scroll area on open */
dialog.form .dlg-foot { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
dialog.form .dlg-foot button { width: auto; margin: 0; }
@media (max-width: 640px) {
  dialog.form { max-width: 100vw; width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border: 0; border-radius: 0; }
}

/* Picking from search results and images (TapBot's Tapestry suggestions; reusable). */
.pick-list { display: grid; gap: 8px; margin: 8px 0; }
.pick { display: flex; gap: 10px; align-items: center; width: 100%; margin: 0; padding: 8px; text-align: left; font: inherit; background: var(--card); }
.pick[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.pick img, .pick .ph { width: 48px; height: 48px; flex: none; object-fit: contain; border-radius: var(--radius); background: var(--bg); }
.pick .ph { border: 1px dashed var(--line); }
.pick .meta { min-width: 0; flex: 1 1 auto; }
.pick .meta small { display: block; color: var(--muted); overflow-wrap: anywhere; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin: 8px 0; }
.pick-grid .pick { flex-direction: column; align-items: stretch; gap: 4px; padding: 6px; font-size: 12px; }
.pick-grid .pick img, .pick-grid .pick .ph { width: 100%; height: 88px; }
.compare { width: 100%; border-collapse: collapse; font-size: 13px; margin: 8px 0; }
.compare th, .compare td { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.compare th { color: var(--muted); font-weight: 600; }
.compare input[type="checkbox"] { width: auto; margin: 0; }
/* A wrapping list row (TapBot's Breweries list; reusable): the name keeps a usable width, the rest wraps below it on phones. */
.list-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.list-row .name { flex: 1 1 180px; min-width: 0; }
.list-indent { padding: 0 0 8px 44px; }
@media (max-width: 640px) { .list-indent { padding-left: 8px; } }
/* Stand-in for a missing logo: the name's initial in a muted tile (reads as "no image yet", not a broken one). */
.initial-tile { width: 36px; height: 36px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--card-2); color: var(--muted); font-weight: 700; }

/* ---------- moodboards ---------- */
.mood { background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }
.mood:hover { border-color: var(--line-strong); }
.mood .collage { display: grid; gap: 2px; aspect-ratio: 4/3; background: var(--card-2); }
.mood .collage.n1 { grid-template-columns: 1fr; }
.mood .collage.n2 { grid-template-columns: 1fr 1fr; }
.mood .collage.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.mood .collage.n3 img:first-child { grid-row: span 2; }
.mood .collage.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.mood .collage img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; }
.mood .collage .placeholder { display: grid; place-items: center; color: var(--muted); font-size: 0.9rem; }
.mood .body { padding: 12px 14px 14px; }
.mood h3 { margin: 0 0 6px; font-size: 1rem; }
.mood .words { margin: 6px 0 0; color: var(--fg); font-size: 0.9rem; }
.mood .dots { display: flex; gap: 4px; }
.mood .dots .dot { width: 16px; height: 16px; border-radius: 4px; }
.pics { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.pics .pic { position: relative; width: 96px; height: 96px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card-2); padding: 0; }
.pics .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pics .pic button { position: absolute; top: 3px; right: 3px; padding: 0 7px; border-radius: 999px; font-size: 0.85rem; line-height: 1.4; }
.pics .filebtn { width: 96px; height: 96px; }
.pics.small .pic { width: 64px; height: 64px; cursor: copy; }
.pics.small .pic:hover { border-color: var(--accent); }

/* Sign-in: a narrow card, not the full page width */
.card.signin { max-width: 420px; margin: 48px auto 12px; }
.card.signin button.primary { margin-top: 14px; }

[hidden] { display: none !important; }
