/* ================= THE SUITE'S PANE TAB =================
   One ladder-sized tab (--a-ctl-sm wide, --a-ctl-lg tall) that reopens a shut pane: Notes' collapsed panes and every rail host draw it.
   Base rules only; placement and visibility belong to the page or the rail rules. */
.a-pane-tab{
  display:none; width:var(--a-ctl-sm); height:var(--a-ctl-lg); align-items:center; justify-content:center;
  align-self:flex-start; margin:0 auto; padding:0; cursor:pointer;
  border:1px solid var(--a-line-soft); border-radius:var(--a-r-sm);
  background:var(--a-panel); color:var(--a-faint);
  /* Same ease as every other hover in the suite (`--dur-micro`, sys_design-system.md §2b); colour only, no layout property. */
  transition:background-color var(--dur-micro, 140ms) linear,
             border-color     var(--dur-micro, 140ms) linear,
             color            var(--dur-micro, 140ms) linear;
}
.a-pane-tab:hover{ background:var(--a-raised); color:var(--a-text); border-color:var(--a-line-strong); }
.a-pane-tab:focus-visible{ outline:var(--a-focus); outline-offset:var(--a-focus-offset); }
.a-pane-tab svg{ width:15px; height:15px; }

/* ---------- the utilities rail's tab ----------
   A shut rail has no column, so the tab gets one: 34px, on the right edge, only while the host has
   put `rail-off` on #altMain and only where the rail is a column (above 1023px; below it the rail is
   a drawer with its own button). `grid-auto-columns` sizes the implicit track the column falls into,
   after whatever tracks the host wrote inline, so the list keeps every pixel the rail gave back
   less 34. Minimalist's right region is its nav, not this rail, so it never shows one. */
.a-rail-tab-col{ display:none; }
@media (min-width:1024px){
  body:not(.a-minimal) .a-main.rail-off{ grid-auto-columns:34px; }
  body:not(.a-minimal) .a-main.rail-off > .a-rail-tab-col{
    display:flex; grid-column:-1 / span 1; grid-row:1; justify-content:center; align-items:flex-start;
    min-width:0;
  }
  .a-rail-tab-col .a-pane-tab{ display:flex; }
}
