[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.quick-choice { font-size: 16px; color: var(--soft); margin: 18px 0 14px; }
.quick-choice + .button { margin-bottom: 10px; }
.quick-form { align-self: start; }
.flow-open { overflow: hidden; }
.flow-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(29,24,20,.72); backdrop-filter: blur(7px); }
.flow-shell { width: min(840px,100%); height: min(900px,calc(100dvh - 48px)); min-height: 0; overflow: hidden; display: flex; flex-direction: column; background: var(--paper); border: 1px solid rgba(255,255,255,.7); border-radius: 20px; box-shadow: 0 28px 90px rgba(0,0,0,.25); }
.flow-header { flex: 0 0 auto; padding: 22px 40px 0; background: #fffaf6; border-bottom: 1px solid var(--rule); }
.flow-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.flow-top .brand { font-size: 18px; }
.flow-close { width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--rule); border-radius: 50%; background: transparent; color: var(--ink); font-size: 26px; line-height: 1; }
.flow-close:hover { background: var(--sunk); }
.flow-progress { margin-top: 22px; }
.flow-progress > div:first-child { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 13px; font-size: 12px; font-weight: 650; color: var(--soft); }
.flow-count { white-space: nowrap; }
.flow-track { height: 3px; background: #e8dfd8; margin: 0 -40px; overflow: hidden; }
.flow-track span { display: block; height: 100%; width: 0; background: var(--orange); transition: width .25s ease; }
.flow-form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.flow-content { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 32px 40px 36px; scroll-padding-block: 20px; }
.flow-content::-webkit-scrollbar { width: 6px; }
.flow-content::-webkit-scrollbar-thumb { background: #c6b9af; border-radius: 6px; }
.flow-scroll-cue { flex: 0 0 25px; min-height: 25px; padding: 0; border: 0; background: var(--paper); color: var(--orange); font-size: 11px; font-weight: 650; visibility: hidden; }
.flow-scroll-cue[data-visible] { visibility: visible; }
.flow-step { min-width: 0; }
.flow-kicker { color: var(--orange); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 750; margin-bottom: 14px; }
.flow-step h3, .flow-complete h3 { font-size: clamp(1.9rem,3.5vw,2.6rem); max-width: 23ch; line-height: 1.12; }
.flow-step h3:focus, .flow-complete h3:focus { outline: none; }
.flow-prompt { font-size: 16px; color: var(--soft); margin-top: 15px; line-height: 1.6; max-width: 58ch; }
.flow-fields { display: grid; gap: 24px; margin-top: 28px; min-width: 0; }
.flow-label { display: block; min-width: 0; font-size: 14px; font-weight: 620; }
.flow-label small { color: var(--soft); font-weight: 400; margin-left: 4px; font-size: 12px; }
.flow-label > input, .flow-label > textarea, .flow-label > select { display: block; min-width: 0; width: 100%; max-width: 100%; min-height: 52px; margin-top: 9px; padding: 12px 14px; border: 1px solid #b4aaa2; border-radius: 9px; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.45; }
.flow-label > select { appearance: auto; padding-right: 12px; text-overflow: ellipsis; }
.flow-label > textarea { resize: vertical; min-height: 94px; }
.flow-label > input[type=time], .flow-label > input[type=date] { min-inline-size: 0; }
.flow-label > input::-webkit-date-and-time-value { text-align: left; }
.flow-label input::placeholder, .flow-label textarea::placeholder { color: #79716b; }
.flow-input-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; min-width: 0; }
.flow-conditional { display: grid; gap: 20px; min-width: 0; padding-left: 18px; border-left: 2px solid #ddc2b1; }
.flow-choices { border: 0; padding: 0; margin: 0; min-inline-size: 0; width: 100%; }
.flow-choices legend { float: left; width: 100%; font-size: 14px; font-weight: 650; margin-bottom: 4px; }
.choice-help { clear: both; font-size: 12px; color: var(--soft); margin-bottom: 12px; }
.flow-choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.flow-choice { position: relative; min-width: 0; display: flex; }
.flow-choice input { position: absolute; z-index: 1; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; margin: 0; accent-color: var(--orange); cursor: pointer; }
.choice-text { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; min-height: 58px; padding: 14px 12px 14px 44px; background: #fff; border: 1px solid #d7cdc4; border-radius: 10px; font-size: 14px; font-weight: 570; line-height: 1.4; cursor: pointer; transition: border-color .15s, background .15s; overflow-wrap: anywhere; }
.choice-text small { display: block; font-size: 11px; line-height: 1.4; font-weight: 400; color: var(--soft); }
.flow-choice:hover .choice-text { border-color: #a99789; background: #fffaf6; }
.flow-choice input:checked + .choice-text { border-color: var(--orange); background: #fff0e5; box-shadow: inset 0 0 0 1px var(--orange); }
.flow-choice input:focus-visible + .choice-text { outline: 3px solid var(--focus); outline-offset: 3px; }
.choice-selection { display: block; min-height: 0; color: var(--orange); font-size: 12px; font-weight: 600; }
.choice-selection:not(:empty) { margin-top: 9px; }
.flow-chips .flow-choice-grid { grid-template-columns: repeat(7,minmax(0,1fr)); gap: 7px; }
.flow-chips .flow-choice input { opacity: 0; left: 50%; }
.flow-chips .choice-text { padding: 12px 3px; min-height: 46px; text-align: center; font-size: 13px; }
.flow-label [aria-invalid=true], .flow-choices[aria-invalid=true] .choice-text { border-color: #a02020; }
.flow-note { padding: 16px 18px; background: #f1eee8; border-radius: 9px; font-size: 14px; color: var(--soft); }
.flow-footer { flex: 0 0 auto; padding: 16px 40px 20px; border-top: 1px solid var(--rule); background: #fffaf6; }
.flow-nav { display: flex; align-items: center; gap: 14px; }
.flow-back { margin-right: auto; min-width: 90px; }
.flow-next, .flow-submit { margin-left: auto; min-width: 140px; }
.flow-nav .button:hover { transform: none; }
.flow-hint { color: var(--soft); font-size: 11px; line-height: 1.4; }
.flow-status:empty { display: none; }
.flow-status { font-size: 13px; margin-bottom: 12px; }
.flow-status.error { color: #a02020; }
.flow-shell button:disabled { opacity: .6; cursor: wait; }
.flow-summary { display: grid; gap: 18px; margin-top: 28px; }
.review-group { border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: #fff; }
.review-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 18px; background: #f8f3ee; border-bottom: 1px solid var(--rule); }
.review-heading h4 { font-size: 14px; font-weight: 650; margin: 0; }
.review-edit { border: 0; background: transparent; color: var(--orange); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; padding: 6px 2px; }
.review-group dl { margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 22px; padding: 18px; }
.review-group dl > div { min-width: 0; }
.review-group dt { font-size: 11px; color: var(--soft); font-weight: 650; }
.review-group dd { font-size: 14px; line-height: 1.5; margin: 4px 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.flow-review .privacy-note { margin: 22px 0 0; font-size: 13px; }
.flow-complete { flex: 1; overflow-y: auto; padding: 40px; }
.complete-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e6f0e8; color: #276139; font-size: 26px; margin-bottom: 28px; }
.flow-complete p:not(.flow-kicker) { margin: 18px 0 28px; color: var(--soft); font-size: 17px; }
@media (max-width:700px) {
  .flow-overlay { padding: 0; display: block; }
  .flow-shell { height: 100dvh; width: 100%; border: 0; border-radius: 0; }
  .flow-header { padding: max(12px,env(safe-area-inset-top)) 22px 0; }
  .flow-top .brand { font-size: 16px; }
  .flow-top .brand img { width: 28px; height: 28px; }
  .flow-progress { margin-top: 15px; }
  .flow-progress > div:first-child { padding-bottom: 12px; font-size: 11px; }
  .flow-track { margin-inline: -22px; }
  .flow-content { padding: 26px 22px 32px; scrollbar-gutter: auto; }
  .flow-step h3 { font-size: 1.95rem; }
  .flow-prompt { font-size: 14px; margin-top: 13px; }
  .flow-fields { margin-top: 24px; gap: 23px; }
  .flow-choice-grid { gap: 9px; }
  .choice-text { font-size: 13px; padding: 13px 10px 13px 35px; min-height: 62px; }
  .choice-text small { font-size: 10px; }
  .flow-choices[data-group=equipment] .choice-text { min-height: 58px; }
  .flow-choices[data-group=equipment] .choice-text small { display: none; }
  .flow-choice input { left: 11px; width: 16px; height: 16px; }
  .flow-footer { padding: 13px 22px max(14px,env(safe-area-inset-bottom)); }
  .flow-nav { gap: 10px; }
  .flow-nav .button { font-size: 14px; padding: 12px 16px; min-height: 48px; }
  .flow-back { min-width: 80px; }
  .flow-hint { display: none; }
  .flow-next, .flow-submit { min-width: 140px; }
  .flow-chips .flow-choice-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .flow-chips .choice-text { padding: 10px 2px; min-height: 44px; }
  .flow-conditional { padding-left: 12px; }
  .review-group dl { grid-template-columns: 1fr; }
  .flow-complete { padding: 32px 22px; }
  .quick-form { padding: 22px; }
}
@media (max-width:350px) {
  .flow-header { padding-inline: 16px; }
  .flow-track { margin-inline: -16px; }
  .flow-content { padding-inline: 16px; }
  .flow-footer { padding-inline: 16px; }
  .flow-choice-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion:reduce) {
  .flow-track span, .choice-text { transition: none; }
}
/* Compact, searchable multi-selects and short review rows. */
.flow-picker { position: relative; }
.flow-picker legend { margin-bottom: 9px; }
.flow-picker details { clear: both; position: relative; }
.flow-picker details > summary { display: flex; align-items: center; gap: 10px; min-height: 52px; width: 100%; padding: 11px 15px; border: 1px solid #b4aaa2; border-radius: 9px; background: #fff; cursor: pointer; list-style: none; font-size: 15px; }
.flow-picker details > summary::-webkit-details-marker { display: none; }
.flow-picker details[open] > summary { border-color: var(--orange); border-radius: 9px 9px 0 0; box-shadow: inset 0 0 0 1px var(--orange); }
.picker-placeholder { color: var(--soft); }
.picker-selected { display: block; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-chevron { margin-left: auto; font-size: 22px; line-height: 1; color: var(--orange); }
.flow-picker details[open] .picker-chevron { transform: rotate(180deg); }
.picker-panel { padding: 10px; border: 1px solid var(--orange); border-top: 0; border-radius: 0 0 9px 9px; background: #fff; box-shadow: 0 14px 26px rgba(45,30,23,.1); }
.picker-search-label { display: block; margin-bottom: 8px; }
.picker-search { display: block; width: 100%; min-height: 42px; padding: 8px 11px; border: 1px solid var(--rule); border-radius: 7px; background: #fff; font-size: 14px; }
.picker-options { max-height: 210px; overflow-y: auto; display: grid; gap: 3px; }
.picker-option { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: 14px; line-height: 1.3; }
.picker-option:hover, .picker-option:has(input:checked) { background: #fff0e5; }
.picker-option input { width: 17px; height: 17px; margin: 0; flex: 0 0 auto; accent-color: var(--orange); }
.picker-empty { font-size: 13px; color: var(--soft); padding: 10px; }
.flow-picker[aria-invalid=true] details > summary { border-color: #a02020; }
.flow-extra { border-top: 1px solid var(--rule); padding-top: 14px; }
.flow-extra > summary { color: var(--orange); font-size: 13px; font-weight: 620; cursor: pointer; }
.flow-extra > div { display: grid; gap: 14px; margin-top: 16px; }
.flow-fine { color: var(--soft); font-size: 12px; line-height: 1.5; }
.flow-timezone { width: min(270px,100%); }
.flow-timezone p { color: var(--soft); font-size: 11px; line-height: 1.4; margin-top: 7px; }
.flow-timezone select { width: 100%; }
.flow-step[data-step=availability] .flow-extra { border: 1px solid var(--rule); border-radius: 12px; padding: 16px 18px; background: #fff; }
.flow-step[data-step=availability] .flow-extra > summary { color: var(--ink); font-size: 14px; font-weight: 650; }
.flow-step[data-step=availability] .flow-extra > div { margin-top: 18px; }
.flow-hours { display: grid; gap: 12px; }
.flow-hour-field > input[type=time] { display: block; width: 100%; min-width: 0; min-height: 56px; margin-top: 8px; padding: 10px 13px; border: 1px solid #b4aaa2; border-radius: 9px; background: var(--paper); color: var(--ink); font-size: 17px; font-variant-numeric: tabular-nums; color-scheme: light; }
.flow-hour-field > input[type=time]:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.flow-hour-field > input[type=time]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .7; }
@media(max-width:420px) { .flow-hours .flow-input-row { grid-template-columns: 1fr; } }
.flow-review .flow-summary { gap: 0; border: 1px solid var(--rule); border-radius: 11px; background: #fff; overflow: hidden; }
.flow-review .review-group { border: 0; border-radius: 0; border-bottom: 1px solid var(--rule); padding: 11px 16px; }
.flow-review .review-group:last-child { border-bottom: 0; }
.flow-review .review-heading { border: 0; background: none; padding: 0; }
.flow-review .review-heading h4 { font-size: 13px; }
.flow-review .review-preview { font-size: 12px; color: var(--soft); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.flow-review .review-edit { font-size: 12px; padding: 1px 3px; }
.flow-review .review-details summary { font-size: 11px; color: var(--orange); cursor: pointer; display: inline-block; }
.flow-review .review-details:not([open]) { margin-top: 1px; }
.flow-review .review-details dl { padding: 12px 0 2px; }
.flow-review .review-details dl > div { padding: 0; }
.flow-review .review-details dt { font-size: 11px; }
.flow-review .review-details dd { font-size: 12px; }
@media(max-width:700px) {
  .flow-picker details > summary { min-height: 50px; font-size: 14px; }
  .flow-review .review-group { padding: 10px 13px; }
  .flow-review .review-details dl { grid-template-columns: 1fr; }
}
.flow-choices:has(legend.sr-only) .flow-choice-grid { clear: both; }
.flow-tags { display: grid; gap: 7px; }
.flow-tags > label { font-size: 14px; font-weight: 620; }
.flow-tags > label small { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--soft); }
.tag-help { font-size: 12px; color: var(--soft); }
.tag-items { display: flex; gap: 7px; flex-wrap: wrap; }
.tag-items:empty { display: none; }
.tag-chip { display: inline-flex; align-items: center; max-width: 100%; gap: 8px; padding: 5px 6px 5px 11px; border: 1px solid #dca67c; border-radius: 20px; background: #fff0e5; color: var(--ink); font-size: 12px; line-height: 1.25; overflow-wrap: anywhere; }
.tag-remove { display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 auto; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--orange); font-size: 19px; line-height: 1; }
.tag-remove:hover { background: #f7d5bb; }
.tag-controls { display: flex; gap: 8px; }
.tag-draft { flex: 1; min-width: 0; min-height: 50px; padding: 10px 13px; border: 1px solid #b4aaa2; border-radius: 9px; background: #fff; color: var(--ink); font-size: 15px; }
.tag-add { min-width: 66px; padding: 8px 14px; border: 1px solid var(--orange); border-radius: 9px; background: #fff; color: var(--orange); font-size: 13px; font-weight: 650; }
.tag-add:hover { background: #fff0e5; }
.flow-review .review-group { padding: 8px 13px; }
.flow-review .review-heading h4 { font-size: 12px; }
.flow-review .review-preview { margin-top: 2px; }
.review-full { margin-top: 12px; }
.review-full > summary { color: var(--orange); font-size: 12px; font-weight: 620; cursor: pointer; }
.review-full dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 16px; padding: 15px 0; margin: 0; }
.review-full dl > div { min-width: 0; }
.review-full dt { color: var(--soft); font-size: 11px; font-weight: 620; }
.review-full dd { margin: 3px 0 0; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
@media(max-width:700px) {
  .flow-review .review-group { padding: 8px 12px; }
  .review-full dl { grid-template-columns: 1fr; }
}
