:root{--rh-primary-strong: #534ab7;--rh-primary-deep: #3c3489;--rh-primary-tint: #eeedfe;--rh-ink: #18181b;--rh-ink-muted: #52525b;--rh-ink-subtle: #71717a;--rh-ink-faint: #a1a1aa;--rh-line: #e4e4e7;--rh-surface-2: #f4f4f5;--rh-surface-1: #ffffff;--rh-canvas: #f8fafc;--rh-success-bg: #dcfce7;--rh-success-fg: #166534;--rh-danger-bg: #fee2e2;--rh-danger-fg: #991b1b}*{box-sizing:border-box}body{margin:0;background:var(--rh-canvas);color:var(--rh-ink);font-family:Montserrat,sans-serif;-webkit-text-size-adjust:100%}#root{max-width:560px;margin:0 auto;min-height:100vh;min-height:100dvh}button,input,textarea{font:inherit}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.header{background:var(--rh-surface-1);border-bottom:1px solid var(--rh-line);padding:16px;display:flex;align-items:center;gap:12px}.logo{width:44px;height:44px;border-radius:12px;object-fit:contain;flex-shrink:0}.logo-fallback{background:var(--rh-primary-tint);color:var(--rh-primary-deep);display:flex;align-items:center;justify-content:center;font-weight:700}.header-text{display:flex;flex-direction:column;gap:2px;min-width:0}.hospital{font-size:15px;font-weight:600}.location{font-size:12px;color:var(--rh-ink-muted);display:flex;align-items:center;gap:4px}.title{margin:0;font-family:Crimson Pro,serif;font-size:28px;line-height:1.15;font-weight:600;letter-spacing:-.01em}.lede{margin:0;font-size:14px;line-height:1.55;color:var(--rh-ink-muted)}.label{font-size:12px;font-weight:600;color:var(--rh-ink-muted);padding:0}.hint{font-size:12px;color:var(--rh-ink-subtle)}.overline{font-size:11px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--rh-ink-subtle)}.form{padding:20px 16px 32px;display:flex;flex-direction:column;gap:24px}.intro{display:flex;flex-direction:column;gap:6px}.field{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;min-width:0}fieldset.field legend{margin-bottom:10px}.input{height:46px;width:100%;border:1px solid var(--rh-line);border-radius:10px;padding:0 14px;font-size:16px;background:var(--rh-surface-1);color:var(--rh-ink)}.input::placeholder{color:var(--rh-ink-faint)}.input:focus{outline:2px solid var(--rh-primary-strong);outline-offset:-1px}.textarea{height:auto;padding:12px 14px;line-height:1.5;resize:vertical}.input-filled{background:var(--rh-surface-2)}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--rh-line);background:var(--rh-surface-1);color:var(--rh-ink-muted);font-size:13px;font-weight:600;cursor:pointer}.chip-on{border:1.5px solid var(--rh-primary-strong);background:var(--rh-primary-tint);color:var(--rh-primary-deep)}.thumbs{display:flex;flex-wrap:wrap;gap:10px}.thumb{width:76px;height:76px;border-radius:10px;background:var(--rh-line);color:var(--rh-ink-subtle);position:relative;display:flex;align-items:center;justify-content:center}.thumb img{width:100%;height:100%;object-fit:cover;border-radius:10px}.thumb-remove{position:absolute;top:-8px;right:-8px;width:28px;height:28px;border-radius:14px;border:2px solid var(--rh-canvas);background:var(--rh-ink);color:#fff;font-size:15px;line-height:1;cursor:pointer}.thumb-add{background:var(--rh-surface-1);border:1.5px dashed var(--rh-ink-faint);flex-direction:column;gap:4px;color:var(--rh-primary-strong);font-size:11px;font-weight:600;cursor:pointer}.card{background:var(--rh-surface-1);border:1px solid var(--rh-line);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:12px}.card-title{font-size:14px;font-weight:600}.error{background:var(--rh-danger-bg);color:var(--rh-danger-fg);border-radius:10px;padding:12px 14px;font-size:13px;font-weight:500}.btn-primary{height:50px;border:0;border-radius:12px;background:var(--rh-primary-strong);color:#fff;font-size:15px;font-weight:600;cursor:pointer}.btn-primary:active{background:var(--rh-primary-deep)}.btn-primary:disabled{opacity:.6;cursor:progress}.btn-secondary{height:46px;padding:0 20px;border:1px solid var(--rh-line);border-radius:12px;background:var(--rh-surface-1);color:var(--rh-primary-strong);font-size:14px;font-weight:600;cursor:pointer}.powered{font-size:10px;color:var(--rh-ink-subtle);text-align:center;margin-top:-12px}.done,.message{padding:64px 24px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px}.done .lede,.message .lede{max-width:320px}.done-icon{width:72px;height:72px;border-radius:36px;background:var(--rh-success-bg);color:var(--rh-success-fg);display:flex;align-items:center;justify-content:center}.ref-card{background:var(--rh-surface-1);border:1px solid var(--rh-line);border-radius:14px;padding:16px 20px;min-width:220px;display:flex;flex-direction:column;gap:4px}.ref{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:20px;font-weight:600}.spinner{width:32px;height:32px;border-radius:50%;border:3px solid var(--rh-primary-tint);border-top-color:var(--rh-primary-strong);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation-duration:2.4s}}
