/* Reference panels use a compact layout, with the same castings and light as
   the surrounding console. Data and native PRA controls remain in place. */
.studio-model-drawing { position:fixed; left:-10000px; top:0; width:1440px; height:900px; visibility:hidden; pointer-events:none; contain:layout paint; }
.studio-model-drawing>svg { width:1440px; height:900px; }
.studio-floating-tooltip { position:fixed; z-index:1800; box-sizing:border-box; width:max-content; max-width:min(240px,calc(100vw - 24px)); padding:7px 10px; border:1px solid #73869240; border-radius:7px; background:#202a31; color:#d1e3ef; box-shadow:0 3px 6px #0007,0 10px 24px #0005; font:11px/1.5 var(--sans); white-space:normal; overflow-wrap:anywhere; pointer-events:none; }
.studio-floating-tooltip[hidden] { display:none; }
#view-map.studio-custom-tooltips .studio-control[data-tooltip]::before { display:none; }
#view-map.studio-workspace .studio-tooltip-anchor::before { display:none; }
#view-map.studio-workspace .studio-tree-heading {
  display:grid; grid-template-columns:30px minmax(0,1fr) 26px; gap:9px;
  min-height:58px; padding:10px 12px; align-items:center;
}
#view-map.studio-workspace .studio-browser-emblem {
  display:grid; place-items:center; width:30px; height:32px; border-radius:9px;
  background:linear-gradient(#21292e,#2b363d); color:#8ea9b9;
  box-shadow:inset 0 2px 4px #0009,0 1px #d2e5ef12;
}
#view-map.studio-workspace .studio-browser-emblem>.studio-icon { width:16px; height:16px; }
#view-map.studio-workspace .studio-browser-title { display:flex; flex-direction:column; gap:3px; min-width:0; }
#view-map.studio-workspace .studio-browser-title strong { font:550 14px/18px var(--sans); color:#d6e3eb; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#view-map.studio-workspace .studio-browser-title small { font:9px/12px var(--sans); color:#8ba1b0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#view-map.studio-workspace .studio-tree-heading>.studio-dismiss { width:26px; min-width:26px; height:28px; }
#view-map.studio-workspace .studio-tree .studio-all-stations[hidden] { display:none!important; }
#view-map.studio-workspace .studio-station-row[aria-current=true]>.pra-lift-face { color:var(--pra-selected-fg); border-color:var(--pra-selected-rim); background:var(--pra-selected-bg); box-shadow:var(--pra-selected-shadow); }

/* The summary takes the browser's content area. It does not compete with the
   hierarchy for a narrow scroll slot at the bottom of the housing. */
