:root { color-scheme: dark; font: 16px/1.5 system-ui, sans-serif; background: #111820; color: #eaf0f5; }
body { margin: 0; }
main { box-sizing: border-box; max-width: 38rem; margin: auto; padding: clamp(1.25rem, 5vw, 3rem); }
h1 { margin: 0; font-size: clamp(1.6rem, 5.5vw, 2.25rem); line-height: 1.15; }
p { color: #b4c3d0; }
label { display: block; margin: 1.25rem 0 .4rem; font-weight: 650; }
select, textarea { box-sizing: border-box; width: 100%; padding: .7rem; border: 1px solid #6c8092; border-radius: .55rem; background: #1b2733; color: inherit; font: inherit; }
textarea { resize: vertical; }
#feedback-hint { margin: .5rem 0 1.15rem; font-size: .875rem; }
button { padding: .7rem 1rem; border: 0; border-radius: .55rem; background: #8cf4dd; color: #10211e; font: inherit; font-weight: 700; cursor: pointer; }
form > button[type="submit"] { display: block; margin-left: auto; margin-right: 0; }
form > button[type="submit"]:disabled { opacity: .65; cursor: progress; }
a { color: #8cf4dd; }
:focus-visible { outline: 2px solid #8cf4dd; outline-offset: 3px; }

.category-dropdown { position: relative; }
.category-dropdown summary { position: relative; list-style: none; box-sizing: border-box; padding: .7rem 2.5rem .7rem .7rem; padding-inline: .7rem 2.5rem; border: 1px solid #6c8092; border-radius: .55rem; background: #1b2733; cursor: pointer; }
.category-dropdown summary::-webkit-details-marker { display: none; }
.category-dropdown summary::after { content: ""; position: absolute; inset-inline-end: 1rem; top: 45%; width: .5rem; height: .5rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-25%) rotate(45deg); }
.category-dropdown[open] summary::after { transform: translateY(25%) rotate(225deg); }
.category-options { position: absolute; top: calc(100% + .3rem); inset-inline-end: 0; z-index: 1; min-width: min(13rem, 100%); max-width: 100%; padding: .25rem; box-sizing: border-box; border: 1px solid #6c8092; border-radius: .55rem; background: #1b2733; box-shadow: 0 .45rem 1rem #0008; }
.category-options button { display: block; width: 100%; padding: .55rem .7rem; background: transparent; color: inherit; font-weight: 500; text-align: start; }
.category-options button[aria-pressed="true"], .category-options button:hover { color: #8cf4dd; background: #263744; }
