@font-face {
    font-family: "Geist Sans";
    src: url("../fonts/geist-sans-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Geist Sans";
    src: url("../fonts/geist-sans-latin-500-normal.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "Geist Sans";
    src: url("../fonts/geist-sans-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: "Geist Sans";
    src: url("../fonts/geist-sans-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}
/* KHMYS V2 foundations: https://khmys.com/branding
   Native theme tokens map to the kit without changing Ghost's font settings.
   Brand fills and readable text accents are separate contrast pairings. */
:root {
    color-scheme: light;
    --canvas: hsl(40 20% 98%);
    --ink: hsl(20 10% 10%);
    --surface: #fff;
    --rail: hsl(40 15% 97%);
    --muted: hsl(20 5% 43%);
    --recessed: hsl(40 10% 96%);
    --soft: hsl(40 10% 94%);
    --line: hsl(40 10% 90%);
    --rail-line: hsl(40 10% 92%);
    --brand: hsl(174 60% 40%);
    --logo-foreground: hsl(174 60% 40%);
    --teal: hsl(172 62% 30%);
    --teal-wash: color-mix(in srgb, var(--brand) 8%, var(--surface));
    --button-hover: color-mix(in srgb, var(--ink) 85%, var(--canvas));
    --focus: var(--teal);
    --pressure-low: var(--teal);
    --pressure-moderate: hsl(35 80% 33%);
    --pressure-high: hsl(350 60% 43%);
    --rail-width: 248px;
    --gutter: clamp(24px, 4vw, 60px);
    --radius: 8px;
    --radius-sm: calc(var(--radius) - 4px);
    --radius-md: calc(var(--radius) - 2px);
    --shadow-card: 0 1px 2px hsl(20 10% 10% / 0.025);
    --shadow-layer: 0 4px 6px -2px hsl(20 10% 10% / 0.04), 0 12px 24px -4px hsl(20 10% 10% / 0.1);
    --header-height: 80px;
    --motion-fast: 180ms;
    --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --font-body: "Geist Sans";
    --font-heading: "Geist Sans";
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --canvas: hsl(0 0% 7%);
    --ink: hsl(30 10% 93%);
    --surface: hsl(0 0% 10%);
    --rail: hsl(0 0% 6%);
    --muted: hsl(0 0% 67%);
    --recessed: hsl(0 0% 13%);
    --soft: hsl(0 0% 14%);
    --line: hsl(0 0% 15%);
    --rail-line: hsl(0 0% 13%);
    --brand: hsl(174 60% 45%);
    --teal: hsl(168 42% 62%);
    --teal-wash: color-mix(in srgb, var(--brand) 10%, var(--surface));
    --shadow-card: 0 1px 2px hsl(0 0% 0% / 0.1);
    --shadow-layer: 0 4px 6px -2px hsl(0 0% 0% / 0.12), 0 12px 24px -4px hsl(0 0% 0% / 0.3);
    --pressure-moderate: hsl(38 75% 65%);
    --pressure-high: hsl(350 75% 73%);
}
:root.use-ghost-fonts {
    --font-body: var(--gh-font-body, "Geist Sans");
    --font-heading: var(--gh-font-heading, "Geist Sans");
}
* {
    box-sizing: border-box;
}
html {
    scroll-padding-top: calc(var(--header-height) + 24px);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font-family:
        var(--font-body),
        system-ui,
        -apple-system,
        sans-serif;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: -0.012em;
}
button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}
button,
a,
input,
select {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
button:disabled {
    cursor: default;
}
a {
    color: inherit;
    text-decoration: none;
}
a,
button {
    transition:
        background-color var(--motion-fast) ease-in-out,
        color var(--motion-fast) ease-in-out,
        border-color var(--motion-fast) ease-in-out;
}
button {
    touch-action: manipulation;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
svg {
    flex-shrink: 0;
    max-width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading), system-ui, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.035em;
    margin: 0;
    overflow-wrap: anywhere;
}
p {
    margin: 0 0 1em;
}
ul,
ol {
    padding-left: 1.4em;
}
button,
input,
select {
    accent-color: var(--teal);
}
:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
    border-radius: 4px;
}
::selection {
    background: var(--teal);
    color: var(--canvas);
}
[hidden] {
    display: none !important;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    padding: 12px 18px;
    background: var(--ink);
    color: var(--canvas);
    border-radius: var(--radius-md);
    transform: translateY(-160%);
}
.skip-link:focus {
    transform: translateY(0);
}
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 28px 20px 24px;
    background: var(--rail);
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
}
.desktop-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail-width);
    border-right: 1px solid var(--rail-line);
    z-index: 40;
}
.brand {
    display: flex;
    align-items: center;
    min-height: 44px;
    min-width: 0;
}
.brand-wordmark {
    display: block;
    width: 100%;
    height: auto;
}
.brand-caption {
    margin: 12px 12px 28px;
    font-size: 12px;
    color: var(--muted);
}
.sidebar > .brand {
    min-height: 64px;
    padding: 14px 12px;
    border-radius: var(--radius);
    color: var(--logo-foreground);
}
.nav {
    padding: 0;
    margin: 0;
    list-style: none;
}
.primary-nav .nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    color: var(--muted);
    font-size: 14px;
    overflow-wrap: anywhere;
}
.primary-nav .nav-current a {
    background: var(--teal-wash);
    color: var(--teal);
    font-weight: 600;
    box-shadow: inset 2px 0 var(--teal);
}
.primary-nav a:hover,
.topics-nav a:hover {
    background: var(--soft);
    color: var(--ink);
}
.eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.6;
}
.topics-nav {
    margin-top: 28px;
}
.topics-nav .eyebrow {
    padding: 0 12px;
}
.topics-nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}
.topics-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: var(--muted);
    font-size: 13px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    overflow-wrap: anywhere;
}
.topic-count {
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    font-size: 12px;
}
.sidebar-bottom {
    margin-top: auto;
    padding: 28px 4px 0;
}
.secondary-nav {
    margin-bottom: 20px;
}
.secondary-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 13px;
    color: var(--muted);
    overflow-wrap: anywhere;
}
.secondary-nav a:hover {
    color: var(--teal);
}
.appearance-control {
    display: flex;
    padding: 4px;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--recessed);
}
.appearance-control button {
    flex: 1;
    min-width: 0;
    min-height: 40px;
    padding: 7px 2px;
    border: 0;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--muted);
    background: transparent;
}
.appearance-control button[aria-pressed="true"] {
    background: var(--surface);
    color: var(--teal);
    box-shadow: var(--shadow-card);
}
.sidebar-note {
    font-size: 12px;
    margin: 18px 0 0;
    color: var(--teal);
}
.sidebar-note span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 3px;
}
.site-shell {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    margin-left: var(--rail-width);
    min-width: 0;
}
.site-shell > main {
    flex: 1;
    min-width: 0;
}
.topbar {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: var(--header-height);
    padding: 16px var(--gutter);
    border-bottom: 1px solid var(--line);
    background: var(--canvas);
}
.topbar-brand {
    min-width: 0;
    margin-right: auto;
}
.desktop-label {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.02em;
}
.mobile-brand,
.mobile-menu-toggle {
    display: none;
}
.topbar .research-search {
    flex: 0 1 380px;
}
.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    flex-shrink: 0;
}
.icon-button:hover {
    background: var(--soft);
}
.mobile-menu-toggle {
    display: none;
}
.mobile-menu {
    border: 0;
    padding: 0;
    max-height: 100dvh;
    height: 100dvh;
    width: min(360px, 92vw);
    max-width: 92vw;
    margin: 0;
    color: var(--ink);
    background: var(--rail);
    box-shadow: 8px 0 40px #0003;
}
.mobile-menu::backdrop {
    background: #0008;
}
.mobile-menu .sidebar {
    padding: 28px 20px max(24px, env(safe-area-inset-bottom));
    height: 100%;
}
.mobile-menu .brand {
    padding-right: 64px;
}
.menu-close {
    position: absolute;
    z-index: 1;
    top: 20px;
    right: 14px;
    background: var(--rail);
}
.research-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 0 4px 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--muted);
}
.research-search > svg {
    width: 18px;
    height: 18px;
}
.research-search input {
    flex: 1;
    min-width: 0;
    width: 100%;
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.4;
    -webkit-appearance: none;
    appearance: none;
}
.research-search input::placeholder {
    color: var(--muted);
    opacity: 1;
}
.research-search input::-webkit-search-cancel-button,
.research-search input::-webkit-search-decoration {
    display: none;
}
.research-search:focus-within {
    border-color: var(--teal);
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}
.research-search input:focus-visible {
    outline: none;
}
.search-clear,
.search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--muted);
}
.search-clear:hover,
.search-submit:hover {
    background: var(--teal-wash);
    color: var(--teal);
}
.search-submit {
    color: var(--teal);
}
.content-wrap,
.article-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--gutter) 48px;
    min-width: 0;
    width: 100%;
}
.home-intro {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(48px, 5vw, 80px) 0 36px;
    border-bottom: 1px solid var(--line);
}
.home-intro > .eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--teal);
    margin-bottom: 20px;
}
.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
}
.home-intro h1 {
    font-size: clamp(36px, 4.5vw, 62px);
    max-width: 700px;
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-wrap: balance;
}
.intro-copy {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.75;
    max-width: 600px;
    margin: 20px 0 24px;
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 36px;
    color: var(--teal);
    font-size: 14px;
    font-weight: 500;
}
.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.flow-art {
    position: absolute;
    right: -130px;
    top: -25px;
    width: 430px;
    height: 300px;
    color: var(--teal);
    opacity: 0.11;
    z-index: -1;
    pointer-events: none;
}
.hero-principles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 36px;
    color: var(--muted);
    font-size: 12px;
}
.hero-principles > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.principle-number {
    color: var(--teal);
    font-size: 11px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}