#view-map.studio-workspace .studio-tree:has(.studio-portfolio-extra[open])>.studio-browser-content { display:none; }
#view-map.studio-workspace .studio-tree .studio-portfolio-extra {
  position:relative; flex:none; min-width:0; margin:0 -12px!important; padding:0 12px;
  border-top:1px solid #111a20; background:#19212736; box-shadow:inset 0 1px #d6e6ef09;
}
#view-map.studio-workspace .studio-tree .studio-portfolio-extra[open] { flex:1; min-height:0; overflow:hidden; }
#view-map.studio-workspace .studio-portfolio-extra>.studio-summary-toggle {
  height:38px; min-height:38px; padding:7px 2px; gap:8px; color:#99b5c6; font:500 11px var(--sans);
}
#view-map.studio-workspace .studio-summary-toggle::before { display:none; }
#view-map.studio-workspace .studio-summary-toggle>span { flex:1; margin:0; color:inherit; font:inherit; }
#view-map.studio-workspace .studio-summary-toggle>.studio-icon { width:14px; height:14px; flex:none; }
#view-map.studio-workspace .studio-summary-toggle>.studio-icon:last-child { width:12px; transform:rotate(180deg); }
#view-map.studio-workspace .studio-portfolio-extra[open]>.studio-summary-toggle { color:#b9d7e9; border-bottom:1px solid #9fbdd411; }
#view-map.studio-workspace .studio-portfolio-extra[open]>.studio-summary-toggle>.studio-icon:last-child { display:none; }
#view-map.studio-workspace .studio-portfolio-extra>.studio-summary-view {
  position:absolute; inset:38px 12px 0; width:auto; max-width:100%; max-height:none;
  padding:9px 0 12px; overflow-y:auto; overflow-x:hidden; scrollbar-width:thin; scrollbar-color:#566d7a66 transparent;
}
#view-map.studio-workspace .studio-summary-view :is(.pf-stats,.pf-rank,.pf-by) { min-width:0; max-width:100%; }
#view-map.studio-workspace .studio-summary-empty { display:none; padding:12px 2px; color:#8ba5b6; font:11px/1.7 var(--sans); }
#view-map.studio-workspace .studio-summary-view:has(#pf-stats:empty)>.studio-summary-empty { display:block; }
#view-map.studio-workspace .studio-summary-view:has(#pf-stats:empty)>:is(.pf-by,.pf-rank) { display:none; }
#view-map.studio-workspace .studio-summary-view .pf-by { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:3px; margin:0 0 12px; padding:0; border:0; }
#view-map.studio-workspace .studio-summary-view .pf-by>.field-label { grid-column:1/-1; margin:0 0 3px; color:#7f99a9; font:10px/1.4 var(--sans); }
#view-map.studio-workspace .studio-summary-view .pf-by>button {
  min-width:0; height:29px; padding:0 6px; margin:0; border:1px solid #101a21; border-radius:7px;
  background:linear-gradient(#303e47,#25343e); color:#8faabb; font:500 10px var(--sans);
  box-shadow:inset 0 1px #cde5f112,0 1px 2px #0005;
}
#view-map.studio-workspace .studio-summary-view .pf-by>button[aria-pressed=true] { color:var(--pra-selected-fg); background:var(--pra-selected-bg); border-color:var(--pra-selected-rim);  box-shadow:var(--pra-selected-shadow);}
#view-map.studio-workspace .studio-summary-view .pf-risk-hero { padding:12px; border:1px solid #111b22; border-radius:10px; background:var(--instrument-well); box-shadow:var(--instrument-recess); }
#view-map.studio-workspace .studio-summary-view .pf-risk-hero>.field-label { margin:0; color:#91a9b9; font:10px/1.4 var(--sans); }
#view-map.studio-workspace .studio-summary-view .pf-risk-hero>strong { display:block; margin:7px 0 5px; color:#dcecf6; font:500 27px/1.1 var(--sans); letter-spacing:-.7px; font-variant-numeric:tabular-nums; }
#view-map.studio-workspace .studio-summary-view .pf-risk-hero>span:last-child { display:block; color:#7f9aaa; font:9px/1.5 var(--sans); }
#view-map.studio-workspace .studio-summary-view .pf-stats-compact { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; margin:10px 0 0; padding:0; border:1px solid #121d24; border-radius:10px; overflow:hidden; background:#aec7d112; }
#view-map.studio-workspace .studio-summary-view .metric { min-width:0; width:auto; min-height:57px; margin:0; padding:9px 8px; border:0; border-radius:0; background:#202a31; display:flex; flex-direction:column; gap:4px; }
#view-map.studio-workspace .studio-summary-view .metric>b { color:#c4d9e6; font:500 15px/1.2 var(--sans); font-variant-numeric:tabular-nums; }
#view-map.studio-workspace .studio-summary-view .metric>span { margin:0; color:#829dab; font:9px/1.45 var(--sans); white-space:normal; overflow-wrap:anywhere; }
#view-map.studio-workspace .studio-summary-view .pf-stats-more { margin:8px 0 0; }
#view-map.studio-workspace .studio-summary-view .pf-stats-more>summary { display:flex; width:100%; min-height:30px; padding:5px 0; color:#8faabb; font:10px var(--sans); }
#view-map.studio-workspace .studio-summary-view .pf-stats-more>summary::before { display:none; }
#view-map.studio-workspace .studio-summary-view .pf-stats-more>summary::after { content:'+'; margin-left:auto; }
#view-map.studio-workspace .studio-summary-view .pf-stats-more[open]>summary::after { content:'−'; }
#view-map.studio-workspace .studio-summary-view .pf-stats-more .pf-stats-compact { grid-template-columns:1fr; margin-top:3px; }
#view-map.studio-workspace .studio-summary-view .pf-go-wide { display:grid; grid-template-columns:1fr; gap:6px; margin:10px 0 0; }
#view-map.studio-workspace .studio-summary-view .pf-go-wide:has(.ebtn) { grid-template-columns:minmax(0,1fr) auto; }
#view-map.studio-workspace .studio-summary-view .pf-go-wide>button { width:100%; min-height:31px; height:31px; padding:5px 10px; border:1px solid #789eb829; border-radius:8px; color:#c9e8fa; background:linear-gradient(155deg,#405969,#2b414f); box-shadow:inset 0 1px #cee6f21a,0 2px 3px #0006; font:500 11px var(--sans); }
#view-map.studio-workspace .studio-summary-view .pf-go-wide>.ebtn { width:auto; min-width:0; padding-inline:8px; color:#91aab9; background:linear-gradient(#303b43,#25323c); font-size:10px; }
#view-map.studio-workspace .studio-summary-view .pf-rank { margin-top:16px; padding-top:12px; border-top:1px solid #a5c3d018; gap:7px; }
#view-map.studio-workspace .studio-summary-view .pf-rank-title { color:#b2cadb; font:500 10px/1.5 var(--sans); }
#view-map.studio-workspace .studio-summary-view .pf-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:2px; margin:0; padding:3px; border:1px solid #101a21; border-radius:9px; background:var(--instrument-well); box-shadow:var(--instrument-recess); }
#view-map.studio-workspace .studio-summary-view .pf-tabs>button { min-width:0; min-height:27px; height:27px; padding:0 1px; margin:0; border:0; border-radius:6px; color:#839fb0; background:none; font:500 10px var(--sans); }
#view-map.studio-workspace .studio-summary-view .pf-tabs>button[aria-selected=true] { color:var(--pra-selected-fg); background:var(--pra-selected-bg); box-shadow:var(--pra-selected-shadow); }
#view-map.studio-workspace .studio-summary-view .pf-rank-unit { margin:0; color:#708d9f; font:9px/1.5 var(--sans); }
#view-map.studio-workspace .studio-summary-view .pf-list { display:block; list-style:none; margin:0; padding:0; }
#view-map.studio-workspace .studio-summary-view .pf-list>li { margin:4px 0; padding:0; border:0; min-width:0; }
#view-map.studio-workspace .studio-summary-view .pf-list .studio-summary-rank { position:relative; isolation:isolate; display:block; width:100%; padding:0; border:0; border-radius:7px; background:transparent; box-shadow:none; text-align:left; }
#view-map.studio-workspace .studio-summary-rank>.pra-lift-face { display:grid; grid-template-columns:3px minmax(0,1fr) auto; grid-template-rows:auto auto; column-gap:7px; row-gap:3px; min-height:42px; padding:7px; }
#view-map.studio-workspace .studio-summary-rank>.pra-lift-face>i { grid-column:1; grid-row:1/3; width:3px; height:23px; border:0; border-radius:2px; }
#view-map.studio-workspace .studio-summary-rank>.pra-lift-face>b { grid-column:2; grid-row:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#bad1df; font:500 10px/1.3 var(--sans); }
#view-map.studio-workspace .studio-summary-rank>.pra-lift-face>span { grid-column:2; grid-row:2; color:#718e9f; font:9px/1.2 var(--sans); }
#view-map.studio-workspace .studio-summary-rank>.pra-lift-face>em { grid-column:3; grid-row:1/3; color:#afccdd; font:500 10px var(--sans); font-variant-numeric:tabular-nums; }

