/* Chuyen file 1 trang (conv-flow.js) 19/11/2026 — nam trong khung #imageDrag cua 4 tool, chu den tren nen trang */
.cf { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; text-align: left; color: #1f2a44; font-size: 14px; }
.cf:empty { display: none; }
.cf-jobs { display: flex; flex-direction: column; gap: 8px; }
.cf-jobs:empty { display: none; }
.cf-job, .cf-job * { box-sizing: border-box; }
.cf-job { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 4px 12px; align-items: center; background: #fff; border: 1px solid #e3e8f2; border-radius: 12px; padding: 10px 12px; box-shadow: 0 2px 10px rgba(31, 42, 68, .06); }
.cf-ic { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; letter-spacing: .02em; }
.cf-ic.w { background: #2b579a; } .cf-ic.x { background: #217346; }
.cf-mid { min-width: 0; }
.cf-nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-nm small { font-weight: 400; color: #6b7487; margin-left: 4px; }
.cf-st { color: #4a5568; font-size: 13px; margin-top: 2px; }
.cf-ok { color: #157347; font-weight: 600; }
.cf-bad { color: #c62828; }
.cf-bar { display: block; height: 5px; background: #e9edf5; border-radius: 3px; overflow: hidden; margin-top: 6px; }
.cf-bar b { display: block; height: 100%; background: #2563eb; border-radius: 3px; transition: width .2s; }
.cf-run b { width: 35%; animation: cf-run 1.4s ease-in-out infinite; }
@keyframes cf-run { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
@media (prefers-reduced-motion: reduce) { .cf-run b { animation: none; width: 100%; opacity: .5; } }
.cf-acts { grid-column: 2; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.cf-acts:empty { display: none; }
.cf-btn { border: 0; background: #2563eb; color: #fff; font: inherit; font-weight: 600; font-size: 14px; border-radius: 9px; padding: 8px 14px; cursor: pointer; white-space: nowrap; }
.cf-btn:hover { background: #1d4fd8; }
.cf-btn:disabled { opacity: .6; cursor: default; }
.cf-btn-o { background: #fff; color: #2563eb; box-shadow: inset 0 0 0 1.5px #2563eb; }
.cf-btn-o:hover { background: #eef3ff; }
.cf-btn:focus-visible, .cf-link:focus-visible, .cf-sw input:focus-visible + span { outline: 3px solid #93b4ff; outline-offset: 2px; }
.cf-link { border: 0; background: none; color: #2563eb; font: inherit; font-weight: 600; font-size: 13.5px; cursor: pointer; padding: 4px 2px; text-decoration: none; }
.cf-link:hover { text-decoration: underline; }
.cf-pv { grid-column: 1 / -1; margin-top: 6px; border-top: 1px dashed #e3e8f2; padding-top: 8px; max-height: 520px; overflow: auto; }
.cf-pv img { display: block; max-width: 100%; height: auto; border: 1px solid #e3e8f2; border-radius: 8px; margin: 0 auto; }
.cf-mute { color: #6b7487; font-size: 13px; margin: 6px 0 0; }
.cf-spin { width: 26px; height: 26px; border: 3px solid #dbe6ff; border-top-color: #2563eb; border-radius: 50%; animation: cf-r .8s linear infinite; margin: 10px auto; }
@keyframes cf-r { to { transform: rotate(360deg); } }
.cf-bulk { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cf-bulk[hidden], .cf-recent[hidden], .cf-dlg[hidden], .cf-bulk [hidden] { display: none !important; }
.cf-acct { background: #f6f8fc; border-radius: 10px; padding: 8px 12px; display: flex; flex-direction: column; gap: 2px; }
.cf-acct small { color: #4a5568; font-size: 13px; }
.cf-acct a { color: #2563eb; font-weight: 600; }
.cf-sw { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; margin: 0; }
.cf-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cf-sw span { width: 38px; height: 21px; border-radius: 11px; background: #c4cbd8; position: relative; flex: none; transition: background .15s; }
.cf-sw span:after { content: ''; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: left .15s; }
.cf-sw input:checked + span { background: #2563eb; }
.cf-sw input:checked + span:after { left: 20px; }
.cf-recent { background: #fff; border: 1px solid #e3e8f2; border-radius: 12px; padding: 10px 12px; }
.cf-rh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.cf-rh a { color: #2563eb; font-weight: 600; font-size: 13px; text-decoration: none; }
.cf-ri { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid #eef1f6; }
.cf-rn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-ri small { color: #6b7487; }
.cf-note { margin: 0; font-size: 13px; color: #4a5568; }
.cf-warn { color: #9a5b00; }
#imageDrag.cf-over { outline: 3px dashed #2563eb; outline-offset: 4px; }
.cf-dlg { position: fixed; inset: 0; z-index: 2147483000; background: rgba(20, 28, 45, .5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cf-dlg-in { position: relative; background: #fff; color: #1f2a44; border-radius: 16px; max-width: 420px; width: 100%; padding: 24px 22px 20px; box-shadow: 0 20px 60px rgba(31, 42, 68, .3); text-align: left; }
.cf-dlg-in h3 { font-size: 19px; font-weight: 700; margin: 0 28px 6px 0; }
.cf-dlg-in p { margin: 0 0 10px; color: #4a5568; }
.cf-dlg-in ul { margin: 0 0 16px; padding-left: 18px; color: #1f2a44; }
.cf-dlg-in li { margin: 4px 0; }
.cf-big { width: 100%; padding: 12px; font-size: 15.5px; }
.cf-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 26px; line-height: 1; color: #6b7487; cursor: pointer; padding: 4px 8px; }
@media (max-width: 575px) {
  .cf-job { grid-template-columns: 34px minmax(0, 1fr); }
  .cf-ic { width: 34px; height: 34px; }
  .cf-ri { grid-template-columns: minmax(0, 1fr) auto; }
  .cf-ri small:first-of-type { display: none; }
}
