/* FLOW BUILDER - js/flow.js. One picture per kind of work: the steps as
   cards left to right, the rules as a lane beneath, the people beside.
   Loaded after org.css and reuses its buttons and notes; everything of
   its own is fl- prefixed. */

body.ui-next #flowScreen .admin-page-inner { max-width: none; padding: 32px 48px 60px; }
#flowScreen .admin-page-head { margin-bottom: 14px; }

.fl-note { font-size: 13.5px; line-height: 1.55; opacity: .62; margin: 0 0 10px; }
.fl-note-sm { font-size: 12px; margin: 6px 0 0; }
.fl-err { color: #e0a08a; font-size: 13px; line-height: 1.5; margin: 6px 0 0; }
.fl-warn { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: #d9a273; }
.fl-empty { max-width: 520px; padding: 28px 0; }
.fl-empty h2 { margin: 0 0 8px; font-size: 22px; }
.fl-empty p { opacity: .7; line-height: 1.55; }
.fl-link {
  font: inherit; font-size: 12.5px; color: inherit; opacity: .7; cursor: pointer;
  background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px;
}
.fl-link:hover { opacity: 1; }

/* ---- which kind ---- */
.fl-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.fl-tab {
  font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; color: inherit;
  padding: 9px 15px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  display: inline-flex; align-items: center; gap: 7px;
}
.fl-tab i { font-style: normal; font-size: 11px; opacity: .55; padding: 1px 6px; border-radius: 999px; background: rgba(255,255,255,.1); }
.fl-tab.is-on { background: rgba(255,255,255,.92); color: #14161c; border-color: transparent; }
.fl-tab.is-on i { background: rgba(0,0,0,.1); opacity: .8; }
.fl-tab-new { opacity: .7; border-style: dashed; }

/* ---- two columns on a desk, one on a phone ---- */
.fl-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
@media (max-width: 1100px) { .fl-cols { grid-template-columns: minmax(0, 1fr); } }
.fl-main { min-width: 0; }

/* ---- the canvas: start, the steps, end - one column, read top to bottom ---- */
.fl-main > .fl-canvas, .fl-main > .fl-lane { max-width: 640px; margin-left: auto; margin-right: auto; }
.fl-canvas { display: flex; flex-direction: column; align-items: stretch; padding: 6px 0 4px; margin-bottom: 16px; }
.fl-node, .fl-step { border-radius: 14px; }
/* the two ends: one row each */
.fl-node {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.2);
}
.fl-node-k { margin: 0; flex: none; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .5; width: 34px; }
.fl-node-t { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fl-node h3 { margin: 0; font-size: 15px; }
.fl-node-s { margin: 0; font-size: 12px; opacity: .65; }
.fl-node-s b { opacity: 1; }
.fl-node .fl-link { flex: none; font-size: 12px; }
.fl-end { border-color: rgba(120,200,140,.4); }

/* the joins: a short line down, with a "+" on it, because between two
   steps is exactly where a new one goes */
.fl-plus {
  flex: none; align-self: center; position: relative; cursor: pointer;
  width: 40px; height: 34px; margin: 0;
  font: inherit; font-size: 16px; font-weight: 700; color: inherit;
  background: none; border: 0; padding: 0; opacity: .55;
}
.fl-plus::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px;
  background: rgba(255,255,255,.3);
}
.fl-plus::after {
  content: "+"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 22px; height: 22px; line-height: 20px; text-align: center; border-radius: 50%;
  background: #1d2028; border: 1px solid rgba(255,255,255,.3);
}
.fl-plus.is-off::after { content: "\2193"; border: 0; background: none; }
.fl-plus:not(.is-off):hover { opacity: 1; }
.fl-plus:not(.is-off):hover::after { background: rgba(255,255,255,.92); color: #14161c; }

/* ---- a step ---- */
.fl-step {
  width: 100%; box-sizing: border-box; padding: 10px 14px 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  transition: box-shadow .16s ease, border-color .16s ease, opacity .16s ease;
}
.fl-step.gap { border-color: rgba(208,138,78,.5); }
.fl-step.bad { border-color: rgba(226,90,70,.6); }
.fl-step.is-drag { opacity: .45; }
.fl-step.is-over { border-color: rgba(255,255,255,.7); box-shadow: 0 0 0 3px rgba(255,255,255,.18), 0 10px 28px rgba(0,0,0,.25); }
/* one head row: the grip, the number, the name, the three small actions */
.fl-step-head { display: flex; align-items: center; gap: 6px 8px; margin-bottom: 6px; }
.fl-grip { cursor: grab; opacity: .4; font-size: 14px; letter-spacing: -3px; user-select: none; }
.fl-step:active .fl-grip { cursor: grabbing; }
.fl-n {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 700;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14);
}
.fl-name {
  flex: 1 1 120px; min-width: 0; font: inherit; font-size: 15px; font-weight: 600; color: inherit;
  background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.14); border-radius: 0;
  padding: 4px 2px; min-height: 0;
}
/* the iOS layer restyles every text input; the name is a line on the card, not a field */
body.ui-next .fl-name { background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.14); border-radius: 0; padding: 4px 2px; min-height: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: 15px; }
body.ui-next .fl-name:focus-visible { border-bottom-color: rgba(255,255,255,.7); }
.fl-name::placeholder { font-weight: 400; opacity: .5; }
.fl-name:focus-visible { outline: 0; border-bottom-color: rgba(255,255,255,.7); }
.fl-step-acts { display: flex; gap: 2px; flex: none; margin-left: auto; }
.fl-ic {
  font: inherit; font-size: 15px; line-height: 1; color: inherit; cursor: pointer;
  width: 24px; height: 24px; border-radius: 7px; padding: 0;
  background: none; border: 1px solid transparent; opacity: .6;
}
.fl-ic:hover:not(:disabled) { opacity: 1; background: rgba(255,255,255,.1); }
.fl-ic:disabled { opacity: .2; cursor: default; }
.fl-ic-x:hover:not(:disabled) { background: rgba(226,90,70,.22); }
.fl-ic.is-armed { opacity: 1; width: auto; padding: 0 8px; font-size: 12px; background: rgba(226,90,70,.25); }

