/* Compact icon controls; labels remain available to assistive technology. */
@media screen {
  .workspace { padding-bottom:var(--actionbar-space,78px); }
  .workspace>main { padding-top:12px; }
  #toast { bottom:var(--actionbar-space,78px); }
  .topbar.bottom-controls {
    position:fixed;inset:auto 0 0 254px;z-index:1060;
    height:auto;min-height:0;margin:0;
    padding:6px 18px calc(6px + env(safe-area-inset-bottom,0px));
    border:0;border-top:1px solid #ecd6dd;border-radius:0;
    background:#fffffff5;box-shadow:0 -4px 20px #57152a12;
    display:flex;justify-content:flex-end;transition:none;
  }
  .menu-collapsed .topbar.bottom-controls { left:0; }
  .bottom-controls .breadcrumb { display:none; }
  .bottom-controls .top-right { display:flex;width:auto;gap:8px;flex-wrap:nowrap;align-items:center;margin:0; }
  .bottom-controls .menu-account-group { display:flex;width:auto;gap:8px;margin:0;flex-shrink:0; }
  .bottom-controls .menu-control-slot { width:44px;height:44px;flex:0 0 44px; }
  .bottom-controls .account-control { width:44px;min-width:0; }
  .bottom-controls #account-link[aria-expanded]::after { content:none;display:none;margin:0; }
  .bottom-controls #top-chat-link { position:relative; }
  .bottom-controls #top-chat-link .chat-badge { position:absolute;top:-5px;right:-5px;margin:0;min-width:18px;height:18px;line-height:18px;font-size:10px;padding:0 4px; }
  .bottom-controls .top-right>.btn,.bottom-controls #account-link,.menu-layer>.menu-toggle {
    width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 44px;
    padding:10px;display:inline-flex;align-items:center;justify-content:center;
    box-sizing:border-box;border-radius:10px;margin:0;
  }
  .bottom-controls .top-right>.btn[hidden],.menu-toggle [hidden] { display:none!important; }
  .bottom-controls .top-right>.btn svg,.bottom-controls #account-link svg,.menu-toggle svg {
    width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
  }
  .bottom-controls .top-right>.btn>[data-icon],.menu-toggle>[data-icon] { display:block;width:22px;height:22px; }
  .bottom-controls .account-options { top:auto;bottom:calc(100% + 8px);max-height:calc(100dvh - 100px);overflow:auto; }
  .bottom-controls .account-options a,.bottom-controls .account-options button { white-space:normal; }
  @media(max-width:1150px) { .topbar.bottom-controls { left:220px; } }
  @media(max-width:1100px) { .topbar.bottom-controls { left:0; } }
  @media(max-width:600px) {
    .topbar.bottom-controls { justify-content:center;padding:6px 12px calc(6px + env(safe-area-inset-bottom,0px)); }
    .bottom-controls .account-options { min-width:175px;max-width:calc(100vw - 24px); }
  }
}
@media print {
  .bottom-controls,.menu-layer,.menu-toggle,.menu-backdrop,.menu-edge { display:none!important; }
}
