*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f4f5f7;color:#222;line-height:1.45}
body{max-width:920px;margin:0 auto;padding:24px}
header h1{margin:0 0 4px 0;font-size:1.6rem}
header .hint{margin:0 0 8px 0;color:#666;font-size:.9rem}
header code{background:#eee;padding:1px 5px;border-radius:3px;font-size:.85em}
.siteNav{margin:0 0 16px 0;font-size:.9rem}
.siteNav a{color:#2a6ebb;text-decoration:none;margin-right:14px}
.siteNav a:hover{text-decoration:underline}

.block{background:#fff;border:1px solid #dcdfe3;border-radius:8px;padding:16px 18px;margin-bottom:14px;box-shadow:0 1px 2px rgba(0,0,0,.03)}
.block h2{margin:0 0 12px 0;font-size:1rem;color:#444;text-transform:uppercase;letter-spacing:.04em}

/* Names row */
.names .row{display:grid;grid-template-columns:1fr auto 1fr auto;gap:10px 14px;align-items:end}
.names .check{align-self:end;padding-bottom:7px;color:#555;font-size:.9rem;white-space:nowrap}
.names .check input{vertical-align:middle;margin-right:4px}

/* Generic field */
.field{display:flex;flex-direction:column;gap:4px;font-size:.85rem;color:#555}
.field span{font-weight:600;color:#333}
.field input{font-size:1rem;padding:8px 10px;border:1px solid #c2c8cf;border-radius:5px;background:#fafbfc;transition:border-color .15s,background .15s}
.field input:focus{outline:none;border-color:#3a7bd5;background:#fff;box-shadow:0 0 0 3px rgba(58,123,213,.15)}

/* Filters stacked */
.filters .field{margin-bottom:10px}
.filters .field:last-child{margin-bottom:0}

/* Feedback */
.feedback .counter{display:flex;align-items:baseline;gap:8px;border-bottom:1px solid #eee;padding-bottom:10px;margin-bottom:10px}
#hitCount{font-size:1.8rem;font-weight:700;color:#1d3557}
.counterLabel{color:#666}
.status{margin-left:auto;font-size:.85rem;color:#888}
.status.loading{color:#3a7bd5}
.status.error{color:#c0392b}

.resolved{font-size:.82rem;color:#555;margin-bottom:10px;display:flex;flex-wrap:wrap;gap:6px}
.resolved .pill{background:#eef3fb;border:1px solid #cfdcef;color:#1d3557;padding:2px 8px;border-radius:12px}
.resolved .pill b{font-weight:600}
.resolved .pill .exp{margin-left:6px}
.resolved .pill .exp summary{display:inline;cursor:pointer;color:#3a7bd5;font-size:.78rem}
.resolved .pill .exp ul{margin:6px 0 4px 0;padding-left:18px;font-size:.78rem;color:#444}

.listControls{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #eee}
.listControls .check{font-size:.85rem;color:#555;white-space:nowrap;padding-bottom:8px}
.listControls .check input{vertical-align:middle;margin-right:4px}
.listControls .field.inline{flex:1 1 240px;margin:0}
.listCount{margin-left:auto;font-size:.82rem;color:#888;padding-bottom:8px}

.results{list-style:none;padding:0;margin:0}
.results li{border-top:1px solid #f0f1f3;padding:10px 4px}
.results li:first-child{border-top:none}
.results .label{font-weight:600;color:#1d3557}
.results .qid{color:#888;font-size:.8rem;margin-left:6px}
.results .meta{color:#666;font-size:.85rem;margin-top:2px}
.results .desc{color:#444;font-size:.88rem;margin-top:4px}
.results a{color:#1d3557;text-decoration:none}
.results a:hover{text-decoration:underline}
.results .empty{color:#888;font-style:italic;padding:8px 0}
