@font-face {
  font-family: Geist;
  src: url("fonts/geist-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --background: #ffffff;
  --foreground: #09090b;
  --canvas: #fafafa;
  --surface: #ffffff;
  --text: #09090b;
  --muted: #71717a;
  --muted-foreground: #71717a;
  --line: #e4e4e7;
  --border: #e4e4e7;
  --hover: #f4f4f5;
  --accent: #18181b;
  --accent-soft: #f4f4f5;
  --sidebar: #fafafa;
  --sidebar-foreground: #3f3f46;
  --sidebar-accent: #f4f4f5;
  --sidebar-accent-foreground: #18181b;
  --sidebar-border: #e4e4e7;
  font-family: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; min-height: 100dvh; }
button, a, input, summary { touch-action: manipulation; }
a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.sr-only, .skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; margin: 0; clip: auto; background: white; padding: 8px 12px; z-index: 80; }

h1 { font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.04em; font-weight: 600; margin: 0 0 8px; }
h2 { font-size: 1rem; letter-spacing: -0.02em; font-weight: 600; margin: 1.6rem 0 0.6rem; }
h3 { font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin: 1.1rem 0 0.35rem; }
p { line-height: 1.6; }
.kicker { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.lede { color: var(--muted); max-width: 68ch; }
.muted, .hint, .muted a { color: var(--muted); }
.hint { font-size: 13px; }
.count { color: var(--muted); font-weight: 500; }
code { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }

#app { display: none; }
html.authed #lock { display: none; }
html.authed, html.authed body { height: 100%; overflow: hidden; }
html.authed #app { display: flex; height: 100svh; }

.lock {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  background: var(--bg);
}
.page-lock { min-height: calc(100svh - 140px); display: grid; place-items: center; padding: 24px 0; }
.lock form, .page-lock form {
  width: min(380px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}
.lock label, .page-lock label { display: block; margin: 18px 0 6px; font-size: 13px; font-weight: 500; }
.lock input, .lock button, .page-lock input, .page-lock button, #table-filter, .filterbar input, #graph-query {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  padding: 8px 10px;
}
.lock input:focus, .page-lock input:focus, #table-filter:focus, .filterbar input:focus, #graph-query:focus {
  outline: none;
  border-color: var(--text);
}
.lock button, .page-lock button {
  background: var(--text);
  color: white;
  border: 0;
  border-radius: 6px;
  padding: 8px 12px;
  font-weight: 500;
  cursor: pointer;
}
.lock button, .page-lock button { margin-top: 12px; }
.lock button:hover, .page-lock button:hover { background: #000; }
.lock-error { color: #b91c1c; min-height: 1.2em; }
.noscript { padding: 24px; }

.shell {
  display: flex;
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 100%;
  background: var(--sidebar);
}
.sidebar {
  width: 18rem;
  flex: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 8px 8px 0;
  color: var(--sidebar-foreground);
  background: var(--sidebar);
}
.side-head, .side-search { flex: none; }
.side-search { padding-bottom: 8px; }
.side-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  min-height: 48px;
  padding: 4px 8px;
}
.brand:hover { background: var(--sidebar-accent); }
.brand-mark {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--foreground);
  color: white;
}
.brand-mark svg { width: 16px; height: 16px; }
.brand-mark.house {
  background: transparent;
  overflow: hidden;
}
.brand-mark.house img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-copy { min-width: 0; }
.brand-copy strong, .brand-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand-copy strong { font-size: 14px; font-weight: 500; color: var(--foreground); }
.brand-copy span { font-size: 12px; color: var(--muted-foreground); }
.search-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid var(--sidebar-border);
  background: var(--background);
  color: var(--muted-foreground);
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}
.search-trigger:hover { color: var(--foreground); }
.search-trigger svg { width: 16px; height: 16px; flex: none; }
.search-trigger kbd {
  margin-left: auto;
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
  line-height: 1.5;
  border: 1px solid var(--border);
  background: var(--hover);
  border-radius: 4px;
  padding: 0 5px;
  color: var(--muted-foreground);
}
.nav-group { display: flex; flex-direction: column; margin-bottom: 8px; }
.side-scroll > .nav-folder { margin-bottom: 4px; }
.nav-label {
  display: flex;
  align-items: center;
  height: 32px;
  margin: 0;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted-foreground);
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  color: var(--sidebar-foreground);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
.nav-item svg { width: 16px; height: 16px; flex: none; }
.nav-lock { margin-left: auto; display: inline-flex; color: var(--muted-foreground); }
.nav-lock svg { width: 12px; height: 12px; }
.nav-item:hover { background: var(--sidebar-accent); color: var(--sidebar-accent-foreground); }
.nav-item[aria-current="page"] {
  background: var(--sidebar-accent);
  color: var(--sidebar-accent-foreground);
  font-weight: 500;
}
.nav-folder > summary { list-style: none; width: 100%; box-sizing: border-box; }
.nav-folder > summary::-webkit-details-marker { display: none; }
.chevron { margin-left: auto; display: inline-flex; color: var(--muted-foreground); }
.nav-folder[open] > summary .chevron { transform: rotate(90deg); }
.subnav {
  display: flex;
  flex-direction: column;
  margin: 2px 0 8px 18px;
  padding-left: 10px;
  border-left: 1px solid var(--sidebar-border);
}
.subnav .nav-item { min-height: 28px; font-size: 13px; }
.subnav .subnav {
  margin: 0 0 6px 12px;
  padding-left: 8px;
}
.nav-folder.nested > summary {
  min-height: 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-foreground);
}
.nav-folder.nested[open] > summary,
.nav-folder.has-current > summary { color: var(--foreground); }
.sub-label { height: 28px; margin-top: 6px; }
.scrim { display: none; }
.inset {
  flex: 1;
  min-width: 0;
  min-height: 0;
  margin: 8px 8px 8px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
.site-header {
  flex: none;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 8px;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}
.header-rule { width: 1px; height: 16px; background: var(--border); flex: none; }
.icon-btn.header-search { display: none; }
.header-actions { margin-left: auto; display: flex; gap: 6px; flex: none; }
.header-actions:empty { display: none; }
.site-header:not(:has(.header-actions:not(:empty))) .header-search { margin-left: auto; }
.header-actions button {
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: var(--text);
  color: white;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.header-actions button:hover { background: #000; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  flex: none;
}
.icon-btn:hover { background: var(--hover); }
.icon-btn svg { width: 16px; height: 16px; }
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.crumbs li { display: flex; min-width: 0; }
.crumbs a, .crumbs span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current="page"] { color: var(--text); font-weight: 500; }
.crumbs .sep { color: #d4d4d8; flex: none; }
.main { flex: 1; min-width: 0; min-height: 0; overflow: auto; padding: 24px 28px 80px; }
.main:focus { outline: none; }

.spotlight[hidden] { display: none; }
.spotlight {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 14vh 16px 16px;
}
.spotlight-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgb(0 0 0 / 0.45);
}
.spotlight-dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: min(640px, 78vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 70px rgb(0 0 0 / 0.22);
}
.spotlight-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.spotlight-field svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.spotlight-field input {
  flex: 1;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 15px;
  outline: none;
}
.spotlight-list { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 8px; }
.spot-label { margin: 6px 8px 4px; font-size: 12px; font-weight: 500; color: var(--muted); }
.spot-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 8px 10px;
  cursor: pointer;
}
.spot-item[aria-selected="true"] { background: var(--hover); }
.spot-row { display: flex; width: 100%; align-items: baseline; gap: 12px; }
.spot-title { font-weight: 500; }
.spot-kicker, .spot-text { color: var(--muted); font-size: 12px; }
.spot-kicker { margin-left: auto; white-space: nowrap; }
.spot-text {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.spot-empty { margin: 28px 12px; text-align: center; color: var(--muted); }
.spotlight-foot {
  display: flex;
  gap: 16px;
  padding: 8px 14px;
  border-top: 1px solid var(--border);
  background: var(--canvas);
  color: var(--muted);
  font-size: 12px;
}
.spotlight-foot kbd {
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 0 4px;
  background: white;
}

.main:has(> .dashboard) {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  overflow: hidden;
}
.dashboard {
  flex: 1;
  min-height: 0;
  margin: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
}
.dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.dash-head h1 { margin: 0; font-size: 1.35rem; }
.dash-head .lede { margin: 2px 0 0; }
.compare {
  position: relative;
  height: 100%;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--canvas);
  touch-action: none;
  cursor: ew-resize;
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
  user-select: none;
}
.compare-top { z-index: 1; }
.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 2;
  width: 2px;
  margin-left: -1px;
  background: #fff;
  pointer-events: none;
}
.compare-label {
  position: absolute;
  z-index: 3;
  top: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}
