/* ─────────────────────────────────────────────────────────────────────────
   TLC SHORTCUT (.tlc-shortcut) — the style guide's circle action buttons    v1.001
   https://turnerlee.com/shared/shortcuts/v1/tlc-shortcut.css?v=1.001

   A VERBATIM COPY of the .tlc-shortcut block in shared/core/v1/sst-styles.css
   (lines 12109-12292 as of 2026-09-25), published on its own so a page that
   does not load sst-styles.css can still use the component. ColoradoLamb's ops
   pages load the site copy css/t_tlc-styles.css instead, which has no
   .tlc-shortcut, so the guide's red X rendered 12x2px there - measured
   2026-09-25 on cololamb.com/ops/tracker-contacts. Edit sst-styles.css first
   and re-copy; never let the two drift.
   ───────────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────────────
   SHORTCUT BUTTONS — Craig's circular icon set, /img/schedule/
   ─────────────────────────────────────────────────────────────────────
   Added 2026-07-30. Craig: "i really want these icon treatments added to the
   SST style guide as shortcut buttons becuase i can re-use them across sites."
   Documented as §17 of the style guide.

   THE ART IS HIS AND IT ALREADY EXISTS. Never draw one of these — not as a
   CSS ring, not as an inline <svg>, not from FontAwesome. Twice in one evening
   the /ops/schedule row controls shipped hand-made lookalikes while the real
   file sat on disk. If a mark is missing from the set, ask him for it.

   Assets stay at https://turnerlee.com/img/schedule/ and are referenced
   absolutely, so every site draws from the one folder — no per-site copies to
   drift. Consuming sites need nothing: this file is already linked everywhere
   through sst-css-styles.html.

   HOW EACH PAIR WORKS, because it is not obvious from the filenames:
     circle-plus.svg etc.        ring + glyph, both opaque -> a perfect MASK,
                                 so ::before takes the ink color and the tint
                                 disc on the button shows through the holes.
     circle-plus-fill.svg etc.   solid BLACK disc, white glyph. Useless as a
                                 mask (one opaque blob) and unrecolorable as a
                                 background — ignore them.
     ...-fill-green/-red/-blue   already the right color with a white glyph,
                                 so they are drawn AS THE FILE IS, on hover, on
                                 the BUTTON's background, with ::before killed.
                                 Swap them on the ::before instead and the tint
                                 disc shows through the fill.

   The ink colors are measured out of the fill files (#FF0029 / #00C137 /
   #0079C1) so the idle ring matches the hover fill exactly. They are NOT brand
   tokens and must not be swapped for one, or the two states stop matching.
   Everything is a custom property, so a page that genuinely needs a different
   color or size overrides it on the element instead of writing a new rule:

     <button class="tlc-shortcut tlc-shortcut-times" style="--tlc-shortcut-size:20px">

   MARKUP: the button ships EMPTY. font-size:0 is there so a stray label or a
   &times; someone adds later cannot paint on top of the art.

     <button type="button" class="tlc-shortcut tlc-shortcut-times"
             aria-label="Remove"></button>
   ───────────────────────────────────────────────────────────────────── */
.tlc-shortcut {
  --tlc-shortcut-size: 31px;
  --tlc-shortcut-ink: #414042;
  --tlc-shortcut-tint: transparent;
  --tlc-shortcut-art: none;
  --tlc-shortcut-art-hover: none;
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tlc-shortcut-size);
  height: var(--tlc-shortcut-size);
  padding: 0;
  border: 0;                 /* the ring is IN the art — a CSS border doubles it */
  border-radius: 50%;
  background: var(--tlc-shortcut-tint);
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  color: transparent;
  cursor: pointer;
}
.tlc-shortcut::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: none;           /* beats an inherited centring transform */
  background: var(--tlc-shortcut-ink);
  -webkit-mask: var(--tlc-shortcut-art) center / 100% 100% no-repeat;
          mask: var(--tlc-shortcut-art) center / 100% 100% no-repeat;
}
.tlc-shortcut::after { content: none; display: none; }
.tlc-shortcut:hover {
  background: var(--tlc-shortcut-art-hover) center / 100% 100% no-repeat;
}
.tlc-shortcut:hover::before { content: none; display: none; }
.tlc-shortcut:focus-visible {
  outline: 2px solid var(--tlc-shortcut-ink);
  outline-offset: 2px;
}
.tlc-shortcut:disabled,
.tlc-shortcut.is-disabled { opacity: .4; pointer-events: none; }

/* Small — the size the sub-task and website-link rows use. */
.tlc-shortcut.tlc-shortcut-sm { --tlc-shortcut-size: 20px; }

