.product-flow-main { min-width: 0; padding-bottom: 60px; }
.product-flow-page .main-nav a[data-flow-i18n] { display: inline-flex; }
.product-flow-hero { padding-bottom: 18px; }
.product-flow-hero h1 { max-width: 920px; }
.product-flow-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, .85fr); align-items: start; gap: 16px; width: min(1360px, 100%); margin: 0 auto; }
.product-flow-workspace, .product-flow-settings { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.product-flow-drop { display: flex; min-height: 220px; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; border: 1.5px dashed #eea06a; border-radius: 10px; background: #fff8f2; text-align: center; cursor: pointer; }
.product-flow-drop.is-dragging { border-color: var(--accent); background: #ffeddd; }
.product-flow-drop:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.product-flow-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.product-flow-drop-icon { color: var(--accent-strong); font-size: 40px; line-height: 1; }
.product-flow-drop strong { color: var(--ink); font-size: 19px; }
.product-flow-drop .primary-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; pointer-events: none; }
.product-flow-note, .product-flow-summary, .product-flow-help, .product-flow-local { color: var(--muted); font-size: 13px; line-height: 1.55; }
.product-flow-note { margin: 10px 0 0; }
.product-flow-queue-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.product-flow-queue-head h2, .product-flow-settings h2 { margin: 0; color: var(--ink); font-size: 21px; }
.product-flow-summary { margin: 10px 0 0; }
.product-flow-list { display: grid; gap: 9px; margin: 14px 0 0; padding: 0; list-style: none; }
.product-flow-row { display: grid; grid-template-columns: 43px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 9px; }
.product-flow-file-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 8px; background: #eff3f8; color: var(--ink); font-size: 11px; font-weight: 800; }
.product-flow-file { display: grid; min-width: 0; gap: 3px; }
.product-flow-file strong { overflow: hidden; color: var(--ink); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.product-flow-file small, .product-flow-status { color: var(--muted); font-size: 12px; }
.product-flow-status.is-done { color: #167747; }
.product-flow-status.is-error { color: #c54535; }
.product-flow-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.product-flow-actions button { min-height: 32px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-size: 12px; cursor: pointer; }
.product-flow-actions button:hover, .product-flow-actions button:focus-visible { border-color: var(--accent); color: var(--accent-strong); }
.product-flow-actions button:disabled, .product-flow-settings button:disabled { cursor: not-allowed; opacity: .52; }
.product-flow-empty { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.product-flow-settings h2 { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.product-flow-setting { display: grid; gap: 9px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.product-flow-setting > label:first-child { color: var(--ink); font-size: 14px; font-weight: 750; }
.product-flow-setting select, .product-flow-setting input[type="number"], .product-flow-setting input[type="text"] { width: 100%; min-height: 42px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); font: inherit; }
.product-flow-setting input:disabled { background: #f4f6f9; color: var(--muted); }
.product-flow-dimensions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-flow-dimensions label, .product-flow-prefix, .product-flow-color { display: grid; gap: 5px; color: var(--muted); font-size: 12px; }
.product-flow-color[hidden], .product-flow-prefix[hidden] { display: none; }
.product-flow-color input { width: 100%; height: 40px; padding: 4px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.product-flow-help { margin: 0; }
.product-flow-quality { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 13px; }
.product-flow-quality[hidden] { display: none; }
.product-flow-quality input { min-width: 0; flex: 1; accent-color: var(--accent); }
.product-flow-action { width: 100%; margin-top: 10px; }
.product-flow-action[hidden] { display: none; }
.product-flow-notice { min-height: 1.2em; margin: 10px 0 0; color: var(--accent-strong); font-size: 13px; }
.product-flow-local { margin: 12px 0 0; }
.product-flow-explain { margin-top: 50px; }
.product-flow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product-flow-steps > div { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.product-flow-steps strong { color: var(--accent-strong); }
.product-flow-steps h3 { margin: 12px 0 6px; color: var(--ink); font-size: 18px; }
.product-flow-steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.product-flow-main > .faq-section { margin-top: 46px; }
@media (max-width: 980px) { .product-flow-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .product-flow-workspace, .product-flow-settings { padding: 14px; } .product-flow-row { grid-template-columns: 38px minmax(0, 1fr); } .product-flow-file-icon { width: 36px; height: 36px; } .product-flow-actions { grid-column: 2; justify-content: flex-start; } .product-flow-steps { grid-template-columns: 1fr; } }
