/* TitanX Support: the pieces on top of base.css and market.css. Light only; every colour is a token. */
.head-line { display: flex; gap: 1rem; align-items: center; margin-bottom: .5rem; }
.head-line h1 { margin: 0 0 .15rem; }
.choices { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { display: grid; gap: .6rem; align-content: start; text-decoration: none; color: inherit; transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.choice:hover { box-shadow: var(--shadow-hover); border-color: var(--brand-line); text-decoration: none; }
.choice h3 { margin: 0; color: var(--ink); }
.choice p { margin: 0; }
.choice .btn { justify-self: start; }

.ticket-head h1 { margin: .25rem 0 .35rem; font-size: 1.5rem; overflow-wrap: anywhere; }
.ref-line { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 0; }

.thread { list-style: none; margin: 1rem 0 1.25rem; padding: 0; display: grid; gap: .75rem; }
.msg { max-width: 100%; padding: .85rem 1rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.msg.you { background: var(--brand-soft); border-color: var(--brand-line); }
.msg .by { margin: 0 0 .35rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .75rem; font-size: var(--fs-sm); color: var(--ink-2); }
.msg .by b { color: var(--ink); }
.msg .body { overflow-wrap: anywhere; }
.files { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.files a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .4rem .8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); text-decoration: none; }
.files svg { width: 16px; height: 16px; flex: none; }
.files small { color: var(--ink-2); }

.reply, .rate { margin-top: 1rem; }
.reply h2, .rate h2 { margin-top: 0; }
.stars { border: 0; padding: 0; margin: 0 0 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.star { cursor: pointer; }
.star input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line-strong); font-weight: 700; background: var(--surface); }
.star input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.star input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.close-form { margin-top: 1.25rem; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 1rem; border-left: 2px solid var(--line); display: grid; gap: .75rem; }
.timeline li { position: relative; display: grid; }
.timeline li::before { content: ""; position: absolute; left: calc(-1rem - 6px); top: .35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