/* ---- the set ---- */
.tlc-shortcut.tlc-shortcut-times {
  --tlc-shortcut-ink: #FF0029;
  --tlc-shortcut-tint: #FBE0E4;
  --tlc-shortcut-art: url('https://turnerlee.com/img/schedule/times-circle-regular.svg');
  --tlc-shortcut-art-hover: url('https://turnerlee.com/img/schedule/times-circle-fill-red.svg');
}
.tlc-shortcut.tlc-shortcut-plus {
  --tlc-shortcut-ink: #00C137;
  --tlc-shortcut-tint: #DFF7E4;
  --tlc-shortcut-art: url('https://turnerlee.com/img/schedule/circle-plus.svg');
  --tlc-shortcut-art-hover: url('https://turnerlee.com/img/schedule/circle-plus-fill-green.svg');
}
/* MINUS — added 2026-09-09. Craig, looking at the CFB transactions feed: "I want the green plus
   icon that we use in the players section and I want the red minus icon from the style guide
   buttons. It seems we may need to create a minus red button that matches the red X."
   He was right that it did not exist: circle-minus.svg and circle-minus-fill-red.svg both 404'd.
   Both are now byte-derived from their plus twins rather than drawn — same 27.248 grid, same ring
   path, same 0.441 corner radius and the same 7.621 -> 19.628 flat run, with the plus's vertical
   arm removed — so a plus and a minus side by side are the same weight and the same optical size.
   The RED is the estate's existing one, lifted from .tlc-shortcut-times below rather than picked:
   ink #FF0029, tint #FBE0E4, and the filled hover disc is that same #FF0029. "Matches the red X"
   is therefore literal, not approximate. */
.tlc-shortcut.tlc-shortcut-minus {
  --tlc-shortcut-ink: #FF0029;
  --tlc-shortcut-tint: #FBE0E4;
  --tlc-shortcut-art: url('https://turnerlee.com/img/schedule/circle-minus.svg');
  --tlc-shortcut-art-hover: url('https://turnerlee.com/img/schedule/circle-minus-fill-red.svg');
}
.tlc-shortcut.tlc-shortcut-save {
  --tlc-shortcut-ink: #00C137;
  --tlc-shortcut-tint: #DFF7E4;
  --tlc-shortcut-art: url('https://turnerlee.com/img/schedule/circle-save.svg');
  --tlc-shortcut-art-hover: url('https://turnerlee.com/img/schedule/circle-save-fill-green.svg');
}
.tlc-shortcut.tlc-shortcut-restore {
  --tlc-shortcut-ink: #0079C1;
  --tlc-shortcut-tint: #DCEEFB;
  --tlc-shortcut-art: url('https://turnerlee.com/img/schedule/circle-restore.svg');
  --tlc-shortcut-art-hover: url('https://turnerlee.com/img/schedule/circle-restore-fill-blue.svg');
}
.tlc-shortcut.tlc-shortcut-nextday {
  --tlc-shortcut-ink: #0079C1;
  --tlc-shortcut-tint: #DCEEFB;
  --tlc-shortcut-art: url('https://turnerlee.com/img/schedule/circle-nextday.svg');
  --tlc-shortcut-art-hover: url('https://turnerlee.com/img/schedule/circle-nextday-fill-blue.svg');
}
/* REORDER — added 2026-09-23 for SiteEdit's CM item reorder. Craig: "Create a re-order button or
   find one from FontAwesome we can use" and "add the reorder button to the style guide". Art:
   circle-reorder.svg + -fill-blue.svg — the ring is circle-plus.svg's path verbatim and the glyph is
   Font Awesome Free 6.5.2 arrows-up-down (CC BY 4.0), shaft scaled to the plus arm. Ink and tint are
   nextday's blue pair: both marks mean "move this". */
.tlc-shortcut.tlc-shortcut-reorder {
  --tlc-shortcut-ink: #0079C1;
  --tlc-shortcut-tint: #DCEEFB;
  --tlc-shortcut-art: url('https://turnerlee.com/img/schedule/circle-reorder.svg');
  --tlc-shortcut-art-hover: url('https://turnerlee.com/img/schedule/circle-reorder-fill-blue.svg');
}
/* Dots has no filled twin — it is a menu opener, not an action, and the
   Schedule darkens it rather than filling it. */
.tlc-shortcut.tlc-shortcut-dots {
  --tlc-shortcut-ink: #C3C8D1;
  --tlc-shortcut-art: url('https://turnerlee.com/img/schedule/circle-dots.svg');
}
.tlc-shortcut.tlc-shortcut-dots:hover { background: var(--tlc-shortcut-tint); }
.tlc-shortcut.tlc-shortcut-dots:hover::before {
  content: '';
  display: block;
  background: #414042;
}
/* Check is a STATE BADGE, not a button: circle-check-custom.svg carries its own
   #00C137 and a transparent interior, so it is drawn as a background over the
   pale disc rather than masked. No hover.

   EVERY PER-MARK RULE IN THIS BLOCK IS `.tlc-shortcut.tlc-shortcut-X`, NOT
   `.tlc-shortcut-X`, and that is load-bearing. board-alert.css ships its own
   standalone `.tlc-shortcut` base so the alert engine works without this sheet —
   same single-class specificity, so whichever file loaded last won. On the style
   guide that is board-alert.css, and `check` came out an empty pale disc because
   the base's flat `background:var(--tlc-shortcut-tint)` replaced the artwork.
   Two classes here means this sheet owns the marks wherever it is loaded. */
.tlc-shortcut.tlc-shortcut-check {
  --tlc-shortcut-tint: #EAF8EF;
  background:
    url('https://turnerlee.com/img/schedule/circle-check-custom.svg') center / 100% 100% no-repeat,
    var(--tlc-shortcut-tint);
  cursor: default;
}
.tlc-shortcut.tlc-shortcut-check::before { content: none; display: none; }
.tlc-shortcut.tlc-shortcut-check:hover { background:
    url('https://turnerlee.com/img/schedule/circle-check-custom.svg') center / 100% 100% no-repeat,
    var(--tlc-shortcut-tint); }

