/* SiteBox «Gantt Chart». Πάνω στα .sbb-* του Προϋπολογισμού (budget.css)· εδώ μόνο ό,τι είναι δικό του Gantt
   και το θέμα του Frappe Gantt (χρώματα iOS, γραμματοσειρά συστήματος). Μόνο φωτεινό θέμα. */
.sbg { container: sbb sbg / inline-size; }
.sbg .sbb-wrap { max-width: none; grid-template-columns: minmax(0, 1fr); }
.sbg-board > * { min-width: 0; }
.sbg-hbtns { display: flex; gap: 8px; }
.sbg-emptybtns { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }

/* σύνοψη */
.sbg-stats { display: grid; grid-template-columns: minmax(200px, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 10px; }
.sbg-prog, .sbg-stat { background: var(--b-card); border-radius: var(--b-r); box-shadow: var(--b-shadow); padding: 12px 16px; min-width: 0; }
.sbg-prog { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.sbg-prog .lbl { font-size: 13px; font-weight: 600; color: var(--b-text2); text-transform: uppercase; letter-spacing: .4px; }
.sbg-prog .val { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sbg-prog .sbb-bar { grid-column: 1 / -1; }
.sbg-stat { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.sbg-stat i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.sbg-stat span { flex: 1; min-width: 0; color: var(--b-text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbg-stat b { font-size: 20px; font-variant-numeric: tabular-nums; }

/* εργαλεία */
.sbg-card { padding: 12px 0 0; overflow: hidden; }
.sbg-tools { display: flex; align-items: center; gap: 10px; padding: 0 16px 12px; flex-wrap: wrap; }
.sbg-hint { font-size: 13px; color: var(--b-text2); margin-left: auto; }

/* πίνακας + γράφημα */
.sbg-board { display: grid; grid-template-columns: var(--sbg-gw, minmax(300px, 440px)) minmax(0, 1fr); border-top: .5px solid var(--b-sep); }
.sbg-grid { border-right: .5px solid var(--b-sep); min-width: 0; background: var(--b-card); }
.sbg-ghead, .sbg-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) 66px 66px 36px 44px; align-items: center; gap: 0 4px; padding: 0 10px 0 12px; }
.sbg-ghead { align-items: end; padding-bottom: 10px; font-size: 12px; font-weight: 600; color: var(--b-text2); text-transform: uppercase; letter-spacing: .4px;
  border-bottom: 1px solid #c7c7c7; box-sizing: border-box; background: var(--b-card); }
.sbg-ghead .r, .sbg-row .r { text-align: right; }
.sbg-gbody { overflow: hidden; }
.sbg .sbg-row { width: 100%; border: 0; border-radius: 0; background: transparent; font: inherit; color: var(--b-text); text-align: left; cursor: pointer;
  border-bottom: .5px solid var(--b-sep); min-height: 0; box-shadow: none; -webkit-tap-highlight-color: transparent; transition: background .15s; }
.sbg .sbg-row:hover { background: var(--b-fill2); color: var(--b-text); }
.sbg .sbg-row:active { background: var(--b-fill); }
.sbg-row .wbs { font-size: 12px; color: var(--b-text2); font-variant-numeric: tabular-nums; }
.sbg-row .nm { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sbg-row.child .nm { padding-left: 14px; }
.sbg-row .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sbg-row .tx { display: grid; min-width: 0; line-height: 1.2; }
.sbg-row .tx b { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbg-row.phase .tx b { font-weight: 700; }
.sbg-row .tx small { font-size: 12px; color: var(--b-text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; gap: 6px; align-items: center; }
.sbg-row .r { font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sbg-row .pc { color: var(--b-text2); }
.sbg-row.phase { background: color-mix(in srgb, var(--b-bg) 55%, #fff); }
.sbg-issue { display: inline-block; font-size: 11px; font-weight: 700; color: var(--b-blue); background: var(--b-blue-bg); border-radius: 5px; padding: 0 5px; line-height: 16px; }
.sbg-issue.big { font-size: 13px; line-height: 22px; padding: 0 7px; border-radius: 7px; }
.sbg-chart { min-width: 0; }

/* Frappe Gantt σε στυλ iOS */
.sbg .gantt-container { --g-arrow-color: #8e8e93; --g-bar-color: #e5e5ea; --g-bar-border: transparent; --g-tick-color: #f0f0f2; --g-tick-color-thick: #e3e3e8;
  --g-border-color: rgba(60,60,67,.12); --g-text-muted: rgba(60,60,67,.6); --g-text-dark: #1c1c1e; --g-progress-color: #8e8e93; --g-handle-color: #fff;
  --g-header-background: #fff; --g-row-color: #fff; --g-row-border-color: #c7c7c7; --g-today-highlight: #ff3b30; --g-weekend-highlight-color: #f7f7f9;
  font-family: var(--b-font); border-radius: 0; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.sbg .gantt .bar-label { font-family: var(--b-font); font-size: 12px; font-weight: 500; fill: #1c1c1e; }
.sbg .gantt .bar-label.big { fill: rgba(60,60,67,.75); }
.sbg .gantt .bar-wrapper .bar { outline: 0; }
.sbg .gantt .arrow { stroke: #48484a; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.sbg .gantt .arrow path { marker-end: url(#sbg-ah); transition: stroke .15s, stroke-width .15s; }
.sbg .gantt .arrow path.hi { stroke: #007aff; stroke-width: 2.4; marker-end: url(#sbg-ah-hi); }
.sbg .gantt .handle { fill: #fff; stroke: rgba(0,0,0,.2); stroke-width: .5; }
.sbg .gantt .handle.progress { fill: #fff; stroke: rgba(0,0,0,.25); }
.sbg .gantt .bar-wrapper.sbg-lift .bar { filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.sbg .gantt-container .grid-header { border-bottom-color: #c7c7c7; }
.sbg .gantt-container .upper-text { font-size: 13px; font-weight: 600; color: #1c1c1e; }
.sbg .gantt-container .lower-text { font-size: 12px; }
.sbg .gantt-container .current-highlight { background: #ff3b30; width: 2px; }
.sbg .gantt-container .current-ball-highlight { background: #ff3b30; }
.sbg .gantt-container .current-date-highlight { background: #ff3b30; color: #fff; border-radius: 6px; }
.sbg .gantt-container .side-header { display: none; }

/* χρώμα ανά κατάσταση: ανοιχτή απόχρωση για το υπόλοιπο, έντονη για την πρόοδο */
.sbg .gantt .gs-pending .bar { fill: #ffe2b8; } .sbg .gantt .gs-pending .bar-progress { fill: #ff9500; }
.sbg .gantt .gs-active .bar { fill: #cfe3ff; }  .sbg .gantt .gs-active .bar-progress { fill: #007aff; }
.sbg .gantt .gs-done .bar { fill: #34c759; }    .sbg .gantt .gs-done .bar-progress { fill: #34c759; }
.sbg .gantt .gs-overdue .bar { fill: #ffd3d0; } .sbg .gantt .gs-overdue .bar-progress { fill: #ff3b30; }
.sbg .gantt .gs-done .bar-label:not(.big), .sbg .gantt .gs-active .bar-label:not(.big) { fill: #1c1c1e; }
/* φάσεις: σκούρα λεπτή μπάρα, χωρίς σύρσιμο */
.sbg .gantt [class*="gp-"] .bar { fill: #48484a; transform: scaleY(.5); transform-box: fill-box; transform-origin: center; }
.sbg .gantt [class*="gp-"] .bar-progress { fill: #8e8e93; transform: scaleY(.5); transform-box: fill-box; transform-origin: center; }
.sbg .gantt .gp-done .bar-progress { fill: #34c759; } .sbg .gantt .gp-overdue .bar-progress { fill: #ff3b30; } .sbg .gantt .gp-active .bar-progress { fill: #5ac8fa; }
.sbg .gantt [class*="gp-"] .bar-label { font-weight: 700; }
.sbg .gantt [class*="gp-"] .bar-label:not(.big) { fill: #fff; }
.sbg .gantt [class*="gp-"] .handle { display: none; }
.sbg .gantt [class*="gp-"] { cursor: pointer; }

/* φύλλο εργασίας */
.sbg-sheet { width: min(600px, 100%); }
.sbg-statusline { display: flex; align-items: center; gap: 10px; padding: 0 16px; font-size: 15px; color: var(--b-text2); }
.sbg-unit { display: flex; align-items: center; gap: 6px; }
.sbg-unit em { font-style: normal; color: var(--b-text2); }
.sbg-progress { display: flex; align-items: center; gap: 14px; padding: 6px 16px; min-height: 52px; }
.sbg-progress input[type=range] { flex: 1; accent-color: var(--b-blue); height: 28px; }
.sbg-progress output { min-width: 48px; text-align: right; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sbg-ro { text-align: right; font-weight: 400; color: var(--b-text2); }
.sbg-dep { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 4px 6px 4px 16px; border-bottom: .5px solid var(--b-sep); }
.sbg-dep .tx { flex: 1; min-width: 0; display: grid; }
.sbg-dep .tx b { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbg-dep .tx small { font-size: 12px; color: var(--b-text2); }
.sbg-lag { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--b-text2); }
.sbb-layer .sbg-lag input { width: 56px; min-height: 34px; text-align: right; font: inherit; font-size: 15px; border: 0; border-radius: 8px; background: var(--b-fill); padding: 0 8px; color: var(--b-text); }
.sbg-adddep > span { display: flex; align-items: center; gap: 6px; color: var(--b-blue); }
.sbg-adddep > span svg { width: 18px; height: 18px; }
.sbg-issuerow { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 12px 6px 16px; color: var(--b-text); text-decoration: none; border-bottom: .5px solid var(--b-sep); }
.sbg-issuerow:hover { background: var(--b-fill2); color: var(--b-text); }
.sbg-issuerow .tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.sbg-issuerow .tx b { font-size: 16px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbg-issuerow .tx small { font-size: 13px; color: var(--b-text2); display: flex; align-items: center; gap: 6px; }
.sbg-issuerow .tx small i { width: 8px; height: 8px; border-radius: 50%; }
.sbg-issuerow > svg { width: 16px; height: 16px; color: var(--b-text2); flex: none; }
.sbg-moves { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sbg-moves .sbb-addcost + .sbb-addcost { border-left: .5px solid var(--b-sep); }
.sbb-layer .sbg-moves .sbb-addcost svg, .sbb-layer [data-issue] .sbb-addcost svg { width: 18px; height: 18px; }

/* tablet όρθιο / στενή στήλη: μικρότερος πίνακας */
@container sbg (max-width: 1000px) {
  .sbg-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sbg-prog { grid-column: 1 / -1; }
  .sbg-hint { display: none; }
  .sbg-board { grid-template-columns: var(--sbg-gw, 260px) minmax(0, 1fr); }
  .sbg-ghead, .sbg-row { grid-template-columns: 30px minmax(0, 1fr) 40px; padding: 0 8px; }
  .sbg-ghead > :nth-child(3), .sbg-ghead > :nth-child(4), .sbg-ghead > :nth-child(5),
  .sbg-row > :nth-child(3), .sbg-row > :nth-child(4), .sbg-row > :nth-child(5) { display: none; }
}
/* κινητό: μόνο το γράφημα, το όνομα πάνω στη μπάρα */
@container sbg (max-width: 699px) {
  .sbg-board { grid-template-columns: var(--sbg-gw, 136px) minmax(0, 1fr); }
  .sbg-ghead, .sbg-row { grid-template-columns: minmax(0, 1fr); padding: 0 6px 0 10px; }
  .sbg-ghead > :not(:nth-child(2)), .sbg-row > :not(.nm) { display: none; }
  .sbg-row .nm { gap: 6px; } .sbg-row.child .nm { padding-left: 8px; }
  .sbg-row .tx b { font-size: 13px; }
  .sbg-row .tx small { font-size: 11px; }
  .sbg-stats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 2px 12px 6px; scroll-snap-type: x proximity; }
  .sbg-stats::-webkit-scrollbar { display: none; }
  .sbg-prog { flex: 0 0 180px; padding: 10px 12px; } .sbg-prog .val { font-size: 18px; }
  .sbg-stat { flex: 0 0 auto; padding: 10px 12px; font-size: 14px; scroll-snap-align: start; }
  .sbg-stat span { overflow: visible; }
  .sbg-stat b { font-size: 17px; }
  .sbg-tools { flex-wrap: nowrap; padding: 0 12px 10px; gap: 8px; }
  .sbg-tools .sbb-seg { flex: 1; min-width: 0; } .sbg-tools .sbb-seg button { flex: 1; padding: 0 6px; }
}
.sbb-layer .sbg-adddep > span > svg { width: 18px; height: 18px; flex: none; }
.sbg-tools .sbb-btn.sbb-small { flex: none; }

/* 20e: baseline, ορόσημα, χωρίς ημερομηνίες, κλείδωμα, αυτόματη μετάθεση */
.sbg-tb { gap: 6px; }
.sbg-tb svg { width: 16px; height: 16px; flex: none; }
.sbg-tb span { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbg .sbg-tb.on { background: var(--b-blue-bg); color: var(--b-blue); }
.sbg .sbg-tb[data-lock].on { background: #fff4e0; color: #c26a00; }
.sbg .sbg-tb[data-auto].off { background: #ffe9e7; color: #d70015; }
.sbg-blmenu { min-width: 260px; width: max-content; max-width: min(380px, 90vw); max-height: min(60vh, 420px); overflow-y: auto; }
.sbg-blmenu a.sep { border-top: .5px solid var(--b-sep); margin-top: 4px; padding-top: 4px; }
.sbg-blmenu a svg { width: 16px; height: 16px; flex: none; }
.sbg-blnew input { width: 100%; box-sizing: border-box; margin-top: 12px; min-height: 40px; border: 0; border-radius: 10px; background: var(--b-fill);
  padding: 0 12px; font: inherit; font-size: 16px; color: var(--b-text); }
.sbg-progx { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--b-text2); }
.sbg-progx b { font-variant-numeric: tabular-nums; color: var(--b-text); }
.sbg-progx .late b { color: #ff3b30; } .sbg-progx .early b { color: #34c759; }

/* γράφημα */
.sbg .gantt .sbg-ov { pointer-events: none; }
.sbg .gantt .sbg-bl { fill: #aeaeb2; opacity: .85; }
.sbg .gantt .sbg-bl.ph { fill: #8e8e93; }
.sbg .gantt .sbg-dia { stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgba(0,0,0,.18)); }
.sbg .gantt .sbg-dia.cx { stroke: #ff3b30; stroke-width: 2.5; }
.sbg .gantt .bar-wrapper.gm .bar, .sbg .gantt .bar-wrapper.gm .bar-progress { opacity: 0; }
.sbg .gantt .bar-wrapper.gm .handle { display: none; }
.sbg .gantt .bar-wrapper.gm .bar-label { fill: rgba(60,60,67,.85); }
.sbg .gantt .bar-wrapper.gc .bar { stroke: #ff3b30; stroke-width: 2; }
.sbg .gantt .bar-wrapper.glock { cursor: pointer; }
.sbg .gantt .bar-wrapper.glock .handle { display: none; }
.sbg-nosched { padding: 40px 20px; text-align: center; }

/* πίνακας */
.sbg-row .fin { display: grid; justify-items: end; line-height: 1.1; }
.sbg-row .fin .dl { font-size: 11px; font-weight: 700; }
.sbg-row .fin .dl.late { color: #ff3b30; } .sbg-row .fin .dl.early { color: #34c759; }
.sbg-row.ms .dot { border-radius: 2px; transform: rotate(45deg) scale(.95); }
.sbg-row.cx .tx b { color: #d70015; }

/* χωρίς ημερομηνίες */
.sbg-uns { padding: 0; overflow: hidden; }
.sbg-unshead { display: flex; align-items: center; gap: 8px; padding: 14px 16px 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; color: var(--b-text2); }
.sbg-unshead b { font-weight: 600; }
.sbg-unshead span { background: var(--b-fill); border-radius: 9px; padding: 0 8px; line-height: 18px; font-weight: 600; }
.sbg .sbg-unsrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 6px 14px 6px 16px; border: 0; border-top: .5px solid var(--b-sep);
  border-radius: 0; background: transparent; font: inherit; color: var(--b-text); text-align: left; cursor: pointer; box-shadow: none; -webkit-tap-highlight-color: transparent; }
.sbg .sbg-unsrow:hover { background: var(--b-fill2); color: var(--b-text); }
.sbg-unsrow .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sbg-unsrow .tx { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.sbg-unsrow .tx b { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbg-unsrow .tx small { font-size: 12px; color: var(--b-text2); }
.sbg-unsact { font-size: 14px; color: var(--b-blue); white-space: nowrap; }
.sbg-unsrow > svg { width: 14px; height: 14px; color: var(--b-text2); flex: none; }

/* φύλλο */
.sbg-kind { margin-left: auto; }
.sbg-kind button { min-width: 96px; }
@media (max-width: 480px) { .sbb-layer .sbg-kind button { min-width: 0; padding: 0 10px; } }
.sbg-cxpill { font-size: 12px; font-weight: 600; color: #d70015; background: #ffe9e7; border-radius: 6px; padding: 1px 7px; }
.sbg-baseline { display: flex; align-items: center; gap: 10px; margin: 10px 16px 0; padding: 10px 12px; border-radius: 10px; background: var(--b-fill2); font-size: 14px; }
.sbg-baseline span { color: var(--b-text2); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbg-baseline b { font-weight: 600; font-variant-numeric: tabular-nums; }
.sbg-baseline em { font-style: normal; font-weight: 700; font-size: 13px; color: var(--b-text2); }
.sbg-baseline em.late { color: #ff3b30; } .sbg-baseline em.early { color: #34c759; }
[hidden] { display: none !important; }
@container sbg (max-width: 1000px) {
  .sbg-tb span { max-width: 120px; }
  .sbg-row > .fin { display: none; }
}
@container sbg (max-width: 699px) {
  .sbg-tools { flex-wrap: wrap; }
  .sbg-tools .sbb-seg { flex: 1 1 100%; }
  .sbg-tools > .sbb-btn.sbb-small, .sbg-tools > .sbb-menuwrap { flex: 1 1 0; min-width: 0; justify-content: center; }
  .sbg-tools > .sbb-menuwrap { display: flex; } .sbg-tools .sbb-menuwrap .sbg-tb { flex: 1; justify-content: center; }
  .sbg-tb span { display: none; }
  .sbg-unsact { display: none; }
}

/* Θέματα στο Gantt */
.sbg .sbg-isearch, .sbb-layer .sbg-isearch { width: 100%; }
.sbg-irow { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 16px; border-bottom: .5px solid var(--b-sep); cursor: pointer; }
.sbg-irow:last-child { border-bottom: 0; }
.sbg-irow[hidden] { display: none; }
.sbb-layer .sbg-irow input, .sbb-layer .sbg-all input { width: 22px; height: 22px; min-height: 0; flex: none; accent-color: var(--b-blue); margin: 0; }
.sbg-irow .tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.sbg-irow .tx b { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbg-irow .tx small { font-size: 12px; color: var(--b-text2); display: flex; align-items: center; gap: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sbg-irow .tx small i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sbb-layer .sbg-all input { justify-self: end; }
.sbb-layer .sbg-all input[type=checkbox], .sbb-layer .sbg-irow input[type=checkbox] { -webkit-appearance: checkbox; appearance: auto; width: 22px; min-height: 22px; text-align: left; }

/* φύλλο φάσης/εργασίας στο κινητό: η γραμμή baseline και οι κουμπιά μετακίνησης χωρούν στο πλάτος */
.sbg-baseline { min-width: 0; }
.sbg-moves .sbb-addcost { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbg-unit { min-width: 0; justify-content: flex-end; } .sbb-layer .sbg-unit input { min-width: 0; }

/* στήλη εργασιών: όνομα σε έως δύο γραμμές, υπεύθυνος σε μία· πλάτος με σύρσιμο της διαχωριστικής */
.sbg-row .tx { gap: 1px; }
.sbg-row .tx b { white-space: normal; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; }
.sbg-row .tx small { line-height: 1.2; }
.sbg-grid { position: relative; }
.sbg-gresize { position: absolute; top: 0; bottom: 0; right: -7px; width: 14px; z-index: 6; cursor: col-resize; touch-action: none; }
.sbg-gresize::after { content: ""; position: absolute; top: 0; bottom: 0; left: 6px; width: 2px; border-radius: 1px; background: transparent; transition: background .15s; }
.sbg-gresize:hover::after, .sbg-gresize.on::after { background: var(--b-blue); }
@media (pointer: coarse) { .sbg-gresize { right: -11px; width: 22px; } .sbg-gresize::after { left: 10px; background: var(--b-sep); } }
/* λαβή που φαίνεται (στην κεφαλίδα) και γραμμή σε απαλό μπλε στην αφή */
.sbg-ggrip { position: absolute; left: 50%; width: 22px; height: 44px; margin-left: -11px; border-radius: 11px; background: var(--b-card); border: 1.5px solid var(--b-blue);
  box-shadow: 0 2px 8px rgba(0,122,255,.22); display: flex; align-items: center; justify-content: center; gap: 3px; box-sizing: border-box; z-index: 1; transition: transform .15s; }
.sbg-ggrip i { width: 2px; height: 16px; border-radius: 1px; background: var(--b-blue); }
.sbg-gresize.on .sbg-ggrip { transform: scale(1.08); }
@media (pointer: coarse) { .sbg-gresize { right: -14px; width: 28px; } .sbg-gresize::after { left: 13px; background: color-mix(in srgb, var(--b-blue) 35%, transparent); } .sbg-gresize.on::after { background: var(--b-blue); } .sbg-ggrip { width: 26px; height: 48px; margin-left: -13px; border-radius: 13px; } }
.sbg-board { position: relative; }
.sbg-ghint { position: absolute; z-index: 7; background: var(--b-blue); color: #fff; font-size: 13px; line-height: 1.35;
  padding: 9px 12px; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.16); cursor: pointer; animation: sbgHint .25s ease-out; }
@keyframes sbgHint { from { opacity: 0; transform: translateX(6px); } to { opacity: 1; transform: none; } }
/* όνομα σε έως τρεις γραμμές όταν η εργασία δεν έχει υπεύθυνο/θέμα από κάτω (χωρά στο ίδιο ύψος γραμμής) */
.sbg-row .tx:not(:has(small)) b { -webkit-line-clamp: 3; }

/* αλλαγή σειράς με σύρσιμο στη στήλη εργασιών */
.sbg-gbody { position: relative; }
.sbg-row.sbg-dragging { opacity: .35; }
.sbg .sbg-row.sbg-ghost { z-index: 6; pointer-events: none; background: var(--b-card); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.18);
  opacity: .95; color: var(--b-text); }
.sbg-dropline { position: absolute; right: 8px; height: 2px; border-radius: 1px; background: var(--b-blue); z-index: 7; pointer-events: none; }
.sbg-dropline::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--b-blue); background: var(--b-card); box-sizing: border-box; }
.sbg-row.sbg-into { box-shadow: inset 0 0 0 2px var(--b-blue); }
body.sbg-noselect, body.sbg-noselect * { user-select: none !important; -webkit-user-select: none !important; cursor: grabbing !important; }
.sbg .sbg-row { -webkit-touch-callout: none; }

/* 22h: υποεργασίες — εσοχή ανά επίπεδο, εργασία με υποεργασίες ως «αγκύλη» με το χρώμα της κατάστασης */
.sbg-row.lv2 .nm { padding-left: 30px; }
.sbg-row.sub .tx b { font-weight: 400; }
.sbg-row.sum .tx b { font-weight: 600; }
.sbg-row.sub .dot { width: 6px; height: 6px; }
.sbg .gantt [class*="gt-"] .bar { fill: #636366; transform: scaleY(.55); transform-box: fill-box; transform-origin: center; }
.sbg .gantt [class*="gt-"] .bar-progress { transform: scaleY(.55); transform-box: fill-box; transform-origin: center; }
.sbg .gantt .gt-pending .bar-progress { fill: #ff9500; } .sbg .gantt .gt-active .bar-progress { fill: #007aff; }
.sbg .gantt .gt-done .bar-progress { fill: #34c759; } .sbg .gantt .gt-overdue .bar-progress { fill: #ff3b30; }
.sbg .gantt [class*="gt-"] .handle { display: none; }
.sbg .gantt [class*="gt-"] .bar-label:not(.big) { fill: #fff; font-weight: 600; }
.sbg-subs { padding: 0; }
.sbg-subrow { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 6px 12px 6px 16px; border: 0; border-bottom: .5px solid var(--b-sep);
  border-radius: 0; background: transparent; font: inherit; color: var(--b-text); text-align: left; cursor: pointer; box-shadow: none; }
.sbg-subrow:active { background: var(--b-fill); }
.sbg-subrow .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sbg-subrow .tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.sbg-subrow .tx b { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbg-subrow .tx small { font-size: 12px; color: var(--b-text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbg-subrow .pc { font-size: 13px; color: var(--b-text2); font-variant-numeric: tabular-nums; }
.sbg-subrow svg { width: 14px; height: 14px; color: #c7c7cc; flex: none; }
@container sbg (max-width: 699px) { .sbg-row.lv2 .nm { padding-left: 16px; } }

/* 22zzb: έγγραφα στην εργασία */
.sbg-doc { grid-template-columns: auto 1fr auto; gap: 12px; cursor: pointer; align-items: center; }
.sbg-doc .tx { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sbg-doc .tx b { font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbg-doc .tx b span { font-weight: 400; }
.sbg-doc .tx small { color: var(--b-text2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbb-layer .sbb-field .sbg-dtag { color: #fff; font-size: 10px; line-height: 1.3; font-weight: 800; letter-spacing: .04em; border-radius: 6px; padding: 3px 0; width: 52px; text-align: center; flex: none; }
.sbg-docx { border: 0; background: none; color: var(--b-text2); width: 44px; height: 44px; min-height: 0; padding: 0; margin: -6px -10px -6px 0; display: grid; place-items: center; border-radius: 10px; }
.sbg-docx:hover { background: var(--b-fill); color: var(--b-red, #ff3b30); }
.sbg-docx svg { width: 18px; height: 18px; }
.sbg-doc:hover { background: rgba(0,0,0,.025); }
.sbg-pseg { display: flex; width: 100%; } .sbg-pseg button { flex: 1; height: 34px; font-size: 15px; }
.sbg-doc.pick { grid-template-columns: auto auto 1fr; }
.sbg-doc.pick input { position: absolute; opacity: 0; pointer-events: none; }
.sbg-doc.pick .ck { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #c5cad3; box-sizing: border-box; display: grid; place-items: center; }
.sbg-doc.pick input:checked + .ck { background: var(--b-blue); border-color: var(--b-blue); }
.sbg-doc.pick input:checked + .ck::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg) translate(-1px, -1px); }
.sbg-doc.pick.had { cursor: default; } .sbg-doc.pick.had .ck { opacity: .45; }
.sbg-doc.pick input:focus-visible + .ck { outline: 2px solid var(--b-blue); outline-offset: 2px; }
.sbg-ndocs { display: inline-flex; align-items: center; gap: 2px; margin-right: 5px; padding: 0 5px 0 3px; border-radius: 5px; background: var(--b-fill); color: var(--b-text2); font-size: 11px; font-weight: 700; line-height: 16px; vertical-align: top; }
.sbg-ndocs svg { width: 11px; height: 11px; }
.sbg-issue + .sbg-ndocs { margin-left: 4px; }

/* 22zzb βήμα 4: ★ Παραδοτέο και λίστα «Παραδοτέα» */
.sbg-dact { display: inline-flex; align-items: center; gap: 2px; }
.sbg-star { border: 0; background: none; color: #b8bec9; width: 44px; height: 44px; min-height: 0; padding: 0; margin: -6px 0; display: grid; place-items: center; border-radius: 10px; }
span.sbg-star { width: 28px; }
.sbg-star svg { width: 20px; height: 20px; transition: transform .15s ease; }
.sbg-star.on { color: #ff9500; }
.sbg-star.on svg { fill: currentColor; }
.sbb-layer .sbg-doc .sbg-star { background: none; box-shadow: none; }
@media (hover: hover) { .sbb-layer .sbg-doc button.sbg-star:hover { background: var(--b-fill); } }
.sbb-layer .sbg-doc button.sbg-star:focus-visible { box-shadow: var(--ring, 0 0 0 3px rgba(0,122,255,.35)); }
button.sbg-star:active svg { transform: scale(.85); }
.sbg-tb[data-dlv] svg { width: 17px; height: 17px; }
.sbb-sheet.sbg-dlv { width: min(1000px, 96vw); max-width: none; }
.sbg-dlv header { grid-template-columns: 1fr auto 1fr; }
.sbg-dlvx { display: flex; justify-content: flex-end; gap: 4px; }
.sbg-dlvx .sbb-btn { text-decoration: none; }
.sbg-dlh, .sbg-dlr { display: grid; grid-template-columns: minmax(150px, 1.15fr) 78px minmax(200px, 1.7fr) 52px 150px; gap: 10px; align-items: center; padding: 10px 14px; }
.sbg-dlh { color: var(--b-text2); font-size: 12px; font-weight: 600; letter-spacing: .02em; padding-bottom: 6px; }
.sbg-dlr { border-top: .5px solid var(--b-sep, #e3e6ec); font-size: 15px; cursor: pointer; min-height: 48px; box-sizing: border-box; }
.sbg-dlr:hover { background: rgba(0,0,0,.025); }
.sbg-dlr .tk b { font-weight: 600; color: var(--b-text2); }
.sbg-dlr .fn, .sbg-dlr .vr { color: var(--b-text2); font-variant-numeric: tabular-nums; }
.sbg-dlr .dc { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sbg-dlr .dc b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbg-dlr .dc b span { font-weight: 400; }
.sbg-dlr .dc:hover b { color: var(--b-blue); }
.sbg-dlv .sbg-dtag { color: #fff; font-size: 10px; line-height: 1.3; font-weight: 800; letter-spacing: .04em; border-radius: 6px; padding: 3px 0; width: 52px; text-align: center; flex: none; }
.sbg-dst { display: inline-flex; align-items: center; gap: 7px; }
.sbg-dst i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sbg-dlempty { padding: 36px 20px; }
@media (max-width: 760px) {
  .sbg-dlh { display: none; }
  .sbg-dlr { grid-template-columns: 1fr auto; grid-template-areas: "dc dc" "tk tk" "st fn"; gap: 4px 10px; padding: 12px 14px; }
  .sbg-dlr .dc { grid-area: dc; } .sbg-dlr .tk { grid-area: tk; font-size: 13px; color: var(--b-text2); }
  .sbg-dlr .sbg-dst { grid-area: st; font-size: 13px; } .sbg-dlr .fn { grid-area: fn; font-size: 13px; }
  .sbg-dlr .vr { display: none; }
}

/* Primavera 2: «Εβδομαδιαίο πλάνο» */
.sbw-hb { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.sbw-hb [data-prev], .sbw-hb [data-next] { min-width: 44px; justify-content: center; font-size: 20px; }
.sbw-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.sbw-stat { padding: 14px 16px; }
.sbw-stat .lbl { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--b-text2); }
.sbw-stat .val { font-size: 28px; font-weight: 700; line-height: 1.2; }
.sbw-stat .sub { font-size: 12.5px; color: var(--b-text2); }
.sbw-row { display: grid; grid-template-columns: minmax(220px, 1.6fr) repeat(6, minmax(34px, 1fr)) 150px; gap: 8px; align-items: center; }
.sbw-head { padding: 0 14px 6px; color: var(--b-text2); font-size: 12px; font-weight: 600; }
.sbw-head .today { color: var(--b-blue); }
.sbw-grp { padding: 0; margin-bottom: 14px; overflow: hidden; }
.sbw-gh { display: flex; align-items: baseline; gap: 10px; padding: 12px 14px; background: var(--b-fill2); }
.sbw-gh b { font-size: 16px; } .sbw-gh span { color: var(--b-text2); font-size: 13px; }
.sbw-item { padding: 10px 14px; border-top: .5px solid var(--b-sep); min-height: 52px; box-sizing: border-box; }
.sbw-item.ed { cursor: pointer; } .sbw-item.ed:hover { background: rgba(0,0,0,.025); }
.sbw-item .tt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sbw-item .tt b { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbw-item .tt small { display: flex; gap: 8px; min-width: 0; font-size: 12.5px; color: var(--b-text2); }
.sbw-item .tt .lk { color: var(--b-blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; display: inline-flex; align-items: center; gap: 3px; }
.sbw-item .tt .lk svg { width: 13px; height: 13px; flex: none; }
.sbw-item .tt .dl { display: none; white-space: nowrap; }
.sbw-item .dc { height: 22px; border-radius: 6px; border: .5px dashed var(--b-sep); box-sizing: border-box; }
.sbw-item .dc.today { border-color: rgba(0,122,255,.45); }
.sbw-item .dc.on { background: var(--b-blue); border: 0; opacity: .9; }
.sbw-st { justify-self: start; font-size: 12.5px; font-weight: 700; border-radius: 7px; padding: 3px 9px; white-space: nowrap; }
.sbw-st.plan { color: var(--b-text2); background: var(--b-fill); }
.sbw-st.done { color: #248a3d; background: var(--b-green-bg); }
.sbw-st.missed { color: #d70015; background: var(--b-red-bg); }
.sbw-days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 10px 12px; }
.sbw-days button { border: 0; background: var(--b-fill); color: var(--b-text); border-radius: 10px; min-height: 52px; font: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; }
.sbw-days button small { font-size: 12px; color: var(--b-text2); }
.sbw-days button.on { background: var(--b-blue); color: #fff; } .sbw-days button.on small { color: rgba(255,255,255,.85); }
.sbw-del { color: var(--b-red); display: flex; align-items: center; gap: 8px; }
.sbw-del svg { width: 18px; height: 18px; }
.sbw textarea, .sbg-sheet textarea[name=note] { width: 100%; box-sizing: border-box; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 12px 14px; resize: vertical; color: var(--b-text); }
.sbw-stat .sub .up, .sbw-ppc .up { color: #248a3d; } .sbw-stat .sub .down, .sbw-ppc .down { color: #d70015; }
.sbw-gh em { margin-left: auto; font-style: normal; color: var(--b-text2); font-size: 13px; } .sbw-gh em b { font-size: 16px; margin-left: 4px; }
.sbw-item.mk { cursor: pointer; }
.sbw-stc { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.sbw-stc small { font-size: 12px; color: var(--b-text2); padding-left: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
button.sbw-st { border: 0; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; min-height: 0; }
button.sbw-st::after { content: " ▾"; font-weight: 400; opacity: .6; }
button.sbw-st:hover { filter: brightness(.96); }
.sbw-quick { display: none; }
.sbw-mt { flex-direction: column; align-items: flex-start !important; gap: 2px; padding-top: 10px; padding-bottom: 10px; }
.sbw-mt small { color: var(--b-text2); font-size: 13px; }
.sbw-sts { display: grid !important; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 10px 12px !important; }
.sbw-sts button, .sbw-rs button { border: 0; background: var(--b-fill); color: var(--b-text); border-radius: 10px; min-height: 48px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 0 8px; }
.sbw-sts button svg { width: 16px; height: 16px; }
.sbw-sts button.done.on { background: var(--b-green); color: #fff; } .sbw-sts button.missed.on { background: var(--b-red); color: #fff; } .sbw-sts button.plan.on { background: #8e8e93; color: #fff; }
.sbw-rs { display: flex !important; flex-wrap: wrap; gap: 8px; padding: 10px 12px !important; }
.sbw-rs button { min-height: 40px; font-size: 14px; font-weight: 500; padding: 0 14px; border-radius: 20px; }
.sbw-rs button.on { background: rgba(255,149,0,.16) !important; color: #b25000 !important; font-weight: 700; box-shadow: inset 0 0 0 2px var(--b-orange); }
.sbw-mark textarea[name=note] { width: 100%; box-sizing: border-box; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 12px 14px; resize: vertical; color: var(--b-text); }
.sbw-bars { display: flex; align-items: flex-end; gap: 6px; padding: 16px 14px 12px; height: 190px; box-sizing: content-box; }
.sbw-bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; height: 100%; }
.sbw-bars .b b { font-size: 12.5px; } .sbw-bars .b i { width: min(34px, 70%); border-radius: 7px 7px 3px 3px; display: block; }
.sbw-bars .b small { font-size: 11.5px; color: var(--b-text2); white-space: nowrap; }
.sbw-pr { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr) 1.2fr; gap: 8px; padding: 11px 14px; border-top: .5px solid var(--b-sep); font-size: 15px; align-items: center; }
.sbw-pr.sbw-ph { border-top: 0; color: var(--b-text2); font-size: 12px; font-weight: 600; padding-bottom: 6px; }
.sbw-rr { display: grid; grid-template-columns: 170px 1fr 30px; gap: 10px; align-items: center; padding: 9px 14px; font-size: 14.5px; }
.sbw-rr i { height: 12px; border-radius: 6px; background: var(--b-orange); display: block; } .sbw-rr b { text-align: right; }
.sbw-none { color: var(--b-text2); }
@media (max-width: 760px) {
  .sbw-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; grid-column: 1 / -1; margin-top: 8px; }
  .sbw-quick .sbb-btn { justify-content: center; font-weight: 700; min-height: 44px; }
  .sbw .sbw-quick .sbb-btn.ok { color: #248a3d !important; } .sbw .sbw-quick .sbb-btn.no { color: #d70015 !important; } .sbw-quick svg { width: 16px; height: 16px; }
  .sbw-item:has(.sbw-quick) button.sbw-st { display: none; }
  .sbw-pr { grid-template-columns: 1.4fr .8fr .8fr; font-size: 14px; } .sbw-pr > :nth-child(2), .sbw-pr > :nth-child(4) { display: none; } .sbw-pr > :nth-child(6) { display: none; }
  .sbw-rr { grid-template-columns: 120px 1fr 24px; font-size: 13.5px; }
  .sbw-sts { grid-template-columns: 1fr 1fr; } .sbw-sts button.plan { grid-column: 1 / -1; }
  .sbw-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .sbw-stat { padding: 10px 12px; } .sbw-stat .val { font-size: 22px; } .sbw-stat .lbl { font-size: 10.5px; } .sbw-stat .sub { display: none; }
  .sbw-head { display: none; }
  .sbw-row.sbw-item { grid-template-columns: 1fr auto; padding: 12px 14px; }
  .sbw-item .dc { display: none; }
  .sbw-item .tt small { flex-wrap: wrap; row-gap: 0; }
  .sbw-item .tt .dl { display: inline; order: -1; color: var(--b-text); font-weight: 500; }
  .sbw-hb .lbl-long { display: none; }
}

/* Primavera 2, βήμα 3: εμπόδια */
.sbw-lay { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.sbw-main { min-width: 0; }
.sbw-ah { display: flex; align-items: center; gap: 8px; margin: 0 2px 8px; min-height: 36px; }
.sbw-ah b { font-size: 17px; flex: 1; }
.sbw-ah .sbb-btn { flex: none !important; width: auto !important; min-width: 0 !important; padding: 0 12px !important; white-space: nowrap; gap: 4px; }
.sbw-ah .sbb-btn svg { width: 14px; height: 14px; }
.sbw-bc { padding: 12px 14px 12px 18px; margin-bottom: 10px; box-shadow: inset 4px 0 0 var(--b-orange), var(--b-shadow); cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.sbw-bc b { font-weight: 600; font-size: 15px; color: var(--b-text) !important; }
.sbw-bc small { color: var(--b-text2); font-size: 12.5px; }
.sbw-bc small.due { color: var(--b-text); }
.sbw-bc small.lk { color: var(--b-blue); }
.sbw-bc small.ok { color: #248a3d; font-weight: 600; }
.sbw-bc.late { box-shadow: inset 4px 0 0 var(--b-red), var(--b-shadow); } .sbw-bc.late small.due { color: #d70015; font-weight: 700; }
.sbw-bc.done { box-shadow: inset 4px 0 0 var(--b-green), var(--b-shadow); opacity: .75; }
.sbw-bc:hover { filter: brightness(.985); }
.sbw-bnone { padding: 14px 4px; font-size: 14px; }
.sbw-bl { color: #d70015; font-weight: 700; background: var(--b-red-bg); border-radius: 5px; padding: 0 6px; line-height: 17px; white-space: nowrap; flex: none; }
.sbw-res { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.sbw-res.ok { color: #248a3d; } .sbw-res svg { width: 18px; height: 18px; }
@media (max-width: 1100px) {
  .sbw-lay { grid-template-columns: minmax(0, 1fr); }
  .sbw-aside { margin-top: 6px; }
}
@media (min-width: 761px) and (max-width: 1100px) { .sbw-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .sbw-stats { grid-template-columns: repeat(2, 1fr) !important; } }
/* Primavera 3: αναμενόμενο παραδοτέο */
.sbg-expt { flex: none; width: 46px; height: 24px; border-radius: 7px; border: 1.5px dashed #8e8e93; color: #8e8e93; display: flex; align-items: center; justify-content: center; }
.sbg-expt svg { width: 15px; height: 15px; }
.sbg-exp.late .sbg-expt { border-color: var(--b-red, #ff3b30); color: var(--b-red, #ff3b30); }
.sbg-exp.late small { color: var(--b-red, #ff3b30) !important; }
.sbg-expk { display: flex; gap: 6px; }
.sbg-dlr .dc .sbg-expt { width: 40px; height: 20px; margin-right: 8px; }
.sbg-rv { font-size: 12.5px; font-weight: 700; border-radius: 7px; padding: 3px 8px; white-space: nowrap; justify-self: start; }
.sbg-rv.open { color: #007aff; background: rgba(0,122,255,.10); }
.sbg-rv.ok { color: #1f9d47; background: rgba(52,199,89,.13); }
.sbg-rv.okc { color: #b86e00; background: rgba(255,149,0,.15); }
.sbg-rv.no, .sbg-rv.late { color: #e0332a; background: rgba(255,59,48,.11); }
.sbg-rv.wait, .sbg-rv.none { color: #6b6b72; background: rgba(118,118,128,.12); }
.sbg-rv.blank { background: none; color: var(--b-muted, #8e8e93); }
/* Primavera 8: ⚠ ανοιχτός Υψηλός/Κρίσιμος κίνδυνος στην εργασία */
.sbg-risk { display: inline-block; margin-right: 5px; padding: 0 5px; border-radius: 5px; font-size: 11px; font-weight: 700; line-height: 16px; vertical-align: top; cursor: pointer; }
.sbg-risk.high { color: #c25e00; background: rgba(255,149,0,.18); }
.sbg-risk.crit { color: #d70015; background: rgba(255,59,48,.14); }
/* Θέματα με υποθέματα στο «Από Θέματα» */
.sbg-irow.sbg-isub{padding-left:44px;background:rgba(118,118,128,.05)}
.sbg-irow.sbg-isub input{opacity:.6}
.sbg-iarr{color:#8e8e93;margin-right:4px}
.sbg-ikids{color:#007aff;font-style:normal;font-weight:600}

/* Primavera 12: εγκεκριμένες ώρες εργασίας */
.sbg-hrs{font-variant-numeric:tabular-nums}.sbg-hrs.over{color:#d70015}
/* 22zzk: παράδοση υλικού */
.sbg-dlv { display: inline-block; margin-right: 5px; padding: 0 5px; border-radius: 5px; font-size: 11px; font-weight: 700; line-height: 16px; vertical-align: top; cursor: pointer; color: #6b6b72; background: rgba(118,118,128,.14); }
.sbg-dlv.bad { color: #d70015; background: rgba(255,59,48,.12); }
/* 22zzm Γ1: πρόταση προόδου */
.sbg-sug{display:inline-block;width:7px;height:7px;border-radius:50%;background:#34c759;margin-left:4px;vertical-align:middle}
.sbg-sugbox{margin:8px 0 4px;padding:10px 12px;border-radius:12px;background:rgba(52,199,89,.08)}
.sbg-sugh{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin-bottom:4px}
.sbg-sugh em{font-style:normal;color:#248a3d}
.sbg-sugr{display:flex;align-items:center;gap:8px;padding:6px 0;border-top:.5px solid rgba(60,60,67,.12);font-size:14px}
.sbg-sugr .tx{flex:1}.sbg-sugr small{display:block;font-size:12.5px;color:rgba(60,60,67,.6)}
.sbg-sugb{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px}
/* 22zzm Γ2 */
.sbw-draft{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;margin:0 0 12px;border-left:4px solid #007aff}
.sbw-draft .tx{flex:1;min-width:220px}.sbw-draft small{display:block;color:rgba(60,60,67,.6);font-size:13px}
.sbw-dpill{font-size:11px;font-weight:650;color:#007aff;background:rgba(0,122,255,.1);border-radius:6px;padding:1px 6px;vertical-align:middle}
.sbw-dpill{align-self:flex-start;width:fit-content}
