/* ============================================================
   BinAref — Google Play Testers app styles, v2 (organized).
   Structure: header card → segmented nav → one content container.
   Sits on the site's design tokens so every design/theme the
   owner picks re-colours the platform automatically.
   ============================================================ */
.t-wrap { position: relative; z-index: 2; min-height: 100vh; padding: 96px 20px 80px; }
.t-shell, .t-landing { max-width: 1160px; margin: 0 auto; }

/* ---------- landing (public) ---------- */
.t-landing { text-align: center; padding-top: 6vh; }
.t-hero-title {
  font-size: clamp(34px, 5.5vw, 62px); font-weight: 700; letter-spacing: -.03em;
  margin-bottom: 16px; color: var(--text);
}
[dir="rtl"] .t-hero-title { letter-spacing: 0; line-height: 1.3; }
.t-hero-sub { color: var(--dim); font-size: 16.5px; line-height: 1.7; max-width: 52ch; margin: 0 auto 30px; }
.t-landing-h2 { color: var(--text); font-size: 22px; margin: 48px 0 20px; }
.t-landing .t-grid { text-align: start; }

/* ---------- buttons / chips ---------- */
.t-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; cursor: pointer;
  font: 700 14px/1 var(--font);
  padding: 12px 20px; border-radius: 12px;
  color: var(--ink); background: linear-gradient(135deg, var(--ice-hi), var(--ice) 55%, var(--ice-deep));
  text-decoration: none; transition: filter .2s, transform .2s;
}
.t-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.t-btn.sec { color: var(--text); background: var(--glass); border: 1px solid var(--border2); }
.t-btn.danger { color: #ffd7d7; background: rgba(220,80,80,.15); border: 1px solid rgba(220,80,80,.4); }
.t-btn.tiny { padding: 7px 11px; font-size: 12px; border-radius: 9px; }
.t-google { background: #fff; color: #1a1a1a; padding: 14px 26px; font-size: 15px; }
.t-play { margin-top: auto; }
.t-chip {
  font-family: var(--mono); font-size: 12.5px; color: var(--text);
  background: var(--glass); border: 1px solid var(--border2);
  padding: 7px 11px; border-radius: 99px; white-space: nowrap;
}
.t-chip.tiny { font-size: 10.5px; padding: 4px 8px; }
.t-chip b { color: var(--ice); }

/* ---------- shell: header card + segmented nav ---------- */
.t-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: var(--glass); border: 1px solid var(--border); border-radius: 18px;
  padding: 14px 20px; margin-bottom: 12px;
}
.t-brand { font: 700 19px/1.2 var(--font); color: var(--text); text-decoration: none; }
.t-head-side { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.t-bell { position: relative; font-size: 18px; text-decoration: none; padding: 5px; }
.t-bell span {
  position: absolute; top: -2px; inset-inline-end: -4px; min-width: 16px; height: 16px;
  border-radius: 99px; background: #e5484d; color: #fff;
  font: 700 10px/16px var(--mono); text-align: center; padding: 0 3px;
}
.t-me { display: inline-flex; }
.t-ava { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border2); flex: none; }
.t-ava.sm { width: 26px; height: 26px; }
.t-ava.xl { width: 88px; height: 88px; }
.t-ava-mono {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ice-soft); color: var(--ice); font: 700 14px/1 var(--mono);
}
.t-appicon { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; border: 1px solid var(--border); flex: none; }
.t-appicon.lg { width: 76px; height: 76px; border-radius: 18px; }

.t-tabs {
  display: flex; gap: 4px; flex-wrap: wrap; align-items: center;
  background: var(--glass); border: 1px solid var(--border); border-radius: 14px;
  padding: 5px; margin-bottom: 24px;
}
.t-tabs a {
  font: 600 13.5px/1 var(--font); color: var(--dim);
  text-decoration: none; padding: 10px 16px; border-radius: 10px;
}
.t-tabs a.on { color: var(--text); background: var(--ice-soft); box-shadow: inset 0 0 0 1px var(--border2); }
.t-tabs a:hover { color: var(--text); }
.t-post-btn {
  margin-inline-start: auto; color: var(--ink) !important;
  background: linear-gradient(135deg, var(--ice-hi), var(--ice) 55%, var(--ice-deep));
}
.t-view > h2 { color: var(--text); margin-bottom: 16px; }

/* ---------- filters ---------- */
.t-filters { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 18px; }
.t-filters.sub { margin-top: -8px; }
.t-fchip {
  font: 600 12.5px/1 var(--font); cursor: pointer; color: var(--dim);
  background: var(--glass); border: 1px solid var(--border); padding: 9px 14px; border-radius: 99px;
}
.t-fchip.sm { padding: 7px 11px; font-size: 11.5px; }
.t-fchip.on { color: var(--ink); background: var(--ice); border-color: var(--ice); }

/* ---------- cards ---------- */
.t-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.t-card, .t-pubcard {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--glass); border: 1px solid var(--border); border-radius: 16px; padding: 18px;
  transition: transform .2s, border-color .2s;
}
a.t-card:hover { transform: translateY(-3px); border-color: var(--border2); }
.t-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.t-card-name { font-weight: 700; font-size: 16.5px; margin-bottom: 6px; color: var(--text); }
.t-card-desc {
  font-size: 13px; color: var(--dim); line-height: 1.55; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.t-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.t-card-meta { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--dim); text-decoration: none; }
.t-pubcard-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.t-pubcard-t .t-card-name { margin-bottom: 4px; }

