/* Task Helper — Onboarding (REPLY-1131p; BRIEF-1197 STAGED). Copyright Rapid Surveys Pty Ltd. App tokens only; namespace ob-. */
/* In the page's flow, never over anything (BRIEF from TIME's Diary tests, 2026-10-11): it was sticky at z-index 70 and covered the phone's full-screen task panel
   (z 48) and its tabs. It scrolls away with the page, and it hides while any panel is open (index.html sets body.panel-open). */
.ob-banner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px; background: #fff6e0; color: #6b4500; border-bottom: 1px solid #f2d49b; font-size: 14px; }
body.panel-open .ob-banner { display: none; }
.ob-link { background: none; border: 0; padding: 0; color: var(--accent, #2563eb); text-decoration: underline; font: inherit; cursor: pointer; min-height: 32px; }
.ob-ov { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: center; align-items: flex-start; overflow-y: auto; padding: 24px 12px; background: rgba(20, 28, 40, .55); }
.ob-card { width: min(520px, 100%); padding: 22px 22px 18px; background: var(--card, #fff); color: var(--ink, #1f2937); border-radius: 14px; box-shadow: 0 16px 40px rgba(20, 28, 40, .3); }
.ob-card h2 { margin: 4px 0 14px; }
.ob-prog { margin: 0; font-size: 13px; color: var(--muted, #6b7280); }
.ob-form { display: flex; flex-direction: column; gap: 10px; }
.ob-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.ob-form input[type=text], .ob-form input:not([type]), .ob-form input[type=email], .ob-form select { min-height: 44px; padding: 8px 10px; border: 1px solid var(--line, #d1d5db); border-radius: 8px; font: inherit; font-weight: 400; }
.ob-hint { margin: 0; font-size: 13px; color: var(--muted, #6b7280); }
.ob-form fieldset { border: 0; padding: 0; margin: 0; } .ob-form legend { font-weight: 600; margin-bottom: 6px; }
.ob-radio { flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 400 !important; padding: 10px; border: 1px solid var(--line, #d1d5db); border-radius: 10px; }
.ob-rows { display: flex; flex-direction: column; gap: 8px; }
.ob-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 8px; }
.ob-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.ob-btn { min-height: 44px; padding: 8px 16px; border: 1px solid var(--line, #d1d5db); border-radius: 8px; background: var(--card, #fff); color: inherit; font: inherit; cursor: pointer; }
.ob-primary { background: var(--accent, #2563eb); color: #fff; border-color: var(--accent, #2563eb); }
.ob-more { align-self: flex-start; }
.ob-err { margin: 10px 0 0; color: var(--err, #b42318); font-size: 14px; }
.ob-check { padding: 12px 16px; border: 1px solid var(--line, #e5e7eb); border-radius: 12px; background: var(--card, #fff); }
.ob-check h3 { margin: 0 0 6px; font-size: 15px; } .ob-check ul { list-style: none; margin: 0; padding: 0; } .ob-check li { padding: 4px 0; font-size: 14px; }
.ob-done { color: var(--muted, #6b7280); text-decoration: line-through; }
