:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #172c22; background: #edf7e8; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; background: radial-gradient(ellipse at 85% 8%, #ccf3ab 0, transparent 53%), radial-gradient(ellipse at 0% 100%, #d7efd7 0, transparent 55%); }
main { width: min(820px, 100%); margin: auto; padding: clamp(32px, 9vh, 96px) 24px 36px; }
header { display: flex; align-items: center; gap: 12px; margin: 0 0 36px 4px; font-size: .8rem; font-weight: 750; letter-spacing: .14em; }
.mark { display: grid; place-items: center; width: 36px; height: 36px; background: #213e2d; color: #d2f6ae; border-radius: 10px; font-size: 1.65rem; }
.card { padding: clamp(24px, 5vw, 52px); background: #fff; border: 1px solid #dce6d7; border-radius: 24px; box-shadow: 0 16px 60px #36552b09; }
h1 { margin: 0; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.1; letter-spacing: -.055em; font-weight: 650; }
h1 span { color: #65a842; }
.intro > p:last-child { color: #607065; margin: 18px 0 36px; font-size: 1rem; line-height: 1.6; }
label { display: block; margin-bottom: 10px; font-size: .9rem; font-weight: 650; }
.input-row { display: flex; gap: 10px; }
input, button { font: inherit; min-height: 52px; border-radius: 10px; }
input { width: 100%; min-width: 0; padding: 14px 16px; border: 1px solid #cbd5c9; color: #172c22; background: #fcfdfb; }
input::placeholder { color: #7a857c; }
button { border: 1px solid transparent; padding: 13px 20px; background: #254c33; color: white; font-size: .9rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
button span { margin-left: 12px; }
button:hover { background: #173b24; }
button:active { transform: translateY(1px); }
:focus-visible { outline: 3px solid #72a653; outline-offset: 3px; }
input[aria-invalid="true"] { border-color: #ad3434; }
.error { color: #a02929; font-size: .9rem; line-height: 1.5; margin: 10px 0 0; }
.error:empty { display: none; }
.result { display: flex; align-items: center; gap: 30px; margin-top: 34px; padding-top: 34px; border-top: 1px solid #e7ece4; }
[hidden] { display: none !important; }
.preview { width: 190px; flex: 0 0 190px; border: 1px solid #e5eae1; border-radius: 12px; overflow: hidden; background: white; padding: 8px; }
.preview svg { display: block; width: 100%; height: auto; }
.result-details { min-width: 0; }
h2 { margin: 0 0 10px; font-size: 1.3rem; letter-spacing: -.025em; }
.generated-url { font-size: .9rem; color: #607065; overflow-wrap: anywhere; max-height: 7em; overflow: auto; line-height: 1.5; margin: 0 0 20px; }
.downloads { display: flex; flex-wrap: wrap; gap: 8px; }
.secondary { background: #f1f6ee; color: #254c33; border-color: #dce6d5; min-height: 44px; padding: 11px 14px; font-size: .875rem; }
.secondary:hover { background: #e1eed8; }
.hint { font-size: .8rem; color: #657461; line-height: 1.5; margin-bottom: 0; }
footer { font-size: .8rem; color: #52664f; margin-top: 24px; text-align: center; line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 620px) { .input-row { flex-direction: column; } .result { flex-direction: column; align-items: stretch; } .preview { width: 210px; flex-basis: auto; align-self: center; } header { margin-bottom: 24px; } }
