/* RC8 v2 · μόνο ο χώρος Στρατηγικής, μέσα στο υπάρχον κέλυφος. */
.strat,.strat-form{--market:#334155;--market-bg:#f8fafc;--comp:#be123c;--comp-bg:#fff1f2;--solution:#1d4ed8;--solution-bg:#eff6ff;--kol:#0891b2;--kol-bg:#ecfeff;--channel:#7c3aed;--channel-bg:#f5f3ff;--task:#ea580c;--task-bg:#fff7ed;--gate:#b45309;--gate-bg:#fef3c7;--project:#15803d;--project-bg:#f0fdf4;--strat-ink:#0f172a;--strat-line:#cbd5e1;--strat-muted:#64748b;color:var(--strat-ink);min-width:0;max-width:100%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.strat *,.strat-form *{box-sizing:border-box}.strat button,.strat-form button,.strat select,.strat-form select,.strat input,.strat-form input{font:inherit;min-height:44px;touch-action:manipulation}.strat button,.strat-form button{border:1px solid var(--strat-line);border-radius:8px;padding:7px 11px;background:#fff;color:var(--strat-ink);font-size:12px;font-weight:600;cursor:pointer}.strat button:focus-visible,.strat-form button:focus-visible,.strat-form input:focus-visible,.strat-form select:focus-visible,.strat-form textarea:focus-visible{outline:3px solid #60a5fa;outline-offset:2px}.strat button:hover,.strat-form button:hover{filter:brightness(.97)}
.strat-shell{position:relative;display:grid;grid-template-columns:220px minmax(0,1fr) 300px;height:calc(100dvh - 150px);min-height:600px;max-height:1100px;overflow:hidden;border:1px solid var(--strat-line);border-radius:14px;background:#f1f5f9}.strat-shell.hide-left{grid-template-columns:minmax(0,1fr) 300px}.strat-shell.hide-right{grid-template-columns:220px minmax(0,1fr)}.strat-shell.hide-left.hide-right{grid-template-columns:minmax(0,1fr)}.strat-shell.hide-left .strat-tools,.strat-shell.hide-right .strat-editor{display:none}
.strat-tools{display:flex;flex-direction:column;gap:9px;overflow-y:auto;-webkit-overflow-scrolling:touch;background:linear-gradient(180deg,#0f2537,#091926);color:#e2e8f0;padding:13px 11px;border-right:1px solid #1e3a52;min-width:0}.strat-tools h3{font-size:11px;color:#93c5fd;letter-spacing:.04em;margin:4px 0;line-height:1.5}.strat-tools button{color:#e2e8f0;background:#ffffff0c;border-color:#ffffff20;text-align:left}.strat-tools .strat-plan-btn{display:block;width:100%;padding:10px;margin-bottom:6px;border-radius:10px;font-size:12px;line-height:1.4}.strat-plan-btn small{display:block;opacity:.85;font-size:10.5px;margin-top:4px;overflow-wrap:anywhere}.strat-tools .strat-plan-btn.active{background:#2563eb;color:white;border-color:#60a5fa;box-shadow:inset 3px 0 #f97316}.strat-palette{display:grid;gap:6px}.strat-tools .strat-palette-item{display:flex;align-items:center;gap:9px;width:100%;font-size:11.5px;line-height:1.4;padding:8px}.strat .shape-dot{display:grid;place-items:center;width:25px;height:25px;flex-shrink:0;border-radius:6px;background:var(--node-color);color:white}.strat .type-market{--node-color:var(--market)}.strat .type-competition{--node-color:var(--comp)}.strat .type-solution{--node-color:var(--solution)}.strat .type-target{--node-color:var(--kol)}.strat .type-channel{--node-color:var(--channel)}.strat .type-task{--node-color:var(--task)}.strat .type-kpi{--node-color:var(--gate)}.strat .type-project{--node-color:var(--project)}.strat .type-target .shape-dot{border-radius:50%}.strat-privacy{margin-top:auto;border-top:1px solid #ffffff25;padding-top:12px;font-size:11px;line-height:1.6;color:#94a3b8}
.strat-main{display:flex;flex-direction:column;overflow:hidden;min-width:0;min-height:0}.strat-topbar{background:white;border-bottom:1px solid var(--strat-line);padding:10px 12px;display:flex;flex-direction:column;gap:8px;flex-shrink:0}.strat-title-row,.strat-toolbar,.strat-panel-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.strat-top-title{min-width:0;flex:1}.strat-top-title h2{font-size:16px;margin:0;line-height:1.4;overflow-wrap:anywhere}.strat-top-title small{display:block;color:var(--strat-muted);font-size:10.5px;line-height:1.5}.strat .strat-sync{background:#0f766e;color:white;border-color:#0f766e}.strat-toolbar{margin:0}.strat-tabs{display:flex;flex-wrap:wrap;gap:3px;background:#f1f5f9;border:1px solid var(--strat-line);border-radius:10px;padding:3px;max-width:100%}.strat-tabs button{border:0;background:transparent;font-size:11.5px;color:#475569;padding:6px 9px;white-space:normal}.strat-tabs button[aria-pressed=true]{background:#fff;color:#1d4ed8;box-shadow:0 1px 4px #0f172a14}.strat-banner{margin:0;padding:8px 12px;font-size:11px;line-height:1.5;background:#edf2f8;border-bottom:1px solid var(--strat-line);overflow-wrap:anywhere}.strat-v2 #stratContent{flex:1;min-height:0;min-width:0;overflow:auto;padding:15px;-webkit-overflow-scrolling:touch}.strat-v2 #stratContent:has(>.strat-canvas-scroll){padding:0;overflow:hidden}.strat-hint{flex-shrink:0;background:#0f2537ed;color:#fff;font-size:10.5px;line-height:1.6;padding:8px 12px;white-space:normal}.strat-v2 #stratStatus{margin:0;font-size:12px;background:#fff;color:#1d4ed8}.strat-v2 #stratStatus:not(:empty){padding:8px 12px}
.strat .strat-scroll{overflow:auto;max-width:100%;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;border:1px solid #d5dee8}.strat .strat-canvas-scroll{height:100%;max-height:none;border:0;background:#f8fafc}.strat .strat-svg{display:block;max-width:none;user-select:none;-webkit-user-select:none}.strat .strat-lane-title{font-weight:700;fill:#334155}.strat .strat-node-type{font-weight:700;fill:#334155}.strat .strat-node-title{font-weight:700;fill:#0f172a}.strat .strat-flow-node{cursor:pointer;outline:none}.strat .strat-flow-node:has([data-st-port]){cursor:grab;touch-action:none}.strat .strat-flow-node:active{cursor:grabbing}.strat .strat-flow-node.selected>rect:first-child,.strat .strat-flow-node.selected>polygon:first-child,.strat .strat-flow-node:focus-visible>rect:first-child,.strat .strat-flow-node:focus-visible>polygon:first-child{stroke-width:3.5;filter:drop-shadow(0 0 3px #2563eb99)}.strat [data-st-port]{cursor:crosshair;touch-action:none}.strat [data-st-edge]{cursor:pointer}.strat [data-st-edge]:hover .strat-edge-line{stroke:#dc2626;stroke-width:3}.strat .strat-edge-hit{pointer-events:stroke}.strat .strat-edge-line{pointer-events:stroke}
.strat-editor{background:#fff;border-left:1px solid var(--strat-line);padding:14px;overflow-y:auto;min-width:0;-webkit-overflow-scrolling:touch}.strat-panel-heading{justify-content:space-between;align-items:flex-start}.strat-editor .strat-panel-heading{position:sticky;top:-14px;padding:10px 0;background:white;z-index:2}.strat-panel-heading h3{font-size:14px;line-height:1.5;flex:1;margin:0}.strat-panel-heading button{padding:4px 9px;min-width:36px}.strat-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%}.strat-node-form{grid-template-columns:minmax(0,1fr)}.strat-form .crm-wide{grid-column:1/-1}.strat-form .field{display:flex;flex-direction:column;gap:5px;min-width:0;margin:0}.strat-form .field label{display:block!important;font-size:12px;font-weight:700;line-height:1.5;color:#334155;margin:0;padding:0;opacity:1;visibility:visible}.strat-form input:not([type=checkbox]),.strat-form textarea,.strat-form select{width:100%;min-width:0;border:1px solid var(--strat-line);border-radius:8px;background:#fff;color:#0f172a;padding:8px 9px;font-size:14px;line-height:1.4}.strat-form textarea{resize:vertical;min-height:82px}.strat-form [hidden]{display:none!important}.strat-form .subbox{background:#f8fafc;border:1px solid var(--strat-line);border-radius:10px;padding:10px;display:grid;gap:9px;min-width:0;margin:0}.strat-form legend{font-size:12px;font-weight:700;color:#334155;padding:0 5px}.strat-form .strat-choice label{display:flex!important;gap:8px;align-items:center;font-size:12px;font-weight:400}.strat-form .strat-choice input{width:22px;min-height:22px;flex-shrink:0}.strat-link-options{max-height:220px;overflow:auto;display:grid;gap:8px}.strat-form-actions{display:flex;flex-wrap:wrap;gap:8px;padding:10px 0;background:white;position:sticky;bottom:-14px}.strat-tag-values{display:flex;flex-wrap:wrap;gap:6px}.strat-tag{display:inline-flex;align-items:center;max-width:100%;gap:6px;background:#dbeafe;color:#1e40af;padding:2px 3px 2px 8px;border-radius:8px;font-size:12px;overflow-wrap:anywhere}.strat-form .strat-tag button{min-height:32px;min-width:32px;padding:0;border:0;color:#1e40af;background:transparent;font-size:20px}.strat-free-entry{display:flex;gap:6px;align-items:center}.strat-free-entry input{flex:1;min-width:0}.strat-icon-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.strat-form .strat-icon-options button{font-size:25px;min-height:62px;padding:7px 3px;text-align:center}.strat-icon-options small{display:block;font-size:10px;color:#475569}.strat-form .strat-icon-options [aria-pressed=true]{background:#dbeafe;outline:2px solid #2563eb}
.strat-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:12px}.strat-cards article,.strat-card-panel{padding:16px;border:1px solid var(--strat-line);border-radius:14px;background:#fff;min-width:0;overflow-wrap:anywhere;box-shadow:0 6px 20px -4px #0f172a14}.strat-cards h3,.strat-card-panel h3{margin:0 0 12px;font-size:14px}.strat-card-panel{margin-bottom:16px}.strat-cards button{text-align:left;white-space:normal}.strat-filters{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.strat-filters .field{min-width:160px;flex:1}.strat-filters select{width:100%;min-height:44px}.strat dl{margin:8px 0;font-size:12px}.strat dt{font-weight:700;color:#475569}.strat dd{margin:0 0 8px;white-space:pre-wrap}.strat-table-scroll{overflow:auto;max-width:100%}.strat-clean{width:100%;border-collapse:collapse;font-size:12px;min-width:460px}.strat-clean th,.strat-clean td{padding:10px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top;max-width:280px;overflow-wrap:anywhere}.strat-clean th{background:#f8fafc;color:#475569;font-size:11px}.strat span.need-pill,.strat span.weak-pill,.strat span.channel-pill{display:inline-block;font-size:11px;font-weight:600;padding:3px 6px;border-radius:5px}.strat span.need-pill{background:#dbeafe;color:#1e40af}.strat span.weak-pill{background:#ffe4e6;color:#9f1239}.strat span.channel-pill{background:#ede9fe;color:#5b21b6;border-radius:20px}.strat-gantt-row{display:grid;grid-template-columns:minmax(100px,180px) minmax(0,1fr);gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid #f1f5f9}.strat-gantt-row small{font-size:10px;color:#64748b}.strat-gantt-track{position:relative;height:24px;background:#f1f5f9;border-radius:8px;overflow:hidden}.strat-gantt-bar{position:absolute;top:3px;bottom:3px;border-radius:6px;background:var(--node-color)}
.strat-shell.is-drawer,.strat-shell.is-drawer.hide-left,.strat-shell.is-drawer.hide-right,.strat-shell.is-drawer.hide-left.hide-right{grid-template-columns:minmax(0,1fr)}.strat-shell.is-drawer .strat-tools,.strat-shell.is-drawer .strat-editor{position:absolute;top:0;bottom:0;width:min(340px,92%);z-index:30;box-shadow:0 0 0 100vmax #0f172a33}.strat-shell.is-drawer .strat-tools{left:0}.strat-shell.is-drawer .strat-editor{right:0}
@media(max-width:600px){.strat-form{grid-template-columns:minmax(0,1fr)}.strat-top-title h2{font-size:14px}.strat-topbar{padding:8px}.strat-toolbar{gap:5px}.strat .strat-tabs button{font-size:11px;min-height:44px}.strat-shell{min-height:600px}.strat-icon-options{grid-template-columns:repeat(4,minmax(0,1fr))}.strat-gantt-row{grid-template-columns:minmax(85px,110px) minmax(0,1fr)}}
/* Ρητή αντίθεση τίτλων: το κέλυφος χρησιμοποιεί λευκά h3 σε άλλες επιφάνειες. */
#workRoot .strat h3,.strat-form h3{color:#0f172a}#workRoot .strat-tools h3{color:#93c5fd}
.strat-shell{grid-template-rows:minmax(0,1fr)}
/* Διορθώσεις Claude 18/11/2026 (παρατηρήσεις χρήστη στην προεπισκόπηση, iPad/Safari): */
/* (α) Αριστερά κουμπιά: στο πάτημα/εστίαση/«κολλημένο hover» του Safari δεν γίνονται λευκά με λευκά γράμματα. */
.strat button,.strat-form button{-webkit-tap-highlight-color:transparent}
.strat-tools button:hover,.strat-tools button:focus,.strat-tools button:active,.strat-tools button:disabled{background:#ffffff21;color:#fff;opacity:1}
/* (β) Δεξί πάνελ: ομαλή κύλιση μόνο μέσα στο πάνελ (χωρίς να «παρασύρει» τη σελίδα/καμβά). */
.strat-editor,.strat-tools{overscroll-behavior:contain;touch-action:pan-y;scroll-behavior:smooth}
/* (γ) «Αποθήκευση / Ακύρωση» πάντα ορατά στο κάτω μέρος του πάνελ. */
.strat-editor .strat-form-actions{position:sticky;bottom:-14px;background:#fff;padding:10px 0 12px;margin-top:10px;border-top:1px solid var(--strat-line);z-index:2;display:flex;gap:8px;flex-wrap:wrap}
/* (δ) Τα πλαϊνά πάνελ δεν ξεπερνούν το ύψος του πλαισίου (αλλιώς το κάτω μέρος κόβεται και η κύλιση «κολλάει»). */
.strat-shell>.strat-tools,.strat-shell>.strat-editor,.strat-shell .strat-editor{min-height:0;max-height:100%;height:100%;align-self:stretch}
/* RC8 Β: διατήρηση των διορθώσεων 75fff62 / edfc1aa, περιορισμένα πεδία ημερομηνίας. */
.strat-form input[type=date]{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
.strat [data-st-edge].selected .strat-edge-line{stroke:#2563eb;stroke-width:3}
.strat [data-st-edge]:hover .strat-edge-line{stroke:#2563eb}
.strat [data-st-edge-remove]{cursor:pointer}
.strat [data-st-edge-remove]:focus circle,.strat [data-st-edge-remove]:hover circle{stroke:#dc2626}
.strat-form [data-st-task-new]{display:grid;gap:10px}
.strat-search-hint{font-size:11px;color:#64748b;margin:0}
.strat button,.strat-form button{min-height:30px;padding:5px 9px}
.strat-form .strat-icon-options button{min-height:44px;font-size:20px}

/* Στα SVG η θύρα αφής χρειάζεται touch-action στη ρίζα. Το κενό του καμβά παραμένει συρόμενο για κύλιση. */
.strat .strat-svg:has([data-st-port]){touch-action:none}

#workRoot .strat button,#workRoot .strat-form button{min-height:30px!important;padding:5px 9px}
#workRoot .strat .strat-tag button{min-width:26px;min-height:26px;padding:0}