.fl-lbl { margin: 8px 0 5px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .5; }
.fl-lbl i { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .8; }
.fl-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.fl-chip {
  font: inherit; font-size: 12.5px; font-weight: 600; color: inherit; cursor: pointer;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  display: inline-flex; align-items: center; gap: 5px;
}
.fl-chip i { font-style: normal; font-size: 10.5px; opacity: .5; }
.fl-chip.is-on { background: rgba(255,255,255,.92); color: #14161c; border-color: transparent; }
.fl-chip.is-on i { opacity: .7; }
.fl-chip:disabled { cursor: default; }
.fl-chips-sm .fl-chip { font-size: 11.5px; padding: 4px 9px; }

.fl-people {
  margin-top: 8px; padding: 8px 10px 9px; border-radius: 10px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
}
.fl-people.is-gap { border-color: rgba(208,138,78,.35); }
.fl-people .fl-lbl { margin-top: 0; }
.fl-av {
  font: inherit; font-size: 12.5px; color: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; margin: 0 6px 6px 0;
  padding: 3px 9px 3px 3px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.fl-av b, .fl-av-b {
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 700; background: rgba(255,255,255,.14);
}
.fl-av.is-on { background: rgba(120,200,140,.22); border-color: rgba(120,200,140,.5); }
.fl-av.is-on b { background: rgba(120,200,140,.5); }

.fl-opts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 8px; }
.fl-opt > span:first-child, .fl-opt > .fl-lbl { display: block; margin: 0 0 4px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .5; }
.fl-days { display: flex; align-items: center; gap: 7px; }
.fl-days input { width: 84px; font-size: 13px; padding: 6px 9px; border-radius: 8px; min-height: 0; }
.fl-days em { font-style: normal; font-size: 12.5px; opacity: .6; }

.fl-none { padding: 14px 4px; }
.fl-none p { margin: 0 0 10px; font-size: 14px; opacity: .75; line-height: 1.5; }
.fl-starts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fl-starts > span { flex: 1 1 100%; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .5; }
.fl-start-btn {
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: inherit;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
}
.fl-start-btn:hover { background: rgba(255,255,255,.14); }

/* ---- the rules lane ---- */
.fl-lane, .fl-side {
  padding: 16px 18px; border-radius: 16px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
}
.fl-lane-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 10px; }
.fl-lane-head h4 { margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.fl-lane-head .fl-note { margin: 0; flex: 1 1 200px; }
.fl-lane-head .org-btn-sm { margin-left: auto; }
.fl-rule-w { opacity: .6; }

/* ---- people & roles ---- */
/* the panel keeps to the window: it sticks, and past the window's height
   it scrolls inside itself rather than running down the page */
.fl-side {
  position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.22) transparent;
}
.fl-side::-webkit-scrollbar { width: 5px; }
.fl-side::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); border-radius: 999px; }
@media (max-width: 1100px) { .fl-side { position: static; margin-top: 16px; max-height: none; } }
.fl-find { display: block; margin: 0 0 10px; }
.fl-find input[type=search] {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 13px; color: inherit;
  padding: 8px 12px; border-radius: 10px; min-height: 0;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  -webkit-appearance: none; appearance: none;
}
.fl-find input::placeholder { color: inherit; opacity: .45; }
.fl-find input:focus { outline: none; border-color: rgba(255,255,255,.35); }
.fl-roles { border-top: 1px solid rgba(255,255,255,.08); }

