/* Ecranele balastierei DCG — aşezarea din platforma lui Cristi
   (Platforma_DCG_TEST_BRAZI, 27 oct 2026), în culorile DYAD.
   Totul e sub .dcg, ca restul ERP-ului să nu fie atins.
   Violetul lui (#7068ff) → portocaliul DYAD; degradeurile → portocaliu → chihlimbar;
   verde / galben / roşu rămân cu acelaşi înţeles. */

.dcg {
    --dcg-soft: #FAFAFB;
    --dcg-line: var(--bd);
    --dcg-grad: linear-gradient(135deg, var(--or), var(--amber));
    --dcg-nat: var(--or);          /* staţia de naturale (la Cristi: violet) */
    --dcg-nat-l: #FEF1E4;
    --dcg-nat-b: #F9CFA6;
    --dcg-cru: #F4C84D;            /* concasor (galben) */
    --dcg-cru-l: #FFF8E6;
    --dcg-cru-b: #FFE0A8;
    --dcg-ps: #63CB88;             /* concasate / Powerscreen (verde) */
    --dcg-off: #F4F5F7;
    --dcg-free-l: #FCE9ED;
    --dcg-free-b: #E7A2AE;
    --dcg-free-t: #AD344E;
    --dcg-sh: 0 10px 34px rgba(16, 24, 40, .07);
}

