/* site_support.css — /support/: docs, contact, tickets.
   Sibling to site_audience.css: reads the same tokens (--acc/--acc-ink set by
   support_base.html to --rose/--rose-deep, plus --card, --ink, --soft, the
   --r- radii, --lift, --fill-soft, --border-dash, --display and --body from
   site_toybox.css). Forms reuse .auth-form, .auth-fld and .auth-msg wholesale
   (site_toybox.css) -- the same input contract as every other signed-out
   form on the site.

   Never write a star followed by a slash inside this comment (e.g. a token
   glob): it closes the comment early and the browser drops the next rule.

   Grounded devices carry the page's own identity rather than borrowing an
   audience page's: the hub's ticket card and a ticket's reference number
   are drawn as a torn ticket stub, not a generic pill; a resolved or closed
   status pill reads as a stamped, closed case. Everything else (forms,
   prose, cards) stays the plain, quiet .auth and .card kit on purpose. */

/* --- Section header, shared by every /support/ page --- */
.sup-head{
  text-align:center;max-width:38rem;margin:0 auto clamp(2.2rem, 5vw, 3rem);
  display:grid;justify-items:center;
}
.sup-head h1{font-size:clamp(2rem, 4.6vw, 3.1rem);line-height:1.08;margin:0 0 .8rem}
.sup-head .line{margin:0 auto;max-width:40ch}
.sup-crumb{
  display:flex;align-items:center;gap:.4rem;justify-content:center;flex-wrap:wrap;
  font-weight:700;font-size:.85rem;color:var(--soft);margin-bottom:1.2rem;
}
.sup-crumb a{color:var(--soft);text-decoration:none;border-radius:4px}
.sup-crumb a:hover{color:var(--acc-ink);text-decoration:underline}
.sup-crumb a:focus-visible{outline:none;box-shadow:var(--ring-strong)}
.sup-crumb span[aria-hidden]{opacity:.6}

/* The hub gets the site's chapter-level type scale -- this is Support's own
   front door, not a sub-page under a crumb, so it earns real presence. */
.sup-head--hub{max-width:44rem;margin-bottom:clamp(2.8rem, 6vw, 4rem)}
.sup-head--hub h1{
  font-size:clamp(2.6rem, 6vw, 4.4rem);line-height:1.03;letter-spacing:-.01em;
  text-wrap:balance;margin-bottom:1rem;
}
.sup-head--hub .line{font-size:1.05rem;max-width:50ch;text-wrap:balance}

/* Tangerine text ink for the contact note (hub + contact page): --tang-deep
   has no dark twin in site_toybox.css, so this file supplies one. */
:root{--tang-ink:var(--tang-deep)}
[data-tb-theme="dark"]{--tang-ink:oklch(80% 0.12 60)}

/* --- Hub: answer first (search, topics), a person last (note, ticket) ---
   One column rhythm: every section after the hero is a .sup-sec with the
   same heading row and the same gap below, so nothing floats on its own. */
.sup-hub-search{width:100%;max-width:40rem;margin:clamp(1.5rem, 3vw, 2rem) auto 0;text-align:left}
.sup-hub-search .docs-search__row input{font-size:1.05rem}

.sup-sec{margin-bottom:clamp(3rem, 7vw, 4.5rem)}
.sup-sec:last-child{margin-bottom:clamp(1rem, 3vw, 2rem)}
.sup-sec-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:.4rem 1rem;flex-wrap:wrap;
  margin-bottom:1.2rem;
}
.sup-sec-head h2{font-size:clamp(1.4rem, 2.6vw, 1.75rem);margin:0}
.sup-sec-head a{color:var(--acc-ink);font-weight:700;font-size:.95rem;text-decoration:none;border-radius:4px}
.sup-sec-head a:hover{text-decoration:underline}
.sup-sec-head a:focus-visible{outline:none;box-shadow:var(--ring-strong)}

/* Topics: real categories with their first articles -- the docs' own
   catalog tabs (.docs-sidebar__cat) on a card. auto-fit, not auto-fill:
   two or three topics share the full row instead of leaving empty tracks. */
