.flow-showing { overflow: hidden; }
.flow-dialog {
  --flow-ink: #22252a;
  --flow-accent: #315bd6;
  --flow-line: #e5e7eb;
  --flow-muted: #737780;
  box-sizing: border-box;
  color: var(--flow-ink);
  color-scheme: light;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 48px #0000001a;
  padding: 36px;
  margin: auto;
  width: min(510px, calc(100% - 32px));
  max-width: none;
  max-height: min(86vh, 760px);
  max-height: min(86dvh, 760px);
  overflow-y: auto;
  overscroll-behavior: contain;
  font: inherit;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.flow-dialog::backdrop { background: rgb(18 24 38 / 45%); }
.flow-dialog *, .flow-dialog *::before, .flow-dialog *::after { box-sizing: border-box; }
.flow-section { display: grid; gap: 24px; }
.flow-head { position: static; display: block; width: auto; max-width: none; height: auto; padding: 0 24px 0 0; margin: 0; background: none; border: 0; box-shadow: none; }
.flow-head h2 { color: var(--flow-ink); margin: 5px 0 8px; font: inherit; font-size: clamp(24px, 4.3vw, 29px); font-weight: 650; line-height: 1.35; letter-spacing: -.02em; outline: none; }
.flow-head p, .flow-guide p { color: var(--flow-muted); margin: 0; font-size: 15px; line-height: 1.65; }
.flow-form { display: grid; gap: 20px; margin: 0; }
.flow-field-legend { padding: 0; margin-bottom: 10px; color: var(--flow-ink); font-size: 14px; line-height: 1.4; font-weight: 700; }
.flow-session-preferences { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.flow-session-preferences-recurring { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flow-session-preferences > [hidden] { display: none; }
.flow-form > .flow-shortcut { justify-self: start; margin-top: -8px; }
.flow-request-kind .flow-option-copy > span { white-space: normal; }
.flow-field { display: grid; gap: 8px; min-width: 0; }
.flow-field label { color: var(--flow-ink); font-size: 14px; line-height: 1.4; font-weight: 700; }
.flow-control {
  background: #fff;
  color: #22252a;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 14px;
  font: inherit;
  font-size: 16px;
  line-height: 1.55;
  border-color: #d7dbe2;
}
textarea.flow-control { resize: vertical; min-height: 105px; max-height: 230px; }
select.flow-control { appearance: auto; cursor: pointer; }
.flow-control::placeholder { color: #737780; }
.flow-control:focus { border-color: #315bd6; outline: 2px solid #c8d5f7; outline-offset: 2px; }
.flow-price { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(96px, 1fr); gap: 12px; }
.flow-btn {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
}
.flow-btn:focus-visible { outline: 3px solid #315bd6; outline-offset: 3px; }
.flow-btn:disabled { cursor: wait; opacity: .65; }
.flow-primary { color: #fff; background: var(--flow-accent); }
.flow-primary:hover { background: #2349b5; }
.flow-secondary { color: #50555e; background: #f7f8fa; border-color: var(--flow-line); }
.flow-secondary:hover, .flow-close:hover { background: #f0f2f5; }
.flow-close {
  position: absolute;
  top: 11px;
  right: 11px;
  height: 42px;
  width: 42px;
  min-height: 42px;
  padding: 0;
  color: #737780;
  background: transparent;
  border-radius: 50%;
  font-size: 29px;
  line-height: 1;
  font-weight: 400;
}
.flow-note { margin: 0; color: var(--flow-muted); font-size: 13px; line-height: 1.65; }
.flow-browse-action .flow-btn { width: 100%; min-height: 54px; font-size: 17px; }
.flow-request-list { display: grid; gap: 14px; min-width: 0; }
.flow-request-list > h3 { margin: 0; font-size: 17px; line-height: 1.5; }
.flow-list-feedback, .flow-session, .flow-save-error, .flow-record-feedback { display: grid; gap: 10px; }
.flow-list-feedback:empty, .flow-session:empty, .flow-save-error:empty, .flow-record-feedback:empty { display: none; }
.flow-request-list > p:empty { display: none; }
.flow-request-card > .flow-btn { min-height: 40px; padding: 9px 12px; margin-top: 14px; font-size: 13px; }
.flow-record-feedback:not(:empty) { margin-top: 12px; }
.flow-record-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.flow-record-actions:empty { display: none; }
.flow-record-actions .flow-btn { min-height: 40px; padding: 9px 12px; font-size: 13px; }
.flow-request-card > p[role="status"] { margin: 12px 0 0; font-size: 13px; }
.flow-example-list { display: grid; gap: 15px; }
.flow-records .flow-example-card { display: grid; grid-template-columns: 95px minmax(0, 1fr); padding: 0; overflow: hidden; }
.flow-example-art { display: grid; place-items: center; padding: 14px; background: #f2f4f7; }
.flow-example-art svg { width: 100%; height: auto; max-height: 100px; }
.flow-example-art-work { background: #edf1f6; }
.flow-example-art-creative { background: #f6f2ee; }
.flow-example-art-learning { background: #f0eef5; }
.flow-example-art-sports { background: #f0f3ee; }
.flow-example-art-music { background: #f5f1e9; }
.flow-example-art-living { background: #f1f2f4; }
.flow-example-art-carwash { background: #edf2f6; }
.flow-example-copy { padding: 17px 16px; min-width: 0; }
.flow-example-copy > .flow-tag { display: inline-block; }
.flow-example-copy h3 { font-size: 17px; font-weight: 650; line-height: 1.5; margin: 9px 0 7px; color: var(--flow-ink); }
.flow-records .flow-example-copy p { margin: 0; color: var(--flow-muted); font-size: 13px; line-height: 1.75; }
.flow-sharing { display: flex; gap: 11px; align-items: flex-start; padding: 16px; background: #f7f8fa; border: 1px solid #e5e7eb; border-radius: 12px; cursor: pointer; }
.flow-sharing input { accent-color: #315bd6; width: 18px; height: 18px; flex: 0 0 18px; margin: 3px 0 0; }
.flow-sharing > span { display: grid; gap: 7px; }
.flow-sharing strong { color: var(--flow-ink); font-size: 15px; line-height: 1.5; }
.flow-sharing span > span { color: var(--flow-muted); font-size: 13px; line-height: 1.65; }
.flow-sharing:has(input:focus-visible) { outline: 3px solid #315bd6; outline-offset: 3px; }
.flow-actions { display: grid; grid-template-columns: 1fr 1.7fr; gap: 10px; }
.flow-review, .flow-empty { background: #f7f8fa; border-radius: 12px; padding: 17px; }
.flow-review p, .flow-records li p { color: var(--flow-ink); margin: 0 0 9px; line-height: 1.6; font-size: 15px; white-space: pre-wrap; word-break: normal; overflow-wrap: anywhere; }
.flow-review strong, .flow-records li strong { font-weight: 700; color: #22252a; font-size: 14px; }
.flow-empty { margin: 0; color: var(--flow-muted); line-height: 1.6; text-align: center; }
.flow-error { margin: 0; color: #973b2b; line-height: 1.65; font-size: 14px; }
.flow-records, .flow-guide { display: grid; list-style: none; margin: 0; padding: 0; }
.flow-records { gap: 12px; }
.flow-records li { padding: 16px; border: 1px solid var(--flow-line); border-radius: 12px; }
.flow-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.flow-meta time { color: var(--flow-muted); font-size: 12px; }
.flow-meta { align-items: flex-start; }
.flow-meta time { flex-shrink: 0; padding-top: 4px; }
.flow-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.flow-tag { background: #f7f8fa; color: #22252a; padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.flow-status { background: #e3f3e7; color: #216b43; }
.flow-status-closed { background: #edf0ee; color: #606d65; }
.flow-guide { gap: 22px; counter-reset: guide; }
.flow-guide li { counter-increment: guide; position: relative; padding-left: 44px; }
.flow-guide li::before { content: counter(guide); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f2f5fc; color: #315bd6; font-size: 14px; font-weight: 650; }
.flow-guide strong { display: block; margin: 1px 0 4px; color: var(--flow-ink); font-size: 16px; }
.flow-progress { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-top: 3px; padding-right: 42px; color: var(--flow-accent); font-size: 12px; font-weight: 700; }
.flow-progress progress { appearance: none; grid-column: 1 / -1; width: 100%; height: 4px; overflow: hidden; border: 0; border-radius: 5px; background: #f0f2f5; }
.flow-progress progress::-webkit-progress-bar { background: #f0f2f5; border-radius: 5px; }
.flow-progress progress::-webkit-progress-value { background: #315bd6; border-radius: 5px; }
.flow-progress progress::-moz-progress-bar { background: #315bd6; border-radius: 5px; }
.flow-progress + .flow-head { margin-top: -8px; }
.flow-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.flow-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; border: 0; padding: 0; margin: 0; min-width: 0; }
.flow-option { display: flex; align-items: flex-start; gap: 9px; min-width: 0; cursor: pointer; border: 1px solid #e5e7eb; background: #fff; border-radius: 12px; padding: 18px 13px; transition: border-color .15s, background .15s; }
.flow-option:hover { background: #f7f8fa; border-color: #b6bdc8; }
.flow-option:has(input:checked) { background: #f4f6fd; border-color: #315bd6; box-shadow: inset 0 0 0 .5px #315bd6; }
.flow-option:has(input:focus-visible) { outline: 3px solid #315bd6; outline-offset: 3px; }
.flow-option input { appearance: auto; accent-color: #315bd6; flex: 0 0 17px; width: 17px; height: 17px; margin: 3px 0 0; padding: 0; cursor: pointer; }
.flow-option input:focus-visible { outline: none; }
.flow-option-copy { display: grid; gap: 5px; min-width: 0; }
.flow-option-copy strong { font-size: 15px; font-weight: 650; line-height: 1.5; }
.flow-option-copy > span { font-size: 12px; color: #50555e; white-space: nowrap; line-height: 1.5; letter-spacing: -.02em; }
.flow-options-start { grid-template-columns: 1fr; }
.flow-options-start .flow-option { align-items: center; padding-block: 17px; }
.flow-options-start input { margin-top: 0; }
.flow-options-days { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.flow-options-days .flow-option { position: relative; display: grid; place-items: center; padding: 13px 0; min-height: 49px; }
.flow-options-days input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.flow-options-days .flow-option-any { grid-column: 1 / -1; margin-top: 4px; }
.flow-options-days .flow-option-any .flow-option-copy { display: inline-flex; align-items: center; }
.flow-options-days .flow-option-any input { position: static; opacity: 1; width: 17px; height: 17px; }
.flow-options-days .flow-option-any { display: flex; align-items: center; justify-content: center; gap: 9px; }
.flow-quick { display: flex; gap: 8px; margin-bottom: -9px; }
.flow-shortcut { min-height: 37px; padding: 8px 16px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; color: #50555e; font-size: 13px; font-weight: 650; }
.flow-shortcut[aria-pressed="true"] { border-color: #a5b9f0; background: #f2f5fc; color: #315bd6; }
.flow-review-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: #50555e; font-size: 12px; font-weight: 650; }
.flow-edit { color: #315bd6; min-height: 30px; padding: 4px 5px; border-radius: 5px; font-size: 12px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.flow-edit:hover { background: #f0f2f5; }
.flow-schedule-review { margin: -6px 0 0; display: grid; border-bottom: 1px solid #e5e7eb; }
.flow-schedule-row { display: grid; grid-template-columns: 59px minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 12px 0; border-top: 1px solid #e5e7eb; }
.flow-schedule-row dt { color: #50555e; font-size: 12px; line-height: 1.7; padding-top: 4px; }
.flow-schedule-row dd { margin: 0; color: #22252a; font-size: 13px; font-weight: 650; line-height: 1.7; padding-top: 3px; }
.flow-record-schedule { margin: 13px 0 0; border-top: 1px solid #e5e7eb; padding-top: 9px; display: grid; gap: 5px; }
.flow-record-schedule > div { display: grid; grid-template-columns: 60px 1fr; gap: 8px; color: #50555e; font-size: 12px; line-height: 1.6; }
.flow-record-schedule dt { color: #737780; }
.flow-record-schedule dd { margin: 0; }
@media (max-width: 540px) {
  .flow-dialog { padding: 30px 21px 23px; width: calc(100% - 24px); border-radius: 12px; background: #fff; box-shadow: 0 12px 48px #0000001a; }
  .flow-section { gap: 19px; }
  .flow-price { gap: 8px; }
  .flow-option { padding: 15px 11px; gap: 8px; }
  .flow-options { gap: 9px; }
  .flow-options-days { gap: 5px; }
  .flow-schedule-row { grid-template-columns: 53px minmax(0, 1fr) auto; gap: 7px; }
  .flow-records .flow-example-card { grid-template-columns: 70px minmax(0, 1fr); }
  .flow-example-art { padding: 10px; background: #f2f4f7; }
  .flow-example-copy { padding: 15px 13px; }
  .flow-example-copy h3 { font-size: 16px; }
}
@media (max-width: 360px) {
  .flow-options-times { grid-template-columns: 1fr; }
  .flow-options-times .flow-option-copy { display: flex; align-items: center; gap: 10px; }
  .flow-options-times .flow-option { padding-block: 12px; }
  .flow-option-copy strong { font-size: 14px; }
}
.flow-meeting-picker { margin: 3px 0 4px; }
.flow-form .flow-meeting-picker .sa-label { font-size: 14px; }
.flow-form .flow-meeting-picker .sa-hint { font-size: 12px; }
.flow-records .flow-request-card .flow-meeting-summary { color: #50555e; font-size: 13px; font-weight: 650; margin: 10px 0; }
