.omni-decyzje { color:#243448; font-size:14px; }
.omni-decyzje *, .omni-decyzje *::before, .omni-decyzje *::after { box-sizing:border-box; }
.omni-decyzje__brief { border:1px solid #dce4eb; border-radius:12px; background:#f8fafc; padding:16px 20px; margin:18px 0; }
.omni-decyzje__brief summary { font-size:16px; font-weight:700; cursor:pointer; }
.omni-decyzje__fields { display:grid; grid-template-columns:repeat(2,minmax(220px,1fr)); gap:14px 20px; margin-top:18px; }
.omni-decyzje__fields label, .omni-decyzje__field { display:flex; flex-direction:column; gap:6px; font-weight:600; }
.omni-decyzje__fields input, .omni-decyzje__fields textarea, .omni-decyzje__fields select,
.omni-decyzje__field input, .omni-decyzje__field textarea, .omni-decyzje__field select { width:100%; max-width:none; border:1px solid #cbd5e1; border-radius:7px; padding:8px 10px; background:#fff; font-weight:400; }
.omni-decyzje__brief-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:18px; }
.omni-decyzje__toolbar { display:flex; flex-wrap:wrap; gap:8px; padding:12px; border:1px solid #dce4eb; border-radius:10px 10px 0 0; background:#fff; }
.omni-decyzje__toolbar .button { margin:0; }
.omni-decyzje__status { min-height:22px; padding:6px 2px; color:#36536e; }
.omni-decyzje__status.is-error { color:#b42318; font-weight:600; }
.omni-decyzje__workspace { display:grid; grid-template-columns:minmax(0,1fr) 330px; min-height:780px; border:1px solid #dce4eb; border-radius:0 0 10px 10px; overflow:hidden; }
.omni-decyzje__canvas { position:relative; min-height:780px; overflow:hidden; background-color:#f4f7fa; background-image:radial-gradient(#d5dfe8 1px,transparent 1px); background-size:20px 20px; cursor:grab; touch-action:none; }
.omni-decyzje__canvas:active { cursor:grabbing; }
.omni-decyzje__viewport { position:absolute; inset:0 auto auto 0; width:6000px; height:6000px; transform-origin:0 0; }
.omni-decyzje__viewport svg { position:absolute; inset:0; width:6000px; height:6000px; overflow:visible; pointer-events:none; }
.omni-decyzje__line { fill:none; stroke:#8a9aad; stroke-width:2.5; }
.omni-decyzje__node { position:absolute; width:210px; min-height:142px; display:flex; flex-direction:column; gap:6px; text-align:left; padding:14px; border:1px solid #b9c8d7; border-top:5px solid #738ba0; border-radius:12px; background:#fff; box-shadow:0 4px 16px rgba(27,49,71,.09); color:#243448; cursor:move; touch-action:none; }
.omni-decyzje__node:hover, .omni-decyzje__node.is-selected { border-color:#376d9b; box-shadow:0 0 0 3px rgba(55,109,155,.14),0 8px 20px rgba(27,49,71,.13); }
.omni-decyzje__node--start { border-top-color:#276b65; }
.omni-decyzje__node--decision { border-top-color:#a06e36; }
.omni-decyzje__node--consequence { border-top-color:#6b6198; }
.omni-decyzje__node--information { border-top-color:#4b789a; }
.omni-decyzje__node--ending { border-top-color:#716474; }
.omni-decyzje__node small { color:#5f7183; font-size:10px; letter-spacing:.12em; font-weight:700; }
.omni-decyzje__node strong { font-size:14px; line-height:1.25; }
.omni-decyzje__node span { font-size:12px; line-height:1.3; color:#586a7c; overflow:hidden; }
.omni-decyzje__node em { font-style:normal; font-size:11px; color:#376d9b; margin-top:auto; }
.omni-decyzje__sidebar { background:#fff; border-left:1px solid #dce4eb; padding:18px; max-height:720px; overflow:auto; }
.omni-decyzje__sidebar h3 { margin:0 0 16px; }
.omni-decyzje__sidebar h4 { margin:22px 0 8px; }
.omni-decyzje__field { margin:0 0 14px; }
.omni-decyzje__field span { color:#465b70; }
.omni-decyzje__node-actions, .omni-decyzje__edge-actions { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.omni-decyzje__node-actions button, .omni-decyzje__edge-actions button, .omni-decyzje__sidebar > div > button { min-height:30px; cursor:pointer; }
.omni-decyzje__edge-editor { border:1px solid #dce4eb; border-radius:9px; padding:12px; margin:12px 0; background:#f9fbfd; }
.omni-decyzje__edge-editor strong { display:block; margin-bottom:10px; }
.omni-decyzje__settings { display:flex; flex-wrap:wrap; gap:22px; margin:16px 0; }
.omni-decyzje__settings label { display:flex; align-items:center; gap:8px; }
.omni-decyzje__preview[hidden] { display:none; }
.omni-decyzje__preview { position:fixed; inset:0; z-index:100100; display:flex; align-items:center; justify-content:center; padding:28px; background:rgba(18,32,46,.76); }
.omni-decyzje__preview-inner { background:#f6f8fa; border-radius:14px; padding:20px; width:min(760px,100%); max-height:92vh; overflow:auto; }
.omni-decyzje__preview-inner > button { margin-bottom:16px; }
@media (max-width:1100px) { .omni-decyzje__workspace { grid-template-columns:1fr; } .omni-decyzje__sidebar { border-left:0; border-top:1px solid #dce4eb; max-height:none; } }
@media (max-width:700px) { .omni-decyzje__fields { grid-template-columns:1fr; } .omni-decyzje__canvas { min-height:480px; } }
