:root { color-scheme: light; --red: #b91c1c; --red-dark: #7f1d1d; --ink: #111827; --muted: #6b7280; --line: #e5e7eb; --soft: #f9fafb; }
* { box-sizing: border-box; }
body { margin: 0; background: #f5f6f8; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select { font: inherit; }
.site-header { display: flex; align-items: center; justify-content: space-between; height: 76px; padding: 0 max(24px, calc((100vw - 1380px) / 2)); background: #fff; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 11px; object-fit: contain; }
.brand span { display: grid; line-height: 1.15; }
.brand strong { font-size: 15px; font-weight: 900; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 700; }
.login-link, .download { border-radius: 11px; background: var(--red); color: #fff; padding: 11px 16px; text-decoration: none; font-size: 12px; font-weight: 900; transition: .2s ease; }
.login-link:hover, .download:hover { background: var(--red-dark); }
main { width: min(1380px, calc(100% - 32px)); margin: 0 auto; padding: 64px 0 48px; }
.hero { max-width: 850px; }
.eyebrow { margin: 0 0 14px; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
h1 { margin: 0; max-width: 750px; font-size: clamp(40px, 6vw, 72px); line-height: .98; letter-spacing: -.055em; }
.intro { margin: 24px 0 0; color: #4b5563; font-size: clamp(16px, 2vw, 20px); line-height: 1.65; }
.controls { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(210px, .8fr) minmax(280px, 1.5fr) auto; gap: 12px; align-items: end; margin-top: 42px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 40px rgba(17, 24, 39, .05); }
.controls label { display: grid; gap: 7px; color: #9ca3af; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
select, input { width: 100%; height: 46px; border: 1px solid #d1d5db; border-radius: 11px; background: #fff; color: var(--ink); padding: 0 13px; outline: none; font-size: 14px; font-weight: 700; text-transform: none; letter-spacing: 0; }
select:focus, input:focus { border-color: #fca5a5; box-shadow: 0 0 0 3px #fee2e2; }
.search-wrap { display: flex; position: relative; }
.search-wrap input { padding-right: 44px; }
.search-wrap button { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border: 0; border-radius: 9px; background: transparent; color: #9ca3af; cursor: pointer; font-size: 20px; font-weight: 800; }
.search-wrap button:hover { background: #fef2f2; color: var(--red); }
.download { display: inline-flex; align-items: center; justify-content: center; height: 46px; white-space: nowrap; }
.download.disabled { pointer-events: none; opacity: .4; }
.message { margin: 14px 4px 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.hidden { display: none !important; }
.content { margin-top: 28px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats article { display: grid; min-height: 136px; padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.stats span { color: #9ca3af; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.stats strong { align-self: end; margin-top: 14px; font-size: 30px; letter-spacing: -.04em; }
.stats small { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 700; }
.view-tabs { display: flex; align-items: center; gap: 7px; margin: 28px 0 10px; }
.view-tabs button { border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); padding: 9px 14px; cursor: pointer; font-size: 12px; font-weight: 900; }
.view-tabs button[aria-selected="true"] { border-color: #fecaca; background: #fef2f2; color: var(--red); }
.view-tabs a { margin-left: auto; color: var(--red); font-size: 12px; font-weight: 900; text-decoration: none; }
.panel { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 40px rgba(17, 24, 39, .04); }
.table-scroll { overflow-x: auto; }
table { width: 100%; min-width: 980px; border-collapse: collapse; text-align: left; }
th { background: var(--soft); color: #9ca3af; padding: 14px 18px; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
td { padding: 17px 18px; border-top: 1px solid #f0f1f3; vertical-align: top; font-size: 13px; }
tbody tr:hover { background: #fcfcfd; }
.path { display: grid; gap: 6px; }
.path code { width: fit-content; border-radius: 6px; background: #f3f4f6; padding: 4px 7px; color: #1f2937; font-size: 12px; font-weight: 800; }
.path small { color: #9ca3af; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.badges { display: flex; flex-wrap: wrap; gap: 5px; }
.badge { border-radius: 999px; background: #fef2f2; color: var(--red); padding: 5px 8px; font-size: 10px; font-weight: 900; }
.coverage strong { display: block; }
.coverage small, .constraint { color: var(--muted); font-size: 11px; }
.empty { padding: 60px; color: var(--muted); text-align: center; }
.json-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid #374151; background: #111827; color: #d1d5db; font-size: 11px; font-weight: 800; }
.json-head button { border: 1px solid #4b5563; border-radius: 8px; background: #1f2937; color: #fff; padding: 7px 10px; cursor: pointer; font-size: 11px; font-weight: 800; }
pre { overflow: auto; max-height: 680px; margin: 0; padding: 22px; background: #0b1220; color: #d1fae5; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
.method { margin-top: 44px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.method h2 { margin: 0; font-size: 20px; }
.method > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 20px; }
.method p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.method strong { color: var(--ink); }
.method code { border-radius: 5px; background: #f3f4f6; padding: 2px 5px; color: #374151; }
footer { padding: 25px 16px 40px; color: #9ca3af; text-align: center; font-size: 11px; font-weight: 700; }
@media (max-width: 980px) { .controls { grid-template-columns: 1fr 1fr; } .stats { grid-template-columns: 1fr; } .method > div { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .site-header { padding: 0 16px; } .brand small { display: none; } .login-link { padding: 10px 12px; } main { padding-top: 40px; } .controls { grid-template-columns: 1fr; } .view-tabs { flex-wrap: wrap; } .view-tabs a { width: 100%; margin: 8px 0 0; } }
