:root {
  --concrete: #E9ECE8;
  --sheet: #F7F8F6;
  --steel: #1B2024;
  --steel-lift: #272E34;
  --ink: #181C20;
  --ink-muted: #47525C;
  --ink-light: #F1F4F2;
  --ink-light-muted: #B7C2CC;
  --rust: #B53B09;
  --rust-dark: #8E2C04;
  --caution: #F2B705;
  --line: #C7CEC8;
  --line-dark: #3C464F;
  --wash: #F4E4DA;

  --font-display: "Saira", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 2.75rem;

  --wrap: 1180px;
  --radius: 4px;
  --shadow-sm: 0 2px 0 var(--line);
  --shadow-md: 0 4px 0 var(--steel);
  --ease: 150ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.ib-doc {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--concrete);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  overflow-x: clip;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--rust);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
  transition: color var(--ease), background-color var(--ease), border-color var(--ease);
}

a:hover {
  color: var(--rust-dark);
}

:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

.ib-topbar :focus-visible,
.ib-hero-deck :focus-visible,
.ib-yardfoot :focus-visible,
.ib-policy-banner :focus-visible,
.ib-lost-sign :focus-visible {
  outline-color: var(--caution);
}

.ib-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ib-skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: var(--radius);
  background-color: var(--caution);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}

.ib-skip:focus {
  top: 12px;
}

.ib-canvas {
  flex: 1 0 auto;
}

.ib-container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.ib-hazard {
  height: 6px;
  width: 100%;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--caution) 0 8px,
    var(--steel) 8px 16px
  );
}

.ib-bay-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rust);
}

.ib-band-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.ib-band-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--ink);
}

/* Header & Navigation */

.ib-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background-color: var(--steel);
  color: var(--ink-light);
  border-bottom: 2px solid var(--line-dark);
}

.ib-topbar-row {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.ib-plate {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink-light);
  flex-shrink: 0;
}

.ib-plate:hover {
  color: var(--caution);
}

.ib-emblem-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 2px solid var(--caution);
}

.ib-emblem-code {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background-color: var(--caution);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ib-plate-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.ib-plate-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.ib-plate-sub {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-light-muted);
  letter-spacing: 0.08em;
}

.ib-menu-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  min-height: 44px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line-dark);
  background-color: var(--steel-lift);
  color: var(--ink-light);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease);
}

.ib-menu-toggle:hover {
  border-color: var(--caution);
  color: var(--caution);
}

.ib-menu-bars {
  width: 16px;
  height: 2px;
  background-color: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.ib-topbar-drawer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
}

.ib-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.ib-nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.ib-nav-link {
  display: inline-block;
  padding: 7px 11px;
  border-radius: var(--radius);
  color: var(--ink-light);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.ib-nav-link:hover {
  background-color: var(--steel-lift);
  color: var(--caution);
}

.ib-nav-link[aria-current="page"] {
  background-color: var(--steel-lift);
  color: var(--caution);
  border-color: var(--line-dark);
}

.ib-search-dock {
  position: relative;
  width: 260px;
  flex-shrink: 0;
}

.ib-search-frame {
  position: relative;
  display: flex;
  align-items: center;
}

.ib-search-input {
  width: 100%;
  min-height: 40px;
  padding: 8px 36px 8px 12px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line-dark);
  background-color: var(--steel-lift);
  color: var(--ink-light);
  font-size: var(--text-sm);
  transition: border-color var(--ease);
}

.ib-search-input::placeholder {
  color: var(--ink-light-muted);
}

.ib-search-input:focus {
  border-color: var(--caution);
}

.ib-keycap {
  position: absolute;
  right: 9px;
  padding: 2px 6px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background-color: var(--steel);
  color: var(--ink-light-muted);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: 1.2;
  pointer-events: none;
}

.ib-search-tray {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  max-width: calc(100vw - 32px);
  max-height: 420px;
  overflow-y: auto;
  border-radius: var(--radius);
  border: 2px solid var(--steel);
  background-color: var(--sheet);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  z-index: 120;
}