/* Keep the table at its final size and slide it on a composited layer. The
   resting open state clears the transform for fixed-position filter menus. */
#view-map.studio-workspace .pf-at-card.pra-reference-drawer,
#view-map.studio-workspace .pf-at-card.pra-reference-drawer.studio-register-open {
  display:flex; position:absolute; inset:auto 0 0!important; width:auto; height:var(--studio-sheet-height,45%); min-height:0;
  max-height:calc(100% - var(--studio-command-h,86px) - 70px); margin:0; padding:0;
  border:1px solid #10191f; border-bottom:0; border-radius:15px 15px 0 0; overflow:visible;
  background:linear-gradient(155deg,#343d42,#252e34 85%); transform:translateY(100%); animation:none;
  box-shadow:inset 0 1px #d5e7f01c,0 -3px 8px #0007,0 -14px 32px #0005;
  transition:transform .22s cubic-bezier(.2,.75,.25,1); pointer-events:none; z-index:1100;
  backdrop-filter:none; -webkit-backdrop-filter:none;
}
#view-map.studio-workspace .pf-at-card.pra-reference-drawer.studio-register-open { transform:none; pointer-events:auto; }
#view-map.studio-workspace .pf-at-card.pra-reference-drawer.studio-register-moving { will-change:transform; }
#view-map.studio-workspace .pf-at-card.pra-reference-drawer.studio-register-resizing { transition:none; }
#view-map.studio-workspace .pra-reference-drawer>.studio-register-content { flex:1; min-height:0; height:100%; border-radius:inherit; overflow:hidden; }
#view-map.studio-workspace .pra-reference-drawer>.studio-sheet-tab {
  position:absolute; top:-28px; left:50%; transform:translateX(-50%); display:flex; align-items:center; justify-content:center;
  width:156px; min-width:156px; height:28px; min-height:28px; margin:0; padding:0 16px; gap:8px;
  border:1px solid #10191f; border-bottom:0; border-radius:14px 14px 0 0;
  color:#a9c7da; background:linear-gradient(155deg,#3a444b,#2d383f);
  box-shadow:inset 0 1px #d1e6f121,0 -2px 5px #0003; font:500 11px var(--sans);
  pointer-events:auto; cursor:pointer; transition:opacity .1s,visibility .1s;
}
#view-map.studio-workspace .pra-reference-drawer.studio-register-open>.studio-sheet-tab { visibility:hidden; opacity:0; pointer-events:none; }
#view-map.studio-workspace .studio-sheet-tab::before,
#view-map.studio-workspace .studio-sheet-tab::after { display:none; }
#view-map.studio-workspace .studio-sheet-tab>.studio-icon { width:13px; height:13px; transform:rotate(180deg); transition:transform .26s; }
#view-map.studio-workspace .studio-sheet-tab[aria-expanded=true]>.studio-icon { transform:rotate(0); }
#view-map.studio-workspace .pra-reference-drawer .studio-sheet-grip { position:absolute; inset:0 0 auto; z-index:3; height:6px; min-height:6px; }
#view-map.studio-workspace .pra-reference-drawer .studio-sheet-grip::before { display:none; }
#view-map.studio-workspace .pra-reference-drawer .studio-sheet-grip:focus-visible { outline:none; background:#16b7ff66; }
#view-map.studio-workspace .pra-register-toolbar { display:grid; grid-template-columns:auto minmax(0,1fr) 28px; align-items:center; gap:12px; flex:none; min-height:54px; padding:10px 12px 8px 16px; }
#view-map.studio-workspace .pra-register-collapse { display:grid; place-items:center; width:28px; min-width:28px; height:28px; min-height:28px; margin:0; padding:5px; border:1px solid #b3d3e516; border-radius:8px; background:linear-gradient(#38434a,#2b363e); color:#a7c4d5; box-shadow:inset 0 1px #d8ecf014,0 1px 3px #0005; }
#view-map.studio-workspace .pra-register-collapse:hover { color:#d2efff; background:linear-gradient(#46545d,#35444e); }
#view-map.studio-workspace .pra-register-collapse>.studio-icon { width:15px; height:15px; }
#view-map.studio-workspace .pra-reference-drawer .studio-table-heading { display:block; min-width:0; min-height:0; padding:0; border:0; }
#view-map.studio-workspace .pra-reference-drawer .pra-register-title { display:flex; align-items:center; flex-wrap:nowrap; gap:8px; min-width:0; }
#view-map.studio-workspace .pra-reference-drawer .pra-register-title>strong { font:500 13px/1.2 var(--sans); letter-spacing:0; }
#view-map.studio-workspace .pra-reference-drawer .pra-register-total { flex:none; padding:3px 5px; font-size:10px; white-space:nowrap; }
#view-map.studio-workspace .pra-reference-drawer .pra-register-scope { flex:0 1 auto; max-width:170px; margin:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#849dab; font:10px var(--sans); }
#view-map.studio-workspace .pra-reference-drawer .pra-register-whole { flex:none; min-height:25px; padding:3px 8px; font-size:10px; }
#view-map.studio-workspace .pra-reference-drawer .pf-at-head { display:block; min-width:0; padding:0; }
#view-map.studio-workspace .pra-reference-drawer .pf-at-tools { display:grid; grid-template-columns:minmax(140px,1fr) 155px auto; gap:8px; align-items:center; }
#view-map.studio-workspace .pra-reference-drawer :is(.pra-register-search,.pra-register-type-trigger) { height:32px; min-height:32px; border-radius:9px; font-size:11px; }
#view-map.studio-workspace .pra-reference-drawer #pf-at-q { height:30px; min-height:0; font-size:11px; }
#view-map.studio-workspace .pra-reference-drawer .pra-register-search { grid-column:auto; padding-left:9px; gap:7px; }
#view-map.studio-workspace .pra-reference-drawer .pra-register-search>.studio-icon { width:14px; height:14px; }
#view-map.studio-workspace .pra-reference-drawer label.pf-at-lines { height:32px; min-height:0; padding:0; gap:6px; font-size:10px; }
#view-map.studio-workspace .pra-reference-drawer .pf-at-wrap { padding:0 12px 5px; }
#view-map.studio-workspace .pra-reference-drawer table.pf-at thead th { height:34px; }
#view-map.studio-workspace .pra-reference-drawer table.pf-at tbody tr.pra-lift-row>:is(td,th) { height:46px; }
#view-map.studio-workspace .pra-reference-drawer .pra-row-face { height:40px; }
#view-map.studio-workspace .pra-reference-drawer .pra-register-more { display:flex; flex-direction:column; align-items:center; gap:5px; padding:7px 0 5px; position:sticky; left:0; }
#view-map.studio-workspace .pra-reference-drawer #pf-at-more { height:29px; min-height:29px; min-width:105px; font-size:10px; }
#view-map.studio-workspace .pra-register-error { color:#d5a1a1; font:11px/1.5 var(--sans); }
#view-map.studio-workspace .pra-reference-drawer table.pf-at thead th:last-child { padding-right:39px; }
#view-map.studio-workspace .pra-reference-drawer .pra-register-basis { position:absolute; right:7px; top:5px; margin:0; }
#view-map.studio-workspace .pra-reference-drawer .pra-register-basis>summary { width:23px; height:23px; min-height:23px; padding:0; justify-content:center; color:#7c9fb5; font-size:0; }
#view-map.studio-workspace .pra-reference-drawer .pra-register-basis>summary:hover { color:#a9dfff; }
#view-map.studio-workspace .pra-reference-drawer .pra-register-basis>div { white-space:normal; text-align:left; font:400 12px/1.65 var(--sans); }

