/* ==========================================================================
   BLUEPRINT — Build with it (Design Completion Campaign, 2026-09-29).
   The board is drawn on the room's own sheet, inside its border, under the
   title block: numbered details, so they never share a letter with the record's views. Faces are the room's own (PlexSansX,
   PlexMonoX, declared in x-blueprint.css). Line widths from the 4:2:1 series.
   Every class is gbp- or scoped to .gm--blueprint. Nothing moves.
   ========================================================================== */
.gm--blueprint {
  --gm-tag-inverse: var(--gm-color-ground);
  max-width: none; margin: 28px 0 0; padding: 0;
  color: var(--gm-color-line); font: 400 16px/1.6 var(--gm-font);
}
.gm--blueprint .gm__head { margin: 0; padding: 22px 0 24px; border-top: var(--gm-line-mid) solid var(--gm-color-line); }
.gm--blueprint .gm__title { font: 300 clamp(28px, 3.4vw, 44px)/1 var(--gm-font); text-transform: uppercase; letter-spacing: 0.14em; }
.gm--blueprint .gm__get a { color: var(--gm-color-line); text-decoration: underline dashed; text-underline-offset: 3px; }
.gm--blueprint .gm__key, .gm--blueprint .gm__get { opacity: 1; color: var(--gm-color-line-muted); }
.gm--blueprint .gm-t { font: 500 11px/1.6 var(--gm-font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--gm-color-line); }
/* A long evidence tag (kind · source · disputed) wraps inside the column at phone width instead of running off the sheet. */
.gm--blueprint .gm-t { white-space: normal; max-width: 100%; }
.gm--blueprint .gm-more summary { font: 500 12px/1.4 var(--gm-font-mono); text-transform: uppercase; letter-spacing: 0.1em; }
.gm--blueprint .gm-ls__why, .gm--blueprint .gm-ls__from { opacity: 1; color: var(--gm-color-line-muted); }
.gm--blueprint :focus-visible { outline: 2px solid var(--gm-color-line); outline-offset: 3px; }

/* ---- the views, on the sheet ----------------------------------------- */
.gbp-sheet { position: relative; padding: 28px 0 8px; border-top: var(--gm-frame-inner) solid var(--gm-color-line-muted); }
.gbp-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.gbp-f { min-width: 0; }
.gbp-f--ui, .gbp-f--wide { grid-column: 1 / -1; }
.gbp-f--wide .gm-f__spec { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; }
.gbp-f--wide .gbp-dim { flex: 0 1 360px; }
.gbp-f--wide .gbp-cap { flex: 1 1 220px; max-width: 40ch; }
.gbp-f .gm-f__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.gbp-f .gm-f__n { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border: var(--gm-line-mid) solid var(--gm-color-line); border-radius: 50%; font: 500 18px/1 var(--gm-font-mono); }
.gbp-f .gm-f__name { flex: 1 1 auto; font: 500 var(--gm-size-heading)/1.2 var(--gm-font); text-transform: uppercase; letter-spacing: 0.06em; }
.gbp-f .gm-f__name::after { content: ""; display: block; height: var(--gm-line-mid); margin-top: 4px; background: var(--gm-color-line); }
.gbp-scale { flex: 0 0 auto; font: 400 11px/1 var(--gm-font-mono); letter-spacing: 0.1em; color: var(--gm-color-line-muted); }
.gbp-f .gm-f__note { color: var(--gm-color-line-muted); opacity: 1; }
.gbp-cap { margin: 10px 0 0; font-size: 14px; color: var(--gm-color-line-muted); }

/* A colour */
.gbp-sws { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font: 400 12px/1.3 var(--gm-font-mono); }
.gbp-sws li { display: grid; gap: 3px; min-width: 0; }
.gbp-sws span { display: block; height: 56px; border: var(--gm-line-narrow) solid var(--gm-color-line); }
.gbp-sws b { font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }
.gbp-sws code { font: inherit; color: var(--gm-color-line-muted); }

/* B lettering */
.gbp-title { margin: 0; font: 300 clamp(26px, 3vw, 36px)/1 var(--gm-font); text-transform: uppercase; letter-spacing: 0.14em; }
.gbp-body { margin: 10px 0 0; }
.gbp-label { margin: 6px 0 0; font: 500 12px/1.3 var(--gm-font-mono); letter-spacing: 0.1em; color: var(--gm-color-line-muted); }

/* C sheet, E imagery */
.gbp-mini, .gbp-dim { display: block; width: 100%; max-width: 360px; height: auto; color: var(--gm-color-line); }
.gbp-mini__t text, .gbp-dim__t text { font: 500 10px var(--gm-font-mono); fill: var(--gm-color-line); text-anchor: middle; }
.gbp-dim__t text { font-size: 12px; }

