/* 2026-10-13: overlay shown while a registration's files are prepared and uploaded (upload-shrink.js). */
#upshrink-overlay{position:fixed;inset:0;z-index:9999;background:rgba(4,30,22,.55);display:grid;place-items:center;padding:16px}
#upshrink-overlay[hidden]{display:none}
.upshrink-card{background:#fff;color:#12211b;border-radius:14px;max-width:420px;width:100%;padding:22px 20px;text-align:center;box-shadow:0 18px 50px rgba(0,0,0,.25);font:14px/1.45 system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.upshrink-card b{display:block;font-size:16px;margin:10px 0 6px}
.upshrink-card p{margin:0 0 12px;color:#4b5d55}
.upshrink-spin{width:34px;height:34px;margin:0 auto;border-radius:50%;border:4px solid #d7e9df;border-top-color:#0a6843;animation:upshrink-r 1s linear infinite}
.upshrink-bar{height:6px;border-radius:99px;background:#e6efea;overflow:hidden}
.upshrink-bar span{display:block;height:100%;width:35%;background:#0a6843;border-radius:99px;animation:upshrink-s 1.4s ease-in-out infinite}
@keyframes upshrink-r{to{transform:rotate(360deg)}}
@keyframes upshrink-s{0%{transform:translateX(-100%)}100%{transform:translateX(300%)}}
@media (prefers-color-scheme:dark){.upshrink-card{background:#14231d;color:#e8f1ec}.upshrink-card p{color:#a9bdb3}.upshrink-bar{background:#22362d}}

/* 2026-11-07: on phones the native file picker becomes a big green tap target (camera / gallery / files). */
@media (max-width: 980px) {
  input[type=file]:not(.photo-file) { width: 100%; max-width: 100%; box-sizing: border-box; min-height: 52px; padding: 6px !important; border: 1px dashed #9fb8a8 !important; border-radius: 10px; background: #f7fbf8; font-size: 14px !important; color: #475467; }
  input[type=file]:not(.photo-file)::file-selector-button { min-height: 40px; margin-right: 10px; padding: 0 14px; border: 0; border-radius: 8px; background: #0b6b3a; color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; }
}
