/* Onboarding: the master list and each client's questionnaire. Built on the
   Hub's cards, tables and tabs (app.css, website.css); only what is new is here. */
.ob-intro{font-size:12px;color:var(--muted);line-height:1.6;max-width:78ch;margin:0 0 14px}
.ob-optional{font-weight:400;color:var(--muted);font-size:11px;margin-left:4px}
.ob-section{margin-top:18px}
.ob-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:6px}
.ob-section-head h2{font-size:16px;margin:0;color:var(--ink);font-weight:650}
.ob-section-head p{font-size:12px;color:var(--muted);margin:5px 0 0;max-width:72ch}
.ob-section-head .primary,.ob-section-head .secondary{text-decoration:none;flex-shrink:0}
.ob-master-row,.ob-item{display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:16px;padding:15px 0;border-top:1px solid var(--line);align-items:start}
.ob-section-head+.ob-master-row,.ob-section-head+.ob-item{border-top:0}
.ob-ref{font-size:11px;font-weight:650;color:var(--deep);font-variant-numeric:tabular-nums;padding-top:2px}
.ob-ref small{display:block;font-size:9px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;margin-top:3px}
.ob-main{min-width:0}
.ob-main>strong{display:block;font-size:13px;color:var(--ink);font-weight:550;line-height:1.5}
.ob-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:6px;font-size:11px;color:var(--muted)}
.ob-lead{font-size:12px;color:var(--body);margin:7px 0 0;line-height:1.55}
.ob-lead b{font-weight:650;color:var(--ink);margin-right:4px}
.ob-guide{color:var(--muted)}
.ob-flag{display:inline-block;background:#fdecea;color:var(--danger,#b42318);font-size:10px;font-weight:650;border-radius:5px;padding:2px 7px;margin-right:4px}
.ob-tools{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.ob-tools .icon-btn:disabled{opacity:.35;cursor:default}
.is-retired .ob-main>strong{color:var(--muted);text-decoration:line-through}
.ob-retired-toggle{margin:0 0 4px}
.ob-check{display:inline-flex;gap:7px;align-items:center;font-size:12px;color:var(--body);cursor:pointer}
.ob-check input{width:15px;height:15px;accent-color:var(--brand);margin:0}
.ob-checks{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:6px}
.ob-packages{margin:6px 0 18px}
.ob-label{display:block;font-weight:650;font-size:12px;color:var(--ink)}
.ob-fieldset{border:0;padding:0;margin:0 0 13px}
.ob-fieldset legend{font-weight:650;font-size:12px;color:var(--ink);padding:0}
.ob-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ob-modal{padding:0;display:flex;flex-direction:column}
.ob-modal.ob-wide{width:min(760px,100%)}
.ob-modal-body{padding:25px;overflow:auto}
.ob-modal h2{margin:0 0 6px}
.ob-modal .field input,.ob-modal .field select{width:100%;border:1px solid var(--line2);border-radius:9px;padding:9px 11px;background:#fff;color:var(--ink)}
.ob-modal .field textarea{min-height:64px}
.ob-modal .modal-actions{display:flex;align-items:center;gap:8px;margin-top:0;padding:14px 25px;border-top:1px solid var(--line)}
.ob-spacer{flex:1}
.ob-sub{font-size:12px;color:var(--muted);margin:0 0 16px;line-height:1.55}
.ob-err{color:var(--danger,#b42318);font-size:12px;margin:10px 0 0;font-weight:600}
.ob-confirm{font-size:13px;line-height:1.6;margin:8px 0 0}
.ob-linkbox{width:100%;border:1px solid var(--line2);border-radius:9px;padding:10px 11px;font-size:12px}
.ob-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:18px}
.ob-stat{padding:16px 18px}
.ob-stat small{display:block;font-size:11px;color:var(--muted);font-weight:500}
.ob-stat b{display:block;font-size:26px;font-weight:550;color:var(--ink);line-height:1.2;margin:6px 0 4px}
.ob-stat b span{font-size:12px;font-weight:400;color:var(--muted)}
.ob-stat.is-flag{border-color:#f3c2bc;background:#fffafa}
.ob-stat.is-flag b{color:var(--danger,#b42318)}
.ob-mini{height:6px;border-radius:99px;background:#e6eeef;overflow:hidden;min-width:70px;margin-top:4px}
.ob-mini span{display:block;height:100%;background:var(--brand);border-radius:99px}
.ob-wide-bar{margin-top:12px}
.ob-clients td small{font-size:11px;color:var(--muted)}
.ob-clients a{text-decoration:none}
.ob-packages-card{padding:14px 20px;margin-bottom:18px}
.ob-packages-card h2{font-size:14px;margin:0}
.ob-pk-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px}
.ob-pk-line>span{flex:1;min-width:200px}
.ob-pk-line b{color:var(--ink);margin-right:6px}
.ob-row-actions{display:flex;gap:8px}
.ob-new{margin-bottom:18px}
.ob-new h2{font-size:15px;margin:0 0 6px}
.ob-new-row{display:flex;padding:8px 0;border-top:1px solid var(--line);width:100%}
.ob-new .primary{margin-top:12px}
.ob-count{font-weight:500;color:var(--muted);margin-left:3px}
.ob-item.is-out{opacity:.62}
.ob-item.is-answered .ob-ref{color:var(--brand)}
.ob-why{font-size:11px;color:var(--muted);margin:5px 0 0;font-style:italic}
.ob-answer{margin-top:9px;background:var(--soft);border-radius:9px;padding:10px 13px;border-left:3px solid var(--brand)}
.ob-answer p{margin:0;font-size:13px;color:var(--ink);line-height:1.55;overflow-wrap:anywhere}
.ob-answer small{display:block;font-size:11px;color:var(--muted);margin-top:6px}
.ob-picked{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:6px}
.ob-picked span{background:#fff;border:1px solid #a6dcd4;color:var(--deep);border-radius:6px;font-size:11px;font-weight:650;padding:2px 8px}
.ob-picked:last-child{margin-bottom:0}
.ob-action{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:9px;background:#fff8e8;border:1px solid #f0d9a4;border-radius:9px;padding:9px 12px;font-size:12px}
.ob-action b{margin-right:4px;color:#5d4410}
.ob-action small{color:var(--muted)}
.ob-action.is-done{background:#f5faf9;border-color:var(--line)}
.ob-action.is-done b{color:var(--muted)}
.ob-note{display:block;width:100%;margin-top:8px;border:1px solid transparent;border-radius:8px;padding:5px 8px;margin-left:-8px;font-size:12px;color:var(--body);background:transparent;resize:none;min-height:28px;field-sizing:content}
.ob-note:hover{border-color:var(--line2);border-style:dashed}
.ob-note:focus{border:1px solid var(--line2);background:#fff;resize:vertical}
.ob-note:not(:placeholder-shown){background:#f3f7f7;border-color:var(--line)}
.ob-note::placeholder{color:#9aa9ae}
.ob-status{font-size:11px;font-weight:650;border-radius:6px;padding:4px 9px;white-space:nowrap}
.ob-status.is-answered{background:var(--soft);color:var(--deep)}
.ob-status.is-na{background:#eef2f3;color:var(--muted);cursor:help}
.ob-status-select{font-size:11px;border:1px solid var(--line2);border-radius:7px;padding:5px 7px;background:#fff;color:var(--ink)}
.ob-history{margin-top:18px}
.ob-history summary{cursor:pointer;font-weight:650;color:var(--ink);font-size:14px}
.ob-history[open] summary{margin-bottom:12px}
.ob-history td{font-size:11px}
.ob-hist-detail{color:var(--muted);max-width:420px}
.ob-danger{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.ob-danger p{font-size:12px;color:var(--muted);margin:4px 0 0}
.ob-start h2{font-size:17px;margin:0 0 8px}
.ob-panel{margin-top:22px}
.ob-panel .ob-section-head{margin-bottom:0}
#clientOnboarding{scroll-margin-top:100px}
@media(max-width:1000px){.ob-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.ob-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ob-master-row,.ob-item{grid-template-columns:1fr;gap:8px}.ob-tools{justify-content:flex-start}.ob-two{grid-template-columns:1fr;gap:0}.ob-danger{flex-direction:column;align-items:stretch}.ob-section-head{flex-direction:column}.ob-action{flex-direction:column;align-items:flex-start}}
