.specifications-page {
    --spec-muted: #b0bed1;
    --spec-accent: #87b3ff;
    --spec-line: rgba(153, 182, 226, .22);
}
.specifications-page [hidden] { display: none !important; }
.specifications-page a:focus-visible,
.specifications-page button:focus-visible,
.specifications-page summary:focus-visible,
.specifications-page [tabindex]:focus-visible {
    outline: 3px solid var(--spec-accent);
    outline-offset: 5px;
}
.spec-skip {
    position: fixed;
    left: 20px;
    top: -100px;
    z-index: 1200;
    padding: 12px 20px;
    background: var(--text);
    color: var(--bg);
}
.spec-skip:focus { top: 12px; }
.spec-main { padding-top: calc(var(--nav-h) + 60px); }
.spec-header { max-width: 930px; margin-bottom: 32px; }
.spec-eyebrow {
    color: var(--spec-accent);
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.spec-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.12;
    letter-spacing: -.035em;
    margin-bottom: 20px;
}
.spec-intro { font-size: 1.2rem; color: var(--spec-muted); max-width: 790px; }
.spec-header-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 24px; }
.spec-date, .spec-revision { color: var(--spec-muted); font-size: .875rem; }
.spec-print { font-size: .875rem; color: var(--spec-muted); padding: 11px 16px; }
.spec-toc { display: flex; gap: 12px 28px; flex-wrap: wrap; border-block: 1px solid var(--spec-line); padding: 18px 0; }
.spec-toc a { font-size: .9375rem; color: var(--spec-muted); }
.spec-toc a:hover { color: white; }
.spec-section { padding: 64px 0; border-bottom: 1px solid var(--spec-line); scroll-margin-top: calc(var(--nav-h) + 22px); }
.spec-section-heading { max-width: 850px; margin-bottom: 30px; }
.spec-section-heading h2 { font-size: clamp(1.7rem, 3.5vw, 2.25rem); letter-spacing: -.025em; line-height: 1.2; margin-bottom: 20px; }
.spec-section-heading > p:not(.spec-eyebrow) { color: var(--spec-muted); }
.spec-section-heading strong { color: var(--text); font-weight: 650; }
.spec-diagram { border: 1px solid var(--spec-line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.spec-diagram-desktop { display: block; width: 100%; height: auto; padding: 12px 6px 0; }
.scheme-device { fill: #101d32; stroke: #344b6b; stroke-width: 1.2; }
.scheme-computer { fill: #0b1528; stroke: #3c597e; stroke-width: 1.4; }
.scheme-engine { fill: #142d50; stroke: #7aa9ff; stroke-width: 1.5; }
.scheme-title { fill: #e9f1fc; font-size: 18px; font-weight: 650; }
.scheme-engine-title { fill: #e9f1fc; font-size: 24px; font-weight: 700; }
.scheme-label { fill: #bfcee2; font-size: 16px; }
.scheme-small { fill: #bfcee2; font-size: 15px; }
.scheme-group { fill: #97baf0; font-size: 14px; letter-spacing: 1px; font-weight: 650; }
.scheme-network { fill: #d3e2f9; font-size: 16px; font-weight: 650; }
.scheme-icon { fill: none; stroke: #a4c6ff; stroke-width: 1.8; }
.scheme-link { fill: none; stroke: #7aa9ff; stroke-width: 1.6; }
.spec-diagram figcaption { border-top: 1px solid var(--spec-line); padding: 16px 24px; color: var(--spec-muted); font-size: .9375rem; }
.spec-diagram-mobile { display: none; }
.spec-use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 32px 0; }
.spec-use-grid h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.spec-use-grid p, .spec-practical p { color: var(--spec-muted); }
.spec-note { padding: 20px 24px; border-left: 3px solid var(--spec-accent); background: rgba(95, 149, 238, .07); border-radius: 0 8px 8px 0; color: var(--spec-muted); }
.spec-note strong { color: var(--text); }
.spec-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--spec-line); border-radius: 12px; scrollbar-color: #506f98 var(--surface); }
.spec-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 1rem; }
.spec-table caption { color: var(--spec-muted); text-align: left; font-size: .875rem; padding: 16px 20px; background: var(--surface); border-bottom: 1px solid var(--spec-line); }
.spec-table th, .spec-table td { vertical-align: top; text-align: left; padding: 20px; border-bottom: 1px solid var(--spec-line); overflow-wrap: anywhere; }
.spec-table thead th { background: #112038; color: #e1ebfa; font-weight: 650; font-size: .9375rem; }
.spec-table tbody th { color: var(--text); font-weight: 650; }
.spec-table td { color: var(--spec-muted); }
.spec-table tr:last-child > * { border-bottom: 0; }
.spec-table tbody tr:nth-child(even) { background: rgba(160, 185, 222, .025); }
.spec-computer-table { min-width: 650px; }
.spec-computer-table th:first-child { width: 20%; }
.spec-platform-table { min-width: 650px; }
.spec-platform-table th:nth-child(1) { width: 22%; }
.spec-platform-table th:nth-child(2) { width: 29%; }
.spec-platform-table th:nth-child(3) { width: 49%; }
.spec-dmx-table { min-width: 780px; }
.spec-dmx-table th:nth-child(1) { width: 22%; }
.spec-dmx-table th:nth-child(2) { width: 27%; }
.spec-dmx-table th:nth-child(3) { width: 22%; }
.spec-dmx-table th:nth-child(4) { width: 29%; }
.spec-row-detail { display: block; font-size: .875rem; color: var(--spec-muted); font-weight: 400; margin-top: 7px; }
.spec-status { display: inline-block; font-size: .875rem; font-weight: 650; padding: 4px 10px; border-radius: 6px; border: 1px solid; white-space: nowrap; }
.spec-status-pending { color: #ffda95; background: #302619; border-color: #715729; }
.spec-preparation { margin-top: 28px; }
.spec-optional { margin-top: 10px; }
.spec-table-note { font-size: .9375rem; color: var(--spec-muted); margin: 16px 0 24px; }
.spec-table-note a { color: var(--spec-accent); text-decoration: underline; text-underline-offset: 3px; }
.spec-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; margin: 28px 0; }
.spec-practical h3 { font-size: 1.125rem; margin-bottom: 12px; }
.spec-practical ul { list-style: disc; padding-left: 20px; color: var(--spec-muted); }
.spec-practical li + li { margin-top: 8px; }
.spec-details { border-block: 1px solid var(--spec-line); }
.spec-details summary { padding: 20px 10px; font-weight: 650; cursor: pointer; }
.spec-details > div { padding: 0 10px 24px; color: var(--spec-muted); }
.spec-details p + p { margin-top: 14px; }
.spec-final { border-bottom: 0; }
.spec-checklist { list-style: disc; padding-left: 22px; color: var(--spec-muted); }
.spec-checklist li { padding-left: 5px; margin-bottom: 14px; }
.spec-checklist strong { color: var(--text); font-weight: 650; }
.spec-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 36px 0 24px; padding: 28px; border: 1px solid var(--spec-line); border-radius: 12px; background: var(--surface); }
.spec-contact h3 { font-size: 1.25rem; margin-bottom: 8px; }
.spec-contact p { color: var(--spec-muted); }

@media (max-width: 1220px) {
    .specifications-page .nav-links a { font-size: 1rem; }
}
@media (max-width: 1100px) {
    .spec-diagram-desktop { display: none; }
    .spec-diagram-mobile { display: block; padding: 24px; }
    .spec-remote-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .spec-remote-pair > div, .spec-mobile-node, .spec-computer-mobile > div { padding: 18px; border: 1px solid var(--spec-line); border-radius: 10px; background: #101d32; }
    .spec-diagram-mobile strong { display: block; font-size: 1.0625rem; margin-bottom: 5px; }
    .spec-diagram-mobile span { display: block; font-size: 1rem; color: var(--spec-muted); }
    .spec-flow-label { position: relative; margin: 0 auto; padding: 22px 10px; color: var(--spec-muted); font-size: .875rem; text-align: center; }
    .spec-flow-label::before { content: ""; display: block; width: 1px; height: 16px; background: var(--spec-accent); margin: 0 auto 10px; }
    .spec-flow-label::after { content: ""; display: block; width: 7px; height: 7px; border: solid var(--spec-accent); border-width: 0 1px 1px 0; transform: rotate(45deg); margin: 8px auto 0; }
    .spec-computer-mobile { padding: 20px; border: 1px solid #6b92c8; border-radius: 12px; background: #0b1528; }
    .spec-computer-mobile .spec-engine-mobile { background: #142d50; border-color: #7aa9ff; }
    .spec-use-grid { gap: 22px; }
}
@media (max-width: 760px) {
    .spec-main { padding-top: calc(var(--nav-h) + 36px); }
    .spec-header h1 { font-size: 2.4rem; overflow-wrap: anywhere; }
    .spec-intro { font-size: 1.0625rem; }
    .spec-toc { gap: 12px 22px; }
    .spec-section { padding-block: 42px; }
    .spec-use-grid, .spec-two-col { grid-template-columns: 1fr; gap: 24px; }
    .spec-contact { align-items: stretch; flex-direction: column; }
    .spec-table-wrap::after { content: "Faire défiler horizontalement pour lire le tableau."; display: block; padding: 12px 16px; font-size: .875rem; color: var(--spec-muted); border-top: 1px solid var(--spec-line); }
    .spec-diagram-mobile { padding: 20px; }
}
@media (max-width: 400px) {
    .specifications-page .container { padding-inline: 18px; }
    .spec-header h1 { font-size: 2.05rem; }
    .spec-remote-pair { grid-template-columns: 1fr; }
    .spec-diagram-mobile, .spec-computer-mobile { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .specifications-page { scroll-behavior: auto; }
    html:has(.specifications-page) { scroll-behavior: auto; }
}
@media print {
    @page { size: A4 portrait; margin: 14mm 12mm; }
    .specifications-page { background: #fff; color: #172534; font-size: 9.5pt; --spec-muted: #3d4c5c; --spec-line: #b8c5d5; --text: #172534; --surface: #f2f5f9; --spec-accent: #224e86; }
    .specifications-page .navbar, .specifications-page .footer, .spec-skip, .spec-print, .spec-toc, .spec-contact .btn { display: none !important; }
    .spec-main { max-width: none; padding: 0; }
    .spec-header h1 { font-size: 26pt; }
    .spec-header, .spec-section-heading { max-width: none; }
    .spec-section { padding: 20px 0; }
    .spec-section-heading h2 { font-size: 18pt; }
    .spec-section-heading { margin-bottom: 18px; }
    .spec-table-wrap { overflow: visible; border-radius: 0; }
    .spec-table-wrap::after { display: none; }
    .spec-table { min-width: 0; font-size: 8.5pt; }
    .spec-table th, .spec-table td { padding: 8px; }
    .spec-table thead th { background: #e3ebf5; color: #172534; }
    .specifications-page tr[hidden] { display: table-row !important; }
    .spec-status { white-space: normal; font-size: 8pt; padding: 2px 5px; background: #fff; color: #172534; border-color: #8695a7; }
    .spec-date, .spec-table caption, .spec-row-detail, .spec-revision { font-size: 8pt; }
    .spec-intro { font-size: 11pt; }
    .spec-note, .spec-contact { background: #f2f5f9; padding: 12px; }
    .spec-use-grid { gap: 16px; }
    .spec-two-col { gap: 20px; }
    .spec-diagram { background: #0c1222; color: #e4eaf5; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .spec-diagram-desktop { display: block; }
    .spec-diagram-mobile { display: none; }
    .spec-diagram figcaption { color: #c5d2e4; }
    .spec-details > div { display: block !important; }
    .spec-details summary { list-style: none; }
    h2, h3, caption, summary { break-after: avoid; }
    tr, .spec-note, .spec-diagram, .spec-use-grid article, .spec-checklist li { break-inside: avoid; }
    .specifications-page a { color: inherit; }
}
