#facility-debug-panel{position:fixed;z-index:20;top:1rem;right:1rem;width:min(28rem,calc(100vw - 2rem));max-height:calc(100vh - 2rem);overflow:auto;padding:1rem;background:#082938ee;color:#f5f0e5;border:1px solid #8bb6be;border-radius:.5rem;font:14px/1.4 ui-sans-serif,system-ui,sans-serif;box-shadow:0 1rem 3rem #0008}#facility-debug-panel[hidden]{display:none}#facility-debug-panel button,#facility-debug-panel select,#facility-debug-panel input{font:inherit}#facility-debug-panel button,#facility-debug-panel select,#facility-debug-panel input[type=number],#facility-debug-panel input[type=text]{min-height:2rem;border:1px solid #8bb6be;border-radius:.25rem;padding:.2rem .4rem;background:#f8f4e9;color:#102b35}#facility-debug-panel button:disabled{opacity:.55;cursor:not-allowed}#facility-debug-panel a{color:#b9f2ee}#facility-debug-panel .debug-head,#facility-debug-panel .debug-controls,#facility-debug-panel .debug-links{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}#facility-debug-panel .debug-head strong{font-size:1.05rem;margin-right:auto}#facility-debug-panel .debug-summary{margin:.75rem 0}.debug-filters{display:grid;grid-template-columns:1fr 1fr;gap:.45rem;margin:.7rem 0}.debug-filters label,.debug-select-label{display:grid;gap:.2rem}.debug-filters label:last-child{grid-column:span 2}.debug-layers{display:flex;gap:.45rem;flex-wrap:wrap;margin:.7rem 0}.debug-row-count{font-variant-numeric:tabular-nums}.debug-evidence{border-top:1px solid #8bb6be;margin-top:.75rem;padding-top:.55rem}.debug-evidence p{margin:.35rem 0}.debug-plan{display:grid;grid-template-columns:7rem 1fr;align-items:center;gap:.7rem;margin:.7rem 0}.debug-plan svg{width:7rem;height:5rem;background:#e8f1f0;border-radius:.25rem}.debug-photo-status{font-size:.9em}.debug-selected-line{color:#fff3af;font-weight:700}@media(max-width:38rem){#facility-debug-panel{left:.5rem;right:.5rem;top:.5rem;width:auto;max-height:calc(100vh - 1rem)}}#facility-debug-panel .debug-photo-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:.6rem 0;padding:.55rem;background:#103d4c;border-radius:.3rem}#facility-debug-panel .debug-photo-preview>p{grid-column:1/-1;margin:0}#facility-debug-panel .debug-photo-preview figure{min-width:0;margin:0}#facility-debug-panel .debug-photo-preview img{display:block;width:100%;height:10rem;object-fit:contain;background:#173f4b}#facility-debug-panel .debug-photo-preview figcaption{font-size:.82em;margin-top:.25rem}@media(max-width:24rem){#facility-debug-panel .debug-photo-preview{grid-template-columns:1fr}}
