/* Quorum pages: Appeals tab, Coaching tab (4 views), Coaching flow (4 steps).
   Layout and behaviour: Marcio's agent hand-off pages. Look: our calm CX Daylight layer (loaded after theme.css).
   Colour meanings: mint = pass/done, pink = critical/alert only, gold = overdue/pending, blue = action/platform, purple = CX. */

/* links styled as buttons */
a.pri, a.sec { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; white-space: nowrap; }
a.pri:hover, a.sec:hover { text-decoration: none; }
.lnk svg { width: 12px; height: 12px; vertical-align: -1px; margin-left: 2px; }
.cid { font-family: var(--font-mono); font-size: .92em; font-variant-numeric: tabular-nums; }

/* ---------- Appeals ---------- */
.apblock { display: flex; flex-direction: column; gap: 12px; }
.apblock > .ch { align-items: center; }
.aplist { display: flex; flex-direction: column; gap: 6px; }
.ap { background: var(--surface-2); border-radius: 14px; overflow: hidden; }
.ap > button { width: 100%; background: none; border: 0; text-align: left; display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px; align-items: center; padding: 13px 16px; font-size: var(--fs-meta); }
.ap > button:hover { background: var(--hover); }
.ap > button[aria-expanded="true"] { background: var(--dl-plat-soft); }
.ap .ttl { display: block; font-size: 15px; font-weight: 600; }
.ap .ctx { display: block; color: var(--dl-muted); font-size: var(--fs-meta); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap .pts { color: var(--dl-muted); }
.apsteps { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-meta); color: var(--dl-muted); white-space: nowrap; }
.apsteps i { width: 9px; height: 9px; border-radius: 50%; background: color-mix(in srgb, var(--dl-ink) 14%, transparent); display: inline-block; }
.apsteps i.done { background: var(--dl-gold); }
.apsteps i.now { background: var(--surface-1); box-shadow: 0 0 0 2px var(--dl-gold); }
.apsteps b { font-weight: 500; color: var(--dl-gold-fg); margin-left: 4px; }
.res { font-size: var(--fs-meta); font-weight: 600; padding: 2px 11px; border-radius: 999px; white-space: nowrap; }
.r-ok { background: var(--dl-pass-soft); color: var(--dl-pass-fg); } .r-no { background: var(--dl-alert-soft); color: var(--dl-alert-fg); }
.thread { padding: 6px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.post { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; font-size: 15px; background: var(--surface-1); border-radius: 12px; padding: 12px 14px; }
.post .who { font-size: var(--fs-meta); color: var(--dl-muted); }
.post .who b { display: block; color: var(--dl-ink); font-weight: 600; }
.rec { display: inline-block; font-size: 12.5px; font-weight: 500; padding: 1px 9px; border-radius: 999px; margin-bottom: 4px; }
.rec.y { background: var(--dl-pass-soft); color: var(--dl-pass-fg); } .rec.n { background: var(--dl-alert-soft); color: var(--dl-alert-fg); }
.change { font-size: 15px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.thread-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 2px; }
.thread-f .links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.thread-f .lnk { font-size: 14px; display: inline-flex; gap: 5px; align-items: center; }
.thread-f .lnk svg { width: 12px; height: 12px; }
.wd { color: var(--dl-muted) !important; font-weight: 500; }
.wd:disabled { opacity: .6; cursor: default; }
.apsum { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; background: var(--surface-2); border-radius: 14px; padding: 14px 18px; }
.stat b { display: block; font-size: 28px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.apsplit { flex: 1; min-width: 200px; max-width: 360px; }
.apsplit-h { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 500; }
.sbar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--surface-3); margin-top: 6px; }
.sbar span { display: block; height: 100%; }
.topics { font-size: 15px; }

