/* Release readiness: accessible status, help and safety controls. */
.quick-goal { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:14px 0 4px; padding:16px; background:var(--surface); border:1px solid var(--line); border-radius:18px; font-size:14px; }
.quick-goal label { flex:1; font-weight:800; }
.quick-goal input { width:66px; min-height:44px; border:1px solid var(--line); border-radius:10px; padding:6px; font:inherit; text-align:center; color:var(--text); background:var(--bg); }
#goalSaveStatus { flex-basis:100%; font-size:12px; color:var(--dim); }
#goalSaveStatus:empty { display:none; }
#healthCard { flex-wrap:wrap; }
#healthCard > div { flex:1; min-width:140px; }
#healthCard .account-state { white-space:normal; line-height:1.45; }
#healthConnectBtn { min-height:44px; }
#startScreen .lb-preview { order:6; }
#startScreen .setup-list { order:5; }
#startScreen .home-spacer { order:8; }
#startScreen .camera-note { order:7; }
#startScreen #loadStatus, #startScreen #cameraSettingsBtn { order:4; }
.camera-note,.legal-note,.status-note { color:var(--dim); font-size:13px; line-height:1.55; }
.camera-note { margin:18px 0; }
.legal-note a,.settings-links a { color:var(--text); text-decoration:underline; text-underline-offset:3px; }
.settings-links { display:flex; flex-wrap:wrap; gap:6px 18px; align-items:center; }
.settings-links a { padding:12px 0; font-size:14px; font-weight:800; }
.status-note:empty { display:none; }
.tracking-status { position:absolute; top:calc(12px + env(safe-area-inset-top)); left:12px; right:12px; z-index:4; border-radius:14px; padding:10px 14px; color:white; background:rgba(27,21,34,.94); font-size:13px; font-weight:800; text-align:center; pointer-events:none; }
.tracking-status.ready { background:#e4ff1a; color:var(--text); }
.profile-safety { display:flex; flex-wrap:wrap; gap:10px; margin:16px 0; }
.safety-overlay { display:none; position:fixed; inset:0; background:rgba(10,15,12,.6); z-index:9999; align-items:flex-end; justify-content:center; }
.safety-overlay.open { display:flex; }
.safety-sheet { background:var(--bg); color:var(--text); width:100%; max-width:560px; padding:28px 24px calc(24px + env(safe-area-inset-bottom)); border-radius:28px 28px 0 0; max-height:90dvh; overflow-y:auto; }
.safety-sheet h2 { font-size:28px; letter-spacing:-.04em; margin:0 0 12px; }
.safety-sheet p { font-size:14px; line-height:1.5; }
.safety-sheet label { display:block; font-size:13px; font-weight:800; margin:16px 0 8px; }
.safety-sheet select,.safety-sheet textarea { width:100%; min-height:48px; padding:12px; font:inherit; border:1px solid #444657; background:var(--surface); color:var(--text); border-radius:12px; }
.safety-sheet textarea { min-height:90px; resize:vertical; }
.safety-sheet button { min-height:44px; }
#safetyClose { width:100%; margin-top:12px; }
.blocked-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid #444657; }
.blocked-row span { overflow-wrap:anywhere; }
[hidden] { display:none !important; }
@media (prefers-reduced-motion:reduce) { .safety-overlay * { transition:none !important; } }
