/* ============================================================
   article.css - "A neobank without privacy is just a bank
   with a nicer app"
   Windows 95 / 98 treatment for a plain long-form essay.
   Loaded AFTER /assets/css/style.css, which it deliberately
   overrides: the desktop is fixed-height, this page scrolls.
   The chrome (title bar, menu bar, status bar, taskbar) is
   the same as articles/blockchain-infrastructure-costs-crypto-winter/.
   ============================================================ */

:root {
  --w-face:      #c0c0c0;
  --w-light:     #dfdfdf;
  --w-white:     #ffffff;
  --w-shadow:    #808080;
  --w-dark:      #000000;
  --w-navy:      #000080;
  --w-blue:      #0000ff;
  --w-teal:      #008080;
  --w-maroon:    #800000;
  --w-green:     #008000;
  --w-purple:    #800080;
  --w-select:    #000080;

  --ui:   "MS Sans Serif", "Microsoft Sans Serif", Tahoma, Geneva, sans-serif;
  --mono: "Courier New", Courier, monospace;
}

/* ---------- undo the fixed-height desktop shell ---------- */
html {
  height: auto;
  overflow-y: scroll;
  scroll-behavior: smooth;
}
body {
  height: auto;
  min-height: 100vh;
  overflow: visible;
  user-select: text;
  -webkit-user-select: text;
  background: var(--w-teal);
  color: #000;
  font-family: var(--ui);
  font-size: 13px;
  line-height: 1.62;
  padding: 22px 16px 70px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.hidden { display: none !important; }

/* ---------- Win95 bevels ---------- */
.win-doc,
.chap-head,
.callout {
  border: 2px solid;
  border-color: var(--w-light) var(--w-dark) var(--w-dark) var(--w-light);
  box-shadow: inset 1px 1px 0 var(--w-white), inset -1px -1px 0 var(--w-shadow);
  background: var(--w-face);
}
.doc-area,
.read-track,
.doc-img .frame,
.cmp-wrap {
  border: 2px solid;
  border-color: var(--w-shadow) var(--w-white) var(--w-white) var(--w-shadow);
  box-shadow: inset 1px 1px 0 var(--w-dark), inset -1px -1px 0 var(--w-light);
  background: var(--w-white);
}

/* ============================================================
   THE DOCUMENT WINDOW
   ============================================================ */
.win-doc {
  max-width: 880px;
  margin: 0 auto;
  padding: 2px;
  position: relative;
}
.win-chrome {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--w-face);
  padding-bottom: 2px;
}
.win-doc-header {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  height: 20px;
  padding: 2px 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: bold;
  font-size: 11px;
  user-select: none;
}
.win-doc-header > span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.titlebar-icon { flex: 0 0 auto; }
.win-doc-header .window-controls { gap: 2px; }
.win-doc-header .window-btn {
  width: 16px; height: 14px;
  background: var(--w-face);
  border: 1px solid;
  border-color: var(--w-white) var(--w-dark) var(--w-dark) var(--w-white);
  display: flex; align-items: center; justify-content: center;
  font: bold 10px var(--ui);
  color: #000;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
}
.win-doc-header .window-btn:active {
  border-color: var(--w-dark) var(--w-white) var(--w-white) var(--w-dark);
}

