@font-face {
  font-family: "HRM Sans";
  src: url("fonts/ubuntu-sans-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "HRM Mono";
  src: url("fonts/ubuntu-sans-mono-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}
@font-face {
  font-family: "HRM Serif";
  src: url("fonts/dejavu-serif.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "HRM Serif";
  src: url("fonts/dejavu-serif-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #f4f7f5;
  color: #17332c;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: .5rem; left: .5rem; z-index: 100;
  transform: translateY(-200%); border-radius: .4rem; padding: .75rem 1rem;
  background: white; color: #17332c; font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #e0b84f;
  outline-offset: 3px;
}
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem clamp(1rem, 4vw, 3rem); background: #153d34; color: white;
}
.brand, .link-button { color: inherit; font-weight: 700; text-decoration: none; }
.brand, .account-nav a, .link-button { display: inline-flex; align-items: center; min-height: 2.75rem; }
.account-nav { display: flex; align-items: center; gap: 1rem; }
.account-nav-primary { display: flex; align-items: center; gap: 1rem; }
.account-nav a { color: inherit; font-weight: 700; text-decoration: none; }
.account-nav a:hover, .account-nav a:focus-visible { text-decoration: underline; }
.account-nav form { margin: 0; }
.nav-dropdown { position: relative; }
.nav-dropdown > summary {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem;
  padding: 0; color: inherit; font-weight: 700; cursor: pointer; list-style: none;
}
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after {
  width: .45rem; height: .45rem; margin-top: -.2rem; border-right: .12rem solid currentcolor;
  border-bottom: .12rem solid currentcolor; content: ""; transform: rotate(45deg);
}
.nav-dropdown[open] > summary::after { margin-top: .2rem; transform: rotate(225deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + .35rem); right: 0; z-index: 20;
  display: grid; min-width: 13rem; padding: .4rem; border: 1px solid #c9d9d4;
  border-radius: .65rem; background: white; color: #17332c;
  box-shadow: 0 12px 30px #17332c26;
}
.site-header .nav-dropdown-menu a {
  min-height: 2.75rem; padding: .5rem .75rem; border-radius: .4rem; color: #17332c;
}
.site-header .nav-dropdown-menu a:hover,
.site-header .nav-dropdown-menu a:focus-visible { background: #e3ece9; }
.link-button { border: 0; padding: 0; background: none; cursor: pointer; font-size: 1rem; }
.shell { width: min(70rem, 100%); margin: 0 auto; padding: clamp(1.2rem, 4vw, 3rem); }
.shell.report-shell { width: min(96rem, 100%); }
.messages { display: grid; gap: .5rem; margin-bottom: 1rem; }
.message { margin: 0; border-radius: .6rem; padding: .75rem 1rem; background: #e3ece9; }
.message.error { background: #f9dfdf; color: #7c2222; }
.message.success { background: #d9f3e7; color: #155e49; }
.hero { padding: 2rem 0; max-width: 48rem; }
h1 { font-size: clamp(2rem, 6vw, 4rem); line-height: 1.05; margin: .35rem 0 1rem; }
h2 { margin-top: 0; }
h3 { margin-top: 1.5rem; }
a { color: #176b58; }
.site-header a { color: inherit; }
.button { display: inline-flex; align-items: center; min-height: 2.75rem; border-radius: .55rem; padding: .75rem 1rem; background: #176b58; color: white; font-weight: 750; text-decoration: none; }
.eyebrow { color: #397667; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.card { background: white; border: 1px solid #d8e5e1; border-radius: 1rem; padding: 1.4rem; box-shadow: 0 8px 30px #17332c0d; }
.login-card { max-width: 28rem; margin: 8vh auto; }
.stack { display: grid; gap: .65rem; }
input, button, select, textarea { font: inherit; border-radius: .55rem; }
input { width: 100%; border: 1px solid #91aaa3; padding: .75rem; }
input[type="radio"] { width: auto; min-width: 1.2rem; min-height: 1.2rem; }
input[type="checkbox"] { width: 1.35rem; min-width: 1.35rem; min-height: 1.35rem; }
select, textarea { width: 100%; min-height: 2.75rem; border: 1px solid #91aaa3; padding: .75rem; background: white; color: inherit; }
textarea { resize: vertical; }
button[type="submit"]:not(.link-button) { border: 0; padding: .8rem 1rem; background: #176b58; color: white; font-weight: 750; cursor: pointer; }
button.secondary-button { width: 100%; margin-top: .6rem; background: #e3ece9; color: #17332c; }
.errorlist { color: #9c2d2d; padding-left: 1.25rem; }
.status { display: inline-block; border-radius: 99rem; padding: .2rem .55rem; font-size: .85rem; font-weight: 750; }
.status.good { background: #d9f3e7; color: #155e49; }
.status.pending { background: #f6e9c8; color: #76520c; }
.status.error { background: #f9dfdf; color: #7c2222; }
.status.muted { background: #e3e7e6; color: #445550; }
dl div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #e3ece9; padding: .7rem 0; }
dt { font-weight: 700; }
dd { margin: 0; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.page-heading h1 { margin-bottom: 0; }
.page-heading h1 { hyphens: auto; overflow-wrap: break-word; }
.result-count { margin: -1rem 0 1.5rem; color: #526c65; }
.submission-card { margin-bottom: 1rem; }
.inline-form { display: grid; grid-template-columns: minmax(12rem, 1fr) auto; gap: .6rem; align-items: end; }
.inline-form label { grid-column: 1 / -1; font-weight: 700; }
.library-list { display: grid; min-width: 0; gap: 1rem; }
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.secondary-link { border: 1px solid #91aaa3; background: white; color: #17332c; }
.publication-card { min-width: 0; }
.publication-card h2 { margin: .8rem 0 .4rem; overflow-wrap: anywhere; }
.publication-card h2 a { color: inherit; }
.publication-card.is-dismissed { opacity: .72; }
.library-explanation-preview, .library-explanation-pending {
  margin-top: 1rem; border-left: .25rem solid #176b58; border-radius: .55rem;
  padding: .8rem 1rem; background: #eef7f4;
}
.library-explanation-preview h3 {
  margin: 0 0 .35rem; font-size: 1rem;
}
.library-explanation-preview p, .library-explanation-pending p {
  margin: .25rem 0 0; line-height: 1.65;
}
.library-explanation-pending {
  border-left-color: #e0b84f; background: #fff8e8;
}
.library-explanation-pending.is-failed {
  border-left-color: #b42318; background: #fff1f0;
}
.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; color: #526c65; font-size: .9rem; }
.small { color: #526c65; font-size: .88rem; }
.empty-state { text-align: center; padding: 3rem 1.5rem; }
.registry-notice { border-left: .35rem solid #e0b84f; margin-bottom: 1rem; }
.registry-notice p:last-child { margin-bottom: 0; }
.filter-form { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.filter-form fieldset { display: grid; gap: .7rem; margin: 0; padding: 0; border: 0; }
.filter-form legend { margin-bottom: .7rem; font-weight: 800; }
.filter-form label { display: flex; align-items: center; gap: .65rem; min-height: 2.75rem; }
.filter-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.trial-card h2 { margin: .8rem 0 .4rem; }
.trial-card h2 a { color: inherit; }
.nearby-callout { border-radius: .55rem; padding: .75rem; background: #e3f2ed; }
.clean-list, .location-list { padding-left: 1.2rem; }
.clean-list li, .location-list li { margin-bottom: .7rem; }
.pre-line { white-space: pre-line; }
.timeline { display: grid; gap: 1rem; }
.timeline-item h2 { margin: 1rem 0 .4rem; font-size: 1.15rem; }
.coverage-heading { max-width: 52rem; }
.coverage-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.summary-card { min-width: 0; }
.summary-label { margin: 0; color: #526c65; font-size: .88rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.summary-value { margin: .45rem 0; font-size: clamp(1.45rem, 4vw, 2.2rem); font-weight: 800; line-height: 1.1; overflow-wrap: anywhere; }
.summary-value-compact { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.coverage-note { border-left: .35rem solid #176b58; margin-bottom: 1rem; }
.coverage-note p:last-child { margin-bottom: 0; }
.coverage-explanation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.25rem; margin: 1.25rem 0 0; }
.coverage-explanation div { padding-top: .75rem; border-top: 1px solid #d5e1de; }
.coverage-explanation dt { font-weight: 800; }
.coverage-explanation dd { margin-top: .25rem; color: #405a53; }
.baseline-details { margin-bottom: 1rem; }
.coverage-tabs a { gap: .45rem; }
.coverage-tabs a span { display: inline-grid; place-items: center; min-width: 1.7rem; min-height: 1.7rem; padding: 0 .35rem; border-radius: 99rem; background: #e3ece9; color: #17332c; font-size: .8rem; }
.coverage-tabs a.is-active span { background: white; }
.compact-filter { display: grid; grid-template-columns: minmax(12rem, 1fr) auto; gap: .6rem; align-items: end; margin-bottom: 1.5rem; }
.compact-filter label { grid-column: 1 / -1; font-weight: 800; }
.coverage-record h2 { margin: .8rem 0 .4rem; }
.coverage-record h2 a { color: inherit; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(17rem, 1fr); gap: 1rem; align-items: start; }
.detail-main { display: grid; gap: 1rem; min-width: 0; }
.detail-main > h1 { margin-bottom: 0; overflow-wrap: anywhere; }
.lead { font-size: 1.1rem; }
.prose { line-height: 1.7; }
.vertical-dl div { display: block; }
.vertical-dl dd { margin-top: .25rem; overflow-wrap: anywhere; }
.sticky-card { position: sticky; top: 1rem; }
.sticky-card form { margin-top: .6rem; }
.sticky-card form button:not(.secondary-button) { width: 100%; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; color: #526c65; }
.review-heading { max-width: 52rem; }
.review-heading .lead { line-height: 1.6; }
.review-notice { border-left: .35rem solid #176b58; margin-bottom: 1rem; }
.review-notice p:last-child { margin-bottom: 0; }
.review-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.review-tabs a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .65rem .9rem;
  border: 1px solid #91aaa3; border-radius: 99rem; color: #17332c; font-weight: 750; text-decoration: none;
}
.review-tabs a.is-active { border-color: #176b58; background: #176b58; color: white; }
.review-progress {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 24rem); gap: 1rem;
  align-items: center; margin: 1.5rem 0;
}
.review-progress h2 { margin: .15rem 0 0; }
.review-progress progress { width: 100%; height: 1rem; accent-color: #176b58; }
.review-case-list { display: grid; gap: 1rem; }
.review-case-card { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.review-case-number {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: #e3ece9; color: #17332c; font-size: 1.15rem; font-weight: 800;
}
.review-case-card h2 { margin: .7rem 0 1rem; font-size: clamp(1.15rem, 3vw, 1.45rem); line-height: 1.3; }
.review-paper-heading { max-width: 58rem; margin-bottom: 1.5rem; }
.review-paper-heading h1 { font-size: clamp(1.65rem, 3.5vw, 2.5rem); overflow-wrap: anywhere; }
.source-panel { margin-bottom: 2rem; }
summary { min-height: 2.75rem; padding: .35rem 0; font-weight: 800; cursor: pointer; }
.source-abstract { max-width: 75ch; padding-top: 1rem; }
.section-heading { margin-bottom: 1rem; }
.section-heading h2 { margin: .2rem 0; }
.candidate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.candidate-card { min-width: 0; }
.candidate-card h3 { font-size: 1rem; margin: 1.4rem 0 .35rem; }
.candidate-card .prose { overflow-wrap: anywhere; }
.candidate-classification { display: grid; gap: .45rem; margin-top: .75rem; }
.candidate-classification span { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #e3ece9; padding-top: .45rem; }
.candidate-card details { margin-top: 1rem; border-top: 1px solid #e3ece9; padding-top: .5rem; }
.review-form-card { margin-top: 2rem; }
.review-form { display: grid; gap: 1.25rem; }
.form-field { display: grid; gap: .35rem; }
.form-field label, .review-form legend { font-weight: 800; }
.helptext { margin: 0; color: #526c65; font-size: .9rem; line-height: 1.5; }
.form-errors, .review-form .errorlist { color: #8b2424; }
.rating-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.rating-grid fieldset, .preference-fieldset { margin: 0; border: 1px solid #c9d9d4; border-radius: .8rem; padding: 1rem; }
.rating-grid fieldset { display: grid; gap: 1rem; }
.preference-fieldset ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.preference-fieldset label { display: flex; align-items: center; min-height: 2.75rem; gap: .6rem; padding: .5rem; border: 1px solid #d8e5e1; border-radius: .55rem; cursor: pointer; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.form-actions button { min-height: 2.75rem; }
.form-actions .secondary-button { width: auto; margin: 0; }
.report-heading { max-width: 54rem; }
.report-notice { border-left: .35rem solid #176b58; margin-bottom: 1rem; }
.report-notice p:last-child { margin-bottom: 0; }
.report-caution { border-left-color: #b42318; background: #fff1f0; }
.report-caution strong { color: #7a271a; }
.report-list-card h2 { margin: .8rem 0 .4rem; }
.report-list-card h2 a { color: inherit; }
.report-list-card .button { margin-top: .5rem; }
.report-page { display: grid; min-width: 0; gap: 1rem; width: 100%; }
.report-question { border-top: .3rem solid #176b58; }
.technical-question, .scientific-title { margin-top: 1rem; border-top: 1px solid #d5e1de; padding-top: .55rem; }
.technical-question p, .scientific-title p { overflow-wrap: anywhere; }
.language-notice { border-left: .35rem solid #e0b84f; }
.language-notice p:last-child { margin-bottom: 0; }
.report-sources > h2 { margin-bottom: .5rem; }
.report-source-list { display: grid; gap: .8rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.report-source {
  display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1rem;
  border-top: 1px solid #d8e5e1; padding: 1.15rem 0 0;
  scroll-margin-top: 1rem;
}
.source-number {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border-radius: 50%; background: #e3ece9; color: #17332c; font-weight: 800;
}
.report-source h3 { margin: .65rem 0 .35rem; font-size: clamp(1.05rem, 2.5vw, 1.25rem); line-height: 1.4; }
.report-source h3 a { color: inherit; }
.report-source p { margin: .35rem 0; }
.source-actions { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin-top: .75rem; }
.source-actions a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.technical-report > summary {
  display: flex; align-items: center; min-height: 3rem; font-size: 1.1rem;
}
.technical-report[open] > summary { border-bottom: 1px solid #d8e5e1; margin-bottom: 1.5rem; }
.technical-report, .technical-report-content, .technical-report-content > section { min-width: 0; }
.technical-report-content { display: grid; gap: 2rem; }
.technical-report-content > section + section { border-top: 1px solid #d8e5e1; padding-top: 1.5rem; }
.report-prose {
  width: 100%; color: #203d35; font-size: 1.1rem; line-height: 1.78;
  overflow-wrap: anywhere;
}
.report-prose h3 {
  margin: 2.5rem 0 1rem; font-size: clamp(1.65rem, 3vw, 2rem); line-height: 1.25;
}
.report-prose h4 {
  margin: 2.5rem 0 .85rem; border-top: 1px solid #d8e5e1; padding-top: 1rem;
  font-size: clamp(1.4rem, 2.4vw, 1.65rem); line-height: 1.3;
}
.report-prose h5 {
  margin: 1.8rem 0 .65rem; font-size: clamp(1.18rem, 2vw, 1.3rem); line-height: 1.35;
}
.report-prose p { margin: 0 0 1.15rem; }
.report-prose ul { display: grid; gap: .65rem; padding-left: 1.4rem; }
.table-scroll-hint { margin: .5rem 0; color: #526c65; font-size: .95rem; }
.report-table-wrap {
  max-width: 100%; margin: 1rem 0 1.5rem; overflow-x: auto;
  border: 1px solid #c9d9d4; border-radius: .65rem;
}
.report-table-wrap:focus-visible { outline: .2rem solid #176b58; outline-offset: .15rem; }
.report-table {
  width: 100%; min-width: 54rem; border-collapse: collapse; font-size: 1rem;
  line-height: 1.55;
}
.report-table th, .report-table td {
  min-width: 9rem; border-bottom: 1px solid #d8e5e1; padding: .8rem;
  text-align: left; vertical-align: top;
}
.report-table th { background: #edf5f2; color: #17332c; font-weight: 800; }
.report-table tbody tr:last-child td { border-bottom: 0; }
.report-citations { display: inline; margin-left: .15rem; font-size: .78em; white-space: normal; }
.report-citations a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 1.75rem;
  min-height: 1.75rem; margin-right: .15rem; border-radius: .35rem;
  background: #e3ece9; color: #155e49;
  font-weight: 800; text-decoration: none;
}
.report-citations a:hover, .report-citations a:focus-visible { text-decoration: underline; }
.citation-unresolved {
  border-radius: .25rem; padding: .1rem .25rem; background: #f6e9c8; color: #76520c;
  font-size: .88em;
}
.reader-explanation { display: grid; gap: 1rem; }
.reader-explanation-intro { border-top: .35rem solid #176b58; }
.reader-explanation-intro > h2 { font-size: clamp(1.6rem, 4vw, 2.35rem); }
.explanation-section { width: 100%; min-width: 0; }
.explanation-section > h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.explanation-claim + .explanation-claim {
  margin-top: 1.5rem; border-top: 1px solid #d8e5e1; padding-top: .25rem;
}
.explanation-claim h3, .explanation-section > h3 {
  font-size: clamp(1.18rem, 2.5vw, 1.45rem); line-height: 1.35;
}
.explanation-section p, .explanation-section li {
  max-width: none; font-size: 1.06rem; line-height: 1.7;
}
.claim-sources { color: #526c65; font-size: .92rem !important; }
.claim-sources a {
  display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 750;
}
.medicine-link-help {
  border-left: .25rem solid #176b58; padding: .55rem .8rem; background: #eef7f4;
  color: #405a53;
}
.medicine-reference {
  border-radius: .2rem; color: #105d4d; font-weight: 750;
  text-decoration-line: underline; text-decoration-style: dotted;
  text-decoration-thickness: .12rem; text-underline-offset: .18rem;
}
.medicine-reference:hover { text-decoration-style: solid; }
.medicine-dialog {
  width: min(38rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); margin: auto;
  border: 1px solid #91aaa3; border-radius: 1rem; padding: 0; background: white;
  color: #17332c; box-shadow: 0 24px 70px #092a2359;
}
.medicine-dialog::backdrop { background: #092a2399; }
.medicine-dialog-panel { padding: 1.4rem; }
.medicine-dialog h2 { margin: .2rem 0 1rem; font-size: clamp(1.55rem, 5vw, 2.15rem); }
.medicine-dialog h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.dialog-close-form { display: flex; justify-content: flex-end; margin: -.35rem -.35rem 0 0; }
.dialog-close-form .dialog-close {
  min-width: 2.75rem; min-height: 2.75rem; border: 1px solid #91aaa3; padding: .55rem .8rem;
  background: white; color: #17332c; font-weight: 750; cursor: pointer;
}
.medicine-facts { margin: 0; }
.medicine-report-context {
  margin-top: 1rem; border-radius: .7rem; padding: 1rem; background: #eef7f4;
}
.medicine-report-context p:last-child { margin-bottom: 0; }
.medicine-dialog-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.medicine-dialog-actions .secondary-link { background: white; color: #17332c; }
.anchor-target { display: block; position: relative; top: -1rem; }
.report-source-content { min-width: 0; }
.filters { display: grid; gap: .6rem; margin-bottom: 1rem; }
.filters label { font-weight: 800; }
.filter-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; }
.result-list { display: grid; gap: 1rem; }
.result-card h2 { margin: .8rem 0 .5rem; font-size: clamp(1.2rem, 3vw, 1.55rem); }
.result-card h2 a { color: inherit; }
.button-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem;
  border-radius: .55rem; padding: .75rem 1rem; background: #176b58; color: white;
  font-weight: 750; text-decoration: none;
}
.official-detail { display: grid; min-width: 0; gap: 1rem; }
.official-detail > * { min-width: 0; }
.medicine-overview {
  border-top: .35rem solid #176b58;
}
.medicine-explanation-note {
  margin: 1.25rem 0; border-left: .3rem solid #b42318; border-radius: .65rem;
  padding: 1rem 1.1rem; background: #fff1f0; color: #54201b;
}
.medicine-explanation-note h3 { margin: 0 0 .5rem; color: #7a271a; }
.medicine-explanation-note p:last-child { margin-bottom: 0; }
.medicine-current-status {
  margin: 1.25rem 0; border-left: .3rem solid #176b58; border-radius: .65rem;
  padding: 1rem 1.1rem; background: #eef7f4;
}
.medicine-current-status h3 { margin: 0 0 .5rem; }
.medicine-current-status p:last-child { margin-bottom: 0; }
.official-reader-copy {
  max-width: 72ch; font-size: 1.06rem; line-height: 1.7;
}
.official-reader-copy h3 { margin: 1.4rem 0 .45rem; font-size: clamp(1.2rem, 2.5vw, 1.45rem); }
.official-reader-copy p { overflow-wrap: anywhere; }
.medicine-procedure-explanation {
  margin: 1.35rem 0; border-left: .3rem solid #8a4b08; border-radius: .65rem;
  padding: 1rem 1.1rem; background: #fff8eb; color: #4d2b08;
}
.medicine-procedure-explanation h2 {
  margin: 0 0 .65rem; font-size: clamp(1.35rem, 3vw, 1.8rem);
}
.medicine-procedure-explanation h3 {
  margin: 1.1rem 0 .45rem; font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}
.medicine-procedure-explanation p:last-child { margin-bottom: 0; }
.related-medicine-link { margin: 1.2rem 0; }
.button-link.secondary {
  border: 2px solid #176b58; background: white; color: #105d4d;
}
.medicine-status-help { margin-bottom: 1rem; }
.medicine-status-help > p { margin-bottom: .35rem; }
.medicine-status-glossary {
  margin-top: .75rem; border-top: 1px solid #d8e5e1; padding-top: .55rem;
}
.medicine-status-glossary > p { line-height: 1.65; }
.medicine-status-glossary dl { margin-bottom: 0; }
.medicine-status-glossary dl > div {
  display: grid; grid-template-columns: minmax(13rem, .8fr) minmax(0, 2fr);
  align-items: start; gap: 1rem; padding: 1rem 0;
}
.medicine-status-glossary dt {
  display: flex; align-items: center; flex-wrap: wrap; gap: .4rem;
}
.medicine-status-glossary dd { line-height: 1.65; }
.result-status-explanation {
  margin: .8rem 0; border-left: .25rem solid #176b58; padding: .15rem 0 .15rem .85rem;
}
.result-status-explanation p { margin: .35rem 0; }
.result-status-details { margin-top: .15rem; }
.result-status-details > summary {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .25rem 0;
  color: #176b58; font-weight: 700; cursor: pointer;
}
.result-status-details > summary:hover { text-decoration-thickness: .12em; }
.result-status-details > summary:focus-visible {
  border-radius: .25rem; outline: .2rem solid #0f766e; outline-offset: .15rem;
}
.result-status-details > p {
  max-width: 70ch; margin: .25rem 0 .5rem; line-height: 1.65; overflow-wrap: anywhere;
}
.official-indication {
  margin-top: 1.25rem; border-top: 1px solid #d8e5e1; padding-top: .55rem;
}
.official-indication p { overflow-wrap: anywhere; }
.publication-page {
  display: grid; width: 100%; min-width: 0; gap: 1rem;
}
.publication-heading {
  width: 100%; min-width: 0; padding: clamp(.25rem, 1vw, .75rem) 0;
}
.publication-heading h1 {
  max-width: 70rem; margin-top: .75rem; font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.15; overflow-wrap: anywhere;
}
.publication-explanation { border-top: .35rem solid #176b58; }
.publication-summary { width: 100%; font-size: 1.08rem; overflow-wrap: anywhere; }
.publication-explanation-group {
  margin-top: 1.5rem; border-top: 1px solid #d8e5e1; padding-top: 1rem;
}
.publication-explanation-group > h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.interpretation-facts { margin-top: 1.25rem; }
.patient-term-help {
  margin: 1.25rem 0; border-top: 1px solid #d8e5e1; border-bottom: 1px solid #d8e5e1;
  padding: .55rem 0;
}
.patient-term-help > summary {
  display: flex; align-items: center; min-height: 2.75rem; color: #176b58;
}
.patient-term-help > p { line-height: 1.65; }
.patient-term-help dl { margin-bottom: .35rem; }
.patient-term-help dl > div {
  display: grid; grid-template-columns: minmax(10rem, .7fr) minmax(0, 2fr);
  gap: 1rem; border-top: 1px solid #e4ece9; padding: .85rem 0;
}
.patient-term-help dt { overflow-wrap: anywhere; }
.patient-term-help dd { line-height: 1.65; overflow-wrap: anywhere; }
.patient-term-reference {
  border-radius: .2rem; color: #105d4d; font-weight: 700;
  text-decoration-line: underline; text-decoration-style: dotted;
  text-decoration-thickness: .12rem; text-underline-offset: .18rem;
}
.patient-term-reference:hover { text-decoration-style: solid; }
.patient-term-help dt:target { scroll-margin-top: 1rem; }
.publication-analysis-state h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.publication-source { min-width: 0; }
.source-status-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem;
  margin: 1.1rem 0;
}
.source-status-grid > div {
  display: grid; justify-content: start; gap: .3rem; min-width: 0; border: 1px solid #d8e5e1;
  border-radius: .7rem; padding: .85rem; background: #f7faf9;
}
.source-status-grid strong { overflow-wrap: anywhere; }
.source-availability {
  margin: 1rem 0; border-left: .3rem solid #e0b84f; border-radius: .65rem;
  padding: .9rem 1rem; background: #fff8e8;
}
.source-availability.good-callout {
  border-left-color: #176b58; background: #eef7f4;
}
.source-availability.warning-callout {
  border-left-color: #b42318; background: #fff1f0; color: #54201b;
}
.source-availability p:last-child { margin-bottom: 0; }
.source-abstract-details {
  margin-top: 1rem; border-top: 1px solid #d8e5e1; padding-top: .55rem;
}
.publication-abstract { width: 100%; padding-top: 1rem; overflow-wrap: anywhere; }
.publication-provenance { min-width: 0; }
.publication-provenance dd { text-align: right; overflow-wrap: anywhere; }
.publication-actions {
  display: flex; align-items: stretch; flex-wrap: wrap; gap: .75rem; margin-top: 1rem;
}
.publication-actions form { margin: 0; }
.publication-actions button { min-height: 2.75rem; margin: 0; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
.history-list { display: grid; gap: 1rem; }
.history-entry + .history-entry { border-top: 1px solid #d8e5e1; padding-top: 1rem; }
.history-entry h3 { font-size: 1.1rem; }
.change-list > div { display: block; }
.change-list dd { margin-top: .4rem; overflow-wrap: anywhere; }
.digest-page {
  display: grid; width: 100%; min-width: 0; gap: 1rem;
}
.digest-header { max-width: 58rem; padding: 1rem 0; }
.digest-header h1 { margin-bottom: .7rem; }
.digest-header .lead { margin-bottom: 0; }
.operations-overview { border-left: .4rem solid #91aaa3; }
.operations-overview.is-healthy { border-left-color: #176b58; }
.operations-overview.is-attention { border-left-color: #b45309; }
.operations-overview.is-error { border-left-color: #b42318; }
.operations-overview-heading,
.operations-card-heading {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
}
.operations-overview-heading h2,
.operations-card-heading h3 { margin: 0; }
.operations-incidents { border-left: .4rem solid #b42318; }
.operations-incident-list { display: grid; gap: 1rem; }
.operations-incident { min-width: 0; border-top: 1px solid #d8e5e1; padding-top: 1rem; }
.operations-incident:first-child { border-top: 0; padding-top: 0; }
.operations-incident h3 { margin: .65rem 0 .35rem; overflow-wrap: anywhere; }
.operations-source-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
}
.operations-source-card { min-width: 0; border-top: .3rem solid #91aaa3; }
.operations-source-card.is-healthy { border-top-color: #176b58; }
.operations-source-card.is-attention { border-top-color: #b45309; }
.operations-source-card.is-error { border-top-color: #b42318; }
.operations-source-card > p { line-height: 1.6; }
.operations-facts { margin: 1rem 0 0; }
.operations-facts div { align-items: flex-start; }
.operations-facts dd { max-width: 55%; text-align: right; overflow-wrap: anywhere; }
.operations-source-card details { margin-top: .75rem; border-top: 1px solid #d8e5e1; }
.operations-metric-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem;
}
.operations-metric { min-width: 0; }
.operations-metric p:last-child { margin-bottom: 0; line-height: 1.55; }
.operations-ai-flow {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem;
  margin-bottom: 1rem;
}
.operations-ai-flow article {
  min-width: 0; border: 1px solid #c7d9d4; border-radius: .8rem;
  padding: 1rem; background: #edf4f2;
}
.operations-ai-flow h3 { margin: .2rem 0 .5rem; font-size: 1.12rem; }
.operations-ai-flow p:last-child { margin-bottom: 0; line-height: 1.55; }
.operations-step-number {
  margin: 0; color: #176b58; font-size: .82rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
}
.operations-lane-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
}
.operations-lane-card { min-width: 0; border-top: .3rem solid #176b58; }
.operations-lane-card.is-interpretation { border-top-color: #2f7665; }
.operations-lane-card.is-official { border-top-color: #527e73; }
.operations-lane-card .summary-value { margin-bottom: .15rem; }
.operations-lane-card .summary-label { margin-top: 0; line-height: 1.45; }
.operations-priority-note { border-left: .4rem solid #176b58; }
.operations-priority-note h3,
.operations-budget-card h3 { margin: 0; }
.operations-priority-note p:last-child { margin-bottom: 0; line-height: 1.65; }
.operations-budget-card progress {
  width: 100%; height: 1rem; margin: 1rem 0 .5rem; accent-color: #176b58;
}
.operations-budget-card details { margin-top: .75rem; border-top: 1px solid #d8e5e1; }
.operations-metric-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.operations-inline-warning {
  margin: 1rem 0 0; border-left: .3rem solid #b42318; border-radius: .65rem;
  padding: .9rem 1rem; background: #fff1f0; color: #54201b;
}
.operations-resolved > summary { font-size: 1.1rem; }
.operations-resolved[open] > summary { margin-bottom: 1rem; border-bottom: 1px solid #d8e5e1; }
.dashboard-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
}
.dashboard-grid article { min-width: 0; }
.dashboard-grid h3 { margin: .25rem 0 .75rem; font-size: 1.25rem; }
.dashboard-grid form { margin-top: 1rem; }
.table-scroll { max-width: 100%; overflow-x: auto; }
.table-scroll pre {
  max-width: min(44rem, 75vw); margin: .5rem 0 0; white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.digest-delivery-notice {
  border-left: .4rem solid #b45309; background: #fff7ed; color: #572b0a;
}
.digest-delivery-notice.is-sent {
  border-left-color: #176b58; background: #eef7f4; color: #17332c;
}
.digest-delivery-notice.is-failed {
  border-left-color: #b42318; background: #fff1f0; color: #54201b;
}
.digest-delivery-notice h2 { font-size: clamp(1.25rem, 2.8vw, 1.65rem); }
.digest-delivery-notice p:last-child,
.digest-introduction p:last-child { margin-bottom: 0; }
.digest-group { min-width: 0; margin-top: 1.25rem; }
.digest-group > h2 {
  margin-bottom: .85rem; font-size: clamp(1.55rem, 3vw, 2.1rem);
}
.digest-event-list { display: grid; gap: 1rem; }
.digest-event { min-width: 0; border-left: .3rem solid #176b58; }
.digest-event-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem;
  color: #526c65; font-size: .92rem;
}
.digest-priority {
  display: inline-flex; align-items: center; min-height: 1.9rem;
  border-radius: 99rem; padding: .25rem .65rem; background: #e3ece9;
  color: #294b42; font-weight: 800;
}
.digest-priority.is-time-sensitive {
  background: #fff0d5; color: #71440c;
}
.digest-event h3 {
  margin: 1rem 0 .4rem; font-size: clamp(1.2rem, 2.7vw, 1.55rem);
  overflow-wrap: anywhere;
}
.digest-source-title {
  margin: .35rem 0 .8rem; color: #405a53; font-weight: 700;
  line-height: 1.55; overflow-wrap: anywhere;
}
.digest-event p { line-height: 1.65; overflow-wrap: anywhere; }
.digest-event-action { margin: 1rem 0 0; }
.digest-explainer > summary {
  display: flex; align-items: center; font-size: 1.05rem;
}
.digest-explainer .prose { max-width: 75ch; padding-top: .8rem; }
.digest-maintenance-note {
  border: 1px dashed #91aaa3; border-radius: .7rem; padding: 1rem;
  background: #edf4f2; color: #405a53;
}
.home-page {
  display: grid; gap: clamp(2.75rem, 6vw, 4.5rem); padding-bottom: 1rem;
}
.home-hero {
  max-width: 58rem; padding: clamp(2.5rem, 7vw, 5rem) 0 0;
}
.home-hero h1 {
  max-width: 15ch; margin: 0; letter-spacing: -.025em; text-wrap: balance;
}
.home-hero .home-title-dashboard-plain {
  max-width: none; font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.05; letter-spacing: -.025em;
}
.home-hero .lead {
  max-width: 68ch; margin: 1.25rem 0 0; color: #526c65;
  font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.65;
}
.home-section { display: grid; gap: 1.15rem; }
.home-section-heading { max-width: 48rem; }
.home-section-heading h2 {
  margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2;
}
.home-section-heading p { margin: .45rem 0 0; color: #526c65; line-height: 1.6; }
.home-overview-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr);
  gap: 1rem;
}
.home-overview-grid > * { min-width: 0; }
.home-overview-grid h3 { margin: 0; font-size: clamp(1.2rem, 2.5vw, 1.45rem); }
.home-digest-card, .home-profile-card { display: flex; flex-direction: column; }
.home-digest-card {
  border-color: #d8e5e1; background: #eef7f4; box-shadow: none;
}
.home-card-summary { max-width: 58ch; font-size: 1.08rem; line-height: 1.65; }
.home-card-action { margin: auto 0 0; padding-top: .75rem; }
.home-card-note { margin-bottom: 0; }
.home-profile-version { color: #526c65; font-weight: 700; }
.home-target-list { display: grid; gap: .55rem; margin: .85rem 0 0; padding-left: 1.2rem; }
.home-target-list li { line-height: 1.55; }
.home-system-card { grid-column: 1 / -1; }
.home-system-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.home-system-heading p { margin: .4rem 0 0; color: #526c65; line-height: 1.55; }
.home-status-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 1rem; margin: 1.25rem 0 0;
}
.home-status-grid div { display: block; min-width: 0; padding: .85rem 0; }
.home-status-grid dt {
  color: #526c65; font-size: .82rem; font-weight: 800;
  letter-spacing: .04em; line-height: 1.35; text-transform: uppercase;
}
.home-status-grid dd {
  margin-top: .4rem; font-size: 1.02rem; font-weight: 800;
  line-height: 1.35; overflow-wrap: anywhere;
}
.home-destination-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden; border: 1px solid #d8e5e1; border-radius: 1rem;
  background: white; box-shadow: 0 8px 30px #17332c0d;
}
.home-destination-list > a {
  display: flex; min-width: 0; min-height: 13rem; flex-direction: column;
  justify-content: space-between; gap: 1.5rem; padding: 1.4rem;
  color: #17332c; text-decoration: none;
}
.home-destination-list > a + a { border-left: 1px solid #d8e5e1; }
.home-destination-list > a:hover { background: #eef7f4; }
.home-destination-list > a:focus-visible {
  position: relative; z-index: 1; outline-offset: -3px;
}
.home-destination-copy { display: grid; gap: .65rem; }
.home-destination-copy strong { font-size: 1.15rem; line-height: 1.35; }
.home-destination-copy > span { color: #526c65; line-height: 1.65; }
.home-destination-action { color: #176b58; font-weight: 750; }
.home-destination-list > a:hover .home-destination-action { text-decoration: underline; }
.button:hover, .button-link:hover, button[type="submit"]:not(.link-button):hover { background: #153d34; }
.secondary-link:hover, button.secondary-button:hover {
  border-color: #176b58; background: #e3ece9; color: #17332c;
}
.home-theme-archive {
  --home-canvas: #f6f2ea;
  --home-surface: #fffcf7;
  --home-ink: #26283a;
  --home-muted-ink: #676878;
  --home-action: #4e568b;
  --home-action-hover: #39416f;
  --home-border: #d8d1c6;
  --home-focus: #9a6b1f;
  --home-information: #eef0f8;
  background: var(--home-canvas); color: var(--home-ink);
}
.home-theme-archive .skip-link {
  background: var(--home-surface); color: var(--home-ink);
}
.home-theme-archive .site-header { background: var(--home-ink); }
.home-theme-archive .nav-dropdown-menu {
  border-color: var(--home-border); background: var(--home-surface);
  color: var(--home-ink);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--home-ink) 15%, transparent);
}
.home-theme-archive .site-header .nav-dropdown-menu a { color: var(--home-ink); }
.home-theme-archive .site-header .nav-dropdown-menu a:hover,
.home-theme-archive .site-header .nav-dropdown-menu a:focus-visible {
  background: var(--home-information);
}
.home-theme-archive a:focus-visible,
.home-theme-archive button:focus-visible,
.home-theme-archive input:focus-visible,
.home-theme-archive select:focus-visible,
.home-theme-archive textarea:focus-visible,
.home-theme-archive summary:focus-visible {
  outline-color: var(--home-focus);
}
.home-theme-archive .home-hero h1,
.home-theme-archive .home-section-heading h2,
.home-theme-archive .home-overview-grid h3,
.home-theme-archive .home-destination-copy strong {
  color: var(--home-ink);
}
.home-theme-archive .home-hero .lead,
.home-theme-archive .home-section-heading p,
.home-theme-archive .home-system-heading p,
.home-theme-archive .home-profile-version,
.home-theme-archive .home-destination-copy > span,
.home-theme-archive .small {
  color: var(--home-muted-ink);
}
.home-theme-archive .card {
  border-color: var(--home-border); background: var(--home-surface);
  color: var(--home-ink);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--home-ink) 5%, transparent);
}
.home-theme-archive .home-digest-card {
  background: var(--home-information); box-shadow: none;
}
.home-theme-archive .home-status-grid div { border-color: var(--home-border); }
.home-theme-archive .home-status-grid dt { color: var(--home-muted-ink); }
.home-theme-archive .home-destination-list {
  border-color: var(--home-border); background: var(--home-surface);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--home-ink) 5%, transparent);
}
.home-theme-archive .home-destination-list > a { color: var(--home-ink); }
.home-theme-archive .home-destination-list > a + a { border-color: var(--home-border); }
.home-theme-archive .home-destination-list > a:hover { background: var(--home-information); }
.home-theme-archive .home-destination-action { color: var(--home-action); }
.home-theme-archive .button,
.home-theme-archive .button-link,
.home-theme-archive button[type="submit"]:not(.link-button) {
  background: var(--home-action); color: white;
}
.home-theme-archive .button:hover,
.home-theme-archive .button-link:hover,
.home-theme-archive button[type="submit"]:not(.link-button):hover {
  background: var(--home-action-hover);
}
.home-theme-archive .secondary-link,
.home-theme-archive button.secondary-button {
  border-color: var(--home-border); background: var(--home-surface); color: var(--home-ink);
}
.home-theme-archive .secondary-link:hover,
.home-theme-archive button.secondary-button:hover {
  border-color: var(--home-action); background: var(--home-information); color: var(--home-ink);
}

/* Home comparison lab: three complete systems over one semantic document. */
.home-theme-archive {
  --home-canvas: #f1f5ff;
  --home-surface: #ffffff;
  --home-ink: #101b3f;
  --home-muted-ink: #536187;
  --home-action: #1748d1;
  --home-action-hover: #0d318f;
  --home-border: #b9c8ee;
  --home-focus: #ffb800;
  --home-information: #dce7ff;
  min-height: 100vh; background: var(--home-canvas); color: var(--home-ink);
  font-family: "HRM Sans", ui-sans-serif, sans-serif;
  transition: background-color .28s ease-out, color .28s ease-out;
}
.home-theme-archive .shell { width: min(82rem, 100%); }
.home-theme-archive .site-header {
  min-height: 4.75rem; padding-block: .75rem; background: #1239a8; color: white;
  position: sticky; top: 0; z-index: 30; border-bottom: 1px solid #6f8de3;
}
.home-theme-archive .brand {
  min-width: 4.5rem; justify-content: center; border: 1px solid #92a9eb;
  font-size: 1.2rem; font-weight: 800; letter-spacing: .08em;
}
.home-theme-archive .account-nav,
.home-theme-archive .account-nav-primary { gap: .25rem; }
.home-theme-archive .account-nav-primary > a,
.home-theme-archive .nav-dropdown > summary,
.home-theme-archive .link-button {
  padding-inline: .65rem; font-size: .9rem; font-weight: 650;
}
.home-theme-archive .account-nav-primary > a:hover,
.home-theme-archive .account-nav-primary > a:focus-visible,
.home-theme-archive .nav-dropdown > summary:hover,
.home-theme-archive .link-button:hover {
  background: #2c54c2; text-decoration: none;
}
.home-theme-archive .home-page {
  gap: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3rem, 8vw, 6rem);
}
.home-theme-archive .home-page,
.home-theme-archive .home-page > *,
.home-theme-archive .home-hero > * { min-width: 0; }
.home-direction-picker {
  display: grid; grid-template-columns: minmax(13rem, .68fr) minmax(0, 1.32fr);
  gap: 1.5rem; align-items: center; margin-top: .5rem; padding: 1rem;
  border: 1px solid var(--home-border); border-radius: .75rem;
  background: var(--home-surface); color: var(--home-ink);
}
.home-direction-intro { padding-inline: .35rem; }
.home-direction-intro h2 { margin: 0; font-size: 1rem; line-height: 1.25; }
.home-direction-intro p {
  margin: .25rem 0 0; color: var(--home-muted-ink); font-size: .82rem; line-height: 1.4;
}
.home-direction-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.home-direction-options button {
  display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: .65rem;
  align-items: center; min-height: 3.5rem; padding: .55rem .65rem; border: 1px solid transparent;
  border-radius: .55rem; background: transparent; color: inherit; text-align: left; cursor: pointer;
}
.home-direction-options button:hover { background: var(--home-information); }
.home-direction-options button[aria-pressed="true"] {
  border-color: var(--home-action); background: var(--home-information);
}
.home-direction-options button > span:last-child { display: grid; gap: .1rem; min-width: 0; }
.home-direction-options strong { font-size: .85rem; line-height: 1.2; }
.home-direction-options small { color: var(--home-muted-ink); font-size: .72rem; line-height: 1.25; }
.direction-swatch { display: block; width: 1.1rem; height: 2rem; }
.direction-swatch-compass { background: #1748d1; box-shadow: inset 0 -.55rem #ffcf4a; }
.direction-swatch-register { background: #0a0a0a; box-shadow: inset .3rem 0 #c8ff3d; }
.direction-swatch-atelier { background: #6f2e55; box-shadow: inset 0 -.65rem #d7c7e8; }
.home-theme-archive .home-hero {
  display: grid; grid-template-columns: minmax(15rem, .72fr) minmax(0, 1.28fr);
  gap: .35rem clamp(2rem, 6vw, 6rem); align-items: end; max-width: none;
  padding: clamp(2rem, 6vw, 5rem) 0 0;
}
.home-theme-archive .home-hero h1 {
  grid-row: 1 / span 2; align-self: center; max-width: 7ch; color: var(--home-ink);
  font-size: clamp(3.3rem, 8vw, 6rem); font-weight: 780; line-height: .92;
  letter-spacing: -.035em;
}
.home-promise {
  margin: 0; color: var(--home-action); font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 720; line-height: 1.2; text-wrap: balance;
}
.home-theme-archive .home-hero .lead {
  max-width: 65ch; margin: .75rem 0 0; color: var(--home-muted-ink);
  font-size: clamp(1.02rem, 1.8vw, 1.17rem); line-height: 1.65;
}
.home-theme-archive .home-section { gap: 1.5rem; }
.home-theme-archive .home-section-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; max-width: none; }
.home-theme-archive .home-section-heading h2 {
  color: var(--home-ink); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 760;
  letter-spacing: -.025em;
}
.home-theme-archive .home-section-heading p { max-width: 55ch; color: var(--home-muted-ink); }
.home-theme-archive .home-overview-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.home-theme-archive .home-overview-grid .card {
  border: 1px solid var(--home-border); border-radius: .75rem; padding: clamp(1.3rem, 3vw, 2rem);
  background: var(--home-surface); color: var(--home-ink); box-shadow: none;
}
.home-theme-archive .home-overview-grid .home-digest-card {
  grid-column: span 7; background: #1748d1; color: white; border-color: #1748d1;
}
.home-theme-archive .home-overview-grid .home-profile-card { grid-column: span 5; }
.home-theme-archive .home-overview-grid .home-system-card { grid-column: 1 / -1; }
.home-theme-archive .home-digest-card h3,
.home-theme-archive .home-digest-card .home-card-summary { color: white; }
.home-theme-archive .home-digest-card .small { color: #dce7ff; }
.home-theme-archive .home-digest-card .button { background: white; color: #1239a8; }
.home-theme-archive .home-digest-card .button:hover { background: #ffcf4a; color: #101b3f; }
.home-theme-archive .home-overview-grid h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
.home-theme-archive .home-status-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.home-theme-archive .home-status-grid div { border-color: var(--home-border); }
.home-theme-archive .home-status-grid dt { color: var(--home-muted-ink); }
.home-theme-archive .home-destination-list {
  border: 0; border-radius: 0; background: transparent; box-shadow: none; gap: 1rem;
}
.home-theme-archive .home-destination-list > a {
  min-height: 15rem; border: 1px solid var(--home-border); border-radius: .75rem;
  padding: clamp(1.25rem, 3vw, 2rem); background: var(--home-surface); color: var(--home-ink);
}
.home-theme-archive .home-destination-list > a + a { border-left: 1px solid var(--home-border); }
.home-theme-archive .home-destination-list > a:hover { background: var(--home-information); }
.home-theme-archive .home-destination-action { color: var(--home-action); }

/* Bewijsregister: dense, ruled and deliberately data-forward. */
html[data-home-theme="register"] .home-theme-archive {
  --home-canvas: #070707;
  --home-surface: #0d0d0d;
  --home-ink: #f8f7f0;
  --home-muted-ink: #c6c6bd;
  --home-action: #c8ff3d;
  --home-action-hover: #e1ff93;
  --home-border: #f8f7f0;
  --home-focus: #c8ff3d;
  --home-information: #232323;
  background: #070707; color: #f8f7f0;
}
html[data-home-theme="register"] .home-theme-archive .shell { width: min(96rem, 100%); }
html[data-home-theme="register"] .home-theme-archive .site-header {
  min-height: 3.6rem; border-bottom-color: #f8f7f0; background: #070707;
}
html[data-home-theme="register"] .home-theme-archive .brand {
  min-width: 0; justify-content: flex-start; border: 0; font-family: "HRM Mono", monospace;
  font-size: 1rem; letter-spacing: .14em;
}
html[data-home-theme="register"] .home-theme-archive .account-nav-primary > a:hover,
html[data-home-theme="register"] .home-theme-archive .account-nav-primary > a:focus-visible,
html[data-home-theme="register"] .home-theme-archive .nav-dropdown > summary:hover,
html[data-home-theme="register"] .home-theme-archive .link-button:hover { background: #c8ff3d; color: #070707; }
html[data-home-theme="register"] .home-direction-picker {
  grid-template-columns: minmax(13rem, .5fr) minmax(0, 1.5fr); margin-top: 0;
  border-color: #f8f7f0; border-radius: 0; background: #070707;
}
html[data-home-theme="register"] .home-direction-options button { border-radius: 0; }
html[data-home-theme="register"] .home-direction-options button:hover { background: #232323; }
html[data-home-theme="register"] .home-direction-options button[aria-pressed="true"] {
  border-color: #c8ff3d; background: #c8ff3d; color: #070707;
}
html[data-home-theme="register"] .home-direction-options button[aria-pressed="true"] small { color: #222; }
html[data-home-theme="register"] .home-theme-archive .home-page { gap: 2.5rem; }
html[data-home-theme="register"] .home-theme-archive .home-hero {
  grid-template-columns: minmax(16rem, .55fr) minmax(0, 1.45fr); align-items: start;
  padding: 1.25rem 0 0; border-top: 1px solid #f8f7f0;
}
html[data-home-theme="register"] .home-theme-archive .home-hero h1 {
  max-width: 12ch; font-family: "HRM Sans", sans-serif; font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-stretch: condensed; font-weight: 760; line-height: .9; text-transform: uppercase;
}
html[data-home-theme="register"] .home-promise {
  color: #c8ff3d; font-family: "HRM Mono", monospace; font-size: clamp(1.05rem, 2vw, 1.5rem);
}
html[data-home-theme="register"] .home-theme-archive .home-hero .lead {
  color: #f8f7f0; font-family: "HRM Mono", monospace; font-size: .9rem; line-height: 1.55;
}
html[data-home-theme="register"] .home-theme-archive .home-section {
  grid-template-columns: minmax(11rem, .38fr) minmax(0, 1.62fr); gap: 1.25rem;
  border-top: 1px solid #f8f7f0; padding-top: 1rem;
}
html[data-home-theme="register"] .home-theme-archive .home-section-heading {
  display: block; max-width: 16rem;
}
html[data-home-theme="register"] .home-theme-archive .home-section-heading h2 {
  font-family: "HRM Sans", sans-serif; font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  font-stretch: condensed; line-height: .98; text-transform: uppercase;
}
html[data-home-theme="register"] .home-theme-archive .home-section-heading p {
  margin-top: .8rem; color: #c6c6bd; font-family: "HRM Mono", monospace; font-size: .78rem;
}
html[data-home-theme="register"] .home-theme-archive .home-overview-grid { gap: 0; }
html[data-home-theme="register"] .home-theme-archive .home-overview-grid .card {
  border-color: #f8f7f0; border-radius: 0; padding: 1rem; background: #070707; color: #f8f7f0;
}
html[data-home-theme="register"] .home-theme-archive .home-overview-grid .home-digest-card {
  grid-column: span 5; background: #c8ff3d; color: #070707; border-right: 0;
}
html[data-home-theme="register"] .home-theme-archive .home-overview-grid .home-profile-card { grid-column: span 7; }
html[data-home-theme="register"] .home-theme-archive .home-digest-card h3,
html[data-home-theme="register"] .home-theme-archive .home-digest-card .home-card-summary { color: #070707; }
html[data-home-theme="register"] .home-theme-archive .home-digest-card .small { color: #263500; }
html[data-home-theme="register"] .home-theme-archive .home-digest-card .button {
  border: 1px solid #070707; border-radius: 0; background: #070707; color: #c8ff3d;
}
html[data-home-theme="register"] .home-theme-archive .home-digest-card .button:hover { background: #f8f7f0; color: #070707; }
html[data-home-theme="register"] .home-theme-archive .home-overview-grid .home-system-card { border-top: 0; }
html[data-home-theme="register"] .home-theme-archive .home-status-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; }
html[data-home-theme="register"] .home-theme-archive .home-status-grid div {
  min-height: 6rem; padding: .65rem; border-top-color: #5e5e58; border-right: 1px solid #5e5e58;
}
html[data-home-theme="register"] .home-theme-archive .home-status-grid div:last-child { border-right: 0; }
html[data-home-theme="register"] .home-theme-archive .home-status-grid dt,
html[data-home-theme="register"] .home-theme-archive .home-status-grid dd,
html[data-home-theme="register"] .home-theme-archive .home-profile-version,
html[data-home-theme="register"] .home-theme-archive .small {
  font-family: "HRM Mono", monospace;
}
html[data-home-theme="register"] .home-theme-archive .home-status-grid dt { color: #c6c6bd; font-size: .68rem; }
html[data-home-theme="register"] .home-theme-archive .home-status-grid dd { color: #f8f7f0; font-size: .9rem; }
html[data-home-theme="register"] .home-theme-archive .home-destination-list { display: grid; grid-template-columns: 1fr; gap: 0; }
html[data-home-theme="register"] .home-theme-archive .home-destination-list > a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 0; align-items: end;
  border-color: #f8f7f0; border-radius: 0; padding: 1rem; background: #070707; color: #f8f7f0;
}
html[data-home-theme="register"] .home-theme-archive .home-destination-list > a + a {
  border-top: 0; border-left: 1px solid #f8f7f0;
}
html[data-home-theme="register"] .home-theme-archive .home-destination-list > a:hover { background: #c8ff3d; color: #070707; }
html[data-home-theme="register"] .home-theme-archive .home-destination-copy { max-width: 68ch; }
html[data-home-theme="register"] .home-theme-archive .home-destination-copy > span { color: #c6c6bd; }
html[data-home-theme="register"] .home-theme-archive .home-destination-list > a:hover .home-destination-copy > span { color: #222; }
html[data-home-theme="register"] .home-theme-archive .home-destination-action {
  color: #c8ff3d; font-family: "HRM Mono", monospace; font-size: .82rem;
}
html[data-home-theme="register"] .home-theme-archive .home-destination-list > a:hover .home-destination-action { color: #070707; }

/* Zorgatelier: a generous reading table for difficult material. */
html[data-home-theme="atelier"] .home-theme-archive {
  --home-canvas: #eee8f4;
  --home-surface: #fffafd;
  --home-ink: #3b203b;
  --home-muted-ink: #5b445d;
  --home-action: #793c5b;
  --home-action-hover: #572740;
  --home-border: #cfbed5;
  --home-focus: #d45d37;
  --home-information: #ddd0e7;
  background: #eee8f4; color: #3b203b;
}
html[data-home-theme="atelier"] .home-theme-archive .shell {
  width: min(76rem, 100%); padding-top: 0;
}
html[data-home-theme="atelier"] .home-theme-archive .site-header {
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) auto minmax(7rem, 1fr);
  min-height: 5.25rem; border-bottom: 0; background: #4c2448;
}
html[data-home-theme="atelier"] .home-theme-archive .brand {
  min-width: auto; justify-self: start; justify-content: flex-start; border: 0; font-family: "HRM Serif", serif;
  font-size: 1.45rem; letter-spacing: 0;
}
html[data-home-theme="atelier"] .home-theme-archive .account-nav { display: contents; }
html[data-home-theme="atelier"] .home-theme-archive .account-nav-primary {
  grid-column: 2; justify-content: center;
}
html[data-home-theme="atelier"] .home-theme-archive .account-nav-session {
  grid-column: 3; justify-self: end;
}
html[data-home-theme="atelier"] .home-theme-archive .account-nav-primary > a,
html[data-home-theme="atelier"] .home-theme-archive .nav-dropdown > summary,
html[data-home-theme="atelier"] .home-theme-archive .link-button { border-radius: .55rem; }
html[data-home-theme="atelier"] .home-theme-archive .account-nav-primary > a:hover,
html[data-home-theme="atelier"] .home-theme-archive .account-nav-primary > a:focus-visible,
html[data-home-theme="atelier"] .home-theme-archive .nav-dropdown > summary:hover,
html[data-home-theme="atelier"] .home-theme-archive .link-button:hover { background: #6e3b68; }
html[data-home-theme="atelier"] .home-direction-picker {
  margin-top: .75rem; border: 0; border-radius: 1rem; background: #fffafd;
  box-shadow: 0 .75rem 2rem rgba(59, 32, 59, .09);
}
html[data-home-theme="atelier"] .home-direction-options button[aria-pressed="true"] {
  border-color: #793c5b; background: #eee8f4;
}
html[data-home-theme="atelier"] .home-theme-archive .home-page { gap: clamp(4rem, 9vw, 7rem); }
html[data-home-theme="atelier"] .home-theme-archive .home-hero {
  display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(18rem, .78fr);
  gap: .9rem clamp(3rem, 7vw, 6.5rem); align-items: start; max-width: none;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: #4c2448; color: #fffafd;
  box-shadow: 0 0 0 100vmax #4c2448;
  clip-path: inset(0 -100vmax);
}
html[data-home-theme="atelier"] .home-theme-archive .home-hero h1 {
  grid-row: 1 / span 2; align-self: center; max-width: 8ch; color: #fffafd;
  font-family: "HRM Serif", serif; font-size: clamp(3.8rem, 8vw, 6rem);
  font-weight: 700; line-height: .92; letter-spacing: -.035em;
}
html[data-home-theme="atelier"] .home-promise {
  margin: 0; padding-top: 1.25rem; border-top: 1px solid #f2b49e;
  color: #f2b49e; font-size: clamp(1.45rem, 2.8vw, 2.15rem); font-weight: 700;
  line-height: 1.16;
}
html[data-home-theme="atelier"] .home-theme-archive .home-hero .lead {
  max-width: 48ch; margin: .4rem 0 0; color: #f2dfe9;
}
html[data-home-theme="atelier"] .home-theme-archive .home-section { gap: 1rem; }
html[data-home-theme="atelier"] .home-theme-archive .home-section-heading {
  grid-template-columns: 1fr; gap: .35rem; align-items: start;
  padding: 0 0 1rem; border-bottom: 1px solid #793c5b;
  border-radius: 0; background: transparent; color: #3b203b;
}
html[data-home-theme="atelier"] .home-theme-archive .home-section-heading h2 {
  color: #3b203b; font-family: "HRM Serif", serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05;
}
html[data-home-theme="atelier"] .home-theme-archive .home-section-heading p {
  max-width: 65ch; margin: 0; color: #5b445d; font-size: 1.05rem; line-height: 1.6;
}
html[data-home-theme="atelier"] .home-theme-archive .home-overview-grid { gap: 1.25rem; }
html[data-home-theme="atelier"] .home-theme-archive .home-overview-grid .card {
  border: 0; border-radius: 1rem; padding: clamp(1.5rem, 3.5vw, 2.4rem);
  background: #fffafd; color: #3b203b; box-shadow: 0 1rem 2.5rem rgba(59, 32, 59, .09);
}
html[data-home-theme="atelier"] .home-theme-archive .home-overview-grid .home-digest-card {
  grid-column: span 6; background: #793c5b; color: #fffafd;
}
html[data-home-theme="atelier"] .home-theme-archive .home-overview-grid .home-profile-card { grid-column: span 6; background: #d8c9e5; }
html[data-home-theme="atelier"] .home-theme-archive .home-digest-card h3,
html[data-home-theme="atelier"] .home-theme-archive .home-digest-card .home-card-summary { color: #fffafd; }
html[data-home-theme="atelier"] .home-theme-archive .home-digest-card .small { color: #f2dfe9; }
html[data-home-theme="atelier"] .home-theme-archive .home-digest-card .button { background: #f2b49e; color: #3b203b; }
html[data-home-theme="atelier"] .home-theme-archive .home-digest-card .button:hover { background: white; color: #3b203b; }
html[data-home-theme="atelier"] .home-theme-archive .home-overview-grid .home-system-card { grid-column: 2 / 12; }
html[data-home-theme="atelier"] .home-theme-archive .home-status-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem 1.5rem; }
html[data-home-theme="atelier"] .home-theme-archive .home-status-grid div { border-color: #cfbed5; }
html[data-home-theme="atelier"] .home-theme-archive .home-status-grid dt { color: #5b445d; }
html[data-home-theme="atelier"] .home-theme-archive .home-destination-list {
  grid-template-columns: 1fr; gap: 1rem; overflow: visible;
}
html[data-home-theme="atelier"] .home-theme-archive .home-destination-list > a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 0;
  align-items: end; border: 0; border-radius: 1rem; padding: clamp(1.4rem, 3vw, 2rem);
  background: #fffafd; color: #3b203b; box-shadow: 0 .75rem 2rem rgba(59, 32, 59, .08);
}
html[data-home-theme="atelier"] .home-theme-archive .home-destination-list > a:nth-child(2) { margin-inline: 4rem 0; background: #d8c9e5; }
html[data-home-theme="atelier"] .home-theme-archive .home-destination-list > a:nth-child(3) { margin-inline: 8rem 0; background: #f1c9bc; }
html[data-home-theme="atelier"] .home-theme-archive .home-destination-list > a + a { border: 0; }
html[data-home-theme="atelier"] .home-theme-archive .home-destination-list > a:hover { background: #f7edf6; }
html[data-home-theme="atelier"] .home-theme-archive .home-destination-copy { max-width: 68ch; }
html[data-home-theme="atelier"] .home-theme-archive .home-destination-copy strong {
  font-family: "HRM Serif", serif; font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}
html[data-home-theme="atelier"] .home-theme-archive .home-destination-copy > span { color: #5b445d; }
html[data-home-theme="atelier"] .home-theme-archive .home-destination-action { color: #793c5b; }

/* Editorial weekbrief: the weekly digest as a calm, source-first reading page. */
.digest-theme-atelier {
  --digest-canvas: #eee8f4;
  --digest-surface: #fffafd;
  --digest-ink: #3b203b;
  --digest-muted: #5b445d;
  --digest-action: #793c5b;
  --digest-action-hover: #572740;
  --digest-header: #4c2448;
  --digest-header-hover: #6e3b68;
  --digest-border: #cfbed5;
  --digest-lavender: #d8c9e5;
  --digest-coral: #f2b49e;
  --digest-peach: #f1c9bc;
  min-height: 100vh; background: var(--digest-canvas); color: var(--digest-ink);
  font-family: "HRM Sans", ui-sans-serif, sans-serif;
}
.digest-theme-atelier a { color: var(--digest-action); }
.digest-theme-atelier a:focus-visible,
.digest-theme-atelier button:focus-visible,
.digest-theme-atelier summary:focus-visible { outline-color: #d45d37; }
.digest-theme-atelier .skip-link { background: var(--digest-surface); color: var(--digest-ink); }
.digest-theme-atelier .site-header {
  position: sticky; top: 0; z-index: 30; display: grid;
  grid-template-columns: minmax(7rem, 1fr) auto minmax(7rem, 1fr);
  min-height: 5.25rem; border: 0; background: var(--digest-header); color: #fffafd;
}
.digest-theme-atelier .brand {
  min-width: auto; justify-self: start; justify-content: flex-start; border: 0;
  font-family: "HRM Serif", serif; font-size: 1.45rem; letter-spacing: 0;
}
.digest-theme-atelier .site-header > .brand,
.digest-theme-atelier .account-nav-primary > a { color: #fffafd; }
.digest-theme-atelier .account-nav { display: contents; }
.digest-theme-atelier .account-nav-primary {
  grid-column: 2; justify-content: center; gap: .25rem;
}
.digest-theme-atelier .account-nav-session { grid-column: 3; justify-self: end; }
.digest-theme-atelier .account-nav-primary > a,
.digest-theme-atelier .nav-dropdown > summary,
.digest-theme-atelier .link-button {
  border-radius: .55rem; padding-inline: .65rem; font-size: .9rem; font-weight: 650;
}
.digest-theme-atelier .account-nav-primary > a:hover,
.digest-theme-atelier .account-nav-primary > a:focus-visible,
.digest-theme-atelier .account-nav-primary > a[aria-current="page"],
.digest-theme-atelier .nav-dropdown > summary:hover,
.digest-theme-atelier .link-button:hover {
  background: var(--digest-header-hover); color: #fffafd; text-decoration: none;
}
.digest-theme-atelier .nav-dropdown-menu {
  border-color: var(--digest-border); background: var(--digest-surface); color: var(--digest-ink);
  box-shadow: 0 .75rem 2rem rgba(59, 32, 59, .14);
}
.digest-theme-atelier .site-header .nav-dropdown-menu a { color: var(--digest-ink); }
.digest-theme-atelier .site-header .nav-dropdown-menu a:hover,
.digest-theme-atelier .site-header .nav-dropdown-menu a:focus-visible { background: #f7edf6; }
.digest-theme-atelier .shell.report-shell {
  width: min(76rem, 100%); padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(3rem, 8vw, 6rem);
}
.digest-theme-atelier .digest-page {
  display: grid; width: 100%; min-width: 0; gap: clamp(2.5rem, 5vw, 4.5rem);
}
.digest-theme-atelier .digest-page > * { min-width: 0; }
.digest-theme-atelier .digest-header {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(13rem, .32fr);
  gap: 2rem; align-items: end; max-width: none;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--digest-action);
}
.digest-theme-atelier .digest-header h1 {
  max-width: 12ch; margin: 0; color: var(--digest-ink); font-family: "HRM Serif", serif;
  font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 700; line-height: .94;
  letter-spacing: -.035em; text-wrap: balance;
}
.digest-theme-atelier .digest-header .lead {
  max-width: 44ch; margin: 1rem 0 0; color: var(--digest-muted);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 600; line-height: 1.45;
}
.digest-theme-atelier .digest-state {
  margin: 0; padding-top: 1rem; border-top: 1px solid var(--digest-coral);
  color: var(--digest-action); font-size: .95rem; font-weight: 600; line-height: 1.5;
}
.digest-theme-atelier .digest-utilities {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem 3rem;
}
.digest-theme-atelier .digest-archive { width: min(25rem, 100%); }
.digest-theme-atelier .digest-archive > summary {
  border-bottom: 1px solid var(--digest-border); padding: .8rem 0;
  color: var(--digest-action); font-size: 1rem; font-weight: 700;
}
.digest-theme-atelier .digest-archive .prose { padding-top: .75rem; }
.digest-theme-atelier .digest-archive ul { margin-bottom: 0; padding-left: 1.25rem; }
.digest-theme-atelier .digest-archive li { margin-block: .5rem; line-height: 1.5; }
.digest-theme-atelier .digest-delivery-notice {
  width: min(44rem, 100%); margin-left: auto; border: 0;
  border-top: 1px solid var(--digest-border); border-bottom: 1px solid var(--digest-border);
  border-radius: 0; padding: 1rem 0; background: transparent; color: var(--digest-muted);
  box-shadow: none;
}
.digest-theme-atelier .digest-delivery-notice h2 {
  margin: 0; color: var(--digest-ink); font-size: 1rem; font-weight: 700; line-height: 1.4;
}
.digest-theme-atelier .digest-delivery-notice p {
  max-width: 65ch; margin: .35rem 0 0; font-size: .95rem; line-height: 1.55;
}
.digest-theme-atelier .digest-delivery-notice.is-sent {
  border-color: var(--digest-border); background: transparent; color: var(--digest-muted);
}
.digest-theme-atelier .digest-delivery-notice.is-failed {
  border: 0; border-radius: 1rem; padding: 1.25rem 1.4rem;
  background: var(--digest-peach); color: var(--digest-ink);
}
.digest-theme-atelier .digest-introduction {
  width: min(68rem, 100%); margin-inline: auto; border: 0; border-radius: 1rem;
  padding: clamp(1.6rem, 4vw, 2.75rem); background: var(--digest-surface);
  color: var(--digest-ink); box-shadow: 0 1rem 2.5rem rgba(59, 32, 59, .09);
}
.digest-theme-atelier .digest-introduction h2 {
  margin: 0 0 1rem; font-family: "HRM Serif", serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.05;
}
.digest-theme-atelier .digest-introduction p {
  max-width: 70ch; margin-block: .75rem; font-size: 1.05rem; line-height: 1.7;
}
.digest-theme-atelier .digest-introduction p:last-child { margin-bottom: 0; }
.digest-theme-atelier .digest-group {
  width: min(68rem, 100%); margin: clamp(1rem, 3vw, 2rem) auto 0;
}
.digest-theme-atelier .digest-group > h2 {
  margin: 0; padding-bottom: 1rem; border-bottom: 1px solid var(--digest-action);
  font-family: "HRM Serif", serif; font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -.025em;
}
.digest-theme-atelier .digest-event-list { display: grid; gap: 0; }
.digest-theme-atelier .digest-event {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 2.5rem;
  min-width: 0; border: 0; border-bottom: 1px solid var(--digest-border);
  border-radius: 0; padding: clamp(1.75rem, 4vw, 2.75rem) 0;
  background: transparent; color: var(--digest-ink); box-shadow: none;
}
.digest-theme-atelier .digest-event-meta {
  grid-column: 1 / -1; color: var(--digest-muted); font-weight: 600;
}
.digest-theme-atelier .digest-priority {
  min-height: 1.8rem; border-radius: .55rem; padding: .25rem .6rem;
  background: var(--digest-lavender); color: var(--digest-ink); font-size: .78rem;
  font-weight: 600; letter-spacing: .02em;
}
.digest-theme-atelier .digest-priority.is-time-sensitive {
  background: var(--digest-peach); color: var(--digest-ink);
}
.digest-theme-atelier .digest-event h3 {
  grid-column: 1; max-width: 28ch; margin: .8rem 0 .15rem; color: var(--digest-ink);
  font-family: "HRM Serif", serif; font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700; line-height: 1.18; letter-spacing: -.015em;
}
.digest-theme-atelier .digest-event > p { grid-column: 1; max-width: 70ch; margin-block: .35rem; }
.digest-theme-atelier .digest-source-title {
  color: var(--digest-action); font-size: .98rem; font-weight: 600; line-height: 1.55;
}
.digest-theme-atelier .digest-event .digest-event-action {
  grid-column: 2; grid-row: 3 / span 3; align-self: end; margin: 0;
}
.digest-theme-atelier .digest-event-action .button {
  border: 1px solid var(--digest-action); border-radius: .55rem;
  background: transparent; color: var(--digest-action); font-weight: 700; white-space: nowrap;
}
.digest-theme-atelier .digest-event-action .button:hover {
  border-color: var(--digest-action-hover); background: var(--digest-action-hover); color: #fffafd;
}
.digest-theme-atelier .digest-method {
  width: min(68rem, 100%); margin-inline: auto; border: 0;
  border-top: 1px solid var(--digest-border); border-bottom: 1px solid var(--digest-border);
  border-radius: 0; padding: .5rem 0; background: transparent; box-shadow: none;
}
.digest-theme-atelier .digest-method > summary {
  justify-content: space-between; gap: 1.5rem; min-height: 3.5rem;
  border-radius: .55rem; padding: .9rem .75rem; color: var(--digest-action);
  font-family: "HRM Serif", serif; font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 700; cursor: pointer; list-style: none;
  transition: background-color .2s cubic-bezier(.22, 1, .36, 1), color .2s cubic-bezier(.22, 1, .36, 1);
}
.digest-theme-atelier .digest-method > summary::-webkit-details-marker { display: none; }
.digest-theme-atelier .digest-method > summary::after {
  width: .65rem; height: .65rem; flex: 0 0 auto; margin: 0 .2rem 0 0;
  border-right: .14rem solid currentcolor; border-bottom: .14rem solid currentcolor;
  content: ""; transform: rotate(45deg);
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.digest-theme-atelier .digest-method > summary:hover,
.digest-theme-atelier .digest-method[open] > summary {
  background: var(--digest-lavender); color: var(--digest-action-hover);
}
.digest-theme-atelier .digest-method[open] > summary::after {
  transform: rotate(225deg);
}
.digest-theme-atelier .digest-method .prose {
  max-width: 70ch; padding: 1rem 0 .5rem; color: var(--digest-muted); line-height: 1.7;
}
.digest-theme-atelier .empty-state {
  width: min(68rem, 100%); margin-inline: auto; border: 0; border-radius: 1rem;
  background: var(--digest-surface); color: var(--digest-ink);
  box-shadow: 0 1rem 2.5rem rgba(59, 32, 59, .09);
}
.digest-theme-atelier .empty-state h2 { font-family: "HRM Serif", serif; }
.digest-theme-atelier .digest-maintenance-note {
  width: min(68rem, 100%); margin-inline: auto; border: 0; border-radius: 1rem;
  padding: 1rem 1.25rem; background: var(--digest-peach); color: var(--digest-ink);
}

/* Annotated research catalogue: Zorgatelier translated into a scan-first archive. */
.library-theme-atelier {
  --library-canvas: #eee8f4;
  --library-surface: #fffafd;
  --library-ink: #3b203b;
  --library-muted: #5b445d;
  --library-action: #793c5b;
  --library-action-hover: #572740;
  --library-header: #4c2448;
  --library-header-hover: #6e3b68;
  --library-border: #cfbed5;
  --library-reading: #ddd0e7;
  --library-field: #d8c9e5;
  --library-coral: #f2b49e;
  --library-peach: #f1c9bc;
  min-height: 100vh; background: var(--library-canvas); color: var(--library-ink);
  font-family: "HRM Sans", ui-sans-serif, sans-serif;
}
.library-theme-atelier a { color: var(--library-action); }
.library-theme-atelier a:focus-visible,
.library-theme-atelier button:focus-visible,
.library-theme-atelier input:focus-visible,
.library-theme-atelier summary:focus-visible { outline-color: #d45d37; }
.library-theme-atelier .skip-link { background: var(--library-surface); color: var(--library-ink); }
.library-theme-atelier .site-header {
  position: sticky; top: 0; z-index: 30; display: grid;
  grid-template-columns: minmax(7rem, 1fr) auto minmax(7rem, 1fr);
  min-height: 5.25rem; border: 0; background: var(--library-header); color: var(--library-surface);
}
.library-theme-atelier .brand {
  min-width: auto; justify-self: start; justify-content: flex-start; border: 0;
  font-family: "HRM Serif", serif; font-size: 1.45rem; letter-spacing: 0;
}
.library-theme-atelier .site-header > .brand,
.library-theme-atelier .account-nav-primary > a { color: var(--library-surface); }
.library-theme-atelier .account-nav { display: contents; }
.library-theme-atelier .account-nav-primary {
  grid-column: 2; justify-content: center; gap: .25rem;
}
.library-theme-atelier .account-nav-session { grid-column: 3; justify-self: end; }
.library-theme-atelier .account-nav-primary > a,
.library-theme-atelier .nav-dropdown > summary,
.library-theme-atelier .link-button {
  border-radius: .55rem; padding-inline: .65rem; font-size: .9rem; font-weight: 650;
}
.library-theme-atelier .account-nav-primary > a:hover,
.library-theme-atelier .account-nav-primary > a:focus-visible,
.library-theme-atelier .account-nav-primary > a[aria-current="page"],
.library-theme-atelier .nav-dropdown > summary:hover,
.library-theme-atelier .link-button:hover {
  background: var(--library-header-hover); color: var(--library-surface); text-decoration: none;
}
.library-theme-atelier .nav-dropdown-menu {
  border-color: var(--library-border); background: var(--library-surface); color: var(--library-ink);
  box-shadow: 0 .75rem 2rem rgba(59, 32, 59, .14);
}
.library-theme-atelier .site-header .nav-dropdown-menu a { color: var(--library-ink); }
.library-theme-atelier .site-header .nav-dropdown-menu a:hover,
.library-theme-atelier .site-header .nav-dropdown-menu a:focus-visible { background: var(--library-canvas); }
.library-theme-atelier .shell.library-shell {
  width: min(78rem, 100%); padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(3rem, 8vw, 6rem);
}
.library-theme-atelier .library-page {
  display: grid; width: 100%; min-width: 0; gap: clamp(1.75rem, 4vw, 3rem);
}
.library-theme-atelier .library-page > * { min-width: 0; }
.library-theme-atelier .library-header {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(13rem, .32fr);
  gap: 2rem; align-items: end; padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(1.75rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--library-action);
}
.library-theme-atelier .library-header h1 {
  max-width: 14ch; margin: 0; color: var(--library-ink); font-family: "HRM Serif", serif;
  font-size: clamp(3.5rem, 6.5vw, 5rem); font-weight: 700; line-height: .96;
  letter-spacing: -.035em; text-wrap: balance;
}
.library-theme-atelier .library-heading-copy > p {
  max-width: 62ch; margin: 1.2rem 0 0; color: var(--library-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.65;
}
.library-theme-atelier .library-source-note {
  margin: 0; padding-top: 1rem; border-top: 1px solid var(--library-coral);
  color: var(--library-action); font-size: .95rem; font-weight: 600; line-height: 1.5;
}
.library-theme-atelier .library-tools {
  position: relative; width: min(70rem, 100%); margin-inline: auto; border: 0; border-radius: 0;
  padding: 0; background: transparent; color: var(--library-ink); box-shadow: none;
}
.library-theme-atelier .library-tools-heading {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
}
.library-theme-atelier .library-tools-heading h2 {
  margin: 0; font-family: "HRM Sans", ui-sans-serif, sans-serif;
  font-size: 1rem; font-weight: 700; line-height: 1.4; letter-spacing: 0;
}
.library-theme-atelier .result-count {
  margin: .2rem 0 0; color: var(--library-muted); font-size: .95rem; font-weight: 600; line-height: 1.5;
}
.library-theme-atelier .library-submission {
  position: relative; width: 100%; margin: 0; border: 0; border-radius: 0;
  padding: 0; background: transparent; box-shadow: none;
}
.library-theme-atelier .library-submission > summary {
  position: absolute; top: -3rem; right: 0; display: flex; align-items: center; gap: .45rem;
  min-height: 2.75rem; border: 1px solid var(--library-action); border-radius: .55rem;
  padding: .55rem .75rem; background: var(--library-canvas); color: var(--library-action);
  font-family: "HRM Sans", ui-sans-serif, sans-serif; font-size: .9rem; font-weight: 700;
  line-height: 1.3; white-space: nowrap; cursor: pointer; list-style: none;
}
.library-theme-atelier .library-submission > summary::-webkit-details-marker { display: none; }
.library-theme-atelier .library-submission-icon {
  width: 1rem; height: 1rem; flex: 0 0 auto; fill: none; stroke: currentcolor;
  stroke-linecap: round; stroke-width: 1.75; transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.library-theme-atelier .library-submission > summary:hover {
  background: var(--library-field); color: var(--library-action-hover);
}
.library-theme-atelier .library-submission[open] > summary {
  border-color: var(--library-action); background: var(--library-action); color: var(--library-surface);
}
.library-theme-atelier .library-submission[open] .library-submission-icon { transform: rotate(45deg); }
.library-theme-atelier .library-submission[open] { padding-top: 1rem; }
.library-theme-atelier .library-submission-content {
  max-width: none; padding: 1.1rem 1.25rem 1.25rem; background: var(--library-reading);
  color: var(--library-muted);
}
.library-theme-atelier .library-submission-content > p {
  max-width: 68ch; margin: 0 0 1rem; line-height: 1.65;
}
.library-theme-atelier .library-submission .inline-form {
  grid-template-columns: minmax(15rem, 1fr) auto;
}
.library-theme-atelier .library-submission .inline-form label { font-weight: 600; }
.library-theme-atelier .library-submission input {
  border-color: var(--library-border); background: var(--library-surface); color: var(--library-ink);
}
.library-theme-atelier .library-submission button[type="submit"] {
  background: var(--library-action); color: var(--library-surface); font-weight: 700;
}
.library-theme-atelier .library-submission button[type="submit"]:hover {
  background: var(--library-action-hover);
}
.library-theme-atelier .library-list {
  display: grid; width: min(70rem, 100%); margin-inline: auto; gap: 0;
}
.library-theme-atelier .publication-card {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(18rem, .72fr);
  gap: .45rem clamp(2rem, 5vw, 4rem); min-width: 0; border: 0;
  border-bottom: 1px solid var(--library-border); border-radius: 0;
  padding: clamp(1.75rem, 3vw, 2.25rem) 0; background: transparent; box-shadow: none;
}
.library-theme-atelier .publication-card:first-child { border-top: 1px solid var(--library-action); }
.library-theme-atelier .publication-card .card-meta {
  grid-column: 1 / -1; gap: .45rem .6rem; margin-bottom: .55rem;
  color: var(--library-muted); font-size: .85rem; font-weight: 600; line-height: 1.5;
}
.library-theme-atelier .publication-card .status {
  padding: .25rem .55rem; font-size: .78rem; font-weight: 600;
}
.library-theme-atelier .publication-card .status.good {
  background: var(--library-reading); color: var(--library-ink);
}
.library-theme-atelier .publication-card .status.pending {
  background: var(--library-peach); color: var(--library-ink);
}
.library-theme-atelier .publication-card .status.error {
  background: var(--library-coral); color: var(--library-ink);
}
.library-theme-atelier .publication-card .status.muted {
  background: var(--library-border); color: var(--library-ink);
}
.library-theme-atelier .publication-card h2 {
  grid-column: 1; max-width: 30ch; margin: 0 0 .35rem; color: var(--library-ink);
  font-family: "HRM Serif", serif; font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700; line-height: 1.18; letter-spacing: -.015em; overflow-wrap: anywhere;
}
.library-theme-atelier .publication-card h2 a {
  color: inherit; text-decoration-color: transparent; text-decoration-thickness: .08em;
  text-underline-offset: .15em;
}
.library-theme-atelier .publication-card h2 a:hover,
.library-theme-atelier .publication-card h2 a:focus-visible {
  color: var(--library-action); text-decoration-color: currentcolor;
}
.library-theme-atelier .publication-source {
  grid-column: 1; max-width: 62ch; margin: 0; color: var(--library-muted);
  font-weight: 600; line-height: 1.6;
}
.library-theme-atelier .library-explanation-preview,
.library-theme-atelier .library-explanation-pending {
  grid-column: 2; grid-row: 2 / span 4; align-self: start; margin: 0; border: 0;
  border-top: 1px solid var(--library-border); border-radius: 0; padding: 1.1rem 1.2rem;
  background: var(--library-reading); color: var(--library-ink);
}
.library-theme-atelier .library-explanation-preview h3 {
  margin: 0 0 .45rem; font-family: "HRM Serif", serif; font-size: 1.05rem; font-weight: 700;
}
.library-theme-atelier .library-explanation-preview p,
.library-theme-atelier .library-explanation-pending p {
  margin: .3rem 0 0; line-height: 1.65;
}
.library-theme-atelier .library-explanation-pending {
  background: var(--library-peach);
}
.library-theme-atelier .library-explanation-pending.is-failed {
  background: var(--library-coral);
}
.library-theme-atelier .publication-card .scientific-title {
  grid-column: 1; margin: 1rem 0 0; border-top: 1px solid var(--library-border); padding-top: .4rem;
}
.library-theme-atelier .publication-card .scientific-title > summary {
  display: inline-flex; align-items: center; gap: .65rem; min-height: 2.75rem;
  color: var(--library-action); font-size: .9rem; font-weight: 700; cursor: pointer; list-style: none;
}
.library-theme-atelier .publication-card .scientific-title > summary::-webkit-details-marker { display: none; }
.library-theme-atelier .publication-card .scientific-title > summary::after {
  width: .5rem; height: .5rem; flex: 0 0 auto; margin-top: -.15rem;
  border-right: .12rem solid currentcolor; border-bottom: .12rem solid currentcolor;
  content: ""; transform: rotate(45deg);
}
.library-theme-atelier .publication-card .scientific-title[open] > summary::after {
  margin-top: .2rem; transform: rotate(225deg);
}
.library-theme-atelier .publication-card .scientific-title p {
  max-width: 68ch; margin: .35rem 0 .5rem; color: var(--library-muted); line-height: 1.65;
}
.library-theme-atelier .publication-card > .small {
  grid-column: 1; margin: .85rem 0 0; color: var(--library-muted); font-size: .85rem;
  font-weight: 600;
}
.library-theme-atelier .publication-card.is-dismissed { opacity: 1; }
.library-theme-atelier .publication-card.is-dismissed h2 { color: var(--library-muted); }
.library-theme-atelier .library-list .empty-state {
  border: 0; border-radius: 1rem; padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--library-surface); color: var(--library-ink);
  box-shadow: 0 1rem 2.5rem rgba(59, 32, 59, .09);
}
.library-theme-atelier .library-list .empty-state h2 {
  font-family: "HRM Serif", serif; font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.library-theme-atelier .pagination { margin-top: 0; color: var(--library-muted); }
.library-theme-atelier .pagination .button {
  border-color: var(--library-action); background: var(--library-action); color: var(--library-surface);
  font-weight: 700;
}
.library-theme-atelier .pagination .button:hover {
  border-color: var(--library-action-hover); background: var(--library-action-hover);
}
.library-theme-atelier .pagination .secondary-link {
  border: 1px solid var(--library-border); background: transparent; color: var(--library-action);
  font-weight: 700;
}
.library-theme-atelier .pagination .secondary-link:hover {
  border-color: var(--library-action); background: var(--library-surface); color: var(--library-action-hover);
}

@media (prefers-reduced-motion: reduce) {
  .home-theme-archive { transition: none; }
  .digest-theme-atelier .digest-method > summary,
  .digest-theme-atelier .digest-method > summary::after { transition: none; }
  .library-theme-atelier .library-submission-icon { transition: none; }
}
@media (max-width: 78rem) and (min-width: 48.01rem) {
  .home-theme-archive .site-header { align-items: flex-start; flex-direction: column; }
  .home-theme-archive .account-nav { width: 100%; flex-wrap: wrap; }
  html[data-home-theme="atelier"] .home-theme-archive .site-header {
    display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem;
  }
  html[data-home-theme="atelier"] .home-theme-archive .account-nav-primary {
    grid-column: 1 / -1; grid-row: 2; justify-self: center; flex-wrap: wrap; justify-content: center;
  }
  html[data-home-theme="atelier"] .home-theme-archive .account-nav-session {
    grid-column: 2; grid-row: 1; justify-self: end;
  }
}
@media (max-width: 48rem) {
  .site-header { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .account-nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; column-gap: 1rem; row-gap: 0; }
  .account-nav-primary { width: 100%; flex-wrap: wrap; justify-content: flex-start; column-gap: 1rem; row-gap: 0; }
  .nav-dropdown[open], .nav-dropdown[open] > summary { width: 100%; }
  .nav-dropdown-menu {
    position: static; width: 100%; margin: .25rem 0 .5rem; box-shadow: none;
  }
  .page-heading { display: block; }
  .inline-form, .detail-layout { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
  .review-progress, .candidate-grid, .rating-grid { grid-template-columns: 1fr; }
  .review-case-card { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .review-case-number { width: 2.5rem; height: 2.5rem; }
  .preference-fieldset ul { grid-template-columns: 1fr; }
  .form-actions, .form-actions button, .form-actions .secondary-button { width: 100%; }
  .coverage-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coverage-explanation { grid-template-columns: 1fr; }
  .compact-filter { grid-template-columns: 1fr; }
  .report-prose { font-size: 1.05rem; line-height: 1.72; }
  .filter-row, .detail-grid { grid-template-columns: 1fr; }
  .patient-term-help dl > div { grid-template-columns: 1fr; gap: .35rem; }
  .source-status-grid { grid-template-columns: 1fr; }
  .medicine-status-glossary dl > div { grid-template-columns: 1fr; gap: .5rem; }
  .publication-provenance dd { text-align: left; }
  .publication-actions, .publication-actions form, .publication-actions button { width: 100%; }
  .button-link { width: 100%; margin-top: 1rem; }
  .medicine-dialog {
    width: calc(100% - 1rem); max-height: calc(100dvh - .5rem);
    margin: auto auto .25rem; border-radius: 1rem 1rem .55rem .55rem;
  }
  .medicine-dialog-actions { display: grid; }
  .medicine-dialog-actions .button-link { margin-top: 0; }
  .digest-event-action .button { width: 100%; justify-content: center; }
  .operations-source-grid, .operations-metric-grid, .operations-ai-flow,
  .operations-lane-grid, .dashboard-grid { grid-template-columns: 1fr; }
  .operations-facts div { display: grid; gap: .25rem; }
  .operations-facts dd { max-width: none; text-align: left; }
  .home-page { gap: 2.75rem; }
  .home-hero { padding-top: 2.5rem; }
  .home-overview-grid { grid-template-columns: 1fr; }
  .home-system-card { grid-column: auto; }
  .home-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-destination-list { grid-template-columns: 1fr; }
  .home-destination-list > a { min-height: auto; gap: 1rem; }
  .home-destination-list > a + a { border-top: 1px solid #d8e5e1; border-left: 0; }
  .home-theme-archive .site-header { min-height: 0; }
  .home-theme-archive .site-header {
    flex-direction: row; align-items: center; gap: .5rem; padding: .35rem .75rem;
  }
  .home-theme-archive .brand { min-height: 2.5rem; }
  .home-theme-archive .account-nav {
    width: auto; min-width: 0; flex: 1; flex-wrap: nowrap; gap: .1rem;
    overflow-x: auto; scrollbar-width: thin;
  }
  .home-theme-archive .account-nav-primary {
    min-width: 0; flex: 1; flex-wrap: nowrap; gap: .1rem; overflow-x: auto;
  }
  .home-theme-archive .account-nav-primary > a,
  .home-theme-archive .nav-dropdown > summary,
  .home-theme-archive .link-button { flex: none; padding-inline: .5rem; font-size: .78rem; }
  .home-theme-archive .nav-dropdown-menu {
    position: fixed; inset: 3.3rem .75rem auto; width: auto; max-height: calc(100dvh - 4rem);
    overflow-y: auto;
  }
  .home-theme-archive .home-page { gap: 2rem; }
  .home-direction-picker,
  html[data-home-theme="register"] .home-direction-picker { grid-template-columns: 1fr; gap: .85rem; }
  .home-direction-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-direction-options button {
    grid-template-columns: .75rem minmax(0, 1fr); gap: .35rem; min-height: 3rem;
    padding: .4rem;
  }
  .home-direction-options small { display: none; }
  .home-direction-options strong { font-size: .68rem; overflow-wrap: anywhere; }
  .direction-swatch { width: .75rem; height: 1.5rem; }
  .home-theme-archive .home-hero,
  html[data-home-theme="register"] .home-theme-archive .home-hero,
  html[data-home-theme="atelier"] .home-theme-archive .home-hero {
    grid-template-columns: 1fr; gap: .75rem; align-items: start; padding-top: 1rem;
  }
  .home-theme-archive .home-hero h1,
  html[data-home-theme="register"] .home-theme-archive .home-hero h1,
  html[data-home-theme="atelier"] .home-theme-archive .home-hero h1 {
    grid-row: auto; max-width: 10ch; font-size: clamp(2.75rem, 15vw, 4.5rem);
  }
  .home-theme-archive .home-section-heading,
  html[data-home-theme="atelier"] .home-theme-archive .home-section-heading {
    grid-template-columns: 1fr; gap: .5rem;
  }
  .home-theme-archive .home-overview-grid,
  html[data-home-theme="register"] .home-theme-archive .home-overview-grid,
  html[data-home-theme="atelier"] .home-theme-archive .home-overview-grid { grid-template-columns: 1fr; gap: 1rem; }
  .home-theme-archive .home-overview-grid .home-digest-card,
  .home-theme-archive .home-overview-grid .home-profile-card,
  .home-theme-archive .home-overview-grid .home-system-card,
  html[data-home-theme="register"] .home-theme-archive .home-overview-grid .home-digest-card,
  html[data-home-theme="register"] .home-theme-archive .home-overview-grid .home-profile-card,
  html[data-home-theme="atelier"] .home-theme-archive .home-overview-grid .home-digest-card,
  html[data-home-theme="atelier"] .home-theme-archive .home-overview-grid .home-profile-card,
  html[data-home-theme="atelier"] .home-theme-archive .home-overview-grid .home-system-card { grid-column: auto; }
  .home-theme-archive .home-status-grid,
  html[data-home-theme="register"] .home-theme-archive .home-status-grid,
  html[data-home-theme="atelier"] .home-theme-archive .home-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-theme-archive .home-destination-list > a,
  html[data-home-theme="register"] .home-theme-archive .home-destination-list > a,
  html[data-home-theme="atelier"] .home-theme-archive .home-destination-list > a {
    grid-template-columns: 1fr; min-height: auto; gap: 1rem;
  }
  .home-theme-archive .home-destination-list > a + a {
    border-top: 1px solid var(--home-border); border-left: 1px solid var(--home-border);
  }
  html[data-home-theme="register"] .home-theme-archive .home-section { grid-template-columns: 1fr; }
  html[data-home-theme="register"] .home-theme-archive .home-section-heading { max-width: 32rem; }
  html[data-home-theme="register"] .home-theme-archive .home-overview-grid { gap: 0; }
  html[data-home-theme="register"] .home-theme-archive .home-profile-card,
  html[data-home-theme="register"] .home-theme-archive .home-system-card { border-top: 0; }
  html[data-home-theme="register"] .home-theme-archive .home-destination-list > a + a {
    border-top: 0; border-left: 1px solid #f8f7f0;
  }
  html[data-home-theme="atelier"] .home-theme-archive .home-hero {
    gap: 1.5rem; padding: 3rem 0;
  }
  html[data-home-theme="atelier"] .home-theme-archive .home-hero h1 {
    max-width: 8ch; font-size: clamp(3.25rem, 15vw, 4.5rem);
  }
  html[data-home-theme="atelier"] .home-promise {
    margin-top: .25rem; padding-top: 1rem; font-size: clamp(1.35rem, 7vw, 1.8rem);
  }
  html[data-home-theme="atelier"] .home-theme-archive .home-hero .lead {
    margin-top: -.75rem;
  }
  html[data-home-theme="atelier"] .home-theme-archive .site-header {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  }
  html[data-home-theme="atelier"] .home-theme-archive .account-nav-primary {
    grid-column: 2; grid-row: 1; justify-content: start;
  }
  html[data-home-theme="atelier"] .home-theme-archive .account-nav-session {
    grid-column: 3; grid-row: 1;
  }
  html[data-home-theme="atelier"] .home-theme-archive .home-section-heading {
    grid-template-columns: 1fr; gap: .35rem; padding: 0 0 .75rem;
  }
  html[data-home-theme="atelier"] .home-theme-archive .home-destination-list > a:nth-child(2),
  html[data-home-theme="atelier"] .home-theme-archive .home-destination-list > a:nth-child(3) { margin-inline: 0; }
  html[data-home-theme="atelier"] .home-theme-archive .home-destination-list > a + a { border: 0; }
}
@media (min-width: 64rem) {
  .table-scroll-hint { display: none; }
}
@media (max-width: 28rem) {
  .coverage-summary { grid-template-columns: 1fr; }
  .home-status-grid { grid-template-columns: 1fr; }
  .home-theme-archive .home-status-grid,
  html[data-home-theme="register"] .home-theme-archive .home-status-grid,
  html[data-home-theme="atelier"] .home-theme-archive .home-status-grid { grid-template-columns: 1fr; }
}

@media (max-width: 78rem) and (min-width: 48.01rem) {
  .digest-theme-atelier .site-header {
    grid-template-columns: 1fr auto; gap: .25rem 1rem;
  }
  .digest-theme-atelier .account-nav-primary {
    grid-column: 1 / -1; grid-row: 2; justify-self: center;
    flex-wrap: wrap; justify-content: center;
  }
  .digest-theme-atelier .account-nav-session {
    grid-column: 2; grid-row: 1; justify-self: end;
  }
  .library-theme-atelier .site-header {
    grid-template-columns: 1fr auto; gap: .25rem 1rem;
  }
  .library-theme-atelier .account-nav-primary {
    grid-column: 1 / -1; grid-row: 2; justify-self: center;
    flex-wrap: wrap; justify-content: center;
  }
  .library-theme-atelier .account-nav-session {
    grid-column: 2; grid-row: 1; justify-self: end;
  }
}

@media (max-width: 48rem) {
  .digest-theme-atelier .site-header {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center; gap: .5rem; min-height: 0; padding: .35rem .75rem;
  }
  .digest-theme-atelier .brand {
    min-height: 2.5rem; font-size: 1.2rem;
  }
  .digest-theme-atelier .account-nav-primary {
    grid-column: 2; grid-row: 1; min-width: 0; flex: 1; flex-wrap: nowrap;
    justify-content: start; gap: .1rem; overflow-x: auto; scrollbar-width: thin;
  }
  .digest-theme-atelier .account-nav-session {
    grid-column: 3; grid-row: 1; justify-self: end;
  }
  .digest-theme-atelier .account-nav-primary > a,
  .digest-theme-atelier .nav-dropdown > summary,
  .digest-theme-atelier .link-button {
    flex: none; padding-inline: .5rem; font-size: .78rem;
  }
  .digest-theme-atelier .nav-dropdown-menu {
    position: fixed; inset: 3.3rem .75rem auto; width: auto;
    max-height: calc(100dvh - 4rem); overflow-y: auto;
  }
  .digest-theme-atelier .shell.report-shell {
    padding-inline: 1rem; padding-bottom: 3.5rem;
  }
  .digest-theme-atelier .digest-page { gap: 2.5rem; }
  .digest-theme-atelier .digest-header {
    grid-template-columns: 1fr; gap: 1.75rem; align-items: start;
    padding: 2.75rem 0 1.75rem;
  }
  .digest-theme-atelier .digest-header h1 {
    font-size: clamp(2.3rem, 11.5vw, 3.25rem);
  }
  .digest-theme-atelier .digest-state { max-width: 22rem; }
  .digest-theme-atelier .digest-utilities { display: grid; gap: 1.25rem; }
  .digest-theme-atelier .digest-delivery-notice { margin-left: 0; }
  .digest-theme-atelier .digest-introduction { padding: 1.5rem; }
  .digest-theme-atelier .digest-introduction p { font-size: 1rem; }
  .digest-theme-atelier .digest-group { margin-top: .5rem; }
  .digest-theme-atelier .digest-event {
    grid-template-columns: 1fr; gap: .5rem; padding-block: 1.75rem;
  }
  .digest-theme-atelier .digest-event-meta,
  .digest-theme-atelier .digest-event h3,
  .digest-theme-atelier .digest-event > p,
  .digest-theme-atelier .digest-event .digest-event-action {
    grid-column: 1; grid-row: auto;
  }
  .digest-theme-atelier .digest-event .digest-event-action { margin-top: .75rem; }
  .digest-theme-atelier .digest-event-action .button {
    width: auto; max-width: 100%; white-space: normal;
  }
  .library-theme-atelier .site-header {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center; gap: .5rem; min-height: 0; padding: .35rem .75rem;
  }
  .library-theme-atelier .brand { min-height: 2.5rem; font-size: 1.2rem; }
  .library-theme-atelier .account-nav-primary {
    grid-column: 2; grid-row: 1; min-width: 0; flex: 1; flex-wrap: nowrap;
    justify-content: start; gap: .1rem; overflow-x: auto; scrollbar-width: thin;
  }
  .library-theme-atelier .account-nav-session {
    grid-column: 3; grid-row: 1; justify-self: end;
  }
  .library-theme-atelier .account-nav-primary > a,
  .library-theme-atelier .nav-dropdown > summary,
  .library-theme-atelier .link-button {
    flex: none; padding-inline: .5rem; font-size: .78rem;
  }
  .library-theme-atelier .nav-dropdown-menu {
    position: fixed; inset: 3.3rem .75rem auto; width: auto;
    max-height: calc(100dvh - 4rem); overflow-y: auto;
  }
  .library-theme-atelier .shell.library-shell {
    padding-inline: 1rem; padding-bottom: 3.5rem;
  }
  .library-theme-atelier .library-page { gap: 2rem; }
  .library-theme-atelier .library-header {
    grid-template-columns: 1fr; gap: 1.75rem; align-items: start;
    padding: 2.75rem 0 1.75rem;
  }
  .library-theme-atelier .library-header h1 {
    max-width: 11ch; font-size: clamp(2.3rem, 11.5vw, 3.25rem);
  }
  .library-theme-atelier .library-source-note { max-width: 22rem; }
  .library-theme-atelier .library-tools { padding: 0; }
  .library-theme-atelier .library-tools-heading { display: grid; gap: .5rem; }
  .library-theme-atelier .library-submission > summary {
    position: static; width: fit-content; margin: .75rem 0 0 auto;
  }
  .library-theme-atelier .library-submission[open] { padding-top: 0; }
  .library-theme-atelier .library-submission-content { margin-top: .75rem; padding: 1rem; }
  .library-theme-atelier .library-submission .inline-form { grid-template-columns: 1fr; }
  .library-theme-atelier .publication-card {
    grid-template-columns: minmax(0, 1fr); gap: .5rem; padding: 1.5rem 0;
  }
  .library-theme-atelier .publication-card .card-meta,
  .library-theme-atelier .publication-card h2,
  .library-theme-atelier .publication-source,
  .library-theme-atelier .library-explanation-preview,
  .library-theme-atelier .library-explanation-pending,
  .library-theme-atelier .publication-card .scientific-title,
  .library-theme-atelier .publication-card > .small {
    grid-column: 1; grid-row: auto;
  }
  .library-theme-atelier .library-explanation-preview,
  .library-theme-atelier .library-explanation-pending { margin-top: 1rem; }
  .library-theme-atelier .publication-card h2 { max-width: none; }
}

/* Clinical study atlas: Zorgatelier reworked for status and location comparison. */
.trials-theme-atelier {
  --trials-canvas: #eee8f4;
  --trials-surface: #fffafd;
  --trials-ink: #3b203b;
  --trials-muted: #5b445d;
  --trials-action: #793c5b;
  --trials-action-hover: #572740;
  --trials-header: #4c2448;
  --trials-header-hover: #6e3b68;
  --trials-border: #cfbed5;
  --trials-reading: #ddd0e7;
  --trials-field: #d8c9e5;
  --trials-coral: #f2b49e;
  --trials-peach: #f1c9bc;
  min-height: 100vh; background: var(--trials-canvas); color: var(--trials-ink);
  font-family: "HRM Sans", ui-sans-serif, sans-serif;
}
.trials-theme-atelier a { color: var(--trials-action); }
.trials-theme-atelier a:focus-visible,
.trials-theme-atelier button:focus-visible,
.trials-theme-atelier input:focus-visible,
.trials-theme-atelier summary:focus-visible { outline-color: #d45d37; }
.trials-theme-atelier .skip-link { background: var(--trials-surface); color: var(--trials-ink); }
.trials-theme-atelier .site-header {
  position: sticky; top: 0; z-index: 30; display: grid;
  grid-template-columns: minmax(7rem, 1fr) auto minmax(7rem, 1fr);
  min-height: 5.25rem; border: 0; background: var(--trials-header); color: var(--trials-surface);
}
.trials-theme-atelier .brand {
  min-width: auto; justify-self: start; justify-content: flex-start; border: 0;
  font-family: "HRM Serif", serif; font-size: 1.45rem; letter-spacing: 0;
}
.trials-theme-atelier .site-header > .brand,
.trials-theme-atelier .account-nav-primary > a { color: var(--trials-surface); }
.trials-theme-atelier .account-nav { display: contents; }
.trials-theme-atelier .account-nav-primary {
  grid-column: 2; justify-content: center; gap: .25rem;
}
.trials-theme-atelier .account-nav-session { grid-column: 3; justify-self: end; }
.trials-theme-atelier .account-nav-primary > a,
.trials-theme-atelier .nav-dropdown > summary,
.trials-theme-atelier .link-button {
  border-radius: .55rem; padding-inline: .65rem; font-size: .9rem; font-weight: 650;
}
.trials-theme-atelier .account-nav-primary > a:hover,
.trials-theme-atelier .account-nav-primary > a:focus-visible,
.trials-theme-atelier .account-nav-primary > a[aria-current="page"],
.trials-theme-atelier .nav-dropdown > summary:hover,
.trials-theme-atelier .link-button:hover {
  background: var(--trials-header-hover); color: var(--trials-surface); text-decoration: none;
}
.trials-theme-atelier .nav-dropdown-menu {
  border-color: var(--trials-border); background: var(--trials-surface); color: var(--trials-ink);
  box-shadow: 0 .75rem 2rem rgba(59, 32, 59, .14);
}
.trials-theme-atelier .site-header .nav-dropdown-menu a { color: var(--trials-ink); }
.trials-theme-atelier .site-header .nav-dropdown-menu a:hover,
.trials-theme-atelier .site-header .nav-dropdown-menu a:focus-visible { background: var(--trials-canvas); }
.trials-theme-atelier .shell.trials-shell {
  width: min(82rem, 100%); padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(3rem, 8vw, 6rem);
}
.trials-theme-atelier .trials-page {
  display: grid; width: 100%; min-width: 0; gap: clamp(1.75rem, 4vw, 3rem);
}
.trials-theme-atelier .trials-page > * { min-width: 0; }
.trials-theme-atelier .trials-header {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, .34fr);
  gap: 2rem; align-items: end; padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(1.75rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--trials-action);
}
.trials-theme-atelier .trials-header h1 {
  max-width: 11ch; margin: 0; color: var(--trials-ink); font-family: "HRM Serif", serif;
  font-size: clamp(3.5rem, 6.5vw, 5rem); font-weight: 700; line-height: .96;
  letter-spacing: -.035em; text-wrap: balance;
}
.trials-theme-atelier .trials-heading-copy > p {
  max-width: 62ch; margin: 1.2rem 0 0; color: var(--trials-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.65;
}
.trials-theme-atelier .trials-source-note {
  margin: 0; padding-top: 1rem; border-top: 1px solid var(--trials-coral);
  color: var(--trials-action); font-size: .95rem; font-weight: 600; line-height: 1.5;
}
.trials-theme-atelier .trials-tools {
  position: relative; width: min(76rem, 100%); margin-inline: auto;
}
.trials-theme-atelier .trials-tools-heading { padding-right: 0; }
.trials-theme-atelier .trials-tools-heading h2 {
  margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.4;
}
.trials-theme-atelier .trials-result-count {
  margin: .2rem 0 0; color: var(--trials-muted); font-size: .95rem; font-weight: 600; line-height: 1.5;
}
.trials-theme-atelier .trial-submission button[type="submit"] {
  min-height: 2.75rem; background: var(--trials-action); color: var(--trials-surface);
  font-weight: 700;
}
.trials-theme-atelier .trial-submission button[type="submit"]:hover { background: var(--trials-action-hover); }
.trials-theme-atelier .trial-submission { width: 100%; margin: 0; border: 0; padding: 0; }
.trials-theme-atelier .trial-submission > summary {
  position: absolute; top: 0; right: 0; display: flex; align-items: center; gap: .45rem;
  min-height: 2.75rem; border: 1px solid var(--trials-action); border-radius: .55rem;
  padding: .55rem .75rem; background: var(--trials-canvas); color: var(--trials-action);
  font-size: .9rem; font-weight: 700; line-height: 1.3; white-space: nowrap; list-style: none;
}
.trials-theme-atelier .trial-submission > summary::-webkit-details-marker { display: none; }
.trials-theme-atelier .trial-submission-icon {
  width: 1rem; height: 1rem; flex: 0 0 auto; fill: none; stroke: currentcolor;
  stroke-linecap: round; stroke-width: 1.75; transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.trials-theme-atelier .trial-submission > summary:hover {
  background: var(--trials-field); color: var(--trials-action-hover);
}
.trials-theme-atelier .trial-submission[open] > summary {
  border-color: var(--trials-action); background: var(--trials-action); color: var(--trials-surface);
}
.trials-theme-atelier .trial-submission[open] .trial-submission-icon { transform: rotate(45deg); }
.trials-theme-atelier .trial-submission-content {
  margin-top: 1rem; padding: 1.1rem 1.25rem 1.25rem; background: var(--trials-peach);
  color: var(--trials-muted);
}
.trials-theme-atelier .trial-submission-content > p {
  max-width: 68ch; margin: 0 0 1rem; line-height: 1.65;
}
.trials-theme-atelier .trial-submission .inline-form {
  grid-template-columns: minmax(15rem, 1fr) auto;
}
.trials-theme-atelier .trial-submission .inline-form label { font-weight: 600; }
.trials-theme-atelier .trial-submission input {
  border-color: var(--trials-border); background: var(--trials-surface); color: var(--trials-ink);
}
.trials-theme-atelier .trial-atlas {
  display: grid; width: min(76rem, 100%); margin-inline: auto; gap: 0;
}
.trials-theme-atelier .trial-record {
  display: grid; grid-template-columns: minmax(10.5rem, .34fr) minmax(0, 1.66fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); min-width: 0; border-bottom: 1px solid var(--trials-border);
  padding: clamp(1.75rem, 3vw, 2.25rem) 0;
}
.trials-theme-atelier .trial-record:first-child { border-top: 1px solid var(--trials-action); }
.trials-theme-atelier .trial-record-rail {
  display: flex; flex-direction: column; align-items: flex-start; gap: .55rem;
  min-width: 0; color: var(--trials-muted);
}
.trials-theme-atelier .trial-record .status {
  max-width: 100%; border-radius: .4rem; font-size: .78rem; line-height: 1.35;
  font-weight: 600; overflow-wrap: anywhere;
}
.trials-theme-atelier .trial-record .status.good { background: #d9f3e7; color: #155e49; }
.trials-theme-atelier .trial-record .status.pending { background: var(--trials-peach); color: #65324c; }
.trials-theme-atelier .trial-record .status.muted { background: var(--trials-reading); color: var(--trials-muted); }
.trials-theme-atelier .trial-relevance-status.is-high { background: #d9f3e7; color: #155e49; }
.trials-theme-atelier .trial-relevance-status.is-plausible { background: var(--trials-peach); color: #65324c; }
.trials-theme-atelier .trial-relevance-status.is-unlikely { background: var(--trials-reading); color: var(--trials-muted); }
.trials-theme-atelier .trial-nct {
  margin-top: .25rem; color: var(--trials-action); font-family: "HRM Mono", ui-monospace, monospace;
  font-size: .88rem; font-weight: 600; overflow-wrap: anywhere;
}
.trials-theme-atelier .trial-phase {
  display: grid; gap: .15rem; margin: .15rem 0 0; color: var(--trials-muted);
  font-size: .9rem; font-weight: 600; line-height: 1.45;
}
.trials-theme-atelier .trial-record-body { min-width: 0; }
.trials-theme-atelier .trial-explanation-available {
  display: inline-flex; margin: 0 0 .65rem;
}
.trials-theme-atelier .trial-record-body h2 {
  max-width: 28ch; margin: -.15rem 0 .85rem; font-family: "HRM Serif", serif;
  font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere;
  text-wrap: balance;
}
.trials-theme-atelier .trial-explanation-available + h2 { margin-top: 0; }
.trials-theme-atelier .trial-record-body h2 a { color: var(--trials-ink); text-decoration: none; }
.trials-theme-atelier .trial-record-body h2 a:hover { color: var(--trials-action); text-decoration: underline; }
.trials-theme-atelier .trial-record-source-title {
  max-width: 72ch; margin: -.25rem 0 .8rem; border-top: 1px solid var(--trials-border);
  border-bottom: 1px solid var(--trials-border); padding: .15rem 0;
}
.trials-theme-atelier .trial-record-source-title > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 2.75rem; color: var(--trials-action); font-size: .88rem;
  font-weight: 700; list-style: none; cursor: pointer;
}
.trials-theme-atelier .trial-record-source-title > summary::-webkit-details-marker { display: none; }
.trials-theme-atelier .trial-record-source-title > summary::after {
  width: .55rem; height: .55rem; flex: 0 0 auto; margin-inline: .35rem;
  border-right: .12rem solid currentcolor; border-bottom: .12rem solid currentcolor;
  content: ""; transform: rotate(45deg);
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.trials-theme-atelier .trial-record-source-title[open] > summary::after {
  transform: rotate(225deg);
}
.trials-theme-atelier .trial-record-source-title p {
  margin: .4rem 0 .75rem; color: var(--trials-muted); font-size: .9rem;
  line-height: 1.6; overflow-wrap: anywhere;
}
.trials-theme-atelier .trial-summary {
  max-width: 75ch; margin: .85rem 0 0; color: var(--trials-muted); line-height: 1.7;
}
.trials-theme-atelier .nearby-callout {
  max-width: 70ch; margin: 1rem 0 0; border: 0; border-radius: 0; padding: .8rem 1rem;
  background: var(--trials-coral); color: var(--trials-ink); line-height: 1.55;
}
.trials-theme-atelier .trial-dates {
  margin: 1.1rem 0 0; color: var(--trials-muted); font-size: .82rem; font-weight: 600; line-height: 1.5;
}
.trials-theme-atelier .trial-empty-state {
  padding: 3rem 1.5rem; background: var(--trials-surface); text-align: center;
  box-shadow: 0 1rem 2.5rem rgba(59, 32, 59, .09);
}
.trials-theme-atelier .trial-empty-state h2 { font-family: "HRM Serif", serif; }
.trials-theme-atelier .pagination {
  width: min(76rem, 100%); margin: 0 auto; color: var(--trials-muted);
}
.trials-theme-atelier .pagination .button {
  background: var(--trials-action); color: var(--trials-surface); font-weight: 700;
}
.trials-theme-atelier .pagination .secondary-link {
  border-color: var(--trials-border); background: transparent; color: var(--trials-action);
  font-weight: 700;
}
.trials-theme-atelier .pagination .button:hover { background: var(--trials-action-hover); }
.trials-theme-atelier .pagination .secondary-link:hover {
  border-color: var(--trials-action); background: var(--trials-surface); color: var(--trials-action-hover);
}

@media (prefers-reduced-motion: reduce) {
  .trials-theme-atelier .trial-submission-icon,
  .trials-theme-atelier .trial-record-source-title > summary::after { transition: none; }
}

@media (max-width: 78rem) and (min-width: 48.01rem) {
  .trials-theme-atelier .site-header {
    grid-template-columns: 1fr auto; gap: .25rem 1rem;
  }
  .trials-theme-atelier .account-nav-primary {
    grid-column: 1 / -1; grid-row: 2; justify-self: center;
    flex-wrap: wrap; justify-content: center;
  }
  .trials-theme-atelier .account-nav-session {
    grid-column: 2; grid-row: 1; justify-self: end;
  }
}

@media (max-width: 48rem) {
  .trials-theme-atelier .site-header {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center; gap: .5rem; min-height: 0; padding: .35rem .75rem;
  }
  .trials-theme-atelier .brand { min-height: 2.5rem; font-size: 1.2rem; }
  .trials-theme-atelier .account-nav-primary {
    grid-column: 2; grid-row: 1; min-width: 0; flex: 1; flex-wrap: nowrap;
    justify-content: start; gap: .1rem; overflow-x: auto; scrollbar-width: thin;
  }
  .trials-theme-atelier .account-nav-session {
    grid-column: 3; grid-row: 1; justify-self: end;
  }
  .trials-theme-atelier .account-nav-primary > a,
  .trials-theme-atelier .nav-dropdown > summary,
  .trials-theme-atelier .link-button {
    flex: none; padding-inline: .5rem; font-size: .78rem;
  }
  .trials-theme-atelier .nav-dropdown-menu {
    position: fixed; inset: 3.3rem .75rem auto; width: auto;
    max-height: calc(100dvh - 4rem); overflow-y: auto;
  }
  .trials-theme-atelier .shell.trials-shell { padding-inline: 1rem; padding-bottom: 3.5rem; }
  .trials-theme-atelier .trials-page { gap: 2rem; }
  .trials-theme-atelier .trials-header {
    grid-template-columns: 1fr; gap: 1.75rem; align-items: start; padding: 2.75rem 0 1.75rem;
  }
  .trials-theme-atelier .trials-header h1 {
    max-width: 11ch; font-size: clamp(2.6rem, 13vw, 3.5rem);
  }
  .trials-theme-atelier .trials-source-note { max-width: 22rem; }
  .trials-theme-atelier .trials-tools-heading { padding-right: 0; }
  .trials-theme-atelier .trial-submission > summary {
    position: static; width: fit-content; margin: .75rem 0 0 auto;
  }
  .trials-theme-atelier .trial-submission-content { margin-top: .75rem; padding: 1rem; }
  .trials-theme-atelier .trial-submission .inline-form { grid-template-columns: 1fr; }
  .trials-theme-atelier .trial-record {
    grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.5rem 0;
  }
  .trials-theme-atelier .trial-record-rail {
    display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: .45rem;
  }
  .trials-theme-atelier .trial-nct { margin: 0; }
  .trials-theme-atelier .trial-phase { width: 100%; margin-top: .15rem; }
  .trials-theme-atelier .trial-record-body h2 { max-width: none; margin-top: 0; }
}

/* Shared patient reading scale: compact enough for laptop reading, calm on wide screens. */
.trial-detail-theme-atelier,
.research-detail-theme-atelier,
.official-detail-theme-atelier {
  --dossier-reading-title: clamp(2.1rem, calc(1.8rem + .65vw), 2.75rem);
  --dossier-reading-section: clamp(1.6rem, calc(1.45rem + .35vw), 1.9rem);
  --dossier-reading-subsection: clamp(1.25rem, calc(1.15rem + .25vw), 1.5rem);
  --dossier-reading-body: 1rem;
}

/* Trial reading dossier: the atlas record becomes one source-led study document. */
.trial-detail-theme-atelier .shell.trial-detail-shell {
  width: min(82rem, 100%); padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(3rem, 8vw, 6rem);
}
.trial-detail-theme-atelier .trial-detail-page {
  display: grid; width: 100%; min-width: 0; gap: clamp(1.9rem, 4vw, 3.25rem);
}
.trial-detail-theme-atelier .trial-detail-page > * { min-width: 0; }
.trial-detail-theme-atelier .trial-detail-breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem;
  padding-top: 1.25rem; color: var(--trials-muted); font-size: .9rem; font-weight: 600;
}
.trial-detail-theme-atelier .trial-detail-breadcrumb a {
  color: var(--trials-action); text-underline-offset: .16em;
}
.trial-detail-theme-atelier .trial-detail-header {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, .32fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: end;
  padding: 0 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--trials-action);
}
.trial-detail-theme-atelier .trial-detail-heading-copy { min-width: 0; }
.trial-detail-theme-atelier .trial-detail-identity {
  display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .65rem; margin-bottom: 1rem;
  color: var(--trials-muted); font-size: .84rem;
}
.trial-detail-theme-atelier .trial-detail-identity .status {
  border-radius: .4rem; font-size: .78rem; font-weight: 600;
}
.trial-detail-theme-atelier .trial-detail-identity .status.good { background: #d9f3e7; color: #155e49; }
.trial-detail-theme-atelier .trial-detail-identity .status.pending {
  background: var(--trials-peach); color: #65324c;
}
.trial-detail-theme-atelier .trial-detail-identity .status.muted {
  background: var(--trials-reading); color: var(--trials-muted);
}
.trial-detail-theme-atelier .trial-detail-nct {
  color: var(--trials-action); font-family: "HRM Mono", ui-monospace, monospace;
  font-size: .88rem; font-weight: 600; overflow-wrap: anywhere;
}
.trial-detail-theme-atelier .trial-detail-header h1 {
  max-width: 27ch; margin: 0; color: var(--trials-ink); font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-title); font-weight: 700; line-height: 1.08;
  letter-spacing: -.025em; overflow-wrap: normal; word-break: normal; hyphens: manual;
  text-wrap: balance;
}
.trial-detail-theme-atelier .trial-detail-lead {
  max-width: 64ch; margin: 1.1rem 0 0; color: var(--trials-muted);
  font-size: var(--dossier-reading-body); line-height: 1.7;
}
.trial-detail-theme-atelier .trial-source-language {
  max-width: 64ch; margin: .65rem 0 0; color: var(--trials-action);
  font-size: .82rem; font-weight: 600; line-height: 1.5;
}
.trial-detail-theme-atelier .trial-detail-scientific-title {
  max-width: 64ch; margin-top: 1rem; border-top: 1px solid var(--trials-border);
  border-bottom: 1px solid var(--trials-border); padding: .2rem 0;
}
.trial-detail-theme-atelier .trial-detail-scientific-title > summary,
.trial-detail-theme-atelier .trial-patient-term-help > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 2.75rem; color: var(--trials-action); font-weight: 700;
  line-height: 1.45; list-style: none; cursor: pointer;
}
.trial-detail-theme-atelier .trial-detail-scientific-title > summary::-webkit-details-marker,
.trial-detail-theme-atelier .trial-patient-term-help > summary::-webkit-details-marker { display: none; }
.trial-detail-theme-atelier .trial-detail-scientific-title > summary::after,
.trial-detail-theme-atelier .trial-patient-term-help > summary::after {
  width: .65rem; height: .65rem; flex: 0 0 auto; margin-inline: .35rem;
  border-right: .14rem solid currentcolor; border-bottom: .14rem solid currentcolor;
  content: ""; transform: rotate(45deg);
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.trial-detail-theme-atelier .trial-detail-scientific-title[open] > summary::after,
.trial-detail-theme-atelier .trial-patient-term-help[open] > summary::after {
  transform: rotate(225deg);
}
.trial-detail-theme-atelier .trial-detail-scientific-title > p {
  margin: .65rem 0; color: var(--trials-muted); line-height: 1.65;
  overflow-wrap: anywhere;
}
.trial-detail-theme-atelier .trial-detail-passport {
  display: grid; gap: 0; min-width: 0; margin: 0; border-top: 1px solid var(--trials-coral);
}
.trial-detail-theme-atelier .trial-detail-passport > div {
  display: grid; grid-template-columns: minmax(6rem, .7fr) minmax(0, 1.3fr);
  gap: 1rem; border-top: 0; border-bottom: 1px solid var(--trials-border); padding: .85rem 0;
}
.trial-detail-theme-atelier .trial-detail-passport dt,
.trial-detail-theme-atelier .trial-detail-passport dd {
  min-width: 0; margin: 0; font-size: .85rem; line-height: 1.45;
}
.trial-detail-theme-atelier .trial-detail-passport dt {
  color: var(--trials-muted); font-weight: 600;
}
.trial-detail-theme-atelier .trial-detail-passport dd {
  color: var(--trials-ink); font-weight: 600; text-align: right; overflow-wrap: anywhere;
}
.trial-detail-theme-atelier .trial-detail-reading-note {
  display: grid; grid-template-columns: minmax(13rem, .65fr) minmax(0, 1.35fr);
  width: min(76rem, 100%); margin-inline: auto; gap: clamp(1.25rem, 4vw, 3rem);
  padding: 1.2rem 1.3rem; background: var(--trials-peach); color: var(--trials-ink);
}
.trial-detail-theme-atelier .trial-detail-reading-note h2 {
  margin: 0; font-family: "HRM Serif", serif; font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700; line-height: 1.35;
}
.trial-detail-theme-atelier .trial-detail-reading-note p {
  max-width: 70ch; margin: 0; color: var(--trials-muted); line-height: 1.65;
}
.trial-detail-theme-atelier .trial-relevance-assessment {
  display: grid; width: min(76rem, 100%); min-width: 0; margin-inline: auto; gap: 0;
}
.trial-detail-theme-atelier .trial-relevance-assessment-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 2rem;
  border-bottom: 1px solid var(--trials-action); padding-bottom: .9rem;
}
.trial-detail-theme-atelier .trial-relevance-assessment-heading h2 {
  margin: 0; color: var(--trials-ink); font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-section); font-weight: 700; line-height: 1.18;
  letter-spacing: -.015em;
}
.trial-detail-theme-atelier .trial-relevance-assessment-heading p {
  max-width: 66ch; margin: .45rem 0 0; color: var(--trials-muted); line-height: 1.6;
}
.trial-detail-theme-atelier .trial-relevance-assessment .trial-relevance-status {
  flex: 0 0 auto; max-width: 18rem; border-radius: .4rem; font-size: .8rem;
  font-weight: 600; line-height: 1.35; text-align: center;
}
.trial-detail-theme-atelier .trial-relevance-reading {
  padding: 1.2rem 1.3rem; background: var(--trials-reading); color: var(--trials-ink);
}
.trial-detail-theme-atelier .trial-relevance-reading > p:first-child {
  max-width: 64ch; margin-top: 0; line-height: 1.75;
}
.trial-detail-theme-atelier .trial-relevance-limit {
  max-width: 70ch; margin: 1.15rem 0 0; border-top: 1px solid var(--trials-border);
  padding-top: 1rem; color: var(--trials-muted); line-height: 1.65;
}
.trial-detail-theme-atelier .trial-relevance-review {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(16rem, .9fr);
  gap: 1.25rem 2rem; border-bottom: 1px solid var(--trials-border);
  padding: 1.25rem 0 1.5rem;
}
.trial-detail-theme-atelier .trial-relevance-review .form-errors {
  grid-column: 1 / -1;
}
.trial-detail-theme-atelier .trial-relevance-review fieldset {
  min-width: 0; margin: 0; border: 0; padding: 0;
}
.trial-detail-theme-atelier .trial-relevance-review legend,
.trial-detail-theme-atelier .trial-relevance-review label {
  color: var(--trials-ink); font-weight: 600;
}
.trial-detail-theme-atelier .trial-relevance-review fieldset > div {
  display: grid; gap: .35rem; margin-top: .65rem;
}
.trial-detail-theme-atelier .trial-relevance-review fieldset label {
  display: flex; align-items: center; gap: .6rem; min-height: 2.5rem;
  color: var(--trials-muted); font-size: .92rem;
}
.trial-detail-theme-atelier .trial-relevance-review input[type="radio"] {
  accent-color: var(--trials-action);
}
.trial-detail-theme-atelier .trial-relevance-review textarea {
  width: 100%; border-color: var(--trials-border); background: var(--trials-surface);
  color: var(--trials-ink); resize: vertical;
}
.trial-detail-theme-atelier .trial-relevance-review .helptext {
  color: var(--trials-muted);
}
.trial-detail-theme-atelier .trial-relevance-review-action {
  display: flex; grid-column: 1 / -1; align-items: center; flex-wrap: wrap; gap: .75rem;
}
.trial-detail-theme-atelier .trial-relevance-review-action button {
  min-height: 2.75rem; background: var(--trials-action); color: var(--trials-surface);
  font-weight: 700;
}
.trial-detail-theme-atelier .trial-relevance-review-action button:hover {
  background: var(--trials-action-hover);
}
.trial-detail-theme-atelier .trial-reader-explanation {
  display: grid; width: min(76rem, 100%); min-width: 0; margin-inline: auto;
  gap: 1.5rem;
}
.trial-detail-theme-atelier .trial-reader-explanation-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 2rem;
  border-bottom: 1px solid var(--trials-action); padding-bottom: .9rem;
}
.trial-detail-theme-atelier .trial-reader-explanation-heading h2 {
  margin: 0; color: var(--trials-ink); font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-section); font-weight: 700; line-height: 1.18;
  letter-spacing: -.015em;
}
.trial-detail-theme-atelier .trial-reader-explanation-heading > div > p {
  max-width: 66ch; margin: .45rem 0 0; color: var(--trials-muted); line-height: 1.6;
}
.trial-detail-theme-atelier .trial-reader-ai-status {
  max-width: 24rem; margin: 0; color: var(--trials-muted); font-size: .85rem;
  line-height: 1.55; text-align: right;
}
.trial-detail-theme-atelier .trial-reader-ai-status .status {
  margin-right: .35rem; border-radius: .4rem; background: #d9f3e7; color: #155e49;
  font-weight: 600;
}
.trial-detail-theme-atelier .trial-reader-overview {
  min-width: 0; padding: clamp(1.1rem, 2vw, 1.6rem); background: var(--trials-reading);
}
.trial-detail-theme-atelier .trial-reader-overview h3,
.trial-detail-theme-atelier .trial-reader-chapter > h3,
.trial-detail-theme-atelier .trial-explanation-panel h3 {
  margin: 0; color: var(--trials-ink); font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-subsection); font-weight: 700; line-height: 1.3;
}
.trial-detail-theme-atelier .trial-reader-overview > p:not(.trial-claim-sources),
.trial-detail-theme-atelier .trial-reader-chapter > p:not(.trial-claim-sources),
.trial-detail-theme-atelier .trial-reader-limitation > p:not(.trial-claim-sources) {
  max-width: 64ch; color: var(--trials-ink); line-height: 1.75;
}
.trial-detail-theme-atelier .trial-reader-overview > p:first-of-type { margin-top: .85rem; }
.trial-detail-theme-atelier .trial-reader-overview > p:last-child { margin-bottom: 0; }
.trial-detail-theme-atelier .trial-reader-chapters { display: grid; gap: 2.35rem; }
.trial-detail-theme-atelier .trial-reader-chapter {
  min-width: 0; border-top: 1px solid var(--trials-action); padding-top: 1.25rem;
}
.trial-detail-theme-atelier .trial-reader-chapter > p:first-of-type { margin-top: .85rem; }
.trial-detail-theme-atelier .trial-reader-limitation {
  max-width: 64ch; border-top: 1px solid var(--trials-border); padding-top: 1rem;
}
.trial-detail-theme-atelier .trial-reader-limitation:first-of-type {
  border-top: 0; padding-top: 0;
}
.trial-detail-theme-atelier .trial-reader-limitation h4 {
  margin: 0 0 .45rem; color: var(--trials-ink); font-size: 1rem;
  font-weight: 700; line-height: 1.45;
}
.trial-detail-theme-atelier .trial-claim-sources {
  margin: .9rem 0 0; color: var(--trials-muted); font-size: .85rem; line-height: 1.55;
}
.trial-detail-theme-atelier .trial-claim-sources a,
.trial-detail-theme-atelier .patient-term-reference { text-underline-offset: .16em; }
.trial-detail-theme-atelier .trial-claim-sources a { font-weight: 600; }
.trial-detail-theme-atelier .patient-term-reference {
  font-weight: inherit; text-decoration-thickness: .08rem;
}
.trial-detail-theme-atelier .trial-patient-term-help {
  margin: .75rem 0 0; border-top: 1px solid var(--trials-border);
  border-bottom: 1px solid var(--trials-border); padding: .15rem 0;
}
.trial-detail-theme-atelier .trial-patient-term-help > p {
  max-width: 74ch; color: var(--trials-muted); line-height: 1.7;
}
.trial-detail-theme-atelier .trial-patient-term-help dl {
  margin: .75rem 0 0; border-top: 1px solid var(--trials-border);
}
.trial-detail-theme-atelier .trial-patient-term-help dl > div {
  display: grid; grid-template-columns: minmax(12rem, .7fr) minmax(0, 1.3fr);
  gap: 1.5rem; border-bottom: 1px solid var(--trials-border); padding: 1rem 0;
}
.trial-detail-theme-atelier .trial-patient-term-help dt {
  color: var(--trials-ink); font-weight: 600; overflow-wrap: anywhere;
}
.trial-detail-theme-atelier .trial-patient-term-help dd {
  margin: 0; color: var(--trials-muted); line-height: 1.65;
}
.trial-detail-theme-atelier .trial-reader-ai-note {
  display: grid; grid-template-columns: minmax(15rem, .7fr) minmax(0, 1.3fr);
  gap: clamp(1.25rem, 4vw, 3rem); align-items: start; margin-top: .75rem;
  padding: 1.1rem 1.2rem; background: var(--trials-peach); color: var(--trials-ink);
}
.trial-detail-theme-atelier .trial-reader-ai-note strong {
  font-family: "HRM Serif", serif; font-size: 1.05rem; line-height: 1.4;
}
.trial-detail-theme-atelier .trial-reader-ai-note p {
  max-width: 70ch; margin: 0; color: var(--trials-muted); line-height: 1.6;
}
.trial-detail-theme-atelier .trial-explanation-panel {
  min-width: 0; padding: clamp(1.25rem, 3vw, 2rem); background: var(--trials-reading);
}
.trial-detail-theme-atelier .trial-explanation-panel > p {
  max-width: 70ch; color: var(--trials-muted); line-height: 1.7;
}
.trial-detail-theme-atelier .trial-explanation-panel form { margin-top: 1.25rem; }
.trial-detail-theme-atelier .trial-explanation-panel button {
  min-height: 3rem; background: var(--trials-action); color: var(--trials-surface);
}
.trial-detail-theme-atelier .trial-explanation-panel button:hover {
  background: var(--trials-action-hover);
}
.trial-detail-theme-atelier .trial-explanation-panel .small { font-size: .88rem; }
.trial-detail-theme-atelier .trial-explanation-state.is-deferred .trial-explanation-panel {
  background: var(--trials-peach);
}
.trial-detail-theme-atelier .trial-explanation-state.is-failed .trial-explanation-panel {
  background: var(--trials-coral);
}
.trial-detail-theme-atelier .trial-explanation-state.is-not_requested .trial-explanation-panel,
.trial-detail-theme-atelier .trial-explanation-state.is-outdated .trial-explanation-panel {
  background: var(--trials-surface); box-shadow: 0 .75rem 2rem rgba(59, 32, 59, .08);
}
.trial-detail-theme-atelier .trial-detail-dossier {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, .33fr);
  width: min(76rem, 100%); margin-inline: auto; gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.trial-detail-theme-atelier .trial-detail-chapters {
  display: grid; min-width: 0; gap: clamp(3rem, 6vw, 4.75rem);
}
.trial-detail-theme-atelier .trial-detail-section { min-width: 0; }
.trial-detail-theme-atelier .trial-detail-section-heading {
  border-bottom: 1px solid var(--trials-action); padding-bottom: .85rem;
}
.trial-detail-theme-atelier .trial-detail-section-heading h2 {
  margin: 0; color: var(--trials-ink); font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-section); font-weight: 700; line-height: 1.18;
  letter-spacing: -.015em;
}
.trial-detail-theme-atelier .trial-detail-facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
  min-width: 0; margin: 0;
}
.trial-detail-theme-atelier .trial-detail-facts > div {
  display: grid; align-content: start; gap: .35rem; min-width: 0;
  border-top: 0; border-bottom: 1px solid var(--trials-border); padding: 1.15rem 1.5rem 1.15rem 0;
}
.trial-detail-theme-atelier .trial-detail-facts > div:nth-child(even) { padding-left: 1.5rem; }
.trial-detail-theme-atelier .trial-detail-facts > div:nth-child(odd) {
  border-right: 1px solid var(--trials-border);
}
.trial-detail-theme-atelier .trial-detail-facts dt {
  color: var(--trials-muted); font-size: .82rem; font-weight: 600; line-height: 1.4;
}
.trial-detail-theme-atelier .trial-detail-facts dd {
  min-width: 0; margin: 0; color: var(--trials-ink); font-weight: 600; line-height: 1.5;
  overflow-wrap: anywhere;
}
.trial-detail-theme-atelier .trial-detail-list,
.trial-detail-theme-atelier .trial-detail-location-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
  margin: 0; padding: 0; list-style: none;
}
.trial-detail-theme-atelier .trial-detail-list li,
.trial-detail-theme-atelier .trial-detail-location-list li {
  min-width: 0; border-bottom: 1px solid var(--trials-border);
  padding: 1.15rem 1.5rem 1.15rem 0; color: var(--trials-muted); line-height: 1.6;
  overflow-wrap: anywhere;
}
.trial-detail-theme-atelier .trial-detail-list li:nth-child(even),
.trial-detail-theme-atelier .trial-detail-location-list li:nth-child(even) { padding-left: 1.5rem; }
.trial-detail-theme-atelier .trial-detail-list li:nth-child(odd),
.trial-detail-theme-atelier .trial-detail-location-list li:nth-child(odd) {
  border-right: 1px solid var(--trials-border);
}
.trial-detail-theme-atelier .trial-detail-list strong,
.trial-detail-theme-atelier .trial-detail-location-list strong {
  color: var(--trials-ink); font-weight: 600;
}
.trial-detail-theme-atelier .trial-detail-location-group { margin-top: 1.5rem; }
.trial-detail-theme-atelier .trial-detail-location-group + .trial-detail-location-group {
  margin-top: 2.25rem;
}
.trial-detail-theme-atelier .trial-detail-location-group h3 {
  margin: 0 0 .4rem; color: var(--trials-ink); font-size: 1rem; font-weight: 700;
  line-height: 1.45;
}
.trial-detail-theme-atelier .trial-detail-location-list .small {
  color: var(--trials-muted); font-size: .82rem; font-weight: 600;
}
.trial-detail-theme-atelier .trial-detail-eligibility {
  min-width: 0; margin: 0; border: 0; border-top: 1px solid var(--trials-action);
  border-bottom: 1px solid var(--trials-border); padding: .45rem 0;
}
.trial-detail-theme-atelier .trial-detail-eligibility > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 3.75rem; border-radius: .55rem; padding: .75rem;
  color: var(--trials-action); font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-subsection); font-weight: 700; list-style: none;
  transition: background-color .2s cubic-bezier(.22, 1, .36, 1), color .2s cubic-bezier(.22, 1, .36, 1);
}
.trial-detail-theme-atelier .trial-detail-eligibility > summary::-webkit-details-marker { display: none; }
.trial-detail-theme-atelier .trial-detail-eligibility > summary::after {
  width: .65rem; height: .65rem; flex: 0 0 auto; margin-right: .25rem;
  border-right: .14rem solid currentcolor; border-bottom: .14rem solid currentcolor;
  content: ""; transform: rotate(45deg);
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.trial-detail-theme-atelier .trial-detail-eligibility > summary:hover,
.trial-detail-theme-atelier .trial-detail-eligibility[open] > summary {
  background: var(--trials-reading); color: var(--trials-action-hover);
}
.trial-detail-theme-atelier .trial-detail-eligibility[open] > summary::after {
  transform: rotate(225deg);
}
.trial-detail-theme-atelier .trial-detail-eligibility-content {
  display: grid; min-width: 0; gap: 1.5rem; padding: 1rem 0 1.25rem;
}
.trial-detail-theme-atelier .trial-detail-eligibility-content .prose {
  max-width: 72ch; margin: 0; color: var(--trials-muted); line-height: 1.72;
  overflow-wrap: anywhere;
}
.trial-detail-theme-atelier .trial-detail-source {
  position: sticky; top: 6.5rem; min-width: 0; padding: 1.15rem 1.25rem 1.3rem;
  background: var(--trials-reading); color: var(--trials-ink);
}
.trial-detail-theme-atelier .trial-detail-source h2 {
  margin: 0 0 1rem; font-family: "HRM Serif", serif; font-size: 1.35rem;
  font-weight: 700; line-height: 1.3;
}
.trial-detail-theme-atelier .trial-detail-source-primary,
.trial-detail-theme-atelier .trial-detail-source-history {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; min-height: 2.75rem; font-weight: 700; text-decoration: none;
}
.trial-detail-theme-atelier .trial-detail-source-primary {
  border-radius: .55rem; padding: .65rem .8rem; background: var(--trials-action);
  color: var(--trials-surface);
}
.trial-detail-theme-atelier .trial-detail-source-primary:hover {
  background: var(--trials-action-hover); color: var(--trials-surface);
}
.trial-detail-theme-atelier .trial-detail-source-history {
  margin-top: .65rem; border-top: 1px solid var(--trials-border);
  border-bottom: 1px solid var(--trials-border); padding: .65rem .2rem;
  color: var(--trials-action);
}
.trial-detail-theme-atelier .trial-detail-source-history:hover {
  border-color: var(--trials-action); color: var(--trials-action-hover);
}
.trial-detail-theme-atelier .trial-detail-source-primary::after,
.trial-detail-theme-atelier .trial-detail-source-history::after {
  width: .5rem; height: .5rem; flex: 0 0 auto; margin-right: .2rem;
  border-top: .13rem solid currentcolor; border-right: .13rem solid currentcolor;
  content: ""; transform: rotate(45deg);
}
.trial-detail-theme-atelier .trial-detail-source-facts {
  display: grid; gap: 0; margin: 1.25rem 0 0;
}
.trial-detail-theme-atelier .trial-detail-source-facts > div {
  display: grid; gap: .3rem; border-top: 1px solid var(--trials-border); padding: .8rem 0;
}
.trial-detail-theme-atelier .trial-detail-source-facts dt {
  color: var(--trials-muted); font-size: .78rem; font-weight: 600; line-height: 1.4;
}
.trial-detail-theme-atelier .trial-detail-source-facts dd {
  margin: 0; color: var(--trials-ink); font-size: .88rem; font-weight: 600;
  line-height: 1.45; overflow-wrap: anywhere;
}
.trial-detail-theme-atelier .trial-detail-source > .small {
  margin: .85rem 0 0; color: var(--trials-muted); font-size: .82rem; line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .trial-detail-theme-atelier .trial-detail-eligibility > summary,
  .trial-detail-theme-atelier .trial-detail-eligibility > summary::after,
  .trial-detail-theme-atelier .trial-detail-scientific-title > summary::after,
  .trial-detail-theme-atelier .trial-patient-term-help > summary::after { transition: none; }
}

@media (max-width: 48rem) {
  .trial-detail-theme-atelier .shell.trial-detail-shell {
    padding-inline: 1rem; padding-bottom: 3.5rem;
  }
  .trial-detail-theme-atelier .trial-detail-page { gap: 2.25rem; }
  .trial-detail-theme-atelier .trial-detail-breadcrumb { padding-top: .75rem; }
  .trial-detail-theme-atelier .trial-detail-header {
    grid-template-columns: minmax(0, 1fr); gap: 1.75rem; align-items: start;
    padding-bottom: 1.75rem;
  }
  .trial-detail-theme-atelier .trial-detail-header h1 {
    max-width: none; font-size: clamp(1.9rem, calc(1.65rem + 1.2vw), 2.35rem);
  }
  .trial-detail-theme-atelier .trial-detail-passport {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trial-detail-theme-atelier .trial-detail-passport > div {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem;
    border-bottom: 1px solid var(--trials-border); padding: .75rem .65rem .75rem 0;
  }
  .trial-detail-theme-atelier .trial-detail-passport > div + div { padding-left: .65rem; }
  .trial-detail-theme-atelier .trial-detail-passport > div:last-child {
    grid-column: 1 / -1; padding-left: 0;
  }
  .trial-detail-theme-atelier .trial-detail-passport dd { text-align: left; }
  .trial-detail-theme-atelier .trial-detail-reading-note {
    grid-template-columns: minmax(0, 1fr); gap: .65rem; padding: 1rem;
  }
  .trial-detail-theme-atelier .trial-relevance-assessment-heading {
    align-items: start; flex-direction: column; gap: .75rem;
  }
  .trial-detail-theme-atelier .trial-relevance-assessment .trial-relevance-status {
    max-width: 100%;
  }
  .trial-detail-theme-atelier .trial-relevance-reading { padding: 1rem; }
  .trial-detail-theme-atelier .trial-relevance-review {
    grid-template-columns: minmax(0, 1fr); gap: 1rem;
  }
  .trial-detail-theme-atelier .trial-reader-explanation-heading {
    align-items: start; flex-direction: column; gap: .75rem;
  }
  .trial-detail-theme-atelier .trial-reader-ai-status { max-width: none; text-align: left; }
  .trial-detail-theme-atelier .trial-reader-overview,
  .trial-detail-theme-atelier .trial-explanation-panel { padding: 1.1rem; }
  .trial-detail-theme-atelier .trial-patient-term-help dl > div {
    grid-template-columns: minmax(0, 1fr); gap: .35rem;
  }
  .trial-detail-theme-atelier .trial-reader-ai-note {
    grid-template-columns: minmax(0, 1fr); gap: .65rem;
  }
  .trial-detail-theme-atelier .trial-detail-dossier {
    grid-template-columns: minmax(0, 1fr); gap: 2.75rem;
  }
  .trial-detail-theme-atelier .trial-detail-chapters { gap: 3rem; }
  .trial-detail-theme-atelier .trial-detail-facts,
  .trial-detail-theme-atelier .trial-detail-list,
  .trial-detail-theme-atelier .trial-detail-location-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .trial-detail-theme-atelier .trial-detail-facts > div,
  .trial-detail-theme-atelier .trial-detail-facts > div:nth-child(odd),
  .trial-detail-theme-atelier .trial-detail-facts > div:nth-child(even),
  .trial-detail-theme-atelier .trial-detail-list li,
  .trial-detail-theme-atelier .trial-detail-list li:nth-child(odd),
  .trial-detail-theme-atelier .trial-detail-list li:nth-child(even),
  .trial-detail-theme-atelier .trial-detail-location-list li,
  .trial-detail-theme-atelier .trial-detail-location-list li:nth-child(odd),
  .trial-detail-theme-atelier .trial-detail-location-list li:nth-child(even) {
    border-right: 0; padding: 1rem 0;
  }
  .trial-detail-theme-atelier .trial-detail-source { position: static; top: auto; }
}

/* Research dossiers: Zorgatelier shaped around completed focused-research briefs. */
.research-index-theme-atelier {
  --reports-canvas: #eee8f4;
  --reports-surface: #fffafd;
  --reports-ink: #3b203b;
  --reports-muted: #5b445d;
  --reports-action: #793c5b;
  --reports-action-hover: #572740;
  --reports-header: #4c2448;
  --reports-header-hover: #6e3b68;
  --reports-border: #cfbed5;
  --reports-reading: #ddd0e7;
  --reports-field: #d8c9e5;
  --reports-coral: #f2b49e;
  --reports-peach: #f1c9bc;
  min-height: 100vh; background: var(--reports-canvas); color: var(--reports-ink);
  font-family: "HRM Sans", ui-sans-serif, sans-serif;
}
.research-index-theme-atelier a { color: var(--reports-action); }
.research-index-theme-atelier a:focus-visible,
.research-index-theme-atelier button:focus-visible,
.research-index-theme-atelier summary:focus-visible { outline-color: #d45d37; }
.research-index-theme-atelier .skip-link { background: var(--reports-surface); color: var(--reports-ink); }
.research-index-theme-atelier .site-header {
  position: sticky; top: 0; z-index: 30; display: grid;
  grid-template-columns: minmax(7rem, 1fr) auto minmax(7rem, 1fr);
  min-height: 5.25rem; border: 0; background: var(--reports-header); color: var(--reports-surface);
}
.research-index-theme-atelier .brand {
  min-width: auto; justify-self: start; justify-content: flex-start; border: 0;
  font-family: "HRM Serif", serif; font-size: 1.45rem; letter-spacing: 0;
}
.research-index-theme-atelier .site-header > .brand,
.research-index-theme-atelier .account-nav-primary > a { color: var(--reports-surface); }
.research-index-theme-atelier .account-nav { display: contents; }
.research-index-theme-atelier .account-nav-primary {
  grid-column: 2; justify-content: center; gap: .25rem;
}
.research-index-theme-atelier .account-nav-session { grid-column: 3; justify-self: end; }
.research-index-theme-atelier .account-nav-primary > a,
.research-index-theme-atelier .nav-dropdown > summary,
.research-index-theme-atelier .link-button {
  border-radius: .55rem; padding-inline: .65rem; font-size: .9rem; font-weight: 650;
}
.research-index-theme-atelier .account-nav-primary > a:hover,
.research-index-theme-atelier .account-nav-primary > a:focus-visible,
.research-index-theme-atelier .account-nav-primary > a[aria-current="page"],
.research-index-theme-atelier .nav-dropdown > summary:hover,
.research-index-theme-atelier .link-button:hover {
  background: var(--reports-header-hover); color: var(--reports-surface); text-decoration: none;
}
.research-index-theme-atelier .nav-dropdown-menu {
  border-color: var(--reports-border); background: var(--reports-surface); color: var(--reports-ink);
  box-shadow: 0 .75rem 2rem rgba(59, 32, 59, .14);
}
.research-index-theme-atelier .site-header .nav-dropdown-menu a { color: var(--reports-ink); }
.research-index-theme-atelier .site-header .nav-dropdown-menu a:hover,
.research-index-theme-atelier .site-header .nav-dropdown-menu a:focus-visible { background: var(--reports-canvas); }
.research-index-theme-atelier .shell.research-index-shell {
  width: min(78rem, 100%); padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(3rem, 8vw, 6rem);
}
.research-index-theme-atelier .research-index-page {
  display: grid; width: 100%; min-width: 0; gap: clamp(1.75rem, 4vw, 3rem);
}
.research-index-theme-atelier .research-index-page > * { min-width: 0; }
.research-index-theme-atelier .research-index-header {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(13rem, .3fr);
  gap: 2rem; align-items: end; padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(1.75rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--reports-action);
}
.research-index-theme-atelier .research-index-header h1 {
  max-width: 15ch; margin: 0; color: var(--reports-ink); font-family: "HRM Serif", serif;
  font-size: clamp(3.25rem, 6vw, 4.8rem); font-weight: 700; line-height: .98;
  letter-spacing: -.035em; text-wrap: balance;
}
.research-index-theme-atelier .research-index-heading-copy > p {
  max-width: 64ch; margin: 1.2rem 0 0; color: var(--reports-muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.65;
}
.research-index-theme-atelier .research-index-source-note {
  margin: 0; padding-top: 1rem; border-top: 1px solid var(--reports-coral);
  color: var(--reports-action); font-size: .95rem; font-weight: 600; line-height: 1.5;
}
.research-index-theme-atelier .research-index-ai-note {
  display: grid; grid-template-columns: minmax(15rem, .7fr) minmax(0, 1.3fr);
  width: min(70rem, 100%); margin-inline: auto; gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start; padding: 1.15rem 1.25rem; background: var(--reports-peach);
  color: var(--reports-ink);
}
.research-index-theme-atelier .research-index-ai-note strong {
  font-family: "HRM Serif", serif; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.35;
}
.research-index-theme-atelier .research-index-ai-note p {
  max-width: 68ch; margin: 0; color: var(--reports-muted); line-height: 1.6;
}
.research-index-theme-atelier .research-dossiers {
  display: grid; width: min(70rem, 100%); margin-inline: auto; gap: 0;
}
.research-index-theme-atelier .research-dossiers-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid var(--reports-action); padding-bottom: .85rem;
}
.research-index-theme-atelier .research-dossiers-heading h2 {
  margin: 0; font-family: "HRM Serif", serif; font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700; line-height: 1.2;
}
.research-index-theme-atelier .research-dossiers-heading p {
  margin: 0; color: var(--reports-muted); font-size: .9rem; font-weight: 600; white-space: nowrap;
}
.research-index-theme-atelier .research-dossier-list { display: grid; gap: 0; }
.research-index-theme-atelier .research-dossier {
  display: grid; grid-template-columns: minmax(10.5rem, .36fr) minmax(0, 1.64fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); min-width: 0; border-bottom: 1px solid var(--reports-border);
  padding: clamp(1.75rem, 3vw, 2.25rem) 0;
}
.research-index-theme-atelier .research-dossier-meta {
  align-self: start; min-width: 0; padding: 1rem; background: var(--reports-reading);
  color: var(--reports-muted);
}
.research-index-theme-atelier .research-dossier-meta .status {
  max-width: 100%; border-radius: .4rem; font-size: .78rem; line-height: 1.35;
  font-weight: 600; overflow-wrap: anywhere;
}
.research-index-theme-atelier .research-dossier-meta .status.good { background: #d9f3e7; color: #155e49; }
.research-index-theme-atelier .research-dossier-meta .status.pending { background: var(--reports-peach); color: #65324c; }
.research-index-theme-atelier .research-dossier-meta .status.muted { background: var(--reports-surface); color: var(--reports-muted); }
.research-index-theme-atelier .research-dossier-meta p {
  margin: .75rem 0 0; font-size: .85rem; font-weight: 600; line-height: 1.5;
}
.research-index-theme-atelier .research-dossier-body { min-width: 0; }
.research-index-theme-atelier .research-dossier-body h3 {
  max-width: 28ch; margin: -.2rem 0 1rem; font-family: "HRM Serif", serif;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem); font-weight: 700; line-height: 1.18; overflow-wrap: anywhere;
  text-wrap: balance;
}
.research-index-theme-atelier .research-dossier-body h3 a {
  color: var(--reports-ink); text-decoration: none;
}
.research-index-theme-atelier .research-dossier-body h3 a:hover {
  color: var(--reports-action); text-decoration: underline; text-underline-offset: .12em;
}
.research-index-theme-atelier .research-dossier-scope {
  max-width: 75ch; margin: 0; color: var(--reports-muted); font-size: 1.03rem; line-height: 1.7;
}
.research-index-theme-atelier .research-dossier-note {
  max-width: 72ch; margin: 1rem 0 0; color: var(--reports-muted); font-size: .88rem;
  line-height: 1.55;
}
.research-index-theme-atelier .research-dossier-action {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(28rem, 100%); min-height: 3rem; margin-top: 1.25rem;
  border-top: 1px solid var(--reports-border); border-bottom: 1px solid var(--reports-border);
  padding: .65rem .25rem; color: var(--reports-action); font-weight: 700; text-decoration: none;
}
.research-index-theme-atelier .research-dossier-action::after {
  width: .55rem; height: .55rem; flex: 0 0 auto; margin-right: .25rem;
  border-top: .14rem solid currentcolor; border-right: .14rem solid currentcolor;
  content: ""; transform: rotate(45deg);
}
.research-index-theme-atelier .research-dossier-action:hover {
  border-color: var(--reports-action); padding-inline: .75rem;
  background: var(--reports-field); color: var(--reports-action-hover);
}
.research-index-theme-atelier .research-index-empty-state {
  width: min(70rem, 100%); margin-inline: auto; padding: 3rem 1.5rem;
  background: var(--reports-surface); text-align: center;
  box-shadow: 0 1rem 2.5rem rgba(59, 32, 59, .09);
}
.research-index-theme-atelier .research-index-empty-state h2 { font-family: "HRM Serif", serif; }

@media (max-width: 78rem) and (min-width: 48.01rem) {
  .research-index-theme-atelier .site-header {
    grid-template-columns: 1fr auto; gap: .25rem 1rem;
  }
  .research-index-theme-atelier .account-nav-primary {
    grid-column: 1 / -1; grid-row: 2; justify-self: center;
    flex-wrap: wrap; justify-content: center;
  }
  .research-index-theme-atelier .account-nav-session {
    grid-column: 2; grid-row: 1; justify-self: end;
  }
}

@media (max-width: 48rem) {
  .research-index-theme-atelier .site-header {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center; gap: .5rem; min-height: 0; padding: .35rem .75rem;
  }
  .research-index-theme-atelier .brand { min-height: 2.5rem; font-size: 1.2rem; }
  .research-index-theme-atelier .account-nav-primary {
    grid-column: 2; grid-row: 1; min-width: 0; flex: 1; flex-wrap: nowrap;
    justify-content: start; gap: .1rem; overflow-x: auto; scrollbar-width: thin;
  }
  .research-index-theme-atelier .account-nav-session {
    grid-column: 3; grid-row: 1; justify-self: end;
  }
  .research-index-theme-atelier .account-nav-primary > a,
  .research-index-theme-atelier .nav-dropdown > summary,
  .research-index-theme-atelier .link-button {
    flex: none; padding-inline: .5rem; font-size: .78rem;
  }
  .research-index-theme-atelier .nav-dropdown-menu {
    position: fixed; inset: 3.3rem .75rem auto; width: auto;
    max-height: calc(100dvh - 4rem); overflow-y: auto;
  }
  .research-index-theme-atelier .shell.research-index-shell {
    padding-inline: 1rem; padding-bottom: 3.5rem;
  }
  .research-index-theme-atelier .research-index-page { gap: 2rem; }
  .research-index-theme-atelier .research-index-header {
    grid-template-columns: 1fr; gap: 1.75rem; align-items: start; padding: 2.75rem 0 1.75rem;
  }
  .research-index-theme-atelier .research-index-header h1 {
    max-width: 12ch; font-size: clamp(2.35rem, 11.5vw, 3.25rem);
  }
  .research-index-theme-atelier .research-index-source-note { max-width: 22rem; }
  .research-index-theme-atelier .research-index-ai-note {
    grid-template-columns: 1fr; gap: .65rem; padding: 1rem;
  }
  .research-index-theme-atelier .research-dossiers-heading {
    align-items: start; flex-direction: column; gap: .35rem;
  }
  .research-index-theme-atelier .research-dossier {
    grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.5rem 0;
  }
  .research-index-theme-atelier .research-dossier-meta {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem;
  }
  .research-index-theme-atelier .research-dossier-meta p { margin: 0; text-align: right; }
  .research-index-theme-atelier .research-dossier-body h3 { max-width: none; margin-top: 0; }
  .research-index-theme-atelier .research-dossier-action { width: 100%; }
}

/* Research report dossier: patient reading first, technical evidence progressively deeper. */
.research-detail-theme-atelier .shell.report-shell {
  width: min(82rem, 100%); padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(3rem, 8vw, 6rem);
}
.research-detail-theme-atelier .research-detail-page {
  display: grid; width: min(76rem, 100%); min-width: 0; margin-inline: auto;
  gap: clamp(2.1rem, 4.5vw, 3.75rem);
}
.research-detail-theme-atelier .research-detail-page > * { min-width: 0; }
.research-detail-theme-atelier .research-detail-breadcrumb {
  width: min(76rem, 100%); margin: 0 auto; padding-top: 1.25rem;
  color: var(--reports-muted); font-size: .9rem; font-weight: 600;
}
.research-detail-theme-atelier .research-detail-breadcrumb a {
  color: var(--reports-action); text-underline-offset: .16em;
}
.research-detail-theme-atelier .research-detail-header {
  max-width: none; padding: 0 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--reports-action);
}
.research-detail-theme-atelier .research-detail-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .75rem;
  margin-bottom: 1rem; color: var(--reports-action); font-size: .88rem; font-weight: 600;
}
.research-detail-theme-atelier .research-detail-meta .status {
  border-radius: .4rem; font-size: .78rem; font-weight: 600;
}
.research-detail-theme-atelier .research-detail-meta .status.good { background: #d9f3e7; color: #155e49; }
.research-detail-theme-atelier .research-detail-meta .status.pending {
  background: var(--reports-peach); color: #65324c;
}
.research-detail-theme-atelier .research-detail-meta .status.muted {
  background: var(--reports-reading); color: var(--reports-muted);
}
.research-detail-theme-atelier .research-detail-header h1 {
  max-width: 26ch; margin: 0; color: var(--reports-ink); font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-title); font-weight: 700; line-height: 1.08;
  letter-spacing: -.025em; overflow-wrap: normal; word-break: normal; hyphens: manual;
  text-wrap: balance;
}
.research-detail-theme-atelier .research-detail-ai-note {
  display: grid; grid-template-columns: minmax(15rem, .7fr) minmax(0, 1.3fr);
  gap: clamp(1.25rem, 4vw, 3rem); align-items: start; margin: 0; border: 0;
  border-radius: 0; padding: 1.15rem 1.25rem; background: var(--reports-peach);
  color: var(--reports-ink); box-shadow: none;
}
.research-detail-theme-atelier .research-detail-ai-note strong {
  color: var(--reports-ink); font-family: "HRM Serif", serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 700; line-height: 1.35;
}
.research-detail-theme-atelier .research-detail-ai-note p {
  max-width: 68ch; margin: 0; color: var(--reports-muted); line-height: 1.65;
}
.research-detail-theme-atelier .research-detail-question {
  display: grid; grid-template-columns: minmax(14rem, .65fr) minmax(0, 1.35fr);
  gap: .75rem clamp(1.5rem, 5vw, 4rem); margin: 0; border: 0; border-radius: 0;
  padding: clamp(1.4rem, 4vw, 2.4rem); background: var(--reports-reading);
  color: var(--reports-ink); box-shadow: none;
}
.research-detail-theme-atelier .research-detail-question > h2 {
  grid-row: 1 / span 3; margin: 0; font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-section); font-weight: 700; line-height: 1.18;
  letter-spacing: -.015em;
}
.research-detail-theme-atelier .research-detail-question > p {
  max-width: 68ch; margin: 0; color: var(--reports-muted); line-height: 1.7;
}
.research-detail-theme-atelier .research-detail-question > p strong {
  color: var(--reports-ink); font-weight: 600;
}
.research-detail-theme-atelier .technical-question {
  margin: .5rem 0 0; border-top: 1px solid var(--reports-border);
  border-bottom: 1px solid var(--reports-border); padding: .2rem 0;
}
.research-detail-theme-atelier .technical-question > summary {
  color: var(--reports-action); font-weight: 700;
}
.research-detail-theme-atelier .technical-question > p {
  margin: .5rem 0 .8rem; color: var(--reports-muted); line-height: 1.65;
}
.research-detail-theme-atelier .research-detail-state {
  width: min(70rem, 100%); margin: 0 auto; border: 0; border-radius: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--reports-reading);
  color: var(--reports-ink); text-align: left; box-shadow: none;
}
.research-detail-theme-atelier .research-detail-state h2 {
  margin: 0 0 .6rem; font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-section); font-weight: 700; line-height: 1.18;
}
.research-detail-theme-atelier .research-detail-state p {
  max-width: 70ch; margin: .45rem 0 0; color: var(--reports-muted); line-height: 1.7;
}
.research-detail-theme-atelier .research-detail-reader {
  display: grid; width: min(72rem, 100%); margin-inline: auto;
  gap: clamp(2.5rem, 5vw, 4rem);
}
.research-detail-theme-atelier .research-detail-reader-intro {
  margin: 0; border: 0; border-radius: 0; padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--reports-reading); color: var(--reports-ink); box-shadow: none;
}
.research-detail-theme-atelier .research-detail-section-label {
  margin: 0 0 .7rem; color: var(--reports-action); font-size: .88rem;
  font-weight: 600; line-height: 1.45;
}
.research-detail-theme-atelier .research-detail-reader-intro h2 {
  max-width: 30ch; margin: 0; font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-section); font-weight: 700; line-height: 1.18;
  letter-spacing: -.015em;
}
.research-detail-theme-atelier .research-detail-reader-intro > p:not(.research-detail-section-label) {
  max-width: 72ch; margin: 1rem 0 0; color: var(--reports-muted); line-height: 1.7;
}
.research-detail-theme-atelier .research-detail-reader-intro > .small {
  font-size: .88rem; font-weight: 600; line-height: 1.6;
}
.research-detail-theme-atelier .research-detail-explanation-section {
  width: 100%; min-width: 0; margin: 0; border: 0; border-radius: 0;
  padding: 0; background: transparent; color: var(--reports-ink); box-shadow: none;
}
.research-detail-theme-atelier .research-detail-explanation-section > h2 {
  margin: 0 0 clamp(1.35rem, 3vw, 2rem); border-bottom: 1px solid var(--reports-action);
  padding-bottom: .9rem; font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-section); font-weight: 700; line-height: 1.18;
  letter-spacing: -.015em;
}
.research-detail-theme-atelier .research-detail-explanation-section > h3,
.research-detail-theme-atelier .research-detail-explanation-section .explanation-claim h3 {
  max-width: 32ch; margin: 0 0 .75rem; color: var(--reports-ink);
  font-family: "HRM Serif", serif; font-size: var(--dossier-reading-subsection);
  font-weight: 700; line-height: 1.3;
}
.research-detail-theme-atelier .research-detail-explanation-section > p,
.research-detail-theme-atelier .research-detail-explanation-section .explanation-claim > p:not(.claim-sources),
.research-detail-theme-atelier .research-detail-explanation-section li {
  max-width: 64ch; color: var(--reports-ink); font-size: var(--dossier-reading-body); line-height: 1.7;
}
.research-detail-theme-atelier .research-detail-explanation-section > p { margin: .75rem 0; }
.research-detail-theme-atelier .research-detail-explanation-section .explanation-claim {
  max-width: 68ch; padding: 0;
}
.research-detail-theme-atelier .research-detail-explanation-section .explanation-claim + .explanation-claim {
  margin-top: 1.75rem; border-top: 1px solid var(--reports-border); padding-top: 1.5rem;
}
.research-detail-theme-atelier .research-detail-explanation-section .explanation-claim > p {
  margin: 0;
}
.research-detail-theme-atelier .research-detail-explanation-section .claim-sources {
  margin: .75rem 0 0; color: var(--reports-muted); font-size: .85rem !important;
  font-weight: 600; line-height: 1.55;
}
.research-detail-theme-atelier .research-detail-explanation-section .claim-sources a {
  min-height: 2.25rem; color: var(--reports-action); font-weight: 600;
  text-underline-offset: .16em;
}
.research-detail-theme-atelier .research-detail-explanation-section .medicine-link-help {
  max-width: 72ch; margin: 0 0 1.5rem; border: 0; padding: 1rem 1.1rem;
  background: var(--reports-peach); color: var(--reports-muted); font-size: .92rem;
  line-height: 1.65;
}
.research-detail-theme-atelier .medicine-reference {
  color: var(--reports-action); font-weight: inherit; text-decoration-thickness: .08rem;
}
.research-detail-theme-atelier .research-detail-questions {
  padding: clamp(1.35rem, 4vw, 2.25rem); background: var(--reports-reading);
}
.research-detail-theme-atelier .research-detail-questions > h2 { margin-bottom: 1rem; }
.research-detail-theme-atelier .research-detail-questions ul {
  display: grid; gap: .75rem; max-width: 68ch; margin: 0; padding-left: 1.3rem;
}
.research-detail-theme-atelier .research-detail-technical {
  width: min(72rem, 100%); margin: 0 auto; border: 0;
  border-top: 1px solid var(--reports-action); border-bottom: 1px solid var(--reports-border);
  border-radius: 0; padding: .45rem 0; background: transparent; box-shadow: none;
}
.research-detail-theme-atelier .research-detail-technical > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 3.75rem; border-radius: .55rem; padding: .75rem;
  color: var(--reports-action); font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-subsection); font-weight: 700; list-style: none;
  transition: background-color .2s cubic-bezier(.22, 1, .36, 1), color .2s cubic-bezier(.22, 1, .36, 1);
}
.research-detail-theme-atelier .research-detail-technical > summary::-webkit-details-marker { display: none; }
.research-detail-theme-atelier .research-detail-technical > summary::after {
  width: .65rem; height: .65rem; flex: 0 0 auto; margin-right: .25rem;
  border-right: .14rem solid currentcolor; border-bottom: .14rem solid currentcolor;
  content: ""; transform: rotate(45deg);
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.research-detail-theme-atelier .research-detail-technical > summary:hover,
.research-detail-theme-atelier .research-detail-technical[open] > summary {
  margin-bottom: 0; border-bottom: 0;
  background: var(--reports-reading); color: var(--reports-action-hover);
}
.research-detail-theme-atelier .research-detail-technical[open] > summary::after {
  transform: rotate(225deg);
}
.research-detail-theme-atelier .research-detail-technical-content,
.research-detail-theme-atelier .technical-report-content {
  display: grid; min-width: 0; gap: 3rem; padding: 1.25rem 0 1.75rem;
}
.research-detail-theme-atelier .technical-report-content > section + section {
  border-top: 1px solid var(--reports-border); padding-top: 2rem;
}
.research-detail-theme-atelier .technical-report-content h2 {
  margin: 0 0 1rem; color: var(--reports-ink); font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-section); font-weight: 700; line-height: 1.18;
}
.research-detail-theme-atelier .technical-report-content .small {
  color: var(--reports-muted); font-size: .78rem; font-weight: 600;
}
.research-detail-theme-atelier .report-prose {
  width: 100%; max-width: 74ch; color: var(--reports-muted); font-size: 1rem;
  line-height: 1.75;
}
.research-detail-theme-atelier .report-prose h3,
.research-detail-theme-atelier .report-prose h4,
.research-detail-theme-atelier .report-prose h5 {
  color: var(--reports-ink); font-family: "HRM Serif", serif; font-weight: 700;
}
.research-detail-theme-atelier .report-prose h3 {
  margin: 2.5rem 0 1rem; font-size: var(--dossier-reading-section);
}
.research-detail-theme-atelier .report-prose h4 {
  margin: 2.25rem 0 .85rem; border-top: 1px solid var(--reports-border);
  padding-top: 1rem; font-size: var(--dossier-reading-subsection);
}
.research-detail-theme-atelier .report-prose h5 {
  margin: 1.75rem 0 .65rem; font-size: 1.15rem;
}
.research-detail-theme-atelier .report-table-wrap {
  max-width: 100%; margin: 1rem 0 1.5rem; overflow-x: auto;
  border: 1px solid var(--reports-border); border-radius: 0;
}
.research-detail-theme-atelier .report-table-wrap:focus-visible {
  outline: .2rem solid var(--reports-action); outline-offset: .15rem;
}
.research-detail-theme-atelier .report-table th,
.research-detail-theme-atelier .report-table td {
  border-bottom: 1px solid var(--reports-border); padding: .85rem;
}
.research-detail-theme-atelier .report-table th {
  background: var(--reports-reading); color: var(--reports-ink); font-weight: 700;
}
.research-detail-theme-atelier .table-scroll-hint {
  color: var(--reports-muted); font-size: .88rem; font-weight: 600;
}
.research-detail-theme-atelier .report-citations a {
  border-radius: .35rem; background: var(--reports-reading); color: var(--reports-action);
  font-weight: 700;
}
.research-detail-theme-atelier .citation-unresolved {
  background: var(--reports-peach); color: var(--reports-ink);
}
.research-detail-theme-atelier .research-detail-sources {
  width: min(72rem, 100%); margin: 0 auto; border: 0; border-radius: 0;
  padding: 0; background: transparent; color: var(--reports-ink); box-shadow: none;
}
.research-detail-theme-atelier .research-detail-sources > h2 {
  margin: 0; border-bottom: 1px solid var(--reports-action); padding-bottom: .9rem;
  font-family: "HRM Serif", serif; font-size: var(--dossier-reading-section);
  font-weight: 700; line-height: 1.18; letter-spacing: -.015em;
}
.research-detail-theme-atelier .research-detail-sources > p:not(.research-detail-section-label) {
  max-width: 72ch; margin: 1rem 0 0; color: var(--reports-muted); line-height: 1.65;
}
.research-detail-theme-atelier .research-detail-sources > .small {
  font-size: .88rem; font-weight: 600;
}
.research-detail-theme-atelier .report-source-list {
  display: grid; gap: 0; margin: 1.25rem 0 0; padding: 0; list-style: none;
}
.research-detail-theme-atelier .report-source {
  display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1.25rem;
  min-width: 0; border-top: 0; border-bottom: 1px solid var(--reports-border);
  padding: 1.5rem 0; scroll-margin-top: 6.5rem;
}
.research-detail-theme-atelier .source-number {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border-radius: .4rem; background: var(--reports-reading); color: var(--reports-action);
  font-family: "HRM Serif", serif; font-weight: 700;
}
.research-detail-theme-atelier .report-source .card-meta {
  gap: .4rem .65rem; color: var(--reports-muted); font-size: .82rem;
  font-weight: 600; line-height: 1.5;
}
.research-detail-theme-atelier .report-source .status {
  border-radius: .4rem; background: #d9f3e7; color: #155e49;
  font-size: .76rem; font-weight: 600;
}
.research-detail-theme-atelier .report-source h3 {
  max-width: 36ch; margin: .75rem 0 .35rem; font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-subsection); font-weight: 700; line-height: 1.3;
}
.research-detail-theme-atelier .report-source h3 a {
  color: var(--reports-ink); text-decoration-color: transparent; text-underline-offset: .15em;
}
.research-detail-theme-atelier .report-source h3 a:hover,
.research-detail-theme-atelier .report-source h3 a:focus-visible {
  color: var(--reports-action); text-decoration-color: currentcolor;
}
.research-detail-theme-atelier .report-source .scientific-title {
  margin: .75rem 0 0; border-top: 1px solid var(--reports-border); padding-top: .3rem;
}
.research-detail-theme-atelier .report-source .scientific-title > summary {
  color: var(--reports-action); font-size: .88rem; font-weight: 700;
}
.research-detail-theme-atelier .source-actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.25rem;
  margin-top: .8rem;
}
.research-detail-theme-atelier .source-actions a {
  min-height: 2.75rem; color: var(--reports-action); font-weight: 700;
  text-underline-offset: .16em;
}
.research-detail-theme-atelier .medicine-dialog {
  border: 1px solid var(--reports-border); border-radius: 1rem;
  background: var(--reports-surface); color: var(--reports-ink);
  box-shadow: 0 1.5rem 4rem rgba(59, 32, 59, .25);
}
.research-detail-theme-atelier .medicine-dialog::backdrop { background: rgba(59, 32, 59, .72); }
.research-detail-theme-atelier .medicine-dialog-panel { padding: 1.5rem; }
.research-detail-theme-atelier .medicine-dialog .eyebrow {
  color: var(--reports-action); font-size: .85rem; font-weight: 600;
  letter-spacing: 0; text-transform: none;
}
.research-detail-theme-atelier .medicine-dialog h2,
.research-detail-theme-atelier .medicine-dialog h3 {
  color: var(--reports-ink); font-family: "HRM Serif", serif; font-weight: 700;
}
.research-detail-theme-atelier .dialog-close-form .dialog-close {
  border-color: var(--reports-border); background: var(--reports-surface);
  color: var(--reports-action); font-weight: 700;
}
.research-detail-theme-atelier .medicine-facts > div {
  border-top: 1px solid var(--reports-border);
}
.research-detail-theme-atelier .medicine-report-context {
  border-radius: 0; background: var(--reports-reading); color: var(--reports-muted);
}
.research-detail-theme-atelier .medicine-dialog-actions .button-link {
  margin: 0; background: var(--reports-action); color: var(--reports-surface); font-weight: 700;
}
.research-detail-theme-atelier .medicine-dialog-actions .secondary-link {
  border: 1px solid var(--reports-action); background: transparent; color: var(--reports-action);
}

@media (prefers-reduced-motion: reduce) {
  .research-detail-theme-atelier .research-detail-technical > summary,
  .research-detail-theme-atelier .research-detail-technical > summary::after { transition: none; }
}

@media (max-width: 48rem) {
  .research-detail-theme-atelier .shell.report-shell {
    padding-inline: 1rem; padding-bottom: 3.5rem;
  }
  .research-detail-theme-atelier .research-detail-page { gap: 2.75rem; }
  .research-detail-theme-atelier .research-detail-breadcrumb { padding-top: .75rem; }
  .research-detail-theme-atelier .research-detail-header h1 {
    max-width: none; font-size: clamp(1.9rem, calc(1.65rem + 1.2vw), 2.35rem);
  }
  .research-detail-theme-atelier .research-detail-ai-note,
  .research-detail-theme-atelier .research-detail-question {
    grid-template-columns: minmax(0, 1fr); gap: .75rem; padding: 1rem;
  }
  .research-detail-theme-atelier .research-detail-question > h2 { grid-row: auto; }
  .research-detail-theme-atelier .research-detail-reader { gap: 3.25rem; }
  .research-detail-theme-atelier .research-detail-reader-intro,
  .research-detail-theme-atelier .research-detail-questions { padding: 1.1rem; }
  .research-detail-theme-atelier .report-source {
    grid-template-columns: 2.5rem minmax(0, 1fr); gap: .85rem; padding: 1.25rem 0;
  }
  .research-detail-theme-atelier .source-actions { align-items: flex-start; flex-direction: column; }
  .research-detail-theme-atelier .source-actions a { width: 100%; }
  .research-detail-theme-atelier .medicine-dialog-actions,
  .research-detail-theme-atelier .medicine-dialog-actions .button-link { width: 100%; }
}

/* Official source register: Zorgatelier shaped around medicines and guidelines. */
.official-index-theme-atelier {
  --official-canvas: #eee8f4;
  --official-surface: #fffafd;
  --official-ink: #3b203b;
  --official-muted: #5b445d;
  --official-action: #793c5b;
  --official-action-hover: #572740;
  --official-header: #4c2448;
  --official-header-hover: #6e3b68;
  --official-border: #cfbed5;
  --official-reading: #ddd0e7;
  --official-field: #d8c9e5;
  --official-coral: #f2b49e;
  --official-peach: #f1c9bc;
  min-height: 100vh; background: var(--official-canvas); color: var(--official-ink);
  font-family: "HRM Sans", ui-sans-serif, sans-serif;
}
.official-index-theme-atelier a { color: var(--official-action); }
.official-index-theme-atelier a:focus-visible,
.official-index-theme-atelier button:focus-visible,
.official-index-theme-atelier input:focus-visible,
.official-index-theme-atelier summary:focus-visible { outline-color: #d45d37; }
.official-index-theme-atelier .skip-link { background: var(--official-surface); color: var(--official-ink); }
.official-index-theme-atelier .site-header {
  position: sticky; top: 0; z-index: 30; display: grid;
  grid-template-columns: minmax(7rem, 1fr) auto minmax(7rem, 1fr);
  min-height: 5.25rem; border: 0; background: var(--official-header); color: var(--official-surface);
}
.official-index-theme-atelier .brand {
  min-width: auto; justify-self: start; justify-content: flex-start; border: 0;
  font-family: "HRM Serif", serif; font-size: 1.45rem; letter-spacing: 0;
}
.official-index-theme-atelier .site-header > .brand,
.official-index-theme-atelier .account-nav-primary > a { color: var(--official-surface); }
.official-index-theme-atelier .account-nav { display: contents; }
.official-index-theme-atelier .account-nav-primary {
  grid-column: 2; justify-content: center; gap: .25rem;
}
.official-index-theme-atelier .account-nav-session { grid-column: 3; justify-self: end; }
.official-index-theme-atelier .account-nav-primary > a,
.official-index-theme-atelier .nav-dropdown > summary,
.official-index-theme-atelier .link-button {
  border-radius: .55rem; padding-inline: .65rem; font-size: .9rem; font-weight: 650;
}
.official-index-theme-atelier .account-nav-primary > a:hover,
.official-index-theme-atelier .account-nav-primary > a:focus-visible,
.official-index-theme-atelier .account-nav-primary > a[aria-current="page"],
.official-index-theme-atelier .nav-dropdown > summary:hover,
.official-index-theme-atelier .link-button:hover {
  background: var(--official-header-hover); color: var(--official-surface); text-decoration: none;
}
.official-index-theme-atelier .nav-dropdown-menu {
  border-color: var(--official-border); background: var(--official-surface); color: var(--official-ink);
  box-shadow: 0 .75rem 2rem rgba(59, 32, 59, .14);
}
.official-index-theme-atelier .site-header .nav-dropdown-menu a { color: var(--official-ink); }
.official-index-theme-atelier .site-header .nav-dropdown-menu a:hover,
.official-index-theme-atelier .site-header .nav-dropdown-menu a:focus-visible { background: var(--official-canvas); }
.official-index-theme-atelier .shell.official-index-shell {
  width: min(82rem, 100%); padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(3rem, 8vw, 6rem);
}
.official-index-theme-atelier .official-index-page {
  display: grid; width: 100%; min-width: 0; gap: clamp(1.75rem, 4vw, 3rem);
}
.official-index-theme-atelier .official-index-page > * { min-width: 0; }
.official-index-theme-atelier .official-index-heading-copy { min-width: 0; }
.official-index-theme-atelier .official-index-header {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, .32fr);
  gap: 2rem; align-items: end; padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(1.75rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--official-action);
}
.official-index-theme-atelier .official-index-header h1 {
  max-width: 18ch; margin: 0; color: var(--official-ink); font-family: "HRM Serif", serif;
  font-size: clamp(3.15rem, 6vw, 4.8rem); font-weight: 700; line-height: .98;
  letter-spacing: -.035em; hyphens: auto; overflow-wrap: break-word; text-wrap: balance;
}
.official-index-theme-atelier .official-index-heading-copy > p {
  max-width: 67ch; margin: 1.2rem 0 0; color: var(--official-muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.65;
}
.official-index-theme-atelier .official-index-source-note {
  margin: 0; padding-top: 1rem; border-top: 1px solid var(--official-coral);
  color: var(--official-action); font-size: .95rem; font-weight: 600; line-height: 1.5;
}
.official-index-theme-atelier .official-index-safety {
  display: grid; grid-template-columns: minmax(16rem, .75fr) minmax(0, 1.25fr);
  width: min(74rem, 100%); margin-inline: auto; gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start; padding: 1.15rem 1.25rem; background: var(--official-peach);
  color: var(--official-ink);
}
.official-index-theme-atelier .official-index-safety strong {
  font-family: "HRM Serif", serif; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.35;
}
.official-index-theme-atelier .official-index-safety p {
  max-width: 68ch; margin: 0; color: var(--official-muted); line-height: 1.6;
}
.official-index-theme-atelier .official-index-tools {
  display: grid; width: min(74rem, 100%); margin-inline: auto; gap: 1rem;
}
.official-index-theme-atelier .official-index-tools-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 1rem;
}
.official-index-theme-atelier .official-index-tools-heading h2 {
  margin: 0; font-family: "HRM Serif", serif; font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700; line-height: 1.2;
}
.official-index-theme-atelier .official-index-tools-heading p {
  margin: .3rem 0 0; color: var(--official-muted); font-size: .92rem; font-weight: 600; line-height: 1.5;
}
.official-index-theme-atelier .official-index-search {
  display: grid; gap: .65rem; margin: 0; padding: 1.15rem 1.25rem;
  background: var(--official-reading);
}
.official-index-theme-atelier .official-index-search label { color: var(--official-ink); font-weight: 600; }
.official-index-theme-atelier .official-index-search-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem;
}
.official-index-theme-atelier .official-index-search input {
  min-width: 0; min-height: 3rem; border-color: var(--official-border);
  background: var(--official-surface); color: var(--official-ink); font-size: 1rem;
}
.official-index-theme-atelier .official-index-search input::placeholder { color: #725d74; opacity: 1; }
.official-index-theme-atelier .official-index-search button {
  min-height: 3rem; padding-inline: 1.2rem; background: var(--official-action); color: var(--official-surface);
  font-weight: 700;
}
.official-index-theme-atelier .official-index-search button:hover { background: var(--official-action-hover); }
.official-index-theme-atelier .official-status-guide {
  display: grid; grid-template-columns: minmax(13rem, .55fr) minmax(0, 1.45fr);
  gap: clamp(1.25rem, 4vw, 3rem); align-items: start; border-top: 1px solid var(--official-action);
  border-bottom: 1px solid var(--official-border); padding: 1rem 0;
}
.official-index-theme-atelier .official-status-guide-intro h2 {
  margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.4;
}
.official-index-theme-atelier .official-status-guide-intro p {
  margin: .35rem 0 0; color: var(--official-muted); font-size: .88rem; line-height: 1.55;
}
.official-index-theme-atelier .medicine-status-glossary { min-width: 0; margin: 0; border: 0; padding: 0; }
.official-index-theme-atelier .medicine-status-glossary > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 2.75rem; padding: 0 .25rem; color: var(--official-action); font-weight: 700;
  list-style: none; cursor: pointer;
}
.official-index-theme-atelier .medicine-status-glossary > summary::-webkit-details-marker { display: none; }
.official-index-theme-atelier .medicine-status-glossary > summary::after {
  width: .65rem; height: .65rem; flex: 0 0 auto; border-right: .14rem solid currentcolor;
  border-bottom: .14rem solid currentcolor; content: ""; transform: rotate(45deg);
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.official-index-theme-atelier .medicine-status-glossary[open] > summary::after { transform: rotate(225deg); }
.official-index-theme-atelier .medicine-status-glossary > p {
  max-width: 68ch; margin: .5rem .25rem 0; color: var(--official-muted); line-height: 1.65;
}
.official-index-theme-atelier .medicine-status-glossary dl {
  margin: .75rem .25rem 0; border-top: 1px solid var(--official-border);
}
.official-index-theme-atelier .medicine-status-glossary dl > div {
  grid-template-columns: minmax(13rem, .8fr) minmax(0, 2fr); gap: 1rem;
  border-bottom: 1px solid var(--official-border); padding: .9rem 0;
}
.official-index-theme-atelier .medicine-status-glossary dt { font-weight: 600; }
.official-index-theme-atelier .medicine-status-glossary dd { color: var(--official-muted); }
.official-index-theme-atelier .official-register {
  display: grid; width: min(74rem, 100%); margin-inline: auto; gap: 0;
}
.official-index-theme-atelier .official-register-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid var(--official-action); padding-bottom: .85rem;
}
.official-index-theme-atelier .official-register-heading h2 {
  margin: 0; font-family: "HRM Serif", serif; font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 700; line-height: 1.2;
}
.official-index-theme-atelier .official-register-heading p {
  margin: 0; color: var(--official-muted); font-size: .9rem; font-weight: 600; text-align: right;
}
.official-index-theme-atelier .official-register-list { display: grid; gap: 0; }
.official-index-theme-atelier .official-record {
  display: grid; grid-template-columns: minmax(12rem, .4fr) minmax(0, 1.6fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); min-width: 0; border-bottom: 1px solid var(--official-border);
  padding: clamp(1.75rem, 3vw, 2.25rem) 0;
}
.official-index-theme-atelier .official-record-meta {
  align-self: start; min-width: 0; padding: 1rem; background: var(--official-reading);
  color: var(--official-muted);
}
.official-index-theme-atelier .official-record-meta > strong {
  display: block; color: var(--official-ink); font-size: .95rem; font-weight: 600;
  line-height: 1.4; overflow-wrap: anywhere;
}
.official-index-theme-atelier .official-record-meta > p {
  margin: .55rem 0 0; font-size: .85rem; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere;
}
.official-index-theme-atelier .official-record-meta > .status {
  max-width: 100%; margin-top: .8rem; border-radius: .4rem; font-size: .78rem; line-height: 1.35;
  font-weight: 600; overflow-wrap: anywhere;
}
.official-index-theme-atelier .official-record-meta > .status.good { background: #d9f3e7; color: #155e49; }
.official-index-theme-atelier .official-record-meta > .status.pending { background: var(--official-peach); color: #65324c; }
.official-index-theme-atelier .official-record-body { min-width: 0; }
.official-index-theme-atelier .official-record-body h3 {
  max-width: 30ch; margin: -.2rem 0 1rem; font-family: "HRM Serif", serif;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem); font-weight: 700; line-height: 1.18; letter-spacing: -.018em;
  overflow-wrap: anywhere; text-wrap: balance;
}
.official-index-theme-atelier .official-record-body h3 a { color: var(--official-ink); text-decoration: none; }
.official-index-theme-atelier .official-record-body h3 a:hover {
  color: var(--official-action); text-decoration: underline; text-underline-offset: .12em;
}
.official-index-theme-atelier .official-record-status { max-width: 70ch; color: var(--official-muted); }
.official-index-theme-atelier .official-record-status > p,
.official-index-theme-atelier p.official-record-status { margin: 0; line-height: 1.65; }
.official-index-theme-atelier .official-record-status .small {
  color: var(--official-muted); font-weight: 600;
}
.official-index-theme-atelier .official-record-status .status { font-weight: 600; }
.official-index-theme-atelier .official-record-status .result-status-details { margin-top: .3rem; }
.official-index-theme-atelier .official-record-status .result-status-details > summary {
  color: var(--official-action); font-size: .9rem; font-weight: 700;
}
.official-index-theme-atelier .official-record-status .result-status-details > p {
  color: var(--official-muted); font-size: .92rem;
}
.official-index-theme-atelier .official-record-events {
  display: flex; flex-wrap: wrap; gap: .45rem; max-width: 70ch; margin-top: 1rem;
}
.official-index-theme-atelier .official-record-events p {
  margin: 0; padding: .35rem .55rem; background: var(--official-peach); color: var(--official-ink);
  font-size: .82rem; font-weight: 600; line-height: 1.4;
}
.official-index-theme-atelier .official-record-action {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(31rem, 100%); min-height: 3rem; margin-top: 1.25rem;
  border-top: 1px solid var(--official-border); border-bottom: 1px solid var(--official-border);
  padding: .65rem .25rem; color: var(--official-action); font-weight: 700; text-decoration: none;
}
.official-index-theme-atelier .official-record-action::after {
  width: .55rem; height: .55rem; flex: 0 0 auto; margin-right: .25rem;
  border-top: .14rem solid currentcolor; border-right: .14rem solid currentcolor;
  content: ""; transform: rotate(45deg);
}
.official-index-theme-atelier .official-record-action:hover {
  border-color: var(--official-action); padding-inline: .75rem;
  background: var(--official-field); color: var(--official-action-hover);
}
.official-index-theme-atelier .official-register-pagination {
  display: grid; grid-template-columns: minmax(7rem, 1fr) auto minmax(7rem, 1fr);
  align-items: center; gap: 1rem; margin-top: .5rem; border-top: 1px solid var(--official-action);
  padding-top: 1.25rem; color: var(--official-muted); font-size: .92rem; text-align: center;
}
.official-index-theme-atelier .official-pagination-link {
  display: inline-flex; align-items: center; justify-content: center; width: fit-content;
  min-height: 2.75rem; border: 1px solid var(--official-action); border-radius: .55rem;
  padding: .55rem .9rem; color: var(--official-action); font-weight: 700; text-decoration: none;
}
.official-index-theme-atelier .official-pagination-link.is-previous { justify-self: start; }
.official-index-theme-atelier .official-pagination-link.is-next { grid-column: 3; justify-self: end; }
.official-index-theme-atelier .official-pagination-link:hover {
  background: var(--official-action); color: var(--official-surface);
}
.official-index-theme-atelier .official-index-empty-state {
  width: min(74rem, 100%); margin-inline: auto; padding: 3rem 1.5rem;
  background: var(--official-surface); text-align: center;
  box-shadow: 0 1rem 2.5rem rgba(59, 32, 59, .09);
}
.official-index-theme-atelier .official-index-empty-state h2 { font-family: "HRM Serif", serif; }

@media (prefers-reduced-motion: reduce) {
  .official-index-theme-atelier .medicine-status-glossary > summary::after { transition: none; }
}

@media (max-width: 78rem) and (min-width: 48.01rem) {
  .official-index-theme-atelier .site-header {
    grid-template-columns: 1fr auto; gap: .25rem 1rem;
  }
  .official-index-theme-atelier .account-nav-primary {
    grid-column: 1 / -1; grid-row: 2; justify-self: center;
    flex-wrap: wrap; justify-content: center;
  }
  .official-index-theme-atelier .account-nav-session {
    grid-column: 2; grid-row: 1; justify-self: end;
  }
}

@media (max-width: 48rem) {
  .official-index-theme-atelier .site-header {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center; gap: .5rem; min-height: 0; padding: .35rem .75rem;
  }
  .official-index-theme-atelier .brand { min-height: 2.5rem; font-size: 1.2rem; }
  .official-index-theme-atelier .account-nav-primary {
    grid-column: 2; grid-row: 1; min-width: 0; flex: 1; flex-wrap: nowrap;
    justify-content: start; gap: .1rem; overflow-x: auto; scrollbar-width: thin;
  }
  .official-index-theme-atelier .account-nav-session {
    grid-column: 3; grid-row: 1; justify-self: end;
  }
  .official-index-theme-atelier .account-nav-primary > a,
  .official-index-theme-atelier .nav-dropdown > summary,
  .official-index-theme-atelier .link-button {
    flex: none; padding-inline: .5rem; font-size: .78rem;
  }
  .official-index-theme-atelier .nav-dropdown-menu {
    position: fixed; inset: 3.3rem .75rem auto; width: auto;
    max-height: calc(100dvh - 4rem); overflow-y: auto;
  }
  .official-index-theme-atelier .shell.official-index-shell { padding-inline: 1rem; padding-bottom: 3.5rem; }
  .official-index-theme-atelier .official-index-page { gap: 2rem; }
  .official-index-theme-atelier .official-index-header {
    grid-template-columns: 1fr; gap: 1.75rem; align-items: start; padding: 2.75rem 0 1.75rem;
  }
  .official-index-theme-atelier .official-index-header h1 {
    max-width: 12ch; font-size: clamp(2.35rem, 11.5vw, 3.25rem);
  }
  .official-index-theme-atelier .official-index-source-note { max-width: 22rem; }
  .official-index-theme-atelier .official-index-safety {
    grid-template-columns: 1fr; gap: .65rem; padding: 1rem;
  }
  .official-index-theme-atelier .official-index-search { padding: 1rem; }
  .official-index-theme-atelier .official-index-search-row { grid-template-columns: minmax(0, 1fr); }
  .official-index-theme-atelier .official-index-search button { width: 100%; }
  .official-index-theme-atelier .official-status-guide { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .official-index-theme-atelier .medicine-status-glossary dl > div { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
  .official-index-theme-atelier .official-register-heading {
    align-items: start; flex-direction: column; gap: .35rem;
  }
  .official-index-theme-atelier .official-register-heading p { text-align: left; }
  .official-index-theme-atelier .official-record {
    grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.5rem 0;
  }
  .official-index-theme-atelier .official-record-meta {
    display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .75rem; padding: .8rem;
  }
  .official-index-theme-atelier .official-record-meta > strong { width: 100%; }
  .official-index-theme-atelier .official-record-meta > p,
  .official-index-theme-atelier .official-record-meta > .status { margin: 0; }
  .official-index-theme-atelier .official-record-body h3 { max-width: none; margin-top: 0; }
  .official-index-theme-atelier .official-record-action { width: 100%; }
  .official-index-theme-atelier .official-register-pagination {
    grid-template-columns: 1fr 1fr; gap: .75rem;
  }
  .official-index-theme-atelier .official-register-pagination > span {
    grid-column: 1 / -1; grid-row: 1;
  }
  .official-index-theme-atelier .official-register-pagination .official-pagination-link.is-previous { grid-column: 1; }
  .official-index-theme-atelier .official-register-pagination .official-pagination-link.is-next { grid-column: 2; }
}

/* Official source detail: patient interpretation, current source passport, then retained chronology. */
.official-detail-theme-atelier .shell.official-detail-shell {
  width: min(82rem, 100%); padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(3rem, 8vw, 6rem);
}
.official-detail-theme-atelier .official-detail-breadcrumb {
  width: min(76rem, 100%); margin: 0 auto; padding-top: 1rem;
  color: var(--official-muted); font-size: .9rem; font-weight: 600;
}
.official-detail-theme-atelier .official-detail-breadcrumb a {
  color: var(--official-action); text-underline-offset: .18em;
}
.official-detail-theme-atelier .official-detail-page {
  display: grid; width: min(76rem, 100%); margin: 0 auto;
  gap: clamp(2.1rem, 4.5vw, 3.75rem);
}
.official-detail-theme-atelier .official-detail-page > * { min-width: 0; }
.official-detail-theme-atelier .official-detail-header {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end;
  margin: 0; padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2.1rem);
  border-bottom: 1px solid var(--official-action);
}
.official-detail-theme-atelier .official-detail-heading-copy { min-width: 0; }
.official-detail-theme-atelier .official-detail-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .65rem;
  margin-bottom: 1rem; color: var(--official-action); font-size: .88rem; font-weight: 600;
}
.official-detail-theme-atelier .official-detail-meta .status {
  max-width: 100%; border-radius: .4rem; font-size: .78rem; line-height: 1.35;
  font-weight: 600; white-space: normal;
}
.official-detail-theme-atelier .official-detail-status-label { color: var(--official-muted); }
.official-detail-theme-atelier .official-detail-meta .small {
  color: var(--official-muted); font-size: .78rem; font-weight: 600;
}
.official-detail-theme-atelier .official-detail-header h1 {
  max-width: 28ch; margin: 0; color: var(--official-ink); font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-title); font-weight: 700; line-height: 1.08;
  letter-spacing: -.025em; overflow-wrap: normal; word-break: normal; hyphens: manual;
  text-wrap: balance;
}
.official-detail-theme-atelier .official-detail-source-action {
  min-height: 3rem; border: 1px solid var(--official-action); border-radius: .55rem;
  padding: .7rem 1rem; background: var(--official-action); color: var(--official-surface);
  font-weight: 700; white-space: nowrap;
}
.official-detail-theme-atelier .official-detail-source-action:hover {
  border-color: var(--official-action-hover); background: var(--official-action-hover);
  color: var(--official-surface);
}
.official-detail-theme-atelier .official-detail-safety {
  display: grid; grid-template-columns: minmax(16rem, .75fr) minmax(0, 1.25fr);
  gap: clamp(1.25rem, 4vw, 3rem); align-items: start; width: min(72rem, 100%);
  margin: 0 auto; border: 0; border-radius: 0; padding: 1.15rem 1.25rem;
  background: var(--official-peach); color: var(--official-ink); box-shadow: none;
}
.official-detail-theme-atelier .official-detail-safety strong {
  color: var(--official-ink); font-family: "HRM Serif", serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.35;
}
.official-detail-theme-atelier .official-detail-safety p {
  max-width: 68ch; margin: 0; color: var(--official-muted); line-height: 1.6;
}
.official-detail-theme-atelier .official-detail-explanation {
  display: grid; width: min(72rem, 100%); margin: 0 auto; gap: clamp(1.5rem, 3vw, 2.4rem);
  border: 0; border-radius: 0; padding: clamp(1.35rem, 4vw, 2.6rem);
  background: var(--official-reading); color: var(--official-ink); box-shadow: none;
}
.official-detail-theme-atelier .official-detail-section-heading {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, .35fr);
  gap: 1.5rem; align-items: end; border-bottom: 1px solid var(--official-action);
  padding-bottom: 1rem;
}
.official-detail-theme-atelier .official-detail-section-heading h2 {
  margin: 0; color: var(--official-ink); font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-section); font-weight: 700; line-height: 1.18;
  letter-spacing: -.015em; text-wrap: balance;
}
.official-detail-theme-atelier .official-detail-section-heading p {
  margin: 0; color: var(--official-action); font-size: .88rem; font-weight: 600;
  line-height: 1.5; text-align: right;
}
.official-detail-theme-atelier .official-reader-copy {
  max-width: 64ch; color: var(--official-ink); font-size: var(--dossier-reading-body);
  line-height: 1.7;
}
.official-detail-theme-atelier .official-reader-copy > p { margin: 0 0 1rem; overflow-wrap: break-word; }
.official-detail-theme-atelier .official-reader-copy > p:first-child {
  margin-bottom: .35rem; font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-subsection);
}
.official-detail-theme-atelier .official-reader-copy h3 {
  margin: 2rem 0 .55rem; border-top: 1px solid var(--official-border); padding-top: 1rem;
  color: var(--official-ink); font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-subsection); font-weight: 700; line-height: 1.3;
}
.official-detail-theme-atelier .official-detail-status-explanation {
  max-width: 70ch; margin: 0; border: 0; border-top: 1px solid var(--official-action);
  border-bottom: 1px solid var(--official-border); border-radius: 0; padding: 1.25rem 0;
  background: transparent; color: var(--official-ink);
}
.official-detail-theme-atelier .official-detail-status-explanation h2,
.official-detail-theme-atelier .official-detail-status-explanation h3 {
  margin: 0 0 .6rem; color: var(--official-ink); font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-subsection); font-weight: 700; line-height: 1.3;
}
.official-detail-theme-atelier .official-detail-status-explanation h3:not(:first-child) {
  margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--official-border);
}
.official-detail-theme-atelier .official-detail-status-explanation p {
  max-width: 68ch; margin: 0; color: var(--official-muted); line-height: 1.7;
}
.official-detail-theme-atelier .related-medicine-link { margin: 0; }
.official-detail-theme-atelier .related-medicine-link .button-link.secondary {
  justify-content: space-between; width: min(36rem, 100%); min-height: 3rem;
  border: 1px solid var(--official-action); border-radius: .55rem; padding: .7rem 1rem;
  background: var(--official-surface); color: var(--official-action); font-weight: 700;
}
.official-detail-theme-atelier .related-medicine-link .button-link.secondary:hover {
  background: var(--official-action); color: var(--official-surface);
}
.official-detail-theme-atelier .official-detail-limit {
  max-width: 70ch; margin: 0; border: 0; border-radius: 0; padding: 1.15rem 1.25rem;
  background: var(--official-peach); color: var(--official-ink);
}
.official-detail-theme-atelier .official-detail-limit h3 {
  margin: 0 0 .55rem; color: var(--official-ink); font-family: "HRM Serif", serif;
  font-size: 1.25rem; font-weight: 700;
}
.official-detail-theme-atelier .official-detail-limit p {
  max-width: 68ch; margin: 0 0 .7rem; color: var(--official-muted); line-height: 1.65;
}
.official-detail-theme-atelier .official-detail-limit p:last-child { margin-bottom: 0; }
.official-detail-theme-atelier .official-detail-explanation-provenance {
  max-width: 70ch; margin: 0; border-top: 1px solid var(--official-border); padding-top: 1rem;
  color: var(--official-muted); font-size: .82rem; font-weight: 600; line-height: 1.55;
}
.official-detail-theme-atelier .official-detail-status-guide {
  max-width: 70ch; border-top: 1px solid var(--official-action);
  border-bottom: 1px solid var(--official-border); padding: .55rem 0;
}
.official-detail-theme-atelier .official-detail-status-guide .medicine-status-glossary {
  margin: 0; border: 0; padding: 0; background: transparent;
}
.official-detail-theme-atelier .official-detail-status-guide .medicine-status-glossary > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3rem; padding: .45rem .25rem; color: var(--official-action);
  font-weight: 700; list-style: none;
}
.official-detail-theme-atelier .official-detail-status-guide .medicine-status-glossary > summary::-webkit-details-marker { display: none; }
.official-detail-theme-atelier .official-detail-status-guide .medicine-status-glossary > summary::after,
.official-detail-theme-atelier .official-indication > summary::after,
.official-detail-theme-atelier .official-detail-history-entry details > summary::after {
  width: .6rem; height: .6rem; flex: 0 0 auto; margin-right: .25rem;
  border-right: .14rem solid currentcolor; border-bottom: .14rem solid currentcolor;
  content: ""; transform: rotate(45deg);
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.official-detail-theme-atelier .official-detail-status-guide .medicine-status-glossary[open] > summary::after,
.official-detail-theme-atelier .official-indication[open] > summary::after,
.official-detail-theme-atelier .official-detail-history-entry details[open] > summary::after {
  transform: rotate(225deg);
}
.official-detail-theme-atelier .official-detail-status-guide .medicine-status-glossary > p {
  max-width: 68ch; margin: .75rem .25rem; color: var(--official-muted); line-height: 1.65;
}
.official-detail-theme-atelier .official-detail-status-guide .medicine-status-glossary dl {
  margin: .75rem .25rem 0; border-top: 1px solid var(--official-border);
}
.official-detail-theme-atelier .official-detail-status-guide .medicine-status-glossary dl > div {
  display: grid; grid-template-columns: minmax(13rem, .8fr) minmax(0, 2fr);
  gap: 1rem; border-bottom: 1px solid var(--official-border); padding: .9rem 0;
}
.official-detail-theme-atelier .official-detail-status-guide .medicine-status-glossary dt { font-weight: 600; }
.official-detail-theme-atelier .official-detail-status-guide .medicine-status-glossary dd {
  margin: 0; color: var(--official-muted); line-height: 1.6;
}
.official-detail-theme-atelier .official-indication {
  max-width: 70ch; margin: 0; border-top: 1px solid var(--official-border); padding-top: .55rem;
}
.official-detail-theme-atelier .official-indication > summary,
.official-detail-theme-atelier .official-detail-history-entry details > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3rem; color: var(--official-action); font-weight: 700; list-style: none;
}
.official-detail-theme-atelier .official-indication > summary::-webkit-details-marker,
.official-detail-theme-atelier .official-detail-history-entry details > summary::-webkit-details-marker { display: none; }
.official-detail-theme-atelier .official-indication p {
  margin: .75rem 0 1rem; color: var(--official-muted); line-height: 1.65;
  overflow-wrap: break-word;
}
.official-detail-theme-atelier .official-detail-facts,
.official-detail-theme-atelier .official-detail-history {
  display: grid; width: min(72rem, 100%); margin: 0 auto; gap: 0;
  border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none;
}
.official-detail-theme-atelier .official-detail-chapter-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid var(--official-action); padding-bottom: .85rem;
}
.official-detail-theme-atelier .official-detail-chapter-heading > * { min-width: 0; }
.official-detail-theme-atelier .official-detail-chapter-heading h2 {
  margin: 0; color: var(--official-ink); font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-section); font-weight: 700; line-height: 1.18;
  overflow-wrap: break-word;
}
.official-detail-theme-atelier .official-detail-history-heading p {
  margin: 0; color: var(--official-muted); font-size: .88rem; font-weight: 600;
}
.official-detail-theme-atelier .official-detail-facts .detail-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 0;
}
.official-detail-theme-atelier .official-detail-facts .detail-grid > div {
  display: grid; grid-template-columns: minmax(8rem, .7fr) minmax(0, 1.3fr);
  gap: 1rem; align-items: baseline; border-bottom: 1px solid var(--official-border);
  padding: 1rem 0;
}
.official-detail-theme-atelier .official-detail-facts dt {
  color: var(--official-muted); font-size: .82rem; font-weight: 600; line-height: 1.45;
}
.official-detail-theme-atelier .official-detail-facts dd {
  min-width: 0; margin: 0; color: var(--official-ink); font-weight: 600;
  line-height: 1.5; overflow-wrap: anywhere;
}
.official-detail-theme-atelier .official-detail-history-list { display: grid; gap: 0; }
.official-detail-theme-atelier .official-detail-history-entry {
  min-width: 0; border: 0; border-bottom: 1px solid var(--official-border);
  padding: 1.5rem 0;
}
.official-detail-theme-atelier .official-detail-history-entry + .official-detail-history-entry {
  border-top: 0; padding-top: 1.5rem;
}
.official-detail-theme-atelier .official-detail-history-entry h3 {
  margin: 0 0 .85rem; color: var(--official-ink); font-family: "HRM Serif", serif;
  font-size: var(--dossier-reading-subsection); font-weight: 700; line-height: 1.3;
}
.official-detail-theme-atelier .official-detail-history-entry > ul {
  display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 .75rem; padding: 0; list-style: none;
}
.official-detail-theme-atelier .official-detail-history-entry > ul li {
  padding: .35rem .55rem; background: var(--official-peach); color: var(--official-ink);
  font-size: .82rem; font-weight: 600; line-height: 1.4;
}
.official-detail-theme-atelier .official-detail-history-entry > .small {
  margin: 0; color: var(--official-muted); font-size: .88rem; font-weight: 600;
}
.official-detail-theme-atelier .official-detail-history-entry details {
  margin-top: .5rem; border-top: 1px solid var(--official-border); padding-top: .4rem;
}
.official-detail-theme-atelier .official-detail-history-entry .change-list {
  margin: .5rem 0 0; border-top: 1px solid var(--official-border);
}
.official-detail-theme-atelier .official-detail-history-entry .change-list > div {
  display: grid; grid-template-columns: minmax(10rem, .55fr) minmax(0, 1.45fr);
  gap: .45rem 1.5rem; border-bottom: 1px solid var(--official-border); padding: 1rem 0;
}
.official-detail-theme-atelier .official-detail-history-entry .change-list dt {
  grid-row: 1 / span 2; color: var(--official-ink); font-weight: 600;
}
.official-detail-theme-atelier .official-detail-history-entry .change-list dd {
  margin: 0; color: var(--official-muted); line-height: 1.55; overflow-wrap: anywhere;
}
.official-detail-theme-atelier .official-detail-history-entry .change-list dd .small {
  color: var(--official-action); font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .official-detail-theme-atelier .official-detail-status-guide .medicine-status-glossary > summary::after,
  .official-detail-theme-atelier .official-indication > summary::after,
  .official-detail-theme-atelier .official-detail-history-entry details > summary::after { transition: none; }
}

@media (max-width: 48rem) {
  .official-detail-theme-atelier .shell.official-detail-shell {
    padding-inline: 1rem; padding-bottom: 3.5rem;
  }
  .official-detail-theme-atelier .official-detail-breadcrumb { padding-top: .75rem; }
  .official-detail-theme-atelier .official-detail-page { gap: 2.75rem; }
  .official-detail-theme-atelier .official-detail-header {
    grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start;
    padding: 2rem 0 1.75rem;
  }
  .official-detail-theme-atelier .official-detail-header h1 {
    max-width: none; font-size: clamp(1.9rem, calc(1.65rem + 1.2vw), 2.35rem);
  }
  .official-detail-theme-atelier .official-detail-source-action { width: 100%; white-space: normal; }
  .official-detail-theme-atelier .official-detail-safety {
    grid-template-columns: minmax(0, 1fr); gap: .65rem; padding: 1rem;
  }
  .official-detail-theme-atelier .official-detail-explanation { padding: 1.1rem; }
  .official-detail-theme-atelier .official-detail-section-heading {
    grid-template-columns: minmax(0, 1fr); gap: .6rem; align-items: start;
  }
  .official-detail-theme-atelier .official-detail-section-heading p { text-align: left; }
  .official-detail-theme-atelier .official-detail-status-guide .medicine-status-glossary dl > div,
  .official-detail-theme-atelier .official-detail-history-entry .change-list > div {
    grid-template-columns: minmax(0, 1fr); gap: .45rem;
  }
  .official-detail-theme-atelier .official-detail-history-entry .change-list dt { grid-row: auto; }
  .official-detail-theme-atelier .official-detail-facts .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .official-detail-theme-atelier .official-detail-facts .detail-grid > div {
    grid-template-columns: minmax(7.5rem, .7fr) minmax(0, 1.3fr); gap: .75rem;
  }
  .official-detail-theme-atelier .official-detail-chapter-heading {
    align-items: start; flex-direction: column; gap: .35rem;
  }
  .official-detail-theme-atelier .official-detail-chapter-heading h2 {
    font-size: var(--dossier-reading-section);
  }
}

/* Publication reading dossier: one stable reading order across every AI state. */
.publication-detail-theme-atelier {
  --publication-reading-title: clamp(2.1rem, calc(1.8rem + .65vw), 2.75rem);
  --publication-reading-section: clamp(1.6rem, calc(1.45rem + .35vw), 1.9rem);
  --publication-reading-subsection: clamp(1.25rem, calc(1.15rem + .25vw), 1.5rem);
  --publication-reading-body: 1rem;
}
.publication-detail-theme-atelier .shell.publication-detail-shell {
  width: min(82rem, 100%); padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(3rem, 8vw, 6rem);
}
.publication-detail-theme-atelier .publication-reader-page {
  display: grid; width: 100%; min-width: 0; gap: clamp(1.75rem, 3vw, 3rem);
}
.publication-detail-theme-atelier .publication-reader-page > * { min-width: 0; }
.publication-detail-theme-atelier .publication-reader-breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: .55rem;
  margin: 0; padding-top: 1.5rem; color: var(--library-muted); font-size: .9rem;
}
.publication-detail-theme-atelier .publication-reader-breadcrumb a {
  display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--library-action);
  font-weight: 700; text-underline-offset: .18em;
}
.publication-detail-theme-atelier .publication-reader-header {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(13rem, .32fr);
  gap: clamp(1.5rem, 3vw, 3rem); align-items: end; border-bottom: 1px solid var(--library-action);
  padding: 0 0 clamp(1.5rem, 2vw, 1.75rem);
}
.publication-detail-theme-atelier .publication-reader-heading-copy { min-width: 0; }
.publication-detail-theme-atelier .publication-reader-header h1 {
  max-width: 26ch; margin: 0; color: var(--library-ink); font-family: "HRM Serif", serif;
  font-size: var(--publication-reading-title); font-weight: 700; line-height: 1.08;
  letter-spacing: -.025em; hyphens: manual; overflow-wrap: break-word; text-wrap: balance;
}
.publication-detail-theme-atelier .publication-reader-journal {
  max-width: 68ch; margin: 1.15rem 0 0; color: var(--library-muted);
  font-size: clamp(1rem, calc(.95rem + .15vw), 1.05rem); line-height: 1.6;
}
.publication-detail-theme-atelier .publication-reader-scientific-title {
  max-width: 72ch; margin-top: 1rem; border-top: 1px solid var(--library-border); padding-top: .35rem;
}
.publication-detail-theme-atelier .publication-reader-scientific-title > summary,
.publication-detail-theme-atelier .patient-term-help > summary,
.publication-detail-theme-atelier .technical-brief > summary,
.publication-detail-theme-atelier .source-abstract-details > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 2.75rem; color: var(--library-action); font-weight: 700;
  line-height: 1.45; list-style: none; cursor: pointer;
}
.publication-detail-theme-atelier .publication-reader-scientific-title > summary::-webkit-details-marker,
.publication-detail-theme-atelier .patient-term-help > summary::-webkit-details-marker,
.publication-detail-theme-atelier .technical-brief > summary::-webkit-details-marker,
.publication-detail-theme-atelier .source-abstract-details > summary::-webkit-details-marker { display: none; }
.publication-detail-theme-atelier .publication-reader-scientific-title > summary::after,
.publication-detail-theme-atelier .patient-term-help > summary::after,
.publication-detail-theme-atelier .technical-brief > summary::after,
.publication-detail-theme-atelier .source-abstract-details > summary::after {
  width: .65rem; height: .65rem; flex: 0 0 auto; margin-inline: .35rem;
  border-right: .14rem solid currentcolor; border-bottom: .14rem solid currentcolor;
  content: ""; transform: rotate(45deg); transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.publication-detail-theme-atelier .publication-reader-scientific-title[open] > summary::after,
.publication-detail-theme-atelier .patient-term-help[open] > summary::after,
.publication-detail-theme-atelier .technical-brief[open] > summary::after,
.publication-detail-theme-atelier .source-abstract-details[open] > summary::after { transform: rotate(225deg); }
.publication-detail-theme-atelier .publication-reader-scientific-title > p {
  margin: .5rem 0 0; color: var(--library-muted); line-height: 1.65; overflow-wrap: anywhere;
}
.publication-detail-theme-atelier .publication-reader-identity {
  display: flex; align-items: flex-start; flex-direction: column; gap: .65rem;
  min-width: 0; padding: 1rem; background: var(--library-reading); color: var(--library-muted);
}
.publication-detail-theme-atelier .publication-reader-identity .status {
  max-width: 100%; border-radius: .4rem; font-size: .8rem; font-weight: 600; line-height: 1.4;
  overflow-wrap: anywhere;
}
.publication-detail-theme-atelier .publication-reader-identity .status.good {
  background: var(--library-surface); color: var(--library-ink);
}
.publication-detail-theme-atelier .publication-reader-identity .status.pending {
  background: var(--library-peach); color: var(--library-ink);
}
.publication-detail-theme-atelier .publication-reader-identity .status.muted {
  background: var(--library-border); color: var(--library-ink);
}
.publication-detail-theme-atelier .publication-reader-identity p {
  margin: 0; font-size: .88rem; line-height: 1.5;
}
.publication-detail-theme-atelier .publication-reader-read-action {
  width: 100%; margin-top: .15rem;
}
.publication-detail-theme-atelier .publication-reader-read-action .secondary-button {
  width: 100%; min-height: 2.75rem; border: 1px solid var(--library-action);
  border-radius: .55rem; padding: .6rem .75rem; background: transparent;
  color: var(--library-action); font-size: .88rem; font-weight: 700;
}
.publication-detail-theme-atelier .publication-reader-read-action .secondary-button:hover {
  background: var(--library-field); color: var(--library-action-hover);
}
.publication-detail-theme-atelier .publication-conference-note,
.publication-detail-theme-atelier .publication-reader-ai-note {
  display: grid; grid-template-columns: minmax(15rem, .7fr) minmax(0, 1.3fr);
  width: min(72rem, 100%); margin-inline: auto; gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start; padding: 1.1rem 1.2rem; background: var(--library-peach);
  color: var(--library-ink);
}
.publication-detail-theme-atelier .publication-conference-note strong,
.publication-detail-theme-atelier .publication-reader-ai-note strong {
  font-family: "HRM Serif", serif; font-size: 1.05rem; line-height: 1.4;
}
.publication-detail-theme-atelier .publication-conference-note p,
.publication-detail-theme-atelier .publication-reader-ai-note p {
  max-width: 70ch; margin: 0; color: var(--library-muted); line-height: 1.6;
}
.publication-detail-theme-atelier .publication-reader-explanation,
.publication-detail-theme-atelier .publication-source-dossier,
.publication-detail-theme-atelier .publication-provenance-dossier {
  display: grid; width: min(72rem, 100%); min-width: 0; margin-inline: auto; gap: 1.5rem;
}
.publication-detail-theme-atelier .publication-reader-explanation-heading,
.publication-detail-theme-atelier .publication-dossier-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 2rem;
  border-bottom: 1px solid var(--library-action); padding-bottom: .9rem;
}
.publication-detail-theme-atelier .publication-reader-explanation-heading h2,
.publication-detail-theme-atelier .publication-dossier-heading h2 {
  margin: 0; color: var(--library-ink); font-family: "HRM Serif", serif;
  font-size: var(--publication-reading-section); font-weight: 700; line-height: 1.18; letter-spacing: -.015em;
}
.publication-detail-theme-atelier .publication-reader-explanation-heading > div > p,
.publication-detail-theme-atelier .publication-dossier-heading > div > p {
  max-width: 66ch; margin: .45rem 0 0; color: var(--library-muted); line-height: 1.6;
}
.publication-detail-theme-atelier .publication-reader-ai-status {
  max-width: 23rem; margin: 0; color: var(--library-muted); font-size: .85rem;
  line-height: 1.55; text-align: right;
}
.publication-detail-theme-atelier .publication-reader-ai-status .status {
  margin-right: .35rem; border-radius: .4rem; background: #d9f3e7; color: #155e49;
  font-weight: 600;
}
.publication-detail-theme-atelier .publication-reader-overview {
  min-width: 0; padding: clamp(1.1rem, 2vw, 1.6rem); background: var(--library-reading);
}
.publication-detail-theme-atelier .publication-reader-overview h3,
.publication-detail-theme-atelier .publication-explanation-group > h3,
.publication-detail-theme-atelier .publication-analysis-panel h3 {
  margin: 0; color: var(--library-ink); font-family: "HRM Serif", serif;
  font-size: var(--publication-reading-subsection); font-weight: 700; line-height: 1.3;
}
.publication-detail-theme-atelier .publication-summary {
  max-width: 64ch; margin-top: .85rem; color: var(--library-ink);
  font-size: var(--publication-reading-body); line-height: 1.7;
}
.publication-detail-theme-atelier .publication-summary p:first-child { margin-top: 0; }
.publication-detail-theme-atelier .publication-summary p:last-child { margin-bottom: 0; }
.publication-detail-theme-atelier .claim-sources {
  margin: 1rem 0 0; color: var(--library-muted); font-size: .85rem; line-height: 1.55;
}
.publication-detail-theme-atelier .claim-sources a,
.publication-detail-theme-atelier .patient-term-reference { text-underline-offset: .16em; }
.publication-detail-theme-atelier .claim-sources a { font-weight: 600; }
.publication-detail-theme-atelier .patient-term-reference {
  font-weight: inherit; text-decoration-thickness: .08rem;
}
.publication-detail-theme-atelier .publication-explanation-group {
  display: grid;
  grid-template-columns: minmax(0, 64ch) minmax(0, 1fr);
  gap: 1.1rem 0; margin: .75rem 0 0; border-top: 1px solid var(--library-action);
  padding: clamp(1.2rem, 2vw, 1.6rem) 0 0;
}
.publication-detail-theme-atelier .publication-explanation-group > h3 { grid-column: 1 / -1; margin-bottom: .25rem; }
.publication-detail-theme-atelier .publication-explanation-group > .explanation-claim,
.publication-detail-theme-atelier .publication-explanation-group > p { grid-column: 1; }
.publication-detail-theme-atelier .explanation-claim {
  max-width: none; border-top: 1px solid var(--library-border); padding-top: 1.15rem;
}
.publication-detail-theme-atelier .explanation-claim:first-of-type { border-top: 0; padding-top: 0; }
.publication-detail-theme-atelier .explanation-claim h4 {
  margin: 0 0 .55rem; color: var(--library-ink); font-size: 1rem;
  font-weight: 700; line-height: 1.45;
}
.publication-detail-theme-atelier .explanation-claim > p:not(.claim-sources),
.publication-detail-theme-atelier .publication-explanation-group > p {
  max-width: 64ch; margin-block: 0; color: var(--library-ink); line-height: 1.75;
}
.publication-detail-theme-atelier .explanation-claim > p:not(.claim-sources) + p:not(.claim-sources) { margin-top: 1rem; }
.publication-detail-theme-atelier .explanation-claim > p:last-child,
.publication-detail-theme-atelier .publication-explanation-group > p:last-child { margin-bottom: 0; }
.publication-detail-theme-atelier .patient-term-help,
.publication-detail-theme-atelier .technical-brief,
.publication-detail-theme-atelier .source-abstract-details {
  margin: 1rem 0 0; border-top: 1px solid var(--library-border);
  border-bottom: 1px solid var(--library-border); padding: .15rem 0;
}
.publication-detail-theme-atelier .patient-term-help > p,
.publication-detail-theme-atelier .technical-brief > .prose,
.publication-detail-theme-atelier .source-abstract-details > .prose {
  max-width: 74ch; color: var(--library-muted); line-height: 1.7;
}
.publication-detail-theme-atelier .patient-term-help dl {
  margin: .75rem 0 0; border-top: 1px solid var(--library-border);
}
.publication-detail-theme-atelier .patient-term-help dl > div {
  display: grid; grid-template-columns: minmax(12rem, .7fr) minmax(0, 1.3fr);
  gap: 1.5rem; border-bottom: 1px solid var(--library-border); padding: 1rem 0;
}
.publication-detail-theme-atelier .patient-term-help dt {
  color: var(--library-ink); font-weight: 600; overflow-wrap: anywhere;
}
.publication-detail-theme-atelier .patient-term-help dd {
  margin: 0; color: var(--library-muted); line-height: 1.65;
}
.publication-detail-theme-atelier .publication-reader-facts,
.publication-detail-theme-atelier .publication-provenance-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  margin: 1rem 0 0; border-top: 1px solid var(--library-border);
}
.publication-detail-theme-atelier .publication-reader-facts > div,
.publication-detail-theme-atelier .publication-provenance-grid > div {
  display: grid; align-content: start; justify-content: stretch; gap: .35rem;
  min-width: 0; border-bottom: 1px solid var(--library-border); padding: 1rem 1rem 1rem 0;
}
.publication-detail-theme-atelier .publication-reader-facts dt,
.publication-detail-theme-atelier .publication-provenance-grid dt {
  color: var(--library-muted); font-size: .82rem; font-weight: 600; line-height: 1.4;
}
.publication-detail-theme-atelier .publication-reader-facts dd,
.publication-detail-theme-atelier .publication-provenance-grid dd {
  margin: 0; color: var(--library-ink); font-weight: 600; line-height: 1.45;
  overflow-wrap: anywhere;
}
.publication-detail-theme-atelier .publication-reader-ai-note { width: 100%; margin-top: 1rem; }
.publication-detail-theme-atelier .publication-analysis-panel {
  min-width: 0; padding: clamp(1.25rem, 3vw, 2rem); background: var(--library-reading);
}
.publication-detail-theme-atelier .publication-analysis-panel > p {
  max-width: 70ch; color: var(--library-muted); line-height: 1.7;
}
.publication-detail-theme-atelier .publication-analysis-panel > p:first-of-type { margin-top: 1rem; }
.publication-detail-theme-atelier .publication-screening-explanation {
  max-width: 70ch; margin-top: 1rem; border-top: 1px solid var(--library-border);
  padding-top: 1rem;
}
.publication-detail-theme-atelier .publication-screening-explanation h4 {
  margin: 0 0 .55rem; color: var(--library-ink); font-size: 1rem;
  font-weight: 700; line-height: 1.45;
}
.publication-detail-theme-atelier .publication-screening-explanation > p:not(.claim-sources):not(.small) {
  margin: 0; color: var(--library-ink); line-height: 1.75;
}
.publication-detail-theme-atelier .publication-screening-explanation > p:not(.claim-sources):not(.small) + p:not(.claim-sources):not(.small) {
  margin-top: .85rem;
}
.publication-detail-theme-atelier .publication-analysis-panel form { margin-top: 1.25rem; }
.publication-detail-theme-atelier .publication-analysis-panel button {
  min-height: 3rem; background: var(--library-action); color: var(--library-surface);
}
.publication-detail-theme-atelier .publication-analysis-panel button:hover { background: var(--library-action-hover); }
.publication-detail-theme-atelier .publication-analysis-panel .small { font-size: .88rem; }
.publication-detail-theme-atelier .publication-analysis-state.is-deferred .publication-analysis-panel {
  background: var(--library-peach);
}
.publication-detail-theme-atelier .publication-analysis-state.is-failed .publication-analysis-panel {
  background: var(--library-coral);
}
.publication-detail-theme-atelier .publication-analysis-state.is-requestable .publication-analysis-panel,
.publication-detail-theme-atelier .publication-analysis-state.is-not_requested .publication-analysis-panel {
  background: var(--library-surface); box-shadow: 0 .75rem 2rem rgba(59, 32, 59, .08);
}
.publication-detail-theme-atelier .source-status-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  margin: 0; border-top: 1px solid var(--library-border);
  border-bottom: 1px solid var(--library-border);
}
.publication-detail-theme-atelier .source-status-grid > div {
  display: grid; align-content: start; gap: .35rem; min-width: 0;
  border: 0; border-radius: 0; padding: 1rem 1.25rem; background: transparent;
  box-shadow: none;
}
.publication-detail-theme-atelier .source-status-grid > div:first-child { padding-inline-start: 0; }
.publication-detail-theme-atelier .source-status-grid > div + div {
  border-inline-start: 1px solid var(--library-border);
}
.publication-detail-theme-atelier .source-status-grid .small {
  color: var(--library-muted); font-size: .82rem; font-weight: 600;
}
.publication-detail-theme-atelier .source-status-grid strong { font-weight: 600; overflow-wrap: anywhere; }
.publication-detail-theme-atelier .source-availability {
  max-width: 74ch; margin: 0; border: 0; padding: 1.1rem 1.2rem;
  background: var(--library-reading); color: var(--library-ink);
}
.publication-detail-theme-atelier .source-availability.good-callout { background: #d9f3e7; color: #155e49; }
.publication-detail-theme-atelier .source-availability.warning-callout {
  background: var(--library-peach); color: var(--library-ink);
}
.publication-detail-theme-atelier .source-availability p {
  max-width: 70ch; margin: .45rem 0 0; line-height: 1.65;
}
.publication-detail-theme-atelier .publication-abstract { overflow-wrap: anywhere; }
.publication-detail-theme-atelier .publication-provenance-dossier > p {
  max-width: 74ch; margin: 0; color: var(--library-muted); line-height: 1.7;
}
.publication-detail-theme-atelier .publication-actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: .5rem;
}
.publication-detail-theme-atelier .publication-actions .button-link,
.publication-detail-theme-atelier .publication-actions .secondary-button {
  min-height: 2.75rem; border-radius: .55rem; padding: .7rem 1rem; font-weight: 700;
}
.publication-detail-theme-atelier .publication-actions .button-link {
  background: var(--library-action); color: var(--library-surface);
}
.publication-detail-theme-atelier .publication-actions .button-link:hover { background: var(--library-action-hover); }
.publication-detail-theme-atelier .publication-actions .secondary-button {
  border: 1px solid var(--library-action); background: transparent; color: var(--library-action);
}
.publication-detail-theme-atelier .publication-actions .secondary-button:hover {
  background: var(--library-field); color: var(--library-action-hover);
}
.publication-detail-theme-atelier .publication-provenance-dossier > .small {
  margin-top: -.5rem; color: var(--library-muted); font-size: .85rem;
}
.publication-detail-theme-atelier .publication-provenance-dossier > p strong { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .publication-detail-theme-atelier .publication-reader-scientific-title > summary::after,
  .publication-detail-theme-atelier .patient-term-help > summary::after,
  .publication-detail-theme-atelier .technical-brief > summary::after,
  .publication-detail-theme-atelier .source-abstract-details > summary::after { transition: none; }
}

@media (max-width: 64rem) {
  .publication-detail-theme-atelier .publication-reader-facts,
  .publication-detail-theme-atelier .publication-provenance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 48rem) {
  .publication-detail-theme-atelier {
    --publication-reading-title: clamp(1.9rem, calc(1.65rem + 1.2vw), 2.35rem);
  }
  .publication-detail-theme-atelier .shell.publication-detail-shell {
    padding-inline: 1rem; padding-bottom: 3.5rem;
  }
  .publication-detail-theme-atelier .publication-reader-page { gap: 2rem; }
  .publication-detail-theme-atelier .publication-reader-breadcrumb { padding-top: .75rem; }
  .publication-detail-theme-atelier .publication-reader-header {
    grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: start;
  }
  .publication-detail-theme-atelier .publication-reader-header h1 {
    max-width: none;
  }
  .publication-detail-theme-atelier .publication-reader-identity {
    display: flex; align-items: center; flex-direction: row; flex-wrap: wrap; gap: .5rem .75rem;
  }
  .publication-detail-theme-atelier .publication-reader-identity p { width: 100%; }
  .publication-detail-theme-atelier .publication-reader-read-action { width: auto; margin-top: 0; }
  .publication-detail-theme-atelier .publication-reader-read-action .secondary-button { width: auto; }
  .publication-detail-theme-atelier .publication-conference-note,
  .publication-detail-theme-atelier .publication-reader-ai-note { grid-template-columns: 1fr; gap: .65rem; }
  .publication-detail-theme-atelier .publication-reader-explanation-heading,
  .publication-detail-theme-atelier .publication-dossier-heading {
    align-items: start; flex-direction: column; gap: .75rem;
  }
  .publication-detail-theme-atelier .publication-reader-ai-status { max-width: none; text-align: left; }
  .publication-detail-theme-atelier .publication-reader-overview,
  .publication-detail-theme-atelier .publication-analysis-panel { padding: 1.1rem; }
  .publication-detail-theme-atelier .publication-explanation-group { grid-template-columns: minmax(0, 1fr); }
  .publication-detail-theme-atelier .publication-explanation-group > h3,
  .publication-detail-theme-atelier .publication-explanation-group > .explanation-claim,
  .publication-detail-theme-atelier .publication-explanation-group > p { grid-column: 1; }
  .publication-detail-theme-atelier .patient-term-help dl > div { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .publication-detail-theme-atelier .publication-reader-facts,
  .publication-detail-theme-atelier .publication-provenance-grid,
  .publication-detail-theme-atelier .source-status-grid { grid-template-columns: minmax(0, 1fr); }
  .publication-detail-theme-atelier .source-status-grid > div {
    padding: .9rem 0; border-top: 1px solid var(--library-border);
  }
  .publication-detail-theme-atelier .source-status-grid > div:first-child { border-top: 0; }
  .publication-detail-theme-atelier .source-status-grid > div + div { border-inline-start: 0; }
  .publication-detail-theme-atelier .publication-actions,
  .publication-detail-theme-atelier .publication-actions form,
  .publication-detail-theme-atelier .publication-actions .button-link,
  .publication-detail-theme-atelier .publication-actions .secondary-button { width: 100%; }
  .publication-detail-theme-atelier .publication-actions .button-link,
  .publication-detail-theme-atelier .publication-actions .secondary-button { justify-content: center; }
}

/* Shared record filtering for the Library and Trials list pages. */
.library-theme-atelier .record-filter-form,
.trials-theme-atelier .record-filter-form {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem;
  margin-top: 1rem; padding: 1.25rem; background: var(--library-reading);
}
.trials-theme-atelier .record-filter-form { background: var(--trials-reading); }
.library-theme-atelier .record-filter-form .form-field,
.trials-theme-atelier .record-filter-form .form-field {
  grid-column: auto; min-width: 0; margin: 0;
}
.library-theme-atelier .record-filter-form .form-field > label,
.trials-theme-atelier .record-filter-form .form-field > label,
.library-theme-atelier .record-filter-form legend,
.trials-theme-atelier .record-filter-form legend {
  display: block; min-height: 0; margin: 0 0 .4rem; color: var(--library-ink);
  font-size: .9rem; font-weight: 700; line-height: 1.4;
}
.trials-theme-atelier .record-filter-form .form-field > label,
.trials-theme-atelier .record-filter-form legend { color: var(--trials-ink); }
.library-theme-atelier .record-filter-form input[type="search"],
.library-theme-atelier .record-filter-form select,
.trials-theme-atelier .record-filter-form input[type="search"],
.trials-theme-atelier .record-filter-form select {
  width: 100%; min-height: 3rem; border: 1px solid var(--library-border); border-radius: .55rem;
  padding: .65rem .75rem; background: var(--library-surface); color: var(--library-ink);
}
.library-theme-atelier .record-filter-form select,
.trials-theme-atelier .record-filter-form select { padding-right: 2.4rem; }
.trials-theme-atelier .record-filter-form input[type="search"],
.trials-theme-atelier .record-filter-form select {
  border-color: var(--trials-border); background: var(--trials-surface); color: var(--trials-ink);
}
.library-theme-atelier .record-filter-grid,
.trials-theme-atelier .record-filter-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem;
}
.trials-theme-atelier .record-filter-grid {
  grid-template-columns: minmax(14rem, .7fr) minmax(0, 2fr);
}
.library-theme-atelier .record-filter-options,
.trials-theme-atelier .record-filter-options {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem 1rem;
  min-width: 0; margin: 0; border: 0; padding: 0;
}
.library-theme-atelier .record-filter-options legend,
.trials-theme-atelier .record-filter-options legend { grid-column: 1 / -1; }
.library-theme-atelier .record-filter-options label,
.trials-theme-atelier .record-filter-options label,
.library-theme-atelier .record-filter-check,
.trials-theme-atelier .record-filter-check {
  display: flex; align-items: flex-start; gap: .65rem; min-width: 0;
  color: var(--library-muted); font-size: .9rem; line-height: 1.45;
}
.trials-theme-atelier .record-filter-options label,
.trials-theme-atelier .record-filter-check { color: var(--trials-muted); }
.library-theme-atelier .record-filter-options label,
.trials-theme-atelier .record-filter-options label { min-height: 0; }
.library-theme-atelier .record-filter-options input,
.trials-theme-atelier .record-filter-options input,
.library-theme-atelier .record-filter-check input,
.trials-theme-atelier .record-filter-check input {
  flex: 0 0 auto; margin-top: .15rem; accent-color: var(--library-action);
}
.trials-theme-atelier .record-filter-options input,
.trials-theme-atelier .record-filter-check input { accent-color: var(--trials-action); }
.library-theme-atelier .record-filter-footer,
.trials-theme-atelier .record-filter-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--library-border); padding-top: 1rem;
}
.trials-theme-atelier .record-filter-footer { border-color: var(--trials-border); }
.library-theme-atelier .record-filter-footer .filter-actions,
.trials-theme-atelier .record-filter-footer .filter-actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-left: auto;
}
.library-theme-atelier .record-filter-form button,
.trials-theme-atelier .record-filter-form button {
  min-height: 2.75rem; background: var(--library-action); color: var(--library-surface);
  font-weight: 700;
}
.trials-theme-atelier .record-filter-form button {
  background: var(--trials-action); color: var(--trials-surface);
}
.library-theme-atelier .record-filter-form button:hover { background: var(--library-action-hover); }
.trials-theme-atelier .record-filter-form button:hover { background: var(--trials-action-hover); }
.library-theme-atelier .record-filter-form .filter-actions a,
.trials-theme-atelier .record-filter-form .filter-actions a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  color: var(--library-action); font-weight: 700;
}
.trials-theme-atelier .record-filter-form .filter-actions a { color: var(--trials-action); }
.library-theme-atelier .library-submission > summary,
.trials-theme-atelier .trial-submission > summary {
  position: static; width: fit-content; margin: .75rem 0 0 auto;
}
.library-theme-atelier .library-submission-content,
.trials-theme-atelier .trial-submission-content { margin-top: .75rem; }

@media (max-width: 64rem) {
  .library-theme-atelier .record-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trials-theme-atelier .record-filter-grid { grid-template-columns: minmax(0, 1fr); }
  .library-theme-atelier .record-filter-options,
  .trials-theme-atelier .record-filter-options { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 48rem) {
  .library-theme-atelier .record-filter-form,
  .trials-theme-atelier .record-filter-form { padding: 1rem; }
  .library-theme-atelier .record-filter-grid,
  .trials-theme-atelier .record-filter-grid { grid-template-columns: minmax(0, 1fr); }
  .library-theme-atelier .record-filter-footer,
  .trials-theme-atelier .record-filter-footer { align-items: flex-start; flex-direction: column; }
  .library-theme-atelier .record-filter-footer .filter-actions,
  .trials-theme-atelier .record-filter-footer .filter-actions { width: 100%; margin-left: 0; }
}
