/* v6.44.47 — factory-specific photo dashboard; scoped so operations pages retain legacy styling */
#moduleHome .glg-home-dashboard-v64447{--dash-accent:var(--factory-accent-runtime,#f97316);display:flex;flex-direction:column;gap:17px;min-width:0;width:100%;box-sizing:border-box}
#moduleHome .glg-home-dashboard-v64447 *{box-sizing:border-box}
#moduleHome .glg-dash-hero-v64447{position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;min-height:380px;border-radius:18px;color:#fff;background:#263833;box-shadow:0 11px 30px rgba(15,23,42,.16)}
#moduleHome .glg-dash-hero-photo-v64447{position:absolute;z-index:-2;width:100%;height:100%;inset:0;object-fit:cover;object-position:center 50%;filter:brightness(1.035) contrast(1.04) saturate(1.055)}
#moduleHome .glg-dash-hero-overlay-v64447{position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(15,23,29,.82) 0%,rgba(16,25,29,.57) 32%,rgba(14,31,33,.11) 75%,rgba(14,31,33,.14) 100%)}
#moduleHome .glg-dash-hero-content-v64447{padding:38px 35px;max-width:68%;min-width:0}
#moduleHome .glg-dash-eyebrow-v64447{display:flex;align-items:center;gap:10px;font-size:11px;text-transform:uppercase;letter-spacing:1.35px;font-weight:850;color:#f5faf5}
#moduleHome .glg-dash-accent-rule-v64447{display:inline-block;width:24px;height:3px;background:var(--dash-accent);border-radius:5px}
#moduleHome .glg-dash-hero-content-v64447 h2{color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.22);font-size:clamp(28px,3.2vw,48px);line-height:1.09;max-width:680px;margin:15px 0 11px;font-weight:780;letter-spacing:-.8px}
#moduleHome .glg-dash-hero-content-v64447 p{margin:0;font-size:14px;color:#edf2ef;line-height:1.55}
#moduleHome .glg-dash-hero-actions-v64447{display:flex;gap:11px;flex-wrap:wrap;align-items:center;margin-top:24px}
#moduleHome .glg-dash-hero-button-v64447{appearance:none;border:1px solid transparent;border-radius:10px;background:var(--dash-accent);color:#fff;padding:11px 18px;min-height:42px;font-weight:800;cursor:pointer;text-shadow:0 1px 2px rgba(0,0,0,.2)}
#moduleHome .glg-dash-hero-button-v64447:hover{filter:brightness(.93)}
#moduleHome .glg-dash-hero-factory-pill-v64447{border:1px solid rgba(255,255,255,.45);background:rgba(10,14,17,.34);padding:8px 11px;border-radius:9px;font-weight:700;font-size:12px}
#moduleHome .glg-dash-hero-brand-v64447{position:absolute;right:22px;bottom:18px;max-width:240px}
#moduleHome #homeFactoryChip{display:flex;align-items:center;gap:9px;color:#fff;border:1px solid rgba(255,255,255,.3);background:rgba(12,19,22,.68);padding:9px 11px;border-radius:11px;box-shadow:0 4px 12px rgba(0,0,0,.15);backdrop-filter:blur(7px);cursor:pointer;max-width:240px;min-width:0}
#moduleHome #homeFactoryChip img{width:36px;height:36px;object-fit:contain;flex:none;border-radius:5px;background:#fff;padding:3px}
#moduleHome #homeFactoryChip span{display:flex;flex-direction:column;min-width:0;gap:2px;text-align:left}
#moduleHome #homeFactoryChip small{color:#dae3e0;font-size:10px}
#moduleHome #homeFactoryChip strong{color:#fff;font-size:12px;line-height:1.35;white-space:normal}
#moduleHome .glg-dash-toolrow-v64447,#moduleHome .glg-dash-panel-head-v64447,#moduleHome .glg-dash-module-head-v64447{display:flex;justify-content:space-between;align-items:center;gap:13px;flex-wrap:wrap}
#moduleHome .glg-dash-tool-label-v64447 h3,#moduleHome .glg-dash-panel-head-v64447 h3,#moduleHome .glg-dash-module-head-v64447 h3{margin:0;color:#253340;font-size:18px;font-weight:800}
#moduleHome .glg-dash-tool-label-v64447 span,#moduleHome .glg-dash-panel-head-v64447 span,#moduleHome .glg-dash-module-head-v64447 p{font-size:12px;color:#71808b;margin:4px 0 0}
#moduleHome .glg-dash-controls-v64447{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#moduleHome .glg-dash-controls-v64447 label{font-size:12px;font-weight:700;color:#586675}
#moduleHome .glg-dash-controls-v64447 input{width:170px;min-height:36px;border:1px solid #cbd5df;border-radius:9px;padding:5px 8px;background:white;color:#243542;font:inherit;font-size:13px}
#moduleHome .glg-dash-kpis-v64447{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#moduleHome .glg-dash-kpi-v64447{display:flex;align-items:center;gap:13px;min-width:0;border:1px solid #e1e6ea;border-radius:13px;padding:17px 15px;background:#fff;box-shadow:0 5px 14px rgba(15,23,42,.045)}
#moduleHome .glg-dash-kpi-icon-v64447{width:44px;height:44px;min-width:44px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--dash-accent) 13%,white);color:var(--dash-accent);font-size:25px;font-weight:850}
#moduleHome .glg-dash-kpi-body-v64447{display:flex;flex-direction:column;gap:5px;min-width:0}
#moduleHome .glg-dash-kpi-body-v64447>span{font-size:13px;font-weight:750;color:#415161}
#moduleHome .glg-dash-kpi-body-v64447 strong{font-size:clamp(18px,1.65vw,25px);font-weight:850;line-height:1.12;color:#1e293b;word-break:break-word}
#moduleHome .glg-dash-kpi-body-v64447 small{font-size:11px;color:#72808b;line-height:1.3}
#moduleHome .glg-dash-lower-v64447{display:grid;grid-template-columns:1.2fr 1fr;gap:12px;min-width:0}
#moduleHome .glg-dash-panel-v64447{min-width:0;background:#fff;border:1px solid #e0e6eb;border-radius:13px;padding:19px 20px;box-shadow:0 5px 15px rgba(15,23,42,.04)}
#moduleHome .glg-dash-panel-head-v64447{align-items:flex-start}
#moduleHome .glg-dash-panel-head-v64447 h3{font-size:16px}
#moduleHome .glg-dash-chart-v64447{min-height:192px;margin-top:15px;display:flex;align-items:center;justify-content:center}
#moduleHome .glg-dash-chart-v64447 svg{display:block;width:100%;max-height:215px}
#moduleHome .glg-dash-placeholder-v64447{font-size:13px;color:#6d7c87;line-height:1.45}
#moduleHome .glg-dash-recent-v64447{margin-top:10px;display:flex;flex-direction:column;gap:0}
#moduleHome .glg-dash-recent-item-v64447{display:flex;gap:9px;align-items:center;justify-content:space-between;padding:11px 2px;border-bottom:1px solid #edf0f3;font-size:12px;color:#293844}
#moduleHome .glg-dash-recent-item-v64447:last-child{border-bottom:0}
#moduleHome .glg-dash-recent-item-v64447 strong{display:block;font-size:12px;font-weight:800;color:#28394a}
#moduleHome .glg-dash-recent-item-v64447 small{display:block;margin-top:3px;font-size:11px;color:#71808c}
#moduleHome .glg-dash-recent-item-v64447 .glg-dash-dot-v64447{height:7px;width:7px;border-radius:50%;background:var(--dash-accent);margin-right:4px;flex:none}
#moduleHome .glg-dash-recent-item-v64447>span:last-child{font-weight:750;color:#536578;text-align:right}
#moduleHome .glg-dash-module-head-v64447{margin-top:2px;scroll-margin-top:82px}
#moduleHome #categoryGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;min-width:0}
#moduleHome #categoryGrid .category-card{min-width:0;min-height:112px;border-radius:12px;padding:14px 12px;gap:10px}
#moduleHome #categoryGrid .category-card .category-icon{min-width:38px;width:38px;height:38px}
#moduleHome #categoryGrid .category-card span strong{font-size:13px}
#moduleHome #categoryGrid .category-card span small{font-size:10px;line-height:1.4}
#moduleHome #categoryGrid .category-card b{display:none}
@media(max-width:1150px){#moduleHome .glg-dash-kpis-v64447{grid-template-columns:repeat(2,minmax(0,1fr))}#moduleHome #categoryGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){#moduleHome .glg-dash-hero-v64447{min-height:310px}#moduleHome .glg-dash-hero-content-v64447{max-width:100%;padding:27px 23px 92px}#moduleHome .glg-dash-hero-brand-v64447{bottom:12px;left:22px;right:auto}#moduleHome .glg-dash-lower-v64447{grid-template-columns:1fr}#moduleHome #categoryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){#moduleHome .glg-dash-hero-v64447{min-height:310px}#moduleHome .glg-dash-hero-content-v64447{padding:23px 18px 95px}#moduleHome .glg-dash-hero-content-v64447 h2{font-size:28px}#moduleHome .glg-dash-hero-brand-v64447{left:16px}#moduleHome .glg-dash-hero-factory-pill-v64447{display:none}#moduleHome .glg-dash-kpis-v64447{grid-template-columns:1fr 1fr;gap:8px}#moduleHome .glg-dash-kpi-v64447{padding:12px 10px;gap:8px}#moduleHome .glg-dash-kpi-icon-v64447{width:30px;height:30px;min-width:30px;font-size:19px}#moduleHome .glg-dash-kpi-body-v64447 strong{font-size:17px}#moduleHome .glg-dash-controls-v64447{width:100%}#moduleHome .glg-dash-controls-v64447 input{flex:1;min-width:135px}#moduleHome .glg-dash-panel-v64447{padding:14px}#moduleHome #categoryGrid{grid-template-columns:1fr}#moduleHome #categoryGrid .category-card{min-height:85px}}
@media(prefers-reduced-motion:reduce){#moduleHome .glg-dash-hero-button-v64447{transition:none}}

/* v6.44.47: summary-only dashboard, removing old category cards (sidebar remains) */
#moduleHome .glg-dash-dispatch-stats-v64447{display:flex;gap:14px;flex-wrap:wrap;margin:15px 0 8px;padding:10px 12px;border-radius:10px;background:#f5f7f8;font-size:12px;color:#475569}
#moduleHome .glg-dash-dispatch-stats-v64447 strong{font-size:14px;color:#1e293b}
#moduleHome .glg-dash-dispatch-list-v64447{display:flex;flex-direction:column;gap:8px;min-width:0}
#moduleHome .glg-dash-dispatch-row-v64447{border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#fff;min-width:0}
#moduleHome .glg-dash-dispatch-row-v64447 strong{color:#243445;font-size:12px}
#moduleHome .glg-dash-dispatch-row-v64447 small{display:block;color:#667584;font-size:11px;margin-top:3px}
#moduleHome .glg-dash-dispatch-row-v64447 .values{font-size:12px;font-weight:750;text-align:right;color:#344454}
#moduleHome .glg-dash-dispatch-list-v64447 .glg-dash-placeholder-v64447{padding:12px 0}
#moduleHome .glg-dash-kpi-v64447 .glg-dash-kpi-icon-v64447{font-size:22px}
#moduleHome .glg-dash-kpi-body-v64447>strong{font-variant-numeric:tabular-nums}
#moduleHome .glg-dash-panel-v64447{overflow:hidden}
#moduleHome #categoryGrid{display:none!important}
@media(max-width:600px){#moduleHome .glg-dash-hero-v64447{min-height:320px}#moduleHome .glg-dash-hero-content-v64447{padding:25px 18px 94px}#moduleHome .glg-dash-dispatch-row-v64447 .values{text-align:left}#moduleHome .glg-dash-kpis-v64447{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:370px){#moduleHome .glg-dash-kpis-v64447{grid-template-columns:1fr}}
