/* Orchestra — Software Defined Instrumentation | Documentation stylesheet */
:root {
  color-scheme: light;
  --ink: #243341;
  --muted: #607180;
  --line: #cbd5dd;
  --accent: #175a7a;
  --soft: #edf4f7;
  --paper: #fff;
  --code: #f3f6f8;
}
* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { margin: 0; background: #e9eef1; color: var(--ink); font: 1rem/1.65 'Segoe UI', Arial, sans-serif; }
.page { max-width: 1080px; min-height: 100vh; margin: auto; background: var(--paper); box-shadow: 0 0 24px #21394b12; }
.site-header { border-bottom: 3px solid var(--accent); padding: 1.2rem clamp(1rem, 4vw, 3rem); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-title { font-weight: 750; letter-spacing: .11em; color: var(--accent); font-size: 1.15rem; }
.nav-group { display: flex; flex-wrap: wrap; gap: .6rem; }
.nav-button { display: inline-block; padding: .25rem .8rem; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; font-size: .85rem; }
.page-content { padding: 2rem clamp(1rem, 5vw, 3.5rem) 4rem; }
.eyebrow { color: var(--accent); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
h1, h2, h3 { line-height: 1.25; color: #193b51; }
h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: .35rem 0 1rem; }
h2 { margin: 2.2rem 0 .8rem; padding-bottom: .35rem; border-bottom: 1px solid var(--line); font-size: 1.45rem; }
h3 { margin: 1.5rem 0 .4rem; font-size: 1.1rem; }
p { margin: .7rem 0 1rem; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
.lead { font-size: 1.1rem; color: #425667; }
.meta { color: var(--muted); font-size: .85rem; }
.callout, .principle { padding: 1rem 1.2rem; border-left: 4px solid var(--accent); background: var(--soft); margin: 1.3rem 0; }
.requirement { padding: .8rem 1rem; margin: .75rem 0; border: 1px solid var(--line); border-radius: 5px; }
.req-id { font: 700 .85rem Consolas, monospace; color: var(--accent); margin-right: .5rem; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { padding: .65rem .75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--soft); color: #193b51; }
code, pre { font-family: Consolas, 'Courier New', monospace; }
code { background: var(--code); padding: .1em .3em; border-radius: 3px; }
pre { padding: 1rem; overflow-x: auto; background: var(--code); border: 1px solid var(--line); border-radius: 5px; line-height: 1.45; }
pre code { padding: 0; }
.diagram { margin: 1.5rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: 6px; overflow-x: auto; }
.diagram svg { display: block; max-width: 100%; height: auto; margin: auto; }
figcaption, .caption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .6rem; }
.status { display: inline-block; padding: .1rem .5rem; border: 1px solid var(--line); border-radius: 3px; font-size: .8rem; }
.page-footer { border-top: 1px solid var(--line); padding: 1rem clamp(1rem, 5vw, 3.5rem); color: var(--muted); font-size: .8rem; }
@media (max-width: 640px) { .page-content { padding-top: 1.4rem; } th, td { padding: .45rem; } }
@media print { body { background: white; font-size: 10pt; } .page { box-shadow: none; max-width: none; } .nav-group { display: none; } h2, h3 { break-after: avoid; } .requirement, .diagram, tr { break-inside: avoid; } a { color: inherit; } }
