/* ==========================================================================
   opensource-analytics.com · post 436 "One Access Log, Five Analyzers"
   Frames K1-K6, S1, KF. Prefix: osa-la-. Phone first (column 358 px at 390).
   Appended to the theme's style.css, so font URLs are relative to the theme root.
   Ink = what is true. Indigo = what is off. Numbers are JetBrains Mono.
   ========================================================================== */

/* The theme ships JetBrains Mono 400 and 500 from this same variable file; the frames need a real 700. */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/jetbrains-mono-1cd702cd.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.osa-la {
  --osa-ink: #0F172A;
  --osa-mark: #1E293B;
  --osa-mute: #475569;
  --osa-soft: #64748B;
  --osa-acc: #4F46E5;
  --osa-acc2: #7C3AED;
  --osa-tint: #E0E7FF;
  --osa-line: #E2E8F0;
  --osa-cell: #E2E8F0;
  --osa-sans: Inter, system-ui, -apple-system, sans-serif;
  --osa-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --osa-grad: linear-gradient(90deg, var(--osa-acc), var(--osa-acc2));
  box-sizing: border-box;
  display: block;
  max-width: 480px;
  margin: 36px auto;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--osa-line);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 18px 36px -28px rgba(15, 23, 42, .28);
  font-family: var(--osa-sans);
  font-size: 16px;
  line-height: 1.4;
  font-style: normal;
  color: var(--osa-ink);
  text-align: left;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: only light;   /* the browser's forced dark mode must not repaint the frame: ink marks would vanish */
}
.osa-la *, .osa-la *::before, .osa-la *::after { box-sizing: border-box; }
.osa-la b, .osa-la i, .osa-la em { font-style: normal; font-weight: inherit; }

/* conclusion heading: the theme's own section mark (a gradient pill) beside it */
.osa-la .osa-la-t {
  position: relative;
  display: block;
  margin: 0 0 20px;
  padding: 0 0 0 15px;
  font-family: var(--osa-sans);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.02em;
  color: var(--osa-ink);
  text-align: left;
  text-wrap: balance;
}
.osa-la .osa-la-t::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--osa-acc), var(--osa-acc2));
}
/* source line: a shell comment */
.osa-la .osa-la-src {
  display: block;
  margin: 20px 0 0;
  font-family: var(--osa-mono);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--osa-soft);
}
.osa-la .osa-la-b { display: block; margin: 0; }
.osa-la .osa-la-n { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--osa-ink); }
.osa-la .osa-la-m { font-size: 16px; font-weight: 400; line-height: 1.4; color: var(--osa-mute); }
.osa-la .osa-la-v { font-family: var(--osa-mono); font-size: 20px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--osa-ink); white-space: nowrap; }
.osa-la .osa-la-hero { font-family: var(--osa-mono); font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: -.04em; color: var(--osa-ink); white-space: nowrap; }

.osa-la .osa-la-v, .osa-la .osa-la-hero, .osa-la .osa-la-src, .osa-la code, .osa-la pre { font-variant-ligatures: none; }
.osa-la .osa-la-u { margin-left: .14em; font-family: var(--osa-sans); font-weight: 700; letter-spacing: 0; }

/* person mark: "a visitor in the report" */
.osa-la .osa-la-p { --pw: 14px; position: relative; display: inline-block; flex: none; width: var(--pw); height: calc(var(--pw) * 1.3); color: var(--osa-mark); }
.osa-la .osa-la-p::before { content: ""; position: absolute; left: 50%; top: 0; width: calc(var(--pw) * .57); height: calc(var(--pw) * .57); margin-left: calc(var(--pw) * -.285); border-radius: 50%; background: currentColor; }
.osa-la .osa-la-p::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--pw) * .57); border-radius: calc(var(--pw) * .5) calc(var(--pw) * .5) 2px 2px; background: currentColor; }
.osa-la .osa-la-p.is-x { color: var(--osa-acc); }