.ib-search-note {
  margin: 0;
  padding: 14px 16px;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.ib-search-hit {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--ink);
  background-color: var(--sheet);
  border-bottom: 1px solid var(--line);
}

.ib-search-hit:last-child {
  border-bottom: 0;
}

.ib-search-hit:hover,
.ib-search-hit[data-active] {
  background-color: var(--wash);
  color: var(--ink);
}

.ib-search-hit-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.ib-search-hit-sec {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rust);
}

/* Buttons */

.ib-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
}

.ib-btn:hover {
  transform: translateY(-1px);
}

.ib-btn-rust {
  background-color: var(--rust);
  color: var(--ink-light);
  border-color: var(--rust);
}

.ib-btn-rust:hover {
  background-color: var(--rust-dark);
  border-color: var(--rust-dark);
  color: var(--ink-light);
}

.ib-btn-steel {
  background-color: var(--steel-lift);
  color: var(--ink-light);
  border-color: var(--line-dark);
}

.ib-btn-steel:hover {
  background-color: var(--steel-lift);
  border-color: var(--caution);
  color: var(--caution);
}

/* Home Band 1: Asymmetric Split Salvage Workbench Hero */

.ib-hero-deck {
  background-color: var(--steel);
  color: var(--ink-light);
}

.ib-deck-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 44px 24px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 36px;
  align-items: center;
}

.ib-deck-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--caution);
}

.ib-deck-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink-light);
}

.ib-deck-lead {
  margin: 0 0 26px;
  max-width: 54ch;
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--ink-light-muted);
}

.ib-deck-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Signature Widget: Interactive Salvage Bench */

.ib-bench {
  border: 2px solid var(--line-dark);
  border-radius: var(--radius);
  background-color: var(--steel-lift);
  color: var(--ink-light);
  overflow: hidden;
}

.ib-bench-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background-color: var(--steel);
  border-bottom: 1.5px solid var(--line-dark);
}

.ib-bench-code {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--caution);
}

.ib-bench-led {
  padding: 2px 8px;
  border-radius: var(--radius);
  background-color: var(--caution);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
}

.ib-bench-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1.5px solid var(--line-dark);
  background-color: var(--steel);
}

.ib-tab {
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-right: 1px solid var(--line-dark);
  background-color: var(--steel);
  color: var(--ink-light-muted);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease);
}

.ib-tab:last-child {
  border-right: 0;
}

.ib-tab:hover {
  background-color: var(--steel-lift);
  color: var(--ink-light);
}

.ib-tab[aria-selected="true"] {
  background-color: var(--caution);
  color: var(--ink);
}

.ib-bench-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1.5px solid var(--line-dark);
}

.ib-chip {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line-dark);
  background-color: var(--steel);
  color: var(--ink-light);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}

.ib-chip:hover {
  border-color: var(--caution);
  background-color: var(--steel-lift);
  color: var(--caution);
}

.ib-chip[aria-pressed="true"] {
  background-color: var(--rust);
  border-color: var(--rust);
  color: var(--ink-light);
}

.ib-bench-readout {
  padding: 16px;
  background-color: var(--steel-lift);
  color: var(--ink-light);
}

.ib-readout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-dark);
}

.ib-readout-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-light);
}

.ib-readout-badge {
  padding: 3px 9px;
  border-radius: var(--radius);
  background-color: var(--caution);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.ib-readout-specs {
  margin: 0;
  display: grid;
  gap: 10px;
}

.ib-spec-row {
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.ib-spec-row dt {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-light-muted);
}

.ib-spec-row dd {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--ink-light);
}

.ib-readout-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: flex-end;
}

.ib-readout-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--caution);
  text-decoration: none;
}

.ib-readout-link::after {
  content: "\2192";
}

.ib-readout-link:hover {
  color: var(--ink-light);
}

/* Home Band 2: Quick-Route Dispatch Strip */

.ib-dispatch-band {
  padding: 40px 0 24px;
}

