.sgl3-print-sheet {
    display: none;
    --sgl3-print-soft: #eef1f4;
    --sgl3-print-soft2: #f7f8fa;
    --sgl3-print-soft3: #dde3ea;
    --sgl3-print-ink: #111;
    --sgl3-print-on-ink: #fff;
    --sgl3-print-line: #9aa3ad;
    --sgl3-print-muted: #555;
    --sgl3-print-accent: #0b4f7c;
    --sgl3-print-band-label: #445;
    --sgl3-print-band: #fafbfc;
}

.sgl3-print-screen {
    max-width: 1600px;
    margin: 0 auto;
    padding: 16px;
    font-family: Roboto, Arial, sans-serif;
}

.sgl3-print-screen .sgl3-print-sheet {
    display: block;
    background: #fff;
    color: #000;
    padding: 9mm 8mm 11mm 8mm;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.sgl3-print-hint {
    margin-bottom: 12px;
    font-size: 0.875rem;
}

.sgl3-print-header {
    border-bottom: 1px solid #000;
    padding-bottom: 2mm;
    margin-bottom: 2mm;
}

.sgl3-print-title {
    font-size: 18pt;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sgl3-print-header-line {
    display: flex;
    justify-content: space-between;
    gap: 6mm;
}

.sgl3-print-frame {
    width: 100%;
    border-collapse: collapse;
}

.sgl3-print-frame > thead {
    display: table-header-group;
}

.sgl3-print-frame > thead > tr > td,
.sgl3-print-frame > tbody > tr > td {
    padding: 0;
    vertical-align: top;
}

.sgl3-print-page-header {
    display: grid;
    grid-template-columns: 34mm minmax(0, 1fr) auto;
    gap: 2mm 5mm;
    align-items: center;
    border-bottom: 1.6pt solid var(--sgl3-print-ink);
    padding-bottom: 2mm;
    margin-bottom: 3mm;
}

.sgl3-print-client-box {
    height: 15mm;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 0.6pt dashed var(--sgl3-print-line);
    font-size: 6.3pt;
    color: var(--sgl3-print-muted);
    text-align: center;
    line-height: 1.2;
    padding: 1mm;
}

.sgl3-print-client-box-logo {
    border: 0;
}

.sgl3-print-client-placeholder,
.sgl3-print-client-source {
    display: block;
}

.sgl3-print-client-logo {
    max-height: 13mm;
    max-width: 32mm;
}

.sgl3-print-header-kicker {
    font-size: 7pt;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sgl3-print-muted);
}

.sgl3-print-header-kicker span + span::before {
    content: "\00B7";
    margin: 0 1.5mm;
}

.sgl3-print-header-title {
    font-size: 15pt;
    font-weight: 700;
    line-height: 1.05;
}

.sgl3-print-header-title-code {
    font-family: ui-monospace, Consolas, monospace;
    color: var(--sgl3-print-accent);
}

.sgl3-print-header-meta {
    text-align: right;
    font-size: 7.8pt;
    line-height: 1.45;
    white-space: nowrap;
}

.sgl3-print-header-meta b {
    font-weight: 700;
}

.sgl3-print-sgl3-logo {
    display: block;
    height: 9mm;
    margin: 0 0 1mm auto;
}

.sgl3-print-status {
    display: inline-block;
    border: 1pt solid #000;
    padding: 0 1.6mm;
    font-weight: 700;
    font-size: 7.5pt;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sgl3-print-header-version {
    margin-left: 1.5mm;
}

.sgl3-print-sheet .sgl3-print-header-approval {
    display: block;
    white-space: nowrap;
}

.sgl3-print-sheet .sgl3-print-header-approval b {
    font-weight: 700;
}

.sgl3-print-model-picker {
    display: flex;
    align-items: center;
    gap: 3mm;
}

.sgl3-print-block {
    margin-top: 3mm;
}

.sgl3-print-section-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 3mm;
    font-size: 9pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 4mm 0 1.6mm 0;
    padding-bottom: 0.8mm;
    border-bottom: 0.6pt solid var(--sgl3-print-line);
    break-after: avoid;
    page-break-after: avoid;
}

.sgl3-print-section-note {
    font-size: 7pt;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--sgl3-print-muted);
}

