:root { color-scheme: light; font: 15px/1.5 system-ui, sans-serif; color: #233240; background: #eef3f4; --ink: #18343d; --accent: #1c6262; --line: #b7cece; --muted: #466369; --tint: #e4f1ed; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { max-width: 71rem; margin: auto; padding: clamp(.8rem, 4vw, 2.5rem); }
h1, h2, p { margin: 0; }
h1 { color: var(--ink); font-size: clamp(2rem, 5vw, 3.55rem); letter-spacing: -.05em; line-height: 1.05; }
h2 { font-size: 1.25rem; }
.intro, .toolbar, .actions { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; }
.intro { border-bottom: 2px solid var(--accent); padding: .25rem 0 1rem; margin-bottom: .9rem; }
.intro p, .hint { color: var(--muted); margin-top: .25rem; }
.import-panel, .library-panel, .legal { background: #fcfefd; border: 1px solid var(--line); border-radius: .65rem; padding: clamp(.8rem, 3vw, 1.25rem); margin-bottom: .85rem; }
.upload { display: block; margin-top: .6rem; }
label { font-weight: 620; }
input, select, textarea, button { max-width: 100%; font: inherit; }
input[type=file] { display: block; }
input[type=text], input[type=search], select, textarea { border: 1px solid #719395; border-radius: .36rem; padding: .4rem .5rem; color: var(--ink); background: #fff; }
textarea { min-height: 5rem; width: 100%; resize: vertical; font: 13px/1.5 ui-monospace, Consolas, monospace; }
details { margin-top: .75rem; }
summary { color: var(--accent); width: fit-content; cursor: pointer; font-weight: 650; }
form label { display: block; margin-top: .5rem; }
button { cursor: pointer; color: #fff; background: var(--accent); border: 1px solid var(--accent); padding: .43rem .7rem; border-radius: .38rem; font-weight: 650; }
button.secondary { color: var(--ink); background: var(--tint); border-color: var(--line); }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 2px solid #155e67; outline-offset: 2px; }
input[type=checkbox] { accent-color: var(--accent); }
[role=status]:empty, [role=alert]:empty { display: none; }
[role=alert], #rejected { color: #8b2a25; overflow-wrap: anywhere; }
#rejected { margin: .5rem 0 0; padding-left: 1.25rem; }
#icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(10.8rem,100%),1fr)); padding: 0; gap: .7rem; list-style: none; margin: .8rem 0; }
.icon-card { border: 1px solid var(--line); border-radius: .5rem; padding: .55rem; min-width: 0; background: #fff; }
.icon-preview { height: 5.5rem; display: grid; place-items: center; color: var(--ink); background: var(--tint); border-radius: .3rem; margin-bottom: .4rem; overflow: hidden; }
.icon-preview > svg { width: 3.35rem; height: 3.35rem; }
.icon-card label { display: flex; align-items: flex-start; gap: .3rem; overflow-wrap: anywhere; }
.icon-card label input { flex: none; margin-top: .26rem; }
.icon-card button { padding: .2rem .45rem; font-size: .8rem; }
.icon-meta { display: flex; align-items: center; justify-content: space-between; gap: .35rem; margin-top: .35rem; }
.icon-meta span { color: var(--muted); font-size: .83rem; }
.actions { justify-content: flex-start; margin: .5rem 0; }
#external { margin-top: .4rem; }
.legal h2:not(:first-child) { margin-top: .8rem; }
footer { display: flex; gap: .25rem 1rem; flex-wrap: wrap; }
a { color: var(--accent); }
