:root { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #18302c; background: #f2f6f4; color-scheme: light; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.card { width: 100%; max-width: 580px; background: #fff; border: 1px solid #dae5df; border-radius: 20px; padding: 36px; box-shadow: 0 12px 40px #18302c08; }
.brand { font-size: 11px; font-weight: 750; letter-spacing: 1.8px; color: #218061; }
h1 { font-size: clamp(26px, 5vw, 34px); line-height: 1.15; letter-spacing: -1px; margin: 16px 0 12px; }
header p, footer, small, .result p { color: #62736d; line-height: 1.6; }
header p { margin: 0 0 28px; font-size: 14px; }
label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 8px; }
input, select, button, .save { font: inherit; border-radius: 9px; }
input, select { width: 100%; border: 1px solid #cfdcd5; background: #fff; color: #18302c; padding: 13px; min-height: 48px; }
input:focus, select:focus { outline: 2px solid #218061; outline-offset: 2px; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
details { margin: 0 0 20px; font-size: 13px; }
summary { cursor: pointer; color: #62736d; margin-bottom: 12px; }
small { display: block; margin-top: 8px; font-size: 12px; }
button, .save { display: block; background: #187553; color: #fff; border: 0; padding: 14px 20px; font-weight: 650; text-align: center; cursor: pointer; text-decoration: none; }
button { width: 100%; }
#submit { margin-top: 12px; }
button:hover, .save:hover { background: #105d40; }
button:focus-visible, .save:focus-visible, summary:focus-visible { outline: 2px solid #187553; outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .65; }
select:disabled { opacity: .5; }
.status { font-size: 13px; line-height: 1.6; margin: 16px 0 0; overflow-wrap: anywhere; }
.status:empty { display: none; }
.status.error { color: #b02d32; }
.result { margin-top: 20px; padding: 18px; background: #f2f8f4; border: 1px solid #d5e8dc; border-radius: 12px; }
.result h2 { font-size: 16px; margin: 0; overflow-wrap: anywhere; }
.result p { font-size: 13px; margin: 8px 0 16px; }
footer { margin-top: 24px; font-size: 11px; text-align: center; }
.preview-image, .preview-player { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; margin-bottom: 16px; background: #e5ede8; object-fit: contain; }
.secondary { background: #e0eee5; color: #105d40; margin-top: 12px; }
.secondary:hover { background: #cfe5d7; }
@media (max-width: 420px) { .card { padding: 24px 20px; } .options { gap: 10px; } }
