.assembly-drawer-handle{display:none}
.assembly-drawer-handle[hidden]{display:none!important}
@media screen and (max-width:700px) and (orientation:portrait){
  body.charger-guide .assembly-workspace[data-drawer=resizable] .assembly-layout{overflow:hidden;gap:0}
  /* This functional split needs real layout (as with an accordion): scaling a
     canvas or text would distort both. The viewer observes each actual size. */
  body.charger-guide .assembly-workspace[data-drawer=resizable][data-drawer-transition=true] .assembly-layout{
    transition:grid-template-rows 500ms var(--ease-out);
  }
  /* The existing preview material belongs to the whole partition, so it stays
     continuous behind both rounded corners at every drawer height. */
  body.charger-guide .assembly-workspace[data-drawer=resizable] .model-column.preview-wave-surface{background:transparent}
  body.charger-guide .assembly-workspace[data-drawer=resizable] .assembly-panel{
    --drawer-corner:min(48px,var(--radius-action));
    position:relative;z-index:2;padding:0 14px 8px;border:1px solid var(--line);border-bottom:0;
    border-radius:var(--drawer-corner) var(--drawer-corner) 0 0;background:var(--bg);box-shadow:0 -8px 24px #141c3214;
  }
  body.charger-guide .assembly-workspace[data-drawer=resizable] .assembly-drawer-handle{
    display:flex;flex:none;align-items:center;justify-content:center;
    height:44px;min-height:44px;margin:0 -14px;padding:0 16px;border-radius:var(--drawer-corner) var(--drawer-corner) 0 0;
    color:var(--ink2);cursor:ns-resize;touch-action:none;user-select:none;-webkit-user-select:none;
    -webkit-tap-highlight-color:transparent;outline:none;box-shadow:none;
  }
  .assembly-drawer-grip{display:block;width:40px;height:5px;flex:none;border-radius:4px;background:currentColor;opacity:.5}
  .assembly-workspace[data-drawer-dragging=true] .assembly-drawer-handle{color:var(--accent)}
  .assembly-workspace[data-drawer-dragging=true] .assembly-drawer-grip{opacity:1}
  body.charger-guide .assembly-workspace[data-drawer=resizable] .assembly-drawer-handle:is(:focus,:focus-visible){outline:none;box-shadow:none}
  .assembly-drawer-handle:focus-visible .assembly-drawer-grip{box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--accent);opacity:1}
  .assembly-workspace[data-drawer-dragging=true] .assembly-drawer-handle .assembly-drawer-grip{box-shadow:none}
  body.charger-guide .assembly-workspace[data-drawer=resizable] .step-copy{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  /* The grabber and keyboard always take over immediately from the visible
     size. Only automatic task switching and tap presets have a transition. */
  @media(prefers-reduced-motion:reduce){
    body.charger-guide .assembly-workspace[data-drawer=resizable][data-drawer-transition=true] .assembly-layout{transition:none}
  }
  @media(prefers-contrast:more){
    body.charger-guide .assembly-workspace[data-drawer=resizable] .assembly-panel{border-color:var(--ink)}
    .assembly-drawer-grip{opacity:1}
  }
}
@media screen and (max-width:700px),screen and (max-width:1000px) and (max-height:540px){
  body.charger-guide .assembly-workspace[data-compact-actions=true] .assembly-panel{position:relative}
  body.charger-guide .assembly-workspace[data-compact-actions=true][data-mode=configuration] .configuration-scroll-cue{
    position:absolute;z-index:3;bottom:8px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 28px);
    min-height:24px;padding:4px 12px;border-radius:var(--radius-action);pointer-events:none;
    background:color-mix(in srgb,var(--bg) 72%,transparent);box-shadow:0 3px 14px #141c3220;
    backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  }
  body.charger-guide .assembly-workspace[data-compact-actions=true][data-configuration-cue-dismissed=true] .configuration-scroll-cue{visibility:hidden}
  @media(prefers-contrast:more){
    body.charger-guide .assembly-workspace[data-compact-actions=true] .configuration-scroll-cue{border:1px solid var(--ink);color:var(--ink)}
  }
}
@media print{.assembly-drawer-handle{display:none!important}}
