.right-tool-switch { grid-template-columns:repeat(5,minmax(0,1fr)); }
.deepdom-view { display:grid;grid-template-rows:var(--workspace-header-height) 28px minmax(0,1fr) 34px;background:#080e19; }
.deepdom-chart { position:relative;min-height:0;min-width:0;overflow:hidden; }
.deepdom-chart canvas { display:block;width:100%;height:100%;touch-action:none;cursor:crosshair; }
.deepdom-legend,.deepdom-footer { display:flex;align-items:center;gap:9px;padding:0 9px;color:#8f9eb3;font:600 9px var(--ui);border-bottom:1px solid #1b2839; }
.deepdom-legend>span { display:flex;align-items:center;gap:7px; }
.deepdom-scale { display:inline-block;width:36px;height:5px;border-radius:2px;background:linear-gradient(90deg,#132b31,#1caa80,#dbc95b); }
.deepdom-unknown { margin-left:auto;color:#64748a; }
.deepdom-footer { border-top:1px solid #1b2839;border-bottom:0; }
.deepdom-footer>[role=status] { flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.deepdom-footer button { padding:4px 6px;border:1px solid #27364a;border-radius:3px;color:#73849b;font:600 10px var(--ui); }
.deepdom-footer button[aria-pressed=true] { background:#152b35;border-color:#2c705f;color:#75d9b6; }
.deepdom-footer button:focus-visible { outline:2px solid #75d9b6;outline-offset:2px; }

.deepdom-legend { gap:6px;justify-content:space-between;flex-wrap:wrap; }
.deepdom-legend [hidden] { display:none; }

.deepdom-footer [data-deepdom-live] { white-space:nowrap;color:#dce6f3; }
