/* HeyShutter's own look for the studio workspace (app.heyshutter.com). Loaded after console.css and
   only on that host. Ink on paper, the photographs supply the color, and red only ever means a person
   marked something. Sentence case everywhere; flat cards with 1px borders; color only for meaning. */

:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --side: #f7f7f7;
  --ink: #0e1013;
  --ink-2: rgba(14, 16, 19, 0.72);
  --muted: rgba(14, 16, 19, 0.6);
  --line: rgba(14, 16, 19, 0.1);
  --line-2: rgba(14, 16, 19, 0.18);
  --hover: rgba(14, 16, 19, 0.04);
  --brand: #0e1013;
  --brand-soft: rgba(14, 16, 19, 0.06);
  --pencil: #e2412f;
  --pencil-text: #c4321f;
  --ok: #1a7f4b; --ok-bg: #e8f4ee;
  --warn: #9a5b00; --warn-bg: #fff4e0;
  --info: #0e1013; --info-bg: rgba(14, 16, 19, 0.06);
  --danger: #c4321f; --danger-bg: #fdecea;
  --serif: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --r: 10px;
  --r-sm: 6px;
  --shadow: none;
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

body.b { font: 14px/20px var(--sans); font-feature-settings: normal; background: var(--bg); }
body.b :focus-visible { outline: 2px solid var(--pencil); outline-offset: 2px; }
body.b h1 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 30px; letter-spacing: -0.01em; }
body.b h2 { font-size: 16px; line-height: 24px; font-weight: 600; }
body.b h3 { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 500; }
body.b .eyebrow, body.b .page-head .eyebrow { font-size: 12px; line-height: 16px; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 400; }
body.b small { font-size: 12px; }
/* No all-caps labels anywhere in this look. */
body.b *, body.b *::before, body.b *::after { text-transform: none !important; }
body.b .i { width: 16px; height: 16px; stroke-width: 1.5; }
body.b .kbd { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 4px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: #fff; font: 500 11px/1 var(--mono); color: var(--ink-2); }

/* ---------- frame ---------- */
body.b .ws { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
body.b .ws.rail { grid-template-columns: 56px minmax(0, 1fr); }
body.b .sb { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; background: var(--side); border-right: 1px solid var(--line); overflow: auto; }
body.b .studio-btn { display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin-bottom: 8px; border-radius: 6px; text-decoration: none; }
body.b .studio-btn:hover { background: var(--hover); }
body.b .studio-btn .mk { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; background: var(--ink); color: #fff; font: 600 11px/1 var(--sans); flex: none; overflow: hidden; }
body.b .studio-btn .mk-logo { background: #fff; border: 1px solid var(--line); }
body.b .studio-btn .mk-logo img { width: 100%; height: 100%; object-fit: contain; }
body.b .studio-btn b { font-weight: 600; font-size: 13px; line-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.b .sb-search { display: flex; align-items: center; gap: 8px; width: 100%; height: 32px; padding: 0 8px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--muted); font: 13px var(--sans); text-align: left; cursor: pointer; }
body.b .sb-search:hover { border-color: var(--line-2); color: var(--ink-2); }
body.b .sb-search .kbd { margin-left: auto; }
body.b .sb-nav { display: grid; gap: 2px; }
body.b .nav-i { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 8px; border-radius: 6px; border: 1px solid transparent; color: var(--ink-2); font-size: 13.5px; font-weight: 500; text-decoration: none; }
body.b .nav-i:hover { background: var(--hover); color: var(--ink); }
body.b .nav-i[aria-current] { background: #fff; border-color: var(--line); color: var(--ink); }
body.b .nav-i .count { margin-left: auto; font: 500 12px/1 var(--sans); font-style: normal; color: var(--pencil-text); font-variant-numeric: tabular-nums; }
body.b .sb-sub { display: grid; gap: 1px; padding: 2px 0 4px 34px; }
body.b .sb-sub a { height: 28px; display: flex; align-items: center; padding: 0 8px; border-radius: 6px; font-size: 13px; color: var(--muted); text-decoration: none; }
body.b .sb-sub a:hover { color: var(--ink); background: var(--hover); }
body.b .sb-sub a[aria-current] { color: var(--ink); font-weight: 500; }
body.b .sb-foot { margin-top: auto; display: grid; gap: 2px; padding-top: 12px; }
body.b .me { display: flex; align-items: center; gap: 10px; padding: 8px 8px 2px; margin-top: 6px; border-top: 1px solid var(--line); }
body.b .me .av { width: 26px; height: 26px; border-radius: 50%; background: #e3e4e6; display: grid; place-items: center; font-size: 10.5px; font-weight: 600; flex: none; }
body.b .me-t { min-width: 0; flex: 1; }
body.b .me-t b { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.b .me-t small { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.b .ib { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
body.b .ib:hover { background: var(--hover); color: var(--ink); }
body.b .ws.rail .sb { padding: 12px 8px; align-items: center; }
body.b .ws.rail .nav-i { width: 40px; justify-content: center; padding: 0; }
body.b .ws.rail .nav-i span, body.b .ws.rail .nav-i .count, body.b .ws.rail .studio-btn b, body.b .ws.rail .sb-search span, body.b .ws.rail .sb-search .kbd, body.b .ws.rail .me-t, body.b .ws.rail .sb-sub { display: none; }
body.b .ws.rail .sb-search { width: 40px; justify-content: center; padding: 0; }
body.b .main { padding: 28px 32px 96px; gap: 24px; max-width: 1280px; }

/* ---------- classic components in the B look ---------- */
body.b .page-head { padding-bottom: 0; }
body.b .page-head .sub { color: var(--ink-2); font-size: 14px; }
body.b .btn { height: 32px; padding: 0 12px; border-radius: 6px; font-size: 13px; font-weight: 500; gap: 6px; box-shadow: none; }
body.b .btn-lg { height: 40px; font-size: 14px; padding: 0 16px; }
body.b .btn-sm { height: 28px; padding: 0 10px; font-size: 12.5px; }
body.b .btn-xs { height: 26px; padding: 0 8px; font-size: 12px; border-radius: 5px; }
body.b .btn-primary { background: var(--ink); color: #fff; }
body.b .btn-primary:hover { background: #262a31; }
body.b .btn-secondary { background: #fff; border-color: var(--line-2); box-shadow: none; }
body.b .btn-secondary:hover { background: var(--hover); border-color: rgba(14, 16, 19, 0.28); }
body.b .btn-danger { background: #fff; color: var(--pencil-text); border-color: var(--line-2); }
body.b .btn-danger:hover { background: var(--danger-bg); }
body.b .pill { height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
body.b .pill::before { width: 6px; height: 6px; margin-right: 6px; }
body.b .pill-o-comp { background: rgba(14, 16, 19, 0.06); color: var(--ink-2); }
body.b .card { border-radius: 10px; box-shadow: none; padding: 16px 18px; }
body.b .card-flush { padding: 0; }
body.b .card-flush > .card-h { padding: 14px 18px 0; }
body.b .card-f { margin: 16px -18px -16px; padding: 12px 18px; }
body.b .flash { border-radius: 8px; box-shadow: var(--shadow-lg); font-size: 13px; }
body.b input, body.b select, body.b textarea { font-family: var(--sans); }
body.b .stat b, body.b .stats b { font-family: var(--sans); font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
body.b table { font-variant-numeric: tabular-nums; }
body.b th { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 12px; color: var(--muted); }
body.b .mark-word { font-family: var(--sans); font-size: 13px; font-weight: 600; }

/* ---------- command palette, shortcut sheet, toasts ---------- */
body.b .scrim { position: fixed; inset: 0; z-index: 80; background: rgba(14, 16, 19, 0.24); display: none; }
body.b .scrim.open { display: block; }
body.b .palette { position: fixed; z-index: 81; left: 50%; top: 16vh; width: min(640px, calc(100vw - 32px)); transform: translateX(-50%); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); overflow: hidden; display: none; }
body.b .palette.open { display: block; animation: bpop 0.16s var(--ease); }
@keyframes bpop { from { opacity: 0; transform: translateX(-50%) translateY(-6px); } }
body.b .palette .q { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-bottom: 1px solid var(--line); }
body.b .palette .q .i { width: 20px; height: 20px; color: var(--muted); }
body.b .palette .q input { flex: 1; height: 40px; padding: 0; border: 0 !important; outline: 0; box-shadow: none !important; font: 15px var(--sans); background: transparent; color: var(--ink); }
body.b .palette .res { max-height: 420px; overflow: auto; padding: 6px; }
body.b .palette .grp { padding: 10px 10px 4px; font-size: 12px; color: var(--muted); }
body.b .palette .it { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; height: 44px; padding: 0 10px; border-radius: 6px; font-size: 13.5px; text-decoration: none; color: var(--ink); }
body.b .palette .it .ic { width: 32px; height: 32px; border-radius: 6px; display: grid; place-items: center; color: var(--ink-2); overflow: hidden; background: rgba(14, 16, 19, 0.04); }
body.b .palette .it .ic img { width: 32px; height: 32px; object-fit: cover; }
body.b .palette .it .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.b .palette .it .sub { color: var(--muted); margin-left: 6px; }
body.b .palette .it .keys { display: flex; gap: 4px; }
body.b .palette .it.sel { background: rgba(14, 16, 19, 0.06); }
body.b .palette .empty { padding: 18px 12px; font-size: 13px; color: var(--muted); }
body.b .palette .foot { display: flex; gap: 16px; flex-wrap: wrap; padding: 8px 14px; border-top: 1px solid var(--line); background: var(--side); font-size: 12px; color: var(--muted); }
body.b .palette .foot span { display: inline-flex; gap: 4px; align-items: center; }
body.b .sheet-keys { position: fixed; z-index: 81; left: 50%; top: 12vh; transform: translateX(-50%); width: min(560px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 20px; display: none; }
body.b .sheet-keys.open { display: block; }
body.b .sheet-keys h3 { font-size: 16px; color: var(--ink); font-weight: 600; margin: 0 0 10px; }
body.b .sheet-keys dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; margin: 0; font-size: 13px; }
body.b .sheet-keys dd { margin: 0; display: flex; gap: 4px; justify-content: flex-end; align-items: center; color: var(--muted); }
body.b .toasts { position: fixed; left: 248px; bottom: 20px; z-index: 85; display: grid; gap: 8px; }
body.b .ws.rail ~ .toasts { left: 72px; }
body.b .toast { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 8px 8px 8px 14px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; box-shadow: var(--shadow-lg); }
body.b .toast button { height: 26px; padding: 0 8px; border: 0; border-radius: 5px; background: rgba(255, 255, 255, 0.14); color: #fff; font: 500 12.5px var(--sans); cursor: pointer; }

/* ---------- sign in on app.heyshutter.com ---------- */
body.b-login { background: var(--side); }
body.b-login .login { min-height: 100vh; width: 100%; max-width: none; margin: 0; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 32px 16px; }
body.b-login .login-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 20px/1 var(--serif); letter-spacing: -0.03em; }
body.b-login .login-card { width: min(400px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; box-shadow: none; }
body.b-login .login-form h1 { font-size: 22px; line-height: 28px; }
body.b-login .login-form .sub { color: var(--ink-2); }
body.b-login .login-foot { font-size: 13px; color: var(--muted); }
body.b-login .login-foot a { color: var(--ink); }

@media (max-width: 860px) {
  body.b .ws { grid-template-columns: minmax(0, 1fr); }
  body.b .sb { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  body.b .sb-nav { display: flex; flex-wrap: wrap; gap: 2px; }
  body.b .sb-foot { margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
  body.b .sb-search { width: auto; margin: 0; }
  body.b .me, body.b .sb-sub { display: none; }
  body.b .main { padding: 20px 16px 80px; }
  body.b .toasts { left: 16px; }
}

/* ---------- Today ---------- */
body.b .t-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
body.b .t-col { display: grid; gap: 28px; min-width: 0; align-content: start; }
body.b .t-sec { display: grid; gap: 10px; }
body.b .t-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
body.b .t-sec-h h2 { display: flex; gap: 6px; align-items: baseline; }
body.b .t-meta { font-size: 12px; line-height: 16px; color: var(--muted); font-weight: 400; }
body.b a.t-meta { text-decoration: none; }
body.b a.t-meta:hover { color: var(--ink); }
body.b .t-rows { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
body.b .t-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 56px; padding: 10px 14px; border-top: 1px solid var(--line); }
body.b .t-row:first-child { border-top: 0; }
body.b .t-row .t-t p:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.b .t-row b { font-weight: 500; }
body.b .t-ic { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: rgba(14, 16, 19, 0.05); color: var(--ink-2); }
body.b .t-calm .t-ic { color: var(--ok); background: var(--ok-bg); }
body.b .t-t { min-width: 0; }
body.b .t-week { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 56px; padding: 10px 14px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
body.b .t-week:first-child { border-top: 0; }
body.b .t-week:hover { background: #fcfcfc; }
body.b .t-week b { font-weight: 500; }
body.b .t-when { font-size: 12px; line-height: 16px; color: var(--muted); }
body.b .t-when b { display: block; font: 600 15px/20px var(--sans); color: var(--ink); }
body.b .t-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
body.b .chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 500; background: rgba(14, 16, 19, 0.06); color: var(--ink-2); white-space: nowrap; }
body.b .chip.ok { background: var(--ok-bg); color: var(--ok); }
body.b .chip.warn { background: var(--warn-bg); color: var(--warn); }
body.b .t-money { padding: 0; }
body.b .t-m { display: grid; gap: 2px; padding: 14px 16px; border-top: 1px solid var(--line); }
body.b .t-m:first-child { border-top: 0; }
body.b .t-m .k { font-size: 13px; color: var(--ink-2); }
body.b .t-m .v { font: 500 28px/32px var(--sans); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; margin: 2px 0; }
body.b .t-now { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
body.b .t-now-img { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; flex: none; }
body.b .live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: 1px; }
body.b .t-feed { display: grid; }
body.b .t-f { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 18px; }
body.b .t-f:first-child { border-top: 0; }
body.b .t-f b { font-weight: 500; }
body.b .t-f .t-meta { white-space: nowrap; }
body.b .t-f-img { width: 28px; height: 28px; border-radius: 4px; object-fit: cover; }
body.b .t-f .thumb-empty, body.b .t-now .thumb-empty { display: grid; place-items: center; background: rgba(14, 16, 19, 0.05); color: var(--muted); }
body.b .t-guide { padding: 14px 16px; display: grid; gap: 2px; }
body.b .t-guide-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
body.b .t-guide-h b { font-weight: 600; display: flex; gap: 6px; align-items: baseline; }
body.b .t-step { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 34px; font-size: 13px; }
body.b .t-step .ck { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
body.b .t-step.done .ck { background: var(--ink); border-color: var(--ink); color: #fff; }
body.b .t-step.done .ck .i { width: 12px; height: 12px; stroke-width: 2.2; }
body.b .t-step.done span:nth-child(2) { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-2); }
body.b .t-later { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; line-height: 16px; color: var(--muted); }
@media (max-width: 1100px) { body.b .t-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- gallery editor ---------- */
body.b .ws-head { gap: 4px; }
body.b .ws-head .back { font-size: 13px; color: var(--muted); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
body.b .ws-head .back:hover { color: var(--ink); }
body.b .ws-title { gap: 14px; }
body.b .ws-title h1 { font-size: 24px; line-height: 30px; }
body.b .ws-title .sub { margin-top: 2px; font-size: 13px; color: var(--ink-2); }
body.b .ws-thumb { width: 48px; height: 48px; border-radius: 6px; }
body.b .tabs { margin-top: 14px; gap: 2px; }
body.b .tabs a { padding: 0 10px; height: 40px; display: inline-flex; align-items: center; font-size: 13px; color: var(--muted); }
body.b .tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
body.b .photos-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
body.b .people { padding: 12px 10px; border-radius: 10px; }
body.b .people-list a { padding: 6px 8px; font-size: 13px; }
body.b .people-list a[aria-current] { background: rgba(14, 16, 19, 0.06); color: var(--ink); font-weight: 500; }
body.b .people-list a[aria-current] small, body.b .people-list a[aria-current] .pcount { color: var(--muted); }
body.b .photo-pane { gap: 14px; padding: 16px 18px; border: 0; padding: 0; background: transparent; }
body.b .pane-head h2 { font-family: var(--sans); font-size: 18px; line-height: 24px; font-weight: 600; }
body.b .pane-head .sub { font-size: 13px; color: var(--ink-2); }
body.b .chips a { height: 30px; padding: 0 12px; border-radius: 15px; font-size: 13px; gap: 6px; }
body.b .chips a[aria-current] { background: var(--ink); color: #fff; }
body.b .chip-tag { font-size: 11px; letter-spacing: 0; color: var(--ink-2); background: rgba(14, 16, 19, 0.06); border-radius: 4px; padding: 1px 6px; }
body.b .chips a[aria-current] .chip-tag { background: rgba(255, 255, 255, 0.16); color: #fff; }
body.b .dropzone { padding: 18px; border-radius: 10px; background: #fff; border-color: rgba(14, 16, 19, 0.2); gap: 4px; font-size: 13px; }
body.b .dropzone .dz-icon { color: var(--muted); }
body.b .dropzone.is-over { border-color: var(--ink); background: rgba(14, 16, 19, 0.03); }
/* Justified rows: every photo keeps its shape, nothing is cropped. */
body.b .pgrid { display: flex; flex-wrap: wrap; gap: 4px; --row: clamp(110px, 12vw, 190px); }
body.b .pgrid::after { content: ""; flex-grow: 1000000; }
body.b .pcell { aspect-ratio: auto; flex-grow: calc(var(--ar, 1.5) * 100); flex-basis: calc(var(--ar, 1.5) * var(--row)); border-radius: 2px; background: #ececec; }
body.b .pcell img { width: 100%; height: auto; aspect-ratio: var(--ar, 1.5); object-fit: cover; display: block; }
body.b .pcell .pstate { display: grid; place-items: center; aspect-ratio: var(--ar, 1.5); font-size: 12px; color: var(--muted); }
body.b .pcell figcaption { left: 6px; right: auto; bottom: 6px; max-width: calc(100% - 12px); padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.6); font: 500 11px/16px var(--mono); opacity: 0; transition: opacity 0.1s; }
body.b .pcell:hover figcaption { opacity: 1; }
body.b .pcell figcaption i { color: #ffd3cd; }
body.b .pcell.is-selected { box-shadow: inset 0 0 0 2px var(--ink); }
body.b .pcell.is-selected img { outline: 2px solid #fff; outline-offset: -4px; }
body.b .pcheck { top: 6px; left: 6px; border-radius: 50%; padding: 3px; background: rgba(255, 255, 255, 0.92); }
/* The select bar floats at the bottom like the rest of HeyShutter. */
body.b .selbar { position: fixed; top: auto; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 40; width: max-content; max-width: calc(100vw - 32px); padding: 6px 8px 6px 14px; gap: 6px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: 13px; }
body.b .selbar[hidden] { display: none !important; }
body.b .selbar select { height: 30px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); }
body.b .selbar .btn-danger { background: transparent; color: #ff9b8f; border-color: rgba(255, 155, 143, 0.4); }
/* Uploads keep going in a tray in the corner; nothing blocks the page. */
body.b .uploads { position: fixed; right: 20px; bottom: 20px; z-index: 41; width: 340px; max-height: 50vh; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: 12.5px; }
body.b .uploads[hidden] { display: none !important; }
@media (max-width: 1000px) { body.b .photos-layout { grid-template-columns: minmax(0, 1fr); } body.b .people { position: static; max-height: none; } }
body.b .pick-mark { position: absolute; left: 5%; top: 6%; width: 90%; height: 88%; overflow: visible; pointer-events: none; z-index: 1; }
body.b .pick-mark path { fill: none; stroke: var(--pencil); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
body.b .pcell.is-hidden img { opacity: 0.35; }
body.b .hidden-tag { position: absolute; top: 6px; right: 6px; padding: 1px 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 11px; }
body.b .pick-mark { display: block; }

/* ---------- cull: always the dark neutral room ---------- */
body.b.cull { background: #121212; overflow: hidden; }
body.b.cull .room { position: fixed; inset: 0; background: #121212; color: #e9e9e9; display: grid; grid-template-rows: 52px minmax(0, 1fr) 104px 48px; }
body.b.cull .room-top { display: flex; align-items: center; gap: 14px; padding: 0 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 13px; white-space: nowrap; overflow: hidden; }
body.b.cull .room-top a { color: rgba(255, 255, 255, 0.6); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
body.b.cull .room-top a:hover { color: #fff; }
body.b.cull .room-top b { color: #fff; font-weight: 600; }
body.b.cull .room-where { color: rgba(255, 255, 255, 0.5); overflow: hidden; text-overflow: ellipsis; }
body.b.cull .room-top .right { margin-left: auto; display: flex; gap: 8px; }
body.b.cull .kbd { background: transparent; border-color: rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.7); }
body.b.cull .toggle { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.78); font: 12.5px var(--sans); background: transparent; cursor: pointer; }
body.b.cull .toggle:hover { border-color: rgba(255, 255, 255, 0.24); color: #fff; }
body.b.cull .toggle .sw { width: 22px; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.18); position: relative; }
body.b.cull .toggle .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: #fff; transition: transform 0.16s var(--ease); }
body.b.cull .toggle.on .sw { background: #4d9d72; }
body.b.cull .toggle.on .sw::after { transform: translateX(10px); }
body.b.cull .stage { display: grid; grid-template-columns: minmax(0, 1fr) 216px; min-height: 0; }
body.b.cull .stage.nofaces { grid-template-columns: minmax(0, 1fr) 0; }
body.b.cull .stage.nofaces .faces { display: none; }
body.b.cull .frame-box { position: relative; min-height: 0; overflow: hidden; cursor: zoom-in; }
body.b.cull .frame-box img { position: absolute; left: 20px; top: 16px; width: calc(100% - 40px); height: calc(100% - 32px); object-fit: contain; transition: transform 0.24s var(--ease), opacity 0.16s; }
body.b.cull .frame-box.zoom img { transform: scale(2.2); cursor: zoom-out; }
body.b.cull .frame-box.rej img { opacity: 0.3; }
body.b.cull .frame-box .xmark { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: none; }
body.b.cull .frame-box.rej .xmark { display: block; }
body.b.cull .frame-box .xmark line, body.b.cull .strip .xm line { stroke: rgba(255, 255, 255, 0.5); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
body.b.cull .frame-flag { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); display: none; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 14px; background: rgba(0, 0, 0, 0.6); font-size: 12.5px; }
body.b.cull .frame-flag.show { display: inline-flex; }
body.b.cull .frame-flag i { width: 8px; height: 8px; border-radius: 50%; background: var(--pencil); }
body.b.cull .faces { border-left: 1px solid rgba(255, 255, 255, 0.07); padding: 14px 12px; display: grid; gap: 10px; align-content: start; overflow: hidden; }
body.b.cull .faces .lbl { font-size: 12px; color: rgba(255, 255, 255, 0.5); display: flex; justify-content: space-between; gap: 8px; white-space: nowrap; }
body.b.cull .faces .list { display: grid; gap: 10px; }
body.b.cull .faces .none { font-size: 12px; color: rgba(255, 255, 255, 0.45); }
body.b.cull .face { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: #222; }
body.b.cull .face img { position: absolute; max-width: none; }
body.b.cull .strip { display: flex; gap: 8px; align-items: center; padding: 14px 18px; overflow-x: auto; overflow-y: hidden; border-top: 1px solid rgba(255, 255, 255, 0.07); scrollbar-width: none; }
body.b.cull .strip::-webkit-scrollbar { display: none; }
body.b.cull .strip .s { position: relative; height: 72px; width: calc(72px * var(--ar, 1.5)); flex: none; cursor: pointer; }
body.b.cull .strip .s img { height: 72px; width: 100%; object-fit: cover; border-radius: 2px; opacity: 0.86; }
body.b.cull .strip .s.cur img { opacity: 1; outline: 2px solid #fff; outline-offset: 2px; }
body.b.cull .strip .s.rej img { opacity: 0.3; }
body.b.cull .strip .xm { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
body.b.cull .strip .s.rej .xm { display: block; }
body.b.cull .strip .pick { position: absolute; inset: -6px -7px; width: calc(100% + 14px); height: calc(100% + 12px); overflow: visible; pointer-events: none; display: none; }
body.b.cull .strip .s.pk .pick { display: block; }
body.b.cull .strip .pick path { fill: none; stroke: var(--pencil); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
body.b.cull .strip .s.pk.fresh .pick path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: bdraw 0.22s var(--ease) forwards; }
@keyframes bdraw { to { stroke-dashoffset: 0; } }
body.b.cull .room-foot { display: flex; align-items: center; gap: 16px; padding: 0 18px; border-top: 1px solid rgba(255, 255, 255, 0.07); background: #0d0d0d; font-size: 12.5px; color: rgba(255, 255, 255, 0.62); white-space: nowrap; overflow: hidden; }
body.b.cull .room-foot .mono { font-family: var(--mono); color: rgba(255, 255, 255, 0.78); }
body.b.cull .room-foot .tally b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
body.b.cull .room-foot .save-state { color: rgba(255, 255, 255, 0.45); }
body.b.cull .room-foot .acts { margin-left: auto; display: flex; gap: 14px; align-items: center; }
body.b.cull .room-foot .acts button, body.b.cull .room-foot .acts a { all: unset; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
body.b.cull .room-foot .acts button:hover, body.b.cull .room-foot .acts a:hover { color: #fff; }
body.b.cull .room-foot .acts .done { color: #fff; }
body.b.cull .room-empty { display: grid; place-content: center; justify-items: center; gap: 12px; color: rgba(255, 255, 255, 0.7); }
@media (max-width: 1100px) { body.b.cull .room-foot [data-time], body.b.cull .room-foot .long, body.b.cull .room-where { display: none; } }

/* ---------- founders console (console.heyshutter.com) ---------- */
body.b .sb-note { margin: 14px 8px 0; font-size: 12px; line-height: 16px; color: var(--muted); }
body.b .pbig { display: grid; grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; background: #fff; }
body.b .pbig.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.b .pbig .m { display: grid; gap: 2px; align-content: start; padding: 16px 18px; border-left: 1px solid var(--line); min-width: 0; }
body.b .pbig .m:first-child { border-left: 0; }
body.b .pbig .k { font-size: 13px; color: var(--ink-2); }
body.b .pbig .v { font: 500 28px/32px var(--sans); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; margin: 4px 0 2px; }
body.b .pbig:not(.four) .m:first-child .v { font-size: 36px; line-height: 40px; }
body.b .pbar { display: block; height: 4px; margin-top: 8px; border-radius: 2px; background: rgba(14, 16, 19, 0.08); overflow: hidden; }
body.b .pbar i { display: block; height: 100%; background: var(--ink); }
body.b .pbar i.warn { background: var(--warn); }
body.b .pmk { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; background: #2f3a46; color: #fff; font: 600 11px/1 var(--sans); flex: none; }
body.b .pmk.sm { width: 22px; height: 22px; border-radius: 5px; font-size: 10px; }
body.b .prow { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 56px; padding: 10px 14px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
body.b .prow:first-child { border-top: 0; }
body.b .prow:hover { background: #fcfcfc; }
body.b .prow b { font-weight: 500; }
body.b .pright { display: grid; justify-items: end; gap: 4px; }
body.b .pplan { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
body.b .pplan .v { font-size: 20px; line-height: 24px; margin: 0; }
body.b .pf { grid-template-columns: 22px minmax(0, 1fr) auto; }
body.b .pkv { padding: 4px 16px; }
body.b .pkv > div { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
body.b .pkv > div:first-child { border-top: 0; }
body.b .pkv > div > span:first-child { color: var(--ink-2); }
body.b .pkv b { font-weight: 500; color: var(--ink); display: block; }
body.b .pkv a { color: var(--ink); }
body.b .pstudio { display: flex; align-items: center; gap: 12px; }
body.b .psearch { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; min-width: 260px; }
body.b .psearch input { border: 0 !important; outline: 0; box-shadow: none !important; height: 30px; padding: 0; flex: 1; background: transparent; font: 13px var(--sans); }
body.b .ptable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
body.b .ptable { width: 100%; border-collapse: collapse; font-size: 13px; }
body.b .ptable th { position: sticky; top: 0; background: var(--side); text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
body.b .ptable td { padding: 8px 12px; border-top: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
body.b .ptable tr:first-child td { border-top: 0; }
body.b .ptable .r { text-align: right; }
body.b .ptable tbody tr:hover { background: #fcfcfc; }
body.b .pname { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
body.b .pname b { font-weight: 500; display: block; }
body.b .pname small { color: var(--muted); }
body.b .chip.bad { background: #fdecea; color: var(--pencil-text); }
@media (max-width: 1100px) { body.b .pbig, body.b .pbig.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } body.b .pbig .m { border-left: 0; border-top: 1px solid var(--line); } body.b .pbig .m:first-child { grid-column: 1 / -1; border-top: 0; } }

/* Sign-up (app.heyshutter.com/signup): a little wider than sign-in, errors under each field. */
body.b-login .login-card:has(.signup-form) { width: min(460px, calc(100vw - 32px)); }
body.b-login .signup-form { gap: 6px; }
body.b-login .signup-form .field small { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 17px; }
body.b-login .signup-form .field small.field-error { color: var(--danger); }
body.b-login .signup-form .cf-turnstile { min-height: 65px; margin: 4px 0 6px; }
body.b-login .signup-form .stack-form { display: grid; gap: 10px; margin-bottom: 8px; }
body.b-login .signup-form .code-input { font: 600 24px/1 var(--mono); letter-spacing: .35em; text-align: center; }
body.b-login .signup-fine { text-align: center; margin-top: 8px; }
body.b-login .signup-agree { margin: 8px 0 2px; font-size: 13.5px; line-height: 19px; color: var(--ink-2, inherit); }
body.b-login .signup-agree a { color: inherit; text-decoration: underline; }
body.b-login .signup-form > .field-error { display: block; color: var(--danger); font-size: 12.5px; margin-bottom: 4px; }
