:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #111; background: #e9eef2; }
* { box-sizing: border-box; }
body { margin: 0; }
.print-toolbar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: center; gap: 1rem; padding: .8rem; background: #071827; color: #fff; }
.print-toolbar a, .print-toolbar button { min-height: 44px; padding: .65rem 1rem; border: 1px solid #6eddeb; border-radius: 999px; background: #0c3144; color: #fff; font: inherit; text-decoration: none; cursor: pointer; }
.print-sheet { width: min(210mm, calc(100% - 2rem)); min-height: 297mm; margin: 1.2rem auto; padding: 15mm; background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.sheet-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; padding-bottom: 1rem; border-bottom: 3px solid #147b8c; }
.sheet-kicker { margin: 0; color: #147b8c; font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
h1 { margin: .35rem 0 .2rem; font-size: 2rem; line-height: 1.05; }
.sheet-header p { margin: 0; }
.sheet-status { min-width: 180px; padding: .8rem; border: 1px solid #85bac2; border-radius: 12px; background: #effbfc; text-align: right; }
.sheet-status strong, .sheet-status span { display: block; }
.sheet-status span { margin-top: .25rem; font-size: .85rem; }
.sheet-notice { margin: 1rem 0; padding: .8rem 1rem; border-left: 5px solid #d98a00; background: #fff8e7; line-height: 1.45; }
.sheet-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; }
.sheet-grid article { padding: .75rem; border: 1px solid #cbd8de; border-radius: 10px; break-inside: avoid; }
.sheet-grid span { display: block; color: #526875; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.sheet-grid strong { display: block; margin-top: .25rem; overflow-wrap: anywhere; }
.sheet-section { margin-top: 1.25rem; break-inside: avoid; }
.sheet-section h2 { margin: 0 0 .7rem; padding-bottom: .35rem; border-bottom: 1px solid #9ebfc5; font-size: 1.2rem; color: #0b5d6a; }
.source-table { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
.source-table > div { padding: .7rem; border: 1px solid #d0dade; border-radius: 8px; break-inside: avoid; }
.source-table strong, .source-table span, .source-table small { display: block; }
.source-table span { margin: .22rem 0; }
.source-table small { color: #526875; line-height: 1.35; }
.quality-note { margin-bottom: 0; font-weight: 700; }
.sheet-sources ul { margin: 0; padding-left: 1.2rem; }
.sheet-sources li { margin: .35rem 0; }
.sheet-footer { display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; margin-top: 1.4rem; padding-top: .7rem; border-top: 1px solid #9ebfc5; color: #526875; font-size: .72rem; }
.print-error { padding: 2rem; text-align: center; }
@media (max-width: 700px) {
    .print-sheet { width: calc(100% - 1rem); margin: .5rem; padding: 1rem; }
    .sheet-header { flex-direction: column; }
    .sheet-status { width: 100%; text-align: left; }
    .sheet-grid, .source-table { grid-template-columns: 1fr; }
}
@page { size: A4; margin: 12mm; }
@media print {
    :root { background: #fff; }
    .print-toolbar { display: none !important; }
    .print-sheet { width: auto; min-height: auto; margin: 0; padding: 0; box-shadow: none; }
    a { color: inherit; text-decoration: none; }
    .sheet-section { break-inside: avoid; }
}
