:root {
  color-scheme: light;
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: #142c36;
  background: #f6f5ee;
  --line: #d8dcd7;
  --muted: #47606a;
  --ink: #122a35;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.wrap { width: min(100% - 2.25rem, 62rem); margin-inline: auto; }
.masthead { background: var(--ink); color: #f8faf6; border-bottom: .3rem solid #a8d4c5; }
.brand { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand a { color: inherit; font-size: 1.35rem; font-weight: 760; letter-spacing: -.04em; text-decoration: none; }
.brand span { font-size: .84rem; color: #c6d8db; text-align: right; }
.intro { padding: clamp(2rem, 7vw, 4rem) 0 2rem; }
h1 { margin: 0 0 1.35rem; letter-spacing: -.065em; font-size: clamp(2.25rem, 7.5vw, 4.65rem); line-height: 1; }
label { font-size: .9rem; font-weight: 660; }
.search { display: flex; gap: .45rem; margin-top: .5rem; }
input, button, select { font: inherit; border-radius: .45rem; }
input, select { background: #fff; color: var(--ink); border: 1px solid #839499; min-height: 2.85rem; }
input { flex: 1; min-width: 0; padding: .65rem .85rem; }
input::placeholder { color: #5d6d74; }
button { border: 1px solid var(--ink); padding: .62rem 1rem; font-weight: 700; background: var(--ink); color: #fff; cursor: pointer; }
button:hover { background: #234553; }
.examples { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .65rem; }
.examples a { padding: .44rem .68rem; background: #e5eeea; border-radius: .35rem; font-size: .85rem; font-weight: 650; text-decoration: none; color: #214653; }
.examples a:hover { background: #d0e4dc; }
:focus-visible { outline: 3px solid #007567; outline-offset: 3px; }
.results-head { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .65rem; margin-bottom: .75rem; }
.results-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.results-head label { display: flex; align-items: center; gap: .6rem; }
select { padding: .2rem .5rem; }
#results { overflow: hidden; background: #fffefa; border: 1px solid var(--line); border-radius: .65rem; }
.result + .result { border-top: 1px solid var(--line); }
summary { display: grid; grid-template-columns: 5.3rem minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: .9rem; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary:hover { background: #f2f7f4; }
summary:focus-visible { outline-offset: -3px; }
.code { width: fit-content; min-width: 4.65rem; text-align: center; padding: .4rem .5rem; border-radius: .3rem; background: #dfeee8; color: #143d42; font: 700 1rem "IBM Plex Mono", ui-monospace, monospace; }
.name { font-weight: 690; overflow-wrap: anywhere; }
.meta { display: block; margin-top: .2rem; color: var(--muted); font-size: .83rem; font-weight: 400; }
.chevron { display: block; width: .52rem; height: .52rem; transform: rotate(45deg); border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); margin: .3rem; }
[open] .chevron { transform: rotate(225deg); }
.variants { margin: 0; padding: 0 1rem 1rem calc(7rem + 1px); color: var(--muted); font-size: .89rem; line-height: 1.5; }
.variants ul { padding-left: 1.05rem; margin: .35rem 0 0; }
.empty { margin: 1rem; color: var(--muted); }
#more { margin-top: 1rem; }
footer { padding: 1.65rem 0 2.5rem; color: var(--muted); font-size: .85rem; line-height: 1.5; }
footer a { color: #176258; }
@media (max-width: 32rem) {
  .wrap { width: calc(100% - 1.5rem); }
  summary { gap: .55rem; padding: .72rem .55rem; grid-template-columns: 4rem minmax(0, 1fr) auto; }
  .code { min-width: 3.8rem; font-size: .92rem; }
  .variants { padding-left: 5.1rem; }
}
