.flow-settings-mode {padding-bottom:0}
.flow-settings-mode .settings-layout {display:block}
.flow-settings-mode .settings-body {max-width:none}
.flow-settings-mode .settings-navigation {display:flex;flex-direction:row;position:static;height:auto;max-height:none;gap:4px;overflow:auto;border-bottom:1px solid #e4e8ee;padding-bottom:8px;margin-bottom:8px}
.flow-settings-mode .settings-navigation button {white-space:nowrap;padding:9px 12px;flex-shrink:0}
.flow-settings-mode .settings-navigation small {display:none}
.flow-settings-mode>.page-heading {margin:0 0 12px}
.flow-settings-mode>.page-heading h1 {font-size:20px;margin:0}
.flow-settings-mode>.page-heading p,.flow-settings-mode #page-automation>.page-heading {display:none}
.flow-workspace-tabs {display:flex;gap:24px;margin:0 0 12px;border-bottom:1px solid #e3e7ef}
.flow-workspace-tabs button {border:0;border-radius:0;background:transparent;padding:12px 2px;color:#758095;font-weight:600;border-bottom:2px solid transparent}
.flow-workspace-tabs button[aria-pressed=true] {color:#315bef;border-bottom-color:#315bef}
.settings-body .flow-editor-form {padding:0;border:1px solid #e0e5ee;overflow:clip;border-radius:12px;background:#fff}
.flow-editor-form>.section-heading {padding:18px 24px;margin:0;border-bottom:1px solid #e5e9ef;display:flex;gap:16px;align-items:center}
.flow-editor-form>.section-heading>div {margin-right:auto}
.flow-editor-form>.section-heading h2 {font-size:18px}
.flow-editor-form>.section-heading p {font-size:12px;margin:4px 0 0}
.flow-editor-form>.section-heading .toggle-label {font-size:12px;white-space:nowrap}
.flow-preview-button {font-size:12px}
.flow-two-steps {display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.6fr);align-items:start;gap:24px;padding:24px;background:#f8fafd}
.flow-step-card {min-width:0;border:1px solid #e0e6ef;background:#fff;border-radius:12px;padding:20px}
.flow-step-heading {display:flex;align-items:center;gap:12px;margin-bottom:20px}
.flow-step-heading>span {display:grid;place-items:center;flex:none;width:34px;height:34px;background:#edf2ff;color:#315bef;border-radius:10px;font-size:15px;font-weight:700}
.flow-greeting-step .flow-step-heading>span {background:#e7f5ef;color:#218566}
.flow-step-heading h3 {font-size:16px;color:#263956;margin:0 0 5px}
.flow-step-heading p {font-size:12px;line-height:1.5;color:#7d8b9f;margin:0}
.flow-step-heading>small {margin-left:auto;font-size:11px;color:#8793a5;white-space:nowrap}
.flow-step-card label {font-size:12px;color:#586b85}
.flow-step-card input,.flow-step-card select,.flow-step-card textarea {font-size:13px;padding:10px;border-color:#dfe5ef;min-width:0}
.flow-greeting-step textarea {min-height:160px;resize:vertical}
.flow-greeting-step .menu-format {margin-top:16px}
.flow-greeting-step>.muted {font-size:12px;line-height:1.6;margin-bottom:0}
.flow-choice-actions {display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.flow-choice-actions button {font-size:12px}
.flow-choice-actions #addFlowOption {margin-left:auto;color:#315bef;background:#f5f8ff;border-color:#dbe4fd}
.settings-body .flow-two-steps .specialty-option {display:block;padding:0;border:1px solid #e2e7f0;border-radius:10px;margin-bottom:8px;overflow:hidden}
.settings-body .flow-two-steps .specialty-option.is-editing {border-color:#9fb6f4;box-shadow:0 0 0 2px #315bef08}
.settings-body .flow-two-steps .flow-option-toggle {margin:0;display:flex;align-items:center;gap:10px;width:100%;padding:14px;border:0;border-radius:0;background:#fff;text-align:left;color:#263956}
.settings-body .flow-two-steps .flow-option-toggle:hover,.settings-body .flow-two-steps .is-editing>.flow-option-toggle {background:#f5f8ff}
.flow-option-number {display:grid;place-items:center;width:27px;height:27px;flex:none;border:1px solid #e0e7f5;border-radius:8px;background:#f5f8ff;color:#5577c6;font-size:12px}
.flow-option-summary {display:grid;gap:4px;min-width:0;flex:1}
.flow-option-summary strong {font-size:13px;font-weight:600;overflow-wrap:anywhere}
.flow-option-summary small {font-size:11px;line-height:1.45;color:#7a8ba4;overflow-wrap:anywhere}
.flow-option-state {font-size:10px;color:#29846b;background:#eaf6f0;border-radius:6px;padding:4px 6px;white-space:nowrap}
.flow-option-state.pending {color:#9b742c;background:#fff5e3}
.flow-option-chevron {color:#879ab7;font-size:18px;transition:transform .15s}
.is-editing .flow-option-chevron {transform:rotate(180deg)}
.flow-option-fields {display:grid;grid-template-columns:45px minmax(0,1fr) 28px;gap:14px;padding:18px;border-top:1px solid #e6ecf7}
.flow-option-fields label {margin:0}
.flow-option-fields>[data-removeflow] {align-self:end;height:38px;padding:0}
.settings-body .flow-two-steps .flow-dest {grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.flow-specialty-field {display:grid;gap:6px;min-width:0}
.flow-catalog-actions {display:flex;flex-wrap:wrap;gap:6px}
.flow-catalog-actions button {font-size:11px;padding:5px 7px;color:#315bef;background:#f5f8ff;border:1px solid #e1e8fa}
.flow-option-fields .flow-coverage {padding:12px;border:1px solid #e4e9f2;border-radius:8px}
.flow-option-fields .flow-coverage legend {font-size:12px}
.flow-option-fields .flow-coverage>p {font-size:11px;line-height:1.6}
.flow-option-fields .flow-assignment-hint {border-radius:6px;padding:9px;background:#fff6e7;color:#986b20;margin:10px 0 0}
.flow-coverage-note {font-size:11px;line-height:1.65;color:#8090a5;margin:16px 0 0}
.flow-editor-footer {position:sticky;bottom:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 24px;border-top:1px solid #e4e8ef;background:#fff}
.flow-editor-footer p {font-size:11px;margin:0;line-height:1.5}
.flow-editor-footer .dialog-actions {margin:0;padding:0;border:0}
.flow-editor-footer button {font-size:12px;white-space:nowrap}
.flow-editor-form>.flow-reminders {padding:24px;margin:0;border:0}
.flow-hours-inactive,.flow-form-inactive {display:none!important}
.flow-preview-dialog {width:min(420px,calc(100vw - 32px));padding:22px;border-radius:16px}
.flow-preview-dialog .flow-phone {margin-top:20px}
.flow-preview-dialog .flow-phone-head {background:#087c66;color:#fff}
.flow-preview-dialog .flow-phone-head span {color:#c6e8de}
.flow-preview-dialog .flow-bubble {white-space:pre-wrap}
.flow-two-steps [hidden],.flow-two-steps[hidden],.flow-reminders[hidden] {display:none!important}
@media(max-width:1100px) {
 .flow-two-steps {grid-template-columns:1fr;gap:16px}
 .flow-greeting-step textarea {min-height:100px}
}
@media(max-width:750px) {
 .flow-settings-mode .settings-navigation button {font-size:11px}
 .flow-settings-mode>.page-heading h1 {font-size:19px}
 .flow-workspace-tabs {gap:16px}
 .flow-workspace-tabs button {font-size:11px}
 .flow-editor-form>.section-heading {padding:14px;flex-wrap:wrap;gap:12px}
 .flow-editor-form>.section-heading>div {width:100%}
 .flow-editor-form>.section-heading h2 {font-size:16px}
 .flow-two-steps {padding:12px}
 .flow-step-card {padding:14px}
 .flow-step-heading {flex-wrap:wrap;gap:10px}
 .flow-step-heading h3 {font-size:14px}
 .flow-step-heading>div {flex:1;min-width:0}
 .flow-step-heading>small {margin-left:44px;width:100%}
 .settings-body .flow-two-steps .flow-option-toggle {margin:0;padding:12px;gap:8px;flex-wrap:wrap}
 .flow-option-state {margin-left:35px;order:4}
 .flow-option-fields {padding:14px;gap:12px}
 .settings-body .flow-two-steps .flow-dest {grid-template-columns:1fr}
 .flow-choice-actions {display:grid}
 .flow-choice-actions #addFlowOption {margin:0}
 .flow-editor-footer {padding:14px;align-items:flex-start;flex-direction:column}
 .flow-editor-footer .dialog-actions,.flow-editor-footer button {width:100%}
 .flow-editor-form>.flow-reminders {padding:18px}
}