/* ── antetul paginii ── */
.dcg .dcg-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.dcg .dcg-logo { font-size: 24px; font-weight: 800; letter-spacing: -.6px; color: var(--ink); line-height: 1.1; }
.dcg .dcg-logo span { color: var(--or); }
.dcg .dcg-sub { font-size: 12px; color: var(--mut); margin-top: 3px; }
.dcg .dcg-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dcg .dcg-btn, .dcg .dcg-sel {
    border: 1px solid var(--dcg-line); border-radius: 11px; background: #fff; color: var(--txt);
    font-size: 12px; font-weight: 700; padding: 8px 12px; height: 36px; font-family: inherit;
}
.dcg .dcg-btn { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.dcg .dcg-btn:hover { border-color: var(--or); color: var(--or-d); }
.dcg .dcg-btn:disabled { opacity: .55; cursor: default; }
.dcg .dcg-btn.primary { color: #fff; border: 0; background: var(--dcg-grad); box-shadow: 0 8px 20px rgba(245, 130, 32, .25); }
.dcg .dcg-btn.primary:hover { color: #fff; filter: brightness(1.03); }
.dcg .dcg-status { font-size: 12px; font-weight: 700; color: var(--txt); background: #fff; border: 1px solid var(--dcg-line); padding: 8px 12px; border-radius: 999px; }
.dcg .dcg-status::before { content: "●"; color: var(--ok); margin-right: 6px; }
.dcg .dcg-status.ciorna::before { color: var(--warn); }

/* ── grila de carduri ── */
.dcg .dcg-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.dcg .dcg-card {
    background: var(--surface); border: 1px solid var(--dcg-line); border-radius: 18px;
    box-shadow: var(--dcg-sh); padding: 18px; position: relative; min-width: 0;
}
.dcg .s12 { grid-column: span 12; } .dcg .s8 { grid-column: span 8; } .dcg .s7 { grid-column: span 7; }
.dcg .s6 { grid-column: span 6; } .dcg .s5 { grid-column: span 5; } .dcg .s4 { grid-column: span 4; }
.dcg .dcg-title { font-size: 15px; font-weight: 800; color: var(--ink); }
.dcg .dcg-desc { font-size: 12px; color: var(--mut); margin: 3px 0 13px; }
.dcg .dcg-empty { font-size: 12.5px; color: var(--mut); padding: 18px; text-align: center; }

/* ── fluxul tehnologic (7 casete) ── */
.dcg .dcg-flow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 9px; }
.dcg .dcg-flowbox { border-radius: 15px; border: 1px solid var(--dcg-line); background: linear-gradient(145deg, #fff, var(--dcg-soft)); padding: 13px 8px; text-align: center; }
.dcg .dcg-flowbox .fv { font-family: var(--mono); font-size: 19px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.dcg .dcg-flowbox .fl { font-size: 11px; color: var(--mut); font-weight: 700; text-transform: uppercase; margin-top: 5px; letter-spacing: .03em; }
.dcg .dcg-flowbox.hot { border-color: var(--dcg-nat-b); background: linear-gradient(145deg, #fff, var(--or-l)); }
.dcg .dcg-flowbox.hot .fv { color: var(--or-d); }

/* ── graficul producţie vs vânzări ── */
.dcg .dcg-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.dcg .dcg-chart .gl { stroke: #EEF0F3; }
.dcg .dcg-chart .ax { fill: #98A2B3; font-size: 11px; font-family: var(--mono); }
.dcg .dcg-legend { display: flex; gap: 18px; font-size: 12px; color: var(--mut); margin-top: 6px; flex-wrap: wrap; }
.dcg .dcg-legend b { color: var(--ink); }

/* ── ţinta (gauge) ── */
.dcg .dcg-gaugewrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px; align-items: center; }
.dcg .dcg-gauge { width: 100%; max-width: 200px; aspect-ratio: 1; position: relative; margin: auto; }
.dcg .dcg-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dcg .dcg-gcenter { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.dcg .dcg-gpct { font-size: 30px; font-weight: 800; color: var(--ink); font-family: var(--mono); letter-spacing: -1px; }
.dcg .dcg-gsub { font-size: 12px; color: var(--mut); font-weight: 700; }
.dcg .dcg-stack { display: grid; gap: 8px; }
.dcg .dcg-stat { border: 1px solid var(--dcg-line); background: var(--dcg-soft); border-radius: 13px; padding: 9px 11px; }
.dcg .dcg-stat .sl { font-size: 11px; color: var(--mut); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.dcg .dcg-stat .sv { font-size: 17px; font-weight: 800; margin-top: 3px; font-family: var(--mono); color: var(--ink); }

/* ── controlul stocului pe sorturi ── */
.dcg .dcg-tabs { display: flex; gap: 7px; margin-bottom: 10px; flex-wrap: wrap; }
.dcg .dcg-tab { border: 0; border-radius: 999px; padding: 6px 11px; background: #F0F1F4; color: var(--mut); font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; }
.dcg .dcg-tab.active { background: var(--or); color: #fff; }
.dcg .dcg-stockrow { display: grid; grid-template-columns: 1.5fr .75fr .75fr .75fr 1.5fr; gap: 10px; align-items: center; border-bottom: 1px solid #F0F1F4; padding: 8px 0; font-size: 12px; }
.dcg .dcg-stockrow > div:not(:first-child) { text-align: center; font-family: var(--mono); font-weight: 600; }
.dcg .dcg-stockrow.head { font-size: 11px; color: var(--mut); text-transform: uppercase; font-weight: 700; letter-spacing: .03em; }
.dcg .dcg-stockrow.head > div { font-family: inherit !important; }
.dcg .dcg-stockrow .sort-nume { font-weight: 700; color: var(--ink); }
.dcg .dcg-track { height: 8px; border-radius: 999px; background: #EEF0F4; overflow: hidden; }
.dcg .dcg-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--or), var(--amber)); }
.dcg .dcg-fill.neg { background: var(--bad); }

/* ── mix producţie (donut) + livrări azi ── */
.dcg .dcg-donutwrap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; }
.dcg .dcg-donut { position: relative; width: 100%; max-width: 190px; aspect-ratio: 1; margin: auto; }
.dcg .dcg-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dcg .dcg-dcenter { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dcg .dcg-dcenter .dv { font-size: 22px; font-weight: 800; font-family: var(--mono); color: var(--ink); }
.dcg .dcg-dcenter .dl { font-size: 11px; color: var(--mut); font-weight: 700; }
.dcg .dcg-mixlist { display: grid; gap: 9px; }
.dcg .dcg-mixitem { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; font-size: 12px; }
.dcg .dcg-mixitem b { font-family: var(--mono); }
.dcg .dcg-sw { width: 9px; height: 9px; border-radius: 50%; }
.dcg .dcg-today { margin-top: 16px; border-radius: 16px; padding: 15px; background: linear-gradient(145deg, var(--or-l2), #FFF6E5); border: 1px solid var(--dcg-nat-b); }
.dcg .dcg-today .tv { font-size: 30px; font-weight: 800; color: var(--or-d); font-family: var(--mono); letter-spacing: -1px; margin-top: 6px; }
.dcg .dcg-today .ts { font-size: 12px; color: var(--mut); font-weight: 700; margin-top: 2px; }

/* ── calendarul operaţional ── */
.dcg .dcg-heatlegend { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.dcg .dcg-pill { border-radius: 999px; padding: 5px 10px; font-size: 11.5px; font-weight: 700; border: 1px solid var(--dcg-line); background: #fff; color: var(--txt); }
.dcg .dcg-pill.nat { background: var(--dcg-nat-l); color: var(--or-d); border-color: var(--dcg-nat-b); }
.dcg .dcg-pill.cru { background: var(--dcg-cru-l); color: #8A6100; border-color: var(--dcg-cru-b); }
.dcg .dcg-pill.sal { background: #fff; color: var(--or-d); border-color: var(--or); }
.dcg .dcg-pill.off { background: var(--dcg-off); color: var(--mut); }
.dcg .dcg-pill.free { background: var(--dcg-free-l); color: var(--dcg-free-t); border-color: var(--dcg-free-b); }
.dcg .dcg-heat { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.dcg .dcg-cell {
    min-height: 92px; border-radius: 14px; background: var(--dcg-off); border: 1px solid #ECEEF2; padding: 9px;
    display: flex; flex-direction: column; justify-content: space-between; font-size: 11px; color: var(--txt); text-decoration: none;
}
.dcg a.dcg-cell:hover { border-color: var(--or); }
.dcg .dcg-cell.gol { background: transparent; border: 0; }
.dcg .dcg-cell .top { display: flex; justify-content: space-between; align-items: baseline; }
.dcg .dcg-cell .dn { font-size: 15px; font-weight: 800; color: var(--ink); }
.dcg .dcg-cell .dw { font-size: 10px; font-weight: 700; color: var(--mut); text-transform: uppercase; }
.dcg .dcg-cell .act { font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--mut); line-height: 1.25; margin-top: 4px; }
.dcg .dcg-cell .qty { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--ink); }
.dcg .dcg-cell .sale { font-size: 10.5px; font-weight: 700; color: var(--or-d); margin-top: 2px; }
.dcg .dcg-cell.nat { background: linear-gradient(145deg, #FFF8F1, var(--dcg-nat-l)); border-color: var(--dcg-nat-b); }
.dcg .dcg-cell.nat .act { color: var(--or-d); }
.dcg .dcg-cell.cru { background: linear-gradient(145deg, #FFFBF0, #FFEDC9); border-color: var(--dcg-cru-b); }
.dcg .dcg-cell.cru .act { color: #8A6100; }
.dcg .dcg-cell.mix { background: linear-gradient(145deg, var(--dcg-nat-l), #FFEDC9); border-color: var(--dcg-nat-b); }
.dcg .dcg-cell.mix .act { color: var(--or-d); }
.dcg .dcg-cell.sales { box-shadow: inset 0 -4px 0 rgba(245, 130, 32, .65); }
.dcg .dcg-cell.free { background: var(--dcg-free-l); border: 2px solid var(--dcg-free-b); }
.dcg .dcg-cell.free .act, .dcg .dcg-cell.free .dn { color: var(--dcg-free-t); }
.dcg .dcg-cell.azi { outline: 2px solid var(--or); outline-offset: 1px; }

/* ── alerte + top 5 ── */
.dcg .dcg-alerts { display: grid; gap: 8px; }
.dcg .dcg-alert { border-radius: 13px; padding: 11px 13px; font-size: 12px; line-height: 1.45; font-weight: 700; border: 1px solid var(--dcg-line); background: var(--dcg-soft); color: var(--txt); }
.dcg .dcg-alert.warn { background: #FFF7E6; border-color: #FFE3A8; color: #74531A; }
.dcg .dcg-alert.hot { background: #FFF0F1; border-color: #FFD0D5; color: #A13B47; }
.dcg .dcg-alert.good { background: #EDFBF2; border-color: #BFEACD; color: #20663B; }
.dcg .dcg-split > div + div { border-top: 1px solid var(--dcg-line); padding-top: 14px; margin-top: 14px; }
.dcg .dcg-top { display: grid; gap: 7px; margin-top: 4px; }
.dcg .dcg-topitem { display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; align-items: center; font-size: 12px; }
.dcg .dcg-topitem .rk { width: 22px; height: 22px; border-radius: 7px; background: var(--or-l); color: var(--or-d); font-weight: 800; display: grid; place-items: center; font-size: 11px; }
.dcg .dcg-topitem b { font-family: var(--mono); }

/* ── lista „ce mai e de făcut" ── */
.dcg .dcg-todo { display: grid; gap: 8px; }
.dcg .dcg-todoitem { display: flex; align-items: center; gap: 10px; font-size: 12.5px; padding: 9px 11px; border: 1px solid var(--dcg-line); border-radius: 12px; background: var(--dcg-soft); }
.dcg .dcg-todoitem .sp { flex: 1; }

/* ── formularul zilei (Introducere zilnică) ── */
.dcg .dcg-form { max-width: 1540px; }
.dcg .dcg-ftitle { font-size: 12px; font-weight: 800; padding: 8px 11px; border-radius: 10px; background: var(--or-l); color: var(--or-d); margin: 16px 0 9px; letter-spacing: .03em; text-transform: uppercase; }
.dcg .dcg-ftitle:first-child { margin-top: 0; }
.dcg .dcg-ftitle.auto { background: #F2F4F7; color: var(--mut); }
.dcg .dcg-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dcg .dcg-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.dcg .dcg-field > span.lb { font-size: 12px; color: var(--mut); font-weight: 700; }
.dcg .dcg-field input, .dcg .dcg-field select {
    width: 100%; border: 1px solid var(--dcg-line); border-radius: 10px; padding: 8px 10px; font-size: 13px;
    background: #fff; color: var(--ink); height: 36px; font-family: inherit; box-sizing: border-box;
}
.dcg .dcg-field input.num { font-family: var(--mono); text-align: right; }
.dcg .dcg-field input:focus, .dcg .dcg-field select:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 3px rgba(245, 130, 32, .15); }
.dcg .dcg-field input:disabled, .dcg .dcg-field select:disabled, .dcg .dcg-field input[readonly], .dcg .dcg-field .ro {
    background: #F2F4F7; color: var(--txt); border-color: #E9EBEF;
}
.dcg .dcg-field .ro { border: 1px solid #E9EBEF; border-radius: 10px; padding: 8px 10px; height: 36px; font-family: var(--mono); text-align: right; font-size: 13px; box-sizing: border-box; white-space: nowrap; overflow: hidden; }
.dcg .dcg-field .ro.zero { color: #B0B7C3; }
.dcg .dcg-field .hint { font-size: 11px; color: var(--mut); }
.dcg .dcg-field.lat { grid-column: span 2; }
.dcg .dcg-field .cu-sufix { display: flex; gap: 6px; align-items: center; }
.dcg .dcg-field .cu-sufix input { flex: 1; }
.dcg .dcg-field .cu-sufix .sufix { font-size: 12px; color: var(--mut); }
.dcg .dcg-equip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dcg .dcg-equipbox { border: 1px solid var(--dcg-line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.dcg .dcg-equipbox .hd { display: flex; align-items: center; margin-bottom: 8px; font-size: 12.5px; font-weight: 700; }
.dcg .dcg-equipbox .hd .ore { margin-left: auto; font-family: var(--mono); font-size: 11.5px; background: var(--or-l); color: var(--or-d); border-radius: 6px; padding: 2px 8px; }
.dcg .dcg-equipbox .rw { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.dcg .dcg-note { margin-top: 8px; padding: 9px 12px; border-radius: 10px; font-size: 12px; line-height: 1.5; background: var(--dcg-soft); border: 1px solid var(--dcg-line); color: var(--txt); }
.dcg .dcg-note.bad { background: #FEF3F2; border-color: #FECDCA; color: #B42318; }
.dcg .dcg-note.good { background: #EDFBF2; border-color: #BFEACD; color: #20663B; }
.dcg .dcg-sales { margin-top: 18px; padding: 14px; border-radius: 16px; background: linear-gradient(145deg, #FFF9E9, #F1FAEF); border: 2px solid #F0C65E; }
.dcg .dcg-sales .dcg-ftitle { margin-top: 0; background: linear-gradient(135deg, #F4C84D, #63CB88); color: #25302A; display: flex; align-items: center; }
.dcg .dcg-sales .dcg-ftitle a { margin-left: auto; color: #25302A; font-size: 11.5px; text-transform: none; letter-spacing: 0; }
.dcg .dcg-savebar {
    position: sticky; bottom: 10px; z-index: 5; margin-top: 16px; background: rgba(255, 255, 255, .97);
    border: 1px solid var(--dcg-line); box-shadow: 0 12px 35px rgba(16, 24, 40, .15); padding: 10px 12px; border-radius: 15px;
    display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.dcg .dcg-savebar .prev { font-size: 12px; color: var(--txt); flex: 1 1 420px; min-width: 0; }
.dcg .dcg-savebar .prev b { font-family: var(--mono); }
.dcg .dcg-savebar .btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── stocuri: carduri pe sort ── */
.dcg .dcg-stockgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.dcg .dcg-stock { border: 1px solid var(--dcg-line); border-radius: 15px; padding: 12px 13px; background: #fff; display: flex; flex-direction: column; }
.dcg .dcg-stock .nm { font-size: 12px; color: var(--mut); font-weight: 700; min-height: 16px; }
.dcg .dcg-stock .vl { font-size: 23px; font-weight: 800; margin-top: 4px; font-family: var(--mono); color: var(--ink); letter-spacing: -.5px; }
.dcg .dcg-stock .ul { font-size: 11px; color: var(--mut); margin-top: 2px; }
.dcg .dcg-stock .bt { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.dcg .dcg-stock .bt .dcg-btn { height: 30px; padding: 5px 10px; }
.dcg .dcg-stock.ok { border-left: 4px solid var(--ok); }
.dcg .dcg-stock.low { border-left: 4px solid var(--warn); background: #FFFBF2; }
.dcg .dcg-stock.neg { border-left: 4px solid var(--bad); background: #FFF6F6; }
.dcg .dcg-stock.neg .vl { color: var(--bad); }
.dcg .dcg-stock.zero .vl { color: #B0B7C3; }
.dcg .dcg-grouptitle { font-size: 12px; font-weight: 800; color: var(--mut); text-transform: uppercase; letter-spacing: .04em; margin: 16px 0 8px; display: flex; gap: 8px; align-items: baseline; }
.dcg .dcg-grouptitle b { color: var(--ink); font-family: var(--mono); }
.dcg .dcg-summary { margin-top: 14px; border-radius: 13px; padding: 11px 13px; font-size: 12px; font-weight: 700; line-height: 1.5; background: #EDFBF2; border: 1px solid #BFEACD; color: #20663B; }

/* ── tabele simple (istoric, sumar, corecţii) ── */
.dcg .dcg-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.dcg .dcg-table th { font-size: 11px; color: var(--mut); text-transform: uppercase; padding: 8px; border-bottom: 1px solid var(--dcg-line); text-align: center; font-weight: 700; letter-spacing: .03em; white-space: normal; line-height: 1.25; background: transparent; }
.dcg .dcg-table td { padding: 8px 6px; border-bottom: 1px solid #F0F1F4; text-align: center; font-family: var(--mono); white-space: nowrap; }
.dcg .dcg-table td.tx { font-family: inherit; text-align: left; white-space: normal; }
.dcg .dcg-table th.tx { text-align: left; }
.dcg .dcg-table td.pos { color: var(--ok); font-weight: 700; }
.dcg .dcg-table td.neg { color: var(--bad); font-weight: 700; }
.dcg .dcg-table td.zero { color: #B0B7C3; }
.dcg .dcg-table tr.tot td { font-weight: 800; background: var(--or-l2); border-top: 1px solid var(--dcg-nat-b); }
.dcg .dcg-table tbody tr:hover td { background: var(--dcg-soft); }
.dcg .dcg-table a { color: var(--or-d); font-weight: 700; font-family: inherit; }
.dcg .dcg-scroll { overflow-x: auto; }

/* ── responsive: sub 1100 px cardurile trec unul sub altul ── */
@media (max-width: 1100px) {
    .dcg .s8, .dcg .s7, .dcg .s5, .dcg .s4 { grid-column: span 12; }
    .dcg .dcg-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .dcg .s4, .dcg .s5, .dcg .s6 { grid-column: span 12; }
    .dcg .dcg-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dcg .dcg-equip { grid-template-columns: 1fr; }
    .dcg .dcg-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dcg .dcg-heat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dcg .dcg-cell.gol { display: none; }
}

/* ── sume în lei pe casetele financiare (etapa 4): cifre mai lungi decât tonele ── */
.dcg .dcg-flow.bani .fv { font-size: clamp(13px, 1.25vw, 18px); }
/* tabelele financiare (etapa 4): sumele la dreapta, eticheta la stânga, totalul evidenţiat */
.dcg .dcg-table th.r, .dcg .dcg-table td.r { text-align: right; }
.dcg .dcg-table th.l, .dcg .dcg-table td.l { text-align: left; font-family: inherit; }
.dcg .dcg-table tr.total td { font-weight: 800; background: var(--or-l2); border-top: 1px solid var(--dcg-nat-b); }
.dcg .dcg-table .mic-tag { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 700; color: var(--mut); text-transform: uppercase; letter-spacing: .03em; }
.dcg .dcg-table .sus { color: var(--ok); font-weight: 700; } .dcg .dcg-table .jos { color: var(--bad); font-weight: 700; }

/* Calendarul din Control Tower: o culoare pe fiecare fel de zi, ca în platforma lui Cristi
   (drawHeat): violet = doar naturale, galben = doar concasor, violet→galben = amândouă,
   gri = fără producţie, roz = zi liberă; dunga portocalie de jos = livrări (11 nov 2026). */
.dcg .dcg-cell.nat { background: linear-gradient(145deg, #F6F4FF, #EEEBFF); border-color: #D6D0FF; }
.dcg .dcg-cell.nat .act { color: #5B4FD6; }
.dcg .dcg-cell.cru { background: linear-gradient(145deg, #FFF8EA, #FFEDC9); border-color: #FFD98F; }
.dcg .dcg-cell.cru .act { color: #8A6100; }
.dcg .dcg-cell.mix { background: linear-gradient(145deg, #EEEBFF 0%, #FFEDC9 100%); border-color: #E3D3B8; }
.dcg .dcg-cell.mix .act { color: #6B4FB0; }
.dcg .dcg-cell.none { background: #F4F5F7; border: 1px dashed #C9CDD5; }
.dcg .dcg-cell.none .act { color: #8B93A3; }
.dcg .dcg-pill.cal-nat { background: #EEEBFF; color: #5B4FD6; border-color: #D6D0FF; }
.dcg .dcg-pill.cal-cru { background: #FFEDC9; color: #8A6100; border-color: #FFD98F; }
.dcg .dcg-pill.cal-mix { background: linear-gradient(90deg, #EEEBFF, #FFEDC9); color: #6B4FB0; border-color: #E3D3B8; }
.dcg .dcg-pill.cal-none { background: #F4F5F7; color: #8B93A3; border: 1px dashed #C9CDD5; }

/* Ținta lunară cu cercuri (platforma lui Cristi V20, 22 nov 2026) */
.dcg .dcg-tinte { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.dcg .dcg-tinta { border: 1px solid var(--bd); border-radius: 16px; padding: 14px 10px 12px; text-align: center; background: #fff; }
.dcg .dcg-tinta.erou { border: 1.5px solid var(--tc); background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 7%, #fff), #fff); }
.dcg .dcg-tinta .dt-nume { font-size: 13px; font-weight: 800; color: var(--ink); }
.dcg .dcg-tinta.erou .dt-nume { color: var(--tc); font-size: 14px; }
.dcg .dcg-tinta .dt-inel { position: relative; width: 112px; height: 112px; margin: 10px auto 8px; }
.dcg .dcg-tinta.erou .dt-inel { width: 132px; height: 132px; }
.dcg .dcg-tinta .dt-inel svg { width: 100%; height: 100%; display: block; }
.dcg .dcg-tinta .dt-centru { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dcg .dcg-tinta .dt-centru strong { font-size: 18px; color: var(--tc); font-family: var(--mono); }
.dcg .dcg-tinta.erou .dt-centru strong { font-size: 21px; }
.dcg .dcg-tinta .dt-centru small { font-size: 10.5px; color: var(--mut); font-weight: 700; }
.dcg .dcg-tinta .dt-real { font-size: 18px; font-weight: 850; color: var(--ink); font-family: var(--mono); }
.dcg .dcg-tinta .dt-din { font-size: 11.5px; color: var(--mut); }
.dcg .dcg-tinta .dt-lipsa { font-size: 11.5px; font-weight: 800; color: var(--tc); margin-top: 4px; }
.dcg .dcg-tinte-sub { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--bd); font-size: 12.5px; color: var(--txt); }
@media (max-width: 1100px) { .dcg .dcg-tinte { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dcg .dcg-tinte { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dcg .dcg-tinta.erou { grid-column: span 2; } }

/* Raport stocuri: starea pe sort și pe zi (platforma lui Cristi V20) */
.st-stare { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 850; letter-spacing: .3px; white-space: nowrap; }
.st-stare.bun { background: #E7F6EE; color: #15803D; }
.st-stare.atentie { background: #FEF3C7; color: #B45309; }
.st-stare.rau { background: #FDE8E8; color: #B42318; }
tr.rand-rau td { background: #FFF6F6; }
tr.rand-atentie td { background: #FFFBEB; }
