/* Tray electronics study (local draft). Builds on tray.css; LRS-350 in amber. */
.te-mono{font-family:var(--mono);font-size:13px;color:var(--ts-head);font-weight:600}
.ts-sec__p b{color:var(--ts-head)}
.te-card--rec{border-top-color:var(--s-ready)}
.te-card--rec .ts-card__n{color:var(--s-ready)}
.te-card .ts-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
.te-facts{max-width:860px}
.te-new th,.te-new td{background:color-mix(in srgb,#E0A458 8%,transparent)}
.te-bay{fill:#141B20;stroke:#E0A458;stroke-width:1.2}
.te-wall{fill:#2A3A44}
.te-tag{fill:var(--ts-dim);font-family:var(--mono);font-size:13px;letter-spacing:.04em}
.ts-part.te-part--lrs350{fill:#3A2B18;stroke:#E0A458}
.ts-part.te-part--psu{fill:#2B2A3A;stroke:#9D8CFF}
.ts-part.te-part--pi{fill:#1E3440;stroke:#4CB5F5}
.ts-part.te-part--hub{fill:#14532D;stroke:#22863A}
.te-term{stroke:#F2C14E;stroke-width:5}
.te-fan{fill:none;stroke:#E0A458;stroke-width:1.2;stroke-dasharray:3 3}
.te-small{font-size:11px}
.te-zone{fill:color-mix(in srgb,var(--s-ready) 22%,transparent);stroke:var(--s-ready);stroke-width:.8;stroke-dasharray:3 2}
.te-zone--bad{fill:color-mix(in srgb,var(--s-fault) 30%,transparent);stroke:var(--s-fault)}
.te-pair{align-items:start}
.te-pair .ts-stack-t{max-width:none}
/* side sections */
.te-sec{font-family:var(--mono)}
.te-s-floor{fill:#2A3A44}
.te-s{stroke-width:1;stroke:#5E7480}
.te-s--elec{fill:#3A2B18;stroke:#E0A458}
.te-s--pcb{fill:#1B6B3A;stroke:#2EA043}
.te-s--retract,.te-s--holder{fill:color-mix(in srgb,var(--c) 22%,#151D23);stroke:color-mix(in srgb,var(--c) 70%,transparent)}
.te-s--phones{fill:#2E3F49;stroke:#6F8794}
.te-s--tbd{stroke-dasharray:5 4}
.te-s-bay{fill:#141B20;stroke:#E0A458;stroke-width:1}
.te-s-wall{fill:#2A3A44}
.te-s-shelf{fill:#5E7480}
.te-s-part{stroke-width:.8}
.te-s-part.te-part--lrs350{fill:#3A2B18;stroke:#E0A458}
.te-s-part.te-part--psu{fill:#2B2A3A;stroke:#9D8CFF}
.te-s-part.te-part--pi{fill:#1E3440;stroke:#4CB5F5}
.te-s-part.te-part--hub{fill:#14532D;stroke:#22863A}
.te-s-lab{fill:var(--ts-dim);font-size:14px}
.te-s-lab--bay{fill:#E0A458}
.te-s-lead{stroke:var(--line);stroke-width:.8;stroke-dasharray:2 3}
.te-s-total{fill:var(--ts-head);font-size:17px;font-weight:600}
/* comparison */
.te-cmp{max-width:none}
.te-cmp td{font-family:var(--sans);font-size:13px;color:var(--ink)}
.te-cmp td:last-child{font-family:var(--mono);font-weight:700;color:var(--s-ready);text-align:center}
.te-cmp td small{color:var(--s-ready)}
/* B2 */
.te-grille{fill:repeating-linear-gradient(90deg,#2A3A44 0 4px,#141B20 4px 8px);fill:#3A4C58;stroke:#5E7480;stroke-dasharray:4 3}
.te-air line{stroke:#7FD1FF;stroke-width:1.6;stroke-dasharray:5 4}
.te-air polygon{fill:#7FD1FF}
.te-front{font-family:var(--mono);max-width:900px}
.te-vlab{fill:var(--ts-dim);font-size:11px}
.te-gapnum{fill:#7FD1FF;font-size:9px}
.te-fanface{stroke:#7FD1FF;stroke-width:4}
/* 3D */
.t3{display:grid;gap:8px}
.t3__bar{display:flex;flex-wrap:wrap;gap:8px}
.t3__stage{position:relative;height:clamp(420px,62vh,680px);background:var(--sheet);border:1px solid var(--line);overflow:hidden}
.t3__stage canvas{display:block;width:100%;height:100%;cursor:grab}
.t3__labels{position:absolute;inset:0;pointer-events:none}
.t3__label{position:absolute;left:0;top:0;font-family:var(--mono);font-size:10.5px;letter-spacing:.04em;color:var(--ts-head);
  background:rgba(14,20,24,.82);border:1px solid var(--line);padding:2px 6px;white-space:nowrap}
.t3__hint{margin:0;font-family:var(--mono);font-size:10.5px;color:var(--ts-dim-2);letter-spacing:.06em}
.te-facts-t{max-width:760px}
.ts-arr__h.c1 .ts-arr__n,.ts-arr__h.c2 .ts-arr__n{color:var(--c)}
/* locked tray */
.te-spec{max-width:760px;margin-top:18px}
.te-spec h3{font-family:var(--mono);letter-spacing:.02em}
.te-gapband{fill:color-mix(in srgb,#E0A458 18%,transparent);stroke:#E0A458;stroke-width:.8;stroke-dasharray:4 3}
.te-tag--gap{fill:#E0A458;font-size:11px}
.te-env{fill:none;stroke:#E0A458;stroke-width:1.2;stroke-dasharray:8 5}
.te-airline{stroke:#7FD1FF;stroke-width:1;stroke-dasharray:3 4;opacity:.7}
.te-slot{fill:none;stroke:var(--line);stroke-dasharray:4 4}
.te-size td{font-family:var(--mono)}
.te-size td:last-child{font-size:15px}
.te-list{margin:0;padding-left:22px;display:grid;gap:8px;max-width:860px;color:var(--ink);font-size:14px;line-height:1.55}
.te-list b{color:var(--ts-head)}
@media (max-width:640px){.te-card .ts-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
.te-frontfig{max-width:620px}
.te-frontfig svg{max-height:420px}
.te-floor{fill:#151D23;stroke:var(--line);stroke-width:1}
.te-fieldline{fill:none;stroke:var(--ts-c1);stroke-width:1.2;stroke-dasharray:8 6;opacity:.7}
.te-tiers{display:grid;grid-template-columns:1fr;gap:2px}
.te-b1{display:grid;gap:2px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start}
@media (max-width:900px){.te-b1{grid-template-columns:1fr}}
.te-tri{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
@media (max-width:760px){.te-tri{grid-template-columns:1fr}}
.te-cards3{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));margin-top:16px}
.te-3dnote{margin-top:22px}
/* B3: phone footprints with their screen edge */
.te-phone{fill:#2E3F49;stroke:none}
.te-screen{stroke:#7FD1FF;stroke-width:2}
.te-tag--op{fill:#7FD1FF;font-size:12px}
.te-b3t{max-width:none} .te-b3t td{font-family:var(--mono);font-size:13px}