.sup-topics{display:grid;grid-template-columns:repeat(auto-fit, minmax(min(100%, 16rem), 1fr));gap:1rem}
.sup-topic{
  background:var(--card);border-radius:var(--r-lg);box-shadow:var(--lift);
  padding:1.3rem 1.4rem 1.2rem;display:flex;flex-direction:column;gap:.6rem;
}
.sup-topic h3{margin:0;font-size:1.1rem}
.sup-topic h3 a{display:flex;align-items:center;gap:.6rem;color:var(--ink);text-decoration:none;border-radius:4px}
.sup-topic h3 a::before{content:"";width:.4rem;height:1.1rem;border-radius:2px;background:var(--acc);flex:none}
.sup-topic h3 a:hover{color:var(--acc-ink)}
.sup-topic ul{list-style:none;margin:0;padding:0}
.sup-topic li + li{border-top:1px dashed var(--border-dash)}
.sup-topic li a{
  display:block;padding:.55rem 0 .55rem 1rem;color:var(--soft);font-weight:600;font-size:.95rem;
  line-height:1.4;text-decoration:none;border-radius:4px;
}
.sup-topic li a:hover{color:var(--ink);text-decoration:underline}
.sup-topic__all{
  margin-top:auto;padding-left:1rem;font-family:var(--display);font-weight:800;font-size:.85rem;
  color:var(--acc-ink);text-decoration:none;
}
.sup-topic__all:hover{text-decoration:underline}
.sup-topic a:focus-visible{outline:none;box-shadow:var(--ring-strong)}

/* A person: two cards with one anatomy (mark, heading, line, action), so
   they read as a pair. The ticket card alone carries the signature: it is
   the stub you are about to be handed -- .sup-ref's tear line and punched
   notches, scaled up, with the notches on the tear, where a real stub has them. */
.sup-reach{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:clamp(1rem, 2.5vw, 1.5rem)}
@media (max-width:760px){.sup-reach{grid-template-columns:1fr}}
.sup-reach__card{
  position:relative;background:var(--card);border-radius:var(--r-lg);box-shadow:var(--lift);
}
.sup-reach__card--note, .sup-reach__body{
  display:flex;flex-direction:column;align-items:flex-start;gap:.55rem;
  padding:clamp(1.3rem, 3vw, 1.75rem);
}
.sup-reach h3{font-size:1.2rem;margin:0}
.sup-reach p{margin:0;color:var(--soft);font-weight:600;font-size:.97rem;line-height:1.55;max-width:42ch}
.sup-reach__foot{
  margin-top:auto;padding-top:.85rem;display:flex;align-items:center;flex-wrap:wrap;gap:.75rem 1.1rem;
}
.sup-reach__icon{
  width:2.6rem;height:2.6rem;border-radius:var(--r-md);display:grid;place-items:center;
  background:var(--tang);color:#fff;margin-bottom:.2rem;
}
.sup-reach__icon svg{width:22px;height:22px;display:block}

/* Ticket: the shadow lives on the card (drop-shadow follows alpha), the
   paper on .sup-reach__stub, masked so the punches are real holes on the
   tear line -- page colour and shadow show through in either theme. */
