*{box-sizing:border-box}body{margin:0;background:#fff;color:#42484e;font:14px Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select{outline-offset:3px}button{background:#fff;border:1px solid #e2e3e5;border-radius:5px;padding:10px 12px;cursor:pointer;box-shadow:0 1px 4px #0000000b}button:hover{background:#f6f7f8}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration:none}header{height:60px;border-bottom:1px solid #d9dadd;display:flex;align-items:center;position:fixed;inset:0 0 auto;background:white;z-index:20;padding:0 24px;gap:22px}.brand{color:#101315;font-size:21px;font-weight:700;letter-spacing:4px}.brandwrap{display:flex;align-items:center;gap:18px;width:216px;border-right:1px solid #ddd;flex-shrink:0;height:36px}.bare{border:0;box-shadow:none;padding:3px;background:transparent}.header-title{font-size:20px;color:#20252b}.header-tools{margin-left:auto;display:flex;gap:10px;align-items:center}.avatar{border-radius:50%;background:#f0f1f2;width:35px;height:35px;text-align:center;padding:9px 0}.svg{width:21px;height:21px;vertical-align:middle;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.small-icon{width:16px;height:16px}aside{position:fixed;top:60px;bottom:0;width:240px;border-right:1px solid #e0e1e3;padding:12px 16px;overflow:auto;background:white;z-index:15}nav a,.config-toggle{display:flex;align-items:center;gap:17px;min-height:44px;padding:10px 8px;letter-spacing:.5px;line-height:20px;font-size:14px;border-radius:3px}nav a:hover,nav a.active{background:#fafafa}nav a.active{color:#272e35}nav .badge{background:#2563eb;color:white;border-radius:10px;font-size:12px;padding:0 5px;margin-left:auto;line-height:16px}.config-toggle{width:100%;border:0;box-shadow:none;text-align:left}.config-toggle .chevron{margin-left:auto}.submenu{padding-left:30px}.submenu a{min-height:36px;font-size:13px}.version{font-size:11px;color:#aaa;margin-top:36px;padding:12px 24px}main{margin-left:240px;padding:80px 20px 28px;min-height:100vh}.stats{display:grid;grid-template-columns:1.35fr 1.4fr 1.12fr .95fr .9fr .95fr;gap:15px;margin-bottom:16px}.stat{border:1px solid var(--border);background:var(--bg);color:var(--color);border-radius:12px;min-height:78px;padding:8px 16px;display:flex;gap:9px;align-items:center;font-size:13px;font-weight:600;box-shadow:0 0 5px #00000003}.stat strong{font-size:38px;font-weight:500;align-self:flex-start}.stat span{align-self:flex-end;padding-bottom:3px}.toolbar{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}.toolbar .push{margin-left:auto}.toolbar button{display:inline-flex;gap:7px;align-items:center}.machine{border:1px solid #dfe0e2;border-radius:5px;margin-bottom:16px;box-shadow:0 2px 4px #00000010;overflow:hidden}.machine-head{background:#e6e7ea;min-height:44px;display:flex;align-items:center;padding:0 15px;gap:14px}.machine-head h2{font-size:20px;margin:0;font-weight:600}.plan{border-left:2px solid #4c5054;padding-left:15px;color:#7f8588;font-size:14px}.pill{border-radius:15px;background:#c9cbcd;padding:4px 9px;font-size:12px}.machine-state{margin-left:auto;align-self:stretch;display:flex;align-items:center;gap:8px;background:#bfc1c1;padding:10px 16px;border-radius:0 0 0 20px;margin-right:-15px;font-size:16px;font-weight:600}.machine-body{padding:20px 12px 12px}.metrics{display:grid;grid-template-columns:repeat(7,1fr);margin:0 0 22px}.metric{min-height:92px;border-right:1px solid #eee;text-align:center;padding:4px}.metric:last-child{border:0}.metric strong{display:block;white-space:nowrap;font-size:24px;font-weight:600;color:#424a50;margin-bottom:7px}.metric small{font-size:13px}.metric label{font-size:11px;color:#a0a0a0;line-height:20px}.trend{color:#4478da;font-size:19px;cursor:pointer}.timeline{height:20px;background:#d0d0d0;margin:0 3px 10px}.ticks{display:flex;justify-content:space-between;color:#a0a0a0;font-size:11px;margin-bottom:20px}.machine-actions{display:flex;gap:8px;align-items:center}.machine-actions button{padding:9px 8px;font-size:13px;display:flex;gap:7px;align-items:center}.machine-actions .push{margin-left:auto}.cyan{color:#21afbf}.yellow{color:#d5ad34}.purple{color:#8c75d6}.green{color:#1d4ed8}.panel{border:1px solid #eaebed;background:white;padding:22px;margin-bottom:20px;box-shadow:0 2px 18px #00000004}.panel h2{font-size:17px;font-weight:500;margin:0 0 20px}.panel h3{font-size:15px;font-weight:500}.tabs{display:flex;gap:0;border-bottom:1px solid #e2e4e6;margin-bottom:20px;overflow:auto}.tabs button{box-shadow:none;border:0;border-radius:0;border-bottom:2px solid transparent;white-space:nowrap;background:#fafafa;padding:13px 18px}.tabs button.active{border-bottom-color:#2563eb;background:#fff;color:#1d4ed8}.table-wrap{border:1px solid #e7e8ea;border-radius:5px;overflow:auto;background:white}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:13px}th{padding:16px;background:#f8f9fb;font-weight:600;border-bottom:1px solid #e1e3e6}td{padding:14px 16px;border-bottom:1px solid #eee;max-width:360px;overflow:hidden;text-overflow:ellipsis}tr:hover td{background:#fcfcfc}td button{padding:5px 8px;margin-right:4px;box-shadow:none}.empty{text-align:center!important;color:#9a9fa3;padding:80px 20px!important;font-weight:400}.pagination{display:flex;align-items:center;justify-content:space-between;color:#92979a;font-size:12px;padding:18px 4px}.filter{padding:10px 12px;border:1px solid #ddd;border-radius:5px;background:white;min-width:180px}input[type=search]{min-width:240px}input,select,textarea{padding:10px 12px;border:1px solid #dcdfe2;border-radius:5px;background:#fff}input[type=checkbox]{accent-color:#2563eb;width:16px;height:16px}textarea{min-height:85px;resize:vertical}.primary{background:#2563eb;color:white;border-color:#2563eb}.primary:hover{background:#1d4ed8}.muted{color:#92989d;font-size:13px;line-height:1.6}.date{font-size:13px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:25px 0 15px}.section-title h2{margin:0;font-size:20px;color:#15191c;font-weight:500}.summary-states{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.summary-states a{display:flex;gap:14px;align-items:center;padding:15px 0;line-height:24px}.summary-states strong{font-size:23px;font-weight:400;margin-left:auto}.dot{display:block;width:15px;height:15px;border-radius:50%;background:#aaa;flex-shrink:0}.summary-chart{display:grid;grid-template-columns:190px 1fr;gap:25px}.big-number{font-size:42px;color:#101820;margin:32px 0}.barrow{display:flex;gap:10px;align-items:center;font-size:13px;color:#8a9094;margin:12px 0}.barrow span:first-child{min-width:175px}.bar{height:1px;background:#ddd;flex:1}.barrow em{color:#2563eb;font-style:normal}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.analytics-section{background:#f4f4f5;border-radius:8px;padding:22px 16px;margin:16px 12px 36px}.analytics-section h2{font-size:18px;margin:0 0 6px;font-weight:500}.analytics-section p{margin:0 0 26px}.cards-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.analysis-card{background:white;border:1px solid #d9dcdf;border-radius:5px;padding:16px;min-height:230px}.analysis-art{height:110px;display:flex;align-items:center;justify-content:center;color:#d97706}.analysis-art .svg{width:70px;height:70px;stroke-width:1}.analysis-card h3{font-size:16px;margin:10px 0 5px}.analysis-card p{font-size:13px;color:#8b9095;line-height:1.3;margin:0}.accordion{background:white;padding:12px 16px;border-radius:8px;margin-bottom:14px;cursor:pointer;box-shadow:0 1px 5px #0000000a}.accordion summary{display:flex;align-items:center;gap:12px;list-style:none}.accordion summary:after{content:'⌄';margin-left:auto}.accordion a{display:block;color:#1d4ed8;padding:14px 20px 3px;font-size:13px}.plot{height:290px;border-left:1px solid #ddd;border-bottom:1px solid #ddd;background:repeating-linear-gradient(to top,transparent 0,transparent 56px,#eee 57px,#eee 58px);position:relative;margin:28px 20px 20px}.plot .plotempty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#9ca1a5;font-size:13px}.plot-labels{display:flex;justify-content:space-between;margin:0 20px;color:#888;font-size:12px}.notice{font-size:12px;background:#eff6ff;border:1px solid #cbd5e1;color:#475569;padding:10px 14px;border-radius:5px;margin-bottom:15px;line-height:1.5}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid label,.field{display:flex;flex-direction:column;gap:7px;font-size:13px}.full{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}dialog{border:1px solid #e5e7e9;border-radius:10px;padding:0;width:min(630px,95vw);max-height:90vh;color:#42484e;box-shadow:0 20px 80px #0003}dialog::backdrop{background:#0006}.modal-head{padding:20px 24px;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center}.modal-head h2{font-size:19px;margin:0;font-weight:500}.modal-body{padding:24px}#toast{position:fixed;bottom:22px;right:22px;padding:14px 20px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;box-shadow:0 5px 25px #0002;z-index:50;display:none}.checks{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-height:350px;overflow:auto}.checks label{display:flex;align-items:center;gap:10px}.cal{display:grid;grid-template-columns:140px repeat(7,minmax(95px,1fr));overflow:auto;border:1px solid #e6e8ea}.cal>div{border-bottom:1px solid #eee;border-right:1px solid #eee;padding:14px 8px;min-height:60px;font-size:12px}.cal .slot{background:#dbeafe;border-left:3px solid #2563eb;padding:10px;margin:2px;font-size:11px}.tv main{margin-left:0}.tv aside,.tv .brandwrap{display:none}.tv .machine-list{display:grid;grid-template-columns:1fr 1fr;gap:15px}.tv .machine{margin:0}.tv .metrics{grid-template-columns:repeat(4,1fr)}.tv .metric{border:0}.tv .machine-actions{display:none}.hide-sidebar aside{display:none}.hide-sidebar main{margin-left:0}.export-form{max-width:620px;padding:20px}.export-form .field{margin-bottom:25px}.export-form .field span{font-size:15px}.ai-head{display:flex;justify-content:space-between;align-items:center;margin:20px 0}.ai-head h2{font-size:20px;font-weight:500}.status-pill{border-radius:15px;background:#f1f2f3;padding:4px 9px;font-size:12px}.danger{color:#ba5555}.device-list{display:flex;flex-direction:column;gap:9px}.device-list label{font-size:13px}.machine-settings{display:grid;grid-template-columns:1fr 1fr;gap:20px}.sidebar-footer{margin-top:30px}.step{display:flex;gap:15px;margin:20px 0}.step-number{background:#2563eb;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;color:white;flex-shrink:0}.step h2{font-size:18px;margin:3px 0 12px}.clock{font-variant-numeric:tabular-nums}button:focus-visible,a:focus-visible{outline:2px solid #2563eb}.checkline{display:flex;align-items:center;gap:10px}pre{background:#f5f7f8;border-radius:5px;padding:16px;overflow:auto;font-size:12px;line-height:1.6}.alert-item{border:1px solid #e4e6e8;border-radius:7px;padding:18px;margin:12px 0}.alert-item h3{font-size:14px;margin:0 0 10px}.alert-item p{font-size:13px;color:#777}.no-data{color:#959a9f;text-align:center;padding:70px 20px}.metric-toggle{display:flex;gap:10px;align-items:center;margin:12px 0}.mobile-only{display:none}@media(min-width:1500px){.metrics{margin-bottom:25px}.machine-body{padding:24px 18px 16px}}@media(max-width:1050px){.stats{gap:8px}.stat{padding:9px;font-size:11px}.stat strong{font-size:30px}.metric strong{font-size:20px}.machine-head h2{font-size:17px}.machine-state{font-size:14px}.cards-grid{grid-template-columns:repeat(2,1fr)}.machine-actions button{font-size:11px}.plan{font-size:12px}.header-tools button{font-size:12px}.header-title{font-size:18px}.summary-states{grid-template-columns:1fr 1fr}}@media(max-width:760px){header{padding:0 12px;gap:12px}.brandwrap{width:auto;border:0;gap:9px}.brand{font-size:16px;letter-spacing:2px}.header-title{font-size:14px}.header-tools .group-button{display:none}aside{display:none;width:225px;box-shadow:8px 0 25px #0001}main{margin-left:0;padding:74px 12px 24px}.hide-sidebar aside{display:block}.stats{grid-template-columns:repeat(3,1fr);gap:8px}.stat{min-height:66px}.stat strong{font-size:30px}.machine-head{flex-wrap:wrap;padding:10px;gap:8px}.machine-state{padding:8px;margin-right:-10px;font-size:12px}.machine-head h2{font-size:16px}.plan{display:none}.metrics{grid-template-columns:repeat(4,1fr);margin-bottom:12px}.metric{min-height:78px;border:0}.metric strong{font-size:19px}.metric label{font-size:9px}.machine-actions{flex-wrap:wrap}.machine-actions button{font-size:11px}.summary-chart{grid-template-columns:1fr}.summary-states{gap:10px}.two-col,.form-grid,.machine-settings{grid-template-columns:1fr}.cards-grid{grid-template-columns:1fr 1fr}.analysis-card{padding:12px;min-height:210px}.analytics-section{margin:0 0 25px;padding:16px 12px}.checks{grid-template-columns:1fr}.tv .machine-list{grid-template-columns:1fr}.notice{font-size:11px}.header-tools{gap:5px}.header-tools button{padding:7px}.barrow span:first-child{min-width:140px}.summary-states a{font-size:12px}.toolbar input[type=search]{min-width:160px;width:100%}.section-title{align-items:flex-start;gap:12px}.section-title h2{font-size:18px}}

/* IMPULSAR: azul profundo, azul real y acentos ambar. */
:root{--imp-navy:#14243d;--imp-blue:#2563eb;--imp-amber:#fbbf24}body{background:#f3f6fb;color:#334155}header{background:#14243d;border-color:#243b5c;color:#e2e8f0}.brand{color:#fbbf24}.brandwrap{border-color:#3a4c65}.header-title{color:#f8fafc}.header-tools button{background:#203653;border-color:#3d526d;color:#f8fafc}.header-tools button:hover{background:#2a466b}.avatar{background:#2b4568;color:#fff}aside{background:#182b46;border-color:#243b5c;color:#d2deed}nav a:hover,.config-toggle:hover{background:#243e60;color:#fff}nav a.active{background:#294a73;color:#fff;box-shadow:inset 3px 0 #fbbf24}.config-toggle{background:transparent;color:#d2deed}.version{color:#a2b5cc}.machine{background:#fff;border-color:#d8e2ef}.machine-head{background:#e4ecf7;color:#203653}.pill{background:#cbd9ea;color:#344d6b}.machine-state{background:#c5d0df;color:#34465c}.metric strong{color:#263e5a}.plan{border-color:#8194ad;color:#576b85}.tabs button.active{color:#1d4ed8;border-color:#2563eb}.yellow{color:#b45309}.analysis-art{color:#d97706}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #2563eb}button.primary{background:#2563eb;border-color:#2563eb;color:#fff}button.primary:hover{background:#1d4ed8}.machine .machine-state[style*="52cda7"]{background:#167747!important;color:#fff!important}

.quality-counts{display:flex;flex-wrap:wrap;gap:16px 32px;padding:14px 16px;margin-bottom:14px;background:#f2f5fa;border:1px solid #d5deeb;border-radius:6px}.quality-counts>div{min-width:140px}.quality-counts span{display:block;font-size:11px;color:#52617a}.quality-counts strong{font-size:23px}.quality-counts .quality-good{color:#18734b}.quality-counts .quality-bad{color:#b63636}.quality-counts p{flex-basis:100%;margin:0;font-size:13px}.quality-counts p strong{font-size:13px}
.production-progress{margin:14px 0 20px;padding:14px 16px;background:#f8faf9;border:1px solid #dbe7df;border-radius:6px}.goal-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}.goal-heading>strong{color:#253c32}.goal-heading>span{font-size:13px;color:#607568}.goal-heading>button{margin-left:auto;font-size:13px;padding:7px 10px}.goal-track{position:relative;height:20px;background:#d3d8d5;border-radius:4px;margin-right:12px}.goal-fill{height:100%;background:#259b58;border-radius:4px;transition:width .5s ease}.goal-flag{position:absolute;right:-13px;top:-8px;font-size:29px;line-height:32px}.goal-caption{display:flex;justify-content:space-between;gap:12px;margin-top:8px;font-size:12px;color:#496352}.goal-caption>strong{color:#18734b}.stop-timeline{margin:0 0 18px}.stop-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:12px;margin-bottom:8px;color:#657184}.stop-heading i{display:inline-block;background:#f59e0b;width:10px;height:10px;border-radius:2px;vertical-align:middle}.stop-track{height:13px;position:relative;background:#d6d9dd;border-radius:3px;overflow:hidden}.stop-segment{position:absolute;top:0;height:100%;background:#f59e0b;min-width:2px}.stop-ticks{display:flex;justify-content:space-between;font-size:11px;color:#88919f;margin-top:5px}.goal-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(100px,1fr) auto;gap:10px;align-items:end;margin:12px 0}.goal-row input{width:100%;min-width:0}.goal-row label{display:block}.goal-row button{margin-bottom:2px}@media(max-width:600px){.goal-row{grid-template-columns:1fr auto}.goal-row label:first-child{grid-column:1/-1}.goal-heading>button{margin-left:0}.goal-caption{flex-wrap:wrap}}


.stop-unannotated{background:#facc15;z-index:1}.stop-segment:not(.stop-unannotated){z-index:2}.stop-heading .stop-yellow-key{background:#facc15}.stop-heading button{font-size:11px;padding:5px 8px}.stop-track{height:16px}


.history-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:12px 0}.history-controls label{display:flex;flex-direction:column;gap:5px;font-size:13px}.history-controls input,.history-controls select{padding:9px;border:1px solid #ccd5e1;border-radius:5px;background:white}.history-banner{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:14px 16px;background:#eaf0fa;border-left:4px solid #335f91;margin:16px 0}.history-banner span{font-size:12px;color:#536781}.history-summary{display:flex;flex-wrap:wrap;gap:16px;margin:16px 0}.history-summary>div{flex:1;min-width:160px;padding:16px;background:#f3f6fa;border:1px solid #dae1ec;border-radius:6px}.history-summary small{display:block;font-size:11px;color:#52617a}.history-summary strong{font-size:26px;color:#203b5c}.history-machine-bar{padding:16px;border:1px solid #dae1ec;border-radius:6px;margin:18px 0}.history-machine-bar h3{margin-top:0}.history-orange{background:#ffedd5;color:#9a4f00;padding:3px 7px;border-radius:4px}.history-yellow{background:#fef9c3;color:#765a00;padding:3px 7px;border-radius:4px}.history-note{font-size:12px;line-height:1.5;margin-top:18px}#factory-history-export label{display:flex;flex-direction:column;gap:7px}


.stop-segment.stop-producing{background:#259b58;z-index:0;min-width:0}.stop-heading .stop-green-key{background:#259b58}

.stop-segment{cursor:help}.stop-segment:focus-visible{outline:2px solid #17283f;outline-offset:-2px;z-index:3}.timeline-tooltip{position:fixed;z-index:100;pointer-events:none;width:350px;max-width:calc(100vw - 16px);background:#263445;color:#fff;border:1px solid #536275;border-top:4px solid #f59e0b;border-radius:7px;box-shadow:0 8px 26px #0004;padding:12px 14px;font-size:13px;line-height:1.5}.timeline-tooltip.producing{border-top-color:#259b58}.timeline-tooltip.unannotated{border-top-color:#facc15}.timeline-tooltip-heading{display:flex;justify-content:space-between;gap:14px;margin-bottom:7px}.timeline-tooltip-heading span{white-space:nowrap;font-weight:bold}.timeline-tooltip small{display:block;margin-top:6px;color:#d6e0eb}

/* Marca del encabezado */
.brand{display:inline-flex;align-items:center;gap:8px;color:#f8fafc;font-size:17px;letter-spacing:-.02em;white-space:nowrap}
.brand img{flex:none;border-radius:50%}
.brand strong{color:#87e2d0}
@media(max-width:760px){.brand{font-size:14px;gap:6px}.brand img{width:24px;height:24px}}

/* Indicadores por turno */
.kpi-heading h2 { margin: 0 0 5px; font-size: 24px; color: #16263c; }
.kpi-heading p { margin: 0 0 18px; color: #52657a; }
.kpi-controls { margin-bottom: 16px; }
.kpi-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0 24px; }
.kpi-card { display: grid; gap: 7px; align-content: start; padding: 16px; border: 1px solid #d5e0eb; border-top: 3px solid #298777; border-radius: 10px; background: #fff; }
.kpi-card span { font-size: 13px; font-weight: 700; color: #40566e; }
.kpi-card strong { color: #16263c; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.1; }
.kpi-card small { color: #52657a; line-height: 1.35; }
.kpi-page h3 { margin: 23px 0 10px; }
.kpi-page .table-wrap { overflow-x: auto; }
.kpi-page th, .kpi-page td { font-variant-numeric: tabular-nums; }
@media (max-width: 1050px) { .kpi-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 390px) { .kpi-cards { grid-template-columns: minmax(0, 1fr); } }
.kpi-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 16px 0; align-items: start; }
.kpi-chart { min-width: 0; padding: 16px; background: #fff; border: 1px solid #d5e0eb; border-radius: 10px; }
.kpi-chart h3 { margin: 0 0 5px; color: #16263c; font-size: 17px; }
.kpi-chart p { margin: 0; }
.kpi-legend, .kpi-chart-rows { list-style: none; padding: 0; margin: 14px 0 0; }
.kpi-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; color: #40566e; font-size: 12px; }
.kpi-legend li { display: flex; align-items: center; gap: 6px; }
.kpi-legend i { width: 10px; height: 10px; border-radius: 2px; }
.kpi-chart-rows { display: grid; gap: 13px; }
.kpi-chart-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 12px; margin-bottom: 5px; color: #293f59; font-size: 13px; }
.kpi-chart-label span { font-variant-numeric: tabular-nums; }
.kpi-track { display: flex; height: 12px; overflow: hidden; border-radius: 4px; background: #e8eef5; }
.kpi-track span { display: block; flex: none; }
.kpi-fill-good { background: #22836b; }
.kpi-fill-bad { background: #bc4458; }
.kpi-fill-unclassified { background: #73829b; }
.kpi-fill-manual { background: #b86126; }
.kpi-fill-pending { background: #e8bd53; }
.kpi-no-signal { display: block; margin-top: 4px; color: #52657a; font-size: 12px; }
.kpi-goal-chart { margin: 0 0 20px; }
@media (max-width: 860px) { .kpi-charts { grid-template-columns: minmax(0, 1fr); } }
