:root { color-scheme: light dark; font-family: system-ui, sans-serif; color: #172d28; background: #f7faf8; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 760px; padding: clamp(18px, 4vw, 40px); margin: auto; }
.brand { color: #16674c; font-weight: 750; letter-spacing: -.035em; }
h1 { font-size: clamp(1.45rem, 3.5vw, 2.2rem); line-height: 1.15; letter-spacing: -.04em; margin: .45em 0; }
p { line-height: 1.55; margin: .4em 0 1em; }
section { margin-top: 1.6rem; }
label { font-weight: 650; }
.hint, #status { font-size: .88rem; color: #435d53; }
textarea { display: block; width: 100%; min-height: 160px; resize: vertical; font: inherit; line-height: 1.5; border: 1px solid #879d92; border-radius: 6px; padding: .75rem; background: #fff; color: #192f27; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: .85rem 0; }
button, .file-button { position: relative; font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; border: 1px solid #879d92; color: inherit; background: transparent; padding: .6rem .88rem; border-radius: 6px; }
.primary { background: #186c4e; border-color: #186c4e; color: white; }
button:disabled { opacity: .6; cursor: default; }
.file-button input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
button:focus-visible, textarea:focus-visible, .file-button:focus-within { outline: 3px solid #38997b; outline-offset: 3px; }
.embedded .brand { display: none; }
.embedded main { padding: 18px; max-width: none; }
@media (prefers-color-scheme: dark) {
    :root { background: #14251e; color: #ecf5f0; }
    .hint, #status, .brand { color: #bdcfc5; }
    textarea { background: #0e1c15; color: #ecf5f0; }
}