/* ---------- K1: five answers against the truth line ---------- */
.osa-la .osa-la-vs { position: relative; }
.osa-la .osa-la-vs-flag { position: relative; height: 40px; }
.osa-la .osa-la-vs-flag > span { position: absolute; left: var(--x); top: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.osa-la .osa-la-vs-chip { padding: 2px 9px 3px; border-radius: 7px; background: var(--osa-mark); color: #fff; }
.osa-la .osa-la-vs-rows { position: relative; display: grid; row-gap: 14px; padding: 8px 0 0; }
.osa-la .osa-la-vs-rows::before { content: ""; position: absolute; left: var(--x); top: -4px; bottom: -8px; width: 2px; margin-left: -1px; background: var(--osa-ink); }
.osa-la .osa-la-vs-r { position: relative; display: flex; align-items: center; gap: 8px; min-height: 34px; }
.osa-la .osa-la-vs-bar { position: relative; z-index: 1; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: var(--w); height: 34px; padding: 0 8px; border-radius: 0 5px 5px 0; background: linear-gradient(90deg, var(--osa-mark) 0, var(--osa-mark) var(--t), var(--osa-acc) var(--t), var(--osa-acc2) 100%); }
.osa-la .osa-la-vs-bar .osa-la-n { color: #fff; white-space: nowrap; letter-spacing: -.01em; }
.osa-la .osa-la-vs-bar .osa-la-v { color: #fff; }

/* ---------- K2: what is in the log ---------- */
.osa-la .osa-la-log-top { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; }
.osa-la .osa-la-log-bar { display: flex; gap: 2px; height: 32px; }
.osa-la .osa-la-log-bar > i { display: block; height: 100%; flex: 0 0 auto; }
.osa-la .osa-la-log-bar > i:first-child { width: calc(var(--p) - 1px); background: var(--osa-mark); border-radius: 5px 0 0 5px; }
.osa-la .osa-la-log-bar > i:last-child { flex: 1 1 auto; background: var(--osa-grad); border-radius: 0 5px 5px 0; }
.osa-la .osa-la-log-key { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 0; }
.osa-la .osa-la-log-key > span { display: grid; row-gap: 2px; }
.osa-la .osa-la-log-key > span:last-child { text-align: right; justify-items: end; }
.osa-la .osa-la-log-ans { display: grid; row-gap: 12px; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--osa-line); }
.osa-la .osa-la-log-ans > div { display: flex; align-items: baseline; gap: 10px; }
.osa-la .osa-la-log-ans > div > i { flex: 1 1 auto; min-width: 12px; height: 0; border-bottom: 2px dotted #CBD5E1; transform: translateY(-4px); }
.osa-la .osa-la-log-ans .osa-la-v { font-size: 24px; }

/* ---------- K3: who lets the bots through ---------- */
.osa-la .osa-la-map { display: grid; grid-template-columns: minmax(0, 134px) repeat(4, minmax(0, 1fr)); column-gap: 6px; row-gap: 6px; align-items: center; }
.osa-la .osa-la-map-h { position: relative; height: 62px; }
.osa-la .osa-la-map-h > em { position: absolute; right: 50%; bottom: 8px; transform-origin: 100% 100%; transform: rotate(42deg); white-space: nowrap; font-size: 16px; font-weight: 600; line-height: 1; color: var(--osa-ink); }
.osa-la .osa-la-map-l { padding-right: 4px; white-space: nowrap; }
.osa-la .osa-la-cell { display: flex; align-items: center; justify-content: center; height: 38px; border-radius: 8px; background: var(--osa-cell); }
.osa-la .osa-la-cell.is-on { background: var(--osa-acc); }
.osa-la .osa-la-cell.is-on .osa-la-p { color: #fff; }
.osa-la .osa-la-cell.is-flag { background: #fff; border: 2px solid var(--osa-acc); }
.osa-la .osa-la-cell.is-flag .osa-la-p { color: var(--osa-acc); }
.osa-la .osa-la-map-key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 0; }
.osa-la .osa-la-map-key > span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.osa-la .osa-la-map-key .osa-la-cell { width: 24px; height: 24px; border-radius: 6px; flex: none; }
.osa-la .osa-la-map-key .osa-la-p { transform: scale(.8); }

/* ---------- K4: one reader, three rules ---------- */
.osa-la .osa-la-rules-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 12px; }
.osa-la .osa-la-rules-h { align-items: end; margin: 0 0 12px; padding: 0 0 8px; border-bottom: 1px solid var(--osa-line); }
.osa-la .osa-la-rules-band { display: grid; row-gap: 6px; }
.osa-la .osa-la-rules-band + .osa-la-rules-band { margin-top: 20px; }
.osa-la .osa-la-rules-c { display: grid; row-gap: 4px; justify-items: start; }
.osa-la .osa-la-rules-c > span { display: flex; gap: 3px; }
.osa-la .osa-la-rules-c .osa-la-p { --pw: 12px; }
.osa-la .osa-la-rules-x { margin: 20px 0 0; padding: 12px 0 0; border-top: 1px solid var(--osa-line); align-items: start; }

/* ---------- S1: the screenshot ---------- */
.osa-la .osa-la-shot { position: relative; display: block; margin: 0; max-width: 412px; border: 1px solid var(--osa-line); border-radius: 10px; overflow: hidden; background: #fff; }
.osa-la .osa-la-shot img { display: block; width: 100%; height: auto; margin: 0; border-radius: 0; max-width: none; }
.osa-la .osa-la-shot-mark { position: absolute; border: 3px solid var(--osa-acc); border-radius: 10px; pointer-events: none; }
.osa-la .osa-la-shot-tag { position: absolute; right: -3px; bottom: 100%; padding: 3px 10px 4px; border-radius: 8px 8px 0 0; background: var(--osa-acc); color: #fff; font-size: 16px; font-weight: 600; line-height: 1.3; white-space: nowrap; }

/* ---------- K5: distance from the truth ---------- */
.osa-la .osa-la-off { --lab: 96px; }
.osa-la .osa-la-off-top { display: flex; justify-content: flex-end; margin: 0 0 4px; }
.osa-la .osa-la-off-cap { position: relative; height: 22px; margin: 0 0 3px; }
.osa-la .osa-la-off-cap > span { position: absolute; top: 0; left: calc(var(--lab) + (100% - var(--lab)) * var(--f)); transform: translateX(-50%); white-space: nowrap; }
.osa-la .osa-la-off-plot { position: relative; display: grid; grid-template-columns: var(--lab) minmax(0, 1fr); row-gap: 12px; align-items: center; }
.osa-la .osa-la-off-plot > .osa-la-n { padding-right: 8px; }
.osa-la .osa-la-off-g, .osa-la .osa-la-off-z { position: absolute; top: 0; bottom: 0; left: calc(var(--lab) + (100% - var(--lab)) * var(--f)); width: 1px; background: var(--osa-line); }
.osa-la .osa-la-off-z { width: 2px; margin-left: -1px; background: var(--osa-ink); }
.osa-la .osa-la-off-tr { position: relative; height: 32px; }
.osa-la .osa-la-off-tr.is-tall { height: 40px; }
.osa-la .osa-la-off-tr > i { position: absolute; top: 4px; height: 24px; margin: 0 -12px; padding: 0 12px; box-sizing: content-box; border-radius: 12px; background: var(--osa-tint); }
.osa-la .osa-la-off-tr > b:not(.osa-la-v) { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--osa-mark); box-shadow: 0 0 0 2px #fff; }
.osa-la .osa-la-off-tr > b.is-x { background: var(--osa-acc); }
.osa-la .osa-la-off-tr > .osa-la-v { position: absolute; top: 50%; transform: translateY(-50%); padding: 2px 4px; background: #fff; }
.osa-la .osa-la-off-who { --off: 20px; position: relative; height: 45px; margin-top: -8px; }
.osa-la .osa-la-off-who > span { position: absolute; top: 0; right: calc(100% - var(--x) - var(--off)); padding: 0 0 0 4px; background: #fff; text-align: right; white-space: nowrap; }
.osa-la .osa-la-off-who > span.is-end { right: 0; }
.osa-la .osa-la-off-ax { position: relative; height: 22px; margin: 8px 0 0; }
.osa-la .osa-la-off-ax > span { position: absolute; top: 0; left: calc(var(--lab) + (100% - var(--lab)) * var(--f)); transform: translateX(-50%); white-space: nowrap; }
.osa-la .osa-la-off-ax > span.is-end { transform: translateX(-100%); margin-left: 9px; }

/* ---------- K6: seconds and minutes ---------- */
.osa-la .osa-la-time { position: relative; }
.osa-la .osa-la-time-ax { position: relative; height: 22px; margin: 0 0 6px; }
.osa-la .osa-la-time-ax > span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.osa-la .osa-la-time-ax > span:first-child { transform: none; }
.osa-la .osa-la-time-ax > span:last-child { transform: translateX(-100%); }
.osa-la .osa-la-time-g { position: absolute; top: 26px; bottom: 0; width: 1px; background: var(--osa-line); }
.osa-la .osa-la-time-rows { position: relative; display: grid; row-gap: 12px; }
.osa-la .osa-la-time-r { display: flex; align-items: center; gap: 8px; min-height: 24px; white-space: nowrap; }
.osa-la .osa-la-time-r > i { flex: none; width: var(--w); height: 24px; border-radius: 0 4px 4px 0; background: var(--osa-mark); }
.osa-la .osa-la-time-r .osa-la-v, .osa-la .osa-la-time-r .osa-la-n, .osa-la .osa-la-time-r .osa-la-hero { position: relative; background: #fff; }
.osa-la .osa-la-time-wrap { position: relative; display: grid; row-gap: 2px; margin: 20px 0 0; }
.osa-la .osa-la-time-wrap > i { display: block; height: 24px; background: var(--osa-grad); border-radius: 0 4px 4px 0; }
.osa-la .osa-la-time-wrap .osa-la-time-r { min-height: 33px; }
.osa-la .osa-la-time-wrap .osa-la-time-r > i { background: var(--osa-grad); background-size: calc(100% * var(--k)) 100%; }

/* ---------- KF: lab notes, closed until the reader opens them ---------- */
details.osa-la { padding: 0; }
.osa-la .osa-la-ref-s { display: grid; grid-template-columns: minmax(0, 1fr) 44px; column-gap: 12px; align-items: center; min-height: 44px; padding: 24px 20px; cursor: pointer; list-style: none; border-radius: 16px; -webkit-tap-highlight-color: transparent; }
.osa-la .osa-la-ref-s::-webkit-details-marker { display: none; }
.osa-la .osa-la-ref-s::marker { content: ""; }
.osa-la .osa-la-ref-s .osa-la-t { margin: 0; }
.osa-la .osa-la-ref-s .osa-la-src { grid-column: 1; margin: 12px 0 0; }
.osa-la .osa-la-ref-btn { grid-column: 2; grid-row: 1; position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--osa-acc); }
.osa-la .osa-la-ref-btn::before, .osa-la .osa-la-ref-btn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 1px; background: #fff; transition: transform .2s; }
.osa-la .osa-la-ref-btn::after { transform: rotate(90deg); }
details.osa-la[open] .osa-la-ref-btn::after { transform: rotate(0deg); }
.osa-la .osa-la-ref-s:focus-visible { outline: 3px solid var(--osa-acc); outline-offset: 2px; }
.osa-la .osa-la-ref-c { padding: 4px 20px 24px; border-top: 1px solid var(--osa-line); font-size: 15px; line-height: 1.6; color: #334155; }
.osa-la .osa-la-ref-c > :first-child { margin-top: 20px; }
.osa-la .osa-la-ref-c > :last-child { margin-bottom: 0; }
.osa-la .osa-la-ref-c h3, .osa-la .osa-la-ref-c h4 { margin: 28px 0 10px; font-family: var(--osa-sans); font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; color: var(--osa-ink); }
.osa-la .osa-la-ref-c h4 { font-size: 15px; margin-top: 22px; }
.osa-la .osa-la-ref-c p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; }
.osa-la .osa-la-ref-c ul, .osa-la .osa-la-ref-c ol { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
.osa-la .osa-la-ref-c ol { list-style: decimal; }
.osa-la .osa-la-ref-c li { margin: 0 0 6px; font-size: 15px; line-height: 1.6; }
.osa-la .osa-la-ref-c a { color: var(--osa-acc); text-decoration: underline; text-underline-offset: 2px; }
.osa-la .osa-la-ref-c strong, .osa-la .osa-la-ref-c b { font-weight: 600; color: var(--osa-ink); }
.osa-la .osa-la-ref-c code { font-family: var(--osa-mono); font-size: 14px; line-height: 1.5; color: var(--osa-ink); overflow-wrap: anywhere; }
.osa-la .osa-la-ref-c p code, .osa-la .osa-la-ref-c li code, .osa-la .osa-la-ref-c td code, .osa-la .osa-la-ref-c .osa-la-card code { padding: 1px 5px; border-radius: 4px; background: #F1F5F9; font-size: 14px; }
.osa-la .osa-la-ref-c pre { margin: 0 0 16px; padding: 12px 10px; border: 1px solid var(--osa-line); border-radius: 10px; background: #F8FAFC; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: pre-wrap; }
.osa-la .osa-la-ref-c pre code { display: block; padding: 0; background: none; font-size: 14px; line-height: 1.55; letter-spacing: -.02em; white-space: pre-wrap; overflow-wrap: normal; }
.osa-la .osa-la-ref-c .osa-la-ln { display: block; padding-left: 2ch; text-indent: -2ch; }
.osa-la .osa-la-ref-c .osa-la-tk { white-space: nowrap; }
.osa-la .osa-la-ref-c td .osa-la-tk, .osa-la .osa-la-ref-c th .osa-la-tk { white-space: normal; }
/* a word of a command stays in one piece; only a word longer than the whole line (a long path or URL on a narrow phone) wraps inside itself */
.osa-la .osa-la-ref-c pre .osa-la-tk { display: inline-block; width: max-content; max-width: 100%; vertical-align: top; text-indent: 0; white-space: normal; overflow-wrap: anywhere; }
.osa-la .osa-la-ref-c pre .osa-la-ln > .osa-la-tk:first-child { max-width: calc(100% + 2ch); }   /* the first word of a line also has the hanging indent to its left */
.osa-la .osa-la-ref-c table { display: block; max-width: 100%; margin: 0 0 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.osa-la .osa-la-ref-c th, .osa-la .osa-la-ref-c td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--osa-line); text-align: left; vertical-align: top; font-size: 14px; }
.osa-la .osa-la-ref-c th { font-weight: 600; color: var(--osa-ink); vertical-align: bottom; }
.osa-la .osa-la-ref-c th:last-child, .osa-la .osa-la-ref-c td:last-child { padding-right: 0; }
.osa-la .osa-la-ref-c .osa-la-cards { display: grid; row-gap: 0; margin: 0 0 18px; }
.osa-la .osa-la-ref-c .osa-la-card { padding: 16px 0; border-bottom: 1px solid var(--osa-line); }
.osa-la .osa-la-ref-c .osa-la-card:first-child { padding-top: 4px; }
.osa-la .osa-la-ref-c .osa-la-card-t { margin: 0 0 10px; font-size: 15px; line-height: 1.5; }
.osa-la .osa-la-ref-c .osa-la-card-t strong { font-size: 16px; }
.osa-la .osa-la-ref-c .osa-la-card-r { display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: 10px; margin: 0 0 8px; }
.osa-la .osa-la-ref-c .osa-la-card-r:last-child { margin-bottom: 0; }
.osa-la .osa-la-ref-c .osa-la-card-r > i { width: 14px; height: 14px; margin-top: 4px; border-radius: 4px; background: var(--osa-cell); }
.osa-la .osa-la-ref-c .osa-la-card-r:first-of-type > i { background: var(--osa-acc); }
.osa-la .osa-la-ref-c .osa-la-card-r > div { font-size: 15px; line-height: 1.55; }
.osa-la .osa-la-ref-c .osa-la-card-r b { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--osa-ink); }
.osa-la .osa-la-ref-c details { margin: 0; border-top: 1px solid var(--osa-line); }
.osa-la .osa-la-ref-c details:first-of-type { margin-top: 16px; }
.osa-la .osa-la-ref-c details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--osa-ink); }
.osa-la .osa-la-ref-c details > summary::-webkit-details-marker { display: none; }
.osa-la .osa-la-ref-c details > summary::after { content: "+"; flex: none; width: 28px; text-align: center; font-family: var(--osa-sans); font-size: 24px; font-weight: 400; line-height: 1; color: var(--osa-acc); }
.osa-la .osa-la-ref-c details[open] > summary::after { content: "\2212"; }
.osa-la .osa-la-ref-c details > :nth-child(2) { margin-top: 4px; }

/* phones about 360 px wide: the heading one size down keeps it to two lines, the longest bar label keeps 8 px of bar to its right */
@media (max-width: 370px) {
  .osa-la .osa-la-t { font-size: 19px; }
  .osa-la .osa-la-off-who { --off: 12px; }
  .osa-la .osa-la-vs-bar { padding: 0 8px 0 6px; }
  .osa-la .osa-la-vs .osa-la-n { font-weight: 500; }
  .osa-la .osa-la-vs-bar .osa-la-n { letter-spacing: -.025em; }
}
/* small phones: 320 px wide */
@media (max-width: 350px) {
  .osa-la { padding: 22px 16px; }
  .osa-la .osa-la-ref-s { padding: 22px 16px; }
  .osa-la .osa-la-ref-c { padding: 4px 16px 22px; }
  .osa-la .osa-la-off { --lab: 84px; }
  .osa-la .osa-la-off-who { --off: 14px; }
  .osa-la .osa-la-map { grid-template-columns: minmax(0, 118px) repeat(4, minmax(0, 1fr)); column-gap: 4px; }
  .osa-la .osa-la-n, .osa-la .osa-la-m { font-size: 15px; }
  .osa-la .osa-la-vs-bar { padding: 0 6px; }
  .osa-la .osa-la-vs-bar .osa-la-n { font-size: 14px; }
  .osa-la .osa-la-hero { font-size: 26px; }
  .osa-la .osa-la-rules-row { column-gap: 8px; }
}
/* wide screens: the frame stays a phone-sized card in the middle of the column */
@media (min-width: 700px) {
  .osa-la { margin: 44px auto; padding: 28px 28px; }
  .osa-la .osa-la-ref-s { padding: 28px; }
  .osa-la .osa-la-ref-c { padding: 4px 28px 28px; }
  details.osa-la { max-width: 760px; padding: 0; }
  .osa-la .osa-la-shot { margin: 0 auto; }
}
@media print { .osa-la { box-shadow: none; break-inside: avoid; } }

/* ==========================================================================
   Post 436: the article text around the frames (not inside them)
   ========================================================================== */
/* The command a reader copies. Same look as the commands in the lab notes: a soft box, lines that wrap
   instead of running off the screen, the wrapped part indented, no ligatures. The text itself is untouched. */
.article-body pre.osa-la-cmd {
  margin: 1.75rem 0;
  padding: 12px 12px 12px calc(12px + 2ch);
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  background: #F8FAFC;
  color: #0F172A;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: normal;
  word-break: normal;
  text-indent: -2ch;
  text-indent: -2ch each-line;
  font-family: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -.02em;
  font-variant-ligatures: none;
}
.article-body pre.osa-la-cmd code { padding: 0; border-radius: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; white-space: inherit; font-variant-ligatures: none; }
/* Flags and file names inside a sentence: the whole piece moves to the next line instead of breaking after a hyphen,
   and two hyphens stay two hyphens. A piece longer than the line (the "Lab:" line on a narrow phone) still wraps at spaces. */
body.postid-436 .article-body > p code,
body.postid-436 .article-body > ul code,
body.postid-436 .article-body > ol code {
  display: inline-block;
  max-width: 100%;
  vertical-align: baseline;
  line-height: 1.35;
  white-space: normal;
  font-variant-ligatures: none;
}

/* ==========================================================================
   PROPOSAL FOR THE WHOLE SITE, switched on here for post 436 only.
   The theme sets no size for h2 inside an article, so a section heading is the size of the text around it
   (16 px bold on a phone, 18 px bold on a desktop) and does not read as a heading.
   To apply it site-wide, drop "body.postid-436" from the two selectors.
   ========================================================================== */
@media (max-width: 640px) {
  body.postid-436 .article-body h2 { font-size: 22px; font-weight: 800; line-height: 1.3; }
}
@media (min-width: 641px) {
  body.postid-436 .article-body h2 { font-size: 26px; font-weight: 800; line-height: 1.25; }
}