.fl-role { border-bottom: 1px solid rgba(255,255,255,.08); }
.fl-role-head {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 4px 10px 2px; cursor: pointer; list-style: none; user-select: none; border-radius: 8px;
  white-space: nowrap;
}
.fl-role-head::-webkit-details-marker { display: none; }
.fl-role-head:hover { background: rgba(255,255,255,.03); }
.fl-role-caret {
  width: 0; height: 0; flex: none; opacity: .5;
  border-left: 5px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  transition: transform .2s ease;
}
.fl-role[open] > .fl-role-head .fl-role-caret { transform: rotate(90deg); }
.fl-role-t { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; overflow: hidden; }
.fl-role-t b { font-size: 14px; flex: none; }
.fl-role-n { font-size: 11.5px; opacity: .55; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fl-role-edit {
  flex: none; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; color: inherit;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); opacity: .75;
}
.fl-role-edit svg { width: 13px; height: 13px; }
.fl-role-edit:hover { opacity: 1; background: rgba(255,255,255,.12); }
.fl-role.is-gap .fl-role-t b, .fl-role.is-gap .fl-role-n { color: #d9a273; }
.fl-role-body { padding: 0 0 8px 16px; }
.fl-role-body > .fl-note { margin: 0 0 4px; }
.fl-person {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 7px; border-radius: 10px; margin-bottom: 4px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  font-size: 13.5px;
}
.fl-person[draggable=true] { cursor: grab; }
.fl-person.is-drag { opacity: .5; }
.fl-person > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-person-role { font-size: 12px; padding: 4px 24px 4px 8px; border-radius: 7px; min-height: 0; width: auto; flex: none;
  background-position: calc(100% - 14px) 11px, calc(100% - 9px) 11px; }
.fl-side-acts { margin-top: 14px; }

/* the iOS layer sizes every field for a sheet; on a card they are small controls */
body.ui-next :is(.fl-days input, .fl-choice-in, .fl-route input[type=text], .fl-route select, .fl-person-role, .fl-find input) {
  min-height: 0; font-size: 12.5px; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
}
body.ui-next .fl-days input { padding: 6px 9px; border-radius: 8px; width: 84px; }
body.ui-next .fl-choice-in { padding: 5px 10px; border-radius: 999px; width: 130px; }
body.ui-next :is(.fl-route input[type=text], .fl-route select) { padding: 5px 9px; border-radius: 7px; }
body.ui-next .fl-route input[type=text] { width: 90px; }
body.ui-next .fl-find input { padding: 8px 12px; border-radius: 10px; font-size: 13px; }

/* ---- the bar ---- */
.fl-bar {
  position: sticky; bottom: 0; z-index: 2; margin-top: 18px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(16,18,24,.96); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
}
.fl-sentence { margin: 0; flex: 1 1 320px; font-size: 13.5px; line-height: 1.5; }
.fl-bar #flErr { flex: 1 1 100%; }
.fl-bar #flErr:empty { display: none; }
.fl-bar-acts { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.fl-state { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .5; }
.fl-state.is-dirty { opacity: 1; color: #f0c27a; }
.fl-state.is-live { opacity: .85; color: #7fd6a4; text-transform: none; letter-spacing: 0; font-size: 12.5px; }

@media (max-width: 640px) {
  body.ui-next #flowScreen .admin-page-inner { padding: 24px 16px 60px; }
  .fl-node { flex-wrap: wrap; }
}

/* ---- steps that run together: side by side under a shared label ---- */
.fl-par {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start;
  padding: 10px; border-radius: 18px;
  background: rgba(255,255,255,.03); border: 1px dashed rgba(255,255,255,.22);
}
.fl-par-h { flex: 1 1 100%; margin: 0 0 0 6px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .55; }
.fl-par > .fl-step { flex: 1 1 240px; width: auto; }
.fl-plus-par {
  flex: 1 1 100%; width: auto; height: auto; margin: 0; padding: 7px 12px; align-self: center;
  font-size: 12px; border: 1px dashed rgba(255,255,255,.3); border-radius: 999px;
}
.fl-plus-par::before, .fl-plus-par::after { content: none; }
.fl-plus-par:hover { background: rgba(255,255,255,.1); }

/* ---- the summary line: what a step is, at a glance ---- */
.fl-sum {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%;
  margin: 2px 0 0; padding: 4px 0 2px 32px; cursor: pointer; text-align: left;
  font: inherit; color: inherit; background: none; border: 0;
}
.fl-sum:hover .fl-sum-caret { opacity: 1; }
.fl-sum-chip {
  font-size: 12px; padding: 4px 9px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); opacity: .85;
}
.fl-sum-chip.is-who { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.18); opacity: 1; font-weight: 600; }
.fl-sum-chip.is-warn { color: #d9a273; border-color: rgba(208,138,78,.45); background: rgba(208,138,78,.1); opacity: 1; font-weight: 600; }
.fl-sum-caret {
  margin-left: auto; width: 0; height: 0; opacity: .45;
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.fl-step.is-open .fl-sum-caret { transform: rotate(180deg); }
.fl-step.is-shut { padding-bottom: 9px; }
.fl-step.is-shut .fl-step-head { margin-bottom: 2px; }
.fl-step.is-open { border-color: rgba(255,255,255,.28); box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.fl-step-body { margin-top: 8px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.08); }
.fl-step.is-shut .fl-name { border-bottom-color: transparent; }
@media (max-width: 640px) { .fl-sum { padding-left: 0; } }

/* ---- rules: one sentence, one switch ---- */
.fl-rules { display: flex; flex-direction: column; }
.fl-rule {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 4px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px;
}
.fl-rule:first-child { border-top: 0; }
.fl-rule.is-off .fl-rule-t, .fl-rule.is-off .fl-rule-ico { opacity: .45; }
.fl-rule-ico { flex: none; width: 28px; height: 28px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.07); opacity: .85; }
.fl-rule-ico svg { width: 15px; height: 15px; }
.fl-rule-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fl-rule-t b { font-weight: 500; line-height: 1.4; }
.fl-rule-t small { font-size: 11.5px; opacity: .5; }
.fl-rule-edit {
  flex: none; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; color: inherit;
  padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
}
.fl-rule-edit:hover { background: rgba(255,255,255,.14); }
.fl-sw {
  flex: none; width: 36px; height: 22px; border-radius: 999px; padding: 0; cursor: pointer; position: relative;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); transition: background .2s ease;
}
.fl-sw i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; opacity: .8; transition: transform .2s ease; }
.fl-sw.is-on { background: #30D158; border-color: transparent; }
.fl-sw.is-on i { transform: translateX(14px); opacity: 1; }
.fl-sw:disabled { opacity: .5; cursor: default; }

/* the rule sheet */
.fr-preview { margin: 0 0 14px; padding: 10px 13px; border-radius: 12px; font-size: 14px; line-height: 1.5; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.fr-sub { margin: 8px 0 0 0; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.fr-sub .fl-lbl:first-child { margin-top: 0; }
.fr-msg, .fr-name { display: block; margin-top: 10px; }
.fr-msg > span, .fr-name > span { display: block; margin: 0 0 4px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .5; }
.fr-name { margin-top: 14px; }
#sheetBody .fl-lbl { margin-top: 14px; }
#sheetBody .fl-rule-if { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; padding: 0; background: none; border: 0; opacity: 1; }
body.ui-next #sheetBody :is(.fl-rule-if select, .fl-rule-if input[type=text]) { width: auto; max-width: 100%; min-height: 0; font-size: 13px; padding: 7px 10px; border-radius: 9px; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.ui-next #sheetBody .fl-rule-if select { padding-right: 26px; }
body.ui-next #sheetBody :is(#frMsg, #frName) { min-height: 0; font-size: 14px; padding: 10px 12px; border-radius: 10px; }

/* ---- after this step: choices, if-rules, together ---- */
.fl-after { margin-top: 10px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 6px; }
.fl-after > summary {
  cursor: pointer; list-style: none; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .6;
  padding: 4px 0; display: flex; align-items: center; gap: 6px;
}
.fl-after > summary::-webkit-details-marker { display: none; }
.fl-after > summary::before { content: "\25B8"; font-size: 11px; opacity: .7; }
.fl-after[open] > summary::before { content: "\25BE"; }
.fl-after > summary i { font-style: normal; text-transform: none; letter-spacing: 0; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.1); opacity: 1; }
.fl-after > summary:hover { opacity: 1; }
.fl-choices { align-items: center; }
.fl-choice { padding-right: 4px; }
.fl-choice-x {
  font: inherit; font-size: 13px; line-height: 1; cursor: pointer; color: inherit;
  width: 18px; height: 18px; border-radius: 50%; border: 0; background: rgba(0,0,0,.12); margin-left: 2px;
}
.fl-choice-x:hover { background: rgba(226,90,70,.5); color: #fff; }
.fl-choice-add { display: inline-flex; align-items: center; gap: 4px; }
.fl-choice-in { width: 120px; font-size: 12.5px; padding: 5px 9px; border-radius: 999px; min-height: 0; }
.fl-route {
  display: flex; flex-wrap: wrap; align-items: center; gap: 5px;
  padding: 7px 8px; border-radius: 9px; margin-bottom: 6px; font-size: 12.5px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.fl-route select, .fl-route input[type=text] { font-size: 12.5px; padding: 5px 9px; border-radius: 7px; min-height: 0; width: auto; max-width: 100%; }
.fl-route select { padding-right: 24px; background-position: calc(100% - 13px) 11px, calc(100% - 8px) 11px; }
.fl-route input[type=text] { width: 90px; }
.fl-route .fl-r-del { margin-left: auto; }
.fl-otherwise { margin: 2px 0 6px; font-size: 12.5px; opacity: .7; }
.fl-otherwise b { opacity: 1; }
.fl-together { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 12.5px; opacity: .8; cursor: pointer; }
.fl-together input { width: auto; margin: 0; }
