/* Embedded mode is enabled only by the script after detecting a parent frame and embedded=1. */
html.lucy-embedded .sidebar,html.lucy-embedded .menu-toggle,html.lucy-embedded .menu-scrim{display:none!important}html.lucy-embedded .workspace{margin-left:0}html.lucy-embedded .topbar{height:56px;padding:0 24px;background:#FFFFFF}html.lucy-embedded .content{padding:25px 24px;max-width:1680px}html.lucy-embedded .access-gate{margin:7vh auto;padding:25px;max-width:600px}html.lucy-embedded .chapter-toolbar,html.lucy-embedded .analysis-layout{scroll-margin-top:72px}html.lucy-embedded .page-head{margin-bottom:20px}
@media(min-width:1000px){html.lucy-embedded .analysis-layout{grid-template-columns:minmax(0,1fr) 224px;gap:18px}html.lucy-embedded .chapter-rail{grid-column:2;grid-row:1;position:sticky;top:72px;max-height:calc(100dvh - 90px);overflow-y:auto;padding:16px 12px}html.lucy-embedded .chapter-rail .chapter-directory{grid-template-columns:minmax(0,1fr);gap:5px}html.lucy-embedded .analysis-body{grid-column:1;grid-row:1}html.lucy-embedded .chapter-jump{display:none}}
@media(min-width:1000px) and (max-width:1279px){html.lucy-embedded .analysis-body .metrics,html.lucy-embedded .analysis-body .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html.lucy-embedded .analysis-body .content-grid,html.lucy-embedded .analysis-body .cards-grid,html.lucy-embedded .analysis-body .two-col,html.lucy-embedded .analysis-body .action-catalog-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:999px){html.lucy-embedded .analysis-layout{grid-template-columns:minmax(0,1fr)}html.lucy-embedded .chapter-rail{grid-column:auto;grid-row:auto;position:static;max-height:none;overflow:visible}html.lucy-embedded .analysis-body{grid-column:auto;grid-row:auto}html.lucy-embedded .chapter-rail .chapter-directory{max-height:none;overflow:visible}html.lucy-embedded .chapter-jump{display:inline-flex}}
@media(max-width:650px){html.lucy-embedded .content{padding:20px 14px}html.lucy-embedded .topbar{padding:0 14px;gap:8px}html.lucy-embedded .breadcrumb{gap:7px}html.lucy-embedded .top-actions{gap:12px}html.lucy-embedded .chapter-rail .chapter-directory{grid-template-columns:repeat(2,minmax(0,1fr))}html.lucy-embedded .access-gate{margin:3vh auto;padding:24px}}
/* The host owns the workspace breadcrumb; this row contains analysis tools only. */
html.lucy-embedded .topbar>.breadcrumb{display:none}html.lucy-embedded .topbar{justify-content:flex-end}
