:root {
  color-scheme: light;
  --bg: #f5f5f7; --surface: #fff; --text: #1d1d1f; --text-muted: #65656c;
  --border: #dedee3; --accent: #0068d4; --accent-fg: #fff; --soft: #f0f0f4;
  --primary-action: #0071e3; --primary-action-fg: #fff; --radius: 12px;
  --error: #b42330; --error-bg: #fff0f0; --warning: #845200; --warning-bg: #fff6df;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; background: var(--bg); color: var(--text); font: .875rem/1.5 var(--font); }
body::before { content: ""; position: absolute; z-index: -1; top: 160px; left: 0; width: 100%; height: 850px; background: radial-gradient(ellipse at 12% 44%, #cfddf19e, transparent 55%), radial-gradient(ellipse at 90% 35%, #e2d8f09c, transparent 54%); pointer-events: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
button, input, select { font: inherit; }
button, a, summary, input, select { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .6; }
a { color: inherit; text-underline-offset: 3px; }
svg, img { display: block; flex-shrink: 0; }
input, select { caret-color: var(--accent); }
::selection { background: #cce4ff; color: #12375e; }
:focus-visible { outline: 3px solid #0071e3; outline-offset: 4px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 10; padding: 12px 20px; border-radius: 8px; background: white; transform: translateY(-180%); box-shadow: 0 4px 16px #0002; }
.skip-link:focus { transform: none; }
.site-header, main { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: 1.25rem; font-weight: 650; letter-spacing: -.055em; text-decoration: none; }
.brand img { border-radius: 7px; box-shadow: 0 1px 2px #002d5c26; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; color: #505057; text-decoration: none; font-size: .75rem; }
.intro { padding: 31px 20px 42px; text-align: center; }
h1 { font-size: clamp(2.4rem, 4.7vw, 4.25rem); line-height: 1.07; letter-spacing: -.065em; font-weight: 650; }
.intro p { margin-top: 18px; color: var(--text-muted); font-size: 1rem; line-height: 1.55; letter-spacing: -.015em; }
.inspector-window { border: 1px solid #fff; border-radius: 19px; background: #ffffffb8; overflow: clip; box-shadow: 0 0 0 1px #1a29401a, 0 4px 8px -5px #18274430, 0 20px 45px -18px #18274438, 0 45px 90px -50px #34354c40; }
.window-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 52px; padding-inline: 20px; gap: 18px; background: #f2f2f6c9; backdrop-filter: blur(24px) saturate(140%); border-bottom: 1px solid #d6d6df; }
.window-lights { display: flex; gap: 8px; }
.window-lights span { width: 11px; height: 11px; border-radius: 50%; background: #ff6057; box-shadow: inset 0 0 0 1px #00000012; }
.window-lights span:nth-child(2) { background: #ffbd2e; }
.window-lights span:nth-child(3) { background: #28c840; }
.window-title { display: inline-flex; gap: 7px; align-items: center; color: #575760; font-size: .75rem; font-weight: 600; }
.window-title svg { width: 15px; height: 15px; color: #82828b; }
.engine { justify-self: end; color: var(--text-muted); font-size: .6875rem; white-space: nowrap; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.input-column { min-width: 0; padding: 29px 30px 24px; background: var(--surface); border-right: 1px solid var(--border); }
.panel-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
h2 { font-size: .9375rem; letter-spacing: -.025em; font-weight: 650; }
.label { color: var(--text-muted); font-size: .6875rem; text-align: end; }
.dropzone { position: relative; display: flex; align-items: center; gap: 17px; min-height: 108px; margin-top: 16px; padding: 20px 22px; border: 1px dashed #b0c7df; border-radius: 11px; background: #f5f9ff; transition: background-color 160ms ease, border-color 160ms ease; }
.dropzone input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone:focus-within { outline: 3px solid var(--accent); outline-offset: 4px; }
.dropzone.dragging { background: #dfeeff; border-color: var(--accent); }
.dropzone.has-file { border-style: solid; border-color: #9fbfdf; background: #f0f7ff; }
.file-glyph svg { width: 36px; height: 44px; filter: drop-shadow(0 3px 3px #17559a16); }
.file-copy { display: grid; min-width: 0; gap: 3px; }
.file-copy strong { font-size: .875rem; font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
.file-copy > span { font-size: .75rem; color: var(--text-muted); overflow-wrap: anywhere; }
.file-bottom { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: 5px; margin-top: 5px; color: var(--text-muted); font-size: .6875rem; }
.text-button { min-height: 36px; padding: 5px 3px; background: none; border: 0; color: var(--accent); font-size: .6875rem; }
.form-error { margin-top: 10px; padding: 12px 14px; background: var(--error-bg); border-radius: 8px; color: var(--error); font-size: .8125rem; }
.hardware-panel { margin-top: 25px; }
.form-note { margin-top: 8px; color: var(--text-muted); font-size: .6875rem; line-height: 1.65; }
.example-note { margin-top: 10px; padding: 10px 12px; background: #eef5ff; color: #31577f; border-radius: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 16px; margin-top: 19px; }
label { display: block; min-width: 0; font-size: .75rem; font-weight: 500; }
input:not([type="file"]), select { width: 100%; min-height: 38px; margin-top: 6px; padding: 8px 11px; border: 1px solid #c7c7ce; border-radius: 7px; background-color: var(--surface); box-shadow: 0 1px 2px #00000004; color: var(--text); font-size: .75rem; line-height: 1.4; }
select { padding-right: 30px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='16' fill='none'%3E%3Cpath d='m3 6 3-3 3 3M3 10l3 3 3-3' stroke='%2365656c' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
.select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-width: 0; min-height: 40px; margin-top: 6px; padding: 9px 11px; border: 1px solid #c7c7ce; border-radius: 7px; background: var(--surface); box-shadow: 0 1px 2px #00000004; color: var(--text); text-align: left; font-size: .75rem; line-height: 1.4; }
.select-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chevron { display: block; flex-shrink: 0; width: 16px; height: 16px; color: var(--text-muted); transition: transform 150ms var(--ease-out); }
.select-trigger[aria-expanded="true"] { border-color: var(--accent); }
.select-trigger[aria-expanded="true"] .chevron, details[open] > summary .chevron { transform: rotate(180deg); }
.select-trigger:disabled { color: #75757d; background: #f3f3f5; cursor: not-allowed; }
.select-menu { position: fixed; z-index: 100; padding: 5px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #cfcfd8; border-radius: 10px; background: #fffffff5; color: var(--text); backdrop-filter: blur(20px); box-shadow: 0 0 0 1px #00000003, 0 5px 15px -5px #17233b33, 0 16px 35px -12px #17233b26; font-size: .75rem; font-weight: 400; }
.select-menu [role="option"] { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 7px 9px; border-radius: 5px; cursor: pointer; line-height: 1.4; overflow-wrap: anywhere; }
.select-menu [role="option"] svg { width: 14px; height: 14px; flex-shrink: 0; visibility: hidden; }
.select-menu [aria-selected="true"] svg { visibility: visible; }
.select-menu .active { color: #fff; background: var(--accent); }
.select-group-label { padding: 8px 9px 5px 31px; color: var(--text-muted); font-size: .625rem; font-weight: 500; }
input::placeholder { color: #77777e; }
input:disabled, select:disabled { color: #75757d; background-color: #f3f3f5; cursor: not-allowed; opacity: 1; }
input:focus-visible, select:focus-visible { outline-width: 2px; outline-offset: 2px; }
label small { display: block; margin-top: 6px; color: var(--text-muted); font-size: .6875rem; font-weight: 400; }
.version-field { min-width: 0; color: var(--text-muted); font-size: .75rem; }
.version-field > p { display: flex; gap: 7px; align-items: center; min-height: 38px; margin-top: 6px; color: #4c4c53; }
.version-dot { width: 6px; height: 6px; border-radius: 50%; background: #308554; }
.model-fields, .firmware { margin-top: 17px; border-top: 1px solid #e8e8ed; }
.firmware { margin-top: 0; border-bottom: 1px solid #e8e8ed; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.model-fields > summary, .firmware > summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 45px; font-size: .75rem; font-weight: 500; }
.model-fields > summary > span, .firmware > summary > span { display: inline-flex; align-items: center; gap: 14px; font-size: .6875rem; font-weight: 400; color: var(--text-muted); }
summary i { display: inline-block; font-size: 1rem; font-style: normal; line-height: 1; }
details[open] > summary i { transform: rotate(180deg); }
.model-fields .form-grid { margin: 0 0 15px; }
.model-fields .form-note { margin-bottom: 15px; }
.optional { color: var(--text-muted); font-size: .625rem; font-weight: 400; margin-left: 4px; }
.firmware-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 0 17px; }
.version-note { margin: 13px 0 19px; font-size: .6875rem; line-height: 1.65; color: var(--text-muted); }
.primary { display: flex; justify-content: center; align-items: center; gap: 15px; width: 100%; min-height: 43px; margin-top: 20px; border: 1px solid #006ad5; border-radius: 8px; background: linear-gradient(#1486f7, #0071e3); color: var(--primary-action-fg); box-shadow: 0 1px 2px #00397224, inset 0 1px 0 #ffffff29; font-size: .8125rem; font-weight: 500; transition: transform 120ms var(--ease-out), opacity 120ms ease; }
.primary:active:not(:disabled), .text-button:active:not(:disabled), .filters button:active, .download:active:not(:disabled) { transform: scale(.98); }
.primary[aria-busy="true"] { cursor: progress; }
.primary[aria-busy="true"]::before { content: ""; width: 13px; height: 13px; border: 1.5px solid #ffffff70; border-top-color: white; border-radius: 50%; animation: spin .65s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.privacy { display: flex; justify-content: center; align-items: flex-start; gap: 7px; margin-top: 13px; color: var(--text-muted); text-align: center; font-size: .625rem; line-height: 1.7; }
.privacy svg { flex-shrink: 0; width: 12px; height: 12px; margin-top: 2px; }
.results-column { min-width: 0; background: #fafafd; }
.results-column > .panel-heading { padding: 29px 30px 0; }
.status-label { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); text-align: end; font-size: .625rem; }
.status-label::before { content: ""; flex-shrink: 0; width: 5px; height: 5px; background: #8a8a93; border-radius: 50%; }
.results-column[data-state="running"] .status-label::before { background: var(--accent); }
.results-column[data-state="complete"] .status-label::before { background: #308554; }
.results-column[data-state="warning"] .status-label::before, .results-column[data-state="stale"] .status-label::before { background: #a36e0e; }
.results-column[data-state="error"] .status-label::before { background: var(--error); }
#empty-state { padding: 0 30px 35px; }
.document-scene { position: relative; width: 260px; height: 214px; margin: 30px auto 12px; display: grid; place-items: center; isolation: isolate; }
.orbit { position: absolute; border: 1px solid #e7e9f0; border-radius: 50%; z-index: -1; }
.orbit-outer { width: 258px; height: 258px; border-color: #eeeef5; }
.orbit-inner { width: 200px; height: 200px; background: radial-gradient(circle, #e6effd90, #f5f7fc40 70%); }
.config-document { position: relative; display: flex; align-items: center; flex-direction: column; width: 128px; height: 160px; padding: 28px 20px 19px; border: 1px solid #fff; border-radius: 15px; background: linear-gradient(160deg, #fff 30%, #f6f9ff); box-shadow: 0 0 0 1px #cdd8e469, 0 2px 4px #24446d0a, 0 12px 20px -9px #24446d2b; transform: rotate(-7deg); }
.config-document > svg { width: 43px; height: 34px; color: #2b7bda; }
.config-document > span { margin-top: 14px; color: #4a6687; font: .5625rem/1.4 var(--mono); }
.document-lines { display: grid; gap: 5px; align-self: stretch; margin-top: 17px; }
.document-lines i { height: 3px; border-radius: 2px; background: #dfe9f5; }
.document-lines i:nth-child(2) { width: 76%; }
.document-lines i:nth-child(3) { width: 88%; }
.back-document { position: absolute; width: 121px; height: 154px; border-radius: 14px; transform: translate(13px, -3px) rotate(8deg); background: #e6edf8; border: 1px solid #d5dfef; box-shadow: 0 8px 22px -10px #294a772e; }
.document-badge { position: absolute; bottom: 27px; right: 51px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: linear-gradient(150deg, #55c485, #229952); border: 3px solid #fafafd; box-shadow: 0 4px 8px #30855425; }
.document-badge svg { width: 23px; height: 23px; }
.empty-copy { position: relative; text-align: center; }
.empty-copy h3 { font-size: 1.75rem; font-weight: 600; line-height: 1.16; letter-spacing: -.045em; }
.empty-copy p { margin-top: 12px; color: var(--text-muted); font-size: .8125rem; line-height: 1.7; }
.pipeline { display: grid; gap: 22px; width: fit-content; max-width: 100%; margin: 36px auto 0; }
.pipeline > div { display: flex; gap: 13px; align-items: center; }
.layer-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #e1e6ee; border-radius: 9px; background: linear-gradient(#fff, #f4f7fb); box-shadow: 0 1px 1px #00000003; }
.layer-icon svg { width: 20px; height: 20px; color: #6380a1; }
.pipeline strong { display: block; font-size: .75rem; font-weight: 600; letter-spacing: -.01em; }
.pipeline small { display: block; margin-top: 3px; color: var(--text-muted); font-size: .6875rem; line-height: 1.5; }
.empty-tip { display: flex; justify-content: center; align-items: flex-start; gap: 7px; padding-top: 23px; margin: 28px auto 0; border-top: 1px solid #e8e8ee; color: var(--text-muted); font-size: .625rem; text-align: center; line-height: 1.7; }
.empty-tip svg { width: 14px; height: 14px; margin-top: 1px; }
.report-heading { padding: 26px 27px 20px; }
.report-outcome { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border: 1px solid #c9e2d2; border-radius: 50%; background: #eaf6ef; color: #267847; font-size: 1.25rem; font-weight: 500; }
.report-outcome.error { border-color: #efcbd0; background: var(--error-bg); color: var(--error); }
.report-outcome.warning { border-color: #ecddb8; background: var(--warning-bg); color: var(--warning); }
.report-heading h3 { font-size: 1.6875rem; letter-spacing: -.045em; font-weight: 600; line-height: 1.15; }
.report-heading > p { margin-top: 13px; color: var(--text-muted); font-size: .6875rem; line-height: 1.7; }
.report-heading > .hardware-coverage { color: #455c79; padding: 11px 13px; border: 1px solid #dce6f2; border-radius: 9px; background: #f0f5fc; }
.report-context { margin-top: 10px; font-size: .6875rem; }
.report-context > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; color: var(--text-muted); }
.report-context p { margin-top: 10px; color: var(--text-muted); font-size: .6875rem; line-height: 1.7; }
.report-heading .profile-summary { padding-left: 11px; border-left: 2px solid #c1d7f0; font-size: .6875rem; overflow-wrap: anywhere; }
.count-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 27px 20px; border: 1px solid #e3e3e9; border-radius: 10px; background: white; }
.count-grid > div { display: flex; flex-direction: column; gap: 1px; padding: 13px 16px; color: var(--text-muted); }
.count-grid > div + div { border-left: 1px solid #e9e9ee; }
.count-grid strong { color: #4e6380; font-size: 1.75rem; line-height: 1.2; font-weight: 600; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.count-grid span { font-size: .625rem; }
.error-count strong { color: var(--error); }
.warning-count strong { color: var(--warning); }
.report-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin: 0 27px 9px; }
.filters { display: flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid #e0e0e6; border-radius: 7px; background: #ececf1; }
.filters button { min-height: 30px; padding: 5px 9px; border: 0; border-radius: 5px; background: none; color: #5d5d65; font-size: .625rem; }
.filters button[aria-pressed="true"] { color: var(--text); background: var(--surface); box-shadow: 0 1px 3px #00000021, 0 0 0 .5px #0000000a; }
.download { min-height: 36px; padding: 6px 9px; color: var(--accent); border: 0; background: transparent; font-size: .6875rem; }
.download:disabled { color: var(--text-muted); }
.findings { padding: 0 27px; }
.finding { border-bottom: 1px solid #e5e5ec; }
.finding summary { display: flex; align-items: center; gap: 10px; min-height: 66px; padding: 14px 0; }
.finding summary > span:nth-child(2) { min-width: 0; flex: 1; }
.finding summary small { display: block; color: var(--text-muted); font-size: .625rem; line-height: 1.6; overflow-wrap: anywhere; }
.finding summary strong { display: block; margin-top: 3px; font-size: .75rem; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.finding summary i { color: #777780; font-size: 1.0625rem; }
.finding[open] > summary i { transform: rotate(45deg); }
.severity-mark { display: grid; place-items: center; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; color: #3262a0; background: #e7effb; font-size: .75rem; font-weight: 600; }
.error .severity-mark { color: var(--error); background: #ffe2e5; }
.warning .severity-mark { color: var(--warning); background: #ffedbb; }
.finding-body { padding: 0 0 20px 32px; font-size: .75rem; line-height: 1.7; overflow-wrap: anywhere; }
.finding-body > p { color: var(--text-muted); }
.fix { margin: 13px 0 8px; padding: 10px 12px; border-radius: 7px; border: 1px solid #dce6f2; background: #eff5fc; }
.fix > span { display: block; color: #365d88; font-size: .5625rem; font-weight: 650; margin-bottom: 5px; }
.finding-body > a { display: inline-flex; align-items: center; min-height: 36px; color: var(--accent); font-size: .6875rem; text-decoration: none; }
.no-findings { padding: 12px 0 20px; color: var(--text-muted); font-size: .75rem; }
.native, .gaps { margin: 14px 27px; }
.native summary, .gaps summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 12px; font-size: .6875rem; font-weight: 500; }
.native-status { display: inline-flex; align-items: center; gap: 10px; color: var(--text-muted); font: .625rem/1.6 var(--mono); text-align: end; overflow-wrap: anywhere; }
.native-log { margin: 10px 0 0; padding: 15px; border: 1px solid #dedee7; border-radius: 8px; background: #eeeff4; color: #37465b; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 320px; overflow-y: auto; overscroll-behavior: contain; font: .6875rem/1.8 var(--mono); }
.gaps { margin-bottom: 25px; padding-top: 6px; border-top: 1px solid #e5e5ed; }
.gaps ul { padding-left: 16px; margin: 6px 0 0; }
.gaps li, .gaps > p, .native > p { color: var(--text-muted); font-size: .6875rem; line-height: 1.7; }
.gaps li + li { margin-top: 8px; }
.gaps > p { margin-top: 12px; }
.stale::before { content: "Inputs changed. Run again for current results."; display: block; padding: 12px 14px; margin: 22px 27px 0; border-radius: 8px; border: 1px solid #ebd5a3; background: var(--warning-bg); color: var(--warning); font-size: .75rem; line-height: 1.6; }
.window-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 10px 21px; background: #f3f3f7d9; border-top: 1px solid #dcdce3; color: var(--text-muted); font-size: .625rem; }
.window-footer > span { display: flex; align-items: center; gap: 6px; }
.window-footer a { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; text-decoration: none; }
.coverage { margin: 24px 0; padding: 0 5px; }
.coverage > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; color: var(--text-muted); font-size: .75rem; }
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; padding: 14px 0; }
.coverage h3 { margin-bottom: 10px; font-size: .75rem; font-weight: 600; }
.coverage p { color: var(--text-muted); font-size: .6875rem; line-height: 1.8; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 30px; align-items: center; padding: 14px 0 20px; border-top: 1px solid #dcdce2; color: var(--text-muted); font-size: .625rem; }
footer > div { display: flex; gap: 22px; }
footer a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .site-header nav a:hover, .window-footer a:hover, footer a:hover, .text-button:hover, .finding-body > a:hover { color: var(--accent); text-decoration: underline; }
  .dropzone:hover { border-color: #6ca5e5; background-color: #edf5ff; }
  .primary:hover:not(:disabled) { opacity: .9; }
  .filters button:hover:not([aria-pressed="true"]) { color: var(--text); background: #ffffff70; }
  .finding summary:hover, .native summary:hover, .gaps summary:hover { background: #f1f2f7; }
}
@media (max-width: 1100px) {
  .site-header, main { width: calc(100% - 48px); }
  .input-column { padding: 25px 23px 24px; }
  .results-column > .panel-heading { padding: 25px 23px 0; }
  #empty-state { padding-inline: 23px; }
  .input-column .panel-heading { flex-wrap: wrap; row-gap: 4px; }
  .form-grid { gap: 15px 12px; }
  .firmware-grid { grid-template-columns: 1fr; }
  .coverage-grid { gap: 24px; }
}
@media (max-width: 800px) {
  .site-header, main { width: calc(100% - 40px); }
  .site-header { min-height: 65px; }
  .intro { padding: 29px 0 35px; }
  h1 { font-size: clamp(2.2rem, 6vw, 3rem); }
  .intro p { font-size: .875rem; }
  .workspace { grid-template-columns: 1fr; }
  .input-column { padding: 25px; border-right: 0; }
  .input-column .panel-heading { flex-wrap: nowrap; }
  .results-column { border-top: 1px solid var(--border); }
  .results-column > .panel-heading { padding: 25px 25px 0; }
  #empty-state { padding-inline: 25px; }
  .document-scene { margin-top: 25px; }
  .firmware-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .window-lights { display: none; }
  .window-bar { grid-template-columns: 1fr auto; }
  .coverage-grid { grid-template-columns: 1fr; gap: 20px; }
  footer { font-size: .6875rem; }
}
@media (max-width: 480px) {
  .site-header, main { width: calc(100% - 28px); }
  .site-header { gap: 12px; min-height: 64px; }
  .brand { font-size: 1.125rem; gap: 7px; }
  .brand img { width: 27px; height: 27px; }
  .site-header nav { gap: 12px; }
  .site-header nav a { font-size: .6875rem; }
  .site-header nav a:first-child { display: none; }
  .intro { padding: 27px 8px 31px; }
  h1 { max-width: 290px; margin-inline: auto; font-size: 2.65rem; line-height: 1.02; }
  .intro p { font-size: .8125rem; line-height: 1.65; margin-top: 15px; }
  .inspector-window { border-radius: 13px; }
  .window-bar { min-height: 47px; padding-inline: 17px; gap: 8px; }
  .window-title { font-size: .6875rem; gap: 4px; }
  .window-title svg { width: 13px; }
  .engine { font-size: .5625rem; }
  .input-column { padding: 23px 18px 25px; }
  .input-column .panel-heading { flex-wrap: wrap; row-gap: 4px; }
  .label { font-size: .625rem; }
  .dropzone { padding: 19px 16px; gap: 13px; }
  .file-glyph svg { width: 31px; height: 40px; }
  .file-copy strong { font-size: .8125rem; }
  .file-copy > span { font-size: .6875rem; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .version-field > p { min-height: 28px; margin-top: 2px; }
  .firmware-grid { grid-template-columns: 1fr; gap: 15px; }
  .hardware-panel { margin-top: 23px; }
  label, .version-field { font-size: .8125rem; }
  .form-note, .version-note { font-size: .75rem; }
  .model-fields > summary, .firmware > summary { font-size: .8125rem; min-height: 50px; }
  .model-fields > summary > span, .firmware > summary > span { gap: 8px; font-size: .625rem; }
  .privacy { font-size: .625rem; }
  .results-column > .panel-heading { padding: 24px 18px 0; }
  #empty-state { padding-inline: 18px; }
  .document-scene { width: 240px; }
  .orbit-outer { width: 240px; height: 240px; }
  .document-badge { right: 41px; }
  .empty-copy h3 { font-size: 1.625rem; }
  .empty-copy p { font-size: .75rem; }
  .desktop-break { display: none; }
  .pipeline { gap: 21px; }
  .pipeline > div { gap: 11px; }
  .pipeline strong { font-size: .6875rem; }
  .pipeline small { font-size: .625rem; }
  .layer-icon { width: 31px; height: 31px; }
  .report-heading { padding-inline: 18px; }
  .report-heading h3 { font-size: 1.5rem; }
  .count-grid, .report-toolbar, .native, .gaps { margin-inline: 18px; }
  .count-grid > div { padding-inline: 12px; }
  .findings { padding-inline: 18px; }
  .finding summary strong { font-size: .8125rem; }
  .finding-body { padding-left: 0; }
  .filters button { padding-inline: 8px; }
  .stale::before { margin-inline: 18px; }
  .window-footer { padding-inline: 17px; }
  .coverage-grid { grid-template-columns: 1fr; }
  .coverage p { font-size: .75rem; }
  .coverage h3 { font-size: .8125rem; }
  footer { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
}
@media (pointer: coarse) {
  input:not([type="file"]), select { min-height: 44px; font-size: 1rem; }
  button, summary, .site-header nav a, .window-footer a, footer a { min-height: 44px !important; }
  .filters button { min-width: 44px; }
  .primary { min-height: 48px !important; }
  .select-trigger { font-size: 1rem; }
  .select-menu [role="option"] { min-height: 44px; font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .primary:active:not(:disabled), .text-button:active:not(:disabled), .filters button:active, .download:active:not(:disabled) { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .inspector-window, .window-bar, .window-footer { background: #f3f3f7; backdrop-filter: none; }
}
@media (forced-colors: active) {
  .inspector-window, .dropzone, .primary, .filters button[aria-pressed="true"], .severity-mark { border: 1px solid CanvasText; }
  .dropzone:focus-within, :focus-visible { outline-color: Highlight; }
  .document-scene { display: none; }
  .select-trigger, .select-menu { border: 1px solid CanvasText; }
  .select-menu .active { color: HighlightText; background: Highlight; forced-color-adjust: none; }
}
