/* Additive colour controls for the original RJL 3D photo editor. */
#rjl-viz .viz-dulux{margin-top:18px;padding-top:15px;border-top:1px solid #d5dfe6}
#rjl-viz .viz-dulux-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:360px;overflow:auto;padding:4px;margin:10px 0;overscroll-behavior:contain}
#rjl-viz .viz-dulux-card{display:flex;flex-direction:column;gap:5px;text-align:left;background:#fff;border:1px solid #c6d2dc;border-radius:6px;padding:7px;min-width:0;cursor:pointer;color:#17324a;font-family:system-ui,Arial,sans-serif!important}
#rjl-viz .viz-dulux-card[hidden]{display:none!important}
#rjl-viz .viz-dulux-card:hover{border-color:#f57520}
#rjl-viz .viz-dulux-card.on{outline:2px solid #f57520;border-color:#f57520}
#rjl-viz .viz-dulux-card:focus-visible{outline:3px solid #f57520;outline-offset:1px}
#rjl-viz .viz-dulux-card>i{display:block;height:42px;width:100%;border:1px solid #071f381a;border-radius:3px}
#rjl-viz .viz-dulux-card strong{font:600 11px/1.35 system-ui,Arial,sans-serif!important;overflow-wrap:anywhere}
#rjl-viz .viz-dulux-card small{font:400 9px/1.4 system-ui,Arial,sans-serif!important;color:#52677a;overflow-wrap:anywhere}
#rjl-viz .viz-dulux .viz-f>input,#rjl-viz .viz-dulux .viz-f>select{font:400 12px/1.4 system-ui,Arial,sans-serif!important}
#rjl-viz #vizDuluxCount{font:500 11px/1.5 system-ui,Arial,sans-serif!important}
#rjl-viz .viz-dulux .viz-note{font:400 11px/1.6 system-ui,Arial,sans-serif!important}
@media(max-width:760px){#rjl-viz .viz-dulux-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:320px}}

#rjl-viz .viz-webgl-note{font:400 13px/1.65 system-ui,Arial,sans-serif!important;border-left:3px solid #f57520;padding:10px 14px;background:#fff4e9;color:#17324a}

/* Presentation mode changes the workspace only; the true 3D geometry is unchanged. */
#rjl-viz .viz-presentation-dock{display:none}
#rjl-viz.viz-studio.viz-presentation{grid-template-columns:minmax(0,1fr);background:#07121f}
#rjl-viz.viz-presentation .viz-side{display:none!important}
#rjl-viz.viz-studio.viz-presentation .viz-main{grid-column:1;grid-row:2;background:radial-gradient(ellipse at 50% 45%,#263a4c,#07121f 80%);padding:22px 24px 105px;height:100%;min-height:0}
#rjl-viz.viz-presentation .viz-topbar{background:#071f38;border-color:#294257}
#rjl-viz.viz-presentation .viz-tb-logo{background:#fff;padding:3px 6px;border-radius:5px}
#rjl-viz.viz-presentation .viz-tb-title strong{color:#fff}
#rjl-viz.viz-presentation .viz-tb-title span{color:#bccddd}
#rjl-viz.viz-presentation .viz-topbar .viz-btn:not(.primary){background:#112e47;color:#fff;border-color:#4b6275}
#rjl-viz.viz-presentation .viz-readout,#rjl-viz.viz-presentation .viz-saved{display:none!important}
#rjl-viz.viz-presentation #vizUI{opacity:0;pointer-events:none}
#rjl-viz.viz-presentation .viz-frame{box-shadow:0 24px 80px #0009,0 0 0 1px #ffffff1a}
#rjl-viz.viz-presentation .viz-presentation-dock{position:absolute;z-index:10;bottom:24px;left:50%;transform:translateX(-50%);display:flex;gap:8px;align-items:center;padding:12px;border:1px solid #52697b;border-radius:12px;background:#071f38ed;box-shadow:0 12px 40px #0008;width:max-content;max-width:calc(100% - 24px)}
#rjl-viz .viz-presentation-label{font:600 10px/1.4 system-ui,Arial,sans-serif;color:#aabfd0;letter-spacing:.1em!important;padding:0 10px;white-space:nowrap}
#rjl-viz .viz-presentation-dock .viz-btn{font:500 12px/1.3 system-ui,Arial,sans-serif!important;min-height:42px;background:#173a55;color:#fff;border-color:#52697b;white-space:nowrap}
#rjl-viz .viz-presentation-dock .viz-btn[aria-pressed=true]{background:#f57520;border-color:#f57520;color:#071f38}
#rjl-viz .viz-presentation-dock .viz-btn:last-child{background:#fff;color:#071f38}
#rjl-viz .viz-presentation-dock .viz-btn:focus-visible{outline:3px solid #f57520;outline-offset:2px}
@media(max-width:900px){#rjl-viz.viz-studio.viz-presentation .viz-main{flex:1 1 auto;min-height:0;padding:12px 8px 118px}#rjl-viz.viz-presentation .viz-stage{height:100%;flex:1 1 auto;min-height:0}#rjl-viz .viz-presentation-label{display:none}#rjl-viz.viz-presentation .viz-presentation-dock{bottom:14px;flex-wrap:wrap;justify-content:center;width:calc(100% - 24px);gap:6px;padding:9px}#rjl-viz .viz-presentation-dock .viz-btn{font-size:11px!important;flex:1 1 40%;min-height:39px}#rjl-viz .viz-presentation-toggle{font-size:11px!important;padding:8px!important}}

@media(max-width:600px){#rjl-viz .viz-topbar{gap:5px;padding:0 6px}#rjl-viz .viz-tb-logo{height:24px}#rjl-viz .viz-topbar .viz-btn{font-size:11px;padding:8px}#rjl-viz .viz-topbar .viz-presentation-toggle{font-size:10px!important;padding:7px!important}#rjl-viz .viz-tb-actions{gap:5px}}