.home-intro > .button {
    gap: 20px;
}
.research-section {
    margin-top: 36px;
    min-height: 340px;
    scroll-margin-top: calc(var(--header-height) + 20px);
}
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding-bottom: 20px;
}
.section-heading > div {
    min-width: 0;
}
.section-heading .eyebrow {
    margin-bottom: 6px;
}
.section-heading h2 {
    font-size: 26px;
    line-height: 1.3;
}
.result-count {
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--muted);
    background: var(--soft);
    border: 1px solid var(--line);
    padding: 3px 8px;
    border-radius: var(--radius-md);
    margin-left: 8px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.quiet-label {
    font-size: 13px;
    color: var(--muted);
}
.discovery-toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
    min-width: 0;
}
.discovery-toolbar .research-search {
    max-width: none;
}
.filter-summary {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    overflow-wrap: anywhere;
}
.filter-summary:empty {
    display: none;
}
.research-filters {
    margin-top: 28px;
    min-width: 0;
}
.research-filters > .eyebrow {
    margin-bottom: 16px;
    padding-left: 12px;
}
.verdict-options {
    border: 0;
    padding: 0;
    margin: 0 0 20px;
    min-width: 0;
}
.verdict-options legend {
    font-size: 12px;
    color: var(--muted);
    padding-left: 12px;
    margin-bottom: 8px;
}
.verdict-options label {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--muted);
    font-size: 13px;
    border-radius: var(--radius);
    cursor: pointer;
    line-height: 1.5;
}
.verdict-options label:has(input:checked) {
    background: var(--teal-wash);
    color: var(--teal);
    font-weight: 500;
}
.verdict-options label:hover {
    background: var(--soft);
}
.verdict-options input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.verdict-options label:has(input:focus-visible) {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}
.verdict-options label > span:last-child {
    margin-left: auto;
    font-size: 12px;
    flex-shrink: 0;
}
.verdict-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--muted);
    flex-shrink: 0;
}
.verdict-dot.promising {
    background: var(--pressure-low);
}
.verdict-dot.mixed {
    background: var(--pressure-moderate);
}
.verdict-dot.challenging {
    background: var(--pressure-high);
}
.filter-label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin: 18px 4px;
    min-width: 0;
}
.filter-label select,
.sort-label select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    margin-top: 7px;
    padding: 10px 34px 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background-color: var(--surface);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236f6966' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.4;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.filter-label select:hover,
