* { box-sizing: border-box; }
:root { color: #eef5fa; background: #0d1924; font: 16px/1.55 system-ui, sans-serif; color-scheme: dark; }
body { margin: 0; }
[hidden] { display: none !important; }
.top { display: flex; justify-content: space-between; align-items: center; min-height: 74px; padding: 0 max(5vw, 20px); border-bottom: 1px solid #314452; }
.brand { color: #f3fbff; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.045em; }
main { width: min(1050px, 90vw); margin: 0 auto 64px; }
.intro { padding: 54px 0 22px; }
.eyebrow { font-weight: 750; font-size: .875rem; letter-spacing: .15em; color: #8eebc7; }
h1 { margin: 0; font-size: clamp(3rem, 8vw, 6.5rem); letter-spacing: -.075em; line-height: .96; }
h2, h3, p { margin: 0 0 .7rem; }
.intro > p:last-child { margin-top: 22px; color: #b7c9d9; }
nav, .actions, .row, .search-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row { justify-content: space-between; }
.row h2 { margin: 0; }
input, textarea, select, button { font: inherit; border-radius: 8px; }
input, textarea, select { color: inherit; border: 1px solid #536a7c; background: #0d1924; padding: 10px 12px; width: 100%; }
textarea { resize: vertical; }
button { cursor: pointer; border: 1px solid transparent; background: #8eebc7; color: #102a23; padding: 9px 15px; font-weight: 720; }
button:disabled { opacity: .55; cursor: wait; }
button.secondary, nav button { border-color: #536a7c; background: transparent; color: #eaf5fa; }
nav button[aria-pressed=true] { border-color: #8eebc7; color: #8eebc7; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #8eebc7; outline-offset: 3px; }
.search-bar { flex-wrap: nowrap; margin-bottom: 18px; }
.search-bar input { min-width: 0; }
.cards { display: grid; gap: 12px; }
.card, .panel, fieldset { border: 1px solid #344d61; background: #152736; border-radius: 12px; padding: 18px; min-width: 0; }
.card p, .muted, #notice { color: #b7c9d9; }
.card h3 { overflow-wrap: anywhere; }
#notice[data-error=true] { color: #ffb5ad; }
.work { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 4px; margin: 12px 0; }
.editor { margin-top: 16px; }
fieldset { margin: 14px 0; background: #12212e; }
fieldset img { max-width: 180px; max-height: 110px; display: block; margin: 8px 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 650px) { .work { grid-template-columns: 1fr; } .intro { padding-top: 40px; } }