.ib-dispatch-strip {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ib-bay;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 2px solid var(--steel);
  border-radius: var(--radius);
  background-color: var(--sheet);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.ib-dispatch-cell {
  counter-increment: ib-bay;
  border-right: 1px solid var(--line);
}

.ib-dispatch-cell:last-child {
  border-right: 0;
}

.ib-dispatch-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 20px;
  text-decoration: none;
  color: var(--ink);
  background-color: var(--sheet);
  transition: background-color var(--ease);
}

.ib-dispatch-link::before {
  content: "BAY 0" counter(ib-bay);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rust);
}

.ib-dispatch-link:hover {
  background-color: var(--wash);
  color: var(--ink);
}

.ib-dispatch-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.ib-dispatch-text {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--ink-muted);
}

/* Home Band 3: Featured Guides + Salvage Priority Sheet */

.ib-spotlight-band {
  padding: 24px 0;
}

.ib-spotlight-band:not(:has(.ib-spot-col)) {
  display: none;
}

.ib-spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  gap: 28px;
  align-items: start;
}

.ib-spot-col {
  min-width: 0;
}

.ib-featured-stack {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.ib-featured-row {
  padding: 18px 20px;
  border: 1.5px solid var(--line);
  border-left: 5px solid var(--rust);
  border-radius: var(--radius);
  background-color: var(--sheet);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--ease), transform var(--ease);
}

.ib-featured-row:hover {
  border-color: var(--steel);
  border-left-color: var(--rust-dark);
  transform: translateY(-1px);
}

.ib-featured-title {
  margin: 4px 0 6px;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.25;
}

.ib-featured-title a {
  color: var(--ink);
  text-decoration: none;
}

.ib-featured-title a:hover {
  color: var(--rust);
}

.ib-featured-summary {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.ib-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 2px solid var(--steel);
  border-radius: var(--radius);
  background-color: var(--sheet);
}

.ib-salvage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.ib-salvage-table thead th {
  padding: 11px 12px;
  text-align: left;
  background-color: var(--steel);
  color: var(--caution);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--line-dark);
}

.ib-salvage-table tbody th,
.ib-salvage-table tbody td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  background-color: var(--sheet);
  color: var(--ink);
}

.ib-salvage-table tbody tr:last-child th,
.ib-salvage-table tbody tr:last-child td {
  border-bottom: 0;
}

.ib-salvage-table tbody th {
  font-family: var(--font-display);
  font-weight: 700;
  white-space: nowrap;
}

.ib-salvage-table tbody a {
  font-weight: 600;
  white-space: nowrap;
}

/* Home Band 4: Section Bay Manifest */

.ib-manifest-band {
  padding: 28px 0;
}

.ib-manifest-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ib-sector;
  border: 2px solid var(--steel);
  border-radius: var(--radius);
  background-color: var(--sheet);
  box-shadow: var(--shadow-sm);
}

.ib-manifest-row {
  counter-increment: ib-sector;
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr) minmax(240px, 340px);
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1.5px solid var(--line);
}

.ib-manifest-row:last-child {
  border-bottom: 0;
}

.ib-manifest-id {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ib-manifest-id::before {
  content: "SECTOR 0" counter(ib-sector);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--rust);
}

.ib-manifest-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1.2;
}

.ib-manifest-name a {
  color: var(--ink);
  text-decoration: none;
}

.ib-manifest-name a:hover {
  color: var(--rust);
}

.ib-count-stamp {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: var(--radius);
  background-color: var(--concrete);
  color: var(--ink-muted);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
}

.ib-manifest-desc {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.ib-manifest-pills {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ib-manifest-pills a {
  display: inline-block;
  padding: 5px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-color: var(--concrete);
  color: var(--ink);
  font-size: var(--text-xs);
  font-weight: 600;
  text-decoration: none;
}

.ib-manifest-pills a:hover {
  border-color: var(--rust);
  background-color: var(--wash);
  color: var(--rust-dark);
}

/* Home Band 5: Latest Field Reports Timeline */

.ib-timeline-band {
  padding: 28px 0;
}

.ib-ledger-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ib-ledger-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--sheet);
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease);
}