.sort-label select:hover {
    border-color: var(--teal);
}
select:disabled {
    color: var(--muted);
    background-color: var(--soft);
    cursor: default;
}
select option {
    color: var(--ink);
    background: var(--surface);
}
:root[data-theme="dark"] select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ababab' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.sort-label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--muted);
    font-size: 12px;
}
.sort-label select {
    margin: 0;
    width: auto;
    max-width: 200px;
    flex: 1;
    min-width: 0;
}
.filter-help {
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0 4px 8px;
}
.filter-reset {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 4px;
    border: 0;
    background: transparent;
    color: var(--teal);
    font-size: 13px;
}
.filter-reset:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.post-feed {
    border-top: 1px solid var(--line);
    min-width: 0;
}
.research-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    align-items: start;
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
    min-width: 0;
}
.card-copy {
    min-width: 0;
}
.card-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 12px;
}
.tag-label {
    font-size: 12px;
    color: var(--teal);
    font-weight: 500;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.tag-label:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.research-card h3 {
    font-size: 23px;
    line-height: 1.3;
    max-width: 720px;
}
.research-card h3 a:hover {
    color: var(--teal);
}
.card-excerpt {
    font-size: 15px;
    color: var(--muted);
    max-width: 700px;
    margin: 12px 0 16px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}
.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 9px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.verdict-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    line-height: 1.5;
    padding: 4px 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-weight: 500;
    background: var(--surface);
    color: var(--muted);
}
.verdict-promising {
    color: var(--pressure-low);
    border-color: color-mix(in srgb, var(--pressure-low) 30%, var(--line));
    background: color-mix(in srgb, var(--pressure-low) 6%, var(--surface));
}
.verdict-mixed {
    color: var(--pressure-moderate);
    border-color: color-mix(in srgb, var(--pressure-moderate) 30%, var(--line));
    background: color-mix(in srgb, var(--pressure-moderate) 6%, var(--surface));
}
.verdict-challenging {
    color: var(--pressure-high);
    border-color: color-mix(in srgb, var(--pressure-high) 30%, var(--line));
    background: color-mix(in srgb, var(--pressure-high) 6%, var(--surface));
}
.access-label {
    font-size: 11px;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 3px 7px;
    border-radius: var(--radius-sm);
}
.card-snapshot {
    min-width: 0;
    border-left: 1px solid var(--line);
    padding-left: 20px;
}
.card-read {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 36px;
    font-size: 12px;
    color: var(--teal);
    margin-top: 12px;
}
.mini-forces .force-heading {
    font-size: 11px;
    line-height: 1.6;
    gap: 8px;
}
.mini-forces .force-value {
    font-size: 10px;
    white-space: nowrap;
}
.mini-forces .force-track {
    height: 4px;
    margin-top: 4px;
}
.mini-forces .force-row {
    margin-bottom: 10px;
}
.empty-state {
    padding: 32px;
    margin: 24px 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    min-height: 200px;
    color: var(--muted);
}
.empty-state h2 {
    font-size: 24px;
    color: var(--ink);
    margin-bottom: 12px;
}
.empty-state p {
    font-size: 15px;
    max-width: 520px;
}
.empty-state .button {
    margin-top: 4px;
}
.archive-more,
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    font-size: 13px;
    color: var(--muted);
}
.pagination a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--teal);
}
.archive-more[aria-busy="true"] .button {
    opacity: 0.65;
    cursor: progress;
}
.archive-loading {
    padding: 16px 0;
    font-size: 14px;
    color: var(--muted);
    overflow-wrap: anywhere;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--canvas);
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
}
.button:hover {
    background: var(--button-hover);
    border-color: var(--button-hover);
}
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 0 var(--gutter);
    padding: 24px 0;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
    min-width: 0;
}
.footer-note {
    width: 100%;
    margin: 0 0 8px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.footer-credit {
    margin: 0;
    overflow-wrap: anywhere;
}
.footer-credit a {
    color: var(--ink);
}
.footer-credit a:hover {
    color: var(--teal);
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}
.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    overflow-wrap: anywhere;
}
.footer-links a:hover {
    color: var(--teal);
}
.footer-wordmark {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    margin-top: clamp(24px, 4vw, 64px);
    color: var(--teal);
}
.archive-header {
    padding: 48px 0 36px;
}
.archive-header h1 {
    font-size: clamp(34px, 4vw, 52px);
    margin-top: 12px;
}
.archive-header .post-meta {
    gap: 16px;
}
.author-avatar {
    border-radius: 50%;
    margin-bottom: 20px;
}
.topic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.topic-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    background: var(--surface);
    min-width: 0;
}
.topic-card:hover {
    border-color: var(--teal);
    background: var(--teal-wash);
}
.topic-card > div {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
}
.topic-card h2 {
    font-size: 24px;
}
.topic-card > div > span {
    color: var(--teal);
}
.topic-card p {
    font-size: 15px;
    color: var(--muted);
    margin: 0;
    overflow-wrap: anywhere;
}
.topic-card .quiet-label {
    display: block;
    margin-top: auto;
}
.topics-intro {
    margin-bottom: 28px;
    font-size: 16px;
}
.topics-intro:empty {
    display: none;
}
.article-header {
    padding: 36px 0;
    max-width: 940px;
}
.back-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
}
.back-link:hover {
    color: var(--teal);
}
.article-tag {
    display: block;
    width: fit-content;
    margin-bottom: 12px;
}
.article-verdict {
    margin-bottom: 16px;
}
.article-verdict .verdict-badge {
    font-size: 12px;
    padding: 5px 10px;
}
.article-header h1 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.18;
    text-wrap: balance;
}
.article-deck {
    font-size: 20px;
    line-height: 1.7;
    color: var(--muted);
    margin: 20px 0 24px;
    max-width: 760px;
    overflow-wrap: anywhere;
}
.article-byline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 13px;
    color: var(--muted);
    margin-top: 20px;
    overflow-wrap: anywhere;
}
.article-byline > span:first-child {
    color: var(--ink);
    font-weight: 500;
}
.article-byline a:hover {
    color: var(--teal);
}
.updated-date {
    font-size: 12px;
}
.article-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.quiet-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--muted);
}
.quiet-button:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: var(--teal-wash);
}
.quiet-button svg {
    width: 16px;
    height: 16px;
}
.article-cover {
    margin: 0 0 32px;
}
.article-cover img {
    width: 100%;
    height: auto;
    max-height: 640px;
    object-fit: cover;
    border-radius: var(--radius);
}
.article-cover figcaption {
    font-size: 13px;
    color: var(--muted);
    margin-top: 12px;
    overflow-wrap: anywhere;
}
.article-cover figcaption a {
    color: var(--teal);
    text-decoration: underline;
}
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 240px);
    gap: 32px;
    align-items: start;
}
.article-body-column {
    min-width: 0;
}
.research-panel {
    position: sticky;
    top: 24px;
    min-width: 0;
}
.research-panel-summary {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
}
.panel-verdict {
    margin: 12px 0 20px;
}
.panel-verdict .verdict-badge {
    font-size: 12px;
}
.research-panel dl {
    margin: 0 0 16px;
}
.research-panel dl > div {
    margin: 14px 0;
}
.research-panel dt {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 3px;
}
.research-panel dd {
    margin: 0;
    font-size: 14px;
    color: var(--ink);
    overflow-wrap: anywhere;
}
.research-panel dd a:hover {
    color: var(--teal);
}
.research-panel .text-link {
    font-size: 13px;
}
.toc {
    margin-top: 24px;
    border-left: 1px solid var(--line);
    padding-left: 20px;
}
.toc ol {
    list-style: none;
    padding: 0;
    margin: 14px 0 20px;
}
.toc li {
    font-size: 13px;
    line-height: 1.6;
    margin: 8px 0;
}
.toc .toc-sub {
    padding-left: 12px;
}
.toc a {
    color: var(--muted);
    display: block;
    overflow-wrap: anywhere;
}
.toc a:hover,
.toc a[aria-current="location"] {
    color: var(--teal);
}
.back-to-top {
    font-size: 12px;
    min-height: 36px;
    display: inline-flex !important;
    align-items: center;
}
.article-end {
    border-top: 1px solid var(--line);
    margin-top: 40px;
    padding-top: 24px;
}
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 20px;
}
.article-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    font-size: 12px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--muted);
    overflow-wrap: anywhere;
}
.article-tags a:hover {
    color: var(--teal);
    border-color: var(--teal);
}
.page-article .article-header {
    padding-top: 48px;
}
.page-content {
    max-width: 740px;
}
.access-card {
    padding: 28px;
    background: var(--teal-wash);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-top: 28px;
}
.access-card h2 {
    font-size: 25px;
    margin-bottom: 12px;
}
.access-card p {
    color: var(--muted);
    font-size: 15px;
}
.access-card .text-link {
    margin-left: 16px;
}
.forces-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 28px;
    margin-bottom: 32px;
    min-width: 0;
}
.forces-card h2 {
    font-size: 26px;
    margin: 8px 0 12px;
}
.forces-explainer {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 24px;
}
.force-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
}
.force-name {
    min-width: 0;
    overflow-wrap: anywhere;
}
.force-value {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--muted);
    text-align: right;
}
.force-track {
    height: 8px;
    background: var(--soft);
    border-radius: 4px;
    margin-top: 9px;
    overflow: hidden;
}
.force-fill {
    height: 100%;
    display: block;
    border-radius: 4px;
    width: 0;
}
.level-1 {
    width: 20%;
    background: var(--pressure-low);
}
.level-2 {
    width: 40%;
    background: var(--pressure-low);
}
.level-3 {
    width: 60%;
    background: var(--pressure-moderate);
}
.level-4 {
    width: 80%;
    background: var(--pressure-high);
}
.level-5 {
    width: 100%;
    background: var(--pressure-high);
}
.force-row {
    margin-bottom: 20px;
}
.force-row:last-child {
    margin-bottom: 0;
}
.forces-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
}
.forces-legend span {
    display: flex;
    align-items: center;
    gap: 7px;
}
.forces-legend span::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pressure-low);
    flex-shrink: 0;
}
.forces-legend .pressure-moderate::before {
    background: var(--pressure-moderate);
}
.forces-legend .pressure-high::before {
    background: var(--pressure-high);
}
.gh-content {
    font-size: 18px;
    line-height: 1.85;
    overflow-wrap: anywhere;
    min-width: 0;
}
.gh-content > * {
    margin-top: 0;
    margin-bottom: 1.5em;
    max-width: 100%;
}
.gh-content > :last-child {
    margin-bottom: 0;
}
.gh-content h2 {
    font-size: 28px;
    line-height: 1.3;
    margin: 1.8em 0 0.75em;
    scroll-margin-top: calc(var(--header-height) + 24px);
}
.gh-content h3 {
    font-size: 23px;
    line-height: 1.35;
    margin: 1.6em 0 0.75em;
    scroll-margin-top: calc(var(--header-height) + 24px);
}
.gh-content h4,
.gh-content h5,
.gh-content h6 {
    font-size: 19px;
    line-height: 1.4;
    margin: 1.4em 0 0.75em;
}
.gh-content a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}
.gh-content a:hover {
    text-decoration-thickness: 2px;
}
.gh-content blockquote {
    border-left: 3px solid var(--teal);
    margin-left: 0;
    padding: 8px 0 8px 24px;
    color: var(--muted);
}
.gh-content blockquote p:last-child {
    margin-bottom: 0;
}
.gh-content hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 36px 0;
}
.gh-content figure {
    margin-left: 0;
    margin-right: 0;
}
.gh-content figcaption {
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted);
    text-align: center;
    margin-top: 12px;
}
.gh-content pre {
    overflow: auto;
    background: var(--soft);
    border: 1px solid var(--line);
    padding: 20px;
    border-radius: var(--radius);
    font-size: 14px;
    line-height: 1.6;
    max-width: 100%;
    white-space: pre;
}
.gh-content code {
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-size: 0.85em;
    background: var(--soft);
    padding: 2px 4px;
    border-radius: 3px;
}
.gh-content pre code {
    padding: 0;
}
.gh-content table {
    display: block;
    max-width: 100%;
    overflow: auto;
    border-collapse: collapse;
    font-size: 15px;
}
.gh-content th,
.gh-content td {
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
    text-align: left;
}
.gh-content th {
    font-weight: 600;
    background: var(--soft);
}
.gh-content li {
    padding-left: 3px;
    margin-bottom: 6px;
}
.gh-content li > ul,
.gh-content li > ol {
    margin-top: 8px;
}
.gh-content iframe,
.gh-content video {
    max-width: 100%;
}
.gh-content .kg-image {
    margin: 0 auto;
    border-radius: var(--radius);
}
.gh-content .kg-width-wide,
.gh-content .kg-width-full {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}
.gh-content .kg-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gh-content .kg-gallery-row {
    display: flex;
    gap: 12px;
}
.gh-content .kg-gallery-image {
    flex: 1 1 0;
    min-width: 0;
}
.gh-content .kg-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}
.kg-bookmark-card a {
    display: flex;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    background: var(--surface);
}
.kg-bookmark-content {
    flex: 1;
    padding: 20px;
    min-width: 0;
}
.kg-bookmark-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    overflow-wrap: anywhere;
}
.kg-bookmark-description {
    font-size: 14px;
    color: var(--muted);
    margin-top: 8px;
    overflow-wrap: anywhere;
}
.kg-bookmark-metadata {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 12px;
    color: var(--muted);
    margin-top: 14px;
}
.kg-bookmark-icon {
    width: 18px;
    height: 18px;
}
.kg-bookmark-thumbnail {
    flex: 0 0 28%;
}
.kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gh-content .kg-toggle-card,
.gh-content .kg-callout-card {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: none;
    font-size: 16px;
}
.gh-content .kg-toggle-heading {
    color: var(--ink);
    line-height: 1.4;
}
.gh-content .kg-toggle-heading-text {
    font-family: var(--font-heading), system-ui, sans-serif;
    font-size: 20px;
    line-height: 1.4;
    margin: 0;
}
.gh-content .kg-toggle-card-icon {
    color: var(--teal);
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}
.gh-content .kg-toggle-content {
    color: var(--muted);
}
.gh-content .kg-callout-text {
    color: var(--ink);
}
.gh-content .kg-button-card a.kg-btn {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--canvas);
    font-family: var(--font-body), system-ui, sans-serif;
    font-size: 15px;
}
.gh-content .kg-header-card h2 {
    margin: 0;
    line-height: 1.1;
}
.gh-content .kg-header-card-button {
    color: inherit;
}
.gh-content .kg-audio-card,
.gh-content .kg-file-card a,
.gh-content .kg-product-card-container {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: none;
}
.sources-accordion {
    margin-top: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    font-size: 15px;
    line-height: 1.8;
    overflow: hidden;
    scroll-margin-top: calc(var(--header-height) + 24px);
}
.sources-accordion summary {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    padding: 18px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    list-style: none;
}
.sources-accordion summary::-webkit-details-marker {
    display: none;
}
.sources-accordion summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    color: var(--teal);
    margin-left: auto;
    flex-shrink: 0;
}
.sources-accordion[open] summary::after {
    content: "−";
}
.sources-hint {
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
    margin-left: auto;
}
.sources-content {
    border-top: 1px solid var(--line);
    padding: 24px;
}
.sources-content > p,
.sources-content > ul > li,
.sources-content > ol > li {
    padding-left: 24px;
    text-indent: -24px;
    margin: 0 0 20px;
}
.sources-content > :last-child {
    margin-bottom: 0;
}
.sources-content ol,
.sources-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.no-js-nav {
    display: none;
}
@media (min-width: 1600px) {
    .flow-art {
        right: -40px;
        width: 500px;
        height: 320px;
    }
}
@media (max-width: 1200px) {
    :root {
        --rail-width: 224px;
        --gutter: 32px;
    }
    .sidebar {
        padding-inline: 16px;
    }
    .desktop-label {
        max-width: 160px;
        display: block;
    }
    .research-card {
        grid-template-columns: minmax(0, 1fr) 160px;
        gap: 24px;
    }
    .card-snapshot {
        padding-left: 16px;
    }
    .article-layout {
        grid-template-columns: minmax(0, 1fr) 200px;
        gap: 24px;
    }
    .forces-card {
        padding: 24px;
    }
}
@media (max-width: 1040px) {
    :root {
        --rail-width: 216px;
        --gutter: 24px;
    }
    .research-card {
        grid-template-columns: minmax(0, 1fr);
    }
    .card-snapshot {
        display: none;
    }
    .article-layout {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .article-body-column {
        width: 100%;
    }
    .research-panel {
        order: -1;
        position: static;
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 20px;
    }
    .research-panel .toc {
        margin: 0;
        padding: 20px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--surface);
    }
    .research-panel .toc ol {
        margin-bottom: 0;
        max-height: 240px;
        overflow: auto;
        scrollbar-width: thin;
    }
    .research-panel .back-to-top {
        display: none !important;
    }
    .article-header h1 {
        font-size: clamp(32px, 4.5vw, 44px);
    }
    .topbar {
        gap: 16px;
    }
    .desktop-label {
        font-size: 11px;
    }
    .home-intro h1 {
        font-size: clamp(36px, 5vw, 52px);
    }
}
@media (max-width: 960px) {
    .research-search input {
        font-size: 16px;
    }
    :root {
        --rail-width: 0px;
        --gutter: 24px;
        --header-height: 128px;
    }
    .desktop-sidebar {
        display: none;
    }
    .site-shell {
        margin-left: 0;
    }
    .topbar {
        position: sticky;
        top: 0;
        z-index: 30;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 12px 16px;
        padding: 12px var(--gutter);
        min-height: 128px;
    }
    .topbar-brand {
        grid-column: 1;
        grid-row: 1;
        margin: 0;
    }
    .mobile-brand {
        display: flex;
        width: min(100%, 232px);
        color: var(--teal);
    }
    .desktop-label {
        display: none;
    }
    .mobile-menu-toggle {
        display: inline-flex;
        grid-column: 2;
        grid-row: 1;
    }
    .topbar > .research-search {
        grid-column: 1/-1;
        grid-row: 2;
        max-width: none;
    }
    .home-intro {
        padding-top: 40px;
        padding-bottom: 32px;
    }
    .home-intro h1 {
        font-size: 48px;
    }
    .flow-art {
        right: -70px;
        opacity: 0.1;
    }
    .research-card {
        grid-template-columns: minmax(0, 1fr) 180px;
    }
    .card-snapshot {
        display: block;
    }
    .research-panel {
        position: static;
    }
    .no-js-nav {
        display: block;
        padding: 12px var(--gutter);
        border-bottom: 1px solid var(--line);
        font-size: 14px;
    }
    .no-js-nav .nav {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }
    .site-footer {
        font-size: 13px;
    }
}
@media (max-width: 640px) {
    :root {
        --gutter: 20px;
    }
    .home-intro h1 {
        font-size: clamp(34px, 7.6vw, 44px);
    }
    .intro-copy {
        font-size: 16px;
        margin: 18px 0 20px;
    }
    .hero-principles {
        gap: 8px 16px;
        font-size: 11px;
        margin-top: 24px;
    }
    .home-intro > .eyebrow {
        font-size: 10px;
    }
    .research-section {
        margin-top: 28px;
    }
    .research-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding: 24px 0;
    }
    .card-snapshot {
        display: none;
    }
    .research-card h3 {
        font-size: 22px;
    }
    .card-excerpt {
        font-size: 15px;
    }
    .section-heading {
        align-items: start;
        gap: 12px;
    }
    .section-heading h2 {
        font-size: 24px;
    }
    .sort-label {
        width: 100%;
        justify-content: space-between;
    }
    .sort-label select {
        max-width: 180px;
        flex: 0 1 180px;
    }
    .research-search input {
        font-size: 16px;
    }
    .search-clear,
    .search-submit {
        min-width: 44px;
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
    .research-search {
        gap: 8px;
        padding-left: 12px;
    }
    .research-search > svg {
        width: 16px;
        height: 16px;
    }
    .article-header {
        padding-top: 24px;
        padding-bottom: 28px;
    }
    .article-header h1 {
        font-size: clamp(30px, 6.8vw, 40px);
    }
    .article-deck {
        font-size: 18px;
    }
    .article-byline {
        gap: 8px 14px;
    }
    .updated-date {
        width: 100%;
    }
    .research-panel {
        display: block;
    }
    .research-panel-summary {
        padding: 20px;
    }
    .research-panel-summary dl {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 14px 20px;
        margin: 0 0 12px;
    }
    .research-panel-summary dl > div {
        margin: 0;
    }
    .panel-verdict {
        margin: 12px 0 20px;
    }
    .research-panel .toc {
        margin-top: 16px;
        padding: 16px 20px;
    }
    .research-panel .toc ol {
        max-height: 160px;
    }
    .forces-card {
        padding: 20px;
    }
    .forces-card h2 {
        font-size: 24px;
    }
    .forces-explainer {
        font-size: 13px;
    }
    .force-heading {
        font-size: 13px;
        gap: 12px;
    }
    .force-value {
        font-size: 11px;
    }
    .gh-content {
        font-size: 17px;
    }
    .gh-content h2 {
        font-size: 26px;
    }
    .gh-content h3 {
        font-size: 22px;
    }
    .sources-accordion summary {
        padding: 16px;
        font-size: 15px;
        gap: 10px;
        flex-wrap: wrap;
    }
    .sources-hint {
        font-size: 11px;
        margin-left: 0;
    }
    .sources-content {
        padding: 20px;
        font-size: 14px;
    }
    .topic-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .topic-card {
        padding: 22px;
    }
    .archive-header {
        padding: 32px 0 28px;
    }
    .archive-header h1 {
        font-size: 36px;
    }
    .kg-bookmark-thumbnail {
        display: none;
    }
    .gh-content .kg-gallery-row {
        gap: 6px;
    }
    .empty-state {
        padding: 24px;
        min-height: 210px;
    }
    .empty-state h2 {
        font-size: 22px;
    }
    .site-footer {
        flex-direction: column;
        align-items: start;
        gap: 8px;
        padding: 20px 0;
    }
    .footer-links {
        gap: 8px 20px;
    }
    .footer-links a {
        min-height: 44px;
    }
    .access-card {
        padding: 24px;
    }
    .access-card .text-link {
        display: flex;
        margin: 12px 0 0;
    }
    .article-tools {
        gap: 8px;
    }
    .quiet-button {
        flex: 0 1 auto;
    }
    .mobile-menu .appearance-control button {
        min-height: 44px;
    }
}
@media (max-width: 360px) {
    :root {
        --gutter: 16px;
    }
    .home-intro h1 {
        font-size: 34px;
    }
    .research-search {
        gap: 6px;
        padding-left: 10px;
    }
    .research-search input {
        font-size: 16px;
    }
    .forces-card {
        padding: 16px;
    }
    .force-heading {
        align-items: start;
        flex-direction: column;
        gap: 3px;
    }
    .force-value {
        text-align: left;
    }
    .forces-legend {
        gap: 10px 14px;
        font-size: 11px;
    }
    .sources-hint {
        display: none;
    }
    .research-panel-summary dl {
        gap: 12px;
    }
    .research-panel-summary {
        padding: 16px;
    }
    .article-header h1 {
        font-size: 30px;
    }
    .hero-principles {
        display: grid;
        grid-template-columns: 1fr;
        gap: 5px;
    }
    .mobile-menu .sidebar {
        padding-inline: 16px;
    }
    .section-heading h2 {
        font-size: 22px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
@media print {
    .desktop-sidebar,
    .topbar,
    .site-footer,
    .research-panel,
    .article-tools,
    .back-link,
    .article-end,
    .skip-link,
    .mobile-menu,
    .no-js-nav {
        display: none !important;
    }
    .site-shell {
        margin: 0;
        min-height: 0;
    }
    .article-wrap {
        max-width: none;
        padding: 0;
    }
    .article-header {
        padding-top: 0;
    }
    .article-layout {
        display: block;
    }
    .gh-content,
    .article-deck {
        font-size: 11pt;
    }
    .article-header h1 {
        font-size: 26pt;
    }
    body {
        background: #fff;
        color: #111;
    }
    a {
        color: #111;
    }
    .gh-content a::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
    }
    .article-cover img {
        max-height: 300px;
    }
    h2,
    h3 {
        break-after: avoid;
    }
    figure,
    blockquote {
        break-inside: avoid;
    }
    .sources-accordion {
        break-inside: auto;
        background: #fff;
        border-color: #bbb;
    }
    .sources-accordion:not([open]) > .sources-content {
        display: block !important;
    }
    .sources-accordion summary::after {
        display: none;
    }
    .forces-card {
        background: #fff;
        break-inside: avoid;
    }
    .force-fill {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}

/* Search stays anchored to the field; the reading surface remains visible. */
.topbar {
    position: relative;
    z-index: 35;
}
.research-search {
    position: relative;
}
.search-popover {
    position: absolute;
    top: calc(100% + 10px);
    left: -1px;
    right: auto;
    z-index: 60;
    display: flex;
    flex-direction: column;
    width: calc(100% + 2px);
    max-width: calc(100vw - 32px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-layer);
    overflow: hidden;
}
.search-result-status {
    flex-shrink: 0;
    margin: 0;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
    overflow-wrap: anywhere;
}
.search-results {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    max-height: 380px;
}
.search-result {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border-top: 1px solid var(--line);
    border-left: 3px solid transparent;
    text-decoration: none;
}
.search-result:hover,
.search-result[aria-selected="true"] {
    background: var(--teal-wash);
    border-left-color: var(--teal);
}
.search-result-title {
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
    color: var(--ink);
    overflow-wrap: anywhere;
}
.search-result-sector {
    color: var(--teal);
    font-size: 12px;
}
.search-result-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
    overflow-wrap: anywhere;
}
.search-result-footer {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 6px 12px;
    font-size: 11px;
    color: var(--muted);
    border-top: 1px solid var(--line);
}
.search-result-footer:has(> [hidden]:first-child + [hidden] + [hidden]) {
    display: none;
}
.search-result-footer button {
    background: transparent;
    border: 0;
    color: var(--teal);
    padding: 8px 4px;
    min-height: 44px;
    font-size: 12px;
}

/* Compact research cards use one shared pressure scale and readable bar labels. */
.feed-controls,
.archive-feed-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
}
.archive-feed-controls {
    justify-content: space-between;
    margin-bottom: 20px;
}
.view-control {
    display: flex;
    flex-shrink: 0;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--recessed);
}
.view-control button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 8px 10px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--muted);
    font-size: 12px;
}
.view-control button svg {
    width: 16px;
    height: 16px;
}
.view-control button[aria-pressed="true"] {
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-card);
}
.view-control button:hover {
    color: var(--teal);
}
.feed-chart-key {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0 0 20px;
    font-size: 12px;
    color: var(--muted);
}
.feed-chart-key > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.feed-chart-key > span:first-child {
    color: var(--ink);
}
.legend-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.legend-dot.low {
    background: var(--pressure-low);
}
.legend-dot.moderate {
    background: var(--pressure-moderate);
}
.legend-dot.high {
    background: var(--pressure-high);
}
.archive-feed-controls .feed-chart-key {
    margin: 0;
}
.card-chart-label {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: var(--ink);
    font-weight: 500;
    margin: 0 0 12px;
}
.card-chart-label span {
    color: var(--muted);
    font-weight: 400;
    font-size: 11px;
}
:root[data-research-view="grid"] .post-feed {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
    border-top: 0;
}
:root[data-research-view="grid"] .post-feed > .empty-state {
    grid-column: 1 / -1;
}
:root[data-research-view="grid"] .research-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    transition: border-color var(--motion-fast) ease-in-out;
}
:root[data-research-view="grid"] .research-card:hover {
    border-color: color-mix(in srgb, var(--teal) 45%, var(--line));
}
:root[data-research-view="grid"] .research-card:focus-within {
    border-color: var(--teal);
}
:root[data-research-view="grid"] .card-copy {
    width: 100%;
}
:root[data-research-view="grid"] .card-kicker {
    gap: 6px 8px;
    margin-bottom: 12px;
}
:root[data-research-view="grid"] .tag-label {
    font-size: 11px;
}
:root[data-research-view="grid"] .research-card h3 {
    font-size: 18px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
:root[data-research-view="grid"] .card-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.65;
    min-height: 42px;
    margin: 10px 0 14px;
}
:root[data-research-view="grid"] .post-meta {
    font-size: 11px;
    gap: 4px 6px;
}
:root[data-research-view="grid"] .card-snapshot {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
}
:root[data-research-view="grid"] .mini-forces {
    display: grid;
    gap: 6px;
}
:root[data-research-view="grid"] .mini-forces .force-row {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 8px;
    min-height: 22px;
    margin: 0;
}
:root[data-research-view="grid"] .mini-forces .force-heading {
    display: contents;
}
:root[data-research-view="grid"] .mini-forces .force-name {
    grid-column: 1;
    grid-row: 1;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}
