/* R72: real HTML controls and authenticated state, not a UE5 render or a role preview. */
html[data-r72="true"] body [data-r72-hidden="true"],
html[data-r72="true"] body [data-r72-download-hidden="true"] { display:none!important; }
html[data-r72="true"] body:not([data-access-role="admin"]) [data-admin-only] { display:none!important; }
html[data-r72="true"] #topAccessEmail[hidden],html[data-r72="true"] #topAccessPassword[hidden] {display:none!important;}
html[data-r72="true"] body :is(button,.btn,.r43-button) {color:#eaf5ff!important;text-shadow:0 1px 2px #0009;}
html[data-r72="true"] .status-led-row .status-led {background:#5c6874!important;box-shadow:inset 0 1px #cdd9e64d!important;animation:none!important;}
html[data-r72="true"] .status-led-row[data-r72-active="true"] .status-led {background:#74e5bf!important;box-shadow:0 0 9px #74e5bf!important;}
html[data-r72="true"] :is(.r55-theme-heading,.r55-theme-nav,#r55-observatories,#r55-oil-report,#r72-book-specials) {
  width:100%!important;max-width:none!important;margin:12px 0!important;box-sizing:border-box;
}
html[data-r72="true"] .regional-market-tapes {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  width:100%!important;max-width:none!important;height:80px!important;min-height:80px!important;
  gap:6px!important;overflow:hidden!important;box-sizing:border-box;
}
html[data-r72="true"] .regional-ticker-panel {
  display:block!important;position:relative!important;min-width:0!important;max-width:none!important;
  width:100%!important;height:80px!important;overflow:hidden!important;box-sizing:border-box;
}
html[data-r72="true"] .regional-ticker-panel::before {
  content:attr(data-r72-region);display:block;position:absolute;z-index:2;top:0;left:6px;
  color:#ffdf8c;font:600 12px/16px system-ui;background:#07121b;padding:0 4px;pointer-events:none;
}
html[data-r72="true"] .regional-ticker-panel :is(iframe,.tradingview-widget-container) {
  height:80px!important;min-height:0!important;width:100%!important;max-width:100%!important;
}
.r72-role-status {display:block;flex-basis:100%;padding:8px 10px;color:#e4f3ff;background:#0a1724;border-left:3px solid #7bd8ff;white-space:normal;line-height:1.6;}
.r72-role-bank,.role-status-bank {display:flex;flex-wrap:wrap;gap:7px;align-items:center;}
html[data-r72="true"] :is(.status-chip[data-role-login],.access-role-button) {
  --r72-led:#89dcff;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;
  width:auto!important;min-width:82px;min-height:38px;height:auto!important;padding:9px 12px!important;
  border:1px solid transparent!important;border-radius:11px!important;position:relative;isolation:isolate;
  color:#d7e5ef!important;font:500 12px/1.35 system-ui!important;cursor:pointer;
  background:linear-gradient(150deg,#283e4de8,#07111bf2 58%,#1b2738ef) padding-box,
    linear-gradient(110deg,#ed637a,#ffbf55,#a4d96d,#66d8f3,#8889ff,#dd84f4,#ed637a) border-box!important;
  box-shadow:inset 0 1px 1px #d2efff3d,inset 0 -2px 3px #000a,0 3px 8px #0007!important;
}
html[data-r72="true"] [data-role-login="premium"] {--r72-led:#d297ff;}
html[data-r72="true"] [data-role-login="investor"] {--r72-led:#ffd77e;}
html[data-r72="true"] [data-role-login="franchise"] {--r72-led:#69b8ff;}
html[data-r72="true"] [data-role-login="admin"] {--r72-led:#67efb2;}
html[data-r72="true"] :is(.status-chip,.access-role-button) .r72-role-led {
  display:inline-block!important;flex:0 0 12px;width:12px!important;height:12px!important;border-radius:50%;
  background:radial-gradient(circle at 33% 25%,#c5d2dc 0,#5d6976 32%,#222d39 72%)!important;
  border:1px solid #a3b9ca66;box-shadow:inset 0 0 2px #000a!important;animation:none!important;
}
html[data-r72="true"] :is(.status-chip,.access-role-button)[aria-pressed="true"] .r72-role-led {
  background:radial-gradient(circle at 32% 23%,#fff 0,var(--r72-led) 38%,#1d4b5b 100%)!important;
  box-shadow:0 0 8px var(--r72-led),0 0 15px color-mix(in srgb,var(--r72-led) 45%,transparent)!important;
}
html[data-r72="true"] :is(.status-chip,.access-role-button):hover {filter:brightness(1.15);}
html[data-r72="true"] :is(.status-chip,.access-role-button):focus-visible {outline:2px solid #9de7ff;outline-offset:3px;}
html[data-r72="true"] #r72-book-specials {display:flex!important;flex-direction:column!important;align-items:center;gap:14px;padding:0!important;}
/* Nested off-screen containment previously painted the compact book group black. */
html[data-r72="true"] #r72-book-specials {content-visibility:visible!important;contain:none!important;contain-intrinsic-size:none!important;}
html[data-r72="true"] #audit :is(#trafficDeltaGrid,#localTrafficMeter,.grid.three) {display:none!important;}
html[data-r72="true"] #r72-book-specials>:is(article,div,section) {width:100%!important;max-width:1500px!important;margin:0!important;order:initial!important;}
html[data-r72="true"] :is(.r72-compact-card .studio-special-grid,.r72-compact-card .r66-grid,.r72-book-row) {
  display:grid!important;grid-template-columns:minmax(100px,256px) minmax(0,1fr)!important;gap:20px!important;
  align-items:start!important;padding:16px!important;width:100%!important;max-width:none!important;box-sizing:border-box;
}
html[data-r72="true"] .r72-compact-card :is(figure,.r72-icon) {margin:0!important;width:100%!important;max-width:256px!important;height:auto!important;}
html[data-r72="true"] .r72-compact-card img {
  width:256px!important;height:256px!important;max-width:100%!important;max-height:256px!important;
  object-fit:contain!important;object-position:center!important;display:block!important;border-radius:16px;
}
html[data-r72="true"] .r72-compact-card .studio-special-title img {display:none!important;}
html[data-r72="true"] .r72-compact-card :is(.studio-special-title,.r72-copy,.r66-copy) {min-width:0;max-width:none!important;}
/* A compact row must span the outer legacy grid, not occupy its icon column. */
html[data-r72="true"] .r72-compact-card .studio-special-grid > .r72-book-row {grid-column:1 / -1;min-width:0;}
html[data-r72="true"] #book58-special .r72-copy {width:100%;box-sizing:border-box;word-break:normal;}
html[data-r72="true"] .r72-compact-card p {max-width:100ch;overflow-wrap:anywhere;}
html[data-r72="true"] .r66-books {display:flex!important;flex-direction:column!important;gap:12px;}
html[data-r72="true"] .r72-compact-card figcaption {font-size:12px!important;line-height:1.5;color:#adc5d7;}
html[data-r72="true"] #r505Telescope .r505-telescope-grid {grid-template-columns:minmax(0,1fr)!important;}
html[data-r72="true"] #r505Telescope .r505-telescope-hero {display:none!important;}
html[data-r72="true"] #r72-observatory-viewer {padding:16px;border:1px solid #577489;border-radius:12px;background:#07131e;color:#e1edf4;margin-top:16px;}
.r72-viewer-grid {display:grid;grid-template-columns:minmax(200px,640px) minmax(0,640px);gap:18px;align-items:start;max-width:1298px;margin-inline:auto;}
.r72-image-copy {max-height:640px;overflow:auto;scrollbar-gutter:stable;line-height:1.6;padding:0 10px 8px 0;}
.r72-image-copy :is(p,dd) {overflow-wrap:anywhere;}
.r72-image-copy dt {color:#ffd886;font-weight:600;margin-top:10px;}
.r72-image-copy dd {margin:2px 0 8px;}
html[data-r72="true"] .r72-image-window {
  display:block!important;width:100%!important;max-width:640px!important;height:var(--r72-viewport-height,540px)!important;max-height:640px!important;
  min-width:0;overflow:auto!important;scrollbar-gutter:stable both-edges;resize:none;background:#000;
  border:1px solid #76899a;border-radius:6px;position:relative;touch-action:pan-x pan-y;
}
html[data-r72="true"] #r72-observatory-image {
  display:block!important;width:var(--r72-image-width,580px)!important;height:auto!important;
  max-width:none!important;max-height:none!important;object-fit:contain!important;margin:0!important;
}
.r72-viewer-controls {display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0;}
.r72-viewer-controls label {display:flex;gap:8px;align-items:center;}
.r72-viewer-controls select {max-width:100%;}
.r72-viewer-controls label {min-width:0;max-width:100%;}
.r72-viewer-controls [data-image] {width:min(540px,100%);min-width:0;}
.r72-viewer-controls input[type="search"] {max-width:100%;min-width:0;}
.r72-tile-window {width:100%;max-width:640px;height:540px;max-height:640px;position:relative;background:#000;border:1px solid #76899a;border-radius:6px;overflow:hidden;}
.r72-image-window,.r72-tile-window {box-sizing:border-box;}
html[data-r72="true"] :is(.r72-image-window,.r72-tile-window)[hidden] {display:none!important;}
.r72-tile-window canvas {max-width:none!important;max-height:none!important;}
.r72-viewer-controls input[type="range"] {width:160px;}
.r72-viewer-error {color:#ffd48f;}
@media(max-width:900px) {
  .r72-viewer-grid {grid-template-columns:minmax(0,1fr);}
  html[data-r72="true"] .r72-image-window {height:min(380px,var(--r72-viewport-height,380px))!important;}
  .r72-tile-window {height:380px;}
  html[data-r72="true"] :is(.r72-compact-card .studio-special-grid,.r72-compact-card .r66-grid,.r72-book-row) {grid-template-columns:128px minmax(0,1fr)!important;gap:12px!important;padding:12px!important;}
  html[data-r72="true"] .r72-compact-card img {width:128px!important;height:128px!important;}
}
@media(max-width:520px) {
  html[data-r72="true"] :is(.r72-compact-card .studio-special-grid,.r72-compact-card .r66-grid,.r72-book-row) {grid-template-columns:minmax(0,1fr)!important;}
  .r72-viewer-controls {align-items:stretch;}
  .r72-viewer-controls label {flex-wrap:wrap;}
  html[data-r72="true"] .r72-image-window {height:min(320px,var(--r72-viewport-height,320px))!important;}
  .r72-tile-window {height:320px;}
}
@media(prefers-reduced-motion:reduce) {html[data-r72="true"] :is(.status-chip,.access-role-button) {animation:none!important;transition:none!important;}}
