/* The portal's half of the shared card kit (css/card-kit.css, vendored from
   Ops, Platform's). The kit reads named tokens; this file says what they are
   here, and nothing else. It is loaded AFTER card-kit.css and holds no
   layout of its own, so the kit stays byte-identical to Ops.

   --card-bg     the kit's card surface is the portal's card surface.
   --ck-top      the drawer starts under the portal header, not at the top of
                 the window (Ops' header is a different height).
   --accent2     the kit's name for accent-coloured TEXT. Set at boot by
                 applyKitAccent() in portal.js, measured against every ground
                 the kit paints it on. portal.css defines a darker orange for
                 the same name and nothing reads it; the boot value wins.
   --accent-faint is deliberately NOT defined: the kit falls back to a tint of
                 --accent, which is the tint the contrast measurement assumes.
   --on-accent   the kit's text on a solid accent fill is white; the portal
                 never fills with the client's colour (see --accent in
                 portal.css), so nothing here asks for it. */
:root {
  --card-bg: var(--bg2);
  --ck-top: var(--hdr-h);
}

/* The depth drawer's drag grip needs Ops' window._nrtDrag, which the portal
   does not have. A grip that cannot drag is a control that lies, so it is
   not shown. */
.ck-dr-grip { display: none; }

/* Colour the kit sets from the accent, held to the measured text colour. */
.ck-tab.active,
.ck-exp-btn:hover { color: var(--accent2); }
