/* machine-picks.xyz — minimal template. Change only this :root block to restyle. */
:root {
  --primary: #16a34a;
  --accent: #a3e635;
  --bg: #0a0f0a;
  --surface: #191f19;
  --surface-2: #242a24;
  --text: #e2f0e2;
  --muted: #909a90;
  --border: #353c35;
  --link: #a3e635;
  --font-head: "JetBrains Mono", ui-monospace, monospace;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.75 var(--font-body); }
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }

.col { max-width: 700px; margin: 0 auto; padding: 0 22px; }

.top { padding: 34px 0 0; }
.top .col { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.top .logo img { height: 30px; width: auto; }
.top nav { display: flex; gap: 20px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--text); }
.rule { height: 3px; width: 56px; background: var(--primary); margin: 28px 0 0; border: 0; }

.lead { padding: 64px 0 36px; }
.lead h1 { font-size: clamp(34px, 6vw, 54px); letter-spacing: -.01em; }
.lead p { color: var(--muted); font-size: 21px; margin: 0; }

.list-title { font: 700 13px/1 var(--font-body); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin: 40px 0 6px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.entries { list-style: none; margin: 0; padding: 0; }
.entries li { padding: 22px 0; border-bottom: 1px solid var(--border); }
.entries .date { font-size: 14px; color: var(--muted); }
.entries a { display: block; color: var(--text); text-decoration: none; font: 700 23px/1.3 var(--font-head); margin: 2px 0 6px; }
.entries a:hover { color: var(--link); }
.entries p { margin: 0; color: var(--muted); font-size: 16px; }
.empty { color: var(--muted); font-style: italic; padding: 22px 0; }

.topic-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0 0; list-style: none; margin: 0; }
.topic-list li { border: 1px solid var(--border); border-radius: 999px; padding: 6px 16px; font-size: 15px; }
.topic-list li::before { content: "● "; color: var(--accent); }

.post-head { padding: 64px 0 24px; }
.post-head h1 { font-size: clamp(32px, 5.5vw, 48px); }
.post-head .dek { color: var(--muted); font-size: 21px; margin: 0 0 16px; }
.meta { color: var(--muted); font-size: 15px; }
.prose { padding-bottom: 72px; }
.prose h2 { font-size: 28px; margin-top: 1.8em; }
.prose h3 { font-size: 22px; margin-top: 1.5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.3em; }
.prose blockquote { margin: 1.8em 0; padding: 0 0 0 22px; border-left: 3px solid var(--primary); font-style: italic; color: var(--muted); }
.prose .note { background: var(--surface); border-radius: 8px; padding: 18px 22px; font-size: 16px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); }
.prose th { font-family: var(--font-head); }

.bottom { border-top: 1px solid var(--border); padding: 30px 0 50px; color: var(--muted); font-size: 14px; }
.bottom nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
.bottom a { color: var(--muted); }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .col { padding: 0 16px; }
  .lead { padding: 40px 0 24px; }
  .post-head { padding: 40px 0 18px; }
}

/* JetBrains Mono runs wide: slightly smaller list titles */
.entries a { font-size: 20px; }

/* Long words and URLs wrap instead of widening the page on phones */
h1, h2, h3, p, li, td, th, dd, blockquote { overflow-wrap: break-word; }

