
:root{
  --lc-ribbon-h:64px;
  --lc-drawer-w:286px;
  --lc-props-w:330px;
  --lc-canvas-bg:#0c1420;
  --lc-canvas-text:#e8eef7;
  --lc-drawer-bg:#101a2a;
  --lc-drawer-head:#0c1523;
}
html,body{height:100%;overflow:hidden}
body[data-lc-theme="dark"]{color-scheme:dark;--bg:#0b1220;--panel:#111a2b;--line:#2b3a52;--text:#eef4ff;--muted:#a8b5c8;--accent:#69a7ff;--accent-dark:#3b7ddd;--accent2:#1b3152;--ribbon:#0f1828;--lc-canvas-bg:#0b1524;--lc-canvas-text:#eef4ff;--lc-drawer-bg:#111a2b;--lc-drawer-head:#0c1523}
body[data-lc-theme="light"]{color-scheme:light;--bg:#eef2f6;--panel:#ffffff;--line:#cfd7e3;--text:#172033;--muted:#5e6b7e;--accent:#2f6fd7;--accent-dark:#1f55ae;--accent2:#e8f0ff;--ribbon:#f7f9fc;--lc-canvas-bg:#f6f8fb;--lc-canvas-text:#172033;--lc-drawer-bg:#ffffff;--lc-drawer-head:#f4f7fb}
body[data-lc-theme="dark"],body[data-lc-theme="light"]{background:var(--bg)!important;color:var(--text)!important}
.titlebar{display:none!important}
.app{height:100vh!important;display:grid!important;grid-template-rows:auto 1fr!important;background:var(--bg)!important;overflow:hidden!important}
.ribbon{height:var(--lc-ribbon-h)!important;min-height:var(--lc-ribbon-h)!important;background:var(--ribbon)!important;border-bottom:1px solid var(--line)!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.tabs{height:26px!important;min-height:26px!important;padding:0 6px!important;gap:0!important;display:flex!important;align-items:center!important;background:var(--ribbon)!important;border:0!important;overflow:hidden!important}
.tab{height:26px!important;padding:0 10px!important;border-radius:0!important;font-size:11.5px!important;color:var(--muted)!important;display:flex!important;align-items:center!important;box-shadow:none!important}
.tab.active{background:var(--panel)!important;color:var(--accent)!important;font-weight:700!important}
.tools{height:38px!important;min-height:38px!important;padding:2px 6px!important;gap:2px!important;background:var(--panel)!important;border-top:1px solid var(--line)!important;overflow-x:auto!important;overflow-y:hidden!important;align-items:center!important;white-space:nowrap!important}
.tool{height:32px!important;min-width:42px!important;padding:2px 6px!important;gap:1px!important;border:1px solid transparent!important;border-radius:4px!important;background:transparent!important;color:var(--text)!important;box-shadow:none!important}
.tool:hover{background:var(--accent2)!important;border-color:var(--line)!important;color:var(--accent)!important}
.tool.tool-active{background:var(--accent2)!important;border-color:var(--accent)!important;color:var(--accent)!important}
.tool span:first-child{font-size:15px!important;line-height:1!important}.tool small{font-size:9.5px!important;line-height:1.05!important;color:inherit!important;font-weight:600!important}
.tool-sep{height:24px!important;margin:0 2px!important;background:var(--line)!important}
[data-action="runCheck"]{background:rgba(28,111,78,.16)!important;border-color:rgba(71,159,119,.55)!important;color:inherit!important}
[data-action="runCheck"] small{color:inherit!important}.sphere-animation-panel{height:32px!important;min-height:32px!important;padding:2px 4px!important;border-radius:4px!important;box-shadow:none!important;margin:0 2px!important;background:transparent!important;border-color:var(--line)!important}.sphere-animation-panel button,.sphere-animation-panel select,.sphere-animation-panel input{height:26px!important;padding:2px 5px!important;font-size:10px!important;border-radius:4px!important}.sphere-animation-panel label,.sphere-animation-panel .anim-status,.sphere-group-label{font-size:9.5px!important}.sphere-animation-panel .progress{height:5px!important}
.main{position:relative!important;display:grid!important;grid-template-columns:1fr!important;gap:0!important;padding:0!important;min-height:0!important;overflow:hidden!important;background:var(--bg)!important}
.canvas-wrap{grid-column:1!important;grid-row:1!important;position:relative!important;min-width:0!important;min-height:0!important;height:100%!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--lc-canvas-bg)!important}
#canvas,#threeCanvas{background:var(--lc-canvas-bg)!important}
.bottom{display:none!important}
.library,.properties{display:none!important;position:fixed!important;top:calc(var(--lc-ribbon-h) + 6px)!important;bottom:8px!important;height:auto!important;z-index:12000!important;background:var(--lc-drawer-bg)!important;border:1px solid var(--line)!important;border-radius:8px!important;box-shadow:0 16px 42px rgba(0,0,0,.34)!important;overflow:hidden!important}
.library{left:8px!important;width:min(var(--lc-drawer-w),calc(100vw - 16px))!important}.properties{right:8px!important;width:min(var(--lc-props-w),calc(100vw - 16px))!important}
.library.lc-open,.properties.lc-open{display:flex!important}
.panel h3,.section h4,.bottom-tabs,th{background:var(--lc-drawer-head)!important;color:var(--text)!important;border-color:var(--line)!important}
.items,.properties .prop-content,.struct-tree{background:var(--lc-drawer-bg)!important}.item,.struct-item,.section{background:var(--panel)!important;border-color:var(--line)!important;color:var(--text)!important}.item:hover,.struct-item:hover{background:var(--accent2)!important;border-color:var(--accent)!important}
.search input,.properties .field input,.properties .field select,.properties .field textarea,.properties .struct-item .struct-fields input{background:var(--panel)!important;color:var(--text)!important;-webkit-text-fill-color:var(--text)!important;border-color:var(--line)!important;caret-color:var(--text)!important}.properties .field select option{background:var(--panel)!important;color:var(--text)!important}.field label,.group-title,.struct-item .struct-head span,.struct-item .struct-fields label{color:var(--muted)!important}
.panel>.ux-panel-collapse{display:none!important}
.view-dock,.canvas-toolbar,.canvas-bottom-tools,#uxModePill,.statusbar,.legend,.scale-bar,.view3d-hint{display:none!important}
.legend.lc-show{display:block!important;right:10px!important;bottom:10px!important;top:auto!important}.scale-bar.lc-show{display:flex!important;right:10px!important;bottom:10px!important}.view3d-hint.lc-show{display:block!important;left:10px!important;bottom:10px!important}.statusbar.lc-show{display:flex!important;left:10px!important;right:10px!important;bottom:10px!important}
.canvas-footer-brand{bottom:7px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;font-size:10.5px!important;font-weight:500!important;color:var(--muted)!important;opacity:.72!important}
.coverage-results-drawer{top:calc(var(--lc-ribbon-h) + 8px)!important;right:10px!important;max-height:calc(100vh - var(--lc-ribbon-h) - 16px)!important;background:var(--panel)!important;border-color:var(--line)!important;color:var(--text)!important}.coverage-results-head,.coverage-results-tabs{background:var(--lc-drawer-head)!important;border-color:var(--line)!important}.coverage-results-title{color:var(--text)!important}.coverage-results-actions button,.coverage-results-tabs button{background:var(--panel)!important;color:var(--text)!important;border-color:var(--line)!important}.coverage-results-tabs button.active{background:var(--accent2)!important;color:var(--accent)!important}.coverage-results-body{background:#fff!important;color:#111!important}
#lcTopActions{margin-left:auto;display:flex;align-items:center;gap:3px;flex:0 0 auto;padding-left:6px;border-left:1px solid var(--line)}
#lcTopActions button{height:22px;min-width:26px;padding:0 7px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--muted);font-size:10.5px;font-weight:600;cursor:pointer}
#lcTopActions button:hover,#lcTopActions button.lc-active{background:var(--accent2);border-color:var(--line);color:var(--accent)}
#lcBrand{height:22px;display:flex;align-items:center;padding:0 8px 0 4px;font-size:11.5px;font-weight:800;color:var(--text);white-space:nowrap}
#lcCommandEcho{min-width:0;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:Consolas,monospace;font-size:10px;color:var(--accent);padding:0 4px;opacity:0;transition:opacity .12s}
#lcCommandEcho.show{opacity:1}
#lcShortcutOverlay{display:none;position:fixed;inset:0;z-index:2147483200;background:rgba(4,10,18,.62);align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(2px)}
#lcShortcutOverlay.open{display:flex}
#lcShortcutDialog{width:min(880px,96vw);max-height:90vh;overflow:hidden;display:flex;flex-direction:column;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:10px;box-shadow:0 24px 70px rgba(0,0,0,.45)}
#lcShortcutHead{display:flex;align-items:center;gap:8px;padding:10px 12px;background:var(--lc-drawer-head);border-bottom:1px solid var(--line)}
#lcShortcutHead b{font-size:13px}#lcShortcutHead span{font-size:10.5px;color:var(--muted)}#lcShortcutHead button{margin-left:auto;width:28px;height:26px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--text);cursor:pointer}
#lcShortcutBody{overflow:auto;padding:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.lc-short-group{border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--panel)}.lc-short-group h4{margin:0;padding:7px 9px;background:var(--lc-drawer-head);font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.lc-short-row{display:grid;grid-template-columns:92px 1fr;gap:8px;padding:5px 8px;border-top:1px solid var(--line);font-size:10.5px}.lc-short-row code{color:var(--accent);font-family:Consolas,monospace;font-weight:700}.lc-short-row span{color:var(--text)}
body[data-lc-theme="light"] .ribbon,body[data-lc-theme="light"] .tabs,body[data-lc-theme="light"] .tools{background:#fff!important}body[data-lc-theme="light"] .tab.active{background:#eef4ff!important}body[data-lc-theme="light"] .tool{background:transparent!important;border-color:transparent!important}body[data-lc-theme="light"] .tool:hover{background:#eef4ff!important;border-color:#cfd7e3!important}body[data-lc-theme="light"] [data-action="runCheck"]{background:#e9f7f0!important;border-color:#b7dbc9!important;color:#145c42!important}body[data-lc-theme="light"] .coverage-results-drawer{background:#fff!important}body[data-lc-theme="light"] .coverage-results-head,body[data-lc-theme="light"] .coverage-results-tabs{background:#f4f7fb!important}body[data-lc-theme="light"] .coverage-results-actions button,body[data-lc-theme="light"] .coverage-results-tabs button{background:#fff!important;color:#172033!important}body[data-lc-theme="light"] .canvas-wrap,body[data-lc-theme="light"] #canvas,body[data-lc-theme="light"] #threeCanvas{background:#f6f8fb!important}
body[data-lc-theme="dark"] .coverage-results-body{background:#fff!important;color:#111!important}
@media(max-width:980px){#lcShortcutBody{grid-template-columns:repeat(2,minmax(0,1fr))}#lcTopActions button span.lc-word{display:none}.tab{padding:0 7px!important}}
@media(max-width:680px){#lcShortcutBody{grid-template-columns:1fr}.library,.properties{left:6px!important;right:6px!important;width:auto!important}.tab{font-size:10.5px!important;padding:0 5px!important}#lcBrand{display:none}}
@media print{#lcTopActions,#lcShortcutOverlay,.library,.properties{display:none!important}}