.ib-ledger-item:hover {
  border-color: var(--steel);
  transform: translateY(-1px);
}

.ib-ledger-gutter {
  padding: 16px 12px;
  background-color: var(--steel);
  color: var(--caution);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.ib-ledger-date {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ib-ledger-body {
  padding: 16px 18px;
}

.ib-ledger-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.25;
}

.ib-ledger-title a {
  color: var(--ink);
  text-decoration: none;
}

.ib-ledger-title a:hover {
  color: var(--rust);
}

.ib-ledger-summary {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

/* Home Band 6: Editorial Overview & Accordion FAQ */

.ib-overview-band {
  padding: 28px 0 56px;
}

.ib-overview-card {
  padding: 32px;
  border: 1.5px solid var(--line);
  border-top: 4px solid var(--steel);
  border-radius: var(--radius);
  background-color: var(--sheet);
  box-shadow: var(--shadow-sm);
}

.ib-faq-home {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 2px solid var(--line);
}

/* Breadcrumbs */

.ib-trail {
  margin-bottom: 16px;
}

.ib-trail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
}

.ib-trail-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
}

.ib-trail-step + .ib-trail-step::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--ink-muted);
  border-right: 1.5px solid var(--ink-muted);
  transform: rotate(45deg);
}

.ib-trail-step a {
  color: var(--rust);
  text-decoration: none;
  font-weight: 600;
}

.ib-trail-step a:hover {
  color: var(--rust-dark);
  text-decoration: underline;
}

.ib-trail-current {
  color: var(--ink);
  font-weight: 600;
}

/* Section Banner & Entry Cards */

.ib-sector-banner {
  padding: 32px 0 28px;
  background-color: var(--sheet);
  border-bottom: 2px solid var(--steel);
}

.ib-sector-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ib-sector-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.ib-page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
}

.ib-sector-count {
  padding: 4px 10px;
  border-radius: var(--radius);
  background-color: var(--steel);
  color: var(--caution);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.ib-page-lead {
  margin: 0;
  max-width: 70ch;
  font-size: var(--text-lg);
  color: var(--ink-muted);
}

.ib-sector-intro {
  margin-top: 20px;
}

.ib-sector-body {
  padding-top: 28px;
  padding-bottom: 56px;
}

.ib-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--sheet);
}

.ib-filter-box {
  flex: 1 1 280px;
  max-width: 440px;
}

.ib-filter-input {
  width: 100%;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background-color: var(--concrete);
  color: var(--ink);
  font-size: var(--text-sm);
}

.ib-filter-input:focus {
  border-color: var(--rust);
}

.ib-filter-status {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}

.ib-shelf {
  display: grid;
  gap: 32px;
}

.ib-group-title {
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--steel);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.ib-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ib-entry {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--line);
  border-top: 4px solid var(--steel);
  border-radius: var(--radius);
  background-color: var(--sheet);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease);
}

.ib-entry:hover {
  border-color: var(--steel);
  border-top-color: var(--rust);
  transform: translateY(-2px);
}

.ib-entry-thumb {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: var(--concrete);
}

.ib-entry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ib-entry-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 16px 18px 18px;
}

.ib-entry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.ib-entry-date {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-muted);
}

.ib-entry-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.25;
}

.ib-entry-title a {
  color: var(--ink);
  text-decoration: none;
}

.ib-entry-title a:hover {
  color: var(--rust);
}

.ib-entry-summary {
  margin: 0 0 14px;
  font-size: var(--text-sm);
  color: var(--ink-muted);
  flex: 1 1 auto;
}

.ib-entry-foot {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.ib-entry-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--rust);
  text-decoration: none;
}

.ib-entry-go::after {
  content: "\2192";
}

.ib-entry-go:hover {
  color: var(--rust-dark);
}

/* Article Dossier Layout (post.html) */

.ib-dossier {
  padding-top: 32px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}

