.planning-flow-shell--index { align-content:start; box-sizing:border-box; gap:0; min-height:calc(100vh - 3.25rem); overflow:hidden; border:1px solid #e1e5e2; border-radius:var(--ls-radius-panel); background:#fff; box-shadow:0 12px 26px rgba(15,23,42,.035); }
.planning-flow-shell--index .planning-flow-topbar { border:0; border-radius:0; padding:20px 24px 16px; box-shadow:none; }
.workflow-index { background:#fff; border-top:1px solid #edf0ee; padding:0 24px 18px; }
.workflow-index__filters { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:16px 0; }
.workflow-index__filters input { flex:0 1 360px; width:min(360px,100%); min-width:220px; }
.workflow-index__filters input, .workflow-index__filters select { height:38px; border:1px solid #d8dfdc; border-radius:var(--ls-radius-interactive); background:#fff; padding:0 12px; font-size:14px; }
.workflow-index__table { overflow-x:auto; }
.workflow-index table { width:100%; min-width:0; table-layout:fixed; border-collapse:collapse; text-align:left; }
.workflow-index th:nth-child(1) { width:14%; }
.workflow-index th:nth-child(2) { width:7%; }
.workflow-index th:nth-child(3) { width:8%; }
.workflow-index th:nth-child(4) { width:10%; }
.workflow-index th:nth-child(5) { width:13%; }
.workflow-index th:nth-child(6) { width:7%; }
.workflow-index th:nth-child(7), .workflow-index th:nth-child(8) { width:9%; }
.workflow-index th:nth-child(9) { width:11%; }
.workflow-index th:nth-child(10) { width:12%; }
.workflow-index th { color:#69726d; font-size:11px; line-height:1.25; font-weight:600; background:#f7f9f8; }
.workflow-index th, .workflow-index td { padding:10px 7px; border-bottom:1px solid #edf0ee; vertical-align:middle; overflow-wrap:anywhere; }
.workflow-index td { font-size:12px; line-height:1.4; color:#242c27; }
.workflow-index tr:hover td { background:#f8faf9; }
.workflow-index__link { border:0; padding:0; background:transparent; color:inherit; cursor:pointer; text-align:left; font-size:13px; font-weight:650; text-decoration:underline; text-underline-offset:4px; text-decoration-color:#c3d1c9; overflow-wrap:anywhere; }
.workflow-index td small { display:block; margin-top:3px; font-size:11px; color:#6e776f; }
.workflow-index td:nth-child(9) small, .workflow-index td:nth-child(10) small { color:#354039; white-space:normal; }
.workflow-index__metric { display:block; color:#172019; font-size:12px; font-weight:650; white-space:normal; }
.workflow-index__pending { color:#8a938d; font-weight:600; }
.workflow-index__status { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.workflow-index__status::before { content:''; display:inline-block; margin-right:5px; width:6px; height:6px; border-radius:50%; background:#acb4ae; }
.workflow-index__status[data-status=sending]::before, .workflow-index__status[data-status=scraping]::before { background:#15946a; }
.workflow-index__status[data-status=paused]::before { background:#c8932e; }
.workflow-index__empty { padding:50px 16px; text-align:center; color:#667069; }
.workflow-index__pagination { display:flex; justify-content:flex-end; align-items:center; gap:16px; padding:16px 0; }
.planning-flow-shell--industry { align-content:start; box-sizing:border-box; gap:0; min-height:calc(100vh - 3.25rem); overflow:hidden; border:1px solid #e1e5e2; border-radius:var(--ls-radius-panel); background:#fff; box-shadow:0 12px 26px rgba(15,23,42,.035); }
.planning-flow-shell--industry .planning-flow-topbar { border:0; border-radius:0; padding:20px 24px 16px; box-shadow:none; }
.planning-flow-shell--industry .planning-industry-profile { gap:0; border-top:1px solid #edf0ee; border-radius:0; background:#fff; }
.workflow-industry-overview { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr); min-height:620px; }
.workflow-industry-control { display:grid; align-content:center; gap:20px; min-width:0; padding:34px 36px; }
.workflow-industry-control__heading { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; }
.workflow-industry-control__heading h3 { margin:5px 0 7px; color:#172019; font-size:25px; line-height:1.18; letter-spacing:0; }
.workflow-industry-control__heading p:last-child { max-width:650px; margin:0; color:#69736c; font-size:14px; line-height:1.5; }
.workflow-industry-control__heading > strong { flex:0 0 auto; color:#172019; font-size:32px; line-height:1; }
.workflow-industry-progress { overflow:hidden; height:7px; border-radius:4px; background:#e9eeeb; }
.workflow-industry-progress span { display:block; height:100%; border-radius:inherit; background:#22b982; transition:width 220ms ease; }
.workflow-industry-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-block:1px solid #e6ebe8; }
.workflow-industry-metrics div:nth-child(2n) { border-right:0; }
.workflow-industry-metrics div:nth-child(n+3) { border-top:1px solid #e6ebe8; }
.workflow-industry-metrics div { display:grid; grid-template-rows:minmax(28px,auto) auto; align-content:start; gap:8px; padding:16px 18px; border-right:1px solid #e6ebe8; }
.workflow-industry-metrics div:first-child { padding-left:18px; }
.workflow-industry-metrics div:last-child { border-right:0; }
.workflow-industry-metrics span, .workflow-campaign-strip span { color:#7a837d; font-size:10px; font-weight:750; text-transform:uppercase; }
.workflow-industry-metrics span { line-height:14px; align-self:start; }
.workflow-industry-metrics strong { color:#1c251f; font-size:20px; line-height:26px; font-variant-numeric:tabular-nums; }
.workflow-industry-setup { display:grid; gap:12px; }
.workflow-industry-setup__buttons { display:flex; flex-wrap:wrap; gap:8px; }
.workflow-industry-setup__buttons button:disabled { opacity:1; color:#929b96; background:#f3f5f4; border-color:#e1e6e3; box-shadow:none; cursor:not-allowed; }
.workflow-industry-actions { display:flex; align-items:center; gap:12px; min-height:36px; }
.workflow-industry-actions > span { color:#68736b; font-size:13px; }
.workflow-campaign-setup-link { border:0; background:transparent; padding:0; color:#334139; cursor:pointer; font:inherit; font-size:13px; font-weight:650; text-align:left; }
.workflow-campaign-setup-link span { color:#08714f; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.planning-configure-attention { animation:workflow-configure-attention 3s ease-in-out infinite; }
@keyframes workflow-configure-attention {
  0%, 18%, 100% { border-color:#d8e0db; background:#fff; color:#26312a; box-shadow:none; }
  7%, 11% { border-color:#23ad7b; background:#eafaf3; color:#075f44; box-shadow:0 0 0 3px rgba(35,173,123,.13); }
}
.workflow-industry-map-panel { position:relative; isolation:isolate; min-width:0; padding:24px 30px 18px; overflow:hidden; border-left:1px solid #e6ebe8; background:#fff; }
.workflow-industry-map-panel__head { display:flex; align-items:center; justify-content:center; min-height:20px; }
.workflow-industry-map-legend { display:flex; flex-wrap:wrap; justify-content:center; gap:16px; }
.workflow-industry-map-legend span { display:inline-flex; align-items:center; gap:6px; color:#4f5a53; font-size:11px; font-weight:600; }
.workflow-industry-map-legend span::before { content:''; width:9px; height:9px; border:1px solid #adb6b0; border-radius:50%; background:#fff; }
.workflow-industry-map-legend span[data-tone=sending]::before { border-color:#14a878; background:#69dfb1; }
.workflow-industry-map-legend span[data-tone=scraping]::before { border-color:#d6af39; background:#f8df83; }
.workflow-industry-map-legend span[data-tone=acquired]::before { border-color:#e0b958; background:#ffedb4; }
.workflow-industry-map-legend span[data-tone=complete]::before { border-color:#a5b3c2; background:#dce5ee; }
.workflow-poland-map { display:block; width:100%; aspect-ratio:15/13; margin:10px auto 0; overflow:hidden; border:0; background:#fff; }
.workflow-poland-map .workflow-poland-map__region { fill:#fcfdfd; stroke:#b8c5c9; stroke-width:.85; stroke-linejoin:round; vector-effect:non-scaling-stroke; cursor:pointer; transition:fill 180ms ease, stroke 180ms ease; }
.workflow-poland-map .workflow-poland-map__region:hover { fill:#e8f5ef; stroke:#13281c; outline:none; }
.workflow-poland-map .workflow-poland-map__region--sending { fill:#69dfb1; stroke:#14a878; }
.workflow-poland-map .workflow-poland-map__region--scraping { fill:#f8df83; stroke:#cbb77d; }
.workflow-poland-map .workflow-poland-map__region--acquired { fill:#ffedb4; stroke:#d9bd72; }
.workflow-poland-map .workflow-poland-map__region--complete { fill:#dce5ee; stroke:#a5b3c2; }
.workflow-poland-map .workflow-poland-map__region--excluded { fill:url(#workflow-excluded-hatch); stroke:#aab3ad; }
.workflow-industry-map-legend span[data-tone=excluded]::before { background:repeating-linear-gradient(135deg,#fafafa 0 3px,#cbd1ce 3px 4px); }
.workflow-region-map-fallback .workflow-region-map-fallback__item--excluded { background:repeating-linear-gradient(135deg,#fafafa 0 6px,#e1e5e2 6px 8px); }
.workflow-poland-map .workflow-poland-map__region--selected { stroke:#075f44; stroke-width:1.3; }
.workflow-industry-map-tooltip { position:absolute; z-index:4; top:72px; right:24px; display:grid; gap:3px; width:208px; border:1px solid #cfd8d2; border-radius:6px; background:rgba(255,255,255,.98); padding:9px 11px; color:#27312a; box-shadow:0 10px 24px rgba(15,23,42,.13); pointer-events:none; }
.workflow-industry-map-tooltip strong { overflow:hidden; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.workflow-industry-map-tooltip span { color:#6d776f; font-size:11px; line-height:1.3; }
.workflow-industry-map-panel__hint { margin:8px 0 0; color:#7b857e; font-size:11px; text-align:center; }
.workflow-region-map-fallback { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; max-height:320px; margin-top:16px; overflow:auto; }
.workflow-region-map-fallback button { display:flex; align-items:center; justify-content:space-between; min-width:0; min-height:39px; border:1px solid #d9dfdb; border-radius:5px; background:#fff; padding:8px 10px; color:#283129; cursor:pointer; }
.workflow-region-map-fallback button strong { overflow:hidden; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.workflow-region-map-fallback button span { font-size:11px; font-weight:700; }
.workflow-region-map-fallback .workflow-region-map-fallback__item--sending { border-color:#25af7d; background:#e8f8f1; }
.workflow-region-map-fallback .workflow-region-map-fallback__item--scraping { border-color:#d19a3b; background:#fff7e8; }
.workflow-region-map-fallback .workflow-region-map-fallback__item--acquired { border-color:#d2b75c; background:#fff9e7; }
.workflow-region-map-fallback .workflow-region-map-fallback__item--complete { color:#687169; background:#eef1ef; }
.workflow-region-map-fallback .workflow-region-map-fallback__item--selected { border-color:#1b241e; box-shadow:inset 0 0 0 1px #1b241e; }
.workflow-campaign-strip { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-block:1px solid #e6ebe8; background:#fff; }
.workflow-campaign-strip div { min-width:0; padding:12px 14px; border-right:1px solid #e6ebe8; border-bottom:1px solid #eef1ef; }
.workflow-campaign-strip div:nth-child(2n) { border-right:0; }
.workflow-campaign-strip div:nth-last-child(-n+2) { border-bottom:0; }
.workflow-campaign-strip div:last-child { border-right:0; }
.workflow-campaign-strip strong { display:block; overflow:hidden; margin-top:4px; color:#29322b; font-size:12px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }
.workflow-industry-settings { margin:0 24px; border-bottom:1px solid #e6ebe8; }
.workflow-industry-settings summary { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:15px 0; color:#303a33; cursor:pointer; font-size:13px; font-weight:700; }
.workflow-industry-settings summary small { color:#7a837d; font-weight:500; }
.workflow-industry-settings > p { margin:0 0 2px; color:#747f77; font-size:12px; }
.workflow-industry-settings .workflow-autopilot__regions { padding-bottom:17px; }
.workflow-manual { margin:18px 24px 22px; padding:0; border:1px solid #e2e7e4; border-radius:6px; background:#fff; }
.workflow-manual:not([open]) { padding:0; }
.workflow-manual > summary { display:flex; align-items:center; justify-content:space-between; padding:14px 16px; color:#4f5b53; cursor:pointer; font-size:12px; font-weight:700; list-style:none; text-transform:uppercase; }
.workflow-manual > summary::-webkit-details-marker { display:none; }
.workflow-manual > summary::after { content:'Rozwiń'; color:#77817a; font-size:11px; font-weight:600; text-transform:none; }
.workflow-manual[open] > summary::after { content:'Zwiń'; }
.workflow-manual[open] > summary { border-bottom:1px solid #e8ece9; background:#f8faf9; }
.workflow-manual button { display:none !important; }
.workflow-manual .planning-operations-grid, .workflow-manual .planning-region-workspace { gap:.55rem; }
.workflow-manual .planning-region-list-item { min-height:2.8rem; padding:.34rem .46rem; }
.workflow-manual .planning-selected-region { gap:.58rem; padding:.64rem; box-shadow:0 8px 18px rgba(17,18,20,.03); }
.workflow-autopilot { display:flex; gap:16px; align-items:center; justify-content:space-between; flex-wrap:wrap; padding:16px 0; border-bottom:1px solid #dfe7e2; margin-bottom:16px; }
.workflow-autopilot__controls { display:flex; gap:8px; align-items:center; }
.workflow-autopilot p { font-size:13px; color:#69756d; margin-top:4px; }
.workflow-autopilot details { width:100%; }
.workflow-autopilot__journey { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; gap:16px; padding:12px 0; border-top:1px solid #e4e7e5; }
.workflow-autopilot__journey > div { min-width:0; }
.workflow-autopilot__journey span { display:block; color:#69756d; font-size:12px; margin-bottom:6px; }
.workflow-autopilot__journey strong { display:block; font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.workflow-autopilot__regions { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; padding-top:12px; }
.workflow-autopilot__regions label { display:flex; gap:8px; align-items:center; font-size:13px; }
.planning-modal__card--configure { max-width:58rem; }
.planning-edit-choice-grid--three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.planning-modal__card--target { width:min(58rem,calc(100vw - 2rem)); max-width:58rem; max-height:min(90vh,880px); }
.workflow-target { display:grid; gap:18px; overflow-y:auto; }
.workflow-target-mode { display:flex; align-items:center; gap:13px; border:1px solid #dbe2de; border-radius:6px; padding:15px 16px; background:#fff; cursor:pointer; }
.workflow-target-mode--active { border-color:#77c9a5; background:#f3fbf7; }
.workflow-target-mode input { width:18px; height:18px; accent-color:#168a60; }
.workflow-target-mode span { display:grid; gap:4px; }
.workflow-target-mode strong { color:#202923; font-size:14px; }
.workflow-target-mode small, .workflow-target-heading span { color:#69746d; font-size:12px; line-height:1.4; }
.workflow-target-priority, .workflow-target-exclusions { display:grid; gap:10px; }
.workflow-target-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; }
.workflow-target-heading > div { display:grid; gap:3px; }
.workflow-target-heading strong { color:#273029; font-size:13px; }
.workflow-target-heading > span { white-space:nowrap; }
.workflow-target-order { display:grid; gap:5px; max-height:310px; overflow-y:auto; }
.workflow-target-order__row { display:grid; grid-template-columns:30px minmax(160px,1fr) minmax(130px,.7fr) auto; align-items:center; gap:10px; min-height:42px; border:1px solid #e1e6e3; border-radius:5px; padding:5px 8px; background:#fff; }
.workflow-target-order__row em { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:#edf1ef; color:#657068; font-size:11px; font-style:normal; font-weight:750; }
.workflow-target-order__row strong { min-width:0; overflow:hidden; color:#2a332d; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.workflow-target-order__row small { color:#7b857e; font-size:11px; text-align:right; }
.workflow-target-order__row > div { display:flex; gap:4px; }
.workflow-target-order__row .planning-icon-button { width:28px; height:28px; min-height:28px; }
.workflow-target-order--automatic .workflow-target-order__row { grid-template-columns:30px minmax(160px,1fr) minmax(130px,.7fr); background:#f8faf9; }
.workflow-target-exclusions { border-top:1px solid #e5e9e6; padding-top:17px; }
.workflow-target-exclusions__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 12px; }
.workflow-target-exclusions__grid label { display:flex; align-items:center; gap:8px; min-height:35px; border:1px solid #e3e7e4; border-radius:5px; padding:6px 9px; color:#3f4942; font-size:12px; cursor:pointer; }
.workflow-target-exclusions__grid input { accent-color:#b44444; }
.campaign-ai { padding:16px; border:1px solid #dce4df; border-radius:6px; background:#f8faf9; margin:12px 0; }
.campaign-ai__controls { display:flex; gap:12px; align-items:end; flex-wrap:wrap; margin:12px 0; }
.campaign-ai textarea { min-height:90px; width:100%; background:#fff; }
.campaign-ai__result { padding:12px 0; border-top:1px solid #dce4df; }
.campaign-ai__result pre { white-space:pre-wrap; font:inherit; max-height:220px; overflow:auto; }
@media(max-width:640px) {
 .planning-flow-shell--index, .planning-flow-shell--industry { min-height:calc(100vh - 2rem); }
 .planning-flow-shell--index .planning-flow-topbar, .planning-flow-shell--industry .planning-flow-topbar { padding:16px 14px 12px; }
 .workflow-index { padding:0 14px 14px; }
 .workflow-industry-overview { grid-template-columns:minmax(0,1fr); }
 .workflow-industry-control { align-content:start; padding:24px 14px; }
 .workflow-industry-control__heading h3 { font-size:21px; }
 .workflow-industry-control__heading > strong { font-size:27px; }
 .workflow-industry-metrics { grid-template-columns:minmax(0,1fr); }
 .workflow-industry-metrics div, .workflow-industry-metrics div:first-child { padding:10px 0; border-right:0; border-bottom:1px solid #e6ebe8; }
 .workflow-industry-metrics div:last-child { border-bottom:0; }
 .workflow-industry-map-panel { padding:20px 14px; border-top:1px solid #e6ebe8; border-left:0; }
 .workflow-industry-map-panel__head { display:grid; }
 .workflow-industry-map-legend { justify-content:flex-start; }
 .workflow-campaign-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .workflow-campaign-strip div { padding:11px 14px; border-bottom:1px solid #e6ebe8; }
 .workflow-campaign-strip div:nth-child(2) { border-right:0; }
 .workflow-industry-settings { margin:0 14px; }
 .planning-edit-choice-grid--three { grid-template-columns:1fr; }
 .workflow-target-order__row { grid-template-columns:28px minmax(0,1fr) auto; }
 .workflow-target-order__row small { display:none; }
 .workflow-target-exclusions__grid { grid-template-columns:1fr; }
 .workflow-manual { padding:0 14px 18px; }
 .workflow-autopilot__journey { grid-template-columns:minmax(0,1fr); }
 .workflow-index thead { display:none; }
 .workflow-index table, .workflow-index tbody { display:block; min-width:0; }
 .workflow-index tr { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); padding:12px 0; border-bottom:1px solid #edf0ee; }
 .workflow-index td { display:flex; min-width:0; flex-direction:column; justify-content:flex-end; border:0; padding:7px 10px; }
 .workflow-index td::before { content:attr(data-label); display:block; margin-bottom:4px; color:#8a938d; font-size:9px; font-weight:700; line-height:1.2; text-transform:uppercase; }
 .workflow-index td:nth-child(even) { text-align:right; align-items:flex-end; }
 .workflow-index td:nth-child(3) { color:#69756d; }
 .workflow-index__filters input { flex:1 0 100%; width:100%; }
 .workflow-index__filters select { min-width:0; flex:1; }
 .workflow-index th, .workflow-index td { padding:12px 10px; }
 .workflow-index th:nth-child(5), .workflow-index td:nth-child(5) { display:none; }
 .workflow-index td { font-size:12px; }
 .workflow-index__link { font-size:14px; }
 .workflow-index__status { white-space:normal; }
}
@media(prefers-reduced-motion:reduce) {
 .planning-configure-attention { animation:none; border-color:#7fc9aa; background:#f1fbf6; color:#075f44; }
}
@media(min-width:641px) and (max-width:1100px) {
 .workflow-industry-overview { grid-template-columns:minmax(0,1fr); }
 .workflow-industry-map-panel { border-top:1px solid #e6ebe8; border-left:0; }
}
@media(min-width:1181px) and (max-width:1500px) {
 .planning-flow-shell--industry .planning-flow-topbar { grid-template-columns:minmax(220px,1fr) minmax(0,480px); }
 .planning-flow-shell--industry .planning-flow-topbar__actions { width:100%; }
}
.campaign-ai button:disabled { opacity: .5; cursor: not-allowed; }
.workflow-phrase-audit { border-top:1px solid #e0e5e2; margin-top:12px; padding-top:12px; font-size:13px; color:#48524c; }
.workflow-phrase-audit > div { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.workflow-phrase-audit details { margin-top:10px; }
.workflow-phrase-audit summary { cursor:pointer; color:#805718; }
.workflow-phrase-audit p { margin:8px 0; }
.workflow-phrase-audit li { overflow-wrap:anywhere; margin:4px 0; }
.workflow-bundle-fields { display:contents; }
