:root { font-family: system-ui, sans-serif; color: #202824; background: #fff; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: 24px; }
main { width: 100%; max-width: 360px; }
label { display: block; margin: 0 0 8px; font-size: 15px; }
input:not([type=file]) { width: 100%; min-height: 52px; padding: 12px 14px; margin-bottom: 24px; border: 1px solid #b9c2bd; border-radius: 8px; font: inherit; font-size: 16px; }
button { font: inherit; cursor: pointer; touch-action: manipulation; }
button:disabled { opacity: .55; cursor: wait; }
.primary { width: 100%; min-height: 56px; padding: 16px; border: 0; border-radius: 10px; background: #275b49; color: #fff; font-size: 18px; font-weight: 600; }
.primary:hover { background: #1b4537; }
.upload-button { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; font-size: 26px; }
.upload-button svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#dropzone.dragging { outline: 3px dashed #275b49; outline-offset: 8px; border-radius: 10px; }
.transfer-heading { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
progress { width: 100%; height: 10px; border: 0; border-radius: 10px; overflow: hidden; appearance: none; }
progress::-webkit-progress-bar { background: #e9eee9; }
progress::-webkit-progress-value { background: #275b49; border-radius: 10px; transition: width .2s; }
progress::-moz-progress-bar { background: #275b49; }
.filename { overflow-wrap: anywhere; font-size: 14px; }
.small { color: #626d66; font-size: 13px; line-height: 1.5; }
.secondary { padding: 12px 18px; min-height: 48px; background: #fff; color: #275b49; border: 1px solid #275b49; border-radius: 8px; margin-right: 12px; }
.text-button { border: 0; background: none; color: #626d66; min-height: 48px; padding: 12px; }
.error { color: #a12e25; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.error:empty { display: none; }
#success { text-align: center; }
#success p { font-size: 22px; margin: 20px 0 32px; }
.success-mark { width: 88px; height: 88px; margin: auto; }
.success-mark svg { width: 100%; fill: none; stroke: #275b49; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success-mark circle { fill: #edf5ef; stroke: #d3e6d9; transform-origin: center; animation: pop .35s ease-out; }
.success-mark path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: check .45s .2s ease forwards; }
:focus-visible { outline: 3px solid #86ae96; outline-offset: 4px; }
[hidden] { display: none !important; }
.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; }
@keyframes pop { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes check { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation: none !important; transition: none !important; } .success-mark path { stroke-dashoffset: 0; } }
