/* DP Apoio Técnico — plantas das salas */
.dpat-plan{display:block;width:100%;height:auto;max-height:78vh;font-family:inherit;user-select:none;-webkit-user-select:none}
.dpat-plan text{font-family:inherit;pointer-events:none}
/* sala */
.dpat-plan .wall{fill:#2b3446}
/* mesas */
.dpat-plan .sh{fill:rgba(0,0,0,.2)}
.dpat-plan .desk{fill:#ffffff;stroke:#9ca3af;stroke-width:.3}
.dpat-plan .desk.prof{fill:#ffffff;stroke:#6b7280;stroke-width:.4}
.dpat-plan .t-mesa .desk{fill:#ffffff}
.dpat-plan .ch-l rect{fill:#f97316;stroke:#c2410c;stroke-width:.2}.dpat-plan .ch-l .chb{fill:#c2410c;stroke:none}.dpat-plan .ch-p rect{fill:#1f2937;stroke:#0b0f17;stroke-width:.2}.dpat-plan .ch-p .chb{fill:#000;stroke:none}
.dpat-plan .mon{fill:#1f2937}.dpat-plan .kb{fill:#f8fafc;stroke:#94a3b8;stroke-width:.2}
/* equipamentos */
.dpat-plan .tvb{fill:#0f172a}.dpat-plan .tvs{opacity:.95}
.dpat-plan .prj{fill:#f5f3ff;stroke:#7c3aed;stroke-width:.35}.dpat-plan .lens{fill:#4c1d95;stroke:#c4b5fd;stroke-width:.3}
.dpat-plan .dev{stroke-width:.35}.dpat-plan .d-impressora{fill:#fff7e6;stroke:#b45309;color:#b45309}.dpat-plan .d-wifi{fill:#ecfdf3;stroke:#15803d;color:#15803d}.dpat-plan .d-colunas{fill:#fdf4ff;stroke:#a21caf;color:#a21caf}
.dpat-plan .arm{fill:#e3e5e7;stroke:#9ca3af;stroke-width:.3}.dpat-plan .armf{fill:#d4d7da}.dpat-plan .armdo{fill:#eceef0;stroke:#a3a9b1;stroke-width:.15}.dpat-plan .armg{fill:#bcd3e0;fill-opacity:.85;stroke:#a3a9b1;stroke-width:.15}.dpat-plan .armr{stroke:#ffffff;stroke-opacity:.8;stroke-width:.18}.dpat-plan .armh{fill:#6b7280}
.dpat-plan .board{fill:#ffffff;stroke:#94a3b8;stroke-width:.3}
/* paredes: janelas e porta */
.dpat-plan .win{fill:#dbeefe;stroke:#3b82f6;stroke-width:.25}.dpat-plan .winl{stroke:#3b82f6;stroke-width:.25}
.dpat-plan .gap{fill:#b7b8b6}.dpat-plan .leaf{stroke:#475569;stroke-width:.45}.dpat-plan .arc{fill:none;stroke:#6b7280;stroke-width:.3;stroke-dasharray:1 .8}
.dpat-plan .rmname{fill:#d9dad8;font-weight:800;letter-spacing:.06em}
/* etiquetas */
.dpat-plan .lb rect{fill:#eef2f7;stroke:rgba(15,23,42,.16);stroke-width:.2}
.dpat-plan .lb text{fill:#152033;font-weight:700}
.dpat-plan .lb.dark rect{fill:#0b1220;stroke:rgba(255,255,255,.35);stroke-width:.2}.dpat-plan .lb.dark text{fill:#ffffff}
.dpat-plan .lb.soft rect{fill:#f3f4f6;stroke:none}.dpat-plan .lb.soft text{fill:#6b7280;font-weight:600}
/* estados */
.dpat-plan .halo{fill:none;stroke:none}
.dpat-plan .pi.sel .halo{fill:rgba(37,99,235,.12);stroke:#2563eb;stroke-width:.7}
.dpat-plan .pi.has.opn .halo{fill:rgba(245,158,11,.16);stroke:#f59e0b;stroke-width:.7}
.dpat-plan .pi.has.urg .halo{fill:rgba(220,38,38,.16);stroke:#dc2626;stroke-width:.8;animation:dpatPlanPulse 1.6s ease-in-out infinite}
@keyframes dpatPlanPulse{50%{stroke-width:1.6;stroke-opacity:.45}}
.dpat-plan .mk .mkc{fill:#f59e0b;stroke:#fff;stroke-width:.6}.dpat-plan .pi.has.urg .mk .mkc{fill:#dc2626}
.dpat-plan .mk text{fill:#fff;font-weight:800}
.dpat-plan .pi.has,.dpat-plan.pick .pi.eq{cursor:pointer}
.dpat-plan.pick .pi:not(.eq):not(.t-janela):not(.t-porta):not(.t-texto){opacity:.45}
.dpat-plan.pick .pi.eq:hover .halo{fill:rgba(37,99,235,.08);stroke:#93c5fd;stroke-width:.5}
.dpat-plan .rz{fill:#2563eb;stroke:#fff;stroke-width:.3;cursor:nwse-resize}
/* escolha no formulário */
.dpat-plan-pick{margin-top:10px;border:1.5px solid #dbe3ee;border-radius:14px;background:#fff;padding:12px}
.dpat-plan-pick .pp-h{display:flex;justify-content:space-between;gap:10px;align-items:baseline;font-size:14px;margin-bottom:6px}
.dpat-plan-pick .pp-h b{font-size:15px}.dpat-plan-pick .pp-sel{color:#1f5fae;font-weight:700}
.dpat-plan-pick .dpat-plan{max-height:60vh}
/* editor (painel) */
.pe{display:grid;grid-template-columns:190px minmax(0,1fr) 230px;gap:16px;align-items:start}
@media(max-width:1100px){.pe{grid-template-columns:1fr}}
.pe-pal{display:flex;flex-direction:column;gap:6px}.pe-pal b,.pe-prop>b{display:block;margin-bottom:4px}
.pe-add{display:flex!important;align-items:center;gap:8px;text-align:left;white-space:normal;line-height:1.3!important;min-height:30px}
.pe-add i{flex:none;width:14px;height:14px;border:1.5px solid;border-radius:3px}
.pe-bar{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin-bottom:8px}.pe-bar input{width:70px}.pe-hint{color:#646970;font-size:12px;flex:1}
.pe-can{border:1px solid #dcdcde;border-radius:8px;background:repeating-linear-gradient(0deg,#fbfcfe 0 19px,#f1f4f8 19px 20px),#fbfcfe;padding:8px;outline:none;touch-action:none}
.pe-can:focus{box-shadow:0 0 0 2px #2271b1}
.pe-can .dpat-plan{max-height:76vh}
.pe-p label{display:block;margin:8px 0;font-weight:600}.pe-p input[type=text],.pe-p input[type=number]{width:100%}
.pe-2{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pe-rot{display:flex;align-items:center;gap:8px}.pe-rot input{flex:1}
.pe-btns{display:flex;gap:6px;flex-wrap:wrap}.pe-eq{background:#dbe8f8;color:#163f78;border-radius:99px;padding:1px 8px;font-size:11px;font-weight:700}
.pe-head{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:flex-end}.pe-head label{display:flex;flex-direction:column;gap:4px;font-weight:600}
.pe-save{margin-left:auto;display:flex;align-items:center;gap:10px}#pe-msg.ok{color:#15803d;font-weight:700}#pe-msg.warn{color:#b45309}#pe-msg.err{color:#b91c1c;font-weight:700}
/* lista e consulta (painel) */
.pl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.pl-c{display:flex;flex-direction:column;gap:8px;margin:0!important}.pl-th{display:block;background:#f6f8fb;border-radius:8px;padding:6px}.pl-th .dpat-plan{max-height:240px}
.pl-n{display:inline-block;background:#fff4dc;color:#8a5a00;border-radius:99px;padding:1px 9px;font-size:12px;font-weight:700}.pl-n.u{background:#fde8e8;color:#991b1b}.pl-ok{color:#15803d;font-size:12px;font-weight:600}
.pv{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:16px;align-items:start}@media(max-width:1000px){.pv{grid-template-columns:1fr}}
.pv-leg{color:#646970;font-size:12px}.pv-leg i{display:inline-block;width:10px;height:10px;border-radius:50%;margin:0 4px 0 10px;vertical-align:-1px}.pv-leg i:first-child{margin-left:0}.pv-leg i.u{background:#dc2626}.pv-leg i.o{background:#f59e0b}
.pv-list{margin:0;padding:0;list-style:none}.pv-list li{padding:10px 0;border-bottom:1px solid #f0f0f1}.dpat-urg{background:#fde8e8;color:#991b1b;border-radius:99px;padding:1px 8px;font-size:11px;font-weight:700}

/* painel interativo SMART */
.dpat-plan .smb{fill:#e6e7e3;stroke:#a3a7a0;stroke-width:.25}
.dpat-plan .smspk{fill:#cfd2cc}
.dpat-plan .smt{fill:#d6d8d3;stroke:#a3a7a0;stroke-width:.12}
.dpat-plan .smp{fill:#6b7280}
.dpat-plan .armdo.sl{fill:#eceef0;stroke:#9ca3af;stroke-width:.12}.dpat-plan .armdo.sl.back{fill:#e2e4e7}.dpat-plan .armpull{fill:#111827}.dpat-plan .armlock{fill:#374151}

/* bancadas técnicas */
.dpat-plan .bt{stroke:#2b2f33;stroke-width:.3}
.dpat-plan .bpanel{fill:#e5e7e3;stroke-width:.35}
.dpat-plan .bsk{fill:#ffffff;stroke:#4b5563;stroke-width:.12}
.dpat-plan .bmeter{fill:#f8fafc;stroke:#111827;stroke-width:.15}.dpat-plan .bstop{fill:#dc2626;stroke:#fde047;stroke-width:.25}
.dpat-plan .bpeg{fill:#d1d5d8;stroke:#9ca3af;stroke-width:.15}.dpat-plan .bhole{fill:#8b9299}.dpat-plan .bbin{fill:#3b82f6;stroke:#1d4ed8;stroke-width:.12}
.dpat-plan .brail{fill:#c7ccd1;stroke:#6b7280;stroke-width:.15}.dpat-plan .bgo{fill:#22c55e;stroke:#166534;stroke-width:.15}
.dpat-plan .bdash{fill:none;stroke:#8b9299;stroke-width:.2;stroke-dasharray:.6 .4}.dpat-plan .bdr{fill:#9ca3af}
.dpat-plan .bwb{fill:#ffffff;stroke:#9ca3af;stroke-width:.2}.dpat-plan .blamp{fill:#e5e7eb;stroke:#6b7280;stroke-width:.2}.dpat-plan .blampb{fill:#f3f4f6;stroke:#9ca3af;stroke-width:.12;opacity:.9}
.dpat-plan .bgrid{stroke:#d1d5db;stroke-width:.25}

/* ===== aspeto moderno (v1.25) ===== */
.dpat-plan .wall{fill:#1e293b}
.dpat-plan .wallin{fill:none;stroke:rgba(255,255,255,.18);stroke-width:.25}
.dpat-plan .sh{display:none}
.dpat-plan .desk{stroke:#d5dbe3;stroke-width:.22}
.dpat-plan .desk.prof{stroke:#b9c2cf;stroke-width:.3}
.dpat-plan .ch-l rect,.dpat-plan .ch-p rect{stroke:none}
.dpat-plan .ch .chb{fill:none;stroke-width:.75;stroke-linecap:round}
.dpat-plan .ch-l .chb{stroke:#9a3412}.dpat-plan .ch-p .chb{stroke:#030712}
.dpat-plan .mon{fill:#0f172a}.dpat-plan .kb{fill:#f1f5f9;stroke:#cbd5e1;stroke-width:.15}
.dpat-plan .win{stroke:#60a5fa;stroke-width:.2}.dpat-plan .winl{stroke:#ffffff;stroke-opacity:.8;stroke-width:.2}
.dpat-plan .gap{fill:#c5c6c4}.dpat-plan .leaf{stroke:#334155;stroke-width:.4;stroke-linecap:round}.dpat-plan .arc{stroke:#64748b;stroke-width:.22;stroke-dasharray:.8 .7}
.dpat-plan .rmname{fill:#ffffff;fill-opacity:.55;font-weight:800;letter-spacing:.12em}
.dpat-plan .lb rect{fill:#ffffff;stroke:none;filter:drop-shadow(0 .15px .25px rgba(15,23,42,.25))}
.dpat-plan .lb text{fill:#0f172a;font-weight:650}
.dpat-plan .lb.soft rect{fill:rgba(255,255,255,.88)}.dpat-plan .lb.soft text{fill:#475569;font-weight:600}
.dpat-plan .lb.dark rect{fill:#0f172a;stroke:rgba(255,255,255,.25);stroke-width:.15}
.dpat-plan .pi.sel .halo{fill:rgba(59,130,246,.10);stroke:#3b82f6;stroke-width:.55}
.dpat-plan .pi.has.opn .halo{fill:rgba(245,158,11,.14);stroke:#f59e0b;stroke-width:.6}
.dpat-plan .pi.has.urg .halo{fill:rgba(239,68,68,.14);stroke:#ef4444;stroke-width:.65}
.dpat-plan .mk .mkc{stroke:#ffffff;stroke-width:.7;filter:drop-shadow(0 0 .6px rgba(239,68,68,.55))}
.dpat-plan .pi.has.opn .mk .mkc{fill:#f59e0b;filter:drop-shadow(0 0 .6px rgba(245,158,11,.6))}
.dpat-plan .pi.has.urg .mk .mkc{fill:#ef4444}
.dpat-plan .smb{fill:#eef0ec;stroke:#c3c7c0}
.dpat-plan .arm{fill:#eceef1;stroke:#c7ccd3}.dpat-plan .armf{fill:#e1e4e8}
.dpat-plan .bt{stroke:#1f2937;stroke-width:.22}

/* chão mais claro e suave (v1.25.1) */
.dpat-plan .rmname{fill:#0f172a;fill-opacity:.14}
.dpat-plan .gap{fill:#d6d6d1}

/* avariado = vermelho (v1.25.2): qualquer equipamento com pedido aberto; urgente = a piscar */
.dpat-plan .pi.has .halo{fill:rgba(239,68,68,.2);stroke:#ef4444;stroke-width:.7}
.dpat-plan .pi.has.urg .halo{stroke-width:.8;animation:dpatPlanPulse 1.4s ease-in-out infinite}
.dpat-plan .pi.has .mk .mkc,.dpat-plan .pi.has.opn .mk .mkc{fill:#ef4444;filter:drop-shadow(0 0 .7px rgba(239,68,68,.6))}
.dpat-plan .pi.has .desk,.dpat-plan .pi.has .bt,.dpat-plan .pi.has .smb,.dpat-plan .pi.has .prj,.dpat-plan .pi.has .dev{stroke:#ef4444;stroke-width:.45}
.dpat-plan .pi.has .lb rect{fill:#ef4444}.dpat-plan .pi.has .lb text{fill:#ffffff}
.pl-n{background:#fde8e8!important;color:#991b1b!important}.pv-leg i.u{background:#ef4444}
.dpat-plan .pi.has.opn .halo,.dpat-plan .pi.has.urg .halo{fill:rgba(239,68,68,.2);stroke:#ef4444}
.dpat-plan .pi.has.opn .mk .mkc,.dpat-plan .pi.has.urg .mk .mkc{fill:#ef4444}

/* bastidor de rede */
.dpat-plan .rk{fill:#111827;stroke:#030712;stroke-width:.25}
.dpat-plan .rkin{fill:#1f2937;stroke:#374151;stroke-width:.15}
.dpat-plan .rkv{fill:#0b0f17}
.dpat-plan .rkdoor{stroke:#4b5563;stroke-width:.12}
.dpat-plan .rkled.g{fill:#22c55e;filter:drop-shadow(0 0 .35px #22c55e)}.dpat-plan .rkled.a{fill:#f59e0b;filter:drop-shadow(0 0 .35px #f59e0b)}
.dpat-plan .rkcab{fill:#6b7280}
.dpat-plan .pi.has .rk{stroke:#ef4444;stroke-width:.5}

/* posto de trabalho (PC) */
.dpat-plan .pct{fill:#1f2937;stroke:#0b0f17;stroke-width:.15}
.dpat-plan .pctv{fill:#0b0f17}
.dpat-plan .pcled{fill:#38bdf8;filter:drop-shadow(0 0 .35px #38bdf8)}
.dpat-plan .pcst{fill:#cbd5e1;stroke:#94a3b8;stroke-width:.1}
.dpat-plan .pcm{fill:#0f172a;stroke:#020617;stroke-width:.12}
.dpat-plan .pck{stroke:#cbd5e1;stroke-width:.12}
.dpat-plan .pcms{fill:#e2e8f0;stroke:#94a3b8;stroke-width:.12}
