.util-intro { color: var(--muted); max-width: 72ch; margin: 0 0 1.4rem; }
.util-form {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
gap: .9rem 1.1rem;
padding: 1.1rem;
margin: 0 0 1.6rem;
background: var(--bg-soft);
border: 1px solid var(--border);
clip-path: var(--notch);
}
.util-field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.util-field.wide { grid-column: 1 / -1; }
.util-field > label {
font-family: var(--mono);
font-size: .78rem;
letter-spacing: .04em;
text-transform: uppercase;
color: var(--muted);
}
.util-field input[type="text"],
.util-field textarea,
.util-field select {
font-family: var(--mono);
font-size: .95rem;
color: var(--text);
background: var(--bg-deep);
border: 1px solid var(--border);
padding: .5rem .6rem;
width: 100%;
min-width: 0;
}
.util-field textarea { resize: vertical; min-height: 5.5rem; line-height: 1.5; }
.util-field input:focus-visible,
.util-field textarea:focus-visible,
.util-field select:focus-visible {
outline: 2px solid var(--green);
outline-offset: 1px;
border-color: var(--green-dim);
}
.util-flags { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.util-flags label {
display: inline-flex; align-items: center; gap: .35rem;
font-family: var(--mono); font-size: .85rem; color: var(--text);
}
.util-flags input { accent-color: var(--green); }
.util-out h3 {
font-family: var(--pixel);
font-size: 1.5rem;
color: var(--green);
margin: 1.8rem 0 .7rem;
letter-spacing: .02em;
}
.util-out .uo-group:first-child h3,
.util-out .uo-listeners:first-child h3 { margin-top: 0; }
.uo {
margin: 0 0 .7rem;
background: var(--bg-deep);
border: 1px solid var(--border);
clip-path: var(--notch);
}
.uo-head {
display: flex; align-items: center; justify-content: space-between; gap: 1rem;
padding: .35rem .6rem;
background: var(--bg-soft);
border-bottom: 1px solid var(--border);
}
.uo-label {
font-family: var(--mono);
font-size: .8rem;
color: var(--muted);
letter-spacing: .03em;
}
.uo-copy {
font-family: var(--mono);
font-size: .75rem;
text-transform: uppercase;
letter-spacing: .06em;
color: var(--muted);
background: transparent;
border: 1px solid var(--border);
padding: .15rem .55rem;
cursor: pointer;
flex: none;
}
.uo-copy:hover, .uo-copy:focus-visible { color: var(--green); border-color: var(--green-dim); }
.uo-copy.ok { color: var(--green); border-color: var(--green); }
.uo-pre {
margin: 0;
padding: .6rem;
overflow-x: auto;
font-family: var(--mono);
font-size: .9rem;
line-height: 1.55;
color: var(--text);
white-space: pre-wrap;
word-break: break-word;
}
.uo-pre code { font: inherit; color: inherit; background: none; padding: 0; }
.uo-note {
margin: 0;
padding: .45rem .6rem .6rem;
font-size: .85rem;
line-height: 1.5;
color: var(--muted);
border-top: 1px dashed var(--border);
}
.uo-tally, .uo-empty, .uo-bad { font-family: var(--mono); font-size: .9rem; margin: 0 0 .9rem; }
.uo-tally { color: var(--amber); }
.uo-empty { color: var(--muted); }
.uo-bad { color: var(--red); }
.rx-cat { margin: 0 0 1.6rem; }
.rx-grp { margin: 0 0 .8rem; }
.rx-grp h4 {
font-family: var(--mono); font-size: .78rem; text-transform: uppercase;
letter-spacing: .08em; color: var(--muted); margin: 0 0 .45rem;
}
.rx-pick {
font-family: var(--mono); font-size: .82rem;
color: var(--text); background: var(--bg-soft);
border: 1px solid var(--border);
padding: .25rem .6rem; margin: 0 .4rem .4rem 0; cursor: pointer;
}
.rx-pick:hover, .rx-pick:focus-visible { color: var(--green); border-color: var(--green-dim); }
.rx-build { display: flex; flex-wrap: wrap; gap: .4rem; }
.rx-build [data-build] {
font-family: var(--mono); font-size: .82rem;
color: var(--text); background: var(--bg-deep);
border: 1px solid var(--border); padding: .25rem .6rem; cursor: pointer;
}
.rx-build [data-build]:hover, .rx-build [data-build]:focus-visible {
color: var(--green); border-color: var(--green-dim);
}
.rx-hl { background: var(--bg-deep); border: 1px solid var(--border); margin: 0 0 .9rem; }
.rx-hl mark { background: var(--green-glow); color: var(--green); padding: 0 .1em; }
.rx-groups {
width: 100%; border-collapse: collapse; margin: 0 0 1rem;
font-family: var(--mono); font-size: .85rem;
}
.rx-groups th, .rx-groups td {
border: 1px solid var(--border); padding: .3rem .5rem; text-align: left;
vertical-align: top; word-break: break-all;
}
.rx-groups th { color: var(--muted); background: var(--bg-soft); font-weight: 400; }
.util-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 1rem;
margin: 1.4rem 0 0;
}
.util-grid .cat-card { display: flex; flex-direction: column; gap: .5rem; }
.cat-blurb {
margin: 0;
font-size: .88rem;
line-height: 1.5;
color: var(--muted);
}
@media (max-width: 560px) {
.util-form { padding: .8rem; }
.uo-pre { font-size: .84rem; }
}