.ib-dossier-main {
  min-width: 0;
  padding: 28px 32px 36px;
  border: 1.5px solid var(--line);
  border-top: 4px solid var(--steel);
  border-radius: var(--radius);
  background-color: var(--sheet);
  box-shadow: var(--shadow-sm);
}

.ib-masthead {
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--line);
}

.ib-masthead-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ib-meta-stamp {
  padding: 2px 8px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-color: var(--concrete);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
}

.ib-dossier-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
}

.ib-dossier-lead {
  margin: 0;
  max-width: 68ch;
  font-size: var(--text-lg);
  color: var(--ink-muted);
}

.ib-dossier-fig {
  margin: 0 0 24px;
  border: 2px solid var(--steel);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--concrete);
}

.ib-verdict {
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1.5px solid var(--rust);
  border-left: 6px solid var(--rust);
  border-radius: var(--radius);
  background-color: var(--wash);
  color: var(--ink);
}

.ib-verdict-tag {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
}

.ib-verdict-copy {
  margin: 0;
  max-width: 70ch;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
}

/* Prose Typography */

.ib-prose {
  max-width: 70ch;
  color: var(--ink);
}

.ib-prose > :first-child {
  margin-top: 0;
}

.ib-prose > :last-child {
  margin-bottom: 0;
}

.ib-prose h2 {
  margin: 32px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--line);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  scroll-margin-top: 90px;
}

.ib-prose h3 {
  margin: 24px 0 10px;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  scroll-margin-top: 90px;
}

.ib-prose p {
  margin: 0 0 16px;
}

.ib-prose ul,
.ib-prose ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.ib-prose li {
  margin-bottom: 6px;
}

.ib-prose blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--rust);
  background-color: var(--wash);
  color: var(--ink);
}

.ib-prose code {
  padding: 2px 6px;
  border-radius: var(--radius);
  background-color: var(--concrete);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.ib-prose pre {
  margin: 20px 0;
  padding: 16px;
  border-radius: var(--radius);
  background-color: var(--steel);
  color: var(--ink-light);
  overflow-x: auto;
}

.ib-prose pre code {
  padding: 0;
  background-color: var(--steel);
  color: var(--ink-light);
}

.ib-prose .ib-table-wrap {
  margin: 20px 0;
}

.ib-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.ib-prose th {
  padding: 10px 12px;
  text-align: left;
  background-color: var(--steel);
  color: var(--caution);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ib-prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background-color: var(--sheet);
  color: var(--ink);
  vertical-align: top;
}

.ib-prose tr:last-child td {
  border-bottom: 0;
}

.ib-prose hr {
  margin: 28px 0;
  border: 0;
  border-top: 2px solid var(--line);
}

/* FAQ Accordion */

.ib-faq {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 2px solid var(--line);
}

.ib-faq-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.ib-accordion {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--concrete);
  overflow: hidden;
}

.ib-accordion[open] {
  border-color: var(--steel);
}

.ib-accordion-q {
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  background-color: var(--concrete);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ib-accordion-q::-webkit-details-marker {
  display: none;
}

.ib-accordion-q::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--rust);
  flex-shrink: 0;
}

.ib-accordion[open] .ib-accordion-q::after {
  content: "\2212";
}

.ib-accordion-q:hover {
  background-color: var(--wash);
  color: var(--ink);
}

.ib-accordion-a {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
  background-color: var(--sheet);
  color: var(--ink);
}

.ib-accordion-a p {
  margin: 0;
  max-width: 70ch;
}

/* Related Rows */

.ib-related {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 2px solid var(--line);
}

.ib-related-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.ib-related-row {
  border-bottom: 1px solid var(--line);
}

.ib-related-row:last-child {
  border-bottom: 0;
}

.ib-related-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  text-decoration: none;
  background-color: var(--concrete);
  color: var(--ink);
}

.ib-related-link:hover {
  background-color: var(--wash);
  color: var(--ink);
}

.ib-related-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--rust);
}

