/* Shared readable text for light venue panels and dark stadium controls.
   Keep decorative colours in the 3D scene independent from interface colours. */
:root{--ui-ink:#172f4a;--ui-muted:#4d6278;--ui-blue:#075a93;--ui-selected:#133f70;--ui-paper:#f8fafd}
body.venue-workspace #sheet{--text:var(--ui-ink);--muted:var(--ui-muted);--line:#c9d6e3;background:var(--ui-paper);color:var(--ui-ink)}
body.venue-workspace #sheet :is(.sub,.src,.roomcard p,.lvl,h2.vsec){color:var(--ui-muted)}
body.venue-workspace #sheet :is(.vcard,.room){background:#fff;border-color:#cbd8e5;color:var(--ui-ink)}
body.venue-workspace #sheet :is(.vcard,.room):hover{background:#eaf2fa;border-color:#6b97b9}
body.venue-workspace #sheet .vcard small{color:var(--ui-muted);font-size:13px;line-height:1.5}
body.venue-workspace #sheet .vcard .m span{background:#e4eff8;color:#245578;font-size:12px}
body.venue-workspace #sheet .vcard .m span.d3{background:#e7eefa;color:#254972}
body.venue-workspace #sheet :is(.vfilter button,.chip,.skyrow button,.btn.ghost){background:#fff;color:var(--ui-ink);border-color:#bccdde}
body.venue-workspace #sheet :is(.vfilter button.active,.chip.sel,.skyrow button[aria-pressed=true]){background:var(--ui-selected);color:#fff;border-color:var(--ui-selected)}
body.venue-workspace #sheet .skyrow button:hover{background:#e7f0fa;border-color:#4e7fa7;color:#173b61}
body.venue-workspace #sheet .skyrow button[aria-pressed=true]:hover{background:#194e86;color:#fff}
body.venue-workspace #rcBoxes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-top:14px}
body.venue-workspace #rcBoxes:empty{display:none}
body.venue-workspace #rcBoxes button{font:700 12px/1.4 var(--font);min-width:0;min-height:38px;padding:6px 2px}
body.venue-workspace #rcBoxes .skybox-entry{grid-column:span 3;width:auto;margin:0;border-radius:10px!important}
body.venue-workspace #rcBoxes .skybox-entry span{font-size:13px;line-height:1.4;padding:9px 8px;min-height:37px}
body.venue-workspace #rcBoxes .skybox-entry[aria-pressed=true]{box-shadow:0 0 0 2px #719ac1}
body.venue-workspace #rcBoxes>p{grid-column:1/-1;color:var(--ui-muted);font-size:13px;line-height:1.55;margin:7px 0}
body.venue-workspace #sheet :is(.room .m2,.room .ic){color:#075a93;background:#e7f0f9;border-color:#c4d7e7}
body.venue-workspace #sheet .amen span{color:#254972;background:#e7eff8;border-color:#c5d7e7}
body.venue-workspace #sheet :is(.uses,.caps small,#rcCapCalc,.arrEstHead small){color:var(--ui-muted)}
body.venue-workspace #rcArrWrap>small{font-size:12px;color:var(--ui-muted)!important;letter-spacing:.5px;line-height:1.5}
body.venue-workspace #venueDetails{font-size:13px;color:var(--ui-muted)}
body.venue-workspace #venueDetails :is(.sub,.src,small){color:var(--ui-muted);font-size:12px;line-height:1.55}
body.venue-workspace #sheet select.sel{background:#fff;color:var(--ui-ink);border-color:#bccdde}
body.venue-workspace #sheet select.sel :is(option,optgroup){background:#fff;color:var(--ui-ink)}
#venueWorkspace>small{color:var(--ui-blue);font-size:12px;letter-spacing:1px}
#venueWorkspace button{font-size:13px;line-height:1.45}
#venueWorkspace button small{color:var(--ui-muted);font-size:12px;line-height:1.4}
#venueWorkspace button[aria-pressed=true] small{color:#dceafa}
#venueWorkspace.has-selection h2{font-size:16px!important;line-height:1.4}
#venueMapToolbar{font-size:12px;letter-spacing:.6px}
#venueMapToolbar button,#venueBackToSelection{font-size:13px}
/* Dark cards have their own explicit text colours; never inherit light-panel ink. */
#b17MapDock,.studio-map-dock{color:#fff}
#b17MapDock>small,.studio-map-dock>small{color:#b8e2fa;font-size:11px;letter-spacing:.6px;line-height:1.6}
#b17MapDock p,.studio-map-dock p{color:#d6e3f1;font-size:13px;line-height:1.55}
#b17MapDock button,.studio-map-dock button{color:#fff;font-size:13px;line-height:1.4;min-height:40px}
.studio-map-dock .studio-primary{background:#08659b;border-color:#589dc7;font-weight:700}
#b17MapLooks button{font-size:12px}
body.venue-workspace #sheet :is(.btn.primary,.btn.blue){background:#08659b;color:#fff;border-color:#589dc7}
.btn.gold{color:#fff}
#rcGallery .gcap{font-size:12px;line-height:1.5;background:linear-gradient(transparent,#07192eef 45%);padding-top:24px;color:#fff}

:is(#skyboxStudio,#skyboxReference,#familyStudio,#familyReference,#showroomStudio,#showroomReference,#restaurantStudio,#restaurantReference,#hallStudio,#hallReference,#szatniaStudio,#szatniaReference,#presidentialStudio,#presidentialReference,#konfStudio,#konfReference,#parterowaStudio,#parterowaReference,#bialaStudio,#bialaReference,#goldStudio,#goldReference,#legendStudio,#legendReference,#outdoorPhotoStudio,#outdoorReference){background:var(--ui-paper);color:var(--ui-ink);font-size:14px;line-height:1.5;color-scheme:light}
:is(#skyboxStudio,#skyboxReference,#familyStudio,#familyReference,#showroomStudio,#showroomReference,#restaurantStudio,#restaurantReference,#hallStudio,#hallReference,#szatniaStudio,#szatniaReference,#presidentialStudio,#presidentialReference,#konfStudio,#konfReference,#parterowaStudio,#parterowaReference,#bialaStudio,#bialaReference,#goldStudio,#goldReference,#legendStudio,#legendReference,#outdoorPhotoStudio,#outdoorReference) :is(p,small,[class$="-note"],[class$="-basis"]){color:var(--ui-muted);font-size:12px;line-height:1.55}
:is(#skyboxStudio,#skyboxReference,#familyStudio,#familyReference,#showroomStudio,#showroomReference,#restaurantStudio,#restaurantReference,#hallStudio,#hallReference,#szatniaStudio,#szatniaReference,#presidentialStudio,#presidentialReference,#konfStudio,#konfReference,#parterowaStudio,#parterowaReference,#bialaStudio,#bialaReference,#goldStudio,#goldReference,#legendStudio,#legendReference,#outdoorPhotoStudio,#outdoorReference) p{font-size:13px}
:is(#skyboxStudio,#skyboxReference,#familyStudio,#familyReference,#showroomStudio,#showroomReference,#restaurantStudio,#restaurantReference,#hallStudio,#hallReference,#szatniaStudio,#szatniaReference,#presidentialStudio,#presidentialReference,#konfStudio,#konfReference,#parterowaStudio,#parterowaReference,#bialaStudio,#bialaReference,#goldStudio,#goldReference,#legendStudio,#legendReference,#outdoorPhotoStudio,#outdoorReference) summary{font-size:14px;font-weight:700;line-height:1.5;padding:3px 0}
:is(#skyboxStudio,#skyboxReference,#familyStudio,#familyReference,#showroomStudio,#showroomReference,#restaurantStudio,#restaurantReference,#hallStudio,#hallReference,#szatniaStudio,#szatniaReference,#presidentialStudio,#presidentialReference,#konfStudio,#konfReference,#parterowaStudio,#parterowaReference,#bialaStudio,#bialaReference,#goldStudio,#goldReference,#legendStudio,#legendReference,#outdoorPhotoStudio,#outdoorReference) label{font-size:13px;line-height:1.5}
:is(#skyboxStudio,#skyboxReference,#familyStudio,#familyReference,#showroomStudio,#showroomReference,#restaurantStudio,#restaurantReference,#hallStudio,#hallReference,#szatniaStudio,#szatniaReference,#presidentialStudio,#presidentialReference,#konfStudio,#konfReference,#parterowaStudio,#parterowaReference,#bialaStudio,#bialaReference,#goldStudio,#goldReference,#legendStudio,#legendReference,#outdoorPhotoStudio,#outdoorReference) button{color:var(--ui-ink);font-size:13px!important;line-height:1.4;min-height:36px}
:is(#skyboxStudio,#skyboxReference,#familyStudio,#familyReference,#showroomStudio,#showroomReference,#restaurantStudio,#restaurantReference,#hallStudio,#hallReference,#szatniaStudio,#szatniaReference,#presidentialStudio,#presidentialReference,#konfStudio,#konfReference,#parterowaStudio,#parterowaReference,#bialaStudio,#bialaReference,#goldStudio,#goldReference,#legendStudio,#legendReference,#outdoorPhotoStudio,#outdoorReference) button[aria-pressed=true]{background:var(--ui-selected)!important;border-color:var(--ui-selected);color:#fff}
:is(#skyboxStudio,#skyboxReference,#familyStudio,#familyReference,#showroomStudio,#showroomReference,#restaurantStudio,#restaurantReference,#hallStudio,#hallReference,#szatniaStudio,#szatniaReference,#presidentialStudio,#presidentialReference,#konfStudio,#konfReference,#parterowaStudio,#parterowaReference,#bialaStudio,#bialaReference,#goldStudio,#goldReference,#legendStudio,#legendReference,#outdoorPhotoStudio,#outdoorReference) :is(select,option){color:var(--ui-ink);background:#fff;font-size:13px}
:is(#skyboxStudio,#skyboxReference,#familyStudio,#familyReference,#showroomStudio,#showroomReference,#restaurantStudio,#restaurantReference,#hallStudio,#hallReference,#szatniaStudio,#szatniaReference,#presidentialStudio,#presidentialReference,#konfStudio,#konfReference,#parterowaStudio,#parterowaReference,#bialaStudio,#bialaReference,#goldStudio,#goldReference,#legendStudio,#legendReference,#outdoorPhotoStudio,#outdoorReference) :is(a,output){color:var(--ui-blue);font-size:12px;line-height:1.5}
:is(#skyboxStudio,#skyboxReference,#familyStudio,#familyReference,#showroomStudio,#showroomReference,#restaurantStudio,#restaurantReference,#hallStudio,#hallReference,#szatniaStudio,#szatniaReference,#presidentialStudio,#presidentialReference,#konfStudio,#konfReference,#parterowaStudio,#parterowaReference,#bialaStudio,#bialaReference,#goldStudio,#goldReference,#legendStudio,#legendReference,#outdoorPhotoStudio,#outdoorReference) a{text-decoration:underline;text-underline-offset:3px}
:is(#skyboxStudio,#skyboxReference,#familyStudio,#familyReference,#showroomStudio,#showroomReference,#restaurantStudio,#restaurantReference,#hallStudio,#hallReference,#szatniaStudio,#szatniaReference,#presidentialStudio,#presidentialReference,#konfStudio,#konfReference,#parterowaStudio,#parterowaReference,#bialaStudio,#bialaReference,#goldStudio,#goldReference,#legendStudio,#legendReference,#outdoorPhotoStudio,#outdoorReference) :is(button,input,select,summary,a):focus-visible{outline:3px solid #075a93;outline-offset:3px}

#skyboxStudio .skybox-picker span{font-size:13px;line-height:1.4}
#skyboxStudio .skybox-slider span{font-size:13px}
#skyboxDescription{font-size:13px}
#skyboxCategories button{font-size:12px!important}
#skyboxReference header strong{font-size:15px;line-height:1.4}
body.venue-workspace #sheet :is(button,a,summary):focus-visible{outline:3px solid #075a93;outline-offset:3px}
#b17MapDock :is(button,a):focus-visible,.studio-map-dock :is(button,a):focus-visible{outline-color:#a3dcff}
@media(max-width:760px){
 #venueWorkspace nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 #venueWorkspace button{font-size:13px;padding:10px 9px}
 #venueWorkspace button small{font-size:12px}
 #venueBackToSelection{font-size:12px}
 #skyboxStudio,#skyboxReference{max-width:calc(100vw - 24px)}
}

body.venue-workspace #sheet .studio-map-dock p,body.venue-workspace #sheet #b17MapDock p{color:#d6e3f1}

#legend .crowd-setting{display:grid;gap:7px;font-size:13px;margin:12px 0}#crowdDensity{width:100%;background:#fff;color:#172f4a;border:1px solid #9ebbd3;border-radius:7px;padding:9px;font-size:14px}

/* Sector cards retain their dark theme with clear gate and arrival hierarchy. */
#card .card-head{align-items:flex-start;gap:14px;margin-bottom:16px}
#cBadge{background:#e8f4ff;color:#123e68;box-shadow:none;font-size:25px}
#cTitle{font-size:24px;line-height:1.2}#cSub{font-size:13px;line-height:1.55;color:#cfdeec}
#card .facts{gap:8px}#card .fact{background:#19364d;border-color:#42627c;padding:10px}
#card .fact small{font-size:12px;color:#d4e5f5}#card .fact b{font-size:22px;color:#fff}
#cAccess{background:#173f60;border-color:#588eb5;color:#edf7ff;font-size:13px;line-height:1.55;padding:12px}
#card .actions{margin:14px 0}#card .route{font-size:13px;color:#edf5fd;background:#102b43}
#card .route ol.steps li{font-size:13px;line-height:1.5}#card .route ol.steps li small{font-size:12px;color:#c7dced}
#card .rtact{display:flex;flex-wrap:wrap;gap:6px}#card .rtact button{flex:1 1 42%;font-size:12px}
#card .btn.primary{background:#08659b;color:white}#card label{font-size:13px;line-height:1.5}

/* Screen anchors must not lag behind a rotating camera. */
#labels .lbl{transition:none!important;line-height:1.4}
#labels .lbl:is(.poi,.park,.stop,.zone){color:#edf6ff;background:#102d45ed;border-color:#6289a6;font-size:12px}
#labels .lbl.hot{color:#fff;background:#076b9f;border-color:#fff}
#labels .lbl.street{color:#e0eaf5;opacity:1;text-shadow:0 1px 4px #08203a}

#labels .lbl.gate:not(.wheel){width:auto;height:auto;min-height:38px;border-radius:9px;display:flex;gap:7px;padding:4px 8px 4px 5px;background:#f5faff;color:#183951;border-color:#8cb0c9;font-family:var(--font)}
#labels .lbl.gate:not(.wheel)>b{display:grid;place-items:center;min-width:29px;height:29px;border-radius:50%;background:#183f64;color:#fff;font-size:15px}
#labels .lbl.gate:not(.wheel)>span{font-size:11px;font-weight:700;line-height:1.3;text-align:left}
#labels .lbl.gate:not(.wheel) small{display:block;font-size:11px;font-weight:600}
#labels .lbl.gate.hot:not(.wheel){background:#056294;color:white;border-color:#fff;box-shadow:0 0 0 2px #62ccff,0 4px 12px #06284655}
#labels .lbl.gate.hot:not(.wheel)>b{background:#fff;color:#084d76}

.venue-search{display:grid;gap:7px;margin:13px 0;font-size:14px;font-weight:600;color:#173753}
#venueQuickSearch{box-sizing:border-box;width:100%;min-height:46px;background:#fff;color:#142f48;border:1px solid #afc5d8;border-radius:10px;font:14px var(--font);padding:11px 12px}
#venueQuickSearch:focus-visible{outline:3px solid #1681b2;outline-offset:2px}
#venueWorkspace [hidden],#vCards .vcard[hidden]{display:none!important}
.venue-search-empty{font-size:14px;color:#4d6278}
.venue-quick-list summary{min-height:44px;cursor:pointer;color:#173753;font-size:14px;padding-top:10px}
body.venue-workspace #roomsList>h1,body.venue-workspace #roomsList>p.sub{display:none}
body.venue-workspace #venueWorkspace h2{font-size:24px!important}
body.venue-workspace #venueWorkspace.has-selection h2{display:none}
body.venue-workspace #venueWorkspace.has-selection{display:none}
body.venue-workspace #roomCard .actions button{min-height:44px}
