/* Cockpit controls share one height; the zoom retains room for its slider. */
.rdt-dash-tools{gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.rdt-dash-tools>span,.rdt-dash-tools>select,.rdt-dash-tools>button{height:42px!important;min-height:42px!important;box-sizing:border-box;border:1px solid #d7dfda!important;border-radius:9px!important;background:#fff!important;color:#17291f!important;padding:0 12px!important;font:750 11px Arial,sans-serif!important;margin:0!important;width:190px;min-width:0;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.rdt-dash-tools>select{display:block;text-overflow:ellipsis;padding-right:24px!important}
.rdt-dash-tools>.rdt-cockpit-zoom-5195{height:42px!important;min-height:42px!important;box-sizing:border-box;padding:4px 8px!important;gap:8px!important;border-radius:9px!important;flex:0 0 320px}
.rdt-dash-tools>.rdt-cockpit-zoom-5195 button{height:32px!important;min-height:32px!important;font-size:11px!important}
.rdt-dash-tools>.rdt-cockpit-zoom-5195 input{min-width:50px;width:96px!important}
.rdt-dash-tools>.rdt-cockpit-zoom-5195 output{font-size:11px!important;min-width:38px}
.cockpit119-config.modal{width:min(920px,96vw);max-height:94vh;display:flex;flex-direction:column}
.cockpit119-config .modal-body{overflow:auto;padding:20px 24px;min-height:0}
.cockpit119-config .modal-head,.cockpit119-config .modal-foot{flex-shrink:0}
.cockpit119-config .modal-head small{display:block;font-size:11px;color:#637168;margin-top:5px}
.cockpit119-config [hidden]{display:none!important}
.cockpit119-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 20px}
.cockpit119-tabs button{min-height:42px;border:1px solid #d7dfda;border-radius:9px;background:#fff;color:#334a3b;font-size:12px;font-weight:750;cursor:pointer}
.cockpit119-tabs button.active{background:#173c27;color:#fff;border-color:#173c27}
.cockpit119-config h4{font-size:13px;margin:20px 0 10px;color:#17291f}
.cockpit119-help{font-size:11px;color:#637168;line-height:1.55;margin:10px 0}
.cockpit119-field{display:block;font-size:12px;font-weight:700}
.cockpit119-config select,.cockpit119-agenda-select select{display:block;box-sizing:border-box;width:100%;min-height:40px;margin-top:6px;padding:8px 12px;border:1px solid #ccd8cf;border-radius:8px;background:#fff;color:#17291f;font:12px Arial,sans-serif}
.cockpit119-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cockpit119-choices label,.cockpit119-enable{display:flex;gap:10px;align-items:center;padding:12px;border:1px solid #dbe4d7;border-radius:9px;min-height:44px;font-size:12px;color:#17291f}
.cockpit119-choices input,.cockpit119-enable input{width:18px;height:18px;min-width:18px;margin:0;accent-color:#78be20;flex:0 0 18px}
.cockpit119-layout-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.cockpit119-layout-list li{display:flex;align-items:center;gap:12px;border:1px solid #dbe4d7;border-radius:10px;padding:10px;background:#fff}
.cockpit119-layout-list li.muted{background:#f6f8f6;color:#718078}
.cockpit119-position{border-radius:50%;width:26px;height:26px;display:grid;place-items:center;background:#edf3e8;font-size:12px;flex-shrink:0}
.cockpit119-block-name{flex:1;min-width:0;font-size:12px}
.cockpit119-block-name small{display:block;margin-top:3px;font-size:10px;color:#637168}
.cockpit119-layout-list li>label{width:168px;flex-shrink:0}
.cockpit119-layout-list select{margin-top:0}
.cockpit119-move{display:flex;gap:6px}
.cockpit119-move button{width:36px;height:36px;justify-content:center;padding:0;font-size:18px}
.cockpit119-move button:disabled{opacity:.35;cursor:default}
.cockpit119-layout-preview{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:5px;padding:12px;margin-top:16px;background:#f1f5f2;border:1px dashed #bfd0c3;border-radius:10px}
.cockpit119-layout-preview>div{padding:9px 5px;background:white;border:1px solid #dbe4d7;border-radius:5px;font-size:10px;text-align:center;min-width:0;overflow-wrap:anywhere}
.cockpit119-pair{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin-top:10px}
.cockpit119-calendar-card{border:1px solid #dbe4d7;padding:16px;border-radius:12px;margin-bottom:14px}
.cockpit119-calendar-card h4{margin:0 0 12px}
.cockpit119-calendar-card .cockpit119-enable{padding:0;border:0;min-height:22px}
.cockpit119-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;align-items:stretch}
.cockpit119-grid>[data-cockpit-block-id]{grid-column:span var(--cockpit-span,12);min-width:0;margin:0!important}
.cockpit119-grid>.rdt-dash-panel{height:auto;min-height:180px;overflow:hidden}
.cockpit119-grid>.rdt-dash-agenda{display:flex;flex-direction:column;min-height:330px}
.cockpit119-grid .rdt-dash-agenda>header{flex-shrink:0;height:auto;min-height:54px;flex-wrap:wrap;gap:8px;padding:10px}
.cockpit119-grid .rdt-dash-agenda .dash-week,.cockpit119-grid .rdt-dash-agenda .dash-month{flex:1;height:auto;min-height:260px}
.cockpit119-grid>.rdt-dash-kpis{grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr))!important}
.cockpit119-grid .rdt-dash-production .dash-prod-table{overflow-x:auto}
.cockpit119-grid .rdt-dash-production .dash-prod-head,.cockpit119-grid .rdt-dash-production .dash-prod-row{min-width:520px}
.cockpit119-agenda-select{padding:0 10px 8px;display:block}
.cockpit119-agenda-select select{height:32px;min-height:32px;margin:0;font-size:11px;padding:4px 8px}
.cockpit119-empty{padding:20px}
.cockpit119-config .sr-only,.cockpit119-second .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.cockpit119-config button:focus-visible,.cockpit119-config select:focus-visible,.cockpit119-config input:focus-visible{outline:2px solid #4e8e21;outline-offset:3px}
@media(max-width:1100px){.cockpit119-grid>[data-cockpit-block-id]{grid-column:span 12}.rdt-dash-tools{justify-content:flex-start}.rdt-dash-tools>span,.rdt-dash-tools>select,.rdt-dash-tools>button{width:180px}}
@media(max-width:600px){.cockpit119-config .modal-body{padding:14px}.cockpit119-choices{grid-template-columns:1fr}.cockpit119-pair{grid-template-columns:1fr}.cockpit119-tabs{gap:5px}.cockpit119-tabs button{font-size:11px}.cockpit119-layout-list li{flex-wrap:wrap;gap:8px}.cockpit119-layout-list li>label{width:calc(100% - 92px);margin-left:0}.cockpit119-config .modal-foot{gap:8px;flex-wrap:wrap}.cockpit119-config .modal-foot>span{display:none}.rdt-dash-tools{width:100%}.rdt-dash-tools>span,.rdt-dash-tools>select,.rdt-dash-tools>button{flex:1 1 145px;width:auto}.rdt-dash-tools>.rdt-cockpit-zoom-5195{flex:1 1 100%;max-width:none}}
/* The production table has five columns at every zoom level. */
.rdt-dash-production .dash-prod-table{height:auto;min-height:0;overflow-x:auto;overflow-y:visible}
.rdt-dash-production .dash-prod-head,.rdt-dash-production .dash-prod-row{display:grid;grid-template-columns:minmax(160px,1.7fr) minmax(150px,1.3fr) minmax(110px,1fr) minmax(100px,1fr) minmax(110px,1fr)!important;gap:12px;padding:12px;min-width:710px;box-sizing:border-box;height:auto!important;align-items:center}
.rdt-dash-production .dash-prod-head{min-height:40px;font-size:10px;line-height:1.4}
.rdt-dash-production .dash-prod-row{min-height:64px}
.rdt-dash-production .dash-prod-row>span{font-size:12px;line-height:1.5;min-width:0}
.rdt-dash-production .dash-prod-row>span:first-child b{font-size:13px;white-space:normal;overflow-wrap:anywhere}
.rdt-dash-production .dash-prod-row>span:first-child small,.rdt-dash-production .dash-prod-row>span:nth-child(2) small{font-size:10px;line-height:1.5;white-space:normal}
.rdt-dash-production .dash-prod-row>span:nth-child(3){display:block}
.rdt-dash-production .dash-prod-row>span:nth-child(4){display:grid;grid-template-columns:minmax(35px,1fr) 36px;align-items:center;gap:8px}
.rdt-dash-production .dash-prod-row em.status{display:inline-block;max-width:100%;font-size:10px!important;line-height:1.4;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
.rdt-dash-production{height:auto!important;min-height:220px;overflow:hidden}
.rdt-dash-stages{height:auto!important;min-height:68px;padding:8px 0}
.rdt-dash-alerts{grid-template-rows:auto minmax(120px,1fr) auto!important}
.cockpit119-agenda-hint{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:8px 12px;font-size:11px;background:#f3f7f4;border-bottom:1px solid #d7dfda}