.ib-related-summary {
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

/* Sticky Field Spec Rail */

.ib-rail {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 18px;
}

.ib-spec-box,
.ib-toc-box {
  border: 2px solid var(--steel);
  border-radius: var(--radius);
  background-color: var(--sheet);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ib-rail-head {
  padding: 10px 14px;
  background-color: var(--steel);
  color: var(--caution);
  border-bottom: 1.5px solid var(--line-dark);
}

.ib-rail-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--caution);
}

.ib-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.ib-spec-table th,
.ib-spec-table td {
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.ib-spec-table tr:last-child th,
.ib-spec-table tr:last-child td {
  border-bottom: 0;
}

.ib-spec-table th {
  width: 42%;
  color: var(--ink-muted);
  font-weight: 600;
  background-color: var(--concrete);
}

.ib-spec-table td {
  color: var(--ink);
  background-color: var(--sheet);
}

.ib-toc-list {
  margin: 0;
  padding: 10px 0;
  list-style: none;
}

.ib-toc-list a {
  display: block;
  padding: 6px 14px;
  border-left: 3px solid transparent;
  font-size: var(--text-sm);
  line-height: 1.35;
  color: var(--ink-muted);
  text-decoration: none;
}

.ib-toc-list a:hover {
  background-color: var(--concrete);
  color: var(--ink);
}

.ib-toc-list a[data-active] {
  border-left-color: var(--rust);
  background-color: var(--wash);
  color: var(--ink);
  font-weight: 600;
}

.ib-toc-sub a {
  padding-left: 26px;
  font-size: var(--text-xs);
}

.ib-rail-return {
  display: block;
  padding: 12px 14px;
  border: 2px solid var(--steel);
  border-radius: var(--radius);
  background-color: var(--steel);
  color: var(--ink-light);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.ib-rail-return:hover {
  background-color: var(--steel-lift);
  color: var(--caution);
}

/* Standard Page (page.html) */

.ib-sheet-wrap {
  padding-top: 32px;
  padding-bottom: 64px;
}

.ib-sheet-page {
  max-width: 840px;
  margin-inline: auto;
  padding: 32px;
  border: 1.5px solid var(--line);
  border-top: 5px solid var(--rust);
  border-radius: var(--radius);
  background-color: var(--sheet);
  box-shadow: var(--shadow-sm);
}

.ib-sheet-head {
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Legal Page (legal.html) */

.ib-policy-banner {
  padding: 32px 0 36px;
  background-color: var(--steel);
  color: var(--ink-light);
  border-bottom: 4px solid var(--caution);
}

.ib-policy-banner .ib-trail-step {
  color: var(--ink-light-muted);
}

.ib-policy-banner .ib-trail-step + .ib-trail-step::before {
  border-color: var(--ink-light-muted);
}

.ib-policy-banner .ib-trail-step a {
  color: var(--caution);
}

.ib-policy-banner .ib-trail-current {
  color: var(--ink-light);
}

.ib-policy-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.ib-policy-badge {
  padding: 3px 9px;
  border-radius: var(--radius);
  background-color: var(--caution);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ib-policy-date {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-light-muted);
}

.ib-policy-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink-light);
}

.ib-policy-wrap {
  padding-top: 32px;
  padding-bottom: 64px;
}

.ib-policy-sheet {
  max-width: 840px;
  padding: 32px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--sheet);
  box-shadow: var(--shadow-sm);
}

/* Changelog / Recent Feed (blog.html) */

.ib-changelog-wrap {
  padding-top: 32px;
  padding-bottom: 64px;
}

