/* Sentinel v2 - hover-grow.css: THE BUTTONS' HOVER GROWTH (SNT-163, the owner 2026-10-17: "a very nice, calculated increase in size
   of the buttons when we hover on it ... it shouldn't be 10% for all buttons, we have to smartly calculate what button size increase
   will be meaningful ... make it so that we can play with increase amount in the future like a variable ... VERY smooth and soft").

   The DIALS. v2/hover-grow.js reads them from here on every hover, so changing one of them (here, or on any page at run time with
   document.documentElement.style.setProperty) changes every button at once - nothing else holds a number.

   The amount a button grows is worked out from ITS OWN WIDTH: K / sqrt(width), so a small button grows more of its size than a wide
   one and every button's growth reads about the same to the eye - a 90 px button about 10 %, a 40 px one about 14 % (the ceiling),
   a 200 px one about 7 %. --hover-grow multiplies that: 1 is the calculated amount, 1.5 half as much again, 0 turns it off. The
   result is then cut, button by button, so the grown button never covers a neighbour and is never clipped by the box it sits in. */
:root {
  --hover-grow: 1;              /* THE dial: x the calculated amount (0 = off) */
  --hover-grow-k: 0.95;         /* the curve: growth = k / sqrt(width in px) - 0.95 makes a 90 px button grow 10 % */
  --hover-grow-min: 0.035;      /* a wide button still grows at least 3.5 % */
  --hover-grow-max: 0.14;       /* and a small one at most 14 % */
  --hover-grow-gap: 2;          /* px kept clear between a grown button and anything next to it */
  --hover-grow-in: 600ms;       /* soft and slow on the way in ... */
  --hover-grow-out: 480ms;      /* ... and on the way back */
  --hover-grow-ease: cubic-bezier(.37, .02, .2, 1);   /* a gentle start and a long, soft landing - never a jump */
}

/* ROOM TO GROW IN THE STRIPS THAT SCROLL SIDEWAYS. A box with overflow-x: auto clips on both axes, and these strips sit tight round
   their buttons - the top bar's actions (Refresh, Open the report, Re-run detection) and the Inbox's folders had no pixel above or
   below them, so they could not grow at all. Padding inside, the same negative margin outside: the room is there, the layout is not
   moved by a pixel. */
.v2t-actions { padding: 6px; margin: -6px; }
/* the phone's action row keeps its own 2 px under the buttons (v2/shell.css) */
@media (max-width: 640px), (pointer: coarse) and (max-width: 1023px) { .v2t-actions { padding-bottom: 8px; } }
/* The Inbox's folders keep their room below WITHOUT the negative margin (the owner, 2026-10-17: "the buttons 'inbox' 'archive' and
   'trash' get their bottom cutted when chosen"): pulled up into it, the bar under them painted over the chosen folder's ring. The
   strip is 6 px taller instead, and nothing lies over the ring. */
.dx .ibx-boxes { padding-bottom: 6px; }
