/* ALTEK Equipment · native scoped styles · V14.17, no global overrides */
#altek-equipment-root{
 --eqn-bg:var(--v14-surface,#e9ebea);--eqn-raised:var(--v14-raised,#dfe3e2);
 --eqn-ink:var(--v14-ink,#293741);--eqn-muted:var(--v14-subtle,#54666c);
 --eqn-line:var(--v14-line,#c3cbca);--eqn-hover:var(--v144-card-hover,#d6e6e1);
 --eqn-accent:var(--v144-accent,#518d80);--eqn-number:var(--v142-number,#182f3a);
 color:var(--eqn-ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
 min-width:0;max-width:100%;padding:2px 0 20px;
}
html[data-theme=dark] #altek-equipment-root,
html.dark #altek-equipment-root,
body.dark #altek-equipment-root{
 --eqn-bg:#1b2e38;--eqn-raised:#2a4350;--eqn-ink:#eaf4f5;
 --eqn-muted:#bcd0d7;--eqn-line:#43606d;--eqn-hover:#36545d;
 --eqn-accent:#87bdb3;--eqn-number:#f3fcff;
}
#altek-equipment-root *{box-sizing:border-box}
#altek-equipment-root .eqn-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}
#altek-equipment-root .eqn-kpi{position:relative;min-width:0;min-height:114px;background:var(--eqn-bg);border:1px solid var(--eqn-line);border-radius:13px;padding:15px 16px 13px 19px;box-shadow:0 5px 16px rgba(14,40,48,.09);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
#altek-equipment-root .eqn-kpi::before{content:"";position:absolute;top:17px;left:0;bottom:17px;width:3px;border-radius:0 3px 3px 0;background:var(--eqn-accent)}
#altek-equipment-root .eqn-kpi:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(14,40,48,.16);border-color:var(--eqn-accent)}
#altek-equipment-root .eqn-kpi>span{font-size:12px;font-weight:650;color:var(--eqn-muted);display:block}
#altek-equipment-root .eqn-kpi>strong{font-size:31px;line-height:1.15;font-variant-numeric:tabular-nums;display:block;margin-top:10px;color:var(--eqn-number)}
#altek-equipment-root .eqn-kpi>small{font-size:10px;color:var(--eqn-muted);display:block;margin-top:5px}
#altek-equipment-root .eqn-overview-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
#altek-equipment-root .eqn-panel{min-width:0;min-height:480px;height:clamp(480px,35vw,570px);background:var(--eqn-bg);border:1px solid var(--eqn-line);border-radius:18px;overflow:hidden;box-shadow:0 5px 16px rgba(14,40,48,.11);transition:border-color .2s ease,box-shadow .2s ease}
#altek-equipment-root .eqn-panel:hover{border-color:var(--eqn-accent);box-shadow:0 8px 22px rgba(14,40,48,.15)}
#altek-equipment-root .eqn-forklift-select{display:flex;width:100%;height:100%;padding:10px;flex-direction:column;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
#altek-equipment-root .eqn-forklift-select>.eqn-hero-art{flex:1;min-height:0;width:100%}
#altek-equipment-root .eqn-caption{display:flex;justify-content:space-between;gap:10px;padding:11px 8px 5px;align-items:center;flex-wrap:wrap}
#altek-equipment-root .eqn-caption b{font-size:15px}#altek-equipment-root .eqn-caption small{color:var(--eqn-muted)}
#altek-equipment-root .eqn-hero-art{position:relative;min-height:250px;display:flex;justify-content:center;align-items:center;background:#111c25;border-radius:13px;overflow:hidden}
#altek-equipment-root .eqn-hero-art img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0;display:block;pointer-events:none}
#altek-equipment-root .eqn-art-tag{position:absolute;top:11px;left:12px;z-index:2;max-width:80%;color:#bcd0d7;font-size:9px;font-weight:650;letter-spacing:.09em;background:#111c2588;padding:5px 7px;border-radius:7px}
#altek-equipment-root .eqn-contour{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;overflow:visible}
/* One measured lap around the 1000-unit contour, no secondary pulse. */
#altek-equipment-root .eqn-contour path{fill:none;stroke:#56efb4;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 6px rgba(44,255,168,.62));stroke-dasharray:100 900;stroke-dashoffset:1000;opacity:0}
#altek-equipment-root .eqn-hero-art:is(:hover,:focus-visible) .eqn-contour{opacity:1}
#altek-equipment-root .eqn-hero-art:is(:hover,:focus-visible) .eqn-contour path{animation:eqn-contour-sweep 4.3s linear 1 both}
@keyframes eqn-contour-sweep{0%{stroke-dashoffset:1000;opacity:0}9%{opacity:.95}87%{opacity:.95}100%{stroke-dashoffset:0;opacity:0}}
#altek-equipment-root .eqn-trolley-grid{height:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;padding:12px}
#altek-equipment-root .eqn-trolley{min-height:0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:var(--eqn-raised);color:var(--eqn-ink);border:1px solid var(--eqn-line);border-radius:13px;padding:8px;cursor:pointer;transition:transform .22s ease,background .22s ease,border-color .22s ease,box-shadow .22s ease;text-align:center}
#altek-equipment-root .eqn-trolley img{width:100%;min-height:0;flex:1;object-fit:contain;max-height:75%;mix-blend-mode:normal}
#altek-equipment-root .eqn-trolley strong{font-size:11px;line-height:1.25}#altek-equipment-root .eqn-trolley small{font-size:10px;line-height:1.2;color:var(--eqn-muted)}
#altek-equipment-root .eqn-trolley:hover,#altek-equipment-root .eqn-trolley:focus-visible{transform:translateY(-2px);background:var(--eqn-hover);border-color:var(--eqn-accent);box-shadow:0 6px 14px #0e283020}
#altek-equipment-root .eqn-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;color:var(--eqn-muted);font-size:12px}
#altek-equipment-root .eqn-asset-hero{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(250px,.72fr);min-height:360px;background:var(--eqn-bg);border-radius:18px;border:1px solid var(--eqn-line);overflow:hidden;box-shadow:0 5px 16px #0e283022}
#altek-equipment-root .eqn-hero-large{border-radius:0;min-height:330px}
#altek-equipment-root .eqn-hero-data{padding:30px;display:flex;flex-direction:column;justify-content:center;gap:8px}
#altek-equipment-root .eqn-hero-data>small{font-size:10px;letter-spacing:.12em;color:var(--eqn-muted)}
#altek-equipment-root .eqn-hero-data h2{font-size:clamp(21px,2.2vw,33px);margin:4px 0;color:var(--eqn-ink)}
#altek-equipment-root .eqn-hero-data p{color:var(--eqn-muted);font-size:13px}
#altek-equipment-root .eqn-hero-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:13px}
#altek-equipment-root .eqn-info{padding:12px;background:var(--eqn-raised);border-radius:12px;min-width:0}
#altek-equipment-root .eqn-info small{display:block;color:var(--eqn-muted);font-size:11px;overflow-wrap:anywhere}
#altek-equipment-root .eqn-info strong{font-size:14px;display:block;margin-top:5px;overflow-wrap:anywhere;color:var(--eqn-ink)}
#altek-equipment-root .eqn-status{display:inline-block;border-radius:12px;padding:5px 9px;width:max-content;border:1px solid var(--eqn-line);font-size:11px;font-weight:650}
#altek-equipment-root .eqn-status.eqn-good{background:#21483b;color:#bee9cc;border-color:#3a7a60}
#altek-equipment-root .eqn-status.eqn-bad{background:#4b3136;color:#f2b8b3;border-color:#87565d}
#altek-equipment-root .eqn-actions,#altek-equipment-root .eqn-inline-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
#altek-equipment-root .eqn-btn,.eqn-modal .eqn-btn{border:1px solid var(--eqn-accent,#518d80);background:var(--eqn-raised,#dfe3e2);color:var(--eqn-ink,#293741);padding:9px 12px;border-radius:10px;cursor:pointer;font:600 12px/1.35 Inter,"Segoe UI",sans-serif;transition:transform .18s ease,background .18s ease,box-shadow .18s ease}
#altek-equipment-root .eqn-btn:hover,.eqn-modal .eqn-btn:hover{background:var(--eqn-hover,#d6e6e1);transform:translateY(-1px);box-shadow:0 3px 9px #0002}
#altek-equipment-root .eqn-btn.primary,.eqn-modal .eqn-btn.primary{background:#518d80;color:white;border-color:#42796d}
#altek-equipment-root .eqn-btn.danger,.eqn-modal .eqn-btn.danger{color:#f2b8b3;background:#4b3136;border-color:#87565d}
#altek-equipment-root .eqn-btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
#altek-equipment-root .eqn-section-title{display:flex;justify-content:space-between;gap:16px;margin:19px 0 10px;align-items:baseline}
#altek-equipment-root .eqn-section-title h2{font-size:18px;margin:0;color:var(--eqn-ink)}#altek-equipment-root .eqn-section-title span{font-size:11px;color:var(--eqn-muted)}
#altek-equipment-root .eqn-tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--eqn-line);padding-bottom:9px}
#altek-equipment-root .eqn-tab{border:1px solid transparent;background:transparent;color:var(--eqn-muted);padding:10px 12px;border-radius:10px;cursor:pointer;font-size:12px;font-weight:650;transition:background .2s ease,color .2s ease}
#altek-equipment-root .eqn-tab:hover{background:var(--eqn-hover);color:var(--eqn-ink)}
#altek-equipment-root .eqn-tab.active{background:var(--eqn-raised);border-color:var(--eqn-accent);color:var(--eqn-ink)}
#altek-equipment-root .eqn-tab-body{padding-top:15px;min-height:230px}
#altek-equipment-root .eqn-columns{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:12px;align-items:start}
#altek-equipment-root .eqn-stack{display:grid;gap:12px;min-width:0}
#altek-equipment-root .eqn-card{background:var(--eqn-bg);border:1px solid var(--eqn-line);padding:16px;border-radius:18px;min-width:0;color:var(--eqn-ink)}
#altek-equipment-root .eqn-card h3{font-size:14px;margin:0 0 13px;color:var(--eqn-ink)}
#altek-equipment-root .eqn-card>p{color:var(--eqn-muted);font-size:12px}
#altek-equipment-root .eqn-info-grid,#altek-equipment-root .eqn-maint-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#altek-equipment-root .eqn-notice{border:1px solid var(--eqn-line);border-radius:13px;background:var(--eqn-raised);padding:12px 14px;font-size:12px;margin-bottom:12px}
#altek-equipment-root .eqn-notice.eqn-warn{background:#594d2e;color:#f2e1b1}
#altek-equipment-root .eqn-notice.eqn-bad{background:#4b3136;color:#f2b8b3}
#altek-equipment-root .eqn-empty{padding:16px;border-radius:11px;border:1px dashed var(--eqn-line);color:var(--eqn-muted);font-size:12px;margin:10px 0}
#altek-equipment-root .eqn-history-row,#altek-equipment-root .eqn-unit-row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;padding:12px;margin:6px 0;background:var(--eqn-raised);color:var(--eqn-ink);border:1px solid var(--eqn-line);border-radius:11px;font-size:12px;text-align:left}
#altek-equipment-root button.eqn-history-row,#altek-equipment-root button.eqn-unit-row{cursor:pointer;transition:background .15s ease,border-color .15s ease}
#altek-equipment-root button.eqn-history-row:hover,#altek-equipment-root button.eqn-unit-row:hover{background:var(--eqn-hover);border-color:var(--eqn-accent)}
#altek-equipment-root .eqn-history-row small{display:block;color:var(--eqn-muted)}
#altek-equipment-root .eqn-group{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#altek-equipment-root .eqn-group>.eqn-hero-art{height:350px}
.eqn-nav-sub{display:none;margin:-2px 0 2px 34px;padding-left:12px;border-left:1px solid #43606d}
.eqn-nav-sub.eqn-nav-expanded{display:flex;flex-direction:column;gap:2px}
.eqn-nav-child{display:block;width:100%;border:0;padding:7px 9px;background:transparent;color:inherit;text-align:left;font:500 12px/1.3 Inter,"Segoe UI",sans-serif;border-radius:8px;cursor:pointer}
.eqn-nav-child:hover{background:#36545d;color:#eaf4f5}
#eqn-modal-portal{position:relative;z-index:50000}
.eqn-backdrop{position:fixed;inset:0;z-index:50001;background:rgba(7,17,24,.65);display:flex;align-items:center;justify-content:center;padding:18px;animation:eqn-in .18s ease both}
.eqn-modal{--eqn-ink:#eaf4f5;--eqn-muted:#bcd0d7;--eqn-raised:#2a4350;--eqn-hover:#36545d;--eqn-accent:#87bdb3;background:#1b2e38;color:var(--eqn-ink);border:1px solid #43606d;border-radius:18px;box-shadow:0 24px 85px #0008;width:min(670px,100%);max-height:calc(100dvh - 32px);overflow:auto;animation:eqn-modal-in .22s cubic-bezier(.15,.8,.2,1) both}
html:not([data-theme=dark]) .eqn-modal{--eqn-ink:#293741;--eqn-muted:#54666c;--eqn-raised:#dfe3e2;--eqn-hover:#d6e6e1;--eqn-accent:#518d80;background:#e9ebea;color:#293741;border-color:#c3cbca}
.eqn-modal-head,.eqn-modal-footer{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:15px 18px;border-bottom:1px solid #43606d}
.eqn-modal-footer{border-bottom:none;border-top:1px solid #43606d;flex-wrap:wrap;justify-content:flex-end}
.eqn-modal-head h3{font-size:16px;margin:0}
.eqn-icon-button{padding:5px 10px;background:var(--eqn-raised);color:var(--eqn-ink);border:1px solid #43606d;border-radius:8px;cursor:pointer}
.eqn-form-body{padding:18px;display:grid;gap:12px;overflow:auto}
.eqn-form-body label{font-size:12px;font-weight:650;display:grid;gap:6px}
.eqn-form-body input,.eqn-form-body select,.eqn-form-body textarea{width:100%;min-width:0;background:var(--eqn-raised);color:var(--eqn-ink);padding:10px;border-radius:9px;border:1px solid #43606d;font:500 13px Inter,"Segoe UI",sans-serif}
.eqn-form-body textarea{min-height:76px;resize:vertical}
.eqn-line{display:grid;grid-template-columns:100px 1fr 76px 94px;gap:5px;align-items:center}
.eqn-modal-viewer{width:min(1100px,98vw);height:min(92dvh,1100px);display:flex;flex-direction:column;max-height:92dvh}
.eqn-document{width:100%;height:100%;min-height:0;flex:1;object-fit:contain;border:none}
#eqn-form-error{color:#dc6969;font-size:12px;flex:1}
.eqn-toast{position:fixed;z-index:70000;bottom:40px;right:24px;background:#2a4350;color:#eaf4f5;border:1px solid #87bdb3;padding:11px 15px;border-radius:11px;box-shadow:0 8px 24px #0004;font:500 12px Inter,"Segoe UI",sans-serif}
@keyframes eqn-in{from{opacity:0}to{opacity:1}}@keyframes eqn-modal-in{from{opacity:0;transform:translateY(9px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
#eqn-modal-portal.closing .eqn-backdrop{animation:eqn-out .18s ease both}@keyframes eqn-out{to{opacity:0}}
@media(max-width:1090px){#altek-equipment-root .eqn-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}#altek-equipment-root .eqn-overview-columns{grid-template-columns:1fr}#altek-equipment-root .eqn-panel{height:460px;min-height:0}#altek-equipment-root .eqn-columns{grid-template-columns:1fr}}
@media(max-width:600px){#altek-equipment-root .eqn-kpis{gap:9px}#altek-equipment-root .eqn-kpi{min-height:100px;padding:12px 9px 10px 14px}#altek-equipment-root .eqn-kpi strong{font-size:24px}#altek-equipment-root .eqn-panel{height:auto;min-height:0}#altek-equipment-root .eqn-forklift-select{min-height:300px}#altek-equipment-root .eqn-trolley-grid{height:430px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:8px}#altek-equipment-root .eqn-asset-hero{grid-template-columns:1fr}#altek-equipment-root .eqn-hero-data{padding:17px}#altek-equipment-root .eqn-hero-large{min-height:260px}#altek-equipment-root .eqn-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#altek-equipment-root .eqn-section-title{display:block}#altek-equipment-root .eqn-section-title span{display:block;margin-top:6px}#altek-equipment-root .eqn-actions .eqn-btn{font-size:11px;flex:1 1 auto}#altek-equipment-root .eqn-group{grid-template-columns:1fr}.eqn-line{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){#altek-equipment-root .eqn-contour,#altek-equipment-root .eqn-contour path{animation:none!important;opacity:0!important}#altek-equipment-root *,#eqn-modal-portal *{transition:none!important;animation:none!important}}
/* Equipment calendar is in the same modal portal, never inside a nested document. */
.eqn-date-control{position:relative;display:grid;gap:6px}
.eqn-date-control>label{font-size:12px;font-weight:650}
.eqn-date-trigger{width:100%;text-align:left;background:var(--eqn-raised);border:1px solid #43606d;border-radius:9px;color:var(--eqn-ink);padding:10px;cursor:pointer;font:500 13px Inter,"Segoe UI",sans-serif}
.eqn-date-trigger:hover,.eqn-date-trigger[aria-expanded=true]{border-color:var(--eqn-accent);background:var(--eqn-hover)}
.eqn-calendar{padding:10px;background:var(--eqn-raised);border:1px solid #43606d;border-radius:10px;box-shadow:0 8px 22px #0003}
.eqn-calendar[hidden]{display:none!important}
.eqn-calendar-bar{display:flex;justify-content:space-between;gap:9px;align-items:center;padding-bottom:8px}
.eqn-calendar-bar button{color:var(--eqn-ink);border:1px solid #43606d;background:transparent;border-radius:8px;padding:5px 12px;cursor:pointer}
.eqn-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.eqn-calendar-days b{padding:5px 0;font-size:10px;color:var(--eqn-muted)}
.eqn-calendar-days button{padding:7px 0;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--eqn-ink);cursor:pointer}
.eqn-calendar-days button:hover,.eqn-calendar-days button:focus-visible{background:var(--eqn-hover);border-color:var(--eqn-accent)}
#altek-equipment-root .eqn-timeline-points{display:flex;gap:9px;overflow-x:auto;padding:5px 2px 12px;scrollbar-width:thin}
#altek-equipment-root .eqn-timeline-point{display:flex;flex-direction:column;flex:0 0 122px;gap:6px;padding:11px;background:var(--eqn-raised);border:1px solid var(--eqn-line);border-radius:11px;min-height:95px}
#altek-equipment-root .eqn-timeline-point strong{font-size:12px}
#altek-equipment-root .eqn-timeline-point span{font-size:12px;font-variant-numeric:tabular-nums}
#altek-equipment-root .eqn-timeline-point small{font-size:10px;color:var(--eqn-muted)}
/* v0.6 CAT manual knowledge index, transplanted as native components; no iframe. */
#altek-equipment-root .eqn-kb-chapters{display:grid;gap:7px;margin:11px 0 17px}
#altek-equipment-root .eqn-kb-chapter{display:grid;grid-template-columns:38px minmax(0,1fr) 14px;align-items:center;gap:10px;width:100%;padding:10px;border:1px solid var(--eqn-line);border-radius:11px;background:var(--eqn-raised);color:var(--eqn-ink);text-align:left;cursor:pointer;transition:background .18s ease,transform .18s ease,border-color .18s ease}
#altek-equipment-root .eqn-kb-chapter:hover,#altek-equipment-root .eqn-kb-chapter:focus-visible{background:var(--eqn-hover);border-color:var(--eqn-accent);transform:translateY(-1px)}
#altek-equipment-root .eqn-kb-page{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;border:1px solid var(--eqn-accent);font-size:12px;font-variant-numeric:tabular-nums}
#altek-equipment-root .eqn-kb-chapter strong{display:block;font-size:12px;line-height:1.3}
#altek-equipment-root .eqn-kb-chapter small{display:block;font-size:11px;line-height:1.4;color:var(--eqn-muted);margin-top:4px}
#altek-equipment-root .eqn-faq-label{display:grid;gap:7px;font-size:12px;font-weight:600}
#altek-equipment-root .eqn-faq-label textarea{min-height:75px;width:100%;background:var(--eqn-raised);border:1px solid var(--eqn-line);color:var(--eqn-ink);border-radius:11px;padding:10px;font:inherit;resize:vertical}
#altek-equipment-root #eqn-faq-form{display:grid;gap:10px}
#altek-equipment-root #eqn-faq-answer{margin-top:12px}

/* Native analytics v0.6 parity: scoped filters, animation, V14.17 colors */
#altek-equipment-root .eqn-report-filters{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 15px}
#altek-equipment-root .eqn-report-filters .eqn-filter-active{background:var(--eqn-hover);border-color:var(--eqn-accent);box-shadow:inset 3px 0 0 var(--eqn-accent)}
#altek-equipment-root .eqn-month-bars{display:grid;gap:9px;margin:16px 0 25px}
#altek-equipment-root .eqn-month-row{display:grid;grid-template-columns:62px minmax(0,1fr) 98px;gap:8px;align-items:center;font-size:11px;color:var(--eqn-ink)}
#altek-equipment-root .eqn-month-row b{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
#altek-equipment-root .eqn-month-track{height:9px;background:var(--eqn-raised);border-radius:7px;overflow:hidden}
#altek-equipment-root .eqn-month-bar{height:100%;background:linear-gradient(90deg,#5d9cd2,#81d6c2);border-radius:7px;transform-origin:left;animation:eqn-grow .5s ease both}
@keyframes eqn-grow{from{transform:scaleX(.02)}to{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){#altek-equipment-root .eqn-month-bar{animation:none}}

/* R5 · v0.6 contextual TO window: 3 columns desktop, 2 mobile; NO 2024 history strip. */
#altek-equipment-root .eqn-timeline-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0;overflow:visible;gap:9px;padding:5px 1px 12px}
#altek-equipment-root .eqn-timeline-point{min-width:0;flex:initial;min-height:116px;overflow-wrap:anywhere}
#altek-equipment-root .eqn-timeline-current{background:var(--eqn-hover);border:2px solid var(--eqn-accent)}
#altek-equipment-root .eqn-timeline-previous{opacity:.82}
@media(max-width:720px){
 #altek-equipment-root .eqn-timeline-points{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #altek-equipment-root .eqn-timeline-current{grid-column:span 2}
}
@media(max-width:355px){
 #altek-equipment-root .eqn-timeline-points{grid-template-columns:1fr}
 #altek-equipment-root .eqn-timeline-current{grid-column:auto}
}

#altek-equipment-root .eqn-timeline-confirmed{box-shadow:inset 0 0 0 2px var(--eqn-accent)}

/* R13: visual parity with HTML v0.6 (hero, schedule, chips, modal) while keeping scoped V14.17 theme. */
#altek-equipment-root .eqn-asset-hero{background:linear-gradient(124deg,#132e34,#265862);border-color:#386670;box-shadow:0 10px 26px rgba(12,48,51,.13)}
#altek-equipment-root .eqn-asset-hero .eqn-hero-art{background:#16292e}
#altek-equipment-root .eqn-hero-data{color:#e9f7f4}
#altek-equipment-root .eqn-hero-data h2{color:#f0fbfa;font-weight:760;letter-spacing:-.025em}
#altek-equipment-root .eqn-hero-data>small,#altek-equipment-root .eqn-hero-data>p{color:#bed5d7}
#altek-equipment-root .eqn-hero-data .eqn-info{background:#ffffff17;border:1px solid #ffffff20}
#altek-equipment-root .eqn-hero-data .eqn-info small{color:#c8e1df}
#altek-equipment-root .eqn-hero-data .eqn-info strong{color:#f6ffff}
#altek-equipment-root .eqn-hero-metrics{gap:10px}
#altek-equipment-root .eqn-card{box-shadow:0 3px 13px rgba(9,39,48,.065);transition:border-color .2s ease,box-shadow .2s ease}
#altek-equipment-root .eqn-card:focus-within{border-color:var(--eqn-accent)}
#altek-equipment-root .eqn-card h3{letter-spacing:-.01em}
#altek-equipment-root .eqn-timeline-current{background:#cfe8e1!important;border:2px solid #4b978a!important;color:#153e39!important}
#altek-equipment-root .eqn-timeline-current>*{color:#153e39!important}
#altek-equipment-root .eqn-status.eqn-good{background:#d5ede0;color:#14583f;border-color:#8ebfa5}
#altek-equipment-root .eqn-status.eqn-bad{background:#f7dddd;color:#783037;border-color:#c99299}
#eqn-modal-portal .eqn-qr-display{display:flex;align-items:center;justify-content:center;margin:16px auto;width:max-content;max-width:100%;background:white;border:1px solid #cbd4d3;padding:16px;border-radius:14px}
#eqn-modal-portal .eqn-qr-display svg{display:block;width:min(240px,60vw);height:auto;aspect-ratio:1/1}
#eqn-modal-portal input[name=qr_link]{width:100%;font-size:12px}
@media(max-width:760px){#altek-equipment-root .eqn-asset-hero{grid-template-columns:minmax(0,1fr)}#altek-equipment-root .eqn-hero-data{padding:20px}#altek-equipment-root .eqn-asset-hero .eqn-hero-art{min-height:225px}#altek-equipment-root .eqn-hero-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){#altek-equipment-root .eqn-contour path{animation:none!important}#altek-equipment-root .eqn-kpi,#altek-equipment-root .eqn-trolley,#altek-equipment-root .eqn-btn{transition:none!important}}

/* v0.6 priority color coding for forecast type (not confirmed work). */
#altek-equipment-root .eqn-timeline-point.eqn-timeline-to1 strong{color:#846800}
#altek-equipment-root .eqn-timeline-point.eqn-timeline-to2 strong{color:#26775f}
#altek-equipment-root .eqn-timeline-point.eqn-timeline-to3 strong{color:#377caf}
#altek-equipment-root .eqn-timeline-point.eqn-timeline-current strong{color:#173e39}

/* R14: complete model information architecture before first unit registration. */
#altek-equipment-root .eqn-model-hero{margin-top:14px}
#altek-equipment-root .eqn-model-register{margin-top:18px;align-self:flex-start}
#altek-equipment-root .eqn-model-inventory{margin-top:15px;padding:15px 18px}
#altek-equipment-root .eqn-model-inventory h3{font-size:14px;margin:0 0 8px}
#altek-equipment-root .eqn-model-hint{margin:11px 0 15px;color:var(--eqn-muted,#64747a);font-size:12px;line-height:1.6}
#altek-equipment-root .eqn-model-actions{margin-top:16px}
#altek-equipment-root .eqn-model-actions .eqn-btn{min-height:37px}
#altek-equipment-root .eqn-model-hero .eqn-hero-art{min-height:320px}
@media(max-width:760px){#altek-equipment-root .eqn-model-hero .eqn-hero-art{min-height:220px}#altek-equipment-root .eqn-model-hero .eqn-hero-data{padding:18px}}
/* R16: evidence and supply register; inherited light/dark theme tokens. */
.eqn-evidence{border:1px solid var(--eqn-border,var(--line,#bccbcc));border-radius:12px;padding:13px 15px;margin:10px 0;background:var(--eqn-panel,var(--surface,#fff));}
.eqn-evidence-title{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.eqn-evidence p{margin:10px 0;line-height:1.55;overflow-wrap:anywhere;}
.eqn-evidence-pending{border-style:dashed;}
.eqn-evidence small,.eqn-request-row small{display:block;color:var(--eqn-muted,var(--muted,#647780));font-size:11px;line-height:1.5}
.eqn-document-row{border-bottom:1px solid var(--eqn-border,var(--line,#dce2e4));padding-bottom:8px;margin-bottom:8px}
.eqn-document-row>.eqn-btn{margin:4px 8px 4px 14px}
.eqn-request-register{padding:16px}
.eqn-request-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto auto;align-items:center;gap:12px;border-top:1px solid var(--eqn-border,var(--line,#dce2e4));padding:13px 0;min-width:0}
.eqn-request-row>div{min-width:0;overflow-wrap:anywhere}
.eqn-request-state strong{display:block;font-size:12px}
.eqn-overdue{color:var(--eqn-warn,var(--warn,#ab5e13))}
@media(max-width:780px){.eqn-request-row{grid-template-columns:minmax(0,1fr) auto}.eqn-request-row>div{grid-column:1/-1}.eqn-request-row>.eqn-btn{min-width:0}}
.eqn-report-audit{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin:12px 0 18px;padding:12px 16px;border:1px solid var(--eqn-border,var(--line,#dce2e4));border-radius:12px;background:var(--eqn-panel,var(--surface,#fff));font-size:12px}
.eqn-report-audit b{font-weight:750}
.eqn-report-audit small{flex-basis:100%;color:var(--eqn-muted,var(--muted,#647780))}

/* R17: request status filters and report equipment scope; inherit V14 theme */
.eqn-request-filters{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 16px}
.eqn-request-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.eqn-request-row>div:first-child{flex:1 1 230px;min-width:0}
.eqn-request-state{flex:0 1 160px}
.eqn-report-asset-select{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0 14px;font-weight:600}
.eqn-report-asset-select select{max-width:100%;min-width:185px;padding:10px 12px;border-radius:10px;color:inherit;background:var(--surface,#fff);border:1px solid var(--line,#c7d1dc)}
@media(max-width:520px){.eqn-request-filters .eqn-btn{flex:1 1 auto}.eqn-report-asset-select select{width:100%;min-width:0}}

/* R19: functional reference table, horizontally scrollable on narrow screens. */
.eqn-table-scroll{overflow-x:auto;max-width:100%;border:1px solid var(--eqn-border,var(--line,#dce2e4));border-radius:12px;margin-top:12px;}
.eqn-request-table{border-collapse:collapse;width:100%;min-width:760px;text-align:left;}
.eqn-request-table th{padding:13px 11px;font-weight:700;font-size:12px;white-space:nowrap;background:var(--eqn-surface,#f4f7f8);border-bottom:1px solid var(--eqn-border,#dce2e4);}
.eqn-request-table .eqn-request-row{display:table-row;cursor:pointer;}
.eqn-request-table .eqn-request-row:hover{background:color-mix(in srgb,var(--eqn-accent,#228c67) 8%,transparent);}
.eqn-request-table td{padding:12px 11px;white-space:normal;vertical-align:middle;border-top:1px solid var(--eqn-border,#dce2e4);font-size:12px;overflow-wrap:anywhere;}
.eqn-request-table .eqn-request-row td:first-child{white-space:nowrap;}
.eqn-request-table .eqn-request-row td .eqn-inline-actions{display:flex;flex-wrap:nowrap;gap:5px;}
.eqn-request-table .eqn-btn{white-space:nowrap;font-size:11px;padding:7px 9px;}
.eqn-request-table .eqn-urgent{font-weight:700;color:var(--eqn-danger,#b22b35);}
.eqn-source-switcher{margin:14px 0;}
.eqn-source-switcher .eqn-history-row{text-align:left;}

/* 0.5.65: unified documentary operation; scoped, responsive, light/dark inherited. */
.eqn-workflow-modal{width:min(880px,97vw);max-height:calc(100dvh - 20px)}
.eqn-workflow-preview{display:grid;gap:12px}
.eqn-workflow-group{padding:14px;border-radius:12px;border:1px solid var(--eqn-accent,#518d80);background:var(--eqn-raised,#dfe3e2);display:grid;gap:9px}
.eqn-workflow-group-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.eqn-workflow-file-tags{display:flex;flex-wrap:wrap;gap:5px}
.eqn-workflow-file-tags span{font-size:11px;padding:4px 7px;border:1px solid var(--eqn-accent,#518d80);border-radius:7px}
.eqn-workflow-warning{margin:0;color:#b56a13;font-size:12px;line-height:1.5}
.eqn-workflow-group>label{display:flex;align-items:center;justify-content:flex-start;gap:9px}
.eqn-workflow-group>label input[type=checkbox]{width:auto}
.eqn-workflow-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.eqn-workflow-item{display:grid;grid-template-columns:115px minmax(100px,1fr) 80px 100px;gap:6px;margin:8px 0;align-items:center}
.eqn-workflow-recommendations{display:grid;gap:7px}
.eqn-workflow-recommendations label{display:flex;flex-direction:row;gap:8px;font-weight:500}
.eqn-workflow-recommendations input[type=checkbox]{width:auto;align-self:start;margin-top:3px}
.eqn-workflow-manual{padding:10px 12px;border-radius:10px;border:1px solid var(--eqn-line,#c3cbca)}
.eqn-workflow-manual summary{cursor:pointer;font-size:12px;font-weight:650}
.eqn-workflow-manual label{margin-top:9px}
#altek-equipment-root .eqn-asset-siblings .eqn-btn{border-color:#ffffff66;background:#ffffff20;color:#f3ffff}
#altek-equipment-root .eqn-asset-siblings .eqn-btn:hover{background:#ffffff32}
@media(max-width:600px){.eqn-workflow-fields{grid-template-columns:1fr}.eqn-workflow-item{grid-template-columns:90px 1fr}.eqn-workflow-group{padding:10px}.eqn-workflow-modal .eqn-modal-head{padding:10px}}


/* ALTEK 0.5.65 · One prominent entry for assigned employees only. */
#altek-equipment-root .eqn-assigned-inspection{
 margin:0 0 16px;
 border:1px solid #34c78a;
 background:linear-gradient(120deg,rgba(30,116,96,.18),rgba(38,83,93,.09));
 box-shadow:0 7px 20px rgba(26,126,99,.11)
}
#altek-equipment-root .eqn-assigned-inspection-head{display:grid;gap:5px;margin-bottom:12px}
#altek-equipment-root .eqn-assigned-inspection-head>b{font-size:17px;color:var(--eqn-ink)}
#altek-equipment-root .eqn-assigned-inspection-head>small{font-size:12px;color:var(--eqn-muted)}
#altek-equipment-root .eqn-assigned-inspection-list{display:grid;gap:10px}
#altek-equipment-root .eqn-assigned-inspection-row{display:flex;align-items:center;gap:14px;justify-content:space-between;flex-wrap:wrap;border-top:1px solid var(--eqn-line);padding-top:10px}
#altek-equipment-root .eqn-assigned-inspection-row>span{display:grid;gap:4px;min-width:150px}
#altek-equipment-root .eqn-assigned-inspection-row>span>b{font-size:13px}
#altek-equipment-root .eqn-assigned-inspection-row>span>small{color:var(--eqn-muted);font-size:11px}
#altek-equipment-root .eqn-assigned-inspection-row>.eqn-btn{min-height:43px;background:#128a68;border-color:#128a68;color:#fff;font-size:13px;font-weight:700}
@media(max-width:520px){
 #altek-equipment-root .eqn-assigned-inspection-row>.eqn-btn{flex:1 1 100%;width:100%}
}

/* 0.5.65 PROD: explicit confirmation for genuinely distinct same-cost service */
.eqn-workflow-group .eqn-workflow-distinct,.eqn-workflow-manual .eqn-workflow-distinct{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.5;margin-top:7px}
.eqn-workflow-group .eqn-workflow-distinct input,.eqn-workflow-manual .eqn-workflow-distinct input{flex:none;width:16px;height:16px;margin-top:2px}


/* 0.5.65 R2 — coherent service details, PDF evidence and model chooser.
   One consistent color/typographic scale for desktop and mobile; no external fonts. */
#altek-equipment-root .eqn-model-chooser{max-width:960px;margin:12px auto;padding:22px;display:grid;gap:12px}
#altek-equipment-root .eqn-model-chooser h2{margin:0;font-size:20px}
#altek-equipment-root .eqn-model-chooser .eqn-unit-row{font-size:14px;min-height:66px;gap:20px}
#altek-equipment-root .eqn-model-chooser .eqn-unit-row>span:first-child{display:grid;gap:4px}
#altek-equipment-root .eqn-model-chooser .eqn-unit-row small{font-weight:450}
#eqn-modal-portal .eqn-detail-modal{width:min(860px,calc(100vw - 24px))}
#eqn-modal-portal .eqn-detail-body{gap:18px;padding:18px 22px 24px}
#eqn-modal-portal .eqn-detail-summary{display:grid;gap:14px;padding:20px;border-radius:15px;border:1px solid var(--eqn-accent);background:linear-gradient(110deg,color-mix(in srgb,var(--eqn-accent) 12%,var(--eqn-raised)),var(--eqn-raised))}
#eqn-modal-portal .eqn-detail-status{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
#eqn-modal-portal .eqn-detail-status>b{font-size:18px;line-height:1.4}
#eqn-modal-portal .eqn-detail-status>span{display:inline-block;padding:5px 12px;border-radius:999px;border:1px solid var(--eqn-accent);font-size:12px;font-weight:750}
#eqn-modal-portal .eqn-detail-meta{display:flex;flex-wrap:wrap;gap:6px 22px;font-size:13px;color:var(--eqn-muted);line-height:1.5}
#eqn-modal-portal .eqn-detail-meta b{font-weight:700;color:var(--eqn-ink)}
#eqn-modal-portal .eqn-detail-total{display:flex;justify-content:space-between;align-items:end;gap:12px;border-top:1px solid var(--eqn-accent);padding-top:12px}
#eqn-modal-portal .eqn-detail-total small{color:var(--eqn-muted);font-size:12px}
#eqn-modal-portal .eqn-detail-total strong{font-size:clamp(23px,4vw,32px);line-height:1.1;font-variant-numeric:tabular-nums}
#eqn-modal-portal .eqn-detail-section{display:grid;gap:12px;padding:18px;border-radius:15px;border:1px solid var(--eqn-accent);background:color-mix(in srgb,var(--eqn-raised) 74%,transparent)}
#eqn-modal-portal .eqn-detail-section p{margin:0;line-height:1.55;overflow-wrap:anywhere}
#eqn-modal-portal .eqn-detail-section-title{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
#eqn-modal-portal .eqn-detail-section-title h4{margin:0;font-size:16px}
#eqn-modal-portal .eqn-detail-section-title>span{color:var(--eqn-muted);font-size:12px}
#eqn-modal-portal .eqn-cost-list,#eqn-modal-portal .eqn-attachments{display:grid;gap:9px}
#eqn-modal-portal .eqn-cost-line{display:grid;grid-template-columns:minmax(90px,auto) minmax(180px,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--eqn-accent);border-radius:11px;background:var(--eqn-raised)}
#eqn-modal-portal .eqn-cost-line-type{display:inline-flex;width:max-content;font-size:11px;padding:5px 9px;border-radius:999px;color:var(--eqn-ink);border:1px solid var(--eqn-accent)}
#eqn-modal-portal .eqn-cost-line-name{font-size:13px;line-height:1.5;font-weight:650;overflow-wrap:anywhere}
#eqn-modal-portal .eqn-cost-equation{display:grid;grid-template-columns:auto auto auto auto auto;gap:9px;align-items:center;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:13px}
#eqn-modal-portal .eqn-cost-equation>span:nth-child(even){color:var(--eqn-muted);font-weight:800}
#eqn-modal-portal .eqn-cost-equation strong{font-weight:800;font-size:15px}
#eqn-modal-portal .eqn-cost-check{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--eqn-accent);padding:13px 2px 0;font-size:13px}
#eqn-modal-portal .eqn-cost-check strong{font-size:20px;font-variant-numeric:tabular-nums}
#eqn-modal-portal .eqn-document-attachment{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:1px solid var(--eqn-accent);border-radius:11px;background:var(--eqn-raised);color:var(--eqn-ink);font:inherit;cursor:pointer;text-align:left}
#eqn-modal-portal .eqn-document-attachment:hover{background:var(--eqn-hover)}
#eqn-modal-portal .eqn-doc-symbol{font-size:27px;color:var(--eqn-accent)}
#eqn-modal-portal .eqn-doc-text{display:grid;min-width:0;gap:4px;flex:1}
#eqn-modal-portal .eqn-doc-text strong{font-size:13px;overflow-wrap:anywhere}
#eqn-modal-portal .eqn-doc-text small{font-size:11px;color:var(--eqn-muted)}
#eqn-modal-portal .eqn-document-attachment>b{font-size:12px;white-space:nowrap}
#eqn-modal-portal .eqn-attach-action{justify-self:start;min-height:42px}
#eqn-modal-portal .eqn-attach-target{display:grid;gap:7px;padding:14px;border-radius:12px;background:var(--eqn-raised);border:1px solid var(--eqn-accent)}
#eqn-modal-portal .eqn-attach-target>small{color:var(--eqn-muted);font-size:12px}
#eqn-modal-portal .eqn-attach-target>strong{font-size:16px}
#eqn-modal-portal .eqn-attach-target>span{font-size:13px;font-variant-numeric:tabular-nums}
#eqn-modal-portal .eqn-form-error{font-size:12px;color:#f39a9a;line-height:1.5;overflow-wrap:anywhere}
#eqn-modal-portal .eqn-form-error:empty{display:none}
#altek-equipment-root .eqn-source-switcher{padding:18px 20px;border-radius:16px}
#altek-equipment-root .eqn-source-switcher .eqn-history-row{padding:14px;border-radius:12px;font-size:13px}
#altek-equipment-root .eqn-report-audit{border-radius:14px;padding:14px 18px;gap:8px 20px}
@media(max-width:760px){
 #eqn-modal-portal .eqn-cost-line{grid-template-columns:1fr;gap:8px}
 #eqn-modal-portal .eqn-cost-equation{justify-content:start;white-space:normal;gap:6px}
 #eqn-modal-portal .eqn-detail-body{padding:12px}
 #eqn-modal-portal .eqn-detail-summary,#eqn-modal-portal .eqn-detail-section{padding:14px}
 #eqn-modal-portal .eqn-document-attachment{flex-wrap:wrap}
 #eqn-modal-portal .eqn-document-attachment>b{margin-left:35px}
 #altek-equipment-root .eqn-model-chooser{padding:14px}
}


/* 0.5.65 R3: pre-shift inspection is the primary action in a worker's own asset. */
#altek-equipment-root .eqn-inspection-first{display:grid;gap:10px;padding:18px 20px;margin:0 0 14px;border-radius:16px;border:1.5px solid #32bf87;background:linear-gradient(120deg,rgba(35,155,118,.15),rgba(44,118,110,.08));box-shadow:0 6px 18px rgba(8,117,87,.1)}
#altek-equipment-root .eqn-inspection-first .eqn-btn.primary{display:block;width:100%;min-height:54px;border-radius:12px;background:#138566;border:1px solid #138566;color:white;font-size:16px;font-weight:750;white-space:normal;line-height:1.35;box-shadow:0 4px 12px rgba(10,105,82,.14)}
#altek-equipment-root .eqn-inspection-first .eqn-btn.primary:hover,#altek-equipment-root .eqn-inspection-first .eqn-btn.primary:focus-visible{background:#106f55;outline:2px solid #5ccaaa;outline-offset:2px}
@media(max-width:580px){#altek-equipment-root .eqn-inspection-first{margin:0 6px 12px;padding:16px}#altek-equipment-root .eqn-inspection-first .eqn-btn.primary{min-height:58px}}

/* ALTEK 0.5.65 R4 candidate · desktop 1920×1080 dashboard, scoped to overview only.
 * No app-wide scroll, header, sidebar or KPI logic is changed. */
#altek-equipment-root .eqn-equipment-home{display:grid;gap:10px;min-width:0}
#altek-equipment-root .eqn-equipment-home .eqn-kpis{gap:10px;margin:0}
#altek-equipment-root .eqn-equipment-home .eqn-kpi{min-height:90px;padding:11px 15px 9px 18px}
#altek-equipment-root .eqn-equipment-home .eqn-kpi>strong{font-size:27px;margin-top:6px}
#altek-equipment-root .eqn-equipment-home .eqn-overview-columns{grid-template-columns:minmax(0,1fr);gap:10px}
#altek-equipment-root .eqn-panel-forklift{height:clamp(194px,23vh,244px);min-height:0}
#altek-equipment-root .eqn-panel-forklift .eqn-forklift-select{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr);align-items:stretch;gap:14px;min-height:0;height:100%;padding:8px}
#altek-equipment-root .eqn-panel-forklift .eqn-hero-art{min-height:0;width:100%;height:100%;flex:auto}
#altek-equipment-root .eqn-home-cat-data{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;padding:14px 22px;min-width:0}
#altek-equipment-root .eqn-home-cat-data>small{font-size:10px;font-weight:700;letter-spacing:.12em;color:var(--eqn-muted)}
#altek-equipment-root .eqn-home-cat-data>strong{font-size:clamp(25px,2.25vw,38px);line-height:1.12;color:var(--eqn-ink);font-weight:750}
#altek-equipment-root .eqn-home-cat-data>span{font-size:13px;color:var(--eqn-muted)}
#altek-equipment-root .eqn-home-cat-data .eqn-home-cat-link{font-weight:650;color:var(--eqn-accent);font-size:12px}
#altek-equipment-root .eqn-panel-trolleys{height:clamp(305px,33vh,360px);min-height:0}
#altek-equipment-root .eqn-panel-trolleys .eqn-trolley-grid{height:100%;min-height:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;padding:10px}
#altek-equipment-root .eqn-panel-trolleys .eqn-trolley{gap:3px;padding:7px}
#altek-equipment-root .eqn-panel-trolleys .eqn-trolley img{flex:1 1 auto;min-height:0;width:100%;max-height:calc(100% - 37px)}
#altek-equipment-root .eqn-panel-trolleys .eqn-trolley strong{font-size:12px;line-height:1.2}
#altek-equipment-root .eqn-panel-trolleys .eqn-trolley small{font-size:10px;line-height:1.15}
/* R5: separate yellow low-profile reference keeps a white original background.
 * No color filter: never tint the surrounding white photo backdrop. */
#altek-equipment-root .eqn-trolley-gray img,
#altek-equipment-root .eqn-art-gray img{filter:grayscale(1) brightness(1.12)}
#altek-equipment-root .eqn-home-cat-data,.eqn-label-preview{overflow-wrap:anywhere}
/* Keep the original 4 KPI across on standard desktop; allow scroll on smaller viewports. */
@media(min-width:1091px) and (max-height:850px){
 #altek-equipment-root .eqn-panel-forklift{height:200px}
 #altek-equipment-root .eqn-panel-trolleys{height:310px}
 #altek-equipment-root .eqn-equipment-home .eqn-kpi{min-height:82px}
}
@media(max-width:1090px){
 #altek-equipment-root .eqn-panel-forklift{height:235px}
 #altek-equipment-root .eqn-panel-trolleys{height:450px}
 #altek-equipment-root .eqn-panel-trolleys .eqn-trolley-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
 #altek-equipment-root .eqn-home-cat-data{padding:12px}
}
@media(max-width:750px){
 #altek-equipment-root .eqn-panel-forklift{height:auto;min-height:0}
 #altek-equipment-root .eqn-panel-forklift .eqn-forklift-select{display:flex;flex-direction:column;min-height:300px;gap:8px}
 #altek-equipment-root .eqn-panel-forklift .eqn-hero-art{height:190px;min-height:190px;flex:none}
 #altek-equipment-root .eqn-home-cat-data{gap:5px;padding:6px 10px 12px}
 #altek-equipment-root .eqn-home-cat-data>strong{font-size:23px}
 #altek-equipment-root .eqn-panel-trolleys{height:760px}
 #altek-equipment-root .eqn-panel-trolleys .eqn-trolley-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:9px;padding:9px}
 #altek-equipment-root .eqn-panel-trolleys .eqn-trolley strong{font-size:11px}
 #altek-equipment-root .eqn-panel-trolleys .eqn-trolley img{max-height:calc(100% - 35px)}
}
@media(max-width:410px){
 #altek-equipment-root .eqn-panel-trolleys{height:710px}
 #altek-equipment-root .eqn-panel-trolleys .eqn-trolley{padding:5px}
 #altek-equipment-root .eqn-equipment-home .eqn-kpi{min-height:88px;padding:9px 7px 8px 14px}
 #altek-equipment-root .eqn-equipment-home .eqn-kpi>strong{font-size:23px}
}
/* QR label settings / actual vector print preview, isolated in existing modal. */
#eqn-modal-portal .eqn-qr-tools{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}
#eqn-modal-portal .eqn-qr-tools label{display:grid;gap:7px}
#eqn-modal-portal .eqn-qr-tools label b{display:inline;color:var(--eqn-accent)}
#eqn-modal-portal .eqn-label-preview{display:flex;align-items:center;justify-content:center;background:#e1e7e6;border:1px solid #b9c7c8;border-radius:13px;padding:18px;min-height:210px}
#eqn-modal-portal .eqn-label-preview svg{display:block;width:min(100%,530px);height:auto;max-height:330px;object-fit:contain;box-shadow:0 6px 18px #0002;background:#fff}
#eqn-modal-portal #eqn-qr-svg[hidden]{display:none!important}
#eqn-modal-portal .eqn-btn.danger{background:#83372f;color:#fff;border-color:#a64840}
@media(max-width:520px){#eqn-modal-portal .eqn-qr-tools{grid-template-columns:1fr}#eqn-modal-portal .eqn-label-preview{padding:10px;min-height:175px}}

/* R4 simplified archive: archived units stay reachable in one click, without affecting active groups. */
#altek-equipment-root .eqn-retired-strip{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:7px 13px;border:1px solid var(--eqn-line);border-radius:12px;background:var(--eqn-raised);min-width:0}
#altek-equipment-root .eqn-retired-heading{display:flex;flex-direction:column;gap:1px;flex:0 0 auto}
#altek-equipment-root .eqn-retired-heading strong{font-size:12px}
#altek-equipment-root .eqn-retired-heading small{font-size:10px;color:var(--eqn-muted)}
#altek-equipment-root .eqn-retired-items{display:flex;gap:6px;flex-wrap:wrap;flex:1;min-width:0;justify-content:flex-end}
#altek-equipment-root .eqn-retired-item{border:1px solid var(--eqn-line);border-radius:9px;background:transparent;color:var(--eqn-ink);font:inherit;font-size:11px;min-height:32px;padding:5px 9px;cursor:pointer;display:flex;gap:10px;align-items:center;max-width:100%}
#altek-equipment-root .eqn-retired-item:hover{background:var(--eqn-hover)}
#altek-equipment-root .eqn-retired-item b{color:var(--eqn-accent);white-space:nowrap}
@media(max-width:750px){#altek-equipment-root .eqn-retired-strip{align-items:stretch}#altek-equipment-root .eqn-retired-items{justify-content:flex-start}#altek-equipment-root .eqn-retired-item{width:100%;justify-content:space-between}}

/* R5 — native ALTEK confirmation modal and explicit calendar / overdue split. */
#eqn-modal-portal .eqn-admin-confirm-modal{width:min(480px,100%)}
#eqn-modal-portal .eqn-admin-content{padding:20px 20px 8px;display:grid;gap:8px;overflow-wrap:anywhere}
#eqn-modal-portal .eqn-admin-content>strong{font-size:16px;color:var(--eqn-ink)}
#eqn-modal-portal .eqn-admin-content>small{font-size:12px;color:var(--eqn-muted)}
#eqn-modal-portal .eqn-admin-content>p{margin:7px 0 9px;font-size:13px;line-height:1.55}
#eqn-modal-portal .eqn-admin-error{color:#f4a7a4;font-size:12px;font-weight:700;min-height:0}
#eqn-modal-portal .eqn-admin-error:empty{display:none}
#eqn-modal-portal .eqn-admin-confirm-modal .eqn-modal-footer{justify-content:flex-end;gap:10px}
#eqn-modal-portal .eqn-admin-confirm-modal .eqn-modal-footer button{min-width:110px}
#eqn-modal-portal .eqn-admin-confirm-modal .eqn-btn:disabled{opacity:.55;cursor:wait;transform:none;box-shadow:none}
#altek-equipment-root .eqn-maintenance-calendar{display:grid;gap:14px}
#altek-equipment-root .eqn-maintenance-calendar>section{padding:14px;border:1px solid var(--eqn-line);background:var(--eqn-raised);border-radius:12px}
#altek-equipment-root .eqn-maintenance-calendar h3{font-size:15px;margin:0 0 7px}
#altek-equipment-root .eqn-maintenance-calendar p{font-size:12px;color:var(--eqn-muted);line-height:1.55;margin:0 0 10px}
#altek-equipment-root .eqn-maintenance-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#altek-equipment-root .eqn-maintenance-points .eqn-timeline-point{margin:0;min-width:0}
#altek-equipment-root .eqn-timeline-overdue{border-color:#a76a55!important;box-shadow:inset 3px 0 #d28a68}
@media(max-width:640px){#altek-equipment-root .eqn-maintenance-points{grid-template-columns:1fr}#eqn-modal-portal .eqn-admin-confirm-modal .eqn-modal-footer button{min-width:0;flex:1}}
