/* <valt-sidebar>. The website's 208 sidebar on the kit's tokens: the canvas as its ground, one hairline on
 * the right, full-bleed rows, the active one on --raised with the text at full weight. It is display: none
 * until app.css shows it (768 and up, removal and account routes), so a phone never pays for it.
 * The head is the menu chip's row, empty: the chip (fixed, top-left, 44 square at --gutter / --chrome-top)
 * is the mark. The tabs begin at --content-top. */
valt-sidebar { display: none; position: fixed; left: 0; top: 0; bottom: 0; z-index: 6; width: 208px; box-sizing: border-box;
  flex-direction: column; background: var(--canvas); border-right: 1px solid var(--border); font-family: var(--font); color: var(--text); }
valt-sidebar .head { flex: none; height: var(--content-top); }
valt-sidebar .tabs { display: flex; flex-direction: column; padding: 4px 0; }
valt-sidebar .tab { display: flex; align-items: center; gap: 12px; min-height: var(--tap); padding: 0 20px; color: var(--text-2); text-decoration: none;
  font: 500 13px/1 var(--font); letter-spacing: -.01em; transition: background var(--t-feedback) var(--ease), color var(--t-feedback) var(--ease); }
valt-sidebar .tab:hover { background: color-mix(in oklab, var(--raised) 60%, transparent); color: var(--text); }
valt-sidebar .tab:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
valt-sidebar .tab[aria-current="page"] { background: var(--raised); color: var(--text); font-weight: 600; }
valt-sidebar .tab svg { flex: none; }

/* The app's two sections, DVPN and Data, head the sidebar on a desktop (2026-10-05): the dock's tabs, so the
 * floating dock can stand down there (app.css). Hidden from touch, where the dock stays. A section row is a
 * place, not the page: the current one is set at full ink and weight with no fill, and the fill stays the
 * page's, on the nested removal tab below it. On the VPN home DVPN is the page itself (nothing nests under
 * it), so it takes the page's fill there. The dock's icons are drawn at 1.2 for 24;
 * at 18 they take the sidebar's own 1.8 so the two groups read as one weight. */
valt-sidebar .sections { display: none; flex-direction: column; padding: 4px 0 6px; }
valt-sidebar .sec { display: flex; align-items: center; gap: 11px; min-height: var(--tap); padding: 0 19px; color: var(--text-2);
  text-decoration: none; font: 500 14px/1 var(--font); letter-spacing: -.01em;
  transition: background var(--t-feedback) var(--ease), color var(--t-feedback) var(--ease); }
valt-sidebar .sec svg { flex: none; stroke-width: 1.8; }
valt-sidebar .sec:hover { background: color-mix(in oklab, var(--raised) 60%, transparent); color: var(--text); }
valt-sidebar .sec:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
valt-sidebar .sec[aria-current] { color: var(--text); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  valt-sidebar .sections { display: flex; }
  /* The removal tabs nest under Data: their icons start where Data's label does. */
  valt-sidebar .tabs { padding-top: 0; }
  valt-sidebar .tab { padding-left: 48px; }
  html[data-route="network"] valt-sidebar .sec[aria-current] { background: var(--raised); }
}
/* No removal data to visit yet (main.js sets html[data-removal-data] from the same wall the routes use):
 * Overview, Brokers and Evidence would each land on the sign-up or the offer, so only DVPN and Data show. */
html:not([data-removal-data]) valt-sidebar .tabs { display: none; }