/* ---------- Coaching tab ---------- */
.view > .hdr:has(.next1) { align-items: flex-end; }
.next1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; background: var(--dl-plat-soft); border-radius: 14px; padding: 9px 16px; }
.next1 b { font-weight: 600; }
.next1 .lnk { font-size: 14px; }
.ctseg { align-self: flex-start; background: var(--surface-2); border: 0; }
.ctseg button { font-size: 14px; padding: 8px 16px; }
.ctseg .n { font-size: 12px; margin-left: 6px; opacity: .7; font-variant-numeric: tabular-nums; }
.ctbox { background: linear-gradient(160deg, var(--dl-plat-soft), var(--surface-1) 70%); border-color: color-mix(in srgb, var(--dl-plat) 35%, transparent); }
.list-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 14px; margin-top: 10px; border-top: 1px solid var(--dl-line); }
.ctstack { display: flex; flex-direction: column; gap: 14px; }
.ctstill { display: flex; flex-direction: column; gap: 10px; }
.ctstill .ch { align-items: baseline; }
.reps { display: flex; flex-direction: column; gap: 2px; }
.rep { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 15px; padding: 7px 8px; border-radius: 10px; font-variant-numeric: tabular-nums; }
.rep:hover { background: var(--hover); }
.rep .id { margin-left: auto; display: inline-flex; gap: 14px; align-items: center; color: var(--dl-muted); font-size: var(--fs-meta); white-space: nowrap; }
.rep .lnk { font-size: 14px; }
.flag { font-size: var(--fs-meta); color: var(--dl-gold-fg); display: flex; gap: 8px; align-items: center; background: var(--dl-gold-soft); border-radius: 999px; padding: 4px 12px; width: fit-content; max-width: 100%; }
.flag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dl-gold); flex: none; }
.ctnext { background: linear-gradient(160deg, var(--dl-plat-soft), var(--surface-1) 70%); display: flex; flex-direction: column; gap: 6px; }
.sess { padding: 14px 4px; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; }
.sess + .sess { border-top: 1px solid var(--dl-line); }
.sess .d b { display: block; font-size: 15px; font-weight: 600; }
.sess-sum { font-weight: 500; margin-bottom: 4px; }
.sess-notes { white-space: pre-wrap; overflow-wrap: anywhere; }
.acts { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.acts li { display: flex; gap: 8px; align-items: baseline; }
.acts .ck { color: var(--dl-pass-fg); font-weight: 700; } .acts .op { color: var(--dl-muted); }
.bands { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; margin-top: 8px; }
.bands span { background: var(--surface-2); border-radius: 999px; padding: 4px 12px; display: inline-flex; gap: 6px; align-items: center; }
.sw { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 10px; }
.acrit { border: 0; border-radius: 14px; padding: 13px 15px; text-align: left; background: var(--surface-2); display: flex; flex-direction: column; gap: 3px; transition: background .2s, box-shadow .2s; }
.acrit:hover { background: var(--hover); }
.acrit[aria-expanded="true"] { background: linear-gradient(160deg, var(--dl-plat-soft), var(--surface-2) 75%); box-shadow: inset 0 0 0 1.5px var(--ring); }
.acrit b { font-size: 15px; font-weight: 600; }
.acrit .s { font-size: var(--fs-meta); color: var(--dl-muted); }
.acrit .s.bad { color: var(--dl-alert-fg); }
.det { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 28px; }
.det .full { grid-column: 1 / -1; }
.det .lab { margin-bottom: 6px; }
.mini { display: flex; flex-direction: column; }
.mini > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 15px; padding: 8px 0; border-top: 1px solid var(--dl-line); flex-wrap: wrap; }
.mini .sec { padding: 4px 12px; }
.scale { display: flex; gap: 6px; flex-wrap: wrap; font-size: var(--fs-meta); margin-top: 8px; }
.scale span { background: var(--surface-2); border-radius: 999px; padding: 2px 10px; font-variant-numeric: tabular-nums; }
.scale span:nth-child(1) { color: var(--dl-pass-fg); } .scale span:nth-child(2) { color: var(--dl-gold-fg); } .scale span:nth-child(3) { color: var(--dl-alert-fg); }

