:root { color-scheme: dark; font: 16px/1.5 system-ui, sans-serif; color: #edf3ef; background: #101614; }
* { box-sizing: border-box; }
body { margin: 0; }
header { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem max(5vw, calc((100vw - 1120px)/2)); border-bottom: 1px solid #35433c; }
header strong { color: #a6efc2; font-size: 1.15rem; }
header span, small, output, .intro p, #status { color: #afc0b7; }
main { width: min(90%, 1120px); margin: 3.5rem auto; }
.intro { margin-bottom: 2rem; }
h1 { font-size: clamp(2.7rem, 7vw, 5rem); line-height: 1; letter-spacing: -.06em; margin: 0; }
em { font-style: normal; color: #a6efc2; }
.intro p { max-width: 55ch; }
.workspace, .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
form, .editor { display: flex; flex-direction: column; min-width: 0; padding: clamp(1rem, 3vw, 1.8rem); background: #19221e; border: 1px solid #35433c; border-radius: 1rem; }
.section-head, .actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
h2 { margin: 0; font-size: 1.2rem; }
label { display: block; margin-top: .9rem; }
small { margin-left: .25rem; }
input, textarea, select, button { font: inherit; color: inherit; border: 1px solid #46594f; border-radius: .55rem; padding: .65rem .75rem; background: #101814; }
input, textarea, select { width: 100%; margin-top: .35rem; }
textarea { resize: vertical; }
#draft { flex: 1; min-height: 18rem; margin: 1rem 0; }
button { cursor: pointer; }
button:hover:not(:disabled) { border-color: #a6efc2; }
button:disabled { opacity: .5; cursor: default; }
.primary { margin-top: 1.2rem; color: #102218; background: #a6efc2; font-weight: 700; }
:focus-visible { outline: 2px solid #a6efc2; outline-offset: 3px; }
#status { min-height: 1.5rem; margin: .5rem 0 0; }
@media (max-width: 720px) { .workspace { grid-template-columns: 1fr; } main { margin-top: 2rem; } }
