/* Flows: the page, the card under a finished task, and the rows (flows.js). */
.fl-page { max-width: 880px; margin: 0 auto; padding-bottom: 48px; }
.fl-list { display: flex; flex-direction: column; gap: 10px; }
.fl-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 14px 16px; }
.fl-main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.fl-main small { color: var(--stone); }
.fl-prompt { margin: 0; color: var(--stone); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.fl-acts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.fl-acts .btn svg { width: 14px; height: 14px; margin-inline-end: 4px; }
.fl-steps { margin: 4px 0 0; padding-inline-start: 20px; color: var(--stone); font-size: 13.5px; }
.fl-steps li { margin: 2px 0; overflow-wrap: anywhere; }
.fl-rename { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.fl-rename input, .fl-name input { flex: 1; min-width: 160px; font: inherit; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line, #d8dcd2); background: transparent; color: inherit; }
.fl-name { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; font-size: 12.5px; color: var(--stone); }
.fl-empty { display: flex; flex-direction: column; gap: 6px; padding: 18px; }
.fl-empty span { color: var(--stone); }
.fl-card h4 svg { width: 16px; height: 16px; vertical-align: -3px; margin-inline-end: 4px; }
@media (max-width: 700px) {
  .fl-row { flex-direction: column; }
  .fl-acts { justify-content: flex-start; }
}
.fl-sched { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; font-size: 13.5px; color: var(--ink2, inherit); }
.fl-sched svg { width: 14px; height: 14px; flex: none; }
.fl-sched.off { opacity: .75; }
.fl-pcnote { flex-basis: 100%; opacity: .75; }
.ps-sheet[data-sheet-id="schedule"] .w-field { display: flex; flex-direction: column; gap: 4px; margin: 10px 0; }
.ps-sheet[data-sheet-id="schedule"] .w-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ps-sheet[data-sheet-id="schedule"] input:not([type="checkbox"]):not([type="hidden"]), .ps-sheet[data-sheet-id="schedule"] select, .ps-sheet[data-sheet-id="schedule"] textarea { width: 100%; box-sizing: border-box; padding: 10px; border-radius: 10px; border: 1px solid var(--line, #ccc); font: inherit; }

/* Ready-made flows (item 6, flows.js). */
.fl-readyq { max-width: 360px; margin: 0 0 8px; }
.fl-readychips { margin-bottom: 10px; }

/* New flow, written by hand (owner 2026-12-03). */
.fl-new { display: flex; flex-direction: column; gap: 10px; padding: 18px; margin-bottom: 16px; }
.fl-new label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--stone); }
.fl-new input, .fl-new textarea { font: inherit; font-size: 14px; color: var(--graphite); padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper, #fff); resize: vertical; }
.fl-new input:focus, .fl-new textarea:focus { outline: none; border-color: var(--graphite); }
.fl-new-acts { display: flex; gap: 8px; }
.fl-page > .btn[data-action="flow-new"] { margin: 4px 0 12px; }