.compare-label.now { left: 12px; }
.compare-label.target { right: 12px; }
.compare-range {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 8px;
  width: 100%;
  margin: 0;
  appearance: none;
  height: 22px;
  background: linear-gradient(rgb(255 255 255 / 0.92), rgb(255 255 255 / 0.92)) center / 100% 4px no-repeat;
  cursor: ew-resize;
}
.compare-range::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--text);
}
.compare-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--text);
}
.emulator-section h2 { margin: 1.6rem 0 12px; }
.emulator-section h2 a { text-decoration: none; }
.emulator-section h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.emulator-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.emulator-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0 0 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  overflow: hidden;
}
.emulator-tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--canvas); }
.emulator-tile span { padding: 0 10px; font-size: 13px; }
.emulator-tile:hover { border-color: #d4d4d4; }
.emulator-tile:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.emulator-view {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 16px;
}
.emulator-view[hidden] { display: none; }
.emulator-frame { width: min(1120px, 100%); height: min(920px, 100%); }
.emulator-stage {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 8px;
}
.emulator-stage .slideshow-prev,
.emulator-stage .slideshow-next { position: static; transform: none; }
.emulator-stage .slideshow-prev { grid-column: 1; }
.emulator-view .compare { grid-column: 2; }
.emulator-stage .slideshow-next { grid-column: 3; }
.emulator-view .compare {
  width: min(100%, calc((100svh - 230px) * var(--w, 4) / var(--h, 3)));
  max-width: 100%;
  max-height: calc(100svh - 230px);
  height: auto;
  justify-self: center;
}
.emulator-note { margin: 4px 0 0; max-width: 42rem; }
.study { margin: 0 0 28px; }
.study header { margin-bottom: 8px; }
.study h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
  text-transform: none;
  font-weight: 600;
  color: var(--text);
}
.study h3 a { text-decoration: none; }
.study h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.emulator .compare { height: auto; }
.study .muted { margin: 8px 0 0; max-width: 68ch; }
.dashboard .phase-strip { margin: 0; }
.concept-essay { max-width: 40rem; font-size: 1.05rem; line-height: 1.65; }
.concept-essay p { margin: 0 0 1.05rem; }
.materials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 14px;
  margin: 36px 0 14px;
}
.materials figure { margin: 0; }
.materials img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: var(--canvas);
}
.materials figcaption {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.color-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 10px; }
.color-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.color-card:hover { border-color: #d4d4d4; }
.color-card .chip { display: block; height: 64px; border-bottom: 1px solid var(--line); }
.color-copy { display: grid; gap: 2px; padding: 10px 12px 12px; }
.color-copy strong { font-size: 0.9rem; font-weight: 500; }
.color-copy span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.facts, .stats { display: grid; gap: 12px; margin: 18px 0; }
.facts { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.facts div, .stat, .sheet, .swatch, .index, .data, .result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.facts div { padding: 12px 14px; }
.facts dt { color: var(--muted); font-size: 12px; font-weight: 500; }
.facts dd { margin: 4px 0 0; font-weight: 500; letter-spacing: -0.02em; }
.stats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { padding: 14px 16px; }
.stat b { display: block; font-size: 1.5rem; letter-spacing: -0.04em; font-weight: 600; }
.status-row { display: flex; flex-wrap: wrap; gap: 6px 10px; color: var(--muted); font-size: 12px; }
.plain { padding-left: 1.1rem; }
.plain li { margin: 0.28rem 0; }

.index { list-style: none; padding: 0; margin: 0; overflow: hidden; }
.index li { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.index li:last-child { border-bottom: 0; }
.index a { font-weight: 500; color: inherit; text-decoration: none; }
.index a:hover { color: #000; }

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 500;
  background: #f5f5f5;
  color: #404040;
  border: 1px solid transparent;
  white-space: nowrap;
}
.pill.done, .pill.installed { background: #f5f5f5; color: #171717; }
.pill.in-progress, .pill.selected, .pill.planning { background: #171717; color: #fff; }
.pill.blocked { background: #fef2f2; color: #b91c1c; }
.pill.quoted, .pill.considering { background: #fafafa; color: #666; border-color: var(--line); }
.pill.ordered { background: #f5f5f5; color: #171717; }

.note { max-width: 42rem; }
.note-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 0 0 1.25rem; color: var(--muted); font-size: 13px; }
.note-meta .progress { margin-left: 0; }
.note-facts { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 10px 16px; margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 14px; }
.note-facts dt, .note-facts dd { margin: 0; }
.note-facts .mini-swatches { margin: 0; }
.note-facts dt { color: var(--muted); }
.fact-links { display: flex; flex-wrap: wrap; align-items: baseline; }
.fact-links a { color: inherit; text-decoration: none; }
.fact-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fact-links .sep { margin: 0 0.45rem; color: var(--muted); }
.note-layout, .design-layout { display: grid; grid-template-columns: minmax(0, 720px) minmax(240px, 300px); gap: 28px; align-items: start; }
.design-layout { grid-template-columns: minmax(280px, 1.1fr) minmax(280px, 0.9fr); }
.rail h2 { margin-top: 0; }
.props { display: grid; grid-template-columns: 96px 1fr; gap: 6px 10px; margin: 0; }
.props dt { color: var(--muted); }
.props dd { margin: 0; }
.sheet { padding: 8px 18px 18px; }
.prose { font-size: 15px; }
.prose h2 { font-size: 1.05rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #d4d4d4; }
.prose a:hover { text-decoration-color: #171717; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin: 0.3rem 0; }
.filters input[type="checkbox"] { accent-color: var(--text); }
.prose img, .prose video { display: block; width: 100%; border-radius: 8px; }
.prose blockquote { margin-left: 0; padding-left: 12px; border-left: 2px solid var(--line); color: var(--muted); }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border-bottom: 1px solid var(--line); text-align: left; padding: 6px; }
.prose code { font-size: 0.86em; background: var(--canvas); border-radius: 4px; padding: 0.1em 0.35em; }

.swatch-groups { display: flex; flex-direction: column; gap: 22px; }
.swatch-group h2 { margin: 0 0 8px; font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.swatch-group h2 a { color: inherit; text-decoration: none; }
.swatch-group h2 a:hover { text-decoration: underline; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.swatch { overflow: hidden; }
.chip { height: 76px; background: #fafafa; }
.chip.photo { height: 120px; }
.chip.photo img, .mini.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mini.photo { width: 28px; height: 28px; padding: 0; overflow: hidden; }
.chip.empty, .mini.empty {
  background: repeating-linear-gradient(45deg, #fafafa, #fafafa 6px, #ebebeb 6px, #ebebeb 12px);
}
.swatch-body, .swatch-body h3 { margin: 0; }
.swatch-body { padding: 10px 12px 12px; }
.swatch-body h3 { font-size: 0.9rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text); }
.swatch-body p { margin: 4px 0; font-size: 13px; }
.hex { font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-size: 12px; font-variant-numeric: tabular-nums; }
.mini-swatches { list-style: none; padding: 0; }
.mini-swatches li { display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.mini { width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--line); display: inline-block; }

.filterbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 12px 0 16px; }
.shot-toggle {
  display: inline-flex;
  align-self: end;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.shot-toggle button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 6px;
  padding: 6px 12px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.shot-toggle button[aria-pressed="true"] {
  background: var(--text);
  color: white;
}
.filterbar label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); min-width: min(280px, 100%); }

.table-wrap, .matrix-wrap { overflow: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 12px; background: white; }
.data { width: 100%; border-collapse: collapse; border: 0; border-radius: 0; }
.data th, .data td { border-bottom: 1px solid var(--line); text-align: left; padding: 8px 10px; font-size: 14px; vertical-align: top; }
.data th { color: var(--muted); font-size: 12px; font-weight: 500; }
.data a { color: inherit; font-weight: 500; text-decoration: none; }
.data a:hover { color: #000; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data .line-note { margin: 4px 0 0; max-width: 40rem; color: var(--muted); font-size: 12px; }
.subtotal td { font-weight: 600; background: var(--canvas); }
.product-name { display: inline-flex; gap: 8px; align-items: center; }
.thumb { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; }

.furn-rooms { display: flex; flex-direction: column; gap: 32px; }
.furn-room h2 { margin: 0 0 12px; }
.furn-room h2 a { text-decoration: none; }
.furn-room h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.furn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.furn-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.furn-card:hover { border-color: #d4d4d4; }
.furn-card.is-current { outline: 2px solid var(--text); outline-offset: 2px; }
.furn-card img, .furn-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f6f5f2;
  padding: 14px;
  box-sizing: border-box;
}
.furn-body { padding: 12px 14px 14px; }
.furn-body strong { display: block; font-size: 0.95rem; font-weight: 500; }
.furn-body p { margin: 4px 0 0; }

.product-group h2 a, .image-group h2 a { text-decoration: none; }
.product-group h2 a:hover, .image-group h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.photo { margin: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.photo > a { display: block; color: inherit; }
.photo img, .photo video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--canvas); }
.photo figcaption { padding: 10px 12px 12px; }
.photo figcaption strong { display: block; font-size: 0.9rem; font-weight: 500; }
.photo figcaption p { margin: 4px 0 0; font-size: 12px; }
.photo.is-current { outline: 2px solid var(--text); outline-offset: 2px; }
.photo-media { position: relative; }
.photo-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.photo-open:focus-visible { outline: 2px solid var(--text); outline-offset: -3px; }
.image-jump {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin: -4px 0 18px;
  padding-bottom: 2px;
}
.image-jump button {
  flex: none;
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  border-radius: 999px;
  padding: 4px 10px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.image-jump button:hover { background: var(--hover); }
body.slideshow-open { overflow: hidden; }
.slideshow {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 16px;
}
.slideshow[hidden] { display: none; }
.slideshow-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(9, 9, 11, 0.92);
  cursor: pointer;
}
.slideshow-frame {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  height: min(920px, 100%);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  color: white;
  outline: none;
}
.slideshow-bar, .slideshow-foot {
  display: flex;
  align-items: center;
  gap: 12px;
}
.slideshow-bar { min-height: 40px; }
.slideshow-kicker, .slideshow-count, .slideshow-meta { margin: 0; }
.slideshow-kicker {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d4d4d8;
}
.slideshow-count { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 13px; color: #d4d4d8; }
.slideshow-close, .slideshow-prev, .slideshow-next {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  cursor: pointer;
}
.slideshow-close {
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 13px;
}
.slideshow-stage {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
}
.slideshow-stage img, .slideshow-stage video {
  max-width: calc(100% - 96px);
  max-height: 100%;
  object-fit: contain;
  background: transparent;
}
.slideshow-prev, .slideshow-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}
.slideshow-prev { left: 0; }
.slideshow-next { right: 0; }
.slideshow-prev svg, .slideshow-next svg { width: 22px; height: 22px; }
.slideshow-close:hover, .slideshow-prev:hover, .slideshow-next:hover, .slideshow-thumb:hover { background: rgba(255, 255, 255, 0.22); }
.slideshow-foot {
  align-items: end;
  padding-top: 12px;
  gap: 16px;
}
.slideshow-title { display: block; font-weight: 500; }
.slideshow-meta { margin-top: 2px; color: #d4d4d8; font-size: 13px; }
.slideshow-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  max-width: min(560px, 58%);
  margin-left: auto;
  padding-bottom: 2px;
}
.slideshow-thumb {
  flex: none;
  width: 72px;
  height: 54px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.slideshow-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slideshow-thumb.is-current { border-color: white; }
@media (max-width: 700px) {
  .slideshow { padding: 8px; }
  .slideshow-stage img, .slideshow-stage video { max-width: calc(100% - 8px); }
  .slideshow-prev { left: 4px; }
  .slideshow-next { right: 4px; }
  .slideshow-foot { flex-direction: column; align-items: stretch; }
  .slideshow-strip { max-width: none; margin-left: 0; }
}

.matrix { border-collapse: separate; border-spacing: 0; min-width: 100%; }
.matrix th, .matrix td { background: white; border-bottom: 1px solid var(--line); border-right: 1px solid #f5f5f5; padding: 4px 6px; font-size: 13px; font-weight: 400; }
.matrix th:first-child { position: sticky; left: 0; z-index: 1; min-width: 11rem; text-align: left; box-shadow: 1px 0 0 var(--line); }
.matrix thead th { position: sticky; top: 0; z-index: 2; }
.matrix thead th:first-child { z-index: 3; }
.matrix .zone { text-align: left; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.matrix .band th { position: static; background: var(--canvas); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.matrix-space { height: 148px; vertical-align: bottom; min-width: 2rem; }
.matrix-space a { writing-mode: vertical-rl; transform: rotate(180deg); text-decoration: none; color: inherit; white-space: nowrap; }
.matrix td.mark { text-align: center; }
.matrix td.mark a {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--text);
  color: transparent;
  overflow: hidden;
  font-size: 0;
}

.graph-toolbar { display: grid; gap: 10px; margin-bottom: 12px; }
.graph-search { display: grid; gap: 4px; max-width: 320px; font-size: 12px; color: var(--muted); }
.graph-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.graph-actions .hint { margin: 0; }
.graph-toolbar .ghost {
  background: white;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
}
.filters { display: flex; flex-wrap: wrap; gap: 12px; }
.filters fieldset { border: 1px solid var(--line); border-radius: 8px; background: white; margin: 0; padding: 8px 12px 10px; }
.filters legend { padding: 0 4px; font-size: 12px; color: var(--muted); }
.filters label { display: inline-flex; gap: 6px; align-items: center; margin: 2px 12px 2px 0; font-size: 14px; }
.graph-frame {
  position: relative;
  height: calc(100svh - 188px);
  min-height: 720px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background-color: #fafafa;
  background-image: radial-gradient(#e4e4e7 1px, transparent 1px);
  background-size: 24px 24px;
}
.graph-svg { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; user-select: none; }
.graph-svg:active { cursor: grabbing; }
.graph-node { cursor: pointer; }
.graph-node .hit { fill: transparent; }
.graph-node text {
  font-size: 11px;
  font-family: Geist, ui-sans-serif, sans-serif;
  fill: #3f3f46;
  pointer-events: none;
  opacity: 0;
}
.graph-node text.is-on { opacity: 1; }
.graph-node.is-focus .dot { stroke: #0f172a; stroke-width: 2px; }
.graph-node.is-focus text { font-weight: 600; fill: #09090b; }
.graph-node.is-dim, .graph-edge.is-dim { opacity: 0.1; }
.graph-edge { stroke: #d4d8de; stroke-width: 1; stroke-opacity: 0.95; }
.graph-edge.depends { stroke: #334155; stroke-width: 1.45; stroke-opacity: 0.85; }
.graph-edge.mention { stroke: #94a3b8; stroke-dasharray: 2.4 3.2; stroke-opacity: 0.7; }
.graph-edge.tagged { stroke: #e2e8f0; stroke-opacity: 1; }
.graph-edge.record { stroke: #94a3b8; }
.graph-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--muted);
}
.graph-empty[hidden], .graph-card[hidden] { display: none; }
.graph-card {
  position: absolute;
  top: 12px;
  right: 12px;
  width: min(280px, calc(100% - 24px));
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  color: var(--text);
  z-index: 2;
}
.graph-card h2 { margin: 0 0 4px; font-size: 1rem; font-weight: 560; color: var(--text); }
.graph-card p { margin: 0; color: var(--muted); font-size: 13px; }
.graph-card a { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 500; }
.graph-legend {
  position: absolute;
  left: 12px;
  top: 12px;
  width: max-content;
  max-width: min(460px, calc(100% - 24px));
  max-height: 46%;
  overflow: auto;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px 10px;
  color: var(--text);
  z-index: 2;
}
.graph-legend summary { cursor: pointer; font-size: 12px; font-weight: 500; }
.graph-key { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin-top: 6px; }
.graph-key span, .key-note { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; }
.graph-legend .key-label { color: var(--text); font-weight: 500; }
.key-note { display: block; margin: 8px 0 0; }
i.swatch { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.graph-legend i.swatch.ring { background: #fafafa; border: 1.5px solid #64748b; box-sizing: border-box; }

.seq-chain { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: baseline; max-width: 78ch; }
.seq-toolbar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 0 0 12px; }
.seq-toolbar .hint { margin: 0; }
.seq-toolbar .ghost {
  margin-left: auto;
  background: white;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
}
.seq-key { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.seq-key span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.seq-dash { width: 16px; height: 0; border-top: 1.5px dashed #a1a1aa; }
.main:has(.seq-page) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 16px;
}
.seq-page {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.seq-frame {
  position: relative;
  flex: 1;
  min-height: 320px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background-color: #fafafa;
  background-image: radial-gradient(#e4e4e7 1px, transparent 1px);
  background-size: 20px 20px;
}
.seq-svg { width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; user-select: none; }
.seq-svg:active { cursor: grabbing; }
.seq-hit { cursor: grab; }
.seq-node { cursor: pointer; }
.seq-node:focus { outline: none; }
.seq-node:focus-visible .seq-card { stroke: #18181b; stroke-width: 2px; }
.seq-card { fill: #fff; stroke: #e4e4e7; vector-effect: non-scaling-stroke; }
.seq-node.is-critical .seq-card { stroke: #18181b; }
.seq-node.is-milestone .seq-card { fill: #fafafa; stroke: #18181b; stroke-dasharray: 4 3; }
.seq-node.is-hot .seq-card { stroke: #18181b; stroke-width: 1.75px; }
.seq-node.is-dim, .seq-edge.is-dim { opacity: 0.16; }
.seq-kicker, .seq-label, .seq-col { font-family: Geist, ui-sans-serif, system-ui, sans-serif; pointer-events: none; }
.seq-kicker { font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; fill: #71717a; }
.seq-label { font-size: 13px; fill: #18181b; }
.seq-col { font-size: 11px; fill: #a1a1aa; }
.seq-edge { fill: none; stroke: #a1a1aa; stroke-width: 1.25px; vector-effect: non-scaling-stroke; }
.seq-edge.deadline { stroke: #d4d4d8; stroke-dasharray: 3 3; }
.seq-edge.is-critical, .seq-edge.is-hot { stroke: #18181b; stroke-width: 1.7px; }
.seq-read { flex: none; margin-top: 10px; max-height: 24vh; overflow: auto; }
.seq-read summary { cursor: pointer; font-weight: 500; }
article.swatch { width: auto; height: auto; display: block; border-radius: 12px; overflow: hidden; }
article.swatch.is-current { box-shadow: inset 0 0 0 2px var(--text); }
.swatch-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-weight: 500; text-decoration: none; }
.swatch-link:hover { text-decoration: underline; }

.results { display: grid; gap: 8px; }
.result { display: grid; gap: 2px; padding: 12px 14px; text-decoration: none; color: inherit; }
.result strong { font-size: 0.95rem; font-weight: 500; }
.result:hover { border-color: #d4d4d4; }

@media (max-width: 960px) {
  .note-layout, .design-layout { grid-template-columns: 1fr; }
}
@media (min-width: 861px) {
  .sidebar { transition: width 200ms linear; }
  .shell.is-collapsed .sidebar { width: 4rem; padding-left: 8px; padding-right: 8px; }
  .shell.is-collapsed .label,
  .shell.is-collapsed .nav-lock,
  .shell.is-collapsed .brand-copy,
  .shell.is-collapsed .nav-label,
  .shell.is-collapsed .chevron,
  .shell.is-collapsed .subnav,
  .shell.is-collapsed .search-trigger kbd { display: none; }
  .shell.is-collapsed .side-head,
  .shell.is-collapsed .side-search,
  .shell.is-collapsed .side-scroll,
  .shell.is-collapsed .nav-group { align-items: center; }
  .shell.is-collapsed .side-scroll,
  .shell.is-collapsed .nav-group,
  .shell.is-collapsed .side-head,
  .shell.is-collapsed .side-search { display: flex; flex-direction: column; }
  .shell.is-collapsed .brand,
  .shell.is-collapsed .nav-item,
  .shell.is-collapsed .search-trigger {
    width: 32px;
    padding: 0;
    justify-content: center;
  }
  .shell.is-collapsed .nav-folder.has-current > summary {
    background: var(--sidebar-accent);
    color: var(--sidebar-accent-foreground);
  }
}
@media (max-width: 860px) {
  .sidebar {
    position: fixed;
    z-index: 40;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(18rem, 88vw);
    height: auto;
    transform: translateX(-105%);
    transition: transform 200ms ease;
    box-shadow: none;
  }
  .shell.nav-open .sidebar { transform: none; }
  .shell.nav-open .scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 0.4);
    z-index: 30;
  }
  .sidebar {
    padding-top: max(8px, env(safe-area-inset-top));
    padding-bottom: env(safe-area-inset-bottom);
  }
  .inset { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .site-header {
    height: calc(52px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    padding-left: max(4px, env(safe-area-inset-left));
    padding-right: max(8px, env(safe-area-inset-right));
  }
  .icon-btn { width: 44px; height: 44px; }
  .icon-btn.header-search { display: inline-flex; }
  .nav-item, .search-trigger { min-height: 44px; }
  .subnav .nav-item { min-height: 40px; }
  .main {
    padding: 16px max(16px, env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  }
  .main:has(> .dashboard) { display: block; overflow: auto; padding: 12px 12px calc(20px + env(safe-area-inset-bottom)); }
  .dashboard { display: flex; flex-direction: column; height: auto; }
  .dash-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .dash-head .lede { font-size: 14px; }
  .compare { height: auto; aspect-ratio: 4 / 3; }
  .compare-range { height: 36px; }
  .compare-range::-webkit-slider-thumb { width: 26px; height: 26px; }
  .compare-range::-moz-range-thumb { width: 26px; height: 26px; }
  h1 { font-size: 1.45rem; }
  .materials { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
  .spotlight { padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); align-items: end; }
  .spotlight-dialog { width: 100%; max-height: min(78dvh, 640px); }
  .spotlight-foot { display: none; }
  .spotlight-field input { font-size: 16px; }
  .lock input, .page-lock input, #table-filter, .filterbar input, #graph-query, .graph-search input {
    font-size: 16px;
  }
  .table-wrap .data, .matrix { min-width: 640px; }
  .bid-doc { overflow-x: auto; }
  .graph-frame { height: 68dvh; min-height: 420px; }
  .graph-legend { max-width: calc(100% - 16px); max-height: 38%; }
  .graph-card { width: min(280px, calc(100% - 16px)); }
  .main:has(.seq-page) { overflow: auto; }
  .seq-page { min-height: auto; }
  .seq-frame { min-height: 68dvh; height: 68dvh; }
  .seq-toolbar .ghost { margin-left: 0; }
  .emulator-view .compare {
    width: 100%;
    max-height: 58dvh;
  }
  .emulator-stage { gap: 4px; grid-template-columns: 40px minmax(0, 1fr) 40px; }
  .filters fieldset { width: 100%; }
  .note-facts { grid-template-columns: 4.5rem minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .materials { grid-template-columns: 1fr; }
  .furn-grid, .gallery { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: 1fr 1fr; }
}
.bid-doc { color: var(--text); }
.bid-cover h1 { font-size: 1.6rem; margin-bottom: 2px; }
.bid-place { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.bid-doc h2 {
  margin: 1.6rem 0 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.bid-sheet { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.bid-sheet th, .bid-sheet td { border: 1px solid var(--line); padding: 5px 7px; text-align: left; vertical-align: top; }
.bid-sheet thead th { font-size: 11px; letter-spacing: 0.03em; text-transform: uppercase; font-weight: 500; color: var(--muted); background: var(--canvas); }
.bid-sheet tbody th { font-weight: 500; width: 28%; background: var(--canvas); }
.bid-sheet td.num, .bid-sheet th.num { white-space: nowrap; }
.bid-photos { margin-top: 1.6rem; }
.bid-photo { margin: 0 0 16px; break-inside: avoid; }
.bid-photo img { display: block; width: 100%; height: auto; }
.bid-photo figcaption { margin-top: 4px; font-size: 12px; }
.bid-photo figcaption span { font-variant-numeric: tabular-nums; font-weight: 600; }

@media print {
  @page {
    size: letter;
    margin: 0.6in 0.65in 0.72in;
  }
  html.print-bid,
  html.print-bid body {
    height: auto;
    overflow: visible;
    background: white;
  }
  html.print-bid #lock,
  html.print-bid .sidebar,
  html.print-bid .site-header,
  html.print-bid .scrim,
  html.print-bid .header-actions,
  html.print-bid #spotlight {
    display: none !important;
  }
  html.print-bid #app,
  html.print-bid .shell,
  html.print-bid .inset,
  html.print-bid .main {
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: white;
  }
  html.print-bid .bid-doc { max-width: none; }
  html.print-bid .bid-sheet { font-size: 9.5px; }
  html.print-bid .bid-sheet thead { display: table-header-group; }
  html.print-bid .bid-sheet tr, html.print-bid .bid-photo { break-inside: avoid; }
  html.print-bid .bid-photos { break-before: page; }
  html.print-bid .bid-photo { margin: 0 0 12px; }
  html.print-bid .bid-photo img { max-height: 7.6in; width: auto; max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .sidebar { transition: none; }
}
