/* Extraction narrative; Explorer and menu primitives remain shared. */
.ls-installation { --li-zip-x:16%; --li-menu-offset:11%; --la-support:14px; --la-body:17px; --la-meta:12px; }
.ls-installation .ls-art { animation:none; transform:none; }
.ls-installation .ls-art > :not(.ls-foliage), .ls-installation .ls-caption { display:none; }
.ls-installation [hidden] { display:none !important; }
.li-zip { position:absolute; z-index:2; left:var(--li-zip-x); top:9%; display:flex; flex-direction:column; align-items:center; gap:6px; padding:10px; background:#ffffff16; border:1px solid #ffffff30; font-size:14px; }
.li-zip-icon { width:48px; height:48px; object-fit:contain; }
.ls-installation .li-menu { left:calc(var(--li-zip-x) + var(--li-menu-offset)); top:24%; width:310px; max-width:75%; z-index:3; padding:5px; border-radius:9px; animation:none; opacity:1; visibility:visible; transform:none; background:#272c28; }
.ls-installation .li-menu .ls-row { height:32px; font-size:14px; padding-left:34px; border-radius:4px; }
.ls-installation .li-menu .ls-tools { border-top:0; border-bottom:1px solid #ffffff13; margin-bottom:5px; padding-top:5px; height:58px; }
.ls-installation .li-extract-all { padding-left:8px !important; }
.li-extract-icon { width:18px; height:18px; flex-shrink:0; }
.li-hover { background:#ffffff12; }
.li-panel { position:absolute; z-index:3; top:48px; left:50%; transform:translateX(-50%); width:calc(100% - 60px); max-width:612px; height:410px; border-radius:9px; background:#fafafa; color:#222; box-shadow:0 24px 60px #0005; font-size:14px; overflow:hidden; }
.li-panel header { height:44px; padding:14px 20px; display:flex; justify-content:space-between; align-items:center; }
.li-panel h3 { font-size:17px; font-weight:400; color:#0055ab; margin:28px 36px 24px; }
.li-panel p { margin:18px 36px 8px; }
.li-destination { margin:0 36px; height:26px; display:flex; gap:10px; align-items:center; }
.li-destination > .li-skeleton { width:auto; flex:1; height:24px; border:1px solid #ddd; background:transparent; opacity:1; border-bottom:2px solid #1675dd; position:relative; }
.li-destination > .li-skeleton:after { content:''; position:absolute; left:5px; top:8px; width:65%; height:6px; border-radius:3px; background:#ddd; }
.li-destination span { width:80px; border:1px solid #ccc; border-radius:3px; padding:3px 10px; display:flex; align-items:center; height:24px; }
.li-checkbox { display:flex; gap:8px; align-items:center; }
.li-checkbox b { width:12px; height:12px; background:#ddd; border-radius:2px; }
.li-panel footer { position:absolute; bottom:0; width:100%; display:flex; justify-content:flex-end; align-items:center; gap:10px; padding:10px 12px; background:#f0f0f0; border-top:1px solid #ddd; }
.li-panel button, .li-cancel { height:26px; padding:3px 18px; border:1px solid #aaa; border-radius:4px; background:white; color:#222; font:inherit; }
.li-panel .li-extract { border-color:#1675dd; }
.li-panel .li-extract.li-hover { background:#e8f2ff; }
.li-cancel { width:80px; display:flex; align-items:center; }
.li-skeleton { display:inline-block; width:130px; max-width:100%; height:7px; border-radius:3px; background:currentColor; opacity:.18; }
.li-panel .li-skeleton { color:#656565; }
.li-panel header .li-skeleton { width:190px; }
.li-checkbox .li-skeleton { width:240px; }
.li-file { display:flex; gap:10px; align-items:center; height:32px; padding:5px 6px; font-size:14px; }
.li-file img { width:18px; height:18px; object-fit:contain; flex-shrink:0; }
.li-file small { margin-left:auto; font-size:12px; color:var(--ls-muted); }
.li-file small .li-skeleton { width:65px; }
.li-selected { background:#484848; outline:1px solid #aaa; }
.ls-installation .la-explorer { inset:30px 28px 115px; }
.ls-installation .la-explorer .li-inactive { background:none; color:var(--ls-muted); font-weight:400; }
.ls-installation .la-explorer .li-active { color:var(--ls-ink); background:var(--ls-hover); border-radius:6px; }

@container luzshade-scene (max-width:540px) {
 .li-panel { top:38px; width:calc(100% - 24px); height:410px; }
 .li-panel h3 { margin:22px 20px; }
 .li-panel p { margin-left:20px; margin-right:20px; }
 .li-destination { margin-inline:20px; }
 .li-file small { display:none; }
 .li-file { font-size:12px; }
 .ls-installation .la-explorer { inset:30px 12px 115px; }
 .ls-installation .li-menu { left:15%; }
}

/* Keep the Windows command labels on one line at both widths. */
.ls-installation .li-menu{width:348px;max-width:calc(100% - 24px)}
@container luzshade-scene (max-width:540px){.ls-installation .li-menu{left:12px}.ls-installation .li-menu .ls-tools small{white-space:nowrap}}

/* Interaction states use the same hover/selection palette as the addons Explorer. */
.ls-installation .li-zip[data-state=idle]{background:transparent;border-color:transparent}
.ls-installation .li-zip[data-state=selected]{background:#ffffff28;border-color:#ffffff24}
.ls-installation .li-menu .ls-row[data-state=hover]{background:var(--ls-hover)}
.ls-installation .li-menu .ls-row[data-state=pressed]{background:#ffffff23}
.ls-installation .li-extract[data-state=hover]{background:#e8f2ff}
.ls-installation .li-extract[data-state=pressed]{background:#cce4ff}
.ls-installation .li-click-ring{animation:none;border-color:#e2f4eb;pointer-events:none}
.ls-installation .li-panel,.ls-installation .la-explorer{transform-origin:50% 100%}
@media(prefers-reduced-motion:reduce){.ls-installation .la-pointer,.ls-installation .li-click-ring{display:none}}

.li-installer{position:absolute;z-index:5;overflow:hidden;border-radius:10px;box-shadow:0 24px 60px #0005;transform-origin:50% 70%;pointer-events:none;background:#f4f5eb}
.li-installer iframe{display:block;width:980px;height:620px;border:0;transform-origin:0 0;pointer-events:none}

/* One camera scales every window and the cursor together. */
.li-stage{position:absolute;z-index:2;left:0;top:0;width:806px;height:554px;transform-origin:0 0;container:luzshade-scene / inline-size}
.li-panel header{height:48px;padding:8px 20px}
.li-panel header .la-icon{filter:brightness(0)}

.li-installer-camera{position:absolute;z-index:3;left:0;top:0;width:806px;height:554px;transform-origin:0 0;pointer-events:none}