:root[data-research-view="grid"] .mini-forces .force-value {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
    font-size: 11px;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
:root[data-research-view="grid"] .mini-forces .force-track {
    grid-column: 2;
    grid-row: 1;
    height: 6px;
    margin: 0;
    background: var(--soft);
}
:root[data-research-view="grid"] .card-read {
    justify-content: space-between;
    min-height: 44px;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 12px;
}
@media (max-width: 1439px) {
    :root[data-research-view="grid"] .post-feed {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 1199px) and (min-width: 961px) {
    :root[data-research-view="grid"] .post-feed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 960px) {
    .topbar {
        position: sticky;
    }
    :root[data-research-view="grid"] .post-feed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .search-popover {
        width: calc(100% + 2px);
    }
    .view-control button {
        min-height: 44px;
    }
}
@media (max-width: 640px) {
    :root[data-research-view="grid"] .post-feed {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    :root[data-research-view="grid"] .research-card {
        padding: 20px;
    }
    :root[data-research-view="grid"] .mini-forces .force-row {
        grid-template-columns: 90px minmax(0, 1fr) 28px;
        gap: 12px;
    }
    :root[data-research-view="grid"] .mini-forces .force-name {
        font-size: 13px;
    }
    :root[data-research-view="grid"] .mini-forces .force-value {
        font-size: 12px;
    }
    .feed-controls {
        width: 100%;
        justify-content: space-between;
    }
    .feed-controls .sort-label {
        flex: 1;
        justify-content: flex-end;
    }
    .feed-chart-key {
        gap: 8px 12px;
    }
    .feed-chart-key > span:first-child {
        flex-basis: 100%;
    }
    .search-result-footer > span {
        display: none;
    }
}
@media print {
    .view-control,
    .feed-chart-key,
    .search-popover {
        display: none !important;
    }
}

/* Publication controls render their own menus in both color schemes. */
.branded-select {
    min-width: 0;
    width: 100%;
    margin-top: 8px;
}
.branded-select-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font-body), system-ui, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}
.branded-select-toggle > span {
    min-width: 0;
    overflow-wrap: anywhere;
}
.branded-select-toggle > svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--muted);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.branded-select-toggle:hover:not(:disabled),
.branded-select-toggle[aria-expanded="true"] {
    border-color: var(--teal);
}
.branded-select-toggle:disabled {
    background: var(--soft);
    color: var(--muted);
    cursor: default;
}
.branded-select-menu {
    position: fixed;
    z-index: 120;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-layer);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.branded-select-option {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
    overflow-wrap: anywhere;
}
.branded-select-option[data-active="true"],
.branded-select-option:hover {
    background: var(--teal-wash);
    color: var(--teal);
}
.branded-select-option[aria-selected="true"] {
    font-weight: 500;
}
.branded-select-option[aria-selected="true"]::after {
    content: "✓";
    color: var(--teal);
    margin-left: auto;
}
.branded-select-option[aria-disabled="true"] {
    color: var(--muted);
    cursor: default;
}
.sort-label .branded-select {
    margin-top: 0;
    width: auto;
    min-width: 142px;
}
@media (max-width: 640px) {
    .branded-select-toggle,
    .branded-select-option {
        font-size: 14px;
    }
}
@media print {
    .branded-select-menu {
        display: none !important;
    }
}
.search-results,
.branded-select-menu {
    scrollbar-width: thin;
    scrollbar-color: var(--line) var(--surface);
}
@media (max-width: 640px) {
    :root[data-research-view="list"] .card-chart-label {
        display: none;
    }
}

.article-type { margin: 16px 0 10px; }

/* Brand motion: short layer entrances, restrained stagger, no moving scores. */
.search-popover, .branded-select-menu { transform-origin: top center; }
@media (prefers-reduced-motion: no-preference) {
    .post-feed > .research-card { animation: study-reveal 300ms ease-out both; }
    .post-feed > .research-card:nth-child(4n + 2) { animation-delay: 50ms; }
    .post-feed > .research-card:nth-child(4n + 3) { animation-delay: 100ms; }
    .post-feed > .research-card:nth-child(4n + 4) { animation-delay: 150ms; }
    .home-intro, .archive-header { animation: study-reveal 400ms ease-out both; }
    .branded-select-toggle > svg { transition: transform 160ms ease-in-out; }
    .branded-select-toggle[aria-expanded="true"] > svg { transform: rotate(180deg); }
    .sources-accordion[open] .sources-content { animation: study-reveal 260ms var(--motion-ease) both; }
}
@keyframes study-reveal {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
    .search-result-footer:not(:has(button:not([hidden]))) { display: none; }
}
