/* Generated by server-site/sync_wire.py from Wire and Cable/builder/css/wire-builder.css: do not edit. */
.wire-page { --bg: #f6f7f9;
  --panel: #ffffff;
  --text: #1c2430;
  --muted: #5d6878;
  --line: #dde2e8;
  --accent: #1f5fae;
  --accent-soft: #e6eef9;
  --on-accent: #ffffff;
  --ok: #1e7a46;
  --ok-soft: #e3f3ea;
  --warn: #8a5a00;
  --warn-soft: #fbf1dc;
  --bad: #a3262a;
  --bad-soft: #f9e3e3;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light; }
@media (prefers-color-scheme: dark) {
  .wire-page { --bg: #12161c; --panel: #1a2029; --text: #e3e8ef; --muted: #9aa6b6; --line: #2c3542;
    --accent: #7fb0ec; --accent-soft: #1f2d40; --on-accent: #0d1a2b; --ok: #6fcf97; --ok-soft: #173126;
    --warn: #e7b65a; --warn-soft: #33290f; --bad: #f08a8d; --bad-soft: #3a1c1e;
    color-scheme: dark; }
}
.wire-page[data-theme="dark"] { --bg: #12161c; --panel: #1a2029; --text: #e3e8ef; --muted: #9aa6b6; --line: #2c3542;
  --accent: #7fb0ec; --accent-soft: #1f2d40; --on-accent: #0d1a2b; --ok: #6fcf97; --ok-soft: #173126;
  --warn: #e7b65a; --warn-soft: #33290f; --bad: #f08a8d; --bad-soft: #3a1c1e;
  color-scheme: dark; }
.wire-page, .wire-page * { box-sizing: border-box; }
.wire-page { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 var(--sans); }
.wire-page h1 { font-size: 1.35rem; margin: 0; }
.wire-page h2 { font-size: 1.1rem; margin: 0 0 .75rem; }
.wire-page h3 { font-size: .95rem; margin: 1.4rem 0 .5rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.wire-page .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wire-page .top { background: var(--panel); border-bottom: 1px solid var(--line); }
.wire-page .top-inner { max-width: 1280px; margin: 0 auto; padding: 14px 16px; }
.wire-page .sub { margin: 2px 0 0; color: var(--muted); font-size: .85rem; }
.wire-page .layout { max-width: 1280px; margin: 0 auto; padding: 16px; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 860px) {
  .wire-page .layout { grid-template-columns: 1fr; }
}
.wire-page .panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px; min-width: 0; }
.wire-page [hidden] { display: none !important; }
.wire-page .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: .75rem; }
.wire-page .panel-head h2 { margin: 0; }
.wire-page .field { display: block; margin-bottom: 12px; }
.wire-page .field > span { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.wire-page select, .wire-page input[type="text"] { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 6px; padding: 7px 8px; }
.wire-page select:focus, .wire-page input:focus, .wire-page button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.wire-page .decode { display: flex; gap: 8px; }
.wire-page .decode input { font-family: var(--mono); }
.wire-page button { font: inherit; border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); border-radius: 6px; padding: 6px 12px; cursor: pointer; }
.wire-page button:disabled { opacity: .5; cursor: not-allowed; }
.wire-page button.ghost { background: transparent; color: var(--accent); }
.wire-page .link { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font-family: var(--mono); }
.wire-page .filter-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.wire-page .filter-head h3 { margin-top: 1rem; }
.wire-page button.small { padding: 2px 8px; font-size: .8rem; }
.wire-page .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.wire-page .filters .field { margin-bottom: 10px; }
.wire-page .filters .field.set > span { color: var(--accent); font-weight: 600; }
.wire-page .field.auto > span { color: var(--ok); }
.wire-page .field.auto select { border-color: var(--ok); }
.wire-page .auto-mark { font-style: normal; font-size: .7rem; margin-left: 6px; padding: 0 5px; border-radius: 4px; background: var(--ok-soft); color: var(--ok); }
.wire-page .count { margin: 0 0 12px; font-size: .85rem; color: var(--muted); }
.wire-page .matches { list-style: none; margin: 0 0 4px; padding: 6px 8px; max-height: 240px; overflow-y: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); font-size: .88rem; }
.wire-page .matches li { padding: 2px 0; display: flex; align-items: center; gap: 6px; }
.wire-page .matches-head { display: flex; padding: 0 9px 3px; font-size: .75rem; font-weight: 600; color: var(--muted); }
.wire-page .cmp-cell { flex: none; width: 3.5rem; display: inline-flex; justify-content: center; }
.wire-page .matches label.cmp-cell { cursor: pointer; }
.wire-page .matches .link { flex: none; white-space: nowrap; }
.wire-page .matches .tag { white-space: normal; }
.wire-page .matches input[type="checkbox"] { margin: 0; cursor: pointer; }
.wire-page .matches input[type="checkbox"]:disabled { cursor: not-allowed; }
.wire-page .matches-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 4px; }
.wire-page .matches-actions .hint { margin: 0; }
.wire-page .matches .tag { font-family: var(--sans); }
.wire-page .msg { margin-top: 10px; font-size: .9rem; }
.wire-page .msg .err { color: var(--bad); }
.wire-page .msg .note { color: var(--muted); }
.wire-page .msg ul { margin: 4px 0 0; padding-left: 18px; }
.wire-page .empty { color: var(--muted); padding: 40px 8px; text-align: center; }
.wire-page .pin-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wire-page .pin { font: 600 1.6rem/1.2 var(--mono); word-break: break-all; }
.wire-page .badge { font-size: .78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.wire-page .badge.active { background: var(--ok-soft); color: var(--ok); }
.wire-page .badge.inactive { background: var(--warn-soft); color: var(--warn); }
.wire-page .badge.cancelled { background: var(--bad-soft); color: var(--bad); }
.wire-page .status-box, .wire-page .review-box { margin-top: 12px; padding: 10px 12px; border-radius: 8px; font-size: .92rem; }
.wire-page .status-box { background: var(--warn-soft); border: 1px solid var(--line); }
.wire-page .status-box.cancelled { background: var(--bad-soft); }
.wire-page .status-box.active { background: var(--accent-soft); }
.wire-page .review-box { background: var(--warn-soft); }
.wire-page .status-box p, .wire-page .review-box p { margin: 0 0 4px; }
.wire-page table.grid { width: 100%; border-collapse: collapse; font-size: .9rem; }
.wire-page table.grid th, .wire-page table.grid td { text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.wire-page table.grid th { font-size: .78rem; color: var(--muted); font-weight: 600; }
.wire-page table.grid td.code { font-family: var(--mono); white-space: nowrap; }
.wire-page table.grid td.value { white-space: nowrap; }
.wire-page table.num td { font-variant-numeric: tabular-nums; }
.wire-page .result .grid { display: block; overflow-x: auto; }
.wire-page .result .grid > * { display: table; width: 100%; }
.wire-page .mm { color: var(--muted); font-size: .85em; }
.wire-page .tag { display: inline-block; font-size: .72rem; padding: 1px 6px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); margin-left: 4px; white-space: nowrap; }
.wire-page .tag.warn { background: var(--warn-soft); color: var(--warn); }
.wire-page .typecode { font-family: var(--mono); font-weight: 600; }
.wire-page .typemeaning { display: block; color: var(--muted); font-size: .85em; }
.wire-page .derived { color: var(--muted); font-size: .85em; margin-top: 4px; }
.wire-page .footnote { font-size: .85em; margin-top: 4px; padding-left: 8px; border-left: 2px solid var(--accent); }
.wire-page dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0; font-size: .92rem; }
.wire-page dl.facts dt { color: var(--muted); }
.wire-page dl.facts dd { margin: 0; }
.wire-page .notes { margin: 0; padding-left: 18px; }
.wire-page .notes li { margin-bottom: 6px; }
.wire-page .hint { color: var(--muted); font-size: .82rem; margin: 6px 0 0; }
.wire-page details { margin-top: 1.4rem; }
.wire-page summary { cursor: pointer; color: var(--muted); font-size: .9rem; }
.wire-page .foot { max-width: 1280px; margin: 0 auto; padding: 4px 16px 24px; color: var(--muted); font-size: .8rem; }
.wire-page .compare-bar { background: var(--panel); border-bottom: 1px solid var(--line); }
.wire-page .compare-inner { max-width: 1280px; margin: 0 auto; padding: 8px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wire-page .compare-count { font-size: .85rem; color: var(--muted); font-weight: 600; }
.wire-page .chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wire-page .chip { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 2px 2px 10px; background: var(--bg); font-size: .85rem; }
.wire-page button.chip-x { background: none; border: 0; color: var(--muted); padding: 0 6px; font-size: 1rem; line-height: 1; }
.wire-page button.chip-x:hover { color: var(--bad); }
.wire-page .compare-check { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; cursor: pointer; }
.wire-page .compare-view { max-width: 1280px; margin: 0 auto; padding: 16px; width: 100%; }
.wire-page .compare-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 10px; }
.wire-page .compare-head h2 { margin: 0 auto 0 0; }
.wire-page .compare-scroll { overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.wire-page .compare-table { border-collapse: separate; border-spacing: 0; font-size: .86rem; min-width: 100%; }
.wire-page .compare-table th, .wire-page .compare-table td { text-align: left; vertical-align: top; padding: 6px 10px; border-bottom: 1px solid var(--line); }
.wire-page .compare-table td { white-space: pre-line; min-width: 190px; max-width: 340px; }
.wire-page .compare-table thead th { position: sticky; top: 0; z-index: 2; background: var(--panel); border-bottom: 2px solid var(--line); }
.wire-page .compare-table thead th .badge { display: inline-block; margin-top: 4px; }
.wire-page .compare-table th[scope="row"], .wire-page .compare-table .corner { position: sticky; left: 0; z-index: 1; background: var(--panel); min-width: 150px; max-width: 220px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.wire-page .compare-table thead .corner { z-index: 3; }
.wire-page .compare-table tr.cmp-section th { background: var(--accent-soft); color: var(--accent); text-transform: uppercase; letter-spacing: .04em; font-size: .75rem; }
.wire-page .compare-table tr.same td { color: var(--muted); }
.wire-page .compare-table.diff-only tr.same { display: none; }
.wire-page .cmp-pin { display: flex; align-items: center; gap: 4px; font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.wire-page .notes li.warn { color: var(--warn); }
.wire-page table.grid td.value .derived { white-space: normal; }
.wire-page table.grid td.value.wrap { white-space: normal; }
.wire-page .decode-bar { max-width: 1280px; width: 100%; margin: 0 auto; padding: 12px 16px 0; box-sizing: border-box; }
.wire-page .decode-bar h3 { margin: 0 0 6px; }
.wire-page .decode-bar .decode input { flex: 1 1 auto; max-width: 520px; }
.wire-page .xsection { max-width: 460px; }
.wire-page .xsection svg { display: block; width: 100%; height: auto; }
.wire-page { min-height: 70vh; padding-bottom: 24px; }
