:root { --fg: #1a1f24; --muted: #66707a; --line: #e2e6ea; --bg: #fff; --soft: #f5f7f9; --accent: #0a6c3f; color-scheme: light dark; }
@media (prefers-color-scheme: dark) { :root { --fg: #e6e9ec; --muted: #9aa4ae; --line: #2c3238; --bg: #131619; --soft: #1b1f23; --accent: #4cc38a; } }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--fg); background: var(--bg); }
a { color: var(--accent); }
main { max-width: 1200px; margin: 0 auto; padding: 1rem; }
.top { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.top nav a { margin-left: 1rem; }
.brand { font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--fg); }
footer { max-width: 1200px; margin: 2rem auto; padding: 1rem; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
h1 { margin: .5rem 0; font-size: 1.6rem; }
h2 { font-size: 1.2rem; margin-top: 2rem; }
.lead, .muted { color: var(--muted); }
.crumbs { font-size: .9rem; color: var(--muted); }
.banner { background: var(--soft); border-left: 4px solid var(--accent); padding: .6rem .9rem; }
.btn { display: inline-block; background: var(--accent); color: #fff; padding: .55rem 1.1rem; border-radius: 6px; text-decoration: none; font-weight: 600; }
.tag { font-size: .75rem; background: var(--accent); color: #fff; border-radius: 4px; padding: 0 .35rem; }
.tag.muted { background: var(--line); color: var(--fg); }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th, td { text-align: left; padding: .4rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--soft); white-space: nowrap; }
th button { all: unset; cursor: pointer; font-weight: 600; }
th[aria-sort="ascending"] button::after { content: " ▲"; }
th[aria-sort="descending"] button::after { content: " ▼"; }
table.kv { width: auto; min-width: 50%; }
table.kv th { font-weight: 500; color: var(--muted); width: 14rem; }
tr.current { background: var(--soft); }
details { margin: 1rem 0; }
summary { cursor: pointer; font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin: 1rem 0; }
.filters label { display: flex; flex-direction: column; font-size: .85rem; color: var(--muted); }
.filters label.grow { flex: 1 1 320px; }
.filters label.check { flex-direction: row; gap: .4rem; align-items: center; color: var(--fg); padding-bottom: .5rem; }
input[type=search], select { font: inherit; padding: .5rem .6rem; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--fg); max-width: 16rem; }
input[type=search] { max-width: none; width: 100%; }
.pager { display: flex; gap: .75rem; align-items: center; justify-content: center; margin: 1rem 0; }
.pager button { font: inherit; padding: .3rem .8rem; }
ul.cols { columns: 3 16rem; padding-left: 1rem; }
code { font-size: .85em; }
.logo { vertical-align: middle; margin-right: .35rem; border-radius: 4px; background: #fff; padding: 2px; box-shadow: 0 0 0 1px var(--line); }
.logo.sm { margin-right: .3rem; }
h1 .order { color: var(--muted); font-weight: 400; font-size: .8em; }
h1 .logo { width: 32px; height: 32px; }
ul.mfrs { list-style: none; padding-left: 0; }
ul.cols li { margin: .15rem 0; break-inside: avoid; }
ul.mfrs li { display: flex; align-items: center; margin: .25rem 0; }
.logo.ph { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: none; background: var(--soft); color: var(--muted); font-weight: 700; font-size: .9rem; }
ul.mfrs li .logo { flex: none; margin-right: .5rem; }
footer nav { margin-bottom: .5rem; }
.photo { float: right; max-width: min(40%, 320px); height: auto; margin: 0 0 1rem 1.5rem; background: #fff; border-radius: 8px; padding: .5rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 640px) { .photo { float: none; display: block; margin: 0 auto 1rem; max-width: 70%; } }
.hoverimg { position: fixed; left: 0; top: 0; z-index: 20; width: 220px; height: auto; max-height: 260px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .4rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); pointer-events: none; }