/* ---------- menu bar ---------- */
.menubar {
  display: flex;
  gap: 0;
  background: var(--w-face);
  border-bottom: 1px solid var(--w-shadow);
  box-shadow: 0 1px 0 var(--w-white);
  padding: 1px 2px;
}
.menu { position: relative; }
.menu-title {
  background: none;
  border: none;
  font: 11px var(--ui);
  padding: 3px 9px;
  cursor: pointer;
  color: #000;
}
.menu.open .menu-title { background: var(--w-select); color: #fff; }
.menu-drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  background: var(--w-face);
  border: 2px solid;
  border-color: var(--w-white) var(--w-dark) var(--w-dark) var(--w-white);
  box-shadow: 2px 2px 0 rgba(0,0,0,.35);
  padding: 2px;
  z-index: 70;
}
.menu-drop.wide { min-width: 250px; }
.menu.open .menu-drop { display: block; }
.menu-drop a,
.menu-drop button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font: 11px var(--ui);
  color: #000;
  text-decoration: none;
  padding: 4px 18px 4px 10px;
  cursor: pointer;
  white-space: nowrap;
}
.menu-drop a:hover,
.menu-drop button:hover { background: var(--w-select); color: #fff; }
.menu-sep {
  height: 2px;
  margin: 3px 2px;
  border-top: 1px solid var(--w-shadow);
  border-bottom: 1px solid var(--w-white);
}

/* ---------- the white "page" ---------- */
.doc-area {
  padding: 0 30px 34px;
  background: var(--w-white);
}
@media (max-width: 640px) { .doc-area { padding: 0 14px 24px; } }

/* ============================================================
   TYPE
   ============================================================ */
.doc-area p { margin: 0 0 16px; max-width: 70ch; }
.doc-area p.big { font-size: 15px; }
.doc-area a { color: #0000cc; text-decoration: underline; }
.doc-area a:visited { color: var(--w-purple); }
.doc-area a:hover { background: #ffffcc; }
strong { font-weight: bold; }
em { font-style: italic; }
cite { font-style: italic; }

h1 {
  font-family: var(--ui);
  font-weight: bold;
  font-size: clamp(21px, 4.4vw, 31px);
  line-height: 1.14;
  margin: 0 0 12px;
}
h2 {
  font-family: var(--ui);
  font-weight: bold;
  font-size: clamp(16px, 3vw, 21px);
  line-height: 1.2;
  margin: 0;
}
.kicker, .chap-num, .byline, .scroll-hint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--w-navy);
}

/* ---------- hero ---------- */
.hero {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 34px 0 30px;
  border-bottom: 1px solid var(--w-shadow);
}
.hero-icon { flex: 0 0 auto; margin-top: 4px; }
.hero-text { min-width: 0; }
.hero .kicker { display: block; margin: 0 0 12px; }
.hero .lead {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 14px;
}
.hero .dek { font-size: 13.5px; color: #1a1a1a; max-width: 62ch; }
.hero .byline {
  color: var(--w-shadow);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 16px;
}
.scroll-hint { color: var(--w-shadow); margin-top: 18px; }
.scroll-hint::after { content: " \2193"; }
@media (max-width: 560px) { .hero { flex-direction: column; gap: 10px; } }

/* ---------- chapters ---------- */
section.chapter { padding: 34px 0 6px; }
.chap-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  margin: 0 0 20px;
}
.chap-icon { flex: 0 0 auto; }
.chap-num { display: block; margin-bottom: 2px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- pull quote: a sunken notepad line ---------- */
.pull {
  margin: 22px 0;
  padding: 12px 16px;
  background: #ffffcc;
  border: 1px solid var(--w-shadow);
  box-shadow: 2px 2px 0 rgba(0,0,0,.2);
  font-size: 15px;
  font-weight: bold;
  line-height: 1.4;
  max-width: 60ch;
}
.pull small {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: normal;
  color: #333;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ---------- callout ---------- */
.callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  margin: 22px 0;
}
.callout img { flex: 0 0 auto; }
.callout p { margin: 0; font-size: 12.5px; max-width: none; }

/* ============================================================
   FIGURE = a little window
   ============================================================ */
.fig {
  margin: 24px 0;
  background: var(--w-face);
  border: 2px solid;
  border-color: var(--w-light) var(--w-dark) var(--w-dark) var(--w-light);
  box-shadow: inset 1px 1px 0 var(--w-white), inset -1px -1px 0 var(--w-shadow),
              2px 2px 0 rgba(0,0,0,.25);
  padding: 2px;
}
.fig-bar {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 6px;
  display: flex;
  align-items: center;
  min-height: 20px;
}
.fig-body { padding: 14px; }
.fig-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.fig-icon { flex: 0 0 auto; }
.fig-head > div, .fig-head > p { min-width: 0; margin: 0; }
.fig-sub { font-size: 12px; color: #1a1a1a; margin: 0; max-width: none; }
.fig-note {
  font-size: 11px;
  color: #333;
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--w-shadow);
  line-height: 1.5;
  max-width: none;
}
.fig-note a { color: #333; }

/* ============================================================
   IMAGES - a picture inside a sunken frame, like Paint
   ============================================================ */
.doc-img {
  margin: 24px 0;
}
.doc-img .frame {
  padding: 3px;
  line-height: 0;
}
.doc-img img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: auto;
}
.doc-img figcaption {
  font-size: 11.5px;
  color: #333;
  margin-top: 8px;
  line-height: 1.5;
}
.doc-img figcaption .src { color: #555; }
.doc-img figcaption .src a { color: #555; }
.doc-img.narrow { max-width: 420px; }
/* a 360px TV still shown at exactly 2x, nearest-neighbour, so it reads as a
   chunky broadcast frame instead of a blurry upscale */
.doc-img.x2 { max-width: 720px; }
.doc-img.x2 img { image-rendering: pixelated; image-rendering: crisp-edges; }
.doc-img.narrow.center { margin-left: auto; margin-right: auto; }

/* ============================================================
   COMPARISON TABLE - a Win95 list view
   ============================================================ */
.cmp-wrap {
  overflow-x: auto;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}
table.cmp {
  border-collapse: collapse;
  width: 100%;
  min-width: 720px;
  font-size: 12px;
  line-height: 1.45;
  background: #fff;
}
table.cmp th,
table.cmp td {
  text-align: left;
  vertical-align: top;
  padding: 7px 10px;
  border-right: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
}
table.cmp th:last-child,
table.cmp td:last-child { border-right: none; }
table.cmp tbody tr:last-child td { border-bottom: none; }

/* column headers as raised list-view buttons */
table.cmp thead th {
  position: sticky;
  top: 0;
  background: var(--w-face);
  border: 1px solid;
  border-color: var(--w-white) var(--w-shadow) var(--w-shadow) var(--w-white);
  box-shadow: inset 1px 1px 0 var(--w-light), inset -1px -1px 0 #a0a0a0;
  font-weight: bold;
  white-space: nowrap;
  z-index: 1;
}
table.cmp thead th.haven { background: #d8dce8; }
table.cmp tbody th {
  font-weight: bold;
  background: #f4f4f4;
  width: 150px;
  white-space: nowrap;
}
table.cmp td.haven {
  background: #eef1f8;
  font-weight: bold;
}
table.cmp td .mark {
  font-family: var(--mono);
  font-weight: bold;
  margin-right: 4px;
}
table.cmp td .mark.bad  { color: var(--w-maroon); }
table.cmp td .mark.good { color: var(--w-green); }
table.cmp td .mark.meh  { color: #806000; }
table.cmp td small { display: block; font-weight: normal; color: #333; font-size: 11px; }
@media (max-width: 560px) {
  table.cmp { font-size: 11.5px; }
  table.cmp tbody th { width: 110px; white-space: normal; }
}

/* ---------- sources ---------- */
.sources { margin-top: 30px; }
.sources p { font-size: 11.5px; line-height: 1.7; margin-bottom: 9px; max-width: none; }

/* ============================================================
   STATUS BAR
   ============================================================ */
.statusbar {
  position: sticky;
  bottom: 40px;          /* clear the fixed taskbar */
  z-index: 55;
  display: flex;
  gap: 2px;
  padding: 2px;
  background: var(--w-face);
}
.status-cell {
  border: 1px solid;
  border-color: var(--w-shadow) var(--w-white) var(--w-white) var(--w-shadow);
  padding: 2px 6px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.status-cell.grow { flex: 1; min-width: 0; }
.status-cell:nth-child(2) { width: 130px; display: flex; align-items: center; }
.read-track { width: 100%; height: 12px; overflow: hidden; padding: 1px; }
.read-fill {
  height: 100%; width: 0%;
  transition: width .15s linear;
  background-color: var(--w-navy);
  background-image: repeating-linear-gradient(90deg, transparent 0 14px, var(--w-white) 14px 16px);
}
@media (max-width: 560px) { .status-cell:nth-child(2) { display: none; } }

/* ============================================================
   TASKBAR
   ============================================================ */
.taskbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 38px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px;
  background: var(--w-face);
  border-top: 2px solid var(--w-white);
}
.taskbar .start-button { border-radius: 0; min-width: 0; }
.task-buttons { flex: 1; display: flex; gap: 3px; min-width: 0; padding-left: 4px; }
.task-btn {
  display: flex; align-items: center; gap: 6px;
  max-width: 280px; height: 26px; padding: 0 8px;
  font: 11px var(--ui);
  background: var(--w-face);
  border: 2px solid;
  border-color: var(--w-dark) var(--w-white) var(--w-white) var(--w-dark);
  box-shadow: inset 1px 1px 0 var(--w-shadow);
  cursor: default;
  border-radius: 0;
  min-width: 0;
}
.task-btn span {
  font-weight: bold;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.taskbar .taskbar-clock {
  margin-left: auto;
  height: 26px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 12px;
  min-width: 100px;
  font-size: 11px;
  background: #e0e0e0;
  border: 1px inset var(--w-face);
  position: static;
}

/* ---------- start menu ---------- */
.start-menu {
  display: none;
  position: fixed;
  bottom: 38px; left: 4px;
  z-index: 160;
  width: 264px;
  background: var(--w-face);
  border: 2px solid;
  border-color: var(--w-white) var(--w-dark) var(--w-dark) var(--w-white);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, .3);
  padding: 2px;
}
.start-menu.open { display: flex; }
.start-menu-banner {
  width: 24px;
  background: linear-gradient(180deg, #000080, #1084d0);
  color: #fff;
  font-weight: bold;
  font-size: 13px;
  letter-spacing: .06em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: left;
  padding: 8px 4px;
  flex: 0 0 auto;
}
.start-menu-items { flex: 1; min-width: 0; }
.start-menu .start-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  padding: 10px 14px;
  font: 12px var(--ui);
  color: #000;
  text-decoration: none;
  background: none;
  border: none;
  border-bottom: 1px solid var(--w-shadow);
  cursor: pointer;
  text-align: left;
  border-radius: 0;
}
.start-menu .start-menu-item:last-child { border-bottom: none; }
.start-menu .start-menu-item:hover { background: var(--w-blue); color: #fff; }

/* ---------- print ---------- */
@media print {
  body { background: #fff; padding: 0; }
  .win-chrome, .taskbar, .statusbar, .start-menu { display: none !important; }
  .win-doc { border: none; box-shadow: none; max-width: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .cmp-wrap { overflow: visible; }
  table.cmp { min-width: 0; }
}

/* ============================================================
   WIDGETS - everything below is built from Win95 controls
   ============================================================ */

/* ---------- stat tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.tile {
  padding: 12px;
  border: 2px solid;
  border-color: var(--w-light) var(--w-dark) var(--w-dark) var(--w-light);
  box-shadow: inset 1px 1px 0 var(--w-white), inset -1px -1px 0 var(--w-shadow);
  background: var(--w-face);
}
.tile .v {
  font-family: var(--mono);
  font-weight: bold;
  font-size: 24px;
  line-height: 1.1;
  display: block;
}
.tile .v.neg { color: var(--w-maroon); }
.tile .l { font-size: 12px; margin-top: 6px; line-height: 1.4; }
.tile .s { font-size: 11px; margin-top: 6px; }
.tile .s a { color: #333; }

/* ---------- horizontal bars (segmented progress fills) ---------- */
.htrack, .meter-track {
  border: 2px solid;
  border-color: var(--w-shadow) var(--w-white) var(--w-white) var(--w-shadow);
  box-shadow: inset 1px 1px 0 var(--w-dark), inset -1px -1px 0 var(--w-light);
  background: var(--w-white);
}
.hfill, .meter-fill {
  background-color: var(--w-navy);
  background-image: repeating-linear-gradient(90deg, transparent 0 14px, var(--w-white) 14px 16px);
  height: 100%;
}
.hbars { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.hbar { display: flex; align-items: center; gap: 10px; }
.hbar .hname { flex: 0 0 148px; font-size: 12px; text-align: right; line-height: 1.25; }
.hbar .htrack { flex: 1; height: 18px; overflow: hidden; padding: 1px; }
.hbar .hfill { width: 0%; transition: width .9s cubic-bezier(.2,.7,.3,1); }
.hbar .hval { flex: 0 0 48px; font-family: var(--mono); font-size: 12px; }
@media (max-width: 560px) { .hbar .hname { flex-basis: 100px; font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .hfill, .meter-fill { transition: none !important; } }

/* ---------- Win95 push buttons ---------- */
.doc-area button,
.doc-area a.btn {
  font-family: var(--ui);
  font-size: 12px;
  color: #000;
  background: var(--w-face);
  border: 2px solid;
  border-color: var(--w-white) var(--w-dark) var(--w-dark) var(--w-white);
  box-shadow: inset 1px 1px 0 var(--w-light), inset -1px -1px 0 var(--w-shadow);
  padding: 5px 12px;
  cursor: pointer;
  border-radius: 0;
  text-decoration: none;
  min-width: 0;
}
.doc-area button:active {
  border-color: var(--w-dark) var(--w-white) var(--w-white) var(--w-dark);
  box-shadow: inset 1px 1px 0 var(--w-shadow);
  padding: 6px 11px 4px 13px;
}
.doc-area button:focus-visible { outline: 1px dotted #000; outline-offset: -4px; }
.doc-area button[disabled] {
  color: var(--w-shadow);
  text-shadow: 1px 1px 0 var(--w-white);
  cursor: default;
}
.btn-primary { font-weight: bold; outline: 2px solid var(--w-dark); outline-offset: 1px; }
.picked {
  border-color: var(--w-dark) var(--w-white) var(--w-white) var(--w-dark) !important;
  box-shadow: inset 1px 1px 0 var(--w-shadow) !important;
  background: #d8d8d8 !important;
  background-image: repeating-conic-gradient(#d8d8d8 0 25%, #c8c8c8 0 50%) !important;
  background-size: 2px 2px !important;
  font-weight: bold;
}
.q-nav { margin-top: 14px; }

/* ---------- CTA buttons (same as the first article) ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 6px; }
.cta-row.big { margin-top: 8px; }
.doc-area .btn-cta,
.doc-area .btn-cta:visited { color: #000; text-decoration: none; }
.doc-area .btn-cta:hover { background: #cdcdcd; }
.btn-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 260px;
  min-width: 0;
  padding: 12px 16px;
  background: var(--w-face);
  border: 2px solid;
  border-color: var(--w-white) var(--w-dark) var(--w-dark) var(--w-white);
  box-shadow: inset 1px 1px 0 var(--w-light), inset -1px -1px 0 var(--w-shadow);
  outline: 2px solid var(--w-dark);
  outline-offset: 1px;
}
.btn-cta.secondary { outline: none; flex: 1 1 220px; }
.btn-cta:active {
  border-color: var(--w-dark) var(--w-white) var(--w-white) var(--w-dark);
  box-shadow: inset 1px 1px 0 var(--w-shadow);
}
.btn-cta:focus-visible { outline: 2px dotted var(--w-navy); outline-offset: 2px; }
.btn-cta img { flex: 0 0 auto; }
.cta-t { display: flex; flex-direction: column; gap: 2px; font-weight: bold; font-size: 14px; line-height: 1.2; min-width: 0; }
.cta-t small { font-weight: normal; font-size: 11px; color: #333; }
.hero .cta-row { margin: 22px 0 18px; max-width: 560px; }
@media (max-width: 560px) { .btn-cta, .btn-cta.secondary { flex: 1 1 100%; } }

/* ---------- Breadcrumbs.exe ---------- */
.crumb-wallet {
  border: 2px solid;
  border-color: var(--w-shadow) var(--w-white) var(--w-white) var(--w-shadow);
  box-shadow: inset 1px 1px 0 var(--w-dark), inset -1px -1px 0 var(--w-light);
  background: var(--w-white);
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 12px;
}
.crumb-row { display: flex; gap: 12px; padding: 2px 0; }
.crumb-k { flex: 0 0 90px; color: #333; }
.crumb-v { font-weight: bold; }
.crumb-v.mono { font-family: var(--mono); font-weight: normal; }
.crumb-v.exposed { color: var(--w-maroon); }
.crumb-v.safe { color: var(--w-green); }
.crumb-list { list-style: none; margin: 0 0 14px; padding: 0; }
.crumb-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 0; font-size: 12.5px;
  transition: color .3s ease;
}
.crumb-list .chk {
  flex: 0 0 auto;
  width: 13px; height: 13px;
  background: var(--w-white);
  border: 1px solid;
  border-color: var(--w-shadow) var(--w-white) var(--w-white) var(--w-shadow);
  box-shadow: inset 1px 1px 0 var(--w-dark);
  position: relative;
}
.crumb-list li.on { color: var(--w-maroon); font-weight: bold; }
.crumb-list li.on .chk::after {
  content: "\2713";
  position: absolute; left: 1px; top: -3px;
  font-size: 12px; font-weight: bold; color: #000;
}
.crumb-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.crumb-msg {
  margin: 12px 0 0 !important;
  padding: 8px 10px;
  font-size: 12px;
  background: #ffffcc;
  border: 1px solid var(--w-shadow);
  max-width: none !important;
}
.crumb-msg.bad { background: #f5d6d6; }
.crumb-msg.good { background: #d9f0d9; }

/* ---------- Acquisti lab ---------- */
.lab-q { font-weight: bold; font-size: 14px; margin: 0; max-width: none; }
.lab-opts { display: flex; flex-direction: column; gap: 6px; }
.doc-area .lab-opt { text-align: left; font-size: 12px; padding: 8px 11px; line-height: 1.4; }
.lab-reveal {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--w-shadow);
}
.lab-bars { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.lab-bars .hname { flex-basis: 250px; }
@media (max-width: 640px) { .lab-bars .hname { flex-basis: 150px; font-size: 11px; } }
.lab-reveal p { max-width: none; }

/* ---------- flow ---------- */
.flow {
  display: flex;
  align-items: stretch;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 2px 8px;
}
.doc-area .flow-step {
  flex: 1 0 96px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 6px;
  font-size: 11.5px;
  line-height: 1.2;
  text-align: center;
}
.flow-step img { image-rendering: pixelated; }
.flow-arrow { align-self: center; font-family: var(--mono); font-size: 16px; color: var(--w-shadow); flex: 0 0 auto; }
.flow-desc {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 8px;
  padding: 10px 12px;
  border: 2px solid;
  border-color: var(--w-shadow) var(--w-white) var(--w-white) var(--w-shadow);
  box-shadow: inset 1px 1px 0 var(--w-dark), inset -1px -1px 0 var(--w-light);
  background: var(--w-white);
  min-height: 64px;
}
.flow-desc img { flex: 0 0 auto; }
.flow-desc p { margin: 0; font-size: 12.5px; max-width: none; }
.flow-desc strong { color: var(--w-navy); }

/* ---------- breadcrumb audit ---------- */
.aq {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #dcdcdc;
}
.aq:last-child { border-bottom: none; }
.aq-t { font-size: 12.5px; margin: 0; max-width: none; }
.aq-opts { display: flex; gap: 4px; flex: 0 0 auto; }
.doc-area .aq-opt { font-size: 11px; padding: 4px 10px; min-width: 44px; }
.audit-result { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--w-shadow); }
.meter-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.meter-name { font-weight: bold; font-size: 12.5px; }
.meter-val { font-family: var(--mono); font-size: 11.5px; }
.meter-track { height: 16px; overflow: hidden; padding: 1px; }
.meter-fill { width: 0%; transition: width .5s cubic-bezier(.2,.7,.3,1); }
.meter-fill.warm { background-color: var(--w-maroon); }
.audit-verdict { font-size: 12.5px; margin: 10px 0 0 !important; max-width: none !important; }
.audit-verdict strong { color: var(--w-navy); }
@media (max-width: 560px) {
  .aq { flex-direction: column; align-items: flex-start; gap: 6px; }
}
