/* Onboarding questionnaire. Uses the portal tokens (portal.css): Mulish text, Prata titles, Playfair Display Italic accent,
   ink buttons, coral as an accent, wash for selected states. Nothing here changes the check-in screens. */
[hidden]{display:none !important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* home card */
.ob-home{border:1px solid var(--line);border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:20px;background:#fff}
.ob-home-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.ob-home-head .head{gap:4px}
.ob-home-head h3{font-family:var(--display);font-weight:400;font-size:26px;line-height:1.15}
.ob-progress{display:flex;flex-direction:column;gap:8px;font-size:14px}
.ob-bar{height:8px;border-radius:4px;background:var(--line);overflow:hidden}
.ob-bar-fill{display:block;height:100%;background:var(--coral);border-radius:4px}
.ob-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.ob-step-row{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:#fff;color:var(--ink);text-align:left;min-height:48px}
.ob-step-row:hover{background:var(--subtle)}
.ob-step-row .t{flex:1;font-size:14px}
.ob-dot{width:10px;height:10px;border-radius:50%;flex:none;background:var(--line-strong)}
.ob-dot.complete{background:var(--coral)} .ob-dot.in_progress{background:#fff;box-shadow:inset 0 0 0 2px var(--coral)}
.ob-dot.optional{background:var(--line-strong)}

/* page frame */
.ob-page{max-width:880px !important}
.ob-top{display:flex;flex-direction:column;align-items:stretch;gap:0;border-bottom:1px solid var(--line);margin:-40px -24px 0;padding:0 24px;background:#fff}
.ob-stepper{overflow-x:auto;flex:1;min-width:0}
.ob-stepper ol{display:flex;gap:20px;list-style:none;margin:0;padding:0;white-space:nowrap}
.ob-st{display:block;padding:18px 0 14px;font-size:14px;font-weight:600;color:var(--ink-faint);text-decoration:none;border-bottom:2px solid transparent}
.ob-st.done{color:var(--ink-soft)} .ob-st.cur{color:var(--ink);border-bottom-color:var(--coral)}
.ob-later{font-size:13px;color:var(--ink);white-space:nowrap;align-self:flex-end;padding-top:12px}
.ob-header{display:flex;flex-direction:column;gap:12px;margin-top:20px}
.ob-eyebrow{margin:0;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--coral)}
.ob-header h1{font-size:44px;line-height:1.18}
.ob-header h1 .accent{color:var(--coral)}
.ob-lead{margin:0;font-size:16px;color:var(--ink-soft)}

/* cards */
.ob-card-box{border:1px solid var(--line);border-radius:16px;padding:32px;background:#fff;display:flex;flex-direction:column;gap:24px}
.ob-card-head{display:flex;flex-direction:column;gap:6px}
.ob-card-box h2{font-size:26px;line-height:1.3}
.ob-title-row{display:flex;align-items:center;gap:10px}
.ob-hint{margin:0;font-size:14px;color:var(--ink-soft)}
.ob-heading{display:flex;flex-direction:column;gap:6px;padding:16px 0 0}
.ob-heading h2{font-size:34px}
.ob-plain{display:flex;flex-direction:column;gap:12px}
.ob-pairs{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.ob-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.ob-swatches{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ob-pair{display:grid;grid-template-columns:1fr 1fr auto;gap:24px;align-items:end}
.ob-remove{align-self:center;margin-top:20px}

/* questions */
.ob-q{display:flex;flex-direction:column;gap:8px;min-width:0}
.ob-q.err .ob-label label,.ob-q.err .lab{color:var(--bad)}
.ob-q .msg{color:var(--bad);font-size:13px}
.ob-label{display:flex;align-items:center;gap:8px}
.ob-label label,.ob-label .lab{font-size:14px;font-weight:600;color:#5c5455}
.ob-new{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:999px;background:var(--coral);color:#fff;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.ob-badge{display:inline-flex;align-items:center;height:24px;padding:0 12px;border-radius:999px;border:1px solid var(--coral);color:var(--coral-deep);font-size:13px}
.ob-input{width:100%;border:1px solid var(--line-strong);border-radius:8px;padding:12px 16px;font:inherit;font-size:16px;color:var(--ink);background:#fff;min-height:48px}
textarea.ob-input{min-height:104px;resize:vertical;line-height:1.5}
.ob-input::placeholder{color:var(--ink-faint)}
.ob-q.err .ob-input{border-color:var(--bad)}
.ob-input[disabled]{background:var(--subtle);color:var(--ink-soft)}
.ob-lock{position:relative;display:flex;align-items:center}
.ob-lock .ico{position:absolute;right:14px;color:var(--ink-soft);width:18px;height:18px}
.ob-q.tile{background:var(--subtle);border:1px dashed var(--ink-faint);border-radius:16px;padding:20px;gap:6px}
.ob-q.tile .ob-label label{font-size:16px;color:var(--ink)}
.ob-q.tile .ob-input{margin-top:6px}
.ob-tiles{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ob-files{display:flex;flex-direction:column;gap:24px}
.ob-or{display:flex;align-items:center;gap:16px;color:var(--ink-soft);font-size:13px}
.ob-or::before,.ob-or::after{content:"";flex:1;height:1px;background:var(--line)}
.ob-folders{display:flex;gap:12px;flex-wrap:wrap}
.ob-folder{flex:1;min-width:200px;display:flex;align-items:center;justify-content:center;gap:12px;border:1.5px solid var(--ink);border-radius:999px;background:#fff;padding:14px 20px;font-weight:600;color:var(--ink);min-height:48px}
.ob-folder.on{background:var(--wash)}
.ob-fdot{width:10px;height:10px;border-radius:50%;background:var(--coral)}

/* chips */
.ob-chips{display:flex;flex-wrap:wrap;gap:8px}
.ob-chip{border:1px solid var(--line-strong);border-radius:999px;background:#fff;padding:8px 16px;font-size:14px;font-weight:600;color:#5c5455;min-height:40px}
.ob-chip:hover{background:var(--subtle)}
.ob-chip.on{background:var(--wash);border:1.5px solid var(--coral);color:var(--ink);padding:7.5px 15.5px}
.ob-chip.add{border-style:dashed;color:var(--ink-soft)}
.ob-chip[disabled]{opacity:.45;cursor:default}
.ob-chip-input{border:1.5px solid var(--coral);border-radius:999px;padding:8px 16px;font:inherit;font-size:14px;min-height:40px;width:180px}
.ob-yn{display:flex;gap:8px}
.ob-yn-b{border:1px solid var(--line-strong);border-radius:8px;background:#fff;padding:10px 24px;font-weight:600;color:#5c5455;min-height:44px}
.ob-yn-b.on{background:var(--wash);border:1.5px solid var(--coral);color:var(--ink);padding:9.5px 23.5px}
.ob-cards{display:grid;gap:16px}
.ob-cards.c2{grid-template-columns:1fr 1fr} .ob-cards.c3{grid-template-columns:repeat(3,1fr)}
.ob-card{display:flex;flex-direction:column;gap:10px;align-items:flex-start;text-align:left;border:1px solid var(--line-strong);border-radius:8px;background:#fff;padding:24px;color:var(--ink)}
.ob-card.on{background:var(--wash);border:1.5px solid var(--coral);padding:23.5px}
.ob-card strong{font-size:16px;font-weight:700}
.ob-card-body{font-size:14px;color:#5c5455;line-height:1.45}
.ob-card .ob-card-head{display:flex;flex-direction:row;align-items:center;gap:10px}
.ob-radio{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--ink-faint);flex:none;display:inline-block;background:#fff}
.ob-card.on .ob-radio{border-color:var(--coral);box-shadow:inset 0 0 0 4px #fff;background:var(--coral)}
.ob-radio.big{width:24px;height:24px}
.ob-radios{display:flex;flex-direction:column;gap:12px}
.ob-radio-row{display:flex;align-items:center;gap:14px;border:1px solid var(--line-strong);border-radius:16px;background:#fff;padding:16px 20px;text-align:left;font-size:16px;font-weight:600;color:var(--ink)}
.ob-radio-row.on{background:var(--wash);border:1.5px solid var(--ink);padding:15.5px 19.5px}
.ob-radio-row.on .ob-radio{border-color:var(--ink);background:var(--ink);box-shadow:inset 0 0 0 5px var(--ink)}

/* slider */
.ob-range{-webkit-appearance:none;appearance:none;width:100%;height:28px;background:transparent;margin:0}
.ob-range::-webkit-slider-runnable-track{height:6px;border-radius:3px;background:linear-gradient(to right,var(--coral) var(--p,50%),var(--line) var(--p,50%))}
.ob-range.unset::-webkit-slider-runnable-track{background:var(--line)}
.ob-range::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;border-radius:50%;background:#fff;border:1.5px solid var(--line-strong);margin-top:-11px;box-shadow:0 1px 3px rgba(0,0,0,.15)}
.ob-range::-moz-range-track{height:6px;border-radius:3px;background:var(--line)}
.ob-range::-moz-range-progress{height:6px;border-radius:3px;background:var(--coral)}
.ob-range::-moz-range-thumb{width:26px;height:26px;border-radius:50%;background:#fff;border:1.5px solid var(--line-strong)}
.ob-ends{display:flex;justify-content:space-between;font-size:14px;color:var(--ink-soft)}
.ob-range-val{color:var(--ink);font-weight:600}

/* colours, checkbox, consent */
.ob-colour{display:flex;flex-direction:column;gap:8px}
.ob-swatch{display:block;height:72px;border:1px solid var(--line);border-radius:12px;background:var(--subtle)}
.ob-swatch.empty{background:repeating-linear-gradient(45deg,var(--subtle),var(--subtle) 8px,#fff 8px,#fff 16px)}
.ob-input.hex{text-transform:uppercase}
.ob-defs{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ob-def{background:var(--subtle);border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:6px}
.ob-def p{margin:0;font-size:14px;color:#5c5455}
.ob-disclaimer{margin:0;background:var(--wash);border-radius:12px;padding:16px 20px}
.ob-checks{display:flex;flex-direction:column;gap:16px}
.ob-check{display:flex;align-items:flex-start;gap:12px;background:none;border:0;padding:0;text-align:left;font-size:16px;color:var(--ink)}
.ob-box{width:22px;height:22px;border-radius:5px;border:1.5px solid var(--ink-faint);background:#fff;flex:none;display:flex;align-items:center;justify-content:center;color:#fff}
.ob-box .ico{width:14px;height:14px;stroke-width:2.4;opacity:0}
.ob-check.on .ob-box{background:var(--coral);border-color:var(--coral)} .ob-check.on .ob-box .ico{opacity:1}
.ob-needs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.ob-needs li{display:flex;align-items:center;gap:12px}
.ob-needs li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--coral);flex:none}

/* actions and saved state */
.ob-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.ob-saved{font-size:14px;color:var(--ink-soft)}

/* review */
.ob-rv-list{display:flex;flex-direction:column}
.ob-rv{border-bottom:1px solid var(--line);padding:6px 0 14px}
.ob-rv-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0;flex-wrap:wrap}
.ob-rv-left{display:flex;align-items:center;gap:12px;font-size:16px}
.ob-rv-right{display:flex;align-items:center;gap:20px}
.ob-edit{font-size:14px;font-weight:600;color:var(--ink)}
.ob-answers{margin:4px 0 0 22px;display:flex;flex-direction:column;gap:8px}
.ob-ans{display:flex;flex-direction:column;gap:2px}
.ob-ans dt{font-size:13px;color:var(--ink-soft)}
.ob-ans dd{margin:0;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}
.ob-next{display:flex;align-items:center;gap:16px}
.ob-next p{margin:0}
.ob-num{font-family:var(--display);font-size:26px;color:var(--coral)}

@media (max-width:700px){
  .ob-top{margin:-28px -16px 0;padding:0 16px}
  .ob-header h1{font-size:30px}
  .ob-card-box{padding:20px 16px;border-radius:12px}
  .ob-card-box h2{font-size:22px}
  .ob-pairs,.ob-trio,.ob-defs,.ob-tiles,.ob-cards.c2,.ob-cards.c3{grid-template-columns:1fr}
  .ob-swatches{grid-template-columns:1fr 1fr}
  .ob-pair{grid-template-columns:1fr;gap:12px}
  .ob-remove{align-self:flex-start;margin-top:0}
  .ob-steps{grid-template-columns:1fr}
  .ob-home{padding:18px 16px}
  .ob-home-head{flex-direction:column}
  .ob-stepper ol{gap:20px}
  .ob-rv-right{gap:14px}
}

.ob-step-row .pill{height:24px;padding:0 10px;font-size:12px;line-height:1;flex:none}
.ob-step-row .t{min-width:0}
.ob-step-row .pill{align-self:center;margin:0}
