:root {
  color-scheme: light;
  --ink: #1f2328;
  --muted: #59636e;
  --border: #d1d9e0;
  --subtle: #f6f8fa;
  --link: #0969da;
  --coral: #cf4c43;
  --blue: #0969da;
  --purple: #8250df;
  --green: #1a7f37;
  --amber: #9a6700;
  --slate: #59636e;
  --note-width: 328px;
  --gutter: 64px;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; color: var(--ink); background: #fff; font: 14px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif; }
button, select, input { font: inherit; }
button, select { color: inherit; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, a, select, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #0969da; outline-offset: 4px; }
::selection { background: #ddf4ff; }
img { max-width: 100%; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; background: #fff; padding: 12px 20px; border: 1px solid var(--link); border-radius: 6px; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--subtle); border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1264px; min-height: 56px; padding: 14px 32px; margin: auto; display: flex; align-items: center; gap: 14px; }
.proof-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 18px; letter-spacing: -.45px; }
.proof-logo:hover { text-decoration: none; }
.proof-logo img { display: block; }
.header-divider { color: #8c959f; }
.header-context { color: var(--muted); font-size: 13px; }
.header-context.current { color: var(--ink); }
.header-link { margin-left: auto; }
.button { min-height: 32px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 1px 0 rgba(31,35,40,.04); color: var(--ink); background: var(--subtle); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.button:hover { background: #eff2f5; border-color: #b8c0c8; text-decoration: none; }
.button-small { min-height: 30px; padding: 4px 10px; }
.button-primary { background: #1f883d; color: white; border-color: rgba(31,35,40,.15); }
.button-primary:hover { background: #1a7f37; color: white; border-color: rgba(31,35,40,.15); }
.page-wrap { width: calc(100% - 64px); max-width: 1200px; margin: 0 auto; }
.page-intro { padding: 42px 0 38px; display: grid; grid-template-columns: minmax(0,1fr) 292px; align-items: center; gap: 64px; }
.eyebrow { display: inline-block; font-size: 11px; letter-spacing: .08em; font-weight: 650; color: var(--muted); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid #b6d5f5; border-radius: 5px; color: #0955ad; background: #f1f8ff; font-size: 10px; }
.hero-eyebrow .icon { width: 13px; height: 13px; }
.snapshot { color: var(--muted); font-size: inherit; white-space: nowrap; margin-left: 8px; }
h1 { font-size: 44px; line-height: 1.14; letter-spacing: -1.35px; font-weight: 650; margin: 17px 0 18px; scroll-margin-top: 80px; }
h1 > span { display: block; color: var(--link); }
.hero-copy { min-width: 0; }
.hero-copy > p { margin: 0 0 14px; max-width: 715px; color: var(--muted); line-height: 1.65; font-size: 14px; }
.hero-copy > p.hero-lead { font-size: 18px; line-height: 1.55; color: var(--ink); max-width: 650px; }
.hero-copy strong { font-weight: 600; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 21px 0 11px; }
.hero-actions .button { min-height: 42px; font-size: 13px; padding: 10px 15px; font-weight: 600; }
.hero-explore { background: var(--link); color: #fff; border-color: #0960c8; gap: 12px; }
.hero-explore:hover { background: #055cbf; color: #fff; border-color: #055cbf; }
.hero-original { background: #fff; }
.hero-copy > p.hero-source-note { font-size: 11px; line-height: 1.5; margin: 0; }
.review-target { padding: 20px 22px; border: 1px solid #bad7f4; border-radius: 8px; background: #f1f8ff; color: var(--ink); }
.target-label { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 650; letter-spacing: .055em; color: #0960c8; }
.target-time { font-size: 45px; line-height: 1.15; font-weight: 650; letter-spacing: -1.8px; margin: 11px 0 8px; color: #0955ad; }
.target-time > span { font-size: 20px; letter-spacing: -.4px; font-weight: 500; }
.review-target p { font-size: 12px; line-height: 1.65; margin: 0; color: #3d546c; }
.target-principle { margin: 14px 0 8px; padding-top: 12px; border-top: 1px solid #c9def1; font-size: 12px; line-height: 1.6; font-weight: 600; }
.target-caption { font-size: 10px; color: #596d82; }
.pr-heading { border-top: 1px solid var(--border); padding: 18px 0; scroll-margin-top: 20px; }
.example-label { display: flex; align-items: center; gap: 7px; margin: 0 0 18px; color: var(--link); font-size: 10px; font-weight: 650; letter-spacing: .07em; }
.example-label .icon { width: 14px; height: 14px; }
.repository { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.repository > .icon { color: var(--muted); }
.repository a { display: inline-flex; gap: 6px; }
.repository a span { color: var(--muted); }
.badge { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 20px; padding: 1px 7px; color: var(--muted); font-size: 11px; line-height: 18px; font-weight: 500; white-space: nowrap; }
.pr-heading h2 { margin: 12px 0; font-size: 25px; line-height: 1.35; font-weight: 550; letter-spacing: -.4px; }
.pr-heading h2 > span { color: var(--muted); font-weight: 350; white-space: nowrap; }
.pr-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; }
.pr-meta a { color: var(--muted); }
.pr-meta > code { background: #eff1f3; }
.state-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 20px; padding: 5px 12px; color: white; background: #1f883d; font-weight: 500; margin-right: 2px; }
.state-pill .icon { width: 14px; height: 14px; }
.reading-toolbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: stretch; justify-content: space-between; gap: 20px; min-height: 57px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.97); backdrop-filter: blur(10px); }
.record-tabs { display: flex; gap: 8px; min-width: 0; }
.record-tab { display: inline-flex; gap: 7px; align-items: center; padding: 12px 8px; border-bottom: 2px solid transparent; color: var(--ink); font-size: 13px; white-space: nowrap; margin-bottom: -1px; }
.record-tab .icon { color: var(--muted); }
.record-tab:hover { background: var(--subtle); text-decoration: none; }
.record-tab.is-current { border-bottom-color: #fd8c73; font-weight: 600; }
.count-badge { background: #eff1f3; color: var(--ink); border-radius: 20px; font-size: 11px; padding: 0 6px; }
.annotation-controls { display: flex; align-items: center; gap: 10px; }
.annotation-controls select { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 6px 24px 6px 9px; font-size: 12px; width: 162px; min-height: 32px; cursor: pointer; }
.annotation-toggle { font-size: 12px; padding: 5px 9px; background: #fff; }
.annotation-toggle > .icon { color: var(--muted); }
.toggle-track { width: 24px; height: 14px; background: var(--link); border-radius: 8px; position: relative; margin-left: 1px; }
.toggle-track:after { content: ''; position: absolute; width: 10px; height: 10px; right: 2px; top: 2px; background: white; border-radius: 50%; transition: transform .15s; }
[aria-pressed="false"] .toggle-track { background: #8c959f; }
[aria-pressed="false"] .toggle-track:after { transform: translateX(-10px); }
.annotation-intro { display: grid; grid-template-columns: minmax(0,1fr) var(--note-width); gap: var(--gutter); padding: 17px 0; font-size: 10px; color: var(--muted); }
.source-intro strong { display: block; font-size: 12px; font-weight: 650; color: var(--ink); }
.source-intro small { display: block; font-size: 10px; margin-top: 3px; }
.margin-intro { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.margin-intro strong { display: block; font-size: 12px; font-weight: 650; }
.margin-intro small { display: block; margin-top: 2px; font-size: 10px; color: var(--muted); }
.mini-bracket { display: block; width: 7px; height: 29px; border: solid var(--blue); border-width: 2px 2px 2px 0; border-radius: 0 3px 3px 0; }
.inline-guidance { display: none; }
.annotated-document { display: grid; grid-template-columns: minmax(0,1fr) var(--note-width); gap: var(--gutter); align-items: start; position: relative; }
.document-column { min-width: 0; }
.comment { border: 1px solid var(--border); border-radius: 6px; background: #fff; min-width: 0; overflow: visible; scroll-margin-top: 80px; }
.comment-header { display: flex; align-items: center; gap: 9px; min-height: 49px; padding: 10px 16px; border-bottom: 1px solid var(--border); border-radius: 5px 5px 0 0; background: var(--subtle); font-size: 12px; color: var(--muted); }
.pr-comment > .comment-header { background: #f1f8ff; border-bottom-color: #c8def3; }
.comment-header a, .comment-header strong { color: var(--ink); }
.avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; font-size: 14px; line-height: 1; font-weight: 600; }
.avatar-author { color: #63481f; background: #f0dfbb; border: 1px solid #d8c499; }
.avatar-proof { background: #fff; border: 1px solid var(--border); }
.avatar-proof img { width: 15px; height: 15px; }
.comment-header > .badge { margin-left: auto; }
.comment-source { display: flex; padding: 3px; color: var(--muted) !important; }
.markdown-body { padding: 21px 24px 14px; font-size: 14px; line-height: 1.65; overflow-wrap: break-word; }
.markdown-body p { margin: 0 0 16px; }
.markdown-body p:last-child { margin-bottom: 0; }
.markdown-body h3 { font-size: 18px; line-height: 1.35; font-weight: 600; margin: 0 0 16px; letter-spacing: -.15px; }
.markdown-body h4 { font-size: 14px; font-weight: 600; margin: 18px 0 10px; }
.markdown-body ul { padding-left: 22px; margin: 14px 0; }
.markdown-body li + li { margin-top: 5px; }
code { font: .85em/1.5 var(--mono); padding: 2px 5px; border-radius: 4px; background: #eff1f3; box-decoration-break: clone; -webkit-box-decoration-break: clone; overflow-wrap: anywhere; }
pre { margin: 0; overflow: auto; padding: 16px; background: var(--subtle); border-radius: 6px; font: 12px/1.6 var(--mono); }
pre code { padding: 0; background: transparent; border-radius: 0; font: inherit; overflow-wrap: normal; white-space: pre; }
.annotation-target { position: relative; margin: 26px 0; scroll-margin-top: 82px; border-radius: 3px; transition: background .12s, box-shadow .12s; }
.annotation-target.is-selected, .annotation-target.is-hovered { background: color-mix(in srgb, var(--annotation-color) 4%, white); box-shadow: 0 0 0 9px color-mix(in srgb, var(--annotation-color) 4%, white); }
[data-color="coral"] { --annotation-color: var(--coral); }
[data-color="blue"] { --annotation-color: var(--blue); }
[data-color="purple"] { --annotation-color: var(--purple); }
[data-color="green"] { --annotation-color: var(--green); }
[data-color="amber"] { --annotation-color: var(--amber); }
[data-color="slate"] { --annotation-color: var(--slate); }
.table-scroll { overflow-x: auto; margin: 16px 0; }
.table-hint { display: none; }
.opening-summary { margin-top: 0 !important; }
.opening-summary > .markdown-alert:last-child { margin-bottom: 0; }
table { border-collapse: collapse; border-spacing: 0; width: 100%; margin: 16px 0; font-size: 12px; line-height: 1.5; }
.table-scroll table { margin: 0; }
th, td { border: 1px solid var(--border); padding: 9px 11px; vertical-align: top; text-align: left; }
th { font-weight: 600; background: #fff; }
tr:nth-child(even) td { background: var(--subtle); }
#change th:first-child { width: 22%; }
#change th:nth-child(2) { width: 49%; }
#change th:last-child { width: 29%; }
.markdown-alert { padding: 0 0 0 15px; border-left: 3px solid var(--blue); margin: 18px 0; }
.markdown-alert p { margin: 0 0 8px; }
.markdown-alert p:last-child { margin-bottom: 0; }
.alert-title { display: flex; gap: 7px; align-items: center; font-size: 13px; font-weight: 600; color: var(--blue); }
.alert-important { border-color: var(--purple); }
.alert-important .alert-title { color: var(--purple); }
details { margin: 10px 0; }
summary { cursor: pointer; font-size: 12px; font-weight: 500; padding: 3px 0; }
summary:hover { color: var(--link); }
summary::marker { font-size: 10px; }
.details-content { padding: 9px 0 7px; font-size: 13px; }
.details-content p { margin-bottom: 12px; }
.details-content h4:first-child { margin-top: 4px; }
.details-content table { margin-bottom: 0; }
.code-block { position: relative; margin-bottom: 12px; }
.code-block pre { padding-right: 46px; }
.copy-code { position: absolute; right: 7px; top: 7px; padding: 5px; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); border-radius: 6px; color: var(--muted); }
.copy-code:hover { color: var(--ink); background: #f3f4f6; }
.video-attachment { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin: 20px 0 12px; }
.video-attachment figcaption { display: flex; align-items: center; gap: 7px; padding: 9px 11px; font-size: 11px; line-height: 1.4; border-bottom: 1px solid var(--border); color: var(--muted); }
.video-attachment figcaption strong { font-weight: 500; color: var(--ink); }
.video-attachment figcaption > span { margin-left: auto; }
.video-attachment figcaption > a { display: flex; color: var(--muted); }
.video-attachment video { width: 100%; display: block; aspect-ratio: 5 / 3; background: #1b1b28; }
.attachment-foot { display: flex; justify-content: space-between; gap: 10px; padding: 8px 11px; color: var(--muted); font-size: 10px; background: var(--subtle); }
.attachment-foot code { background: none; padding: 0; font-size: 10px; }
.muted { color: var(--muted); }
.small { font-size: 12px; line-height: 1.6; }
.section-caption { font-size: 11px; color: var(--muted); margin-top: -9px !important; margin-bottom: 10px !important; }
.markdown-body .task-list { list-style: none; padding: 0; margin: 0 0 18px; }
.task-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; }
.task-list li + li { margin-top: 7px; }
input[type="checkbox"] { width: 14px; height: 14px; flex: 0 0 auto; margin: 3px 0 0; accent-color: var(--link); }
.recorded-checks input { appearance: none; border: 1px solid #0969da; border-radius: 3px; background: #0969da; position: relative; opacity: 1; }
.recorded-checks input:checked:after { content: ''; position: absolute; left: 3px; top: 0px; width: 4px; height: 8px; border: solid white; border-width: 0 1.7px 1.7px 0; transform: rotate(40deg); }
#decision h3:not(:first-child) { margin-top: 26px; }
.verification-footer { border-top: 1px solid var(--border); padding-top: 20px; }
.verification-footer h3 { font-size: 14px; margin-bottom: 10px; }
.verification-footer > p { font-size: 12px; }
.revision-status { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 14px 0 10px; padding: 10px 12px; background: #fff8c5; border: 1px solid #eed78f; border-radius: 6px; font-size: 11px; color: #6e5007; }
.revision-status > strong { font-weight: 600; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.amber-dot { background: #bf8700; }
.comment-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; padding: 12px 16px; border-top: 1px solid #e5e9ed; color: var(--muted); font-size: 10px; border-radius: 0 0 5px 5px; background: #fafbfc; }
.comment-footer > a { margin-left: auto; white-space: nowrap; }
.comment-footer .icon { width: 12px; height: 12px; }
.timeline-event { position: relative; display: flex; align-items: center; gap: 10px; padding: 25px 0; font-size: 11px; color: var(--muted); }
.timeline-event:before { content: ''; position: absolute; left: 15px; inset-block: 0; width: 2px; background: #e5e9ed; z-index: -1; }
.timeline-icon { width: 32px; height: 32px; display: grid; place-items: center; background: #eff1f3; border: 3px solid #fff; border-radius: 50%; flex: 0 0 auto; }
.timeline-event p { margin: 0; }
.timeline-event > a { margin-left: auto; white-space: nowrap; }
.timeline-event a .icon { width: 12px; height: 12px; }
.companion-intro { color: var(--muted); font-size: 12px; }
.requirement-label { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: -3px 0 14px; }
.requirement-label code { font-size: 11px; }
.badge-proposed { border-color: #c8b5ee; background: #fbefff; color: #6639ba; }
.formula { border: 1px solid var(--border); border-radius: 6px; margin: 18px 0; overflow: hidden; }
.formula-label { display: flex; justify-content: space-between; gap: 8px; padding: 9px 13px; border-bottom: 1px solid var(--border); font-size: 11px; color: var(--muted); }
.formula-label span:first-child { color: var(--ink); font-weight: 500; }
.formula pre { border-radius: 0; font-size: 12px; }
.rule-controls { display: grid; gap: 9px; margin: 0 0 15px; }
.rule-controls label { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; cursor: pointer; }
.rule-result { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid #b6d7fa; border-radius: 6px; background: #f1f8ff; font-size: 12px; color: var(--muted); }
.rule-result strong { color: var(--blue); font-size: 14px; }
.truth-table .selected-case td { background: #ddf4ff; font-weight: 600; }
.truth-table { margin-bottom: 12px !important; font-size: 11px; }
.record-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; margin-top: 16px !important; }
.record-links .icon { width: 12px; height: 12px; }
.text-button { display: inline-flex; align-items: center; gap: 5px; border: 0; padding: 0; background: none; color: var(--link); font-size: inherit; text-align: left; }
.text-button:hover { text-decoration: underline; }
.evidence-summary th { width: 26%; font-size: 11px; }
.evidence-summary td { font-size: 12px; }
.margin-notes { position: relative; min-width: 0; }
.annotation-note { position: relative; margin: 0 0 32px; padding: 20px 19px 17px; border: 1px solid color-mix(in srgb, var(--annotation-color) 28%, white); border-left: 4px solid var(--annotation-color); border-radius: 8px; background: color-mix(in srgb, var(--annotation-color) 6%, white); font-size: 14px; line-height: 1.65; color: #364350; box-shadow: 0 2px 5px #1f232805; transition: background .12s, box-shadow .12s; }
.annotations-ready .margin-notes .annotation-note { position: absolute; left: 0; right: 0; margin: 0; }
.annotation-select { position: relative; width: 100%; display: flex; align-items: flex-start; gap: 11px; color: var(--ink); background: none; border: 0; padding: 0; text-align: left; font-size: 17px; line-height: 1.4; font-weight: 700; }
.annotation-select:hover { color: var(--annotation-color); }
.note-number { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--annotation-color); border-radius: 50%; color: white; background: var(--annotation-color); font-size: 11px; font-family: var(--mono); font-weight: 600; }
.annotation-note p { margin: 14px 0 12px; }
.annotation-note p > strong { font-weight: 650; color: var(--ink); }
.annotation-note > a, .note-foot { display: block; margin: 0; padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--annotation-color) 18%, white); font-size: 11px; }
.annotation-note > a { color: var(--annotation-color); font-weight: 600; }
.note-foot { color: #526171; }
.annotation-note.is-selected, .annotation-note.is-hovered { background: color-mix(in srgb, var(--annotation-color) 10%, white); box-shadow: 0 0 0 2px color-mix(in srgb, var(--annotation-color) 23%, transparent); }
.annotation-note.is-selected .annotation-select { color: var(--annotation-color); }
.annotation-lines { display: none; position: absolute; top: 0; left: 0; overflow: visible; pointer-events: none; z-index: 2; }
.annotations-ready .annotation-lines { display: block; }
.annotation-line { stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: .9; transition: opacity .12s, stroke-width .12s; }
.annotation-line.is-selected, .annotation-line.is-hovered { opacity: 1; stroke-width: 2.3; }
.annotations-off .annotated-document { display: block; }
.annotations-off .document-column { max-width: 832px; margin: auto; }
.annotations-off .annotation-note, .annotations-off .annotation-lines, .annotations-off .margin-intro { display: none !important; }
.annotations-off .annotation-target { background: none; box-shadow: none; }
.annotations-off .annotation-intro { display: block; text-align: center; }
.review-section { margin: 56px 0 0; padding: 40px 0 48px; border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.review-intro { padding-top: 6px; }
.review-intro h2 { font-size: 28px; line-height: 1.3; font-weight: 600; letter-spacing: -.6px; margin: 12px 0 14px; }
.review-intro p { font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 370px; margin: 0 0 22px; }
.review-checklist { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.checklist-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; background: var(--subtle); border-bottom: 1px solid var(--border); font-size: 13px; }
.review-checklist ol { list-style: none; padding: 0; margin: 0; }
.review-checklist li + li { border-top: 1px solid #e9edf1; }
.review-checklist label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 13px 16px; }
.review-checklist label:hover { background: #fafbfc; }
.review-checklist label > span { display: flex; flex-direction: column; gap: 3px; }
.review-checklist strong { font-size: 12px; font-weight: 600; }
.review-checklist small { font-size: 11px; line-height: 1.5; color: var(--muted); }
.review-checklist em { font-size: 11px; font-style: normal; white-space: nowrap; margin-left: auto; color: var(--muted); padding-top: 1px; }
.checklist-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); padding: 12px 16px; background: var(--subtle); font-size: 11px; color: var(--muted); }
.checklist-footer .icon { width: 13px; height: 13px; }
.checklist-note { color: var(--muted); font-size: 10px; line-height: 1.6; margin: 0; padding: 10px 16px; border-top: 1px solid #e9edf1; }
.example-footer { border-top: 1px solid var(--border); display: flex; align-items: center; gap: 25px; padding: 28px 0 38px; }
.example-footer .proof-logo { font-size: 15px; }
.example-footer p { font-size: 10px; color: var(--muted); margin: 0; line-height: 1.6; }
.example-footer > div { display: flex; flex-wrap: wrap; gap: 16px; margin-left: auto; font-size: 11px; }
.example-footer > div a { color: var(--muted); }
dialog { width: min(1160px, calc(100% - 48px)); max-height: calc(100dvh - 64px); padding: 23px; border: 1px solid var(--border); border-radius: 10px; color: var(--ink); box-shadow: 0 18px 60px rgba(31,35,40,.25); }
dialog::backdrop { background: rgba(31,35,40,.5); backdrop-filter: blur(2px); }
.dialog-open { overflow: hidden; }
.dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.dialog-header h2 { margin: 5px 0 0; font-size: 21px; font-weight: 600; }
#close-capture { font-size: 22px; padding: 2px 9px; line-height: 1; }
#capture-caption { max-width: 920px; font-size: 12px; color: var(--muted); }
#capture-image { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 5px; margin: 18px 0; }
#capture-source { font-size: 12px; }
.toast { position: fixed; z-index: 100; bottom: 22px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); background: var(--ink); color: white; padding: 11px 16px; border-radius: 6px; box-shadow: 0 8px 30px #1f232830; font-size: 12px; }
@media (min-width: 961px) and (max-width: 1150px) {
  :root { --note-width: 292px; --gutter: 48px; }
  .page-wrap { width: calc(100% - 48px); }
  .annotation-controls select { width: 130px; }
  .record-tabs { gap: 2px; }
  .record-tab { font-size: 12px; padding-inline: 6px; }
  .annotation-toggle { padding-inline: 7px; }
  .annotation-select { font-size: 16px; }
  .annotation-note { font-size: 13px; padding: 17px 16px; }
  .page-intro { grid-template-columns: minmax(0,1fr) 270px; gap: 32px; }
  h1 { font-size: 35px; }
  .markdown-body { padding-inline: 20px; }
}
@media (max-width: 960px) {
  .page-wrap { width: calc(100% - 40px); max-width: 800px; }
  .header-inner { padding-inline: 20px; }
  .page-intro { padding: 28px 0; grid-template-columns: minmax(0,1fr) 240px; gap: 26px; }
  h1 { font-size: 33px; }
  .review-target { padding: 18px; }
  .target-time { font-size: 40px; }
  .pr-heading h2 { font-size: 23px; }
  .annotated-document { display: block; }
  .annotations-ready .margin-notes { display: none; }
  .annotation-lines { display: none !important; }
  .annotation-intro { display: flex; justify-content: space-between; gap: 16px; font-size: 10px; }
  .margin-guidance { display: none; }
  .inline-guidance { display: inline; }
  .annotation-target { scroll-margin-top: 112px; }
  .annotation-note { position: relative !important; inset: auto !important; margin: 24px 0 28px; padding: 18px; border-left-width: 4px; font-size: 14px; }
  .annotation-select { font-size: 17px; min-height: 44px; align-items: center; }
  .annotation-note p { margin-top: 12px; margin-bottom: 12px; }
  .annotation-note .note-number { width: 32px; height: 32px; }
  .annotation-note > a, .note-foot { font-size: 12px; }
  .annotation-note p, .annotation-note > a, .note-foot { margin-left: 0; }
  .reading-toolbar { min-height: 51px; flex-wrap: wrap; gap: 0; align-items: center; padding-bottom: 8px; }
  .record-tabs { flex: 1 1 auto; min-height: 45px; }
  .annotation-controls { flex: 0 1 auto; gap: 7px; }
  .annotation-controls select { width: 145px; }
  .record-tab { font-size: 12px; padding: 11px 7px; }
  .record-tabs .external-tab { display: inline-flex; }
  .review-section { gap: 34px; }
  .review-intro h2 { font-size: 24px; }
  .checklist-header { flex-wrap: wrap; }
  .example-footer { flex-wrap: wrap; gap: 18px; }
  .example-footer > div { margin-left: 0; }
}
@media (max-width: 600px) {
  .page-wrap { width: calc(100% - 28px); }
  .header-inner { gap: 10px; min-height: 55px; padding: 12px 14px; }
  .header-context { font-size: 11px; }
  .header-context.current, .current-divider { display: none; }
  .header-link { padding: 4px 8px; font-size: 11px; }
  .header-link .icon { display: none; }
  .proof-logo { font-size: 16px; gap: 6px; }
  .proof-logo img { width: 21px; height: 21px; }
  .page-intro { padding: 26px 0; display: block; }
  .hero-copy > p { font-size: 13px; line-height: 1.7; }
  .hero-copy > p.hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; gap: 9px; margin: 19px 0 10px; }
  .hero-actions .button { width: 100%; min-height: 44px; font-size: 13px; }
  .hero-copy > p.hero-source-note { font-size: 10px; }
  .intro-topline { align-items: flex-start; flex-direction: column; gap: 6px; }
  .eyebrow { font-size: 9px; }
  .snapshot { display: block; margin: 3px 0 0; font-size: 9px; }
  h1 { font-size: 34px; line-height: 1.15; letter-spacing: -.9px; margin: 15px 0; }
  h1 > span { display: block; }
  .desktop-only { display: none; }
  .review-target { margin-top: 20px; padding: 17px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 17px; align-items: start; }
  .target-label { grid-column: 1 / -1; font-size: 9px; margin-bottom: 4px; }
  .target-time { font-size: clamp(28px, 8.8vw, 35px); margin: 0; white-space: nowrap; }
  .target-time > span { font-size: 16px; }
  .review-target p { font-size: 11px; line-height: 1.6; }
  .target-principle { grid-column: 1 / -1; font-size: 11px; margin: 4px 0 0; padding-top: 10px; }
  .target-principle br { display: none; }
  .target-caption { grid-column: 1 / -1; font-size: 9px; }
  .pr-heading { padding: 19px 0 17px; }
  .example-label { font-size: 9px; margin-bottom: 14px; }
  .repository { font-size: 13px; }
  .pr-heading h2 { font-size: 20px; margin: 12px 0; }
  .pr-meta { font-size: 11px; gap: 6px; line-height: 1.7; }
  .pr-meta > span:nth-child(2) { flex-basis: calc(100% - 80px); }
  .meta-divider { display: none; }
  .state-pill { padding: 4px 10px; }
  .reading-toolbar { justify-content: space-between; padding: 0 0 8px; min-height: 87px; }
  .record-tabs { flex-basis: 100%; justify-content: space-between; gap: 2px; min-height: 44px; margin-bottom: 7px; }
  .record-tab { padding: 10px 4px; font-size: 11px; min-height: 44px; gap: 5px; }
  .record-tab > .icon { display: none; }
  .record-tab.external-tab > .icon { display: inline-block; width: 12px; height: 12px; }
  .annotation-controls { justify-content: space-between; width: 100%; }
  .annotation-controls select { flex: 1; width: 125px; min-width: 0; min-height: 40px; padding-block: 8px; font-size: 11px; }
  .annotation-toggle { flex: 0 0 auto; min-height: 40px; font-size: 11px; gap: 6px; padding: 8px; }
  .annotation-toggle > .icon { display: none; }
  .annotation-intro { display: block; padding: 12px 0 14px; font-size: 10px; }
  .source-intro strong { font-size: 12px; }
  .margin-intro { margin-top: 11px; padding: 11px 13px; background: #f1f8ff; border: 1px solid #c8def3; border-radius: 6px; }
  .margin-intro strong { font-size: 13px; }
  .margin-intro small { font-size: 11px; }
  .comment-header { padding: 9px 11px; gap: 7px; font-size: 10px; }
  .comment-header .avatar { width: 21px; height: 21px; font-size: 12px; }
  .comment-header .badge { font-size: 9px; padding: 0 5px; }
  .edited { display: none; }
  .proof-comment .comment-header { flex-wrap: wrap; }
  .proof-comment .comment-header > .badge { display: none; }
  .proof-comment .comment-header > .comment-source { margin-left: auto; }
  .markdown-body { padding: 18px 13px 8px; font-size: 14px; line-height: 1.7; }
  .markdown-body h3 { font-size: 18px; margin-bottom: 14px; }
  .markdown-body h4 { font-size: 14px; }
  .markdown-body p { margin-bottom: 13px; }
  .annotation-target { margin: 25px 0; scroll-margin-top: 125px; }
  .comment { scroll-margin-top: 125px; }
  .annotation-target.is-selected, .annotation-target.is-hovered { box-shadow: 0 0 0 6px color-mix(in srgb, var(--annotation-color) 4%, white); }
  .table-scroll table { min-width: 540px; font-size: 12px; line-height: 1.55; }
  .table-scroll { margin-bottom: 7px; overscroll-behavior-x: contain; }
  .table-hint { display: block; font-size: 11px; color: var(--muted); margin: 0 0 17px !important; }
  th, td { padding: 7px; }
  #change th:first-child { width: 25%; }
  #change th:nth-child(2) { width: 46%; }
  #change th:last-child { width: 29%; }
  .table-scroll td code { font-size: .9em; }
  .markdown-alert { padding-left: 11px; border-width: 3px; }
  .alert-title { font-size: 12px; }
  summary { font-size: 11px; }
  .details-content { font-size: 13px; }
  pre { font-size: 11px; padding: 12px; }
  .video-attachment figcaption { padding: 9px 8px; font-size: 9px; gap: 5px; }
  .video-attachment figcaption > span { display: none; }
  .video-attachment figcaption > a { margin-left: auto; }
  .video-attachment figcaption .icon { width: 13px; height: 13px; }
  .attachment-foot { padding: 7px 8px; flex-wrap: wrap; gap: 3px; font-size: 9px; }
  .attachment-foot code { font-size: 9px; }
  .small { font-size: 10px; }
  .task-list li { font-size: 13px; gap: 8px; }
  .task-list input { width: 13px; height: 13px; margin-top: 4px; }
  .recorded-checks input:checked:after { left: 3px; top: 0; height: 7px; }
  .verification-footer > p { font-size: 11px; }
  .revision-status { font-size: 10px; padding: 9px; }
  .comment-footer { font-size: 9px; padding: 10px 12px; }
  .comment-footer > a { margin-left: 0; }
  .timeline-event { flex-wrap: wrap; gap: 7px; padding: 22px 0; font-size: 10px; }
  .timeline-event p { flex: 1; }
  .timeline-event > a { padding-left: 39px; margin-left: 0; }
  .companion-intro { font-size: 11px; }
  .requirement-label { gap: 7px; }
  .requirement-label code { font-size: 10px; }
  .badge-proposed { font-size: 9px; }
  .formula-label { font-size: 9px; padding: 8px 10px; }
  .formula pre { font-size: 10px; }
  .rule-controls label { font-size: 11px; }
  .rule-result { padding: 10px; font-size: 11px; }
  .rule-result strong { font-size: 13px; }
  .truth-table { font-size: 10px; }
  .evidence-summary th { width: 28%; font-size: 10px; }
  .evidence-summary td { font-size: 11px; }
  .record-links { font-size: 11px; gap: 10px; }
  .annotation-note { padding: 16px 14px; margin-block: 22px; font-size: 14px; line-height: 1.65; }
  .annotation-select { font-size: 16px; gap: 10px; align-items: center; min-height: 44px; }
  .note-number { font-size: 11px; }
  .annotation-note p, .annotation-note > a, .note-foot { margin-left: 0; }
  .annotation-note > a, .note-foot { font-size: 11px; }
  .review-section { display: block; margin-top: 35px; padding: 30px 0; }
  .review-intro { margin-bottom: 24px; }
  .review-intro h2 { font-size: 24px; margin-top: 10px; }
  .review-intro p { font-size: 12px; }
  .checklist-header { padding: 12px; gap: 7px; }
  .checklist-header strong { font-size: 12px; }
  .checklist-header .badge { font-size: 9px; }
  .review-checklist label { padding: 12px; gap: 8px; }
  .review-checklist strong { font-size: 11px; }
  .review-checklist small { font-size: 10px; }
  .review-checklist em { font-size: 10px; }
  .checklist-footer { padding: 11px 12px; font-size: 10px; }
  .checklist-note { font-size: 9px; padding: 10px 12px; }
  .example-footer { gap: 14px; padding: 22px 0; }
  .example-footer p { font-size: 9px; }
  .example-footer > div { flex-basis: 100%; gap: 18px; font-size: 10px; }
  dialog { width: calc(100% - 24px); padding: 15px; max-height: calc(100dvh - 32px); }
  .dialog-header h2 { font-size: 18px; }
  #capture-caption { font-size: 11px; }
  #capture-image { margin: 14px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
}
@media print {
  .site-header, .reading-toolbar, .annotation-intro, .margin-notes, .annotation-lines, .annotation-note, .copy-code, .review-section, .example-footer { display: none !important; }
  .page-wrap { width: 100%; max-width: none; }
  .annotated-document { display: block; }
  .comment { break-inside: auto; }
  .annotation-target { background: none !important; box-shadow: none !important; }
  .video-attachment { max-width: 500px; }
  .page-intro { padding-top: 0; }
}
