:root { color-scheme: light; background: #f6f1e6; color: #283626; font-family: system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; padding: 38px 20px; }
main { width: min(100%, 480px); margin: auto; }
header p { color: #3d6449; font-weight: 750; margin: 0 0 6px; }
h1 { font-family: Georgia, serif; font-size: clamp(2.3rem, 10vw, 3.5rem); line-height: 1; letter-spacing: -.055em; margin: 0 0 22px; }
form { padding: 22px; border: 1px solid #dfd8c9; background: #fffcf6; border-radius: 22px; }
label { display: block; margin-bottom: 14px; font-weight: 650; }
label span, #selection { color: #535e51; font-weight: 400; overflow-wrap: anywhere; }
input, select { width: 100%; min-height: 48px; margin-top: 4px; padding: 10px; border: 1px solid #a9a99b; background: #fff; color: inherit; font: inherit; border-radius: 8px; }
.file-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
button, .file-action { display: grid; place-items: center; border: 1px solid #28563d; color: #fff; background: #28563d; min-height: 52px; border-radius: 12px; text-align: center; font: inherit; font-weight: 750; cursor: pointer; }
.file-action { position: relative; margin: 0; padding: 8px; }
.file-action input { position: absolute; inset: 0; height: 100%; margin: 0; cursor: pointer; opacity: 0; }
.file-action:focus-within { outline: 3px solid #a2482f; outline-offset: 2px; }
.secondary { background: #ecf1e6; color: #28563d; }
button { width: 100%; margin-top: 16px; }
button:disabled { opacity: .6; cursor: default; }
[hidden] { display: none !important; }
#gallery-name:empty, #status:empty { display: none; }
#gallery-name { margin-top: -7px; margin-bottom: 22px; font-weight: 500; }
figure { margin: 14px 0; padding: 8px; background: #f1ede2; border-radius: 12px; }
figure img { width: 100%; max-height: 220px; display: block; object-fit: contain; }
figcaption { font-size: .88em; padding: 4px; }

.mark { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 12px; }
.site { width: min(100%, 560px); }
.site p { line-height: 1.6; }
.site nav { display: grid; gap: 14px; margin-top: 30px; }
.site a { color: #28563d; text-underline-offset: 3px; }
.site a.file-action { color: #fff; text-decoration: none; }
.site h2 { font-family: Georgia, serif; margin-top: 28px; }
