.avc-underground{margin:1rem 0;border:1px solid #6aa5bd;border-radius:12px;background:#102d40;color:#f5f9fc;padding:1rem;font-family:inherit}.avc-underground[hidden],.avc-ug-body[hidden]{display:none!important}.avc-ug-header{display:flex;align-items:start;justify-content:space-between;gap:1rem}.avc-ug-header h3{margin:0 0 .4rem;font-size:1.2rem;color:#fff}.avc-ug-header p{margin:0 0 .8rem}.avc-ug-header small{font-size:.7em;color:#ffd45a}.avc-underground button,.avc-underground select,.avc-underground input,.avc-underground textarea{font:inherit}.avc-underground button,.avc-ug-file{background:#205675;color:white;border:1px solid #90c7e0;border-radius:6px;padding:.45rem .7rem;cursor:pointer}.avc-underground button:focus-visible,.avc-underground select:focus-visible{outline:3px solid #ffd45a;outline-offset:2px}.avc-underground button:disabled{opacity:.5;cursor:not-allowed}.avc-ug-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:.7rem;margin:.65rem 0}.avc-ug-toolbar label{display:grid;gap:.2rem;font-size:.9em}.avc-ug-toolbar select,.avc-ug-toolbar input,.avc-ug-notes textarea{background:#fff;color:#102331;border:1px solid #759eb1;border-radius:5px;padding:.45rem;max-width:100%}.avc-ug-scene{background:#071c2a;border:1px solid #4c8199;border-radius:10px;overflow:hidden}.avc-ug-ground{position:relative;max-height:420px;overflow:hidden}.avc-ug-ground img{display:block;width:100%;height:auto;max-height:420px;object-fit:cover;object-position:center}.avc-ug-ground>span{position:absolute;bottom:0;left:0;background:#102d40ed;padding:.45rem .8rem;font-weight:bold}.avc-ug-sublevels{padding:.75rem;display:grid;gap:.55rem;overflow:auto}.avc-ug-floor{border:2px solid #587e90;border-radius:7px;background:linear-gradient(130deg,#25495d,#173447);padding:.6rem;transform:scale(var(--ug-zoom));transform-origin:top left;max-width:calc(100% / var(--ug-zoom));}.avc-ug-floor.is-active{border-color:#ffd45a}.avc-ug-floor-head{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;margin-bottom:.5rem}.avc-ug-floor-head strong{color:#ffd45a}.avc-ug-floor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.5rem}.avc-underground .avc-ug-tile{display:flex;gap:.4rem;align-items:center;min-height:65px;background:#37637b;border:1px solid #8bb5c7;text-align:left}.avc-underground .avc-ug-tile.selected{border:3px solid #ffd45a}.avc-ug-tile-icon{font-size:1.5em;color:#ffda70}.avc-ug-config{border-top:1px solid #648ba0;margin-top:1rem;padding-top:.6rem}.avc-ug-config summary{font-weight:bold;cursor:pointer}.avc-ug-notes{display:grid;gap:.3rem}.avc-ug-summary{background:#1c4156;padding:.7rem;border-radius:7px;margin-top:.8rem}.avc-ug-summary p{margin:.5rem 0 0;font-size:.9em}.avc-ug-file input{max-width:185px}.avc-ug-connection{font-size:.85em}.avc-ug-animated .avc-ug-tile-icon{animation:avc-ug-pulse 2.2s ease-in-out infinite}@keyframes avc-ug-pulse{50%{opacity:.4}}.avc-reduced .avc-ug-animated .avc-ug-tile-icon{animation:none}@media(prefers-reduced-motion:reduce){.avc-ug-animated .avc-ug-tile-icon{animation:none}}@media(max-width:650px){.avc-ug-header{display:block}.avc-ug-ground img{max-height:270px}.avc-ug-floor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.5.25 delegate-only cutaway gallery */
.avc-ug-level-tabs{display:flex;gap:.5rem;flex-wrap:wrap;padding:.8rem}.avc-ug-level-tabs button{flex:1 1 210px}.avc-ug-level-tabs button[aria-pressed="true"],.avc-ug-floor-grid button[aria-pressed="true"]{border:2px solid #ffd45a;background:#305e78}.avc-ug-level-images{padding:0 .8rem .8rem}.avc-ug-visual{margin:.5rem 0 1rem}.avc-ug-visual h4{margin:.5rem 0;color:#ffdb74}.avc-ug-image-scroll{overflow:auto;background:#081e2d;border:1px solid #5d91aa;border-radius:8px}.avc-ug-image-scroll img{display:block;max-width:none;height:auto;min-width:80%}.avc-ug-floor-grid{margin-top:.65rem}.avc-ug-note{font-size:.85em;opacity:.85}.avc-ug-delegates .avc-ug-header{align-items:center}

/* v0.5.26 non-functional customisation preview */
.avc-ug-custom-tab{border-style:dashed!important}.avc-ug-custom-tab[aria-pressed="true"]{border:2px solid #ffd45a!important;background:#305e78}.avc-ug-custom-preview img{display:block;width:100%;height:auto;border-radius:8px;border:1px solid #628ca4}.avc-ug-custom-preview p{font-size:.95em;margin:.8rem 0}.avc-ug-custom-preview{max-width:100%}

/* v0.5.27: non-interactive facility previews */
.avc-underground .avc-ug-floor-grid .avc-ug-unavailable{cursor:not-allowed;opacity:1;background:#244c65;color:#e0eaf1;border-color:#7097ab;display:flex;flex-direction:column;justify-content:center;gap:.15rem;min-height:3.7rem;box-shadow:none;text-align:center}
.avc-ug-unavailable small{font-size:.8em;color:#d1dce5;font-weight:normal}
.avc-underground .avc-ug-floor-grid .avc-ug-unavailable:disabled{opacity:1}
.avc-underground .avc-ug-floor-grid .avc-ug-unavailable:hover{background:#244c65;border-color:#7097ab}
