/* FileCompat: a small, shared visual system for the checker and transfer record. */
:root {
    color-scheme: light;
    --ink: #202f2b;
    --muted: #63716c;
    --green: #146b52;
    --green-dark: #0c513d;
    --green-soft: #edf6f1;
    --line: #dce4df;
    --surface: #f7f9f7;
    --amber: #a86e16;
    --red: #ac4942;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: #fff;
    font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select, input[type="radio"], input[type="checkbox"] { cursor: pointer; }
button { border: 0; }
input { accent-color: var(--green); }
::selection { background: #d4e9de; color: #15392b; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
[id] { scroll-margin-top: 24px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: clamp(2.3rem, 4.3vw, 3.5rem); letter-spacing: -.045em; font-weight: 650; }
h2 { font-size: 1.65rem; letter-spacing: -.035em; font-weight: 650; }
h3 { font-size: 1rem; font-weight: 600; }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10; background: var(--green); color: #fff; padding: 12px 20px; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 44px; }
.wordmark { display: inline-flex; align-items: baseline; font-size: 1.6rem; font-weight: 750; letter-spacing: -.065em; white-space: nowrap; }
.wordmark > span:first-child { color: var(--green); }
.brand-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); margin-left: 3px; }
.main-nav { display: flex; gap: 30px; font-size: .84rem; font-weight: 550; }
.main-nav a, .footer-inner nav a { padding-block: 8px; }
.main-nav a:hover, .footer-inner nav a:hover, .breadcrumbs a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.search-link { margin-left: auto; display: flex; align-items: center; gap: 10px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: .8rem; }
.search-link:hover { border-color: var(--green); color: var(--green); }
.eyebrow, .tiny-label { font-size: .66rem; letter-spacing: .12em; font-weight: 700; color: var(--muted); }
.eyebrow { margin-bottom: 11px; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: var(--green); border-radius: 50%; flex-shrink: 0; }
.hero { padding-top: 66px; padding-bottom: 43px; text-align: center; }
.hero > .eyebrow { display: flex; justify-content: center; align-items: center; gap: 9px; color: var(--green); margin-bottom: 17px; }
.mobile-break { display: none; }
.hero-description { margin-top: 17px; color: var(--muted); font-size: 1.05rem; }
.checker { margin: 36px auto 0; text-align: left; border: 1px solid #cbd9d0; border-radius: 10px; padding: 9px 26px 0; background: #fff; box-shadow: 0 8px 30px #203b2e08, 0 2px 5px #203b2e03; }
.mode-switch { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 0; display: flex; gap: 27px; }
.mode-switch label { position: relative; cursor: pointer; }
.mode-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mode-switch label > span { display: block; padding: 15px 0 16px; font-size: .86rem; font-weight: 550; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.mode-switch input:checked + span { border-bottom-color: var(--green); color: var(--green); }
.mode-switch input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 4px; }
.mode-switch span span { margin-inline: 7px; }
.checker-fields { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) auto; gap: 16px; align-items: end; padding: 25px 0; }
.select-field label { display: block; text-transform: uppercase; font-size: .66rem; font-weight: 700; letter-spacing: .09em; margin-bottom: 9px; color: var(--muted); }
.select-field select { width: 100%; padding: 13px 15px; height: 54px; border: 1px solid #ccd6cf; border-radius: 5px; background-color: #fff; color: var(--ink); font-size: 1rem; font-weight: 550; }
.selector-arrow { align-self: end; text-align: center; height: 54px; line-height: 54px; color: #7e8c85; font-size: 1.3rem; }
.target-format { display: none; }
.checker:has(input[value="format"]:checked) .target-software { display: none; }
.checker:has(input[value="format"]:checked) .target-format { display: block; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 54px; padding: 12px 22px; border-radius: 5px; font-size: .88rem; font-weight: 600; }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-dark); }
.button-primary span { font-size: 1.2rem; }
.checker-footnote { border-top: 1px solid #e8ede9; display: flex; gap: 8px; align-items: center; padding: 13px 0; color: var(--muted); font-size: .73rem; }
.note-icon { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border: 1px solid currentColor; border-radius: 50%; font: 600 10px/1 Georgia, serif; flex-shrink: 0; }
.form-notice { padding: 14px 0; border-top: 1px solid var(--line); color: #815610; font-size: .86rem; }
.form-notice a { color: var(--green); text-decoration: underline; white-space: nowrap; }
.popular-inline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 17px; margin: 22px auto 0; max-width: 940px; font-size: .7rem; }
.popular-inline a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.future-link { color: var(--muted); }
.catalog-area { background: var(--surface); border-top: 1px solid #e6ece7; }
.section { padding-top: 44px; padding-bottom: 7px; }
.section-heading { display: flex; gap: 20px; justify-content: space-between; align-items: flex-end; margin-bottom: 23px; }
.section-heading .eyebrow { font-size: .62rem; margin-bottom: 7px; }
.section-heading p { color: var(--muted); font-size: .86rem; margin-top: 10px; }
.section-detail { color: var(--muted); font-size: .72rem; text-align: right; }
.transfer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.transfer-card { display: flex; flex-direction: column; min-width: 0; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.transfer-card.available { border-color: #9ebdaa; }
.transfer-card.available:hover { border-color: var(--green); background: #f6fbf8; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .65rem; }
.card-arrow { font-size: 1.1rem; color: #88968e; }
.transfer-card.available .card-arrow { color: var(--green); }
.transfer-card h3 { margin-top: 14px; font-size: .98rem; line-height: 1.5; letter-spacing: -.02em; }
.direction { color: #8a9991; padding-inline: 3px; font-weight: 400; }
.card-bottom { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; color: var(--muted); font-size: .66rem; }
.available .card-bottom { color: var(--green); }
.card-bottom .status-dot { width: 5px; height: 5px; }
.software-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.software-card { display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.software-card h3 { font-size: .88rem; }
.software-card p { font-size: .69rem; color: var(--muted); margin-top: 4px; }
.software-monogram { display: flex; align-items: center; justify-content: center; width: 36px; height: 39px; border-radius: 5px; font-size: .85rem; font-weight: 700; letter-spacing: -.04em; flex-shrink: 0; }
.monogram-red { background: #f8edeb; color: #9c413b; }
.monogram-orange { background: #fbf0e4; color: #995b17; }
.monogram-blue { background: #eaf0f8; color: #3c6094; }
.monogram-slate { background: #eef0ef; color: #4a5550; }
.format-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 11px; }
.format-card { padding: 18px 13px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.file-symbol { display: block; position: relative; width: 20px; height: 24px; border: 1px solid #a3b4a9; border-radius: 2px; margin-bottom: 15px; }
.file-symbol::before { content: ''; position: absolute; top: -1px; right: -1px; width: 7px; height: 7px; border-left: 1px solid #a3b4a9; border-bottom: 1px solid #a3b4a9; background: var(--surface); }
.file-symbol::after { content: ''; position: absolute; width: 10px; height: 3px; border-block: 1px solid #a3b4a9; left: 4px; bottom: 5px; }
.format-card h3 { font-size: .85rem; }
.format-card p { color: var(--muted); font-size: .62rem; margin-top: 7px; }
.extension { font: .61rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; display: block; color: var(--muted); margin-top: 14px; }
.methodology { margin-top: 49px; border-top: 1px solid var(--line); padding: 41px 0 46px; }
.methodology h2 { font-size: 1.45rem; }
.methodology > p { max-width: 740px; font-size: .9rem; color: var(--muted); margin-top: 12px; }
.methodology-foot { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .72rem; margin-top: 18px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 29px; display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.footer-inner .wordmark { font-size: 1.16rem; }
.footer-inner p { color: var(--muted); font-size: .68rem; margin-top: 4px; }
.footer-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-left: auto; font-size: .72rem; }
.footer-note { color: var(--muted); font-size: .66rem; }
.muted { color: var(--muted); }
.soon-inline { font-size: .57rem; border: 1px solid var(--line); border-radius: 3px; padding: 1px 3px; margin-left: 3px; }
/* Transfer record */
.result-page { padding-bottom: 46px; }
.breadcrumbs { padding-block: 25px; color: var(--muted); font-size: .73rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { content: '/'; color: #9da9a2; margin-right: 9px; }
.result-heading { display: flex; justify-content: space-between; gap: 22px; align-items: center; padding-block: 10px 25px; }
.result-heading h1 { font-size: clamp(2rem, 3.8vw, 2.8rem); }
.result-heading p { color: var(--muted); margin-top: 12px; font-size: .94rem; }
.text-link { color: var(--green); font-size: .83rem; font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link > span { margin-left: 9px; }
.prototype-note { display: flex; align-items: center; gap: 10px; background: #faf7ef; color: #775b27; border: 1px solid #eae1ca; border-radius: 5px; padding: 12px 15px; font-size: .74rem; margin-bottom: 21px; }
.prototype-note strong { font-weight: 650; }
.recommendation { display: grid; grid-template-columns: 1fr 280px; padding: 29px 32px; border: 1px solid #b7d4c4; border-radius: 8px; background: var(--green-soft); }
.recommendation .eyebrow { color: var(--green); }
.recommendation h2 { font-size: 1.85rem; }
.recommendation h2 > span { color: var(--green); }
.recommendation-main > p { font-size: .88rem; color: #4c6659; margin-top: 14px; }
.recommendation .text-link { display: inline-block; margin-top: 19px; }
.quality-summary { padding-left: 35px; border-left: 1px solid #c6ddcf; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.quality-value { font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; display: flex; align-items: center; gap: 11px; color: var(--green); margin-top: 6px; }
.quality-value .status-dot { width: 10px; height: 10px; box-shadow: 0 0 0 5px #d7e9dd; }
.quality-caption { font-size: .72rem; color: #4c6659; margin-top: 4px; }
.prototype-label { font-size: .62rem; padding: 2px 8px; border: 1px solid #b9d1c2; border-radius: 4px; margin-top: 14px; color: #4c6659; }
.result-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; margin-top: 32px; }
.panel { border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.panel-heading { padding: 23px 24px 18px; }
.panel h2 { font-size: 1.2rem; }
.panel-heading p { color: var(--muted); font-size: .74rem; margin-top: 6px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { font-weight: 550; }
.preservation-table thead { background: var(--surface); color: var(--muted); font-size: .68rem; }
.preservation-table th, .preservation-table td { padding: 10px 24px; border-top: 1px solid #e8ede9; }
.preservation-table tbody th { font-size: .8rem; }
.score-meter { display: flex; align-items: center; gap: 12px; }
.score-segments { display: flex; gap: 4px; }
.score-segments > span { height: 7px; width: 19px; background: #e7ece8; border-radius: 1px; }
.score-good .filled { background: #44876b; }
.score-partial .filled { background: #b8903d; }
.score-value { font: .75rem/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; }
.score-none .score-value { color: var(--red); }
.panel-footnote { padding: 13px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .66rem; }
.workflow-section { padding-block: 19px; }
.workflow-section h2 { font-size: 1.45rem; }
.workflow-list { list-style: none; padding: 0; margin: 24px 0 22px; display: flex; flex-direction: column; gap: 21px; }
.workflow-list li { display: flex; gap: 15px; align-items: flex-start; }
.step-number { font: .73rem/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--green); background: var(--green-soft); border: 1px solid #d8e6dd; padding: 3px 7px; border-radius: 4px; }
.workflow-list p { font-size: .86rem; color: #465a4f; }
.workflow-note { font-size: .73rem; color: var(--muted); border-left: 2px solid #d4ded7; padding-left: 14px; }
.formats-section { padding-top: 41px; }
.formats-section h2 { font-size: 1.4rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 7px; }
.formats-table { font-size: .83rem; }
.formats-table caption { caption-side: bottom; padding: 13px 20px; font-size: .68rem; color: var(--muted); text-align: left; border-top: 1px solid var(--line); }
.formats-table td, .formats-table th { padding: 17px 22px; }
.formats-table thead { background: var(--surface); color: var(--muted); font-size: .69rem; }
.formats-table tbody tr { border-top: 1px solid var(--line); }
.formats-table .rank { font: .77rem ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--muted); width: 70px; }
.table-hint { font-weight: 400; }
.format-name { font-weight: 650; }
.recommended-row { background: #f4faf6; }
.recommended-label { display: inline-block; font-size: .59rem; color: var(--green); background: #e4f0e9; padding: 2px 6px; border-radius: 4px; margin-left: 14px; }
.percent-score { display: flex; align-items: center; gap: 15px; font: .76rem ui-monospace, SFMono-Regular, Consolas, monospace; }
.percent-track { width: 100px; height: 5px; background: #e6ece8; border-radius: 3px; }
.percent-track > span { display: block; height: 100%; background: #849b8c; border-radius: 3px; }
.recommended-row .percent-track > span { background: var(--green); }
.priorities-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 29px 30px; margin-top: 31px; }
.priorities-panel h2 { font-size: 1.4rem; }
.priorities-panel > div > p { font-size: .82rem; color: var(--muted); margin-top: 9px; }
.priority-options { border: 0; padding: 0; margin: 23px 0 19px; display: flex; flex-wrap: wrap; gap: 11px; }
.priority-options label { display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 9px 15px; border: 1px solid #ccd8cf; border-radius: 5px; background: #fff; font-size: .78rem; }
.priority-options label:has(input:checked) { border-color: var(--green); background: #edf6f0; color: var(--green); }
.priority-options input { width: 15px; height: 15px; margin: 0; }
.priority-result { font-size: .88rem; font-weight: 550; color: var(--green); }
.small-note { font-size: .71rem; color: var(--muted); margin-top: 9px; }
.detail-columns { margin-top: 43px; gap: 60px; }
.detail-columns h2 { font-size: 1.4rem; }
.section-intro { font-size: .83rem; color: var(--muted); margin-top: 12px; }
.loss-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 18px; margin-block: 22px 0; }
.loss-list li { display: flex; align-items: flex-start; gap: 11px; }
.loss-marker { color: var(--red); background: #f7eeea; border-radius: 50%; width: 18px; height: 18px; line-height: 16px; text-align: center; flex-shrink: 0; margin-top: 2px; }
.loss-list h3 { font-size: .82rem; }
.loss-list p { font-size: .76rem; color: var(--muted); margin-top: 5px; }
.sources-panel { padding: 26px; border: 1px solid var(--line); border-radius: 7px; align-self: start; }
.sources-panel > p { font-size: .83rem; color: var(--muted); margin-top: 15px; }
.verification-details { border-block: 1px solid var(--line); margin-block: 23px; padding-block: 7px; }
.verification-details > div { display: grid; grid-template-columns: 95px 1fr; gap: 12px; font-size: .74rem; padding-block: 9px; }
.verification-details dt { color: var(--muted); }
.verification-details dd { margin: 0; font-weight: 550; }
.sources-panel > .small-note { font-size: .71rem; }
.sources-panel h3 { font-size: .87rem; margin-top: 23px; }
.sources-panel ul { list-style: none; padding: 0; }
.sources-panel li { padding-block: 16px; border-bottom: 1px solid var(--line); font-size: .8rem; }
.sources-panel li p { margin-block: 8px; }
.sources-panel details summary { color: var(--muted); cursor: pointer; font-size: .72rem; }
.evidence-badge { display: inline-block; margin-top: 0; }
.quality-summary .evidence-badge { margin-top: 14px; }
.formats-table td { vertical-align: top; }
.formats-table td:last-child { width: 55%; }
.formats-table td p { white-space: pre-line; }
.formats-table .recommended-label { display: block; margin: 8px 0 0; width: fit-content; }
.related-section { border-top: 1px solid var(--line); margin-top: 42px; padding-top: 32px; }
.related-section h2 { font-size: 1.4rem; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.related-grid .transfer-card { padding: 16px; background: var(--surface); }
.related-grid h3 { font-size: .84rem; }
.related-grid .card-meta { font-size: .61rem; }
.related-grid .card-arrow { display: none; }
.related-hubs { margin-top: 29px; }
.related-hubs h2 { font-size: .88rem; letter-spacing: 0; }
.related-hubs > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 13px; }
.related-hubs > div > span { font-size: .72rem; padding: 7px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
@media (min-width: 1450px) {
    .hero { padding-top: 78px; padding-bottom: 52px; }
}
@media (max-width: 1050px) {
    .header-inner { gap: 30px; }
    .main-nav { gap: 21px; }
    .search-link span { display: none; }
    .search-link { padding: 10px; }
    .search-link::after { content: 'Search'; }
    .checker-fields { grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); gap: 12px; }
    .checker-fields .button { grid-column: 1 / -1; margin-top: 4px; }
    .format-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .software-card { padding: 14px 12px; gap: 9px; }
    .software-monogram { width: 30px; }
    .software-card p { font-size: .64rem; }
    .result-columns { gap: 25px; }
    .preservation-table th, .preservation-table td { padding-inline: 17px; }
    .score-segments > span { width: 14px; }
    .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-note { width: 100%; }
}
@media (max-width: 760px) {
    .container { width: calc(100% - 36px); }
    .header-inner { min-height: 105px; flex-wrap: wrap; gap: 0; padding-block: 13px 6px; }
    .wordmark { font-size: 1.45rem; }
    .main-nav { order: 3; width: 100%; justify-content: space-between; font-size: .76rem; gap: 15px; margin-top: 6px; }
    .search-link { font-size: .7rem; padding: 7px 9px; }
    .hero { padding-top: 40px; padding-bottom: 30px; }
    .hero > .eyebrow { font-size: .58rem; }
    .hero h1 { font-size: 2.4rem; }
    .hero-description { font-size: .94rem; max-width: 450px; margin-inline: auto; }
    .checker { margin-top: 27px; padding-inline: 18px; }
    .mode-switch { gap: 20px; }
    .mode-switch label > span { font-size: .75rem; }
    .mode-switch span span { margin-inline: 3px; }
    .checker-fields { padding-block: 21px; }
    .select-field select { font-size: .89rem; padding-left: 11px; }
    .checker-footnote { font-size: .68rem; align-items: flex-start; }
    .checker-footnote .note-icon { margin-top: 3px; }
    .popular-inline { font-size: .64rem; gap: 8px 12px; margin-top: 18px; }
    .popular-inline .tiny-label { width: 100%; font-size: .58rem; }
    .section { padding-top: 32px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 18px; }
    .section-heading h2, h2 { font-size: 1.4rem; }
    .section-detail { font-size: .66rem; text-align: left; }
    .section-heading p { font-size: .8rem; }
    .transfer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .transfer-card { padding: 15px; }
    .transfer-card h3 { font-size: .88rem; }
    .card-meta { font-size: .61rem; }
    .card-arrow { display: none; }
    .software-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .software-card { padding: 16px 12px; }
    .format-grid { gap: 10px; }
    .format-card { padding: 15px 10px; }
    .format-card p { min-height: 2.9em; }
    .methodology { margin-top: 31px; padding-block: 29px 34px; }
    .methodology-foot { align-items: flex-start; }
    .methodology-foot .note-icon { margin-top: 3px; }
    .footer-inner { gap: 19px; padding-block: 24px; }
    .footer-inner nav { width: 100%; margin: 0; gap: 17px; font-size: .68rem; }
    .breadcrumbs { font-size: .65rem; padding-block: 20px; }
    .result-heading { flex-direction: column; align-items: flex-start; gap: 15px; }
    .result-heading h1 { font-size: 2.2rem; }
    .result-heading p { font-size: .84rem; }
    .prototype-note { align-items: flex-start; font-size: .69rem; }
    .prototype-note .note-icon { margin-top: 4px; }
    .recommendation { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
    .recommendation h2 { font-size: 1.6rem; }
    .recommendation-main > p { font-size: .81rem; }
    .quality-summary { border-left: 0; border-top: 1px solid #c6ddcf; padding: 19px 0 0; }
    .quality-value { font-size: 1.7rem; }
    .result-columns { grid-template-columns: 1fr; gap: 15px; margin-top: 24px; }
    .preservation-table th, .preservation-table td { padding-inline: 22px; }
    .score-segments > span { width: 21px; }
    .workflow-section { padding-block: 20px 0; }
    .formats-section h2 { font-size: 1.3rem; }
    .formats-table td, .formats-table th { padding: 14px; }
    .formats-table { min-width: 530px; font-size: .78rem; }
    .formats-table .rank { width: 40px; }
    .recommended-label { display: block; margin: 5px 0 0; width: fit-content; }
    .percent-track { width: 65px; }
    .priorities-panel { padding: 23px 20px; margin-top: 25px; }
    .priorities-panel h2 { font-size: 1.3rem; }
    .priority-options { gap: 9px; }
    .priority-options label { padding: 8px 10px; font-size: .73rem; }
    .detail-columns { margin-top: 33px; gap: 30px; }
    .sources-panel { padding: 22px; }
    .related-section { margin-top: 30px; }
}
@media (max-width: 420px) {
    .mobile-break { display: initial; }
    .hero h1 { font-size: 2.3rem; }
    .checker { padding-inline: 14px; }
    .mode-switch { gap: 17px; }
    .mode-switch label > span { font-size: .69rem; }
    .checker-fields { grid-template-columns: minmax(0, 1fr); gap: 13px; }
    .selector-arrow { display: none; }
    .select-field label { margin-bottom: 6px; }
    .transfer-grid { grid-template-columns: 1fr; }
    .transfer-card { padding: 18px; }
    .transfer-card h3 { font-size: 1rem; margin-top: 8px; }
    .card-bottom { padding-top: 12px; }
    .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .format-card p { min-height: 0; }
    .software-card h3 { font-size: .8rem; }
    .software-card p { font-size: .6rem; }
    .software-monogram { width: 26px; height: 32px; font-size: .72rem; }
    .software-card { padding-inline: 10px; gap: 8px; }
    .result-heading h1 { font-size: 1.9rem; }
    .recommendation { padding: 21px; }
    .preservation-table th, .preservation-table td { padding-inline: 15px; }
    .score-meter { gap: 8px; }
    .score-segments { gap: 3px; }
    .score-segments > span { width: 15px; }
    .related-grid { grid-template-columns: 1fr; }
}

/* Reference pages reuse the existing technical tables, panels and spacing. */
.reference-page .section > h2 { margin-bottom: 18px; }
.reference-body { padding: 0 24px 24px; }
.reference-body > p, .reference-body > details { margin-block: 16px; }
.reference-body h3, .reference-sources h3 { margin-top: 22px; }
.reference-sources ul, .reference-links { padding-left: 20px; }
.reference-sources li, .reference-links li { margin-block: 18px; }
.reference-sources p, .reference-links p { margin-block: 8px; }
.reference-table { min-width: 740px; }
.reference-table td { vertical-align: top; }
.reference-table td p { margin-block: 9px; }
.reference-record { background: #fff; }
.reference-page a, .sources-panel a { overflow-wrap: anywhere; }
.related-hubs a { color: var(--green); }
@media (max-width: 600px) { .reference-body { padding-inline: 16px; } }

.trust-content { max-width: 760px; margin-inline: auto; }
.trust-content p, .trust-content ul, .trust-content dl { margin-block: 18px; line-height: 1.75; }
.trust-content section { margin-block: 32px; }
.trust-content h2 { font-size: 1.35rem; margin-bottom: 12px; }
.trust-content ul { padding-left: 22px; }
.trust-content li { margin-block: 7px; }
.trust-content a { color: var(--green); text-decoration: underline; overflow-wrap: anywhere; }
.trust-definitions dt { font-weight: 650; margin-top: 16px; }
.trust-definitions dd { margin: 4px 0 0; }
.trust-contact { font-weight: 600; }
.footer-inner nav { flex-wrap: wrap; }