/* ---------- Coaching flow: one narrow column, one thing at a time ---------- */
.flow { width: 100%; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.flow-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.flow-tags { display: flex; flex-wrap: wrap; gap: 6px 0; align-items: center; margin-bottom: 6px; }
.flow-h { font-size: 30px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.fsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fst { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-meta); color: var(--dl-muted); min-width: 0; }
.fst i { height: 5px; border-radius: 999px; background: var(--surface-3); display: block; }
.fst.done i { background: var(--dl-pass); }
.fst.now i { background: var(--dl-plat); }
.fst.now { color: var(--dl-ink); font-weight: 500; }
.fcard { display: flex; flex-direction: column; gap: 10px; }
.miss { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.miss b { font-weight: 600; }
.lost { color: var(--dl-alert-fg); font-weight: 600; white-space: nowrap; }
.fquote { font-size: 15px; color: var(--dl-ink); }
.tlnote { background: var(--surface-2); border-radius: 14px; padding: 13px 16px; }
.tlnote b { font-weight: 600; display: block; margin-bottom: 2px; }
.tlnote div { white-space: pre-wrap; overflow-wrap: anywhere; }
.reopen { background: var(--dl-plat-soft); border-radius: 14px; padding: 13px 16px; }
.reopen b { font-weight: 600; color: var(--dl-plat-fg); display: block; margin-bottom: 2px; }
.actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.actions .pri { padding: 11px 24px; font-size: 15px; }
.fq { font-size: 17px; font-weight: 500; }
.opts { display: flex; flex-direction: column; gap: 8px; }
.opt { display: flex; gap: 12px; align-items: flex-start; text-align: left; border: 0; background: var(--surface-2); border-radius: 12px; padding: 13px 15px; font-size: 15px; width: 100%; transition: background .2s, box-shadow .2s; }
.opt:hover:not(:disabled) { background: var(--hover); box-shadow: inset 0 0 0 1.5px var(--ring); }
.opt:disabled { cursor: default; }
.opt .k { font-weight: 600; color: var(--dl-muted); width: 18px; flex: none; }
.opt.right { background: var(--dl-pass-soft); box-shadow: inset 0 0 0 1.5px var(--dl-pass); } .opt.right .k { color: var(--dl-pass-fg); }
.opt.wrong { background: var(--dl-alert-soft); box-shadow: inset 0 0 0 1.5px var(--dl-alert); } .opt.wrong .k { color: var(--dl-alert-fg); }
.qfb { border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.qfb.ok { background: var(--dl-pass-soft); } .qfb.no { background: var(--dl-alert-soft); }
.qfb b { font-weight: 600; }
.article { border: 1px solid color-mix(in srgb, var(--dl-ink) 12%, transparent); border-radius: 16px; background: var(--surface-1); max-height: 340px; overflow-y: auto; padding: 18px 20px; font-size: 15px; line-height: 1.6; }
.article h3 { margin: 4px 0 6px; }
.article p { margin: 0 0 12px; max-width: 62ch; overflow-wrap: anywhere; }
.article mark { background: var(--dl-gold-soft); color: var(--dl-ink); padding: 0 2px; border-radius: 4px; box-shadow: inset 0 -2px 0 var(--dl-gold); }
.donebox { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; padding: 10px 0; }
.donebox h2 { font-size: 26px; }
.tick { width: 58px; height: 58px; border-radius: 50%; background: var(--dl-pass-soft); color: var(--dl-pass-fg); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; }
.fsum { display: flex; flex-direction: column; gap: 6px; font-size: 15px; text-align: left; width: 100%; max-width: 440px; margin-top: 4px; }
.fsum > div { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--dl-line); padding-top: 7px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .ap > button { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .ap > button .apsteps, .ap > button .res { grid-column: 1 / -1; justify-self: start; }
  .ap .ctx { white-space: normal; }
  .post { grid-template-columns: 1fr; gap: 2px; }
  .sess { grid-template-columns: 1fr; gap: 6px; }
  .det { grid-template-columns: 1fr; }
  .det .full { grid-column: auto; }
  .flow-h { font-size: 24px; }
  .fsteps { gap: 5px; }
  .fst span { font-size: 11.5px; }
  .rep .id { margin-left: 0; white-space: normal; flex-wrap: wrap; }
  .next1 { width: 100%; }
}

/* =====================================================================================================
   Team leader pages (team.js): login choice, My performance / My team switch, Your team's week, one-agent view,
   Team Coaching + New coaching + 1:1s, Team Evaluations, Team Appeals, Team Reports. Layout: Marcio's TL hand-off.
   ===================================================================================================== */

/* switch at the left of the tab bar */
.tlswitch { display: inline-flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--dl-line); flex: none; margin-right: 8px; }
.tlswitch button { border: 0; background: transparent; color: var(--dl-muted); font: 500 14px var(--font-sans); padding: 8px 14px; border-radius: 10px; white-space: nowrap; }
.tlswitch button:hover { color: var(--dl-ink); }
.tlswitch button[aria-pressed="true"] { background: var(--surface-1); color: var(--dl-ink); box-shadow: var(--soft-shadow), inset 0 0 0 1px var(--dl-line); font-weight: 600; }
.tlswitch .short { display: none; }
:root[data-theme="dark"] .tlswitch button[aria-pressed="true"] { background: var(--surface-3); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tlswitch button[aria-pressed="true"] { background: var(--surface-3); } }

/* one-agent view: banner + the agent's own tab bar */
.subbar { padding: 4px 16px 0; display: flex; flex-direction: column; gap: 10px; }
.tlbanner { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--dl-plat-soft); color: var(--dl-plat-fg); border-radius: 14px; padding: 10px 16px; font-size: 15px; }
.tlbanner b { font-weight: 600; }
.atabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.atabs::-webkit-scrollbar { display: none; }
.atabs a { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--dl-muted); text-decoration: none; white-space: nowrap; }
.atabs a:hover { background: var(--hover); color: var(--dl-ink); }
.atabs a[aria-current="page"] { background: var(--surface-2); color: var(--dl-ink); box-shadow: inset 0 0 0 1px var(--dl-line); }

/* login choice: two equal buttons */
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 880px; }
.pick { text-align: left; border: 0; border-radius: 20px; padding: 22px 22px 20px; color: var(--dl-ink);
  background: linear-gradient(160deg, var(--dl-plat-soft), var(--surface-2) 70%); box-shadow: inset 0 0 0 1.5px var(--ring);
  display: flex; flex-direction: column; gap: 8px; transition: box-shadow .2s; }
.pick:hover { box-shadow: inset 0 0 0 2px var(--dl-plat), var(--soft-shadow); }
.pick h3 { font-size: 22px; }
.pic { width: 48px; height: 48px; border-radius: 14px; background: var(--surface-1); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--dl-plat-fg); box-shadow: var(--soft-shadow); }
.peek { margin-top: 6px; font-size: 14px; font-weight: 500; background: var(--surface-1); border-radius: 999px; padding: 5px 12px; width: fit-content; max-width: 100%; }

