/* R88: persistent text selector. Its own scrollbar keeps all 15 options compact. */
.models-page #estructura-3d .gmx-structure-3d__inner{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start}
#estructura-3d .gmx-render-nav{min-width:0;background:#fffdf8;border:1px solid #d9d4c8;border-radius:8px;color:#24231f;overflow:hidden;font-family:Arial,sans-serif;box-sizing:border-box}
.models-page #estructura-3d .gmx-render-nav{position:sticky;top:104px}
#estructura-3d .gmx-structure-3d__copy .gmx-render-nav{margin-top:22px}
#estructura-3d .gmx-render-nav-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-bottom:1px solid #e3ded3}
#estructura-3d .gmx-render-nav-head p{font-size:14px;font-weight:700;line-height:1.3;letter-spacing:0;text-transform:none;color:#24231f;margin:0}
#estructura-3d .gmx-render-nav-head small{display:block;font-size:11px;font-weight:400;line-height:1.4;color:#797368;margin-top:3px}
#estructura-3d .gmx-render-scroll-controls{display:flex;gap:5px;flex:none}
#estructura-3d .gmx-render-scroll-controls button{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #d7d1c4;border-radius:5px;background:#fff;color:#49453d;cursor:pointer;padding:8px;box-sizing:border-box}
#estructura-3d .gmx-render-scroll-controls button:hover{background:#f4efe5;border-color:#bc5a30}
#estructura-3d .gmx-render-scroll-controls button:disabled{opacity:.3;cursor:default;border-color:#d7d1c4;background:#fff}
#estructura-3d .gmx-render-scroll-controls svg{display:block;width:18px;height:18px;transform:rotate(90deg)}
#estructura-3d .gmx-render-list{position:relative;display:flex;flex-direction:column;gap:4px;min-width:0;max-height:400px;max-height:clamp(240px,48vh,400px);overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#b9ac96 #f1ede4;padding:8px;margin:0;box-sizing:border-box}
#estructura-3d .gmx-render-list::-webkit-scrollbar{width:7px;height:6px}
#estructura-3d .gmx-render-list::-webkit-scrollbar-track{background:#f1ede4}
#estructura-3d .gmx-render-list::-webkit-scrollbar-thumb{background:#b9ac96;border-radius:8px}
#estructura-3d .gmx-render-list button{display:flex;align-items:center;gap:10px;flex:0 0 auto;min-width:0;min-height:45px;width:100%;padding:10px 12px;border:1px solid transparent;border-radius:5px;background:transparent;color:#49453d;text-align:left;font:500 13px/1.35 Arial,sans-serif;cursor:pointer;box-sizing:border-box;white-space:normal}
#estructura-3d .gmx-render-number{flex:none;display:block;font-size:10px;line-height:1.4;font-weight:700;color:#948b7b;width:16px}
#estructura-3d .gmx-render-name{display:block;visibility:visible;opacity:1;font:inherit;color:inherit;white-space:normal;overflow-wrap:normal;word-break:normal}
#estructura-3d .gmx-render-list button:hover{background:#f4eee2;color:#1f201c}
#estructura-3d .gmx-render-list button[aria-selected=true]{background:#25251f;color:#fff;border-color:#25251f;box-shadow:inset 3px 0 #ff621d;font-weight:700}
#estructura-3d .gmx-render-list button[aria-selected=true] .gmx-render-number{color:#ff9b64}
#estructura-3d .gmx-render-nav button:focus-visible{outline:3px solid #e85a22;outline-offset:-3px}
#estructura-3d .gmx-render-position{font:400 11px/1.4 Arial,sans-serif;color:#797368;background:#f8f5ed;border-top:1px solid #e3ded3;padding:9px 12px;margin:0}
#estructura-3d .gmx-render-nav-hint{margin-left:5px}
@media(max-width:1000px){
 .models-page #estructura-3d .gmx-structure-3d__inner{grid-template-columns:minmax(0,1fr);gap:16px}
 #estructura-3d .gmx-structure-3d__copy{max-width:none}
 .models-page #estructura-3d .gmx-render-nav{position:static}
 #estructura-3d .gmx-render-nav-head{padding:8px 12px;gap:12px}
 #estructura-3d .gmx-render-nav-head p{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
 #estructura-3d .gmx-render-nav-head small{margin:0}
 #estructura-3d .gmx-render-scroll-controls button{width:44px;height:44px;padding:10px}
 #estructura-3d .gmx-render-scroll-controls svg{transform:none}
 #estructura-3d .gmx-render-list{flex-direction:row;max-height:none;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;overscroll-behavior-y:auto;scrollbar-gutter:auto;gap:6px;padding:8px;touch-action:pan-x pan-y}
 #estructura-3d .gmx-render-list button{width:auto;max-width:min(270px,82vw);min-height:44px;white-space:nowrap;background:#f6f2e9;border-color:#e5ded0;gap:8px;padding:10px 12px}
 #estructura-3d .gmx-render-name{white-space:normal}
 #estructura-3d .gmx-render-position{display:none}
}
@media(prefers-reduced-motion:reduce){#estructura-3d .gmx-render-list{scroll-behavior:auto}}