/* D line */
.gbp-lines { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; font: 400 12px/1.3 var(--gm-font-mono); letter-spacing: 0.06em; color: var(--gm-color-line-muted); }
.gbp-lines i { display: block; margin-bottom: 5px; color: var(--gm-color-line); }

/* F components */
.gbp-nav { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 4px 12px; padding: 0 0 10px; margin-bottom: 18px; border-bottom: var(--gm-line-narrow) solid var(--gm-color-line-muted); }
.gbp-nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; color: var(--gm-color-line-muted); font: 500 13px/1 var(--gm-font-mono); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border: var(--gm-line-narrow) solid transparent; }
.gbp-nav a:hover { color: var(--gm-color-line); text-decoration: underline dashed; text-underline-offset: 3px; }
.gbp-nav a[aria-current] { color: var(--gm-color-line); border-color: var(--gm-color-line); }
.gbp-ui { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.gbp-card { display: grid; gap: 8px; padding: 14px 16px; border: var(--gm-line-narrow) solid var(--gm-color-line); color: var(--gm-color-line); text-decoration: none; }
.gbp-card__hd { display: flex; align-items: center; gap: 10px; }
.gbp-card__hd b { flex: 1 1 auto; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: var(--gm-line-mid) solid var(--gm-color-line); }
.gbp-card:hover .gbp-card__hd b { border-bottom-width: var(--gm-line-wide); }
.gbp-card__hd small { font: 400 11px/1 var(--gm-font-mono); color: var(--gm-color-line-muted); letter-spacing: 0.1em; }
.gbp-bub { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border: var(--gm-line-mid) solid var(--gm-color-line); border-radius: 50%; font: 500 14px/1 var(--gm-font-mono); }
.gbp-form { display: grid; gap: 12px; }
.gbp-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); border: var(--gm-line-mid) solid var(--gm-color-line); }
.gbp-row label { display: flex; align-items: center; padding: 0 10px; border-right: var(--gm-line-narrow) solid var(--gm-color-line); font: 500 12px/1.3 var(--gm-font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--gm-color-line-muted); }
.gbp-row input { min-width: 0; height: 3rem; padding: 0 12px; border: 0; border-radius: 0; background: transparent; color: var(--gm-color-line); }
.gbp-row:focus-within { outline: 3px solid var(--gm-color-line); outline-offset: 3px; }
/* Focus also lifts the field's label to full white and draws the field's own rule heavier, so it reads as a state, not a second frame. */
.gbp-row:focus-within label { color: var(--gm-color-line); }
.gbp-row input:focus { box-shadow: inset 0 -3px 0 var(--gm-color-line); }
.gbp-row input:focus-visible { outline: none; }
.gbp-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.gbp-btn { min-height: 44px; padding: 0 18px; border: var(--gm-line-mid) solid var(--gm-color-line); border-radius: 0; background: transparent; color: var(--gm-color-line); font: 500 13px var(--gm-font-mono); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: none; }
.gbp-btn:hover, .gbp-btn:active { background: var(--gm-color-line); color: var(--gm-color-ground); }
.gbp-btn:disabled { border: var(--gm-line-narrow) dashed var(--gm-color-line-muted); color: var(--gm-color-line-muted); background: transparent; cursor: not-allowed; }

/* G motion */
.gbp-still { margin: 0; font: 300 22px/1.2 var(--gm-font); text-transform: uppercase; letter-spacing: 0.1em; }

/* H the print: a grained patch with a bleached correction */
.gbp-print {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 22px; height: 120px;
  border: var(--gm-line-narrow) solid var(--gm-color-line);
  background-color: var(--gm-color-ground);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .92 0 0 0 0 .95 0 0 0 0 .98 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  font: 500 28px/1 var(--gm-font-mono);
}
.gbp-print__old { position: relative; color: var(--gm-color-line-muted); }
.gbp-print__old::after { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: var(--gm-line-mid); background: var(--gm-color-line); transform: rotate(-12deg); }
.gbp-print__new { color: var(--gm-color-line); text-shadow: 0 0 6px rgba(234, 241, 251, 0.55), 0 0 14px rgba(234, 241, 251, 0.3); }

@media (max-width: 820px) {
  .gbp-grid, .gbp-ui { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .gbp-row { grid-template-columns: minmax(0, 1fr); }
  .gbp-row label { border-right: 0; border-bottom: var(--gm-line-narrow) solid var(--gm-color-line); min-height: 32px; }
  .gm--blueprint .gm-ls li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .gbp-scale { display: none; }
}