/* shared bits */
.hlinks { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hlinks .lnk { font-size: 14px; }
.k { font-weight: 600; }
.lnk.plain { color: inherit; font-weight: inherit; font-size: inherit; }
.t-nc { background: var(--dl-alert-soft); color: var(--dl-alert-fg); }
.s-ok { background: var(--dl-pass-soft); color: var(--dl-pass-fg); }
.ro { font-size: var(--fs-meta); }
.sec:disabled { opacity: .5; cursor: not-allowed; }
.sec.act { background: var(--dl-plat-soft); color: var(--dl-plat-fg); border-color: transparent; font-weight: 600; }
.sec.quiet { color: var(--dl-muted); }
.tlact { display: inline-flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fb .tlact { margin-top: 4px; }
.lblsel { display: flex; gap: 8px; align-items: center; }
.filtline { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: var(--dl-plat-soft); border-radius: 12px; padding: 8px 14px; }
.view input[type="text"], .view input[type="date"], .view input[type="datetime-local"], .tlform textarea, .rvbox textarea, .reopenf textarea, .heldf textarea {
  font: inherit; font-size: 15px; color: var(--dl-ink); background: var(--surface-1); border: 1px solid color-mix(in srgb, var(--dl-ink) 14%, transparent);
  border-radius: 10px; padding: 7px 11px; max-width: 100%; }
.tlform textarea, .rvbox textarea, .reopenf textarea, .heldf textarea { width: 100%; min-height: 76px; resize: vertical; }
.view input[type="text"] { width: 100%; }

/* Your team's week: to do + agents */
.tdlist { display: flex; flex-direction: column; gap: 2px; }
button.row { width: 100%; background: none; border: 0; text-align: left; font: inherit; color: inherit; margin: 0; }
.tdrow > span:first-child { min-width: 0; }
.tdwrap.open { background: var(--surface-1); border-radius: 12px; box-shadow: var(--soft-shadow); }
.fu { padding: 2px 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.cacts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.extd { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.actmsg { flex-basis: 100%; }
.agents { display: flex; flex-direction: column; }
.agrow { display: grid; grid-template-columns: minmax(0, 1.4fr) 84px 96px 56px minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 10px 8px; border-radius: 10px; color: inherit; text-decoration: none; font-size: 15px; font-variant-numeric: tabular-nums; }
a.agrow:hover { background: var(--hover); }
.agrow.h { font-size: var(--fs-label); color: var(--dl-muted); font-weight: 600; padding-top: 4px; padding-bottom: 4px; }
.agrow .nm { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }

/* evaluation page + coaching page: TL boxes */
.box-appeal { background: linear-gradient(160deg, var(--dl-gold-soft), var(--surface-1) 70%); border-color: color-mix(in srgb, var(--dl-gold) 35%, transparent); display: flex; flex-direction: column; gap: 10px; }
.box-appeal .ch { align-items: center; }
.rvitem { background: var(--surface-1); border-radius: 10px; padding: 10px 12px; font-size: 15px; }
.rvbox { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--dl-line); padding-top: 12px; }
.thread > .rvbox, .post .rvbox { border-top: 0; padding-top: 0; }
.thread > .rvbox { background: var(--surface-1); border-radius: 12px; padding: 12px 14px; }
.rvtog { align-self: flex-start; }
.rvf { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tlbar { display: flex; flex-direction: column; gap: 8px; }
.reopenf { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.reopenf .btns { align-items: center; flex-wrap: wrap; }
.reopenf .btns > .mut { margin-right: auto; }

/* Team Coaching */
.tcbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.tclist, .heldbox { display: flex; flex-direction: column; }
.tcdone summary { cursor: pointer; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; list-style: none; }
.tcdone summary::-webkit-details-marker { display: none; }
.tcdone[open] summary { margin-bottom: 8px; }
.flagrow, .held .row, .tcfin, .pastrow .row { flex-wrap: wrap; }
.flagrow > span:last-child, .held .row > span:last-child { white-space: normal; }
.held + .held, .pastrow + .pastrow { border-top: 1px solid var(--dl-line); }
.heldf { display: flex; flex-direction: column; gap: 6px; padding: 4px 8px 12px; }
.pastn { padding: 0 8px 10px; }
.bookf { display: flex; flex-direction: column; gap: 4px; background: linear-gradient(160deg, var(--dl-plat-soft), var(--surface-1) 70%); }

/* New coaching form */
.tlform { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px 18px; align-items: start; }
.tlform > .flab { padding-top: 8px; font-weight: 500; font-size: 14px; color: var(--dl-ink); }
.inl { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inl select { max-width: 100%; }
.formf { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.evcard { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: var(--surface-2); border-radius: 12px; padding: 10px 14px; font-size: 15px; }
.ticks { display: flex; flex-direction: column; gap: 6px; font-size: 15px; padding-top: 6px; }
.ticks label { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ticks .dis { opacity: .6; }
.agsel { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.agsel button { border: 0; background: var(--surface-3); color: var(--dl-ink); border-radius: 999px; padding: 6px 13px; font-size: 14px; }
.agsel button[aria-pressed="true"] { background: var(--dl-plat-soft); color: var(--dl-plat-fg); box-shadow: inset 0 0 0 1.5px var(--ring); font-weight: 500; }
.qed summary { cursor: pointer; margin-top: 6px; width: fit-content; }
.qgrid { display: grid; gap: 8px; margin-top: 8px; max-width: 620px; }
.qopt { display: flex; gap: 8px; align-items: center; }
.qopt input[type="text"] { flex: 1; }

/* Team Evaluations / Appeals */
.tev .go .k { color: var(--dl-ink); }
.ap.tap > button { grid-template-columns: minmax(0, 1fr) auto auto; }
.ap .chev { font-size: 12px; }
.ap .ttl .k { font-weight: 600; }
.apsum .stat .mut { display: block; }

/* Team Reports */
.rpick { display: flex; gap: 10px 18px; flex-wrap: wrap; align-items: center; }
.rpick label { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--dl-muted); }
.rpick select { max-width: 100%; }
.rctx { margin-top: -10px; }
.rsec { display: flex; flex-direction: column; gap: 12px; }
.rsec > .ch { align-items: baseline; }
.stats { display: grid; gap: 10px; }
.stats.s6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stats.s3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat.dr { display: flex; flex-direction: column; gap: 2px; background: var(--surface-2); border-radius: 14px; padding: 12px 14px; color: inherit; text-decoration: none; min-width: 0; transition: background .2s, box-shadow .2s; }
.stat.dr:hover { background: var(--hover); box-shadow: inset 0 0 0 1.5px var(--ring); }
.stat.dr b { font-size: 26px; font-variant-numeric: tabular-nums; }
.chartbox { background: var(--surface-2); border-radius: 16px; padding: 12px 14px; min-width: 0; }
.chartbox svg { display: block; max-width: 100%; height: auto; }
.chartbox text { font: 11px var(--font-sans); fill: var(--dl-muted); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; margin-bottom: 6px; align-items: center; }
.legend i { display: inline-block; width: 18px; border-top: 2px solid; vertical-align: middle; margin-right: 6px; }
.hm td.c, .hm th.c { text-align: center; }
.hm .pill { min-width: 44px; font-size: 13px; text-decoration: none; }
.hm tr.ref td { background: var(--surface-2); }
.crt tr[data-fo] { cursor: pointer; }
.crt tr[data-fo]:hover td { background: var(--hover); }
.crt td:last-child { white-space: normal; min-width: 220px; }
.csvwrap { position: relative; }
.csvm { position: absolute; right: 0; top: calc(100% + 6px); z-index: 15; background: var(--surface-1); border-radius: 14px; box-shadow: var(--dl-shadow), 0 20px 40px -20px rgba(9,14,53,.35);
  padding: 6px; width: 300px; max-width: calc(100vw - 48px); display: flex; flex-direction: column; }
.csvm[hidden] { display: none; }
.csvm button { border: 0; background: none; text-align: left; padding: 10px 12px; border-radius: 10px; display: flex; flex-direction: column; gap: 2px; color: var(--dl-ink); }
.csvm button:hover { background: var(--hover); }

@media (max-width: 1100px) { .stats.s6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .agrow { grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr) auto; gap: 8px; }
  .agrow .c3, .agrow .c4 { display: none; }
  .tlform { grid-template-columns: 1fr; gap: 6px 0; }
  .tlform > .flab { padding-top: 10px; }
  .ap.tap > button { grid-template-columns: minmax(0, 1fr) auto; }
  .ap.tap > button .chev { display: none; }
  .subbar { padding: 4px 10px 0; }
}
@media (max-width: 640px) {
  .bar { flex-wrap: wrap; }
  .tlswitch { flex-basis: 100%; margin: 0 0 6px; display: flex; }
  .tlswitch button { flex: 1; }
  .picks { grid-template-columns: 1fr; }
  .stats.s6, .stats.s3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat.dr b { font-size: 22px; }
  .csvm { right: auto; left: 0; }
}

/* =====================================================================================================
   Settings (gear in the header), QA decisions (first version), the bell panel, agent Reports.
   admin.js + reports.js. Same calm layer: no hairlines, soft tints by meaning, framed .box.
   ===================================================================================================== */

/* chart colours for the agent Reports (Marcio: agent teal, CX purple; status colours stay for bands only) */
:root { --ra-you: #1d8a6e; --ra-cx: #7268d6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ra-you: #00a89a; --ra-cx: #8a81e8; } }
:root[data-theme="dark"] { --ra-you: #00a89a; --ra-cx: #8a81e8; }

/* header gear */
.gear { width: 34px; height: 34px; border-radius: 999px; display: inline-grid; place-items: center; color: var(--dl-muted); background: var(--surface-2); box-shadow: var(--soft-shadow); text-decoration: none; flex: none; }
.gear svg { width: 18px; height: 18px; }
.gear:hover { color: var(--dl-ink); }
.gear[aria-current="page"] { color: var(--dl-plat-fg); background: var(--dl-plat-soft); }

/* form fields used by the new pages */
.view input[type="email"], .view input[type="search"] {
  font: inherit; font-size: 15px; color: var(--dl-ink); background: var(--surface-1); border: 1px solid color-mix(in srgb, var(--dl-ink) 14%, transparent);
  border-radius: 10px; padding: 7px 11px; width: 100%; max-width: 100%; min-width: 0; }
.view input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--dl-plat); margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Settings ---------- */
.setbox { display: flex; flex-direction: column; gap: 12px; }
.themepick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 640px; }
.themepick button { border: 0; border-radius: 14px; padding: 14px 16px; text-align: left; background: var(--surface-2); color: var(--dl-ink); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: center; transition: background .2s, box-shadow .2s; }
.themepick button:hover { background: var(--hover); }
.themepick .ti { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; background: var(--surface-1); display: grid; place-items: center; color: var(--dl-muted); }
.themepick .ti svg { width: 18px; height: 18px; }
.themepick b { font-weight: 600; }
.themepick button[aria-pressed="true"] { background: linear-gradient(160deg, var(--dl-plat-soft), var(--surface-2) 75%); box-shadow: inset 0 0 0 1.5px var(--ring); }
.themepick button[aria-pressed="true"] .ti { color: var(--dl-plat-fg); }
.setadd { background: linear-gradient(160deg, var(--dl-plat-soft), var(--surface-1) 70%); border-color: color-mix(in srgb, var(--dl-plat) 35%, transparent); }
.setform { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) auto auto; gap: 10px 14px; align-items: end; }
.setform label { display: flex; flex-direction: column; gap: 4px; font-size: var(--fs-meta); color: var(--dl-muted); min-width: 0; }
.setform select { width: 100%; padding: 7px 12px; }
.setform .chk, .chk { flex-direction: row; align-items: center; gap: 8px; color: var(--dl-ink); font-size: 15px; padding-bottom: 8px; display: inline-flex; }
.setfilter { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.setfilter input { flex: 1 1 220px; max-width: 360px; }
.mtable td { white-space: normal; }
.mtable td:nth-child(2) { overflow-wrap: anywhere; }
.mtable tr.editing td { background: var(--dl-plat-soft); }
.mtable select { max-width: 160px; }
.rowerr { margin-top: 6px; max-width: 280px; }
.setexp { font-size: 15px; background: var(--surface-2); border-radius: 14px; padding: 12px 16px; }
.seewho { background: linear-gradient(160deg, var(--dl-fin-soft), var(--surface-1) 70%); border-color: color-mix(in srgb, var(--dl-fin) 30%, transparent); }
.seegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 10px 18px; }
.seegrid > div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.seegrid b { font-weight: 600; }
.tcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 14px; align-items: start; }
.tcard { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tcard > .ch { align-items: center; }
.tnew { background: linear-gradient(160deg, var(--dl-plat-soft), var(--surface-1) 70%); }
.tnone { background: linear-gradient(160deg, var(--dl-gold-soft), var(--surface-1) 70%); }
.tmeta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tmeta > div { display: flex; flex-direction: column; gap: 2px; background: var(--surface-2); border-radius: 12px; padding: 9px 12px; min-width: 0; }
.tmeta b { font-weight: 600; overflow-wrap: anywhere; }
.tags-list { display: flex; flex-direction: column; }
.tag-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 7px 0; font-size: 15px; }
.tag-row + .tag-row { border-top: 1px solid var(--dl-line); }
.mvsel select { max-width: 180px; }
.tform { display: flex; flex-direction: column; gap: 10px; }
.tform .setform { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tmgr { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.tmgr .flab { font-size: var(--fs-meta); color: var(--dl-muted); flex-basis: 100%; }
.tmgr .chk { padding-bottom: 0; }

/* ---------- QA decisions ---------- */
.tag.v1 { background: var(--dl-gold-soft); color: var(--dl-gold-fg); font-size: 13px; padding: 4px 12px; white-space: normal; }
.qatags { display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.qatags .tag { margin: 0; }
.qawait { white-space: nowrap; }
.qaev { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.qalinks { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.qalinks .lnk { font-size: 14px; }
.qadec { background: linear-gradient(160deg, var(--dl-plat-soft), var(--surface-1) 70%); }
.qadec textarea { font: inherit; font-size: 15px; color: var(--dl-ink); background: var(--surface-1); border: 1px solid color-mix(in srgb, var(--dl-ink) 14%, transparent); border-radius: 10px; padding: 7px 11px; width: 100%; min-height: 76px; resize: vertical; }
.qadec .btns { align-items: center; flex-wrap: wrap; }
.qadec .btns > .mut { margin-right: auto; }
.qadone { display: flex; flex-direction: column; padding: 8px 10px; }
.qadone .row > span:first-child { min-width: 0; }

/* ---------- bell panel ---------- */
.pop-h { align-items: center; }
.pop-h .lnk { font-size: 13px; }
.it { color: var(--dl-ink); }
.ico { line-height: 1; }
.ico svg { width: 16px; height: 16px; }
.bscope { font-size: 11px; padding: 0 7px; margin-right: 6px; background: var(--surface-3); }
.pop-ro { padding: 10px 16px; text-align: center; }

/* ---------- agent Reports ---------- */
.raper { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.raper label { display: flex; gap: 8px; align-items: center; }
.racust { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.stats.s4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat.dr.nolink:hover { background: var(--surface-2); box-shadow: none; }
.rachart { position: relative; }
.rachart svg { touch-action: pan-y; }
.ratip { position: absolute; z-index: 5; pointer-events: none; background: var(--surface-1); border-radius: 12px; box-shadow: var(--dl-shadow); padding: 9px 12px; font-size: 13px; display: flex; flex-direction: column; gap: 3px; width: 180px; font-variant-numeric: tabular-nums; }
.ratip[hidden] { display: none; }
.ratip b { font-weight: 600; }
.ratip .ln { display: inline-block; width: 16px; border-top: 2px solid; vertical-align: middle; margin-right: 6px; }
.ratip .ln.you { border-color: var(--ra-you); } .ratip .ln.cx { border-color: var(--ra-cx); border-top-style: dashed; }
.spark { display: inline-block; vertical-align: middle; }
.rat td.c, .rat th.c { text-align: center; }
.rat tr[data-ac] { cursor: pointer; }
.rat tr[data-ac]:hover td { background: var(--hover); }
.racw .row { flex-wrap: wrap; }
.racw .row > span:last-child { white-space: normal; }

@media (max-width: 1100px) { .setform { grid-template-columns: repeat(3, minmax(0, 1fr)); } .setform .pri { justify-self: start; } }
@media (max-width: 760px) {
  .setform, .tform .setform, .tmeta { grid-template-columns: 1fr; }
  .themepick { grid-template-columns: 1fr; }
  .ap > button .qatags, .ap > button .qawait { grid-column: 1 / -1; justify-self: start; white-space: normal; flex-wrap: wrap; }
  .raper, .raper label { width: 100%; }
  .raper select { flex: 1; }
}
@media (max-width: 640px) {
  .stats.s4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .setfilter input { max-width: none; }
}
/* six tabs (QA lead / AI Ops get a QA tab) still fit a 375px phone */
@media (max-width: 420px) { .nav { gap: 2px; } .nav a { padding: 8px 7px; } }

/* phone polish (night QA pass): the View as menu never pushes past the screen; titles a step smaller */
.viewas { box-sizing: border-box; max-width: 100%; }
.whobox { max-width: 100%; box-sizing: border-box; }
@media (max-width: 640px) {
  :root { --fs-title: 30px; }
  .viewas { width: 100%; }
}

/* =====================================================================================================
   Overview (#overview), overview.js: home for managers, the QA lead and AI Ops.
   First version - until Marcio's Manager design. Same calm layer: framed .box, soft tints by meaning.
   ===================================================================================================== */
.ov-per { display: flex; gap: 8px; align-items: center; }
.ov-n { font: inherit; color: var(--dl-plat-fg); background: none; border: 0; padding: 0; cursor: pointer; font-variant-numeric: tabular-nums;
  text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.ov-n:hover { text-decoration-color: currentColor; }
.ov-n .bad { color: var(--dl-alert-fg); }
.ov-th { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; min-width: 0; }
.ov-th h3 { margin: 0; }
/* needs attention */
.ov-nas { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ov-nas.s3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ov-na { display: flex; flex-direction: column; min-width: 0; }
.ov-na.hot { background: linear-gradient(160deg, var(--dl-alert-soft), var(--surface-1) 65%); border-color: color-mix(in srgb, var(--dl-alert) 30%, transparent); }
.ov-na:not(.hot) { background: linear-gradient(160deg, var(--dl-pass-soft), var(--surface-1) 65%); border-color: color-mix(in srgb, var(--dl-pass) 30%, transparent); }
.ov-na > .ch { align-items: center; margin-bottom: 4px; }
.ov-big { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.ov-na .row > span:first-child, .ov-drill .row > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ov-naf { display: flex; gap: 16px; align-items: center; margin-top: auto; padding-top: 8px; font-size: var(--fs-meta); }
/* teams at a glance */
.ov-teams { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.ov-team { background: linear-gradient(160deg, var(--dl-plat-soft), var(--surface-1) 60%); border-color: color-mix(in srgb, var(--dl-plat) 25%, transparent); min-width: 0; }
.ov-kvs { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ov-kv { display: flex; flex-direction: column; gap: 2px; background: var(--surface-2); border-radius: 12px; padding: 8px 12px; min-width: 0; }
.ov-kv b { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ov-kv b .pill { font-size: 14px; min-width: 0; }
.ov-kv:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
.ov-cx { color: var(--dl-fin-fg); }
/* team leaders */
.ov-tl { min-width: 0; }
.ov-tl + .ov-tl { margin-top: 0; }
.ov-tile b { font-size: 24px; }
.ov-tile b .ov-n { font-weight: 700; }
/* where teams fail */
.ov-tw { max-width: 100%; }
.ov-crt tbody tr { cursor: pointer; }
.ov-crt tbody tr:hover td, .ov-crt tbody tr:focus-visible td { background: var(--hover); }
.ov-crt tbody tr.on td { background: var(--dl-plat-soft); }
.ov-crt td:first-child { white-space: normal; }
/* drill list */
.ov-drill { background: linear-gradient(160deg, var(--dl-plat-soft), var(--surface-1) 55%); border-color: color-mix(in srgb, var(--dl-plat) 35%, transparent); scroll-margin: 16px; }
.ov-drill > .ch { margin-bottom: 6px; align-items: center; }
.ov-more { padding-top: 8px; }

@media (max-width: 1100px) { .ov-nas.s3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .ov-nas, .ov-nas.s3 { grid-template-columns: 1fr; }
  .ov-teams { grid-template-columns: 1fr; }
  .ov-tl .stats.s4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ov-kvs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-kv:last-child:nth-child(3n + 1) { grid-column: auto; }
  .ov-kv:last-child:nth-child(2n + 1) { grid-column: 1 / -1; }
  .ov-na .row, .ov-drill .row { flex-wrap: wrap; }
  .ov-na .row > span:first-child, .ov-drill .row > span:first-child { white-space: normal; }
  /* criteria table: stacked rows, no sideways scroll */
  .ov-tw { overflow: visible; border: 0; background: none; }
  .ov-crt thead { display: none; }
  .ov-crt, .ov-crt tbody, .ov-crt tr, .ov-crt td { display: block; width: 100%; box-sizing: border-box; }
  .ov-crt tbody tr { background: var(--surface-1); border: 1px solid color-mix(in srgb, var(--dl-ink) 12%, transparent); border-radius: 14px; padding: 6px 0; margin-bottom: 8px; }
  .ov-crt td { border: 0; padding: 4px 14px; display: flex; justify-content: space-between; gap: 12px; white-space: normal; text-align: right; }
  .ov-crt td::before { content: attr(data-l); color: var(--dl-muted); font-size: var(--fs-meta); text-align: left; }
  .ov-crt td:first-child { font-weight: 600; text-align: left; }
  .ov-crt td:first-child::before { content: none; }
  .ov-crt tbody tr.on { background: var(--dl-plat-soft); }
  .ov-crt tbody tr:hover td, .ov-crt tbody tr:focus-visible td, .ov-crt tbody tr.on td { background: none; }
}
@media (max-width: 420px) { .ov-tl .stats.s4 { grid-template-columns: 1fr 1fr; } .ov-tile b { font-size: 20px; } }

/* Invite email preview (Settings > Members) */
.invdlg{border:0;border-radius:20px;padding:0;width:min(680px,calc(100vw - 32px));max-height:calc(100vh - 48px);background:var(--dl-card);color:var(--dl-ink);box-shadow:var(--dl-shadow);overflow:hidden}
.invdlg[open]{display:flex;flex-direction:column}
.invdlg::backdrop{background:rgba(20,24,40,.45)}
.invhead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 22px 10px}
.invhead h3{margin:2px 0 0;font-size:18px;word-break:break-all}
.invprev{display:block;border:0;flex:1;min-height:420px;width:calc(100% - 32px);border-radius:14px;margin:0 16px;background:#F4F6FA;color-scheme:light}
.invfoot{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 22px 18px}
.invfoot p{margin:0;flex:1;min-width:220px}
.invfoot .strip{flex:1;min-width:220px}
@media (max-width:560px){.invprev{margin:0 8px;width:calc(100% - 16px)}.invfoot .pri{width:100%}}

/* Welcome tour (tour.js): spotlight + floating bubble */
button.gear { border: 0; padding: 0; cursor: pointer; }
#tour { position: fixed; inset: 0; z-index: 200; }
.tour-hole { position: fixed; border-radius: 14px; box-shadow: 0 0 0 9999px rgba(18, 22, 38, .55), 0 0 0 3px var(--dl-fin); transition: left .25s, top .25s, width .25s, height .25s; pointer-events: none; }
.tour-hole.none { left: 50% !important; top: 50% !important; width: 0 !important; height: 0 !important; box-shadow: 0 0 0 9999px rgba(18, 22, 38, .55); }
.tour-pop { position: fixed; background: var(--dl-card); color: var(--dl-ink); border-radius: 18px; padding: 18px 20px 14px; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .45); }
.tour-pop::before { content: ""; position: absolute; left: var(--ax, 50%); width: 14px; height: 14px; background: var(--dl-card); transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.tour-pop.below::before { top: -6px; }
.tour-pop.above::before { bottom: -6px; }
.tour-pop.mid::before { display: none; }
.tour-pop h3 { margin: 2px 0 6px; font-size: 18px; font-weight: 700; }
.tour-pop p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--dl-muted); }
.tour-n { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dl-fin-fg); }
.tour-b { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tour-b span { display: flex; gap: 8px; }
@media (prefers-reduced-motion: reduce) { .tour-hole { transition: none; } }

/* Scorecard: the comment itself opens the message it is about (no quotes on the card) */
.fbjump { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 4px 6px; margin: -4px -6px; border-radius: 10px; font: inherit; color: inherit; line-height: inherit; cursor: pointer; }
.fbjump:hover { background: var(--hover); }
.fbjump .go { color: var(--dl-plat-fg, var(--dl-fin-fg)); font-weight: 600; white-space: nowrap; }
.fbjump:hover .go { text-decoration: underline; }
.custq { display: block; width: 100%; text-align: left; margin-top: 8px; padding: 8px 12px; border: 0; border-left: 3px solid var(--dl-muted); border-radius: 0 10px 10px 0; background: var(--surface-2); color: inherit; font: inherit; cursor: pointer; }
.custq:hover { background: var(--hover); }
.custq .lab { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dl-muted); margin-bottom: 2px; }
.custq .q { font-style: italic; }
.evl { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; font-size: 13px; }
/* Customer rating (CSAT) at the end of the conversation */
.msg.csat { align-self: center; max-width: 520px; width: 100%; background: var(--dl-gold-soft); border-radius: 14px; padding: 10px 14px; }
.csatc { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 14px; }
.csatc .lab { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dl-gold-fg); font-weight: 600; }
.csatc .stars { color: var(--dl-gold); letter-spacing: 2px; font-size: 16px; }
.csatc .stars .off { color: var(--dl-line); }
.csatr { margin-top: 6px; font-style: italic; }
.others-strip { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 8px 14px; margin: 0 0 12px; border-radius: 12px; background: var(--surface-2); font-size: 14px; }
.others-strip .oth { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; color: inherit; padding: 3px 10px; border-radius: 999px; background: var(--dl-card); box-shadow: var(--soft-shadow); }
.others-strip .oth:hover { background: var(--hover); }