/* ===== SITE IDENTITY: Machine Picks — probability terminal ===== */
:root { --lime: #a3e635; --line: rgba(163, 230, 53, .15); --mono: "JetBrains Mono", ui-monospace, monospace; }
body { min-height: 100vh; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px), radial-gradient(820px 420px at 50% -8%, rgba(22, 163, 74, .2), transparent 70%), var(--bg); }
.top .logo img { height: 34px; }
.col { max-width: 740px; }
.top { padding-top: 26px; }
.top nav a { font: 500 14px var(--mono); color: #a7b6a7; }
.top nav a:hover { color: var(--lime); }
.rule { width: 100%; height: 1px; background: linear-gradient(90deg, var(--lime), transparent); margin-top: 22px; }
.mp-lead { padding: 56px 0 30px; }
.mp-lead .mp-prompt { font: 500 14px/1.4 var(--mono); color: #7f8f7f; margin: 0 0 16px; }
.mp-prompt span { color: var(--lime); }
.mp-lead .mp-caret { display: inline-block; width: 9px; height: 1.05em; margin-left: 6px; vertical-align: -3px; background: var(--lime); animation: mp-blink 1s steps(1) infinite; }
@keyframes mp-blink { 50% { opacity: 0; } }
.mp-lead h1 { color: #f0fdf0; font-size: clamp(32px, 5.4vw, 50px); letter-spacing: -.03em; }
.mp-card { margin: 30px 0 0; padding: 18px 20px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(8, 18, 8, .75); box-shadow: 0 24px 50px -30px rgba(163, 230, 53, .4); font-family: var(--mono); }
.mp-card figcaption { font-size: 12.5px; color: #8a9a8a; margin-bottom: 12px; }
.mp-card figcaption b { color: #0a0f0a; background: var(--lime); padding: 2px 7px; border-radius: 4px; margin-right: 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.mp-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) 72px; gap: 12px; align-items: center; padding: 6px 0; font-size: 13.5px; }
.mp-row span { color: #c8d8c8; }
.mp-bars { display: grid; gap: 4px; }
.mp-bars i, .mp-legend i { display: block; height: 8px; border-radius: 2px; }
.mp-bars i.m, .mp-legend i.m { background: var(--lime); }
.mp-bars i.k, .mp-legend i.k { background: #536253; }
.mp-row em { font-style: normal; color: #e2f0e2; text-align: right; font-variant-numeric: tabular-nums; }
.mp-lead .mp-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; font: 12px/1.4 var(--mono); color: #8a9a8a; }
.mp-legend span { display: inline-flex; align-items: center; }
.mp-legend i { display: inline-block; width: 14px; height: 6px; margin-right: 7px; }
.list-title { font-family: var(--mono); color: var(--lime); letter-spacing: .12em; border-bottom-color: var(--line); }
.list-title::before { content: "// "; color: #5f6f5f; }
.entries li { border-bottom: 1px dashed var(--line); }
.entries .date { font-family: var(--mono); font-size: 13px; color: #7f8f7f; }
.entries a { color: #f0fdf0; }
.entries a:hover { color: var(--lime); }
.mp-topics { list-style: none; margin: 0; padding: 6px 0 0; }
.mp-topics a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 12px; padding: 16px 0; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--text); }
.mp-topics a:hover b { color: var(--lime); }
.mp-topics code { grid-row: span 2; font: 700 15px/1.6 var(--mono); color: var(--lime); }
.mp-topics b { font: 700 18px/1.4 var(--mono); }
.mp-topics span { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.mp-rg { color: var(--muted); font-size: 14.5px; margin-top: 26px; }

.mp-kicker { font: 600 13px/1.4 var(--mono); color: var(--lime); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; }
.mp-kicker::before { content: "> "; color: #5f6f5f; }
.post-head h1 { color: #f0fdf0; letter-spacing: -.02em; }
.prose h2 { font-size: 24px; color: #f0fdf0; }
.prose h2::before { content: "## "; color: var(--lime); opacity: .7; }
.prose h2#sources::before { content: "// "; }
.prose:has(> .tool:first-child) > h2::before { content: none; }
.prose h3 { color: #d9f99d; }
.prose strong { color: #f0fdf0; }
.prose code { font-family: var(--mono); font-size: .86em; background: rgba(163, 230, 53, .1); color: var(--lime); padding: 2px 6px; border-radius: 4px; }
.prose pre { background: #050805; border: 1px solid var(--line); border-radius: 8px; padding: 16px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; color: #d9f99d; }
.prose th { font: 700 12.5px/1.4 var(--mono); color: var(--lime); text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--lime); }
.prose td { font-variant-numeric: tabular-nums; border-bottom-color: var(--line); }
.prose .mp-box, .prose .mp-example, .prose .mp-warn { margin: 1.6em 0; padding: 14px 18px; border-radius: 8px; border: 1px solid var(--line); background: rgba(163, 230, 53, .04); font-size: 17px; }
.prose .mp-example { border-style: dashed; }
.prose .mp-warn { border-color: rgba(250, 204, 21, .35); background: rgba(250, 204, 21, .05); }
.prose .mp-box p:last-child, .prose .mp-example p:last-child, .prose .mp-warn p:last-child { margin-bottom: 0; }
.prose .mp-box > p > strong:first-child, .prose .mp-example > p > strong:first-child { color: var(--lime); }
.prose .mp-warn > p > strong:first-child { color: #facc15; }
.prose .note { background: rgba(255, 255, 255, .03); font-size: 15px; color: var(--muted); }
.prose ul.mp-takeaways { list-style: none; padding: 0; }
.prose ul.mp-takeaways li { position: relative; padding-left: 26px; }
.prose ul.mp-takeaways li::before { content: "→"; position: absolute; left: 0; color: var(--lime); font-family: var(--mono); }
.prose blockquote { border-left-color: var(--lime); color: #c8d8c8; font-style: normal; }
.sources { font-size: 15.5px; }
.bottom { border-top-color: var(--line); }

@media (max-width: 600px) {
  .mp-row { grid-template-columns: 46px minmax(0, 1fr) 62px; gap: 8px; font-size: 12.5px; }
  .mp-card { padding: 14px 14px 12px; }
}

/* ===== TOOLS + READ NEXT (shared, uses the site's colours) ===== */
.tool { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; margin: 1.2em 0 1.6em; }
.tool-h { font-size: 17px; margin: 4px 0 12px; }
.tool-h ~ .tool-h { margin-top: 20px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.tool-grid.two { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tool label, .tool legend { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); font-family: var(--font-body); }
.tool input, .tool textarea { font: 400 16px/1.4 var(--font-body); color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; width: 100%; min-width: 0; }
.tool textarea { resize: vertical; }
.tool select { font: 400 16px/1.4 var(--font-body); color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; width: 100%; }
.tool input:focus, .tool textarea:focus { outline: 2px solid var(--link); outline-offset: 1px; }
.tool input.bad, .tool textarea.bad { border-color: #dc2626; background: #fef2f2; color: #7f1d1d; }
.tool fieldset { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px 14px; margin: 0; min-width: 0; }
.tool legend { padding: 0 6px; color: var(--text); }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tool button { font: 600 15px/1 var(--font-body); border: 0; border-radius: 8px; padding: 11px 16px; background: var(--primary); color: #fff; cursor: pointer; }
.tool button.secondary { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1.5px var(--link); }
.tool-result { margin-top: 16px; }
.tool-result .table-wrap { margin-bottom: 0; }
.tool-big { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 0 0 14px; }
.tool-big > div { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.tool-big b { display: block; font: 700 26px/1.15 var(--font-head); color: var(--text); font-variant-numeric: tabular-nums; }
.tool-big span { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.tool-big .up { color: #b91c1c; } .tool-big .down { color: #047857; }
.tool-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.tool-verdict { font-weight: 600; margin: 0 0 12px; }
.tool .bar { display: block; height: 6px; margin-top: 4px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.tool .bar i { display: block; height: 100%; background: var(--primary); }
.tool td b { color: var(--text); }
.sg-matches { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 16px; }
.sg-match { display: grid; grid-template-columns: 1fr 52px 14px 52px 1fr; align-items: center; gap: 6px; font-size: 14px; }
.sg-match span:first-child { text-align: right; }
.sg-match input { text-align: center; padding: 8px 4px; }
.sg-match em { text-align: center; color: var(--muted); font-style: normal; }
.sg-table td:last-child { font-weight: 600; white-space: nowrap; }
.cp-teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.cp-teams fieldset .tool-grid { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; }

.tool-teaser { display: flex; align-items: center; gap: 16px; margin: 20px 0 6px; padding: 16px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; }
.tool-teaser:hover { border-color: var(--link); text-decoration: none; }
.tool-teaser .ico { flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; font: 700 17px/1 var(--font-head); }
.tool-teaser b { display: block; font-family: var(--font-head); font-size: 19px; line-height: 1.25; }
.tool-teaser .t { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; }
.tool-teaser::after { content: "→"; margin-left: auto; padding-left: 8px; color: var(--link); font-size: 22px; }
@media (max-width: 480px) {
  .tool-teaser { gap: 12px; padding: 14px 16px; align-items: flex-start; }
  .tool-teaser::after { display: none; }
  .tool-teaser .ico { width: 40px; height: 40px; font-size: 15px; }
  .tool-teaser b { font-size: 17px; }
}

.related { margin: 40px 0 8px; padding-top: 22px; border-top: 2px solid var(--border); }
.prose .related-h { font-size: 20px; margin: 0 0 8px; padding: 0; border: 0; text-transform: none; }
.prose .related-h::before, .prose .related-h::after { content: none; }
.related-list { list-style: none; padding: 0; margin: 0 0 18px; }
.related-list li { padding: 9px 0; border-bottom: 1px dashed var(--border); line-height: 1.4; }
.related-list a { font-weight: 600; }
.related-list span { color: var(--muted); font-size: 14px; }
.tool-cta { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); color: var(--text); text-decoration: none; }
.tool-cta:hover { text-decoration: none; border-color: var(--link); }
.tool-cta b { font-family: var(--font-head); font-size: 18px; }
.tool-cta b::after { content: " →"; color: var(--link); }
.tool-cta span { color: var(--muted); font-size: 15px; }

/* breadcrumbs + section pages */
.trail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 26px 0 -4px; font-size: 14px; color: var(--muted); font-family: var(--font-body); }
.trail a { color: var(--muted); text-decoration: none; }
.trail a:hover { color: var(--link); text-decoration: underline; }
.trail .sep { opacity: .55; }
.trail + .article-head, .trail + .page-head, .trail + .post-head, .trail + .entry-head { padding-top: 22px; }
.trail + .doc-title { margin-top: 18px; }
.prose:has(+ .hub-body) { padding-bottom: 0; }
.hub-body { margin: 6px 0 56px; }
.hub-h { font-size: 22px; margin: 30px 0 14px; }
.hub-empty { color: var(--muted); font-style: italic; padding: 10px 0; }
.hub-body .tool-cta { margin-top: 26px; }
.prose figure.chart { margin: 1.7em 0; }
.prose figure.chart img { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; border-radius: 10px; border: 1px solid var(--border); }
.prose figure.chart figcaption { max-width: 560px; margin: 8px auto 0; font-size: 14px; line-height: 1.45; color: var(--muted); }

/* Reviewed old-article navigation and accessible reading controls */
.article-map{margin-block:1.5rem;padding:1.1rem 1.25rem;border:1px solid currentColor;border-radius:var(--radius,8px);font:inherit}
.article-map summary{cursor:pointer;font-weight:700;line-height:1.5}
.article-map ul{margin-block:1rem 0;padding-inline-start:1.25rem;display:grid;gap:.55rem}
.article-map a{color:inherit;text-decoration:underline;text-underline-offset:.18em;overflow-wrap:anywhere}
main h2[id],main h3[id]{scroll-margin-top:5rem}
main pre{max-width:100%;overflow-x:auto}main table{display:block;max-width:100%;overflow-x:auto}
main img{max-width:100%;height:auto}
main a:focus-visible,main summary:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:600px){.article-map{padding:.9rem}.article-map ul{gap:.75rem}}

/* studio-featured-v1 */
.featured-image{margin:24px 0 30px}.featured-image img{display:block;width:100%;height:auto;border-radius:16px}.featured-image figcaption{font-size:12px;line-height:1.6;color:var(--muted);margin-top:8px}.card .thumb{position:relative;overflow:hidden;aspect-ratio:16/9}.card .thumb>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.card .thumb>span{position:relative;z-index:1}

/* studio-listing-covers-v2: current article cover on home, hubs and related rows */
.card>.thumb{display:block;position:relative;overflow:hidden;aspect-ratio:16/9}
.card>.thumb>img,.post>.img>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.post>.img{position:relative;overflow:hidden}
li.has-listing-picture{display:grid;grid-template-columns:minmax(88px,24%) minmax(0,1fr);gap:1rem;align-items:start}
.listing-picture{display:block;min-width:0;overflow:hidden;border-radius:var(--radius,4px)}
.listing-picture>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.listing-copy{min-width:0}.listing-copy>a{display:block}.listing-copy>span,.listing-copy>time{display:block}
.listing-copy p{margin-block:.5rem}.guide-card-image img{display:block;width:100%;height:auto;object-fit:cover}
@media(max-width:480px){li.has-listing-picture{grid-template-columns:88px minmax(0,1fr);gap:.75rem}}

.rows li.has-listing-picture,.guides li.has-listing-picture,.hub-panel .rows li.has-listing-picture,.hub-body li.has-listing-picture,.related-list li.has-listing-picture{grid-template-columns:clamp(88px,22%,180px) minmax(0,1fr)}
@media(max-width:480px){.rows li.has-listing-picture,.hub-panel .rows li.has-listing-picture{grid-template-columns:minmax(0,1fr)}.guides li.has-listing-picture,.hub-body li.has-listing-picture,.related-list li.has-listing-picture{grid-template-columns:88px minmax(0,1fr)}}

/* sd-release:machine-picks.xyz-refresh-v1 */
/* Research paper direction: numbered sections, footnotes, restrained tables. Brand colours unchanged (#16a34a, #a3e635 on #0a0f0a). */
.mp-paper { counter-reset: mpsec; }
.mp-paper h2::before { counter-increment: mpsec; content: counter(mpsec) ". "; color: var(--lime); opacity: .8; }
.mp-abstract { font-size: 16px; line-height: 1.65; padding: 0 0 16px; margin-bottom: 4px; border-bottom: 1px solid var(--line); color: #c8d8c8; }
.mp-abstract span { font: 700 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--lime); margin-right: 6px; }
.mp-fn { font: 600 11px/0 var(--mono); }
.mp-fn a { text-decoration: none; padding: 0 1px; }
.mp-notes { margin-top: 2.4em; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.mp-notes li { margin-bottom: 6px; }
.mp-notes li:target { color: var(--text); }
.mp-small { font-size: 14px; color: var(--muted); }
.post-head .dek { font-size: 19px; max-width: 38em; }
.prose table { border-collapse: collapse; border-top: 2px solid var(--lime); border-bottom: 2px solid var(--lime); }
.prose th { border-bottom: 1px solid var(--lime); }
.mp-scorer textarea { font: 13.5px/1.55 var(--mono); width: 100%; min-height: 220px; margin-top: 8px; }
.mp-scorer label { display: block; font-size: 14px; color: var(--muted); }
.mp-score-out { margin-top: 16px; }
.mp-score-table { width: 100%; margin: 12px 0 6px; font-size: 14.5px; }
.mp-score-table td, .mp-score-table th { padding: 7px 8px; text-align: left; }
.mp-score-table td:not(:first-child) { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tool-cta + .tool-cta { margin-top: 10px; }
@media (max-width: 600px) {
  .mp-score-table { font-size: 13px; }
  .mp-score-table td, .mp-score-table th { padding: 6px 4px; }
  .mp-abstract { font-size: 15px; }
}

/* sd-release:machine-picks.xyz-identity-v1 */
/* Forecast ledger: deep-forest ruled paper, lime stamps, serif headlines, timestamp and hash chips. Brand greens kept. */
:root {
  --bg: #07130d; --surface: #0e2018; --surface-2: #16301f; --text: #e8f5e3; --muted: #a2bba9; --border: #254634;
  --primary: #1f9d55; --accent: #bef264; --link: #bef264; --lime: #bef264; --line: rgba(190, 242, 100, .18);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif; --font-body: "IBM Plex Sans", system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
body { background: repeating-linear-gradient(0deg, transparent 0 35px, rgba(190, 242, 100, .045) 35px 36px), radial-gradient(900px 460px at 50% -10%, rgba(31, 157, 85, .22), transparent 70%), var(--bg); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.015em; }
.col { max-width: 760px; }

/* header: logo left, nav as ledger index tabs, double rule underneath */
.top { padding-top: 22px; }
.top nav { gap: 6px; }
.top nav a { font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #bfd3c4; padding: 9px 12px; border: 1px solid var(--line); border-bottom-color: transparent; border-radius: 4px 4px 0 0; background: rgba(190, 242, 100, .04); margin-bottom: -1px; }
.top nav a:hover { color: #07130d; background: var(--lime); border-color: var(--lime); }
.rule { width: 100%; height: 5px; margin: 0; background: none; border-top: 1px solid var(--lime); border-bottom: 1px solid var(--line); }

/* hero: stamp prompt, serif headline, receipt card, ledger art on the right */
.mp-lead { position: relative; isolation: isolate; padding: 52px 0 28px; }
.mp-lead::before { content: ""; position: absolute; z-index: -1; right: -10px; top: 10px; width: 220px; height: 184px; background: url(/img/identity-hero.svg) right top / contain no-repeat; opacity: .42; pointer-events: none; }
.mp-lead .mp-prompt { display: inline-block; padding: 5px 10px; border: 1px solid var(--lime); border-radius: 2px; color: var(--lime); font: 500 12.5px/1.4 var(--mono); letter-spacing: .04em; transform: rotate(-1.2deg); background: rgba(190, 242, 100, .06); }
.mp-prompt span { color: #f7fee7; }
.mp-lead .mp-caret { width: 7px; height: 1em; background: var(--lime); }
.mp-lead h1 { color: #f7fee7; font-size: clamp(34px, 5.6vw, 54px); line-height: 1.08; max-width: 500px; }
.mp-lead > p:not(.mp-prompt) { max-width: 500px; color: #b6cbbb; }
.mp-card { margin-top: 30px; padding: 16px 20px 14px; border: 1px solid var(--line); border-top: 4px solid var(--lime); border-radius: 2px; background: #0b1b12; box-shadow: 7px 7px 0 rgba(190, 242, 100, .08); }
.mp-card figcaption { color: #a2bba9; }
.mp-card figcaption b { background: none; color: var(--lime); border: 1px solid var(--lime); border-radius: 2px; padding: 2px 7px; transform: rotate(-2deg); display: inline-block; }
.mp-bars i, .mp-legend i { border-radius: 0; }
.mp-bars i.k, .mp-legend i.k { background: #5f7f68; }
.mp-row { border-bottom: 1px dotted var(--line); }
.mp-row:last-of-type { border-bottom: 0; }

/* lists: serif titles, timestamp chips, ruled rows */
.list-title { font: 600 12.5px/1 var(--mono); letter-spacing: .14em; color: var(--lime); border-bottom: 1px solid var(--lime); }
.list-title::before { content: "\00a7  "; color: #7da386; }
.entries li { border-bottom: 1px solid var(--line); }
.entries .date { display: inline-block; font: 500 12px/1.6 var(--mono); color: #b3c9b8; padding: 0 8px; border: 1px solid var(--line); background: rgba(190, 242, 100, .05); border-radius: 2px; }
.entries .date::before { content: "ts "; color: #7da386; }
.entries a { font: 600 21px/1.3 var(--font-head); color: #f7fee7; }
.entries a:hover { color: var(--lime); }
.listing-picture { border: 1px solid var(--line); border-radius: 2px; }
.listing-picture > img { filter: saturate(.85) contrast(1.04); }
.mp-topics a { border-bottom: 1px solid var(--line); }
.mp-topics code { display: grid; place-items: center; width: 38px; height: 30px; border: 1px solid var(--lime); border-radius: 2px; font-size: 14px; color: var(--lime); }
.mp-topics b { font: 600 19px/1.4 var(--font-head); }
.mp-rg { border-left: 3px solid var(--lime); padding-left: 12px; }

/* teaser, tools, buttons: square stamped blocks */
.tool-teaser { border-radius: 3px; border: 1px solid var(--line); border-left: 4px solid var(--lime); background: #0b1b12; }
.tool-teaser:hover { border-color: var(--lime); }
.tool-teaser .ico { border-radius: 2px; background: var(--lime); color: #07130d; }
.tool-teaser b { font-family: var(--font-head); }
.tool, .tool-cta { border-radius: 3px; border-color: var(--line); background: #0b1b12; }
.tool { border-top: 3px solid var(--lime); }
.tool-cta { border-left-color: var(--lime); }
.tool input, .tool textarea, .tool select, .tool fieldset, .tool-big > div { border-radius: 2px; border-color: var(--border); }
.tool button { background: var(--lime); color: #07130d; border-radius: 2px; font: 600 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.tool button.secondary { background: transparent; color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.tool .bar i { background: var(--lime); }

/* articles: numbered sections, ledger tables */
.post-head h1 { font-size: clamp(32px, 5.4vw, 46px); }
.mp-kicker { display: inline-block; padding: 3px 9px; border: 1px solid var(--lime); border-radius: 2px; }
.mp-kicker::before { content: "\2713  "; color: var(--lime); }
.prose { counter-reset: mpsec; }
.prose h2 { font-size: 26px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.prose h2::before { counter-increment: mpsec; content: "\00a7" counter(mpsec) "  "; font: 600 .6em var(--mono); color: var(--lime); opacity: 1; vertical-align: .12em; }
.prose th { background: rgba(190, 242, 100, .08); border-bottom: 2px solid var(--lime); }
.prose tbody tr:nth-child(even) td { background: rgba(190, 242, 100, .035); }
.prose td { border-bottom: 1px dotted var(--line); }
.prose .mp-box, .prose .mp-example, .prose .mp-warn { border-radius: 2px; }
.prose blockquote { border-left: 3px double var(--lime); font-family: var(--font-head); font-size: 1.08em; }
.prose pre { border-radius: 2px; }

/* footer: closing double rule */
.bottom { border-top: 3px double rgba(190, 242, 100, .5); }
.bottom a { text-decoration-color: rgba(190, 242, 100, .4); }

@media (max-width: 860px) { .mp-lead::before { display: none; } }
@media (max-width: 600px) {
  .top .col { gap: 12px; }
  .top nav { gap: 4px; }
  .top nav a { padding: 7px 9px; font-size: 11.5px; }
  .mp-lead::before { display: none; }
  .mp-lead { padding-top: 34px; }
  .entries a { font-size: 19px; }
}


/* studio-topic-chips-v1 */
.article-topics{display:flex;flex-wrap:wrap;gap:.5rem;margin-block:1.5rem}.article-topics a{padding:.35rem .7rem;border:1px solid currentColor;border-radius:var(--radius,4px);font:inherit;font-size:.85em}

/* studio-featured-article-v2 */
.featured-image{margin:1.5rem 0}.featured-image img{display:block;max-width:100%;height:auto;border-radius:var(--radius,12px)}.card .thumb,.post .img{position:relative;overflow:hidden}.card .thumb>img,.post .img>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.card .thumb>span,.post .img>span{position:relative;z-index:1}
