body.embedded{min-width:0!important;overflow-x:hidden}
body.embedded .sidebar{position:relative;inset:auto;width:100%;height:auto;max-height:none;display:flex;flex-direction:row;align-items:center;gap:6px;overflow-x:auto;padding:7px 10px;border-right:0;border-bottom:1px solid #27313b}
body.embedded .sidebar .brand,body.embedded .sidebar .nav-label,body.embedded .sidebar .sidebar-footer{display:none}
body.embedded .sidebar nav{display:flex;align-items:center;gap:3px;width:max-content;flex:0 0 auto}
body.embedded .sidebar .nav-item{width:auto;min-height:32px;margin:0;padding:6px 9px;font-size:10px;gap:6px;white-space:nowrap}
body.embedded .sidebar .nav-item svg{width:15px;height:15px}
body.embedded .workspace{margin:0;min-width:0;width:100%}
body.embedded .topbar{min-height:66px;padding:12px 16px}
body.embedded .topbar h1{font-size:19px}
body.embedded .header-badges{gap:5px}
body.embedded .header-badges .badge{padding:6px 8px;font-size:9px;max-width:none;white-space:nowrap}
body.embedded main{padding:12px}
body.embedded .card{padding:15px;margin-bottom:12px}
body.embedded .metric-row{grid-template-columns:repeat(2,minmax(0,1fr))}
body.embedded .statusbar{padding:8px 12px;font-size:9px}
body.embedded .status-dot,body.embedded #status-dot{background:#75808e}
body.embedded .status-dot.is-ready,body.embedded #status-dot.is-ready{background:#00d58a}
body.embedded .status-dot.is-recording,body.embedded #status-dot.is-recording{background:#ff3603}
@media(max-width:520px){body.embedded .sidebar .nav-item{padding-inline:6px;font-size:9px}body.embedded .topbar{gap:8px;align-items:flex-start;flex-direction:column}body.embedded .card{padding:11px}body.embedded main{padding:9px}body.embedded .statusbar>span:last-child{display:none}}

/* The homepage embeds the actual viewer in a compact showcase card. */
:host .strata-root .app-header{min-height:0;padding:9px 12px!important}
:host .strata-root .main{padding:8px 12px 12px!important}
:host .strata-root .page-heading{display:none}
:host .strata-root .timeline:not(.stacked) .plot-canvas{height:290px;min-height:0}
:host .strata-root .footer,:host .strata-root .toast{display:none}
:host .strata-root .channel-panel{max-height:260px}