.ib-changelog {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.ib-log-entry {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.ib-log-stamp {
  padding: 10px 12px;
  border-radius: var(--radius);
  background-color: var(--steel);
  color: var(--caution);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-align: center;
}

.ib-log-card {
  padding: 18px 20px;
  border: 1.5px solid var(--line);
  border-left: 4px solid var(--rust);
  border-radius: var(--radius);
  background-color: var(--sheet);
  box-shadow: var(--shadow-sm);
}

.ib-log-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.25;
}

.ib-log-title a {
  color: var(--ink);
  text-decoration: none;
}

.ib-log-title a:hover {
  color: var(--rust);
}

.ib-log-desc {
  margin: 0 0 10px;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

/* 404 Sign Card */

.ib-lost-wrap {
  padding-top: 56px;
  padding-bottom: 72px;
}

.ib-lost-sign {
  max-width: 620px;
  margin-inline: auto;
  border: 2px solid var(--steel);
  border-radius: var(--radius);
  background-color: var(--steel);
  color: var(--ink-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ib-lost-body {
  padding: 32px;
}

.ib-lost-code {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--caution);
}

.ib-lost-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink-light);
}

.ib-lost-copy {
  margin: 0 0 24px;
  color: var(--ink-light-muted);
}

.ib-lost-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Yard Footer */

.ib-yardfoot {
  background-color: var(--steel);
  color: var(--ink-light);
  margin-top: auto;
}

.ib-foot-grid {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 40px 24px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}

.ib-foot-stamp {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--caution);
}

.ib-foot-brand {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--ink-light);
}

.ib-foot-note {
  margin: 0;
  max-width: 44ch;
  font-size: var(--text-sm);
  color: var(--ink-light-muted);
}

.ib-foot-heading {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--caution);
}

.ib-foot-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.ib-foot-list a {
  color: var(--ink-light);
  font-size: var(--text-sm);
  text-decoration: none;
}

.ib-foot-list a:hover {
  color: var(--caution);
  text-decoration: underline;
}

.ib-foot-base {
  border-top: 1px solid var(--line-dark);
  background-color: var(--steel-lift);
  color: var(--ink-light-muted);
}

.ib-foot-base-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--text-sm);
}

.ib-foot-copy {
  margin: 0;
}

.ib-top-jump {
  color: var(--caution);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.ib-top-jump:hover {
  color: var(--ink-light);
}

/* Tablet Breakpoint */

@media (max-width: 900px) {
  .ib-topbar-row {
    flex-wrap: wrap;
  }

  .ib-menu-toggle {
    display: inline-flex;
  }

  .ib-topbar-drawer {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--line-dark);
  }

  .ib-topbar-drawer[data-open] {
    display: flex;
  }

  .ib-nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .ib-nav-link {
    padding: 10px 12px;
  }

  .ib-search-dock {
    width: 100%;
  }

  .ib-search-tray {
    width: 100%;
    left: 0;
    right: 0;
  }

  .ib-deck-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 24px 36px;
  }

  .ib-dispatch-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-dispatch-cell {
    border-bottom: 1px solid var(--line);
  }

  .ib-dispatch-cell:nth-child(2n) {
    border-right: 0;
  }

  .ib-spotlight-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ib-manifest-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .ib-ledger-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ib-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-dossier {
    grid-template-columns: minmax(0, 1fr);
  }

  .ib-rail {
    position: static;
  }

  .ib-foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-foot-identity {
    grid-column: 1 / -1;
  }
}

/* Mobile Breakpoint */

@media (max-width: 640px) {
  .ib-container,
  .ib-topbar-row,
  .ib-deck-inner,
  .ib-foot-grid,
  .ib-foot-base-inner {
    padding-inline: 16px;
  }

  .ib-deck-title {
    font-size: var(--text-3xl);
  }

  .ib-page-title,
  .ib-dossier-title,
  .ib-policy-title,
  .ib-lost-title {
    font-size: var(--text-2xl);
  }

  .ib-deck-actions,
  .ib-lost-actions {
    flex-direction: column;
  }

  .ib-deck-actions .ib-btn,
  .ib-lost-actions .ib-btn {
    width: 100%;
  }

  .ib-spec-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .ib-dispatch-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .ib-dispatch-cell {
    border-right: 0;
  }

  .ib-entry-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ib-ledger-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .ib-ledger-gutter {
    justify-content: flex-start;
    padding: 8px 14px;
  }

  .ib-dossier-main,
  .ib-sheet-page,
  .ib-policy-sheet,
  .ib-overview-card,
  .ib-lost-body {
    padding: 20px 16px;
  }

  .ib-log-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .ib-log-stamp {
    text-align: left;
  }

  .ib-foot-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