.t-status {
  font: 700 10.5px/1 var(--mono); padding: 5px 9px; border-radius: 99px; white-space: nowrap;
  border: 1px solid var(--border2); color: var(--dim); background: var(--glass);
}
.t-st-recruiting { color: #58aeff; border-color: rgba(88,174,255,.4); background: rgba(88,174,255,.1); }
.t-st-testing { color: #57d97a; border-color: rgba(87,217,122,.4); background: rgba(87,217,122,.1); }
.t-st-pending { color: #e6c989; border-color: rgba(230,201,137,.4); background: rgba(230,201,137,.1); }
.t-st-time_up { color: #ffab70; border-color: rgba(255,171,112,.4); background: rgba(255,171,112,.1); }
.t-st-done { color: #8ce6a0; border-color: rgba(140,230,160,.4); background: rgba(140,230,160,.1); }
.t-progress { height: 6px; border-radius: 99px; background: var(--ice-soft); overflow: hidden; margin: 10px 0 6px; }
.t-progress-in { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--ice-deep), var(--ice)); }
.t-count { font: 600 12px/1.5 var(--mono); color: var(--dim); }
.t-count.big { font-size: 15px; color: var(--text); margin: 10px 0; }

/* ---------- detail spread (2 columns on desktop) ---------- */
.t-back { display: inline-block; color: var(--ice); text-decoration: none; font: 600 13px/1 var(--mono); margin-bottom: 16px; }
.t-spread { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 860px) { .t-spread { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.t-detail, .t-side { background: var(--glass); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.t-detail-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.t-detail-head h2 { font-size: 24px; margin-bottom: 6px; color: var(--text); }
.t-desc { color: var(--dim); line-height: 1.7; font-size: 14.5px; margin-bottom: 10px; white-space: pre-wrap; }
.t-desc.dim { color: var(--faint); font-size: 13px; }
.t-side-sec { margin-bottom: 14px; }
.t-lbl { font: 700 11px/1 var(--mono); letter-spacing: .08em; color: var(--faint); margin-bottom: 7px; text-transform: uppercase; }
.t-linkrow { display: flex; gap: 7px; }
.t-linkrow .t-in { font-size: 12px; font-family: var(--mono); }
.t-actions { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; margin: 14px 0; }
.t-actions.col { flex-direction: column; align-items: stretch; }
.t-actions.col .t-btn { width: 100%; }
.t-actions.center { justify-content: center; }
.t-note {
  font-size: 13px; color: var(--dim); background: var(--ice-soft);
  border: 1px solid var(--border); border-radius: 11px; padding: 10px 13px; margin: 8px 0; width: 100%;
}
.t-note.ok { color: #8ce6a0; background: rgba(140,230,160,.08); border-color: rgba(140,230,160,.25); }

/* ---------- rows ---------- */
.t-sec-l { font: 700 12px/1 var(--mono); letter-spacing: .1em; color: var(--faint); margin: 24px 0 10px; text-transform: uppercase; }
.t-trow {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--glass); border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 13px; margin-bottom: 8px; color: inherit; text-decoration: none;
}
.t-trow.slim { padding: 8px 12px; margin-bottom: 6px; }
.t-trow.unread { border-color: var(--ice); background: var(--ice-soft); }
.t-trow-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: 1; min-width: 150px; }
.t-trow-name { font-weight: 600; font-size: 13.5px; flex: 1; min-width: 140px; color: var(--text); text-decoration: none; }
.t-trow-name small { color: var(--faint); font-weight: 500; }
.t-trow-mail { font: 500 12px/1 var(--mono); color: var(--dim); direction: ltr; }
.t-dim { color: var(--faint); font-size: 12px; }
.t-pos { color: #8ce6a0; font-family: var(--mono); }
.t-neg { color: #ff9d9d; font-family: var(--mono); }

/* ---------- forms (full-width, grid cells) ---------- */
.t-form { background: var(--glass); border: 1px solid var(--border); border-radius: 18px; padding: 26px; }
.t-form.wide { width: 100%; }
.t-form h2 { margin-bottom: 14px; color: var(--text); }
.t-form label { display: block; font: 600 12px/1 var(--mono); color: var(--dim); margin: 0 0 7px; }
.t-fgrid { display: grid; grid-template-columns: auto 1fr; gap: 16px 22px; align-items: start; margin: 16px 0; }
.t-fcell.full { grid-column: 1 / -1; }
.t-fcell.grow { min-width: 0; }
.t-fcell .t-in + label, .t-fcell .fk + label { margin-top: 14px; }
@media (max-width: 700px) { .t-fgrid { grid-template-columns: 1fr; } }
.t-in {
  width: 100%; padding: 11px 13px; border-radius: 11px;
  font: 500 14px/1.45 var(--font);
  color: var(--text); background: rgba(127,127,127,.08); border: 1px solid var(--border2); outline: none;
}
.t-in:focus { border-color: var(--ice); }
textarea.t-in { min-height: 96px; resize: vertical; }
.t-check { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text); margin: 10px 0; cursor: pointer; }

/* the site-admin-style upload tile */
.t-tile { position: relative; display: inline-block; }
.t-tile-box {
  width: 84px; height: 84px; border-radius: 16px; cursor: pointer; overflow: hidden;
  border: 1.5px dashed var(--border2); background: var(--ice-soft);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s;
}
.t-tile-box:hover { border-color: var(--ice); }
.t-tile-img { width: 100%; height: 100%; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.t-tile-x { position: absolute; top: -8px; inset-inline-end: -8px; }
.t-tile + .t-dim { display: block; margin-top: 6px; }

/* ---------- profile ---------- */
.t-profile { text-align: center; max-width: 860px; margin: 0 auto; }
.t-profile h2 { margin: 12px 0 4px; color: var(--text); }
.t-profile .t-trow { text-align: start; }
.t-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 24px 0; }
.t-stat { background: var(--glass); border: 1px solid var(--border); border-radius: 14px; padding: 18px 12px; text-align: center; }
.t-stat-n { font: 700 26px/1 var(--mono); color: var(--ice); margin-bottom: 8px; }
.t-stat-l { font-size: 12px; color: var(--dim); }
.t-cols { display: grid; grid-template-columns: 1fr; gap: 0 26px; text-align: start; }
@media (min-width: 760px) { .t-cols { grid-template-columns: 1fr 1fr; } }

/* the ledger dropdown: closed by default, ~5 rows then inner scroll */
.t-drop {
  text-align: start; background: var(--glass); border: 1px solid var(--border);
  border-radius: 14px; margin: 6px 0 14px;
}
.t-drop summary {
  cursor: pointer; list-style: none; padding: 13px 16px;
  font: 700 13.5px/1 var(--font); color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.t-drop summary::-webkit-details-marker { display: none; }
.t-drop summary::after { content: "▾"; margin-inline-start: auto; color: var(--faint); transition: transform .2s; }
.t-drop[open] summary::after { transform: rotate(180deg); }
.t-drop-list { max-height: 240px; overflow-y: auto; padding: 0 12px 12px; }

/* ---------- modal + toast ---------- */
.t-modal { position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; }
.t-modal-back { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); }
.t-modal-card {
  position: relative; width: min(430px, 92vw); background: var(--panel, #12131c);
  border: 1px solid var(--border2); border-radius: 18px; padding: 22px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8);
  max-height: 80vh; overflow-y: auto;
}
.t-modal-title { font-weight: 700; font-size: 17px; margin-bottom: 12px; color: var(--text); }
.t-modal-body { font-size: 14px; color: var(--dim); line-height: 1.6; }
.t-modal-body .t-in { margin: 8px 0; }
.t-modal-row { display: flex; gap: 9px; margin-top: 18px; }
#t-toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  z-index: 950; padding: 12px 20px; border-radius: 12px; font: 600 13.5px/1.4 var(--font);
  color: var(--text); background: var(--panel, #12131c); border: 1px solid var(--border2);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s; max-width: 90vw;
}
#t-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#t-toast.err { border-color: rgba(220,80,80,.5); color: #ffb4b4; }

.t-row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.t-row-between h2 { color: var(--text); }
.t-loading, .t-empty { color: var(--faint); font: 600 13px/1 var(--mono); padding: 26px 0; text-align: center; }

@media (max-width: 640px) {
  .t-wrap { padding: 84px 12px 60px; }
  .t-detail, .t-side, .t-form { padding: 18px; }
  .t-post-btn { margin-inline-start: 0; }
}

/* ===== mobile polish (owner 2026-07-12) ===== */
@media (max-width: 640px) {
  .t-head { padding: 11px 13px; border-radius: 14px; }
  .t-brand { font-size: 15.5px; }
  .t-head-side { gap: 6px; }
  .t-chip { font-size: 11px; padding: 6px 9px; }
  .t-ava { width: 30px; height: 30px; }
  /* tabs become one scrollable strip — nothing wraps or clips */
  .t-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 12px; }
  .t-tabs::-webkit-scrollbar { display: none; }
  .t-tabs a { white-space: nowrap; padding: 9px 13px; font-size: 12.5px; }
  .t-filters { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; padding-bottom: 4px; }
  .t-filters::-webkit-scrollbar { display: none; }
  .t-fchip { white-space: nowrap; flex: none; }
  .t-grid { grid-template-columns: 1fr; }
  .t-detail-head h2 { font-size: 19px; }
  .t-trow { padding: 9px 11px; gap: 8px; }
  .t-trow-mail { font-size: 10.5px; }
  .t-stats { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .t-stat { padding: 13px 8px; }
  .t-stat-n { font-size: 20px; }
  .t-hero-title { font-size: 30px; }
  .t-hero-sub { font-size: 14px; }
  .t-actions .t-btn { flex: 1 1 auto; justify-content: center; }
}

/* ===== stats charts (responsive SVG, theme-aware) ===== */
.t-charts { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
@media (min-width: 760px) { .t-charts { grid-template-columns: auto 1fr; align-items: stretch; } }
.t-chart-card {
  background: var(--glass); border: 1px solid var(--border); border-radius: 18px;
  padding: 20px; text-align: center;
}
.t-donut { width: min(220px, 60vw); height: auto; margin: 8px auto; display: block; }
.t-donut-n { font: 700 9px var(--mono); fill: var(--text); }
.t-donut-l { font: 600 3.2px var(--mono); fill: var(--faint); }
.t-bars { width: 100%; height: auto; max-height: 320px; margin-top: 10px; }
.t-bar-n { font: 700 4.4px var(--mono); fill: var(--text); }
.t-bar-l { font: 600 2.9px var(--mono); fill: var(--dim); }
.t-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; margin-top: 10px; }
.t-leg { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--mono); color: var(--dim); }
.t-leg i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.t-leg b { color: var(--text); }

/* charts v2: grid/axis/tracks + brand icon */
.t-chart-card.full { margin-top: 20px; }
.t-gridline { stroke: var(--border); stroke-width: .3; }
.t-axis { stroke: var(--border2); stroke-width: .4; }
.t-bar-track { fill: var(--ice-soft); }
.t-bar-name { font: 600 3px var(--mono); fill: var(--dim); }
.t-area { width: 100%; height: auto; max-height: 340px; margin-top: 8px; }
.t-brand-icon { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; vertical-align: -6px; }
.t-brand { display: inline-flex; align-items: center; gap: 8px; }
.t-hero-logo img { width: 76px; height: 76px; border-radius: 18px; object-fit: cover; margin-bottom: 14px; border: 1px solid var(--border2); }

/* ===== round 9: pro identity/stat cards, member grid, settings,
   swipeable inbox, pub dialog ===== */
/* stat cards v2 — quiet, typographic, no emoji-first look */
.t-stat { text-align: start; padding: 16px 18px; border-inline-start: 3px solid var(--ice); }
.t-stat-n { font: 700 30px/1 var(--mono); color: var(--text); margin-bottom: 7px; }
.t-stat-l { font: 600 11px/1.4 var(--mono); letter-spacing: .06em; color: var(--faint); text-transform: uppercase; }
.t-stat-chip { cursor: pointer; }

/* landing hero card: the sign-in button lives IN the card */
.t-hero-card {
  background: var(--glass); border: 1px solid var(--border); border-radius: 24px;
  padding: 40px 26px 34px; margin-bottom: 34px;
}
.t-landing .t-landing-h2 { text-align: start; font-size: 18px; margin: 34px 0 14px; }

/* pub cards: … more + dialog */
.t-pubcard { cursor: pointer; }
.t-more-link { color: var(--ice); font: 600 12px/1 var(--mono); }
.t-pubdlg { width: min(520px, 94vw); }
.t-dlg-x { position: absolute; top: 12px; inset-inline-end: 12px; }
.t-pubdlg .t-desc { max-height: 40vh; overflow-y: auto; }
.t-pubdlg .t-linkrow { margin-top: 10px; }
.t-pubdlg .t-linkrow input { cursor: copy; }

/* profile v2: identity card + content column */
.t-pro { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 860px) { .t-pro { grid-template-columns: 300px 1fr; align-items: start; } }
.t-pro-id {
  background: var(--glass); border: 1px solid var(--border); border-radius: 18px;
  padding: 26px 20px; text-align: center;
}
.t-pro-id h2 { margin: 12px 0 6px; color: var(--text); }
.t-copy-mail { max-width: 100%; overflow: hidden; text-overflow: ellipsis; cursor: copy; margin-bottom: 8px; }
.t-pro-main { min-width: 0; }
.t-pro-main .t-sec-l:first-of-type { margin-top: 18px; }

/* admin members grid */
.t-mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.t-mcard {
  background: var(--glass); border: 1px solid var(--border); border-radius: 14px;
  padding: 14px; display: flex; flex-direction: column; gap: 9px;
}
.t-mcard-id { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.t-mcard-mail {
  font: 500 11.5px/1 var(--mono); color: var(--dim); direction: ltr; cursor: copy;
  background: var(--ice-soft); border: 1px solid var(--border); border-radius: 8px;
  padding: 7px 9px; overflow: hidden; text-overflow: ellipsis; text-align: start;
}
.t-mcard-mail:hover { color: var(--text); }
.t-mcard-nums { display: flex; flex-wrap: wrap; gap: 5px; }
.t-mcard .t-actions { margin: 0; margin-top: auto; }

/* settings cards */
.t-setgrid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .t-setgrid { grid-template-columns: 1fr 1fr; } }
.t-setcard {
  background: var(--glass); border: 1px solid var(--border); border-radius: 14px; padding: 16px;
}
.t-setcard label { display: block; font: 600 12px/1 var(--mono); color: var(--dim); margin-bottom: 8px; }
.t-setcard .t-check { margin: 2px 0; }

/* swipeable notifications */
.t-swipe { overflow: hidden; touch-action: pan-y; }
.t-swipe .t-trow { transition: transform .18s ease, opacity .18s ease; cursor: pointer; margin-bottom: 8px; }

/* edit diff */
.t-diff { margin: 10px 0; padding: 10px 12px; background: var(--ice-soft); border-radius: 10px; }
.t-diff-old { color: #ff9d9d; font-size: 12.5px; margin-top: 4px; text-decoration: line-through; }
.t-diff-new { color: #8ce6a0; font-size: 12.5px; margin-top: 2px; }

/* the reveal-link row must obey the hidden attribute (display:flex won) */
.t-linkrow[hidden] { display: none !important; }

/* ===== round 10: presence, avatar edit, dated activity, diff img ===== */
.t-ava-wrap { position: relative; display: inline-flex; flex: none; }
.t-online {
  position: absolute; bottom: -1px; inset-inline-end: -1px; width: 11px; height: 11px;
  border-radius: 50%; background: #37d067; border: 2px solid var(--panel, #12131c);
  box-shadow: 0 0 6px rgba(55,208,103,.7);
}
.t-ava-edit { position: relative; display: inline-block; }
.t-ava-btn {
  position: absolute; bottom: 2px; inset-inline-end: 2px; width: 30px; height: 30px;
  border-radius: 50%; border: 2px solid var(--panel, #12131c); cursor: pointer;
  background: linear-gradient(135deg, var(--ice-hi), var(--ice) 55%, var(--ice-deep));
  color: var(--ink); font-size: 13px; display: inline-flex; align-items: center; justify-content: center;
}
.t-ava-btn:hover { filter: brightness(1.08); }

/* dated activity chart */
.t-act { width: 100%; height: auto; max-height: 260px; margin-top: 6px; }
.t-ax { font: 600 5px var(--mono); fill: var(--faint); }
.t-act .t-gridline { stroke: var(--border); stroke-width: .4; }
.t-act .t-axis { stroke: var(--border2); stroke-width: .6; }

/* edit diff icon images */
.t-diff-img { width: 42px; height: 42px; border-radius: 9px; object-fit: cover; border: 1px solid var(--border2); vertical-align: middle; margin-inline-start: 6px; }

/* ===== Studio design pass: flat accent controls, quiet cards,
   statuses shaded per theme (tokens from main.css) ===== */
.t-wrap { padding-top: calc(var(--nav-h) + 32px); }
.t-btn { font: 600 14px/1 var(--font); border-radius: 12px; padding: 12px 18px; color: var(--on-accent); background: var(--btn); transition: background-color .2s, transform .2s var(--ease), border-color .2s; }
.t-btn:hover { background: var(--btn-hover); filter: none; }
.t-btn:active { transform: scale(.98); }
.t-btn.sec { color: var(--text); background: var(--panel); border: 1px solid var(--line-2); }
.t-btn.sec:hover { border-color: var(--accent-line); background: var(--panel2); }
.t-btn.danger { color: #e5484d; background: color-mix(in srgb, #e5484d 10%, transparent); border: 1px solid color-mix(in srgb, #e5484d 35%, transparent); }
.t-btn.danger:hover { background: color-mix(in srgb, #e5484d 16%, transparent); }
.t-google { background: #fff; color: #1f1f1f; border: 1px solid rgba(0,0,0,.12); padding: 14px 22px; font-size: 15px; }
.t-google:hover { background: #f4f5f7; }
.t-btn svg, .t-chip svg, .t-bell svg { width: 16px; height: 16px; flex: none; }
.t-chip { font: 500 12.5px/1 var(--font); display: inline-flex; align-items: center; gap: 6px; background: var(--panel); border-color: var(--line-2); }
.t-chip b { color: var(--text); font-weight: 600; }
.t-stat-chip svg { color: var(--accent); }
.t-bell { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; color: var(--dim); border: 1px solid var(--line-2); padding: 0; }
.t-bell:hover { color: var(--text); border-color: var(--accent-line); }
.t-bell svg { width: 17px; height: 17px; }
.t-me { text-decoration: none; }
.t-ava { border-color: var(--line-2); }
.t-ava-mono { background: var(--accent-soft); color: var(--accent); font: 600 14px/1 var(--font); text-decoration: none; }

.t-head { background: var(--panel); border-color: var(--line); border-radius: var(--r); padding: 14px 18px; box-shadow: var(--shadow-sm); }
.t-brand { font: 600 18px/1.2 var(--font); letter-spacing: -.01em; }
.t-brand-icon { border-radius: 8px; }
.t-tabs { background: var(--panel); border-color: var(--line); border-radius: 14px; }
.t-tabs a { font: 500 14px/1 var(--font); border-radius: 10px; }
.t-tabs a.on { color: var(--text); background: var(--accent-soft); box-shadow: none; }
.t-post-btn { color: var(--on-accent) !important; background: var(--btn); }
.t-post-btn:hover { background: var(--btn-hover); }
.t-fchip { font: 500 13px/1 var(--font); background: var(--panel); border-color: var(--line); display: inline-flex; align-items: center; gap: 7px; }
.t-fchip:hover:not(.on) { color: var(--text); border-color: var(--line-2); }
.t-fchip.on { color: var(--on-accent); background: var(--btn); border-color: transparent; }

.t-card, .t-pubcard, .t-detail, .t-side, .t-form, .t-stat, .t-drop, .t-chart-card, .t-pro-id, .t-mcard, .t-setcard, .t-trow {
  background: var(--panel); border-color: var(--line);
}
.t-card, .t-pubcard { border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
a.t-card:hover, .t-pubcard:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.t-detail, .t-side, .t-form, .t-pro-id, .t-chart-card { border-radius: var(--r); }
.t-appicon { border-radius: 14px; border-color: var(--line-2); }
.t-appicon.lg { border-radius: 20px; }
.t-card-name { font-weight: 600; letter-spacing: -.01em; }
.t-card-desc, .t-desc { color: var(--dim); }
.t-more-link { font: 500 13px/1 var(--font); color: var(--accent); }

/* statuses: one hue each, shaded for the theme */
.t-status { --c: var(--faint); font: 500 12px/1 var(--font); padding: 6px 10px; display: inline-flex; align-items: center; gap: 6px;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border-color: color-mix(in srgb, var(--c) 32%, transparent); }
.t-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
[data-theme="light"] .t-status { color: color-mix(in srgb, var(--c) 62%, #0b111b); }
.t-st-recruiting { --c: #4aa8fa; }
.t-st-testing { --c: #3fbf7a; }
.t-st-pending { --c: #e5b957; }
.t-st-time_up { --c: #f08a4b; }
.t-st-done { --c: #5fd394; }
.t-st-rejected { --c: #e5484d; }
.t-progress { background: var(--bg-raise); height: 6px; }
.t-progress-in { background: var(--accent-strong); }
.t-count { font: 600 13px/1.5 var(--font); font-variant-numeric: tabular-nums; }
.t-note { background: var(--bg-raise); border-color: var(--line); color: var(--dim); }
.t-note.ok { color: #2e9d62; background: color-mix(in srgb, #3fbf7a 10%, transparent); border-color: color-mix(in srgb, #3fbf7a 30%, transparent); }
:root:not([data-theme="light"]) .t-note.ok { color: #7fdca6; }
.t-back { font: 500 14px/1 var(--font); }
.t-lbl, .t-sec-l { font-family: var(--mono); font-weight: 500; letter-spacing: .06em; }
.t-in { font: 400 15px/1.45 var(--font); background: var(--bg-raise); border-color: var(--line-2); border-radius: 12px; }
.t-in:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.t-form label, .t-setcard label { font: 500 13px/1 var(--font); color: var(--dim); }

/* stats: typographic, no side stripe */
.t-stats { gap: 14px; }
.t-stat { border-inline-start: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-sm); }
.t-stat-n { font: 600 34px/1 var(--font); letter-spacing: -.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.t-stat-l { font: 400 14px/1.4 var(--font); letter-spacing: 0; text-transform: none; color: var(--dim); }

/* landing */
.t-landing { padding-top: 2vh; }
.t-hero-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); padding: clamp(36px, 6vw, 64px) 24px;
  background:
    radial-gradient(60% 90% at 50% 0%, color-mix(in srgb, var(--accent-strong) 16%, transparent), transparent 70%),
    var(--panel);
  border-color: var(--line); box-shadow: var(--shadow);
}
.t-hero-card::before { content: none; }
.t-hero-logo img { width: 84px; height: 84px; border-radius: 22px; border: 0; box-shadow: 0 0 0 1px var(--line-2), var(--shadow); margin-bottom: 20px; }
.t-hero-title { font-size: clamp(36px, 5.4vw, 64px); font-weight: 640; letter-spacing: -.04em; line-height: 1.02; }
.t-hero-sub { font-size: 18px; line-height: 1.6; }
.t-landing .t-landing-h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 44px 0 16px; }

.t-modal-back { background: color-mix(in srgb, var(--bg) 70%, transparent); }
.t-modal-card { background: var(--panel); border-color: var(--line-2); border-radius: var(--r); box-shadow: var(--shadow-lg); }
#t-toast { background: var(--panel); border-color: var(--line-2); box-shadow: var(--shadow); font: 500 14px/1.4 var(--font); }
.t-loading, .t-empty { font: 500 14px/1 var(--font); }
.t-ava-btn { background: var(--btn); color: var(--on-accent); }
.t-online { box-shadow: none; }
[dir="rtl"] .t-hero-title { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
[dir="rtl"] .t-lbl, [dir="rtl"] .t-sec-l { letter-spacing: 0; }
.t-count { display: inline-flex; align-items: center; gap: 6px; }
.t-count svg, .t-drop summary svg { width: 15px; height: 15px; color: var(--faint); }
.t-rep { display: inline-flex; align-items: center; gap: 3px; }
.t-rep svg { width: 12px; height: 12px; color: #e5b957; }
.t-mark { display: inline-flex; vertical-align: -2px; color: var(--accent); }
.t-mark.bad { color: #e5484d; }
.t-mark svg { width: 16px; height: 16px; }
.t-btn[data-eye] { padding: 12px 14px; }
.t-play svg { width: 16px; height: 16px; }

/* ===== pass 2: charts in the Bklit manner, mobile profile ===== */
.t-gridline.dash { stroke-dasharray: 2 2.5; }
.t-line { filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.18)); }
.t-act .t-dot { opacity: 0; transition: opacity .2s; }
.t-act:hover .t-dot { opacity: 1; }
.t-donut circle[stroke-dasharray] { stroke-linecap: round; }
.t-chart-card { box-shadow: var(--shadow-sm); }
.t-leg i { border-radius: 50%; width: 9px; height: 9px; }
/* the identity card only pins beside the content on wide screens;
   on a phone it scrolled over everything below it */
/* the profile card scrolls with the page: pinned, it covered the lists under it */
.t-pro-id { position: static; }

/* ---------- top card: brand row + the platform's main action ---------- */
.t-head { flex-direction: column; align-items: stretch; gap: 14px; }
.t-head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.t-post-cta {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  padding: 14px 16px; border-radius: 14px;
  color: var(--on-accent); background: var(--btn);
  transition: transform .2s var(--ease-out), background-color .2s;
}
.t-post-cta:hover { background: var(--btn-hover); }
.t-post-cta:active { transform: scale(.985); }
.t-post-ic {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--on-accent) 12%, transparent);
}
.t-post-ic svg { width: 20px; height: 20px; }
.t-post-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.t-post-txt b { font: 600 16px/1.2 var(--font); }
.t-post-txt small { font-size: 13px; line-height: 1.35; opacity: .72; }
.t-post-arr { font-size: 18px; flex: none; transition: transform .25s var(--ease-out); }
.t-post-cta:hover .t-post-arr { transform: translateX(3px); }
[dir="rtl"] .t-post-arr { transform: scaleX(-1); }
[dir="rtl"] .t-post-cta:hover .t-post-arr { transform: scaleX(-1) translateX(3px); }
.t-post-cta.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--btn); }
/* phones: 16px fields, so iOS does not zoom the page when one is focused */
@media (max-width: 700px) { .t-in, .t-view input, .t-view select, .t-view textarea { font-size: 16px; } }

/* ===== landing v2 (owner 2026-09-30): how it works, the community
   block, the apps ===== */
.t-landing section { text-align: start; }
/* how it works: three steps in a row, one under the other on phones */
.t-how-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.t-how-i {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 20px;
  background: var(--panel); border: 1px solid var(--line);
}
.t-how-ic {
  position: relative; flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line);
}
.t-how-ic svg { width: 22px; height: 22px; }
.t-how-ic b {
  position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  display: grid; place-items: center; font: 700 11.5px/1 var(--font); color: var(--on-accent); background: var(--btn);
  box-shadow: 0 0 0 3px var(--panel);
}
.t-how-t { font-size: 16px; font-weight: 650; color: var(--text); margin: 2px 0 4px; }
.t-how-b { font-size: 14px; line-height: 1.6; color: var(--dim); margin: 0; }

/* the community block */
.t-pulse { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 12px; }
.tp-main, .tp-cell {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 170px; padding: 18px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line);
}
.tp-main {
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), var(--panel);
}
.tp-net { position: absolute; z-index: -1; top: 10px; inset-inline-end: 6px; width: 72%; max-width: 260px; height: auto; opacity: .9; }
[dir="rtl"] .tp-net { transform: scaleX(-1); }
.tp-net line { stroke: color-mix(in srgb, var(--accent) 35%, transparent); stroke-width: 1; }
.tp-net circle { fill: var(--accent); animation: tpNode 3.2s ease-in-out infinite; animation-delay: var(--d); transform-box: fill-box; transform-origin: center; }
@keyframes tpNode { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.25); } }
.tp-live { position: absolute; top: 16px; inset-inline-start: 18px; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--dim); }
.tp-live i { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 0 rgba(52, 199, 89, .5); animation: tpLive 2s infinite; }
@keyframes tpLive { 0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, .45); } 70% { box-shadow: 0 0 0 8px rgba(52, 199, 89, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); } }
.tp-n { font: 680 34px/1 var(--font); letter-spacing: -.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.tp-big { font-size: clamp(48px, 6vw, 64px); }
.tp-l { margin-top: 8px; font-size: 13.5px; line-height: 1.4; color: var(--dim); }
.tp-ic {
  position: absolute; top: 16px; inset-inline-start: 18px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  color: var(--accent); background: var(--accent-soft);
}
.tp-ic svg { width: 19px; height: 19px; }
@media (prefers-reduced-motion: reduce) { .tp-net circle, .tp-live i { animation: none; } }

/* apps on the landing (sign in to take part) */
button.t-card { font: inherit; text-align: start; cursor: pointer; width: 100%; }
.t-card-go { font-size: 12.5px; font-weight: 600; color: var(--accent); }
/* nothing to show yet: an invitation */
.t-empty-card {
  margin-top: 34px; padding: 30px 22px; border-radius: 24px; text-align: center !important;
  background: var(--panel); border: 1px dashed var(--line-2); display: flex; flex-direction: column; align-items: center;
}
.t-empty-stack { position: relative; width: 120px; height: 64px; margin-bottom: 18px; }
.t-empty-stack span {
  position: absolute; top: 4px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line-2); box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .6);
}
.t-empty-stack span:nth-child(1) { left: 2px; transform: rotate(-10deg); opacity: .6; }
.t-empty-stack span:nth-child(2) { right: 2px; transform: rotate(10deg); opacity: .6; }
.t-empty-stack span:nth-child(3) { left: 32px; top: 0; color: var(--accent); background: var(--accent-soft); border-color: var(--accent-line); }
.t-empty-stack svg { width: 24px; height: 24px; }
.t-empty-t { font-size: 18px; font-weight: 650; color: var(--text); margin-bottom: 6px; }
.t-empty-b { font-size: 14.5px; color: var(--dim); margin: 0 0 18px; max-width: 40ch; }

@media (max-width: 860px) {
  .t-how-list { grid-template-columns: minmax(0, 1fr); }
  .t-pulse { grid-template-columns: 1fr 1fr; }
  .tp-main { grid-column: 1 / -1; min-height: 190px; }
  .tp-cell { min-height: 150px; }
}
@media (max-width: 480px) {
  .t-pulse .tp-cell:last-child { grid-column: 1 / -1; min-height: 120px; }
  .tp-n { font-size: 30px; }
}

/* ===== app cards and number tiles, everywhere in the platform ===== */
.t-card, .t-pubcard {
  border-radius: 20px; padding: 18px; gap: 0;
  background: linear-gradient(170deg, color-mix(in srgb, var(--accent) 5%, var(--panel)), var(--panel) 50%);
}
a.t-card:hover, button.t-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 30%, var(--line-2)); }
.t-card .t-appicon, .t-pubcard .t-appicon {
  width: 54px; height: 54px; border-radius: 15px; box-shadow: 0 0 0 1px var(--line-2), 0 10px 22px -14px rgba(0, 0, 0, .6);
}
.t-card-name { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.t-card-desc { font-size: 13.5px; }
.t-card-foot { padding-top: 12px; border-top: 1px solid var(--line); margin-top: auto; }
.t-card .t-count { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--dim); }
.t-card .t-count svg { width: 15px; height: 15px; }
.t-progress { height: 7px; background: color-mix(in srgb, var(--accent) 12%, transparent); }
.t-progress-in { background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #fff)); }
.t-stat {
  position: relative; text-align: start; padding: 16px 18px; border: 1px solid var(--line); border-inline-start: 1px solid var(--line);
  border-radius: 18px; background: var(--panel); overflow: hidden;
}
.t-stat::before { content: ""; position: absolute; top: 0; inset-inline: 18px; height: 2px; border-radius: 0 0 2px 2px; background: var(--accent); opacity: .7; }
.t-stat-n { font: 680 28px/1 var(--font); letter-spacing: -.02em; color: var(--text); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.t-stat-l { font: 500 13px/1.4 var(--font); letter-spacing: 0; color: var(--dim); text-transform: none; }
@media (max-width: 760px) { .t-stats .t-stat:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ===== landing charts: the series colours are validated categorical
   slots (light and dark stepped separately) ===== */
.t-landing { --s1: #3987e5; --s2: #199e70; --s3: #9085e9; --s4: #d95926; }
[data-theme="light"] .t-landing { --s1: #2a78d6; --s2: #1baf7a; --s3: #4a3aa7; --s4: #eb6834; }
.tc-row { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.tc-row.one { grid-template-columns: minmax(0, 1fr); }
.tc-card { position: relative; padding: 18px 18px 14px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); text-align: start; }
.tc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 14px; }
.tc-title { font-size: 16px; font-weight: 650; color: var(--text); margin: 0 0 3px; }
.tc-sub { font-size: 13px; color: var(--dim); margin: 0; }
.tc-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.tc-key { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--dim); }
.tc-key b { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.tc-key i, .tc-list i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.s1 { --c: var(--s1); } .s2 { --c: var(--s2); } .s3 { --c: var(--s3); } .s4 { --c: var(--s4); }
.tc-key i, .tc-list i, .tc-bar, .tc-seg, .tc-tip-r i { background: var(--c); }
/* the plot: recessive grid, labels on the start side */
.tc-plot { position: relative; height: 190px; padding-inline-start: 26px; }
.tc-grid { position: absolute; inset: 0 0 24px 26px; inset-inline-start: 26px; inset-inline-end: 0; pointer-events: none; }
.tc-grid span { position: absolute; inset-inline: 0; bottom: var(--y); border-top: 1px solid var(--line); }
.tc-grid span:last-child { border-top-color: var(--line-2); }
.tc-grid em { position: absolute; inset-inline-start: -26px; top: -8px; width: 20px; text-align: end; font-style: normal; font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
.tc-cols { position: relative; height: 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.tc-col { display: flex; flex-direction: column; align-items: center; min-width: 0; height: 100%; outline: none; cursor: default; border-radius: 10px; }
.tc-col:focus-visible { box-shadow: 0 0 0 2px var(--accent-line); }
.tc-bars { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding: 0 12%; }
.tc-bar { width: min(22px, 46%); height: var(--h); min-height: 0; border-radius: 4px 4px 0 0; transition: filter .15s, height .8s cubic-bezier(.2, .8, .2, 1); }
.tc-bar.zero { height: 2px; opacity: .35; border-radius: 2px; }
.tc-col.is-hot .tc-bar, .tc-col:hover .tc-bar { filter: brightness(1.15); }
.tc-x { height: 24px; display: flex; align-items: flex-end; font-size: 11.5px; color: var(--faint); white-space: nowrap; }
.tc-empty { position: absolute; inset: 0 0 24px 26px; display: grid; place-items: center; font-size: 13px; color: var(--dim); pointer-events: none; }
.tc-empty::before { content: ""; }
/* the stacked bar of stages */
.tc-stack { display: flex; gap: 2px; height: 14px; border-radius: 7px; overflow: hidden; margin: 6px 0 14px; }
.tc-seg { flex: 0 0 var(--w); min-width: 6px; outline: none; transition: filter .15s; }
.tc-seg:first-child { border-radius: 7px 0 0 7px; } .tc-seg:last-child { border-radius: 0 7px 7px 0; }
[dir="rtl"] .tc-seg:first-child { border-radius: 0 7px 7px 0; } [dir="rtl"] .tc-seg:last-child { border-radius: 7px 0 0 7px; }
.tc-seg:only-child { border-radius: 7px; }
.tc-seg.is-hot, .tc-seg:hover, .tc-seg:focus-visible { filter: brightness(1.15); }
.tc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.tc-list li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 42px; align-items: center; gap: 10px; font-size: 13.5px; color: var(--dim); }
.tc-list b { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.tc-list em { font-style: normal; color: var(--faint); text-align: end; font-variant-numeric: tabular-nums; }
/* tooltip: value first, then the series */
.tc-tip {
  position: absolute; z-index: 5; min-width: 130px; padding: 9px 11px; border-radius: 12px; pointer-events: none;
  background: var(--bg); border: 1px solid var(--line-2); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55); font-size: 12.5px;
}
.tc-tip-h { font-weight: 600; color: var(--dim); margin-bottom: 5px; }
.tc-tip-r { display: grid; grid-template-columns: 12px auto 1fr; align-items: center; gap: 7px; color: var(--dim); }
.tc-tip-r i { width: 12px; height: 2px; border-radius: 1px; }
.tc-tip-r b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
/* the same numbers as a table */
.tc-table { margin-top: 10px; font-size: 13px; color: var(--dim); }
.tc-table summary { cursor: pointer; width: fit-content; color: var(--faint); }
.tc-table summary:hover { color: var(--text); }
.tc-table table { width: 100%; margin-top: 8px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tc-table th, .tc-table td { padding: 6px 8px; text-align: start; border-bottom: 1px solid var(--line); }
.tc-table th { font-weight: 600; color: var(--text); }
@media (max-width: 860px) { .tc-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .tc-plot { height: 170px; } .tc-bars { padding: 0 6%; } }