/* Risk scales and map symbols share the legend's one disclosure. */
#view-map #pf-svc[data-detail-visible=false] .studio-service-copy::after { content:'Zoom in to reveal'; display:block; margin-top:1px; color:#8196a3; font:8px/1.2 var(--sans); }
#view-map.studio-workspace #pf-legend { width:328px; max-width:calc(100% - 32px); overflow:hidden; }
#view-map.studio-workspace #pf-legend .pf-legend-toggle { min-height:39px; padding:10px 12px; gap:8px; border-radius:13px; }
#view-map.studio-workspace #pf-legend .pf-legend-toggle>.field-label { flex:1; font:500 11px/1.5 var(--sans); color:#c4d8e5; }
#view-map.studio-workspace #pf-legend .pf-legend-strip { flex:none; }
#view-map.studio-workspace #pf-legend .pf-legend-strip>i { width:6px; height:6px; }
#view-map.studio-workspace #pf-legend .pf-legend-toggle>.ico { flex:none; width:12px; margin:0; }
#view-map.studio-workspace #pf-legend .pf-legend-body { display:block; padding:0 12px 0; max-height:none; overflow:visible; }
#view-map.studio-workspace #pf-legend .pf-legend-body[hidden] { display:none; }
#view-map.studio-workspace .pf-legend-scale-group { margin:0 0 14px; padding:0; }
#view-map.studio-workspace .pf-legend-scale-group>h4 { margin:0 0 7px; color:#90a7b6; font:500 10px/1.4 var(--sans); }
#view-map.studio-workspace .pf-legend-scale { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:3px; margin:0; padding:0; list-style:none; }
#view-map.studio-workspace .pf-legend-scale>li { min-width:0; padding:0; margin:0; text-align:center; }
#view-map.studio-workspace .pf-legend-scale>li>i { display:block; height:7px; border-radius:1px; box-shadow:inset 0 1px #fff2; }
#view-map.studio-workspace .pf-legend-scale>li>span { display:block; margin-top:5px; color:#a9bdca; white-space:nowrap; font:9px/1.4 var(--sans); font-variant-numeric:tabular-nums; }
#view-map.studio-workspace .pf-legend-symbols { margin:0; border-top:1px solid #b7ced818; }
#view-map.studio-workspace .pf-legend-symbols>h4 { margin:0; padding:10px 0 7px; color:#91abba; font:500 10px/1.5 var(--sans); }
#view-map.studio-workspace .pf-legend-symbol-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px 12px; padding:6px 0 14px; }
#view-map.studio-workspace .pf-legend-symbol-grid>.pf-key { display:grid; grid-template-columns:18px minmax(0,1fr); gap:6px; align-items:center; color:#9eb4c2; font:10px/1.5 var(--sans); }
#view-map.studio-workspace .pf-legend-symbol-grid>.pf-key>i { justify-self:center; flex:none; }
#view-map.studio-workspace .pf-legend-service-note { grid-column:1/-1; margin:0; padding-top:10px; border-top:1px solid #b7ced818; color:#728f9f; font:10px/1.6 var(--sans); }
#view-map.studio-workspace .pf-legend-symbol-grid>.pf-key>i:is(.pf-service-transformer,.pf-service-fuse) { width:7px; height:7px; border-radius:50%; background:#fff; border:1px solid #101a2166; }
#view-map.studio-workspace .pf-legend-symbol-grid>.pf-key>i.pf-service-fuse { background:#ff7a59; }
#view-map.studio-workspace:not(.studio-has-station):not(.studio-has-selection) .pf-mapbox,
#view-map.studio-workspace[data-mode="3d"] .pf-mapbox { bottom:0; }
#view-map.studio-workspace[data-mode="3d"] .studio-scene-caption { bottom:36px; }
@media(min-width:1001px) {
  #view-map.studio-workspace[data-mode="3d"] .studio-camera-tools { bottom:58px; }
}
@media(max-width:1100px) {
  #view-map.studio-workspace .pra-register-toolbar { grid-template-columns:1fr 28px; gap:8px; padding:9px 14px; }
  #view-map.studio-workspace .pra-reference-drawer .pf-at-head { grid-column:1/-1; grid-row:2; }
  #view-map.studio-workspace .pra-register-collapse { grid-column:2; grid-row:1; }
  #view-map.studio-workspace .pra-reference-drawer .pra-register-title { width:100%; }
  #view-map.studio-workspace .pra-reference-drawer .pra-register-scope { flex:1; max-width:none; }
  #view-map.studio-workspace .pra-reference-drawer .pf-at-tools { grid-template-columns:minmax(0,1fr) 165px auto; }
}
@media(max-width:1000px) {
  #view-map.studio-workspace[data-mode="3d"] .studio-camera-tools { transition:transform .22s cubic-bezier(.2,.75,.25,1); }
  #view-map.studio-workspace[data-mode="3d"]:has(.pra-reference-drawer.studio-register-open) .studio-camera-tools { bottom:var(--bay-tools-bottom,95px); transform:translate(-50%,min(0px,calc(var(--bay-tools-bottom,95px) - var(--studio-sheet-height) - 8px))); }
  #view-map.studio-workspace[data-mode="3d"]:has(.pra-reference-drawer.studio-register-open) .pf-side { visibility:hidden; pointer-events:none; }
  #view-map.studio-workspace[data-mode="3d"]:has(.studio-register-resizing) .studio-camera-tools { transition:none; }
}
@media(max-width:600px) {
  #view-map.studio-workspace .pra-register-toolbar { grid-template-columns:repeat(2,minmax(0,1fr)) 28px; padding:9px 12px; gap:7px; }
  #view-map.studio-workspace .pra-reference-drawer :is(.pf-at-head,.pf-at-tools) { display:contents; }
  #view-map.studio-workspace .pra-reference-drawer .studio-table-heading { grid-column:1; grid-row:1; }
  #view-map.studio-workspace .pra-reference-drawer .pra-register-search { grid-column:2; grid-row:1; }
  #view-map.studio-workspace .pra-reference-drawer .pra-register-type { grid-column:1; grid-row:2; }
  #view-map.studio-workspace .pra-reference-drawer label.pf-at-lines { grid-column:2/4; grid-row:2; }
  #view-map.studio-workspace .pra-register-collapse { grid-column:3; grid-row:1; }
  #view-map.studio-workspace .pra-reference-drawer :is(.pra-register-scope,.pra-register-title>strong) { display:none; }
  #view-map.studio-workspace .pra-reference-drawer .pra-register-whole { grid-column:auto; grid-row:auto; }
  #view-map.studio-workspace .pra-reference-drawer .pf-at-wrap { padding-inline:7px; }
}
@media(prefers-reduced-motion:reduce) {
  #view-map.studio-workspace .pf-at-card.pra-reference-drawer,
  #view-map.studio-workspace .pra-reference-drawer>.studio-sheet-tab,
  #view-map.studio-workspace .studio-sheet-tab>.studio-icon,
  #view-map.studio-workspace[data-mode="3d"] .studio-camera-tools { transition:none; }
}