.sup-reach__card--ticket{
  --tag-w:2.9rem;--punch:.6rem;
  background:none;box-shadow:none;
  filter:drop-shadow(0 2px 3px var(--stub-shade-1)) drop-shadow(0 14px 22px var(--stub-shade-2));
}
:root{--stub-shade-1:rgb(24 22 70 / .07);--stub-shade-2:rgb(24 22 70 / .13)}
[data-tb-theme="dark"]{--stub-shade-1:rgb(0 0 0 / .35);--stub-shade-2:rgb(0 0 0 / .5)}
.sup-reach__stub{
  display:flex;height:100%;background:var(--card);border-radius:var(--r-lg);
  --at:calc(var(--tag-w) + 1px);
  -webkit-mask:
    radial-gradient(circle var(--punch) at var(--at) 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--punch) at var(--at) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle var(--punch) at var(--at) 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--punch) at var(--at) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.sup-reach__tag, .sup-ticket-card__tag{
  flex:none;display:flex;align-items:center;justify-content:center;
  writing-mode:vertical-rl;rotate:180deg;
  font-family:var(--display);font-weight:800;font-size:.85rem;letter-spacing:.06em;
  color:#fff;background:var(--rose);width:var(--tag-w);
  border-radius:0 var(--r-lg) var(--r-lg) 0;
}
.sup-reach__body{flex:1;border-left:2px dashed color-mix(in oklch, var(--rose) 50%, var(--card))}
.sup-reach__btn--rose{background:var(--rose);color:#fff}
.sup-reach__btn--rose:hover{background:var(--rose-deep)}
.sup-reach__aside{display:flex;flex-wrap:wrap;gap:.3rem 1rem;font-size:.92rem;font-weight:700}
.sup-reach__aside a{color:var(--acc-ink);text-decoration:none;border-radius:4px}
.sup-reach__aside a:hover{text-decoration:underline}
.sup-reach__aside a:focus-visible{outline:none;box-shadow:var(--ring-strong)}

/* --- Docs: sidebar + search + results/article, two-column layout --- */
.docs-layout{
  display:grid;grid-template-columns:17rem minmax(0,1fr);gap:clamp(2rem, 4vw, 3.5rem);
  align-items:start;margin-top:clamp(2rem, 4vw, 3rem);
}
.docs-sidebar{
  position:sticky;top:6.5rem;background:var(--card);border-radius:var(--r-lg);
  box-shadow:var(--lift);padding:1.2rem 1.1rem;display:grid;gap:.2rem;
  max-height:calc(100dvh - 8rem);overflow-y:auto;
}
.docs-sidebar nav > ul{list-style:none;margin:0;padding:0;display:grid;gap:.9rem}
/* Category clusters read as catalog divider cards: a small coloured tab
   ahead of the name, a dashed rule between clusters -- the sidebar as a
   card catalog, not just a bold label over a list. */
.docs-sidebar__cat{padding-bottom:.85rem;border-bottom:1px dashed var(--border-dash)}
.docs-sidebar__cat:last-child{border-bottom:0;padding-bottom:0}
.docs-sidebar__cat > b{
  display:flex;align-items:center;gap:.55rem;
  font-family:var(--display);font-weight:800;font-size:.82rem;
  letter-spacing:.02em;color:var(--ink);padding:.3rem .5rem;
}
.docs-sidebar__cat > b::before{
  content:"";width:.4rem;height:.95rem;border-radius:2px;background:var(--acc);flex:none;
}
.docs-sidebar__arts{list-style:none;margin:.15rem 0 0;padding:0;display:grid;gap:.1rem}
.docs-sidebar__arts a{
  display:block;padding:.42rem .5rem .42rem 1.1rem;border-radius:var(--r-sm);
  color:var(--soft);font-weight:600;font-size:.9rem;text-decoration:none;
  border-left:2px solid transparent;
}
.docs-sidebar__arts a:hover{background:var(--hover);color:var(--ink)}
.docs-sidebar__arts a:focus-visible{outline:none;box-shadow:var(--ring-strong)}
.docs-sidebar__arts a[aria-current="page"]{
  background:var(--fill-soft);color:var(--acc-ink);border-left-color:var(--acc);font-weight:800;
}
.docs-sidebar__toggle{display:none}

.docs-search{margin-bottom:1.6rem}
.docs-search__row{
  display:flex;align-items:center;gap:.6rem;background:var(--card);border-radius:var(--r-pill);
  box-shadow:var(--lift);padding:.4rem .4rem .4rem 1.1rem;
}
.docs-search__row svg{flex:none;color:var(--soft)}
.docs-search__row input{
  flex:1;border:0;background:transparent;font:inherit;font-weight:600;color:var(--ink);
  min-width:0;padding:.5em 0;
}
.docs-search__row input:focus{outline:none}
.docs-search__row input::placeholder{color:var(--soft);opacity:.7}
.docs-search__row button{
  font-family:var(--display);font-weight:800;font-size:.85rem;color:white;background:var(--acc);
  border:0;border-radius:var(--r-pill);padding:.6em 1.3em;cursor:pointer;flex:none;
}
.docs-search__row button:hover{filter:brightness(.92)}
.docs-search__row button:focus-visible{outline:none;box-shadow:var(--ring-strong)}
.docs-search__row:has(input:focus){box-shadow:var(--lift), var(--ring)}

.docs-pills{list-style:none;margin:0 0 1.4rem;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}
.docs-pills a{
  display:inline-flex;align-items:center;gap:.4rem;background:var(--fill-soft);color:var(--soft);
  font-weight:700;font-size:.84rem;padding:.4em .9em;border-radius:999px;text-decoration:none;
}
.docs-pills a[aria-current="true"]{background:var(--acc);color:#fff}
.docs-pills a:hover:not([aria-current="true"]){background:var(--hover);color:var(--ink)}
.docs-pills a:focus-visible{outline:none;box-shadow:var(--ring-strong)}

.docs-result-count{color:var(--soft);font-weight:600;font-size:.9rem;margin:0 0 1.1rem}
.docs-results{list-style:none;margin:0;padding:0;display:grid;gap:1rem}
.docs-result{
  background:var(--card);border-radius:var(--r-md);box-shadow:var(--lift);
  padding:1.2rem 1.3rem;display:grid;gap:.4rem;
}
.docs-result a{text-decoration:none;color:inherit;border-radius:var(--r-md);display:block}
.docs-result:has(a:focus-visible){box-shadow:var(--lift), var(--ring-strong)}
.docs-result a:focus-visible{outline:none}
.docs-result h3{font-size:1.08rem;margin:0}
.docs-result h3 mark, .docs-result p mark{background:color-mix(in oklch, var(--acc) 35%, transparent);color:inherit;border-radius:3px}
.docs-result p{color:var(--soft);font-weight:600;font-size:.92rem;line-height:1.5;margin:0}
.docs-result__cat{
  font-family:var(--display);font-weight:800;font-size:.72rem;letter-spacing:.04em;
  text-transform:uppercase;color:var(--acc-ink);
}
.docs-empty{
  text-align:center;padding:3rem 1rem;color:var(--soft);font-weight:600;
  border:2px dashed var(--border-dash);border-radius:var(--r-md);
}

/* --- Doc article prose --- */
.docs-article__head{margin-bottom:1.6rem}
.docs-article__head h1{font-size:clamp(1.8rem, 4vw, 2.6rem);line-height:1.12;margin:0 0 .6rem}
.docs-article__meta{color:var(--soft);font-weight:600;font-size:.88rem}
.docs-prose{max-width:68ch;line-height:1.7;font-size:1.02rem}
.docs-prose :is(h2,h3){margin:1.8rem 0 .7rem;line-height:1.2}
.docs-prose h2{font-size:1.4rem}
.docs-prose h3{font-size:1.15rem}
.docs-prose p{margin:0 0 1.1rem}
.docs-prose a{color:var(--acc-ink);font-weight:700}
.docs-prose :is(ul,ol){margin:0 0 1.1rem;padding-inline-start:1.4rem;display:grid;gap:.4rem}
.docs-prose code{
  background:var(--fill-soft);padding:.15em .4em;border-radius:6px;font-size:.92em;
}
.docs-prose pre{
  background:var(--fill-soft);border-radius:var(--r-sm);padding:1rem;overflow-x:auto;margin:0 0 1.1rem;
}
.docs-prose pre code{background:none;padding:0}
.docs-prose blockquote{
  border-left:3px solid var(--acc);margin:0 0 1.1rem;padding:.2rem 0 .2rem 1.1rem;color:var(--soft);
}
.docs-article__foot{
  margin-top:2.4rem;padding-top:1.4rem;border-top:2px dashed var(--border-dash);
  display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;
}

@media (max-width:900px){
  .docs-layout{grid-template-columns:1fr}
  .docs-sidebar{position:static;max-height:none}
  .docs-sidebar__toggle{
    display:flex;align-items:center;gap:.5rem;width:100%;background:none;border:0;cursor:pointer;
    font-family:var(--display);font-weight:800;font-size:.95rem;color:var(--ink);padding:0;
  }
  .docs-sidebar__toggle svg{transition:rotate var(--dur-fast) var(--ease)}
  .docs-sidebar[open] .docs-sidebar__toggle svg{rotate:180deg}
  .docs-sidebar > nav{margin-top:.9rem}
}
@media (prefers-reduced-motion:reduce){.docs-sidebar__toggle svg{transition:none}}

/* --- Contact / ticket forms: reuse .auth-card + .auth-form, add just a
       two-column row for name/subject and the honeypot wrapper. --- */
.sup-form-wrap{display:grid;justify-items:center;margin-top:clamp(2rem, 4vw, 3rem)}
.sup-form-wrap .auth-card{width:min(540px, 100%)}
.sup-form-row{display:grid;grid-template-columns:1fr 1fr;gap:.9rem;align-items:start}
@media (max-width:560px){.sup-form-row{grid-template-columns:1fr}}
.sup-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

/* .auth-form styles input/select but never textarea (sign-in has none);
   the contact and ticket forms both carry a message box. Same contract. */
.sup-contact .auth-form textarea, .sup-form-wrap .auth-form textarea{
  font:inherit;font-weight:600;color:var(--ink);width:100%;min-height:9rem;resize:vertical;
  background-color:var(--surface-sunk);border:2px solid var(--border);border-radius:14px;
  padding:.7em .9em;outline:none;transition:border-color .15s, box-shadow .15s;
}
:is(.sup-contact, .sup-form-wrap) .auth-form textarea:focus{border-color:var(--violet);box-shadow:var(--ring)}
:is(.sup-contact, .sup-form-wrap) .auth-form textarea::placeholder{color:var(--soft);opacity:.6}

/* --- Contact: the note you leave for the team. Tangerine, like its hub
       note (support_base's accent block; --tang-ink is defined above). --- */

.sup-contact{
  display:grid;grid-template-columns:minmax(0,1fr) 18rem;gap:clamp(1.2rem, 3vw, 2rem);
  align-items:start;max-width:60rem;margin:clamp(2rem, 4vw, 3rem) auto 0;
}
@media (max-width:860px){.sup-contact{grid-template-columns:1fr;max-width:36rem}}

.sup-note-card{position:relative;overflow:hidden;padding:clamp(1.6rem, 4vw, 2.4rem);display:grid;gap:1.1rem}
/* the hub card's top tab, so the page reads as the card you clicked */
.sup-note-card::before{
  content:"";position:absolute;top:0;left:1.7rem;right:1.7rem;height:5px;
  border-radius:0 0 4px 4px;background:var(--tang);
}
.sup-note-card h2{font-size:1.45rem;margin:0}
.sup-fld{display:grid;gap:.35rem}

/* The one device: the message box is ruled like notepaper. Rule pitch ==
   line-height and the gradient starts at padding-top, so every line of text
   sits on a rule; background-attachment:local scrolls the rules with it. */
.sup-contact .sup-note-form textarea{
  --pitch:1.75rem;--pad:.6rem;--rule:color-mix(in oklch, var(--tang) 28%, transparent);
  line-height:var(--pitch);padding:var(--pad) .9em;min-height:calc(var(--pitch) * 6 + var(--pad) * 2);
  background-image:repeating-linear-gradient(to bottom,
    transparent 0 calc(var(--pitch) - 1px), var(--rule) calc(var(--pitch) - 1px) var(--pitch));
  background-position:0 var(--pad);background-attachment:local;
}
@media (forced-colors:active){.sup-contact .sup-note-form textarea{background-image:none}}

.sup-note-foot{display:flex;align-items:center;gap:.6rem 1rem;flex-wrap:wrap;margin-top:.2rem}
.sup-note-foot .chip-btn{width:auto;margin-top:0}

.sup-note-sent{display:grid;gap:.6rem;justify-items:start}
.sup-note-sent__mark{
  width:3rem;height:3rem;border-radius:var(--r-md);display:grid;place-items:center;
  background:var(--tang);color:#fff;
}
.sup-note-sent__mark svg{width:24px;height:24px;display:block}
.sup-note-sent p{margin:0;color:var(--soft);font-weight:600}
.sup-note-sent p b{color:var(--ink)}
.sup-note-sent__next{display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;margin-top:.4rem!important}
.sup-note-sent__next a{color:var(--acc-ink);font-weight:700}
.sup-note-sent__next a:focus-visible{outline:none;box-shadow:var(--ring-strong);border-radius:4px}

/* Routing aside: the question to ask before writing. Rows are tinted for
   where they lead (ticket = rose, docs = cyan, as on the hub). */
.sup-route{
  background:var(--fill-soft);border-radius:var(--r-lg);padding:1.3rem 1.2rem;display:grid;gap:.2rem;
}
.sup-route h2{font-size:1rem;margin:0 0 .5rem}
.sup-route__row{
  display:grid;grid-template-columns:2.4rem 1fr;gap:.8rem;align-items:start;
  padding:.85rem .5rem;border-radius:var(--r-md);text-decoration:none;color:inherit;
}
.sup-route__row + .sup-route__row{border-top:1px dashed var(--border-dash);border-radius:0 0 var(--r-md) var(--r-md)}
.sup-route__row:hover{background:var(--hover)}
.sup-route__row:focus-visible{outline:none;box-shadow:var(--ring-strong)}
.sup-route__row--tickets{--tone:var(--rose);--tone-ink:#fff}
.sup-route__row--docs{--tone:var(--cyan);--tone-ink:var(--cyan-ink)}
.sup-route__row--contact{--tone:var(--tang);--tone-ink:#fff}
.sup-route__row--status{--tone:var(--rose);--tone-ink:#fff}
.sup-route__icon{
  width:2.4rem;height:2.4rem;border-radius:var(--r-sm);display:grid;place-items:center;
  background:var(--tone);color:var(--tone-ink);
}
.sup-route__icon svg{width:20px;height:20px;display:block}
.sup-route__row b{display:block;font-family:var(--display);font-size:.95rem;line-height:1.3;margin-bottom:.2rem}
.sup-route__row b + span{display:block;color:var(--soft);font-weight:600;font-size:.88rem;line-height:1.45}
.sup-route__row:hover b{color:var(--acc-ink)}
.sup-route__more{margin:.35rem 0 0 3.7rem;font-size:.88rem;font-weight:700}
.sup-route__more a{color:var(--acc-ink);border-radius:4px}
.sup-route__more a:focus-visible{outline:none;box-shadow:var(--ring-strong)}

/* --- New ticket: the form is the stub the hub card promised -- the same
       rose "Ticket" tag down the left and dashed tear line (no punches: on a
       tall form they would just be decoration). Layout is Contact's grid. --- */
.sup-ticket-card{--tag-w:2.9rem;display:flex;padding:0;overflow:hidden}
.sup-ticket-card__body{
  flex:1;min-width:0;display:grid;gap:1.1rem;padding:clamp(1.6rem, 4vw, 2.4rem);
  border-left:2px dashed color-mix(in oklch, var(--rose) 50%, var(--card));
}
.sup-ticket-card__body h2{font-size:1.45rem;margin:0}
@media (max-width:480px){
  .sup-ticket-card{flex-direction:column}
  .sup-ticket-card__tag{writing-mode:horizontal-tb;rotate:0deg;width:auto;padding:.45rem;border-radius:0}
  .sup-ticket-card__body{border-left:0;border-top:2px dashed color-mix(in oklch, var(--rose) 50%, var(--card))}
}

/* Category: four visible choices instead of a select that opens on
   "Something else". Real radios (arrow keys work), drawn as chips. */
.sup-kind{border:0;margin:0;padding:0;min-width:0}
.sup-kind legend{padding:0;margin-bottom:.45rem;font-weight:700;font-size:.88rem;color:var(--soft)}
.sup-kind__opts{display:flex;flex-wrap:wrap;gap:.5rem}
.sup-kind__opt{position:relative;cursor:pointer}
.auth-form .sup-kind input[type="radio"]{
  position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;
}
.sup-kind__opt span{
  display:block;padding:.5em 1em;border-radius:999px;font-weight:700;font-size:.92rem;color:var(--ink);
  background:var(--surface-sunk);border:2px solid var(--border);transition:background-color .15s, border-color .15s, color .15s;
}
.sup-kind__opt:hover span{border-color:color-mix(in oklch, var(--rose) 60%, var(--border))}
.sup-kind__opt input:checked + span{background:var(--rose);border-color:var(--rose);color:#fff}
.sup-kind__opt input:focus-visible + span{box-shadow:var(--ring-strong)}
@media (forced-colors:active){.sup-kind__opt input:checked + span{border-style:double;border-width:4px}}
@media (prefers-reduced-motion:reduce){.sup-kind__opt span{transition:none}}

/* --- Ticket reference: a torn stub, not a pill. A coloured stub tag ("Ticket")
       butts against the code half across a dashed tear line; two notches cut
       from the card behind it (background:var(--card), matching whatever
       this sits on) read as where it was torn from a longer roll. --- */
.sup-ref{
  position:relative;display:inline-flex;align-items:stretch;margin:.75rem 0 1.1rem;
  border-radius:var(--r-md);box-shadow:var(--lift);rotate:-1.2deg;
}
.sup-ref::before,.sup-ref::after{
  content:"";position:absolute;top:50%;translate:0 -50%;z-index:1;
  width:1.05rem;height:1.05rem;border-radius:50%;background:var(--card);
}
.sup-ref::before{left:-.52rem}
.sup-ref::after{right:-.52rem}
.sup-ref__tag{
  font-family:var(--display);font-weight:800;font-size:.72rem;letter-spacing:.06em;
  text-transform:uppercase;color:#fff;background:var(--acc);
  padding:.9em 1em;display:flex;align-items:center;
  border-radius:var(--r-md) 0 0 var(--r-md);
}
.sup-ref__code{
  font-family:var(--display);font-weight:800;font-size:1.5rem;letter-spacing:.02em;
  color:var(--acc-ink);background:var(--fill-soft);padding:.5em 1.3em;
  border-radius:0 var(--r-md) var(--r-md) 0;
  border-left:2px dashed color-mix(in oklch, var(--acc) 45%, var(--card));
  display:flex;align-items:center;
}

/* --- Status: open/in-progress stay plain (still moving); resolved/closed
       read as a stamped, closed case -- a rotated outline, not a fill. --- */
.sup-status{
  display:inline-flex;align-items:center;gap:.5rem;font-family:var(--display);font-weight:800;
  font-size:.8rem;letter-spacing:.03em;padding:.5em 1em;border-radius:999px;
}
.sup-status::before{content:"";width:.55rem;height:.55rem;border-radius:50%;background:currentColor}
.sup-status--open{background:oklch(94% 0.07 70 / .5);color:oklch(44% 0.12 70)}
.sup-status--in_progress{background:oklch(94% 0.06 220 / .6);color:var(--cyan-ink)}
.sup-status--resolved{
  background:transparent;color:var(--lime-ink);
  box-shadow:inset 0 0 0 2px currentColor;rotate:-2.5deg;
}
.sup-status--closed{
  background:transparent;color:var(--soft);
  box-shadow:inset 0 0 0 2px currentColor;rotate:2deg;
}
.sup-note{
  background:var(--fill-soft);border-radius:var(--r-md);padding:1rem 1.1rem;margin-top:1rem;
  text-align:left;color:var(--ink);font-weight:600;line-height:1.6;
}
.sup-ticket-list{list-style:none;margin:0;padding:0;display:grid;gap:.8rem}
.sup-ticket-list li{
  position:relative;
  background:var(--card);border-radius:var(--r-md);box-shadow:var(--lift);
  padding:1rem 1.2rem;display:flex;flex-wrap:wrap;gap:.6rem 1.2rem;align-items:center;
  justify-content:space-between;
}
.sup-ticket-list li:has(a:focus-visible){box-shadow:var(--lift), var(--ring-strong)}
.sup-ticket-list a:focus-visible{outline:none}
.sup-ticket-list b{font-family:var(--display)}