.sgl3-print-grid {
    width: 100%;
    border-collapse: collapse;
}

.sgl3-print-grid th,
.sgl3-print-grid td {
    border: 0.5pt solid var(--sgl3-print-line);
    padding: 0.8mm 1mm;
    vertical-align: middle;
}

.sgl3-print-grid thead {
    display: table-header-group;
}

.sgl3-print-grid tr {
    break-inside: avoid;
    page-break-inside: avoid;
}

.sgl3-print-sheet .sgl3-print-grid thead th {
    background: var(--sgl3-print-soft);
    font-size: 6.8pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: center;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.sgl3-print-sheet .sgl3-print-grid thead tr.sgl3-print-group-row th {
    background: var(--sgl3-print-soft3);
    font-size: 7pt;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.sgl3-print-sheet .sgl3-print-grid tbody tr:nth-child(even) td {
    background: var(--sgl3-print-soft2);
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.sgl3-print-num {
    text-align: right;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 8pt;
    white-space: nowrap;
}

.sgl3-print-nowrap {
    white-space: nowrap;
}

.sgl3-print-num.sgl3-print-pair-cell {
    white-space: normal;
}

.sgl3-print-pair-cell .sgl3-print-nowrap,
.sgl3-print-text-cell .sgl3-print-nowrap {
    white-space: normal;
}

.sgl3-print-stand-cell .sgl3-print-stand-meta {
    white-space: normal;
}

.sgl3-print-code {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 7.5pt;
}

.sgl3-print-empty {
    color: var(--sgl3-print-line);
}

.sgl3-print-stand-cell {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 9pt;
    font-weight: 700;
    white-space: nowrap;
}

.sgl3-print-stand-label {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 9pt;
    font-weight: 700;
}

.sgl3-print-stand-meta {
    display: block;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 6.5pt;
    font-weight: 400;
    color: var(--sgl3-print-muted);
}

.sgl3-print-met {
    font-size: 6pt;
    border: 0.5pt solid var(--sgl3-print-ink);
    padding: 0 0.6mm;
    margin-left: 0.6mm;
    vertical-align: 1px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-weight: 400;
}

.sgl3-print-stand-table {
    table-layout: fixed;
}

.sgl3-print-col-stand {
    width: 18mm;
}

.sgl3-print-col-profile {
    width: 25mm;
}

.sgl3-print-col-roll-groove {
    width: 18mm;
}

.sgl3-print-col-gap {
    width: 14mm;
}

.sgl3-print-col-load-gap {
    width: 14mm;
}

.sgl3-print-col-dimensions {
    width: 18mm;
}

.sgl3-print-col-cooling {
    width: 15mm;
}

.sgl3-print-col-funnel {
    width: 24mm;
}

.sgl3-print-col-loop-roll {
    width: 18mm;
}

.sgl3-print-col-elongation {
    width: 13mm;
}

.sgl3-print-col-capacity {
    width: 15mm;
}

.sgl3-print-sheet .sgl3-print-stand-table thead th {
    letter-spacing: 0;
    padding: 0.8mm 0.4mm;
}

.sgl3-print-unit {
    text-transform: none;
}

.sgl3-print-stand-table .sgl3-print-profile-cell,
.sgl3-print-stand-table .sgl3-print-cooling-cell {
    padding: 0.8mm 0.4mm;
}

.sgl3-print-dim {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 8pt;
    text-align: right;
    line-height: 1.35;
}

.sgl3-print-dim i {
    font-style: normal;
    color: var(--sgl3-print-muted);
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 6.8pt;
    float: left;
}

.sgl3-print-stand-cell .sgl3-print-stand-identity {
    display: block;
    font-weight: 400;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 6.8pt;
    color: var(--sgl3-print-ink);
    white-space: normal;
}

.sgl3-print-stand-table > tbody.sgl3-print-stand-group {
    break-inside: avoid;
    page-break-inside: avoid;
}

.sgl3-print-stand-table > tbody > tr.sgl3-print-stand-spacer > td {
    height: 1mm;
    padding: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    background: transparent;
}

.sgl3-print-sheet .sgl3-print-stand-table > tbody > tr.sgl3-print-stand-row > td {
    background: #fff;
    vertical-align: top;
}

.sgl3-print-sheet .sgl3-print-stand-table > tbody > tr.sgl3-print-band-row > th {
    text-align: left;
    vertical-align: top;
    font-size: 6.3pt;
    color: var(--sgl3-print-band-label);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
    background: var(--sgl3-print-soft);
    padding: 0.8mm 0.6mm;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.sgl3-print-sheet .sgl3-print-stand-table > tbody > tr.sgl3-print-band-row > td {
    vertical-align: top;
    background: var(--sgl3-print-band);
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.sgl3-print-stand-table > tbody > tr.sgl3-print-stand-row > td:first-child,
.sgl3-print-stand-table > tbody > tr.sgl3-print-band-row > th {
    border-left: 2.4pt solid var(--sgl3-print-ink);
}

.sgl3-print-sheet .sgl3-print-line th {
    width: 24mm;
    text-align: left;
    background: var(--sgl3-print-soft);
    font-size: 7.6pt;
    white-space: nowrap;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.sgl3-print-line td {
    font-size: 7.6pt;
    line-height: 1.5;
}

.sgl3-print-pair {
    display: inline-block;
    margin-right: 5mm;
    white-space: nowrap;
    break-inside: avoid;
}

.sgl3-print-pair-label {
    color: var(--sgl3-print-muted);
}

.sgl3-print-pair b {
    font-family: ui-monospace, Consolas, monospace;
    font-weight: 600;
}

.sgl3-print-sheet a.sgl3-print-screen-link {
    color: var(--sgl3-print-accent);
    text-decoration: underline;
}

.sgl3-print-observations {
    column-count: 2;
    column-gap: 5mm;
    font-size: 7.6pt;
    margin: 0;
    padding-left: 5mm;
}

.sgl3-print-observations > li {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 0.8mm;
}

.sgl3-print-observation {
    white-space: pre-wrap;
    text-transform: uppercase;
}

.sgl3-print-history-table td {
    font-size: 7.4pt;
}

.sgl3-print-change-history-entry {
    margin: 0 0 1.4mm;
    font-size: 7.4pt;
    line-height: 1.35;
    text-transform: uppercase;
    break-inside: avoid;
    page-break-inside: avoid;
}

.sgl3-print-change-history-entry > b {
    font-family: ui-monospace, Consolas, monospace;
}

.sgl3-print-from {
    color: var(--sgl3-print-muted);
    text-decoration: line-through;
    font-family: ui-monospace, Consolas, monospace;
}

.sgl3-print-to {
    font-weight: 700;
    font-family: ui-monospace, Consolas, monospace;
}

.sgl3-print-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5mm;
}

.sgl3-print-card {
    border: 0.8pt solid var(--sgl3-print-ink);
    break-inside: avoid;
    page-break-inside: avoid;
}

.sgl3-print-sheet .sgl3-print-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    background: var(--sgl3-print-soft);
    padding: 1mm 1.8mm;
    border-bottom: 0.6pt solid var(--sgl3-print-ink);
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.sgl3-print-card-header .sgl3-print-stand-label {
    font-size: 11pt;
}

.sgl3-print-card-meta {
    font-size: 7pt;
    color: var(--sgl3-print-muted);
}

.sgl3-print-card-params {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 0.5pt solid var(--sgl3-print-line);
}

.sgl3-print-card-param {
    padding: 0.8mm 1.6mm;
    font-size: 7.2pt;
    border-right: 0.5pt solid var(--sgl3-print-soft);
}

.sgl3-print-card-param:nth-child(3n) {
    border-right: 0;
}

.sgl3-print-card-param i {
    display: block;
    font-style: normal;
    font-size: 6.3pt;
    color: var(--sgl3-print-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.sgl3-print-card-param em {
    font-style: normal;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 8.6pt;
    font-weight: 600;
}

.sgl3-print-card-header .sgl3-print-stand-identity {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 8pt;
    font-weight: 600;
    margin-left: 1mm;
}

.sgl3-print-card-profile {
    grid-column: 1 / -1;
    border-top: 0.5pt solid var(--sgl3-print-soft);
    padding: 0.8mm 1.6mm;
    font-size: 7.2pt;
    min-width: 0;
}

.sgl3-print-card-profile i {
    display: block;
    font-style: normal;
    font-size: 6.3pt;
    color: var(--sgl3-print-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.4mm;
}

.sgl3-print-profile {
    margin: 0;
    text-align: center;
}

.sgl3-print-profile img {
    display: block;
    max-width: 100%;
    max-height: 11mm;
    margin: 0 auto 0.6mm;
}

.sgl3-print-profile figcaption {
    font-size: 6.8pt;
    line-height: 1.15;
}

.sgl3-print-card-profile .sgl3-print-profile {
    display: flex;
    align-items: center;
    gap: 2mm;
    text-align: left;
}

.sgl3-print-card-profile .sgl3-print-profile img {
    margin: 0;
    max-width: 22mm;
}

.sgl3-print-guide-pieces {
    display: flex;
    flex-wrap: wrap;
    column-gap: 5mm;
    row-gap: 0.3mm;
    font-size: 7.2pt;
    line-height: 1.28;
}

.sgl3-print-guide-piece {
    white-space: nowrap;
}

.sgl3-print-guide-piece-label {
    color: var(--sgl3-print-muted);
    font-size: 6.8pt;
}

.sgl3-print-guide-bands {
    padding: 0.4mm 1.6mm 0.8mm;
}

.sgl3-print-guide-band {
    display: grid;
    grid-template-columns: 12mm 1fr;
    column-gap: 1.5mm;
    padding: 0.6mm 0;
    border-top: 0.3pt dotted var(--sgl3-print-line);
    min-width: 0;
}

.sgl3-print-guide-band:first-child {
    border-top: 0;
}

.sgl3-print-guide-band-label {
    font-size: 6.3pt;
    color: var(--sgl3-print-band-label);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
    font-weight: 700;
}

.sgl3-print-stand-detail {
    border: 0.8pt solid var(--sgl3-print-ink);
    margin-bottom: 2mm;
    break-inside: avoid;
    page-break-inside: avoid;
}

.sgl3-print-sheet .sgl3-print-stand-detail-header {
    background: var(--sgl3-print-soft);
    padding: 1mm 1.8mm;
    border-bottom: 0.6pt solid var(--sgl3-print-ink);
    font-size: 7.2pt;
    line-height: 1.5;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.sgl3-print-stand-detail-label {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 10pt;
    margin-right: 1mm;
}

.sgl3-print-stand-detail-identity {
    font-weight: 700;
    margin-right: 1.5mm;
}

.sgl3-print-stand-detail-meta {
    color: var(--sgl3-print-muted);
    margin-right: 3.5mm;
}

.sgl3-print-stand-detail-kv {
    display: inline-block;
    margin-right: 3.5mm;
    white-space: nowrap;
    color: var(--sgl3-print-muted);
}

.sgl3-print-stand-detail-kv b {
    color: var(--sgl3-print-ink);
    font-family: ui-monospace, Consolas, monospace;
    font-weight: 600;
}

.sgl3-print-stand-detail-body {
    display: grid;
    grid-template-columns: 26mm 1fr;
    gap: 0 3mm;
    padding: 1mm 1.8mm 1.2mm;
}

.sgl3-print-stand-detail-body > div {
    min-width: 0;
}

.sgl3-print-stand-detail-profile-label {
    display: block;
    font-style: normal;
    font-size: 6.3pt;
    color: var(--sgl3-print-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.4mm;
}

.sgl3-print-stand-detail .sgl3-print-guide-bands {
    padding: 0;
}

.sgl3-print-stand-detail .sgl3-print-guide-band {
    grid-template-columns: 16mm 1fr;
}

.sgl3-print-matrix {
    margin-bottom: 2mm;
}

.sgl3-print-matrix-section {
    break-inside: avoid;
    page-break-inside: avoid;
}

.sgl3-print-sheet .sgl3-print-matrix-params tr.sgl3-print-matrix-group {
    break-after: avoid;
    page-break-after: avoid;
}

.sgl3-print-matrix th,
.sgl3-print-matrix td {
    text-align: center;
}

.sgl3-print-matrix th:first-child,
.sgl3-print-matrix td:first-child {
    text-align: left;
    white-space: nowrap;
}

.sgl3-print-matrix th .sgl3-print-stand-label {
    font-size: 7.5pt;
}

.sgl3-print-matrix th .sgl3-print-stand-identity {
    display: block;
    font-weight: 400;
    font-size: 6.5pt;
    text-transform: none;
    letter-spacing: 0;
}

.sgl3-print-matrix-label {
    font-size: 7.2pt;
}

.sgl3-print-matrix .sgl3-print-num {
    text-align: center;
    font-size: 7.6pt;
}

.sgl3-print-sheet .sgl3-print-grid tbody tr.sgl3-print-matrix-group td {
    background: var(--sgl3-print-soft3);
    font-weight: 700;
    font-size: 6.8pt;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: left;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.sgl3-print-sheet .sgl3-print-stand-table > tbody > tr.sgl3-print-stand-row > td.sgl3-print-trough {
    background: var(--sgl3-print-soft3);
    text-align: center;
    vertical-align: middle;
    font-weight: 700;
    font-size: 8pt;
    letter-spacing: 0.06em;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.sgl3-print-card-trough {
    align-self: start;
}

.sgl3-print-sheet .sgl3-print-trough-header {
    background: var(--sgl3-print-soft3);
    border-bottom: 0;
    justify-content: flex-start;
    gap: 0;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.sgl3-print-trough-header > span {
    flex: 1;
    text-align: center;
    font-size: 8pt;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--sgl3-print-ink);
}

.sgl3-print-stand-detail-header.sgl3-print-trough-header {
    display: flex;
    align-items: baseline;
}

.sgl3-print-sheet .sgl3-print-matrix tbody tr td.sgl3-print-trough-cell {
    background: var(--sgl3-print-soft3);
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.sgl3-print-reason {
    border: 1px solid #000;
    padding: 3mm;
    margin-top: 3mm;
}

.sgl3-print-sheet .sgl3-print-no-version {
    margin-top: 8mm;
    padding: 7mm 6mm;
    text-align: center;
    font-size: 11pt;
    line-height: 1.4;
}

.sgl3-print-sheet .sgl3-print-no-version > div:first-child {
    font-weight: 700;
}

.sgl3-print-sheet .sgl3-print-no-version > div + div {
    margin-top: 2mm;
}

.sgl3-print-sheet .sgl3-print-compare-changed {
    text-decoration: underline;
    text-decoration-thickness: 0.7pt;
    text-underline-offset: 1.2pt;
    text-decoration-skip-ink: none;
}

.sgl3-print-sheet .sgl3-print-compare-removed {
    text-decoration: underline;
    text-decoration-thickness: 0.7pt;
    text-underline-offset: 1.2pt;
    text-decoration-skip-ink: none;
    white-space: normal;
}

.sgl3-print-sheet .sgl3-print-compare-removed > b {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 5.6pt;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-right: 0.5mm;
}

.sgl3-print-sheet .sgl3-print-compare-removed > s {
    text-decoration: line-through;
    text-decoration-thickness: 0.6pt;
    white-space: nowrap;
}

.sgl3-print-sheet .sgl3-print-compare-removed.sgl3-print-met {
    display: table;
    margin: 0.3mm 0;
}

.sgl3-print-sheet .sgl3-print-compare-same {
    visibility: hidden;
}

.sgl3-print-sheet .sgl3-print-compare-destination-row:is(.sgl3-print-stand-table > tbody > tr) > :is(td, th) {
    background: var(--sgl3-print-soft);
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.sgl3-print-sheet .sgl3-print-compare-side {
    display: inline-block;
    vertical-align: middle;
    padding: 0 1mm;
    border: 0.5pt solid var(--sgl3-print-ink);
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 5.8pt;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-decoration: none;
}

.sgl3-print-sheet .sgl3-print-compare-destination-row .sgl3-print-compare-side {
    background: var(--sgl3-print-ink);
    color: var(--sgl3-print-on-ink);
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.sgl3-print-sheet .sgl3-print-compare-product {
    display: grid;
    grid-template-columns: 10mm minmax(0, 1fr);
    column-gap: 1.5mm;
    align-items: baseline;
    margin-top: 0.8mm;
}

.sgl3-print-sheet .sgl3-print-compare-product .sgl3-print-compare-side {
    display: block;
    margin: 0;
    text-align: center;
    font-size: 6.5pt;
}

.sgl3-print-sheet .sgl3-print-compare-product-destination .sgl3-print-compare-side {
    background: var(--sgl3-print-ink);
    color: var(--sgl3-print-on-ink);
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.sgl3-print-sheet .sgl3-print-compare-product-title {
    font-size: 12pt;
    font-weight: 700;
    line-height: 1.1;
}

.sgl3-print-sheet .sgl3-print-compare-product-meta {
    grid-column: 1 / -1;
    font-size: 7.8pt;
    line-height: 1.45;
    white-space: nowrap;
}

.sgl3-print-sheet .sgl3-print-compare-facts > span + span::before {
    content: "\00B7";
    margin: 0 1.2mm;
}

.sgl3-print-sheet .sgl3-print-compare-assemblies-list {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 8pt;
    line-height: 1.5;
}

.sgl3-print-screen .sgl3-print-compare-picker {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 8px;
}

@page {
    size: A4 portrait;
    margin: 9mm 8mm 11mm 8mm;

    @bottom-left {
        font-family: 'Segoe UI', system-ui, sans-serif;
        font-size: 7pt;
        color: #555;
    }

    @bottom-right {
        font-family: 'Segoe UI', system-ui, sans-serif;
        font-size: 7.5pt;
        content: counter(page) " / " counter(pages);
    }
}

@media print {
    html,
    body {
        background: #fff;
        color: #000;
        display: block !important;
        overflow: visible !important;
        height: auto !important;
    }

    body *:not(.sgl3-print-sheet):not(.sgl3-print-sheet *) {
        background: #fff;
        color: #000;
    }

    .mud-drawer,
    .mud-appbar,
    .mud-overlay,
    .mud-snackbar,
    .sgl3-status-bar,
    .sgl3-page-header,
    .sgl3-print-hint,
    button,
    .mud-button-root,
    .sgl3-btn {
        display: none !important;
    }

    #app,
    .sgl3-main-content-wrapper,
    .mud-main-content,
    .mud-layout,
    .sgl3-content-scroll,
    .sgl3-print-screen {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .mud-container:has(> .sgl3-print-screen) {
        padding: 0 !important;
        margin: 0 !important;
        max-width: none !important;
    }

    .sgl3-print-sheet,
    .sgl3-print-screen .sgl3-print-sheet {
        display: block;
        background: #fff;
        color: #000;
        font-family: 'Segoe UI', system-ui, sans-serif;
        font-size: 8.5pt;
        line-height: 1.25;
        padding: 0 0.5mm;
    }

    .sgl3-print-frame > thead {
        display: table-header-group;
    }

    .sgl3-print-frame > tbody {
        display: table-row-group;
    }

    .sgl3-print-page-header {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .sgl3-print-grid thead {
        display: table-header-group;
    }

    .sgl3-print-grid tbody {
        display: table-row-group;
    }

    .sgl3-print-grid th,
    .sgl3-print-grid td {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .sgl3-print-grid tr {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .sgl3-print-reason {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .sgl3-print-sheet a.sgl3-print-screen-link {
        color: inherit;
        text-decoration: none;
    }

    .sgl3-print-client-box-empty {
        visibility: hidden;
    }
}
