/* ---- lot R1: the challenge's rules beside the chart (rules.js), thin markets on the chart's notice (thin-view.js) ---- */

/* the daily reset's countdown, beside « Left today »: quiet, it takes the figure's line */
.g-rows dd > .g-v { white-space: nowrap; }
.g-reset { display: inline-flex; align-items: center; gap: 3px; margin: 0 0 0 7px; padding: 0; border: 0; background: none; color: var(--dim);
  font: inherit; font-size: 11px; line-height: inherit; white-space: nowrap; cursor: help; vertical-align: baseline; }
.g-reset .i { width: 10px; height: 10px; flex: none; }
.g-reset[hidden], .term[data-form="desk"][data-focus="1"][data-ftk="1"] .gaugep .g-reset[hidden] { display: none; }   /* no reset known (no daily limit, a visitor): nothing */
.g-reset:focus-visible { outline: 1px solid var(--silver); outline-offset: 2px; border-radius: 3px; }
@media (hover: hover) { .g-reset:hover { color: var(--mute); } }
.term[data-form="phone"] .g-reset { min-width: 44px; min-height: 44px; justify-content: center; padding: 0 6px; margin-left: 2px; }

/* the consistency and minimum-days rows (where the program has them): the same look as the figures beside them */
.g-rows .g-r1 { cursor: help; }
.g-rows .g-r1:focus-visible { outline: 1px solid var(--silver); outline-offset: 2px; border-radius: 3px; }
.g-rows .g-r1 dd[data-tone="down"] { color: var(--down); }

/* the rule in words, under the key that says it (a hover, a focus, a tap): never over the chart for long */
.r1-tip { position: fixed; z-index: 60; max-width: calc(100vw - 16px); padding: 8px 10px; border-radius: var(--r-sm); background: var(--surface-3);
  box-shadow: inset 0 0 0 1px var(--hair-3), 0 8px 24px rgba(0, 0, 0, 0.45); color: var(--text); font-size: 12px; line-height: 1.45;
  white-space: pre-line; overflow-wrap: anywhere; pointer-events: none; }

/* a thin market: the chart's one notice carries a key to 15 minutes (the notice itself lets the pointer through) */
.chart-flag .r1-thin-k { pointer-events: auto; display: inline-flex; vertical-align: middle; margin: 0 0 0 8px; min-height: 0; height: 20px; padding: 0 8px;
  font-size: 11px; }
.term[data-form="phone"] .chart-flag .r1-thin-k { height: auto; min-height: 44px; margin: 4px 0 0; }

/* the focus's column (lot G2c): its three cells are narrow (about 85 px at 1920 x 1080): the countdown goes under the
   figure, and the consistency and days rows stay on the desk's line and in the rules tab */
.term[data-form="desk"][data-focus="1"][data-ftk="1"] .gaugep .g-reset { display: flex; width: fit-content; margin: 1px 0 0; }
.term[data-form="desk"][data-focus="1"][data-ftk="1"] .gaugep .g-rows div.g-r1 { display: none; }   /* over fcol.css .g-rows div */
